Exercise: Data types

Create a string variable named a with the value "The New York Times"

Test if 'New' is part of the string

Concatenate "is an American newspaper based in New York City" to the string variable a.

Create a list variable, named b, containing 4, a, True and 10.5 (Note: a is the string variable you created in step 1)

print out b

Test if a is inside this list variable

Print the type of the variable b