Strings method


parrot=Norweigan Blue
print len parrot
it wont work I have tried hard


Hi @objectmaster65947

  1. When you want to store a string in a variable you put the string between (" ") or (' ')like so:

    parrot = "Norweigan Blue

  2. len function syntax is like so :

    print len(variable)

finally your code should look like this:

parrot="Norweigan Blue"
print len(parrot)