Python Lecture-2 Basic Syntax of Python in Urdu/Hindi

Python Lecture-2 Basic Syntax of Python in Urdu/Hindi

First Python Program
  print ("Hello world")
Python Identifiers
list will upload on blogger
Reserved Words (variables,constants, or any identifier)
Lines and Indentation
in same sequence
Multi-Line Statements
sum= x+\ x+y+z
     y+\
       z+
(),{},[]
Quotation in Python
''   ""   '" "'
Comments in Python
#
#
Multiple Statements on a Single Line
;
Multiple Statement Groups as Suites
A group of individual statements, which make a single code block are called suites in Python.
Thanks for viewing our Post I'm very thankfull for Your Like Subscribe Us on Youtube https://www.youtube.com/channel/kingofurdu

Comments

  1. This comment has been removed by the author.

    ReplyDelete
  2. Reserved Words
    The following list shows the Python keywords. These are reserved words and you cannot use them as constant or variable or any other identifier names. All the Python keywords contain lowercase letters only.

    and exec not
    assert finally or
    break for pass
    class from print
    continue global raise
    def if return
    del import try
    elif in while
    else is with
    except lambda yield

    ReplyDelete

Post a Comment

Thanks
Your Comment will be answered within 24 Hours :)
Just wait