Car drive and not drive code
b = 'you can drive ...... \n\'and......\'\nyou can not drive.....\n'
c = (b.title())
print (c)
e = 'thanks....\nusing this code.....'
f = (e.title())
x = input('enyer your name ')
y = ('hello ' + x)
z = (y.title())
print (z)
a = int(input('enter your age \n......'))
print (x ,'' + 'hello your age is ........',a)
if a > 17:
print ( x + ' you can \'drive\'\n')
else:
print ( x + ' you can not \'drive\'\n')
print (f)
Comments
Post a Comment