Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Assignment:
- Let's start with len(). Set the variable parrot to the string "Norwegian Blue" (be sure to include the space and capitalize exactly as shown). Then call len() on parrot after the word print on line 5, like so: len(parrot). (We'll explain print in the next section!)
- My code:
- """Assign the variable parrot on line 4,
- then call len() on parrot on line 5!"""
- parrot = "Norwegian Blue"
- print
- len(parrot)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement