Hi all,
My code is not working. Why?
print('enter your email for registration')
entered=input('your email is:')
if(entered=="",'@hotmail.com') or (entered=="",'@gmail.com') or (entered=="",'@yahoo.com'):
print('registration is successful. your email is :', entered)
else:
print('incorrect registration. you can use only hotmail, gmail or yahoo domain')
Please help. I am just learning.
My code is not working. Why?
print('enter your email for registration')
entered=input('your email is:')
if(entered=="",'@hotmail.com') or (entered=="",'@gmail.com') or (entered=="",'@yahoo.com'):
print('registration is successful. your email is :', entered)
else:
print('incorrect registration. you can use only hotmail, gmail or yahoo domain')
Please help. I am just learning.