Question: Strings- write a SINGLE Python statement for each of these: 1. Remove the leading $ from a string called costStr - $5.67 2. Assign the
Strings- write a SINGLE Python statement for each of these: 1. Remove the leading $ from a string called costStr - "$5.67" 2. Assign the 3rd through 5th characters of a string tmp to an identifier called result. Example: if tmp- "Superfluous", result would be "per". If tmp-"Goodbye", result would be "dby" 3. Print "Yes" if all of the letters in a string called name are lower case 4. Print the # of characters that appear tmp. 5. tmp -input("Enter a score-DONE to finish") Write a Python statement that converts what the user entered into all capital letters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
