Question: Details In this assignment, you will write an executable python 3 script that adds two floatingpoint numbers supplied by the user and prints the result

Details
In this assignment, you will write an executable python3 script that adds two floatingpoint numbers supplied by the user and prints the result to the screen as a floating-point number.
Please pay particularly careful attention to spelling and upper/lower case! You want all the directory and file names to match exactly as shown.
Log onto the course UNIX computer
Create a new python 3 script called "? sand6ox/add2.py", and make sure your python 3 script is UNIX-executable.
Write your script, so that it reads 2 user-supplied command-line arguments and prints the result of adding the two arguments, as floating-point numbers, to the screen.
When you are done, executing:
-/sandbox/addz.py 13
should show:
4.0
 Details In this assignment, you will write an executable python3 script

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!