Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # różne typy zmiennych
- imie = "adam"
- nazwisko = "jurkiewicz"
- rok_urodzenia = 1974
- wiek = 2020 - rok_urodzenia
- full_name = imie.capitalize() + " " + nazwisko.capitalize()
- print(f"Osoba {full_name}, urodzona w roku {rok_urodzenia}, ma dzisiaj {wiek} lat.")
- print("=====[ Typy danych ]==========")
- print(type(wiek))
- print(type(full_name))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement