Question: I'm using Python 3. Thank you. 1.Write a program that reads a set of floating-point values. Ask the user to enter the values until a
I'm using Python 3. Thank you.
1.Write a program that reads a set of floating-point values. Ask the user to enter the values until a sentinel value is input, then print: 6 pts
a)The average of the values.
b)The smallest of the values.
c)The largest of the values.
d)The range, that is the difference between the smallest and largest
Your code with comments
A screenshot of the execution
2.Write a program that reads a word and prints each character of the word on a separate line. For example, if the user provides the input Harry, the program prints: 5 pts
H
a
r
r
y
Your code with comments
A screenshot of the execution
3.Write a program using nested For loops that prints a multiplication table: 5 pts
1 2 3 4 5 6 7 8 9 10
2 4 6 8 10 12 14 16 18 20
3 6 9 12 15 18 21 24 27 30
. . .
10 20 30 40 50 60 70 80 90 100
Your code with comments
A screenshot of the execution
4.Write programs that read a line of input as a string. Then, prints 5 pts
a)Only the uppercase letters in the string
b)Every second letter of the string
c)The string, with all vowels replace by an underscore
Your code with comments
A screenshot of the execution
Test Case:
Python
A)P
B)Yhn
C)Pyth_n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
