11-15-20, 06:24 PM
(This post was last modified: 11-15-20, 06:25 PM by lorengze. Edited 1 time in total.)
why does this program not run
NameError: name 'mfunct' is not defined
full thing
M = 3
if M != 0:
for i in range(M):
mfunct()
x = x+120
def mfunct():
print('hello')
---------
whats wrong
NameError: name 'mfunct' is not defined
full thing
M = 3
if M != 0:
for i in range(M):
mfunct()
x = x+120
def mfunct():
print('hello')
---------
whats wrong
.