Question: ( 7 0 points ) Problem: Documenting errrors; Getting a program to run On your computer, run your choice of Python IDE ( Wing ,
points Problem: Documenting errrors; Getting a program to run
On your computer, run your choice of Python IDE Wing VS Code or other
Copy and paste the Python program below into a NEW FILE in the IDE editor of your choice. The program is everything between the two horizontal lines on the page.
Save the program file as
labpy
# Prolog
# Author: YOUR NAME
# Email: YOUR EMAIL euky, edu
Section: YOUR SECTION
Purpose:
convert meters to millimeters, using fact that
there are millimeters in meter
Preconditions input:
number of meters floating point
Postconditions output:
number of meters, floating point with decimals rounded
number of millimeters, floating point with decimals rounded
def main:
# Design and implementation
# Output a message to identify the program, and a blank line
print Conversion of meters to millimeters"
print
# Input amount of meters from user
meters float input How many meters?
Calculate number of millimeters
millimeters in meter
millimeters meters
Output resulting millimeters and given number of meters
print
print : meters is : millimeters." formatmeters millimeters
main
dots
Test plan:
Input, Output
meters, millimeters
meter, millimeters
meters, millimeters
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
