A company is offering cars for lease in one year intervals. Customers are allowed up to 30,000 miles per year. (82 miles per day)
Design a python program that will allow them to enter the start date of their lease and the current date to check to see if they are over the required daily mileage.
Here is the code and output

Code for copying
from datetime import date
s_day=int(input("Please enter the start day of lease : "))
s_month=int(input("Please enter the start month of lease :
"))
s_year=int(input("Please enter the start year of lease : "))
c_day=int(input("Please enter the current day : "))
c_month=int(input("Please enter the current month : "))
c_year=int(input("Please enter the current year : "))
s_date=date(s_year,s_month,s_day)
c_date=date(c_year,c_month,c_day)
t=c_date-s_date
total_days= t.days
miles = int(input("Please enter the miles you driven the car ;
"))
if int(miles/82) <= total_days:
print("You are NOT over the required daily mileage")
if int(miles/82) > total_days:
print("You are over the required daily mileage")
=============
Dear student if you have any doubts then please comment below, I will change or modify the code if needed , Thank you
A company is offering cars for lease in one year intervals. Customers are allowed up to...
in Python The program will compute and display information for a company which rents vehicles to its customers. For a specified customer, the program will compute and display the amount of money charged for that customer’s vehicle rental. 1. The program will repeatedly prompt the user to enter the following four items for a given customer (in the specified order): a. The customer's classification code (a character) b. The number of days the vehicle was rented (a number) c. The...
Solve it in
access
Group Project Note: All documents should be prepared and presented in a professional manner, with a cover page showing the group number and the names of group members. Nothing should be hand written hand drawn Michiana Car Rentals Database System Michiana Car Rentals, Inc., headquartered in South Bend, IN, wants to build a database system which would track information customer billing. Usually, a customer picks up a car and then returns after a period of time....
Need help Purpose Calculate mileage reimbursements using arrays and methods. The Mathematical Association of America hosts an annual summer meeting. Each state sends one official delegate to the section officers’ meeting at this summer session. The national organization reimburses the official state delegates according to the scale below. Write a Java program to calculate the reimbursement values, satisfying the specifications below. Details on array and method usage follow these specs. 1. The main method should declare all the variables at...
Using Python... Be sure to include the first line that makes the file an executable file in Linux. File Name: PyramidBlocks.py Python skills needed: Simple for loop (for var in range(num1,num2): Use of the range object Use of python math Creation of a Python Function Use of the print() method. Code Assignment 1: Alex sells pyramid wall art. In the design of his pyramids have each row has one more block than the last which means row 10 has 10...
Zipcar: “It’s Not About Cars—It’s About Urban Life” Imagine a world in which no one owns a car. Cars would still exist, but rather than owning cars, people would just share them. Sounds crazy, right? But Scott Griffith, CEO of Zipcar, the world’s largest car-share company, paints a picture of just such an imaginary world. And he has nearly 800,000 passionate customers—or Zipsters, as they are called—who will back him up. Zipcar specializes in renting out cars by the hour...
This needs to be written in Python. I'm writing this but I'd love to see how others would do it. I have idea to make a program to keep track of reading. Set goal per day. Input minutes per day & book read. Could accumulate for whole month. Input daily, but you can input it all at the end of the week if you want. I want the user to be prompted to enter a numerical value and book for...
Marketing problem.
the offering of your Web site? 2. If you have developed a service, to what other Web sites might you'"distribute" your Internet-based service? How will working with these other Web sites help you reach your target audience? Are there other Web sites from which you might accept distribution deals in order to make your product or service offering stronger? Explain how strategic distribution with other Web sites or services can give you a competitive advantage. CASE STUDY Nordstrom...
Grenier & Company is an architectural firm specializing in home remodeling for private clients and new Ann Lalonde hired Grenier to design her kitchen remodeling A total of 25 professional hours were incurred office buildings for corporate clients. Grenier charges customers at a biling rate equal to 128% of the on this job. In addition, Lalonde's remodeling job required one of the professionals to travel back and forth client's total job cos. A client's totaljob cost is a combination of...
Use Java please
Creating a calendar for a given year A shell for this assignment has been provided so that you can fill in the methods Homework 4 grading rubric 1. Output examples a. One Normal Year, 10% b. One Leap Year, 10% 2. Style Meaningful variable names, 10% b. Meaningful method names, 10 % c. Comments, Total: 10% . Do not comment every line. 5% . Comment non-obvious code. 5% a d. Indentation, 10% e. Block comment with name...
Davis & Company is an architectural firm specializing in home remodeling for private clients and new office buildings for corporate clients. Davis charges customers at a billing rate equal to 134% of the client's total job cost. A client's total job cost is a combination of (1) professional time spent on the client ($63 per hour cost of employing each professional) and (2) operating overhead allocated to the client's job. Davis allocates operating overhead to jobs based on professional hours...