Second class of Python ## 2

 


                       What is statements in Python ?

A python statements is an instruction that the Python interpreter can execute. There are different types of statements-- Conditional statements, Looping Statements, etc.
The token character NEWLINE is used to end a statements in python.

Python use 'print' statement to print something inside the bracket.
Python runs on two commands:- String and Float
 # String is collection of alphabet, words, other character and number's in python. It's general form is- print("ab"). ("") double inverted comma is necessary to make string without this special character program doesn't run except number's.
 # Float is the collection of number in python. It's general form is- print(12). It doesn't need double inverted comma.

Comments

Post a Comment

Popular posts from this blog

My introduction.

Third class of Python ## 3

Some knowledge about AI