Write, save, and run a Python program using functions, named that will do the following when run.
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 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
Microeconomics An Intuitive Approach with Calculus
ISBN: 978-0538453257
1st edition
Authors: Thomas Nechyba