+ 1
How to overcome 'Return' outside function error?
When I type this code it shows the above mentioned error def=count_char(text, char) count=0 for c in char: Count+=1 return count Pls tell why this happens Thanks:)
2 ответов
+ 1
Thank you
When I type this code it shows the above mentioned error def=count_char(text, char) count=0 for c in char: Count+=1 return count Pls tell why this happens Thanks:)