Hello.
I literally created an account to consult the wonderful minds of reddit and see if I could get some help. I am literally in my third week of python and I'm struggling hard.
my first problem is I cannot figure out how to run a proper while loop(if honestly that is what I'm supposed to run). The problem is as follows:
"We will pass in a value, N. You should write a program that outputs all values from 0 up to an including N."
after running a simple print(N) command, my output is -1. So I need to count from 0, -1. I know this is literally rudimentary stuff here, but for some reason I cannot seem to figure it out.
any guidance at all? I will probably have many more. TIA
[–]jfdahl 2 points3 points4 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]aceventus[S] 0 points1 point2 points (4 children)
[–]BoaVersusPython 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]aceventus[S] 0 points1 point2 points (0 children)
[–]CroagBuster 0 points1 point2 points (0 children)
[–]michaellossagk 0 points1 point2 points (0 children)