+ 3
How can I make my code to accept input as email:password ,Instead of Email and Password in different rows.?
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]