0

Please help (absolute beginner)

I created a Nested for loop for a statistics but can't get the each data to graph instead it's outputting last entry when printed outside the loop.

30th Apr 2022, 5:15 AM
Sagar Satheesh
Sagar Satheesh - avatar
3 Answers
+ 2
In Python, the structure of your code must be indented according to the code blocks. At the end of "while" line there must be a colon. And you must use the correct capitalization (while and print are lowercase!) And please don't post the same question twice. Save your code in the code playground, and provide a link in the question. i = 0 while i <= 10: print(i) i += 1
2nd May 2022, 3:04 AM
Tibor Santa
Tibor Santa - avatar
0
Post your code pls
30th Apr 2022, 8:43 PM
Ricardo Santos
0
This is not the exact code but imagine a "while loop" i = 0 While i <= 10 Print(i) i+=1 So I want to plot those each i...
1st May 2022, 2:08 AM
Sagar Satheesh
Sagar Satheesh - avatar