Looping | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Looping

How to make this Loop with for i in range simple code for beginner to learn A. 1+2+3+4+5+6+7... = Result B. 1/2 + 2/3 + 3/4 + 4/5 + 5/6 +7/8...= Result C. -2/1 + 4/3 + -6/5 + 8/7 + -10/9 + 12/11 +.... = Result i need to know about looping code and tell me about all function you place it at your code, bcs I need to know all function you use... Thank Youu...

15th Oct 2017, 2:51 AM
Jansen Su
Jansen Su - avatar
1 Answer
+ 1
@Gordie thank you for your advice, and yes in python
15th Oct 2017, 9:14 AM
Jansen Su
Jansen Su - avatar