Whatis wrong with this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
22nd Nov 2019, 2:34 PM
Somil Khandelwal
2 Answers
+ 3
Try to avoid using function name as the for loop variable (use of `my_num` as the for loop counter variable). Not like it prevents the code from running or something, more about confusing your code readers. Please refrain from writing sentence or question in your question tags. Tags are used by search feature to find questions under similar topics by matching up the tags. Use of irrelevant words in tags will diminish search accuracy. Kindly follow this guide for posting a question in the future 👍 https://www.sololearn.com/Discuss/333866/?ref=app
22nd Nov 2019, 2:55 PM
Ipang
+ 2
Everything is alright, it's giving the expected output
22nd Nov 2019, 2:37 PM
VOID
VOID - avatar