Posts

Showing posts from April, 2024

Third class of Python ## 3

                                                              Some Programs of Python   ###1)  print("hii")          :-    hii   ###2)  print(2+3)           :-   5 ###3)  a=1                b=2               c=b*a-a/b+5               print(c)         :-   

Second class of Python ## 2

Image
                          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.