I’m stuck on an exercise, actually been battling it for over 5 hours now.
–– coding: 1252 ––
while True: input = ‘John’ password = ‘ABC123’ if True: break
name = input(“Give name: “)
if name == ‘John’: print(“Give password: “)
password = ("Give password: ") if password == 'ABC123': print("Both inputs are correct!") else: print("The password is incorrect.")
else: print(“The given name is wrong”)
The description of the exercise is: The idea is to create a program which asks for a user name and password. If the given name is wrong, the program prints “The given name is wrong”. If the name is acceptable, the program asks for the password. If the password is correct, the system prints “Both inputs are correct!”, otherwise “The password is incorrect.”. The correct inputs should be “John” and the password “ABC123”. Overall, the program should print the following:
Give name: Peter The given name is wrong.
Give name: John Give password: Monkeys? The password is incorrect.
Give name: John Give password: ABC123 Both inputs are correct!
So what to do?
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!