MichalMisior / Python-projects

0 stars 0 forks source link

Year is just a number (py) #1

Closed MichalMisior closed 10 months ago

MichalMisior commented 10 months ago

birthYear = int(input("W ktorym roku urodziles/urodzilas sie?")) if birthYear <= 1946: print("Stara szkoła.") elif birthYear >= 1947 and birthYear <= 1964: print("Okay Boomer!") elif birthYear >= 1965 and birthYear <= 1981: print("Gen X!") elif birthYear >= 1982 and birthYear <= 1995: print("Millenialsi! Znowu!") elif birthYear >= 1996: print("Pokolenie ekranów!") else: print("Try again!")

MichalMisior commented 9 months ago

Year is just a number.txt