2). explain it to me I do not understand | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

2). explain it to me I do not understand

What is the output of this code ? def func(x): res = 0 for i in range(x): res +=1 return res Print (func(4))

10th Sep 2020, 4:51 AM
Shubham 🖤
Shubham 🖤 - avatar
3 Answers
+ 5
But it's answer is 6
10th Sep 2020, 6:08 AM
Shubham 🖤
Shubham 🖤 - avatar
+ 5
I don't understand
10th Sep 2020, 6:08 AM
Shubham 🖤
Shubham 🖤 - avatar
+ 4
Let go and see Python module 3 quiz There answer 6 is provided
10th Sep 2020, 8:17 AM
Shubham 🖤
Shubham 🖤 - avatar