IN FOR LOOPS EVERYTHING IS DEFINED IN SINGLE LINE
TRUE✓
FALSE×
Share
IN FOR LOOPS EVERYTHING IS DEFINED IN SINGLE LINE
TRUE✓
FALSE×
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Well I think the question isnt clear. But if i was to choose , I would choose True
Explanation:
A for loop is used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or a string) .
Since a for loop ends with ':' , it becomes a block and has statements indented under it which MAY BE spread on different lines.