vendredi 28 septembre 2018

can we write under if condition many if condtions in python and how they work

usr = input(print("Enter your choice \n1\n2\n3"))

if usr is '1': print('You selected one') usr_fst_data = input(print('Make Your Choice..\nPress (A/a) For Register Your Mobile No.')) if usr_fst_data is 'A/a': usr_mobno_ = input(print('Enter Your Mobile No.')) if usr_mobno == 10: print() else: print("Wrong Number\nCheck Your No. Again")

elif usr is '2': print('You selected two') elif usr is '3': print('You selected 3') else: print('Wrong Choice')

Aucun commentaire:

Enregistrer un commentaire