Question: Unti trilett Te View Help The following string is tiven: John works in a company xyz in San Francisco. He joined the company in 2020
Unti trilett Te View Help The following string is tiven: John works in a company xyz in San Francisco. He joined the company in 2020 Before joining XY he used to work for all time in Texas worked there from 2016 to 2019. Before moving to Texas John used to live in Colorado and he has been living there since 2008's. How perform the following tasks Write a python progra to create and print python list with only the year values mentioned in the above string (list will be 2120, 2016, 2010, 2000) Determine and print how many times the substringya' does not matter topper or lower case Also calculate them and minimum of the year values from the List you created in a c. Meplace all within the above string and print the new string to you print the new string all in one or upper case that is fine) output should look like to years Count: (wy:), Madyear), Minim(Year) the new string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
