Python Solved Programs, Assignments of Software Engineering

Basic Beginner level code in Python Language for better understanding the logic.

Typology: Assignments

2020/2021

Uploaded on 03/29/2022

myrah-hafeez
myrah-hafeez 🇺🇸

3

(2)

1 document

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1. Kilometer Converter
Write a program that asks the user to enter a distance in kilometers, then converts
thatdistance to miles. The conversion formula is as follows:
Miles 5 Kilometers 3 0.6214
pf3

Partial preview of the text

Download Python Solved Programs and more Assignments Software Engineering in PDF only on Docsity!

  1. Kilometer Converter Write a program that asks the user to enter a distance in kilometers, then converts that distance to miles. The conversion formula is as follows: Miles 5 Kilometers 3 0.
  1. Automobile Costs Write a program that asks the user to enter the monthly costs for the following expenses incurred from operating his or her automobile: loan payment, insurance, gas, oil, tires, and maintenance. The program should then display the total monthly cost of these expenses, and the total annual cost of these expenses.