Что не так в моем коде Python
12345678910
def hello (username,age):
#функция приветствия юзера
print (f"hello{username}")
print (f"your age is{age}")
hello (Valera,20)
hello (Sasha,30)
По дате
По рейтингу
123456789
def hello(username, age):
# функция приветствия юзера
print(f"Hello {username}") # Добавлен пробел перед именем
print(f"Your age is {age}") # Добавлен пробел перед возрастом
# Вызов функции
hello("Valera", 20)
hello("Sasha", 30)
все не так. Лучше