Having trouble with len() syntax


#1



SyntaxError: invalid syntax


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


#2

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.


#3

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


#4

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