New course! Every coder should learn Generative AI!
Try a free lesson- 1
What if I is change by x
After changing i with x it should print 0 , 4,8... But it do not add z in x. Why? https://code.sololearn.com/cE0US5yfgvwR/?ref=app
1 Answer
+ 4
Kalpna Kushwaha If you do so it will output integers from 0-9. As if you are checking for x in range instead of i it will print out the range itself.