+ 1
I'm giving link to my code. HELP!
I mean how to make loop to go back at m if the ans is wrong in Python https://code.sololearn.com/c3i1EctH9Q9a/?ref=app
4 Answers
+ 5
#Learn about loops :
#How to make loop here :
while True :
m = input("type 7:")
if m == '7':
print ("Good job")
break
else:
print("Bad job try again")
+ 2
Take your entire Code from Input to else and put it in a while (True)-Loop and then put in the if-statment with m==7 in Break.
+ 1
Same as this?
https://www.sololearn.com/Discuss/3063325/?ref=app
0
Chris Coder it was for numbers but i guy who is above helped me