In python: Also including the De-fine and invocation of Main to this problem, th
ID: 3743342 • Letter: I
Question
In python:
Also including the De-fine and invocation of Main to this problem, thanks, 1 question with to part, each part needs the invocation of Main.
HW1A So here is the specification for HW1A Assign your first name to a variable called name Then print literal text followed by the value of the variable to have output look like Your name is Jeff HW1B Using the input function prompt the user his/her name. Then print with labeling text the value entered. Execution of your program should like what follows. The text should be formatted as shown below, but have the program accept any name. User typed input appears in bold: Enter your name: You entered for name a value ofExplanation / Answer
1) def main(): name = 'Yourfirstname' print('Your name is ' + name) main() 2) def main(): name = input('Enter your name: ') print('Your entered for name a value of ' + name) main()
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.