Ask your own question, for FREE!
Computer Science 7 Online
Gucchi:

Read the following code: for count in range(80); leo.forward(count * 2) leo.left(count + 2) There is an error in the for loop. What should be fixed? Begin the statement with the proper keyword to start the loop Change the semicolon to a colon after the statement Place the loop condition outside the parentheses Replace the parentheses around the range with quotation marks

Gucchi:

am i right with B?

Ultrilliam:

You are correct, semicolon usually indicates the end of an expression. In the future you may want to include what programming language you are focusing on, in this case it's Python (you can tell via the syntax used), but it will be easier for someone to help you if you let them know what language it is. :)

Gucchi:

thanks man

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!