Nov-27-2021, 08:14 PM
Good evening to everyone,
I've been learning Python for a few months and i'm experiencing a trouble that seriously
I'm not able to understand, so i hope someone can kindly help me !
I'm tring to do this stuff:
ia already "entered" so i can just insert the second one input ( input("Password") ).
![[Image: Immagine-2021-11-27-210652.png]](https://i.postimg.cc/HV2yfh4T/Immagine-2021-11-27-210652.png)
When I call the function automatically the first input was automatically entered.
Please if you know, could you kidnly explain to me how is possible ?!?
Thank you in advance !
I've been learning Python for a few months and i'm experiencing a trouble that seriously
I'm not able to understand, so i hope someone can kindly help me !
I'm tring to do this stuff:
def login_form(): print("--Login Form--") input("Username") input("Password") def intro_menu_key_enter(): global intro_index_selected if intro_index_selected == 1: cls() login_form() elif intro_index_selected == 2: cls() registration_form() else: cls() exit()in this def, i call the login_form() function and the problem is that the first input ( input("Username") )
ia already "entered" so i can just insert the second one input ( input("Password") ).
![[Image: Immagine-2021-11-27-210652.png]](https://i.postimg.cc/HV2yfh4T/Immagine-2021-11-27-210652.png)
When I call the function automatically the first input was automatically entered.
Please if you know, could you kidnly explain to me how is possible ?!?
Thank you in advance !