this would probably be my first code and I'm so happy that I applied the knowledge I obtained from watching youtube videos and It does make sense to me why and how they work! however, I want to make this a little complex and more specific since all my program does is just show the password for email and my steam guard. What i want to happen is that I'm gonna type my email and if matches it would continue to enter your password but if the email does not match it would print invalid. I was thinking of doing if else statements but I can only do them with integers and floats? Or im just not researching enough so here I am asking
TLDR: EMAIL STORAGE: I want to make this a little complex and more specific since all my program does is just show the password for email and my steam guard. What i want to happen is that I'm gonna type my email and if matches it would continue to enter your password but if the email does not match it would print invalid.
print ("Select the password you would wanna know from the email") print ("1. Main Email") print ("2. Your steam account steam guard") while True: choice = input ("Enter your choice (1/2/): ") if choice in ("1",): email1 = input("Enter your password in your main email: ") if choice in ("2"): email2 = input("Enter your steamguard: ") if choice == "1": print( "The password is *myemailpassword*") if choice == "2": print ("Your steam guard password is *steamguardpassword*")
https://stackoverflow.com/questions/66148142/python-3-0-email-storage February 11, 2021 at 10:57AM
没有评论:
发表评论