Create a string using single-quotes that says 'This is my first string!' and store it in a variable called 'string'.
Create a string using double-quotes that says 'My second string has arrived!' and store it in a variable called my_second_string.
Create a multi-line string with a different pizza ingredient on each line. Store it in a variable called pizzaIngredients.
Concatenate str1 and str2 in the code cell below. Put a space between them when you concatenate them.
str1 = 'Houston'
str2 = 'Texas'
Print cowboy_string 5 times.
cowboy_string = 'Yeehaw! '
Using string interpolation, using the following variables to write the sentence 'The 44th President of the United States was Barack Obama'.
presidentFirstName = 'Barack'
presidentLastName = 'Obama'
Print the 6th character of the following string.
string = 'aosiudhaoughoahfoihaoisf'
Print the last character of the following string.
another_string = 'cdbghrftghyjtfghyj'
Print the second-last character of the following string.
longWord = 'supercalifragilisticexpialidocious'
Calculate the length of the following string.
barbecueSauce = "Frank's Red Hot!"
Transform the following string to uppercase letters and print the modified string.
string_to_modify = 'this should be all uppercase'
Transform the following string to lowercase letters and print the modified string.
another_string_to_modify = 'THIS SHOULD BE ALL LOWERCASE'
Replace all of the 'i' characters with 'y' characters in the following string.
sentence = "This is a sentence whose i's will be replaced with y's."