Question: program5_1.py a program that uses a custom functionnamed as you wish and the main function. In main, prompt the user for a first name and
program5_1.py
a program that uses acustom functionnamed as you wishand the main function. In main, prompt the user for afirst nameand aninteger less than 10and then execute the custom function with these two inputs as arguments. The custom function should outputone linedisplaying the name as many times as specified by the integer, separating each repetition of the name with a space.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
