Question: Using only material covered in this course. Write ONE Python program that will use 6 functions in total: 1. A function which will declare a
Using only material covered in this course. Write ONE Python program that will use 6 functions in total: 1. A function which will declare a list, ask the user to enter the first and last names, and the user id. The function then should print the data from the list. 2 marks 2. A function which will ask the user to enter 2 positive numbers only, if any of the entered value is not positive the function should ask the user to enter another two values and so on(as shown in the sample below). The same function should call functions to respectively print the 2 numbers, add the 2 numbers, and produce the multiplication of the 2 numbers. 10 marks 3. A function to print the 2 numbers. 3 marks 4. A function to add the 2 numbers and print their sum. 5 marks 5. A function to produce the multiplication of the 2 numbers and print their multiplication. 5 marks 6. A main function to call the proper functions for the orderly execution of the program. 3 marks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
