36
loading...
This website collects cookies to deliver better user experience
email = '[email protected]'
given_email= input('Enter email: ')
if given_email==email:
print('The email is verified with Database')
else:
print(" Email does not exists")
Enter email: no-reply@itsmycode.com
The email is verified with Database
username= 'admin'
given_username=input('Enter username: ')
if(given_username!=username):
print('Valid Username, Proceed with registration')
else:
print('You cannot use this username, select another one')
Enter username: admin
You cannot use this username, select another one
str1= "ItsMyCode"
str2= "ItsMyCode"
str3= str1
print('ID of str1 is ', hex(id(str1)))
print('ID of str2 is ', hex(id(str2)))
print('ID of str3 is ', hex(id(str3)))
print(str1 is str2)
print(str1 is str3)
print(str2 is str3)
ID of str1 is 0x1a340cd7530
ID of str2 is 0x1a340cd7530
ID of str3 is 0x1a340cd7530
True
True
True