Hello, I’m new to learning python and I stumbled upon a question nested loops.
This is the question below. Can you please how they arrived at 9 as the answer.
Thanks
var = 0
for i in range(3):
for j in range(-2,-7,-2):
var += 1
print(var)
Sent from my iPhone
--
https://mail.python.
Good morning, Python. I am having trouble installing pygame. it keeps saying to
upgrade my pip version which I have done several times. then when I tried
importing python to see if it has worked, in the ide it says the module does
not exist or something along that line. what do I do please? Th