Not much to go on here, but after a for statement such as this, you need a line after this and 4 spaces before your next statement. A lot of programming languages use {
and }
to signify the start and stop of a block of code, Python uses indentation (4 spaces) to do this. Your code should look something like:
for edad in range(10, 18):
print(edad)
1
solved Meaning of “IndentationError: expected an indented block” exception?