p
This commit is contained in:
@@ -9,4 +9,7 @@ def funkcja(parametr: str) -> str:
|
||||
:return: A ja się ładnie przywitam
|
||||
:rtype: str
|
||||
"""
|
||||
|
||||
powitanie = f"Witam cię {parametr.capitalize()} serdecznie"
|
||||
return powitanie
|
||||
|
||||
print(funkcja("adam"))
|
||||
@@ -1 +1,7 @@
|
||||
# program, który użyje funkcji z plik_funkcji
|
||||
# program, który użyje funkcji z plik_funkcji
|
||||
|
||||
from plik_funkcji import *
|
||||
|
||||
imie = input("Podaj swoje imię: ")
|
||||
powitanie = funkcja(imie)
|
||||
print(f"{powitanie=}")
|
||||
Reference in New Issue
Block a user