Question: 2. Write a for or while loop that prints your name 100 times. Each output should begin on a new line. Initialize the variable name

2. Write a for or while loop that prints your name 100 times. Each output should begin on a new line. Initialize the variable name with your name. Answer: 3. Assume that the variable amount refers to 24.325. Write the outputs of the following statements: Output Statement a. print("Your salary is $%0.28" % amount)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
