Код: Выделить всё
xКод: Выделить всё
def dictionary(x,):
if x == yes:
yes = print("verbal agreement, consent")
print(yes)
dictionary(yes)
Код: Выделить всё
Traceback (most recent call last):
File "main.py", line 9, in
dictionary(yes)
NameError: name 'yes' is not defined
** Process exited - Return Code: 1 **
Press Enter to exit terminal
Подробнее здесь: https://stackoverflow.com/questions/793 ... f-function
Мобильная версия