Having trouble with len() syntax


SyntaxError: invalid syntax

my_string = MS
print = len(my_string)
print = my_string.upper()


Stings must be in quotes.

"string in double quotes"

'string in single quotes'

Either is valid so long as they match on both opening and closing of string.


Thanks. I had to reset the code and change everything but I figured it out
before your reply


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.