Answers for "error while running"

0

error while running

You might have other errors, but surely, name is not declared, so

if name == 'main'
will raise you an error. Instead, it should be

if __name__ == '__main__'
Posted by: Guest on March-20-2021

Code answers related to "error while running"

Browse Popular Code Answers by Language