Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in Pyhton Q1_b (20 pts) Modify the above program so that it first takes the number of names N as an input. Subsequently it queries
in Pyhton
Q1_b (20 pts) Modify the above program so that it first takes the number of names N as an input. Subsequently it queries the user N times to enter a name, and prints a message with that name. A user session will proceed as follows: Program Prompt: How many names User response: 4 Program Prompt: Please enter a name User response: Jane Program Prompt: Please enter a name User response: Jose Program Prompt: Please enter a name User response: NotTelling You Program Prompt: Please enter a name User response: Divad spelled backwards Output Hi Jane Thank you for being a part of my program! Hi Jose Thank you for being a part of my program! Hi NotTelling You Thank you for being a part of my program! Hi Divad spelled backwards Thank you for being a part of my program! Note: You will need to use a range function for this part of the problem. Load History Show Codel.ens Save & Run 1 # Write your program here 2 Activity: 1 ActiveCode (1306, po3_521.91 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started