Question
Write, save, and run a Python program using functions, named that will do the following when run. Each step must use a function. If functions
Write, save, and run a Python program using functions, named that will do the following when run. Each step must use a function. If functions are not used the point(s) will be zeroed. For a function to run, the function must be called by another function or main().
1. display your full name in a comment
2. accept 3 user input integer numbers
3. use list and loop and calculate the cubes of the 3 numbers the user entered
4. use a loop and print the numbers and their cubes.
5. The main function must be used and the output should look similar to the one below.
Sample run:
Enter your first and last name: Fariborz Khanzadeh
Enter your student ID: 123-456-789
Student name: Fariborz Khanzadeh
Student ID: 123-456-789
Please enter 3 integer numbers: 4 5 6
Number 1: 4 cube is = 64
Number 2: 5 cube is = 125
Number 3: 6 cube is = 216
Step by Step Solution
3.41 Rating (157 Votes )
There are 3 Steps involved in it
Step: 1
Below is the Python program that meets the requirements outlined The program utilizes functions for ...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