0

answer to the module 3 quiz 5th question is shown wrong when i work in playground

for this particular code : def func(x): res=0 for I in range(x): res+=i return res print (fund(4)) ans in quiz it was 6 in playground it is 0as I understood so wanted to know explanation

8th Jun 2020, 6:05 AM
Pavithra B G
1 Réponse