Question: Python Please Exercise 5 2. Assign the following to a variable: 'abcdefghijklmnopqrstuvwxyz b. Assign the following to a variable: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ c. Assign the following to
Python Please
Exercise 5 2. Assign the following to a variable: 'abcdefghijklmnopqrstuvwxyz b. Assign the following to a variable: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ c. Assign the following to a variable: "1234567890 d. Display the following using the variables from steps a, b, and in this exercise: Phil186 Tip: Use indexes to get the necessary letters and numbers from the variables in a, b, and C and concatenate with + e. Display the same information using the following format: 6 Tip: Use a one print statement for each letter. + place your code here Exercise 6 a. Assign the following to a variable: '1234567890 b. Assign the number 59 as a string to a variable by using indexes and the variable in step a of exercise 6 C. Assign the number 81 as a string to a variable by using indexes and the variable in step a of exercise 6 d. Display 5981 by concatenating the variables created in steps b and c of exercise 6 with a + e. Convert both variables from b and exercise 6) to integers f. Display the sum of the two integers from the previous line (e from exercise 6) 8. Convert both variables from e (exercise 6) to floats h. Display the sum of the two floats from the previous line (8 from exercise 6) i. Convert both variables from 8 (exercise 6) to strings j. Concatenate the variables from the previous line (i from exercise 6) using and display the result. Make sure that you have the concatenation start with the converted number originally assigned in step b of exercise 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
