Question: Python Please Exercise 1 .. Ask the user for a word with the following prompt: Your favorite word? (include a space after the question mark)

Python Please Exercise 1 .. Ask the user for a word withPython Please

Exercise 1 .. Ask the user for a word with the following prompt: Your favorite word? (include a space after the question mark) b. Get the length of the user entered word using the len() function and assign it to a variable C. Convert the variable in b to a string d. Display the following statement using the converted length of word from step c: The word you entered has this number of words: (length of word from c]. # place your code here 1 Exercise 2 3. 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: Bus 92 Tip: Use indexes to get the necessary letters and numbers from the variables in a,b,and c and concatenate with + - Display the same information using the following format: 2 Tip: Use one print statement for each letter. + place your code here Exercise 3 3. Assign the following to a variable: "1234567890 b. Assign the number 35 as a string to a variable by using indexes and the variable in step of exercise 3 C. Assign the number 74 as a string to a variable by using indexes and the variable in step a of exercise 3 d. Display 3574 by concatenating the variables created in steps b and c of exercise 3 with a + e. Convert both variables from b and c (exercise 3) to integers f. Display the sum of the two integers from the previous line (e from exercise 3) g. Convert both variables from e (exercise 3) to floats h. Display the sum of the two floats from the previous line (5 from exercise 3) 1. Convert both variables from g (exercise 3) to strings 1. Concatenate the variables from the previous line (1 from exercise 3) using + and display the result. Make sure that you have the concatenation start with the converted number originally assigned in step b of exercise 3 Exercise 4 . Ask the user for a word with the following prompt: Word of the day? (include a space after the question mark) b. Get the length of the user entered word using the len() function C. Convert the variable in exercise 4 step b to a string d. Display the following statement using the converted length of word from step of exercise 4: Your word of the day has a length of: [converted length of word from exercise 4 step c]! # place your code here

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!