Похожие чаты

Print("When am l gonna be 100 years old!!!!") name=input("what is your

name? ")
age=float(input("how old are you "+name+" ? "))
year=float(input("which year is it this year??? "))
years_till_100=(100-age)
year_they_were_born=(year)-(age)
A_1=input("do you want your years left till you are 100 year old?(yes or no) ")
if A_1.upper()=="YES":
print("yuo have "+str(int(years_till_100))+" years till you are 100 years old")
elif A_1.upper()=="NO":
print("ok then")
else:
print("error")
A_2 = input("do you want the year you were born?(yes or no) ")
if A_2.upper()=="YES":
print("you were born in "+str(int(year_they_were_born)))
elif A_2.upper()=="NO":
print("ok then:/")
else:
print(error)
the_year_when_100=(year_they_were_born)+(100)
A_3=str(input("do you wanna know the year you will be 100?!(yes or no) "))
if A_3.upper()=="YES":
print(str(int(the_year_when_100)))
elif A_3.upper()=="NO":
print("ok...then")
else:
print("ERROR")
input("closeing the app bye!!! ")

3 ответов

10 просмотров

!paste

To post more than a few lines of code, use a pastebin like: hastebin.com dpaste.org linkode.org bin.kv2.dev If you are stuck in a terminal, you can use ix.io or paste.rs to paste from the CLI: <command to print output> |& curl -F 'f:1=<-' ix.io <command to print output> |& curl --data-binary @- https://paste.rs

Please use pastebin

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта