Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 2 (1 point) Use the two given variables starting_str1 and starting_str2 to create a new string that reads I do so like green eggs
Problem 2 (1 point) Use the two given variables starting_str1 and starting_str2 to create a new string that reads "I do so like green eggs and ham. Thank you! Thank you!". Assign the new string to a variable called ending_str and print it. Note: You can not use a simple assignment or replacement to create ending_str. ]: starting_str1 = "I DO not like GreEN-eggs and HAMs"" starting_str2 = " SHOULD You?" Problem 3 (1 point) Determine programmatically the first location of the exclamation point (!) in ending_str and print the result. ]: Problem 4 (1 point) Suppose that the female students at Notre Dame have an average height of 62 inches, with a standard deviation of 3.75 inches. You have a female friend, Jessica, who is 5 feet and 5 inches tall. Write code to output True if Jessica's height is whithin (inclusive) one standard deviation of the average ND female student height and False otherwise. Tip: use comparison and logical operators
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started