Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
THE SECOND PAGE IS THE CONTINOUS PAGE FOR THE FIRST PAGE THANKS Exerclse 3. Say My Name In Python, the mulfiplication operator has the
THE SECOND PAGE IS THE CONTINOUS PAGE FOR THE FIRST PAGE THANKS Exerclse 3. "Say My Name" In Python, the mulfiplication operator " has the expected effect when applied to integers: >310 30 It has a different meaning when a string is multiplied by an integer: \> '3' * 10 '33333333333' In this case, multiplying by 10 resulted in 10 concatenated (attached to one another) copies of the string ' 3 '. Write Python program named say_my_name.py that prompts the user for a name and number, and then prints the requested number of copies of that name. The prompts must be "Name:" and "Number. " The following shows an example of what the shell interaction should look like when your program is run in Thonny: \%Run_say_my_name.py Name: Madison Number. 3 Your name is: MadisonMadisonMadison In order to get credit for this question, your solution must use two print statements. One to print "Your name is:" and one to print the repeated name
THE SECOND PAGE IS THE CONTINOUS PAGE FOR THE FIRST PAGE
THANKS
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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