Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren+ 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:)
1 Antwort
+ 1
Thank you