Int value demo : Int : Data Type PYTHON examples


PYTHON examples » Data Type » Int »

 

Int value demo


Int value demo
 

number = input('Enter a number between and 10')
if number <= 10:
    if number >= 1:
        print 'Great!'
    else:
        print 'Wrong!'
else:
    print 'Wrong!'

           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Data Type
» Int