0
'line 4, in <module> print(first + second) NameError: name 'first' is not defined ' the compiler said.
def addition(): first= int(input('what is your first number')) second = int(input('What is your second number?')) print(first + second) addition()
1 ответ
+ 3
def addition():
first= int(input('what is your first number'))
second = int(input('What is your second number?'))
print(first + second)
addition()
wrong indentation