11th Nov 2022, 3:16 PM
ŠŸŠ¾Š»ŠøŠ½Š°Š”
4 Answers
+ 6
It's not a function so no need braces.. for l in string : # removed ()
11th Nov 2022, 3:20 PM
Jayakrishna šŸ‡®šŸ‡³
+ 4
Remove the parentheses after 'string' in the for loop header. Like this: for l in string: Also a friendly tip - avoid using the lowercase letter 'l' as a variable name. It's easily confused for a capital I or the number 1.
11th Nov 2022, 3:22 PM
Mozzy
Mozzy - avatar
+ 2
Oh thank you so much for figuring this out) ā˜ŗļø
11th Nov 2022, 3:21 PM
ŠŸŠ¾Š»ŠøŠ½Š°Š”
+ 1
Thanks!
11th Nov 2022, 3:23 PM
ŠŸŠ¾Š»ŠøŠ½Š°Š”