Answers for "def export(): indentationerror: unexpected indent"

2

IndentationError: unexpected indent

# Python uses spacing at the start of the line to determine when code blocks start and end. 
# Errors you can get are:

def a():
...print "foo"
...     print "bar"
IndentationError: unexpected indent

>>>   print "hello"
IndentationError: unexpected indent
Posted by: Guest on January-17-2021
0

else b>c: ^ IndentationError: unexpected indent

if...:
    .....
else:
    .....
o ELSE deve estar ao mesmo nivel do If
Posted by: Guest on November-29-2020

Python Answers by Framework

Browse Popular Code Answers by Language