Skip to content

projet  #3982

@khattabyagob

Description

@khattabyagob

name=input("what's your name").strip().capitalize()
Email=input("what's your Email")
username=Email[ :Email.index("@")]
websit=Email[Email.index("@") +1 :]

print(f"Hello {name} your Email is{Email}")
print(f"your user name is {username}")
print(f"your websit is {websit}")

age=int(input("what's' is your age"))
print(f"your age is{age}")
months=age12
weeks=months
4
days=weeks24
hours=days
365
mintes=hours60
seconds=mintes
60
print("you lived for: ")
print(f"{months} months.")
print(f"{weeks} weeks.")
print(f"{days} days.")
print(f"{hours:,} hours.")
print("#" *50)
age = input("What is your age? ").swapcase( )
age=int(age)

unit = input("Choose your unit :month, week, days ")

age = int(age)
months = age * 12
weeks = age * 52
days = age * 365

if unit == 'month' or unit == 'm':
print("You chose months.")
print(f"You lived for {months} months.")

elif unit == 'weeks' or unit == 'w':
print("You chose weeks.")
print(f"You lived for {weeks} weeks.")

elif unit == 'days' or unit == 'd':
print("You chose days.")
print(f"You lived for {days} days.")

canutresone=("sudan","Egypt")
sg=80
canutrestwo=("Italy", "USA")
sd=30
studnt="NO"

mycanutry="sudan"
if mycanutry in canutresone:
print("beacuse your are choose ")
print(f"beacuse you are form {mycanutry} you have praice $80")

if studnt=="yes":
print("beacuse you are studnt ")
print("you have discaunt : $90")

elif mycanutry in canutrestwo:
print("injoy about praice")
print(f"beacuse you form {mycanutry} you have praice to $30")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions