Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def funkcja_1():
- print("Hej - jestem Python")
- imie = input("Podaj swoje imię: ")
- print(f"Hej {imie}, miło mi cię poznać.")
- def funkcja_2():
- print("Hej - jestem Python")
- imie = input("Podaj swoje imię: ")
- return f"Hej {imie}, miło mi cię poznać."
- def funkcja_3(ja):
- """Jak mam się zgłosić?"""
- print(f"Hej - jestem {ja}")
- imie = input("Podaj swoje imię: ")
- return f"Hej {imie}, miło mi cię poznać."
- def funkcja_4(podstawa, wysokosc):
- """Liczymy pole trójkąta - podaj wart. float"""
- pole = (podstawa * wysokosc) / 2
- print(f"Pole wynosi {pole}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement