Python Data Types

Strings

Strings are declared with either single quotes or double quotes

name = "Jesse Pinkman"
occupation = 'Actor'

Which of the following are a valid use of both single and double quotes?

famous_quote = "He's a top-notch actor."

famous_quote = 'He said "When did you start learning Python?"'

famous_quote = "He felt on top of the world'