Question #413

What is the output of the code snippet below?
for x in range(0, 7):
    x *= 2
    print(x)

In this situation, the range() values will go from from 0 to 6 multiplied by 2 at each iteration. (digitalocean.com/community/tutorials/how-to-do-math-in-py...)


Comment on Disqus:

Question difficulty: ๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต