+ 1

Please why is it not running in the solo play ground?.....but it runs in python 2 and 3 on my system but not here.....am a novic

print ("you are welcome to Form Fill") user_name = input ("what is your name?") user_age = int(input("Enter year of birth")) age = 2017 - user_age user_contact = input("Phone Number(include country code)") if len(user_contact) <= 14 : loop = 3 print ("Double check phone number") user_email = input ("Enter your Email Address i.e unclebay@gmail.com") final = ("Your name is : %s \n and your age is : %s \n a code has been sent to :%s \n if not received check : %s") print (final %(user_name, age, user_contact, user_email)) print ("Login Now") user_name2 = input("Enter Username") if user_name2 != user_name: print ("Oops...UserName not Found") else: user_pin = int(input("Enter your 4 digit pin")) if user_pin != user_age: print ("Incorrect Password") else: print ("You are IN")

27th Aug 2017, 7:24 AM
AYODELE S. ADEBAYO
AYODELE S. ADEBAYO - avatar
1 Answer
+ 2
Sololearn does not prompt for input as the program runs. You have to provide all input at the beginning, separating each input into their own lines. It should prompt you and tell you this. Your code ran fine for me.
27th Aug 2017, 10:08 AM
Jesse Bayliss
Jesse Bayliss - avatar