why does the line changes after each condition in while loop? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why does the line changes after each condition in while loop?

10th Dec 2016, 6:08 PM
Shreyash Vishwakarma
Shreyash Vishwakarma - avatar
2 Answers
0
By changing, I assume you mean... 'Why different Identifiers or Quantifiers have to be used'. Basicslly, if you had a While Loop, the Bare Basics that you'd need inside would be - if and - else For more Complex Loops, perhaps... - elif (Short for: Else If) And even further... - try: - except: - finally: Those are the identifiers for certain blocks of code. :)
10th Dec 2016, 6:42 PM
ghostwalker13
ghostwalker13 - avatar
0
no, I mean that the line changes as 1 and then the line changes and so on, if I wanted to do this in any c program, I would have to use /n but this is not the case here
10th Dec 2016, 6:49 PM
Shreyash Vishwakarma
Shreyash Vishwakarma - avatar