+ 3

How can I make my code to accept input as email:password ,Instead of Email and Password in different rows.?

https://code.sololearn.com/c3bNpkiSrGDV/?ref=app

6th Jul 2022, 8:51 AM
Jash Gro
Jash Gro - avatar
1 Réponse
+ 4
Jash Gro You could replace line 12 & 13 with this # input details with a space between # IE: rik@bogus.com:mypa55w0rd user_details = input().split(":") email = user_details[0] password = user_details[1]
6th Jul 2022, 9:07 AM
Rik Wittkopp
Rik Wittkopp - avatar