Thursday, 4 February 2016

input ( )



#Input 1. Copy and paste these 3 lines. Then click F5.
print ('Whatz your name')
a = input ( )
print (a)

#Input 2. Try these 3.
print ('Whatz your name')
a = input ( )
print ('Nice to meet you, ' + a)


#Input 3. More:
print ('Whatz your name')
a = input ( )
print ('Nice to meet you, ' + a)
print ('How old are you')
b = input ( )
print ('So, you are ' + a + ' and you are ' + b + ' years old')


#Input 4. Your turn