Question: Create a Python program file called Ch 0 6 - 1 _ Name.py . ( Replace Name with your initial of first name and first
Create a Python program file called ChName.pyReplace Name with your initial of first name and first letters of last name. If your last name is shorter than letters, just use full last name, it doesn't have to be letters. ie if your name is John Doe, your file name should be ChJDoe.py
Your program will take a string as an input and using slice and find function, to extract a string after a colon. Then, convert it to floating point number and add to it Print output displaying the number as following example shows:
Entera string with a colon and a number after it:This is a sample string with number:
Extracted a number from given string and added to it:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
