name = ""
age_user = 0
password_user = ""
email_USER = ""
name_and_last_name = input("enter your name and last name : ")
name = name_and_last_name
age = int(input("enter your age : "))
while age_user == 0:
if age <=13:
print("You must be over 13 years old❌")
age = int(input("enter your age : "))
elif age >= 18 and age <=99:
print("You are an adult, welcome to our group 💪✅")
age_user = age
elif age >= 13 and age <=17:
print("Adolescence! You can create accounts, but with your parents' permission.🚀")
age = int(input("enter your age : "))
else:
print("ERROR❌")
age = int(input("enter your age : "))
password = input("enter your password : ")
while password_user == "":
if len(password) <= 8:
print("Password must be more than 8 characters.❗")
password = input("enter your password : ")
elif len(password) == 9 and len(password) <= 12:
print("The password is average, acceptable, but it should be stronger ⚠️")
password = input("enter your password : ")
elif len(password) >= 12:
print("The password is very strong and professional! Excellent 👏")
password_user = password
else:
print("ERROR❌")
password = input("enter your password : ")
email = input("enter your email : ")
while email_USER == "":
if "@" in email:
print("Email successfully registered.✅")
print("Registration was successful. ")
email_USER = email
else:
print("ERROR❌")
email = input("enter your email : ")
print(f"""
name = :{name}
age = {age_user}
password = {password_user}
email = {email_USER}
""")
age_user = 0
password_user = ""
email_USER = ""
name_and_last_name = input("enter your name and last name : ")
name = name_and_last_name
age = int(input("enter your age : "))
while age_user == 0:
if age <=13:
print("You must be over 13 years old❌")
age = int(input("enter your age : "))
elif age >= 18 and age <=99:
print("You are an adult, welcome to our group 💪✅")
age_user = age
elif age >= 13 and age <=17:
print("Adolescence! You can create accounts, but with your parents' permission.🚀")
age = int(input("enter your age : "))
else:
print("ERROR❌")
age = int(input("enter your age : "))
password = input("enter your password : ")
while password_user == "":
if len(password) <= 8:
print("Password must be more than 8 characters.❗")
password = input("enter your password : ")
elif len(password) == 9 and len(password) <= 12:
print("The password is average, acceptable, but it should be stronger ⚠️")
password = input("enter your password : ")
elif len(password) >= 12:
print("The password is very strong and professional! Excellent 👏")
password_user = password
else:
print("ERROR❌")
password = input("enter your password : ")
email = input("enter your email : ")
while email_USER == "":
if "@" in email:
print("Email successfully registered.✅")
print("Registration was successful. ")
email_USER = email
else:
print("ERROR❌")
email = input("enter your email : ")
print(f"""
name = :{name}
age = {age_user}
password = {password_user}
email = {email_USER}
""")
❤3
تمرین سطح مبتدی:
دمای سانتیگراد را از کاربر گرفته و به فارنهایت تبدیل کند. (F =C*9/5+32)
کانالی مخصوص برنامه نویسی :
@programming_elyar
دمای سانتیگراد را از کاربر گرفته و به فارنهایت تبدیل کند. (F =C*9/5+32)
کانالی مخصوص برنامه نویسی :
@programming_elyar
❤2
❤2
Programming pinned «تمرین متوسط: تبدیل سال شمسی به میلادی کانالی مخصوص برنامه نویسی : @programming_elyar»
Programming
تمرین متوسط: تبدیل سال شمسی به میلادی کانالی مخصوص برنامه نویسی : @programming_elyar
دوستان این تمرین کمی سخت هست پس یه راهنمایی می کنم 👍
ببینید باید فرمولش رو پیدا کنید و از شرط ها استفاده کنید .
و اینکه این تمرین برای تقویت جستجو و چالش ذهن و بهتر یاد گرفتن شرط ها است.
فردا هم کدش رو می زارم 😊
@programming_elyar
ببینید باید فرمولش رو پیدا کنید و از شرط ها استفاده کنید .
و اینکه این تمرین برای تقویت جستجو و چالش ذهن و بهتر یاد گرفتن شرط ها است.
فردا هم کدش رو می زارم 😊
@programming_elyar
🔥2❤1👎1