0
functions in python HELP!
my_name=input("What's your name") def some_name(): print(my_name + "!") my_name() it shows an error
2 ответов
+ 14
You are trying to call a string. You should be calling the function. This works:
my_name=input("What's your name")
def some_name():
print(my_name + "!")
some_name()
+ 2
David Ashton lol thx sry didnt notice