Posts

Beginners Code"s for Python

  #display the maximum value in set of 3 numbers x, y, z  =   input ( "Enter three value: " ). split () print ( "First Number is: " , x) print ( "Second Number is: " , y) print ( "Third Number is: " , z) print () if  x > y  and  x > z:      print ( "max value is :" ,x) elif  y > z:      print ( "max value is :" ,y) else :      print ( "max value is :" ,z)       _ _ _ _ _ _ _ _ __ _ _ __ _ _ __ __ __ _ _ __ __ _ __ _ _ _ _ _ __ _ _ _ _ _ _ _ __ _ #display first ten natural numbers x = 1 print (x) while  x < 10 :     x = x + 1      print (x) ----------------------------------------------------------------------------------...