top of page

Simple User Input & Output Program That Shows How Many Days Until An Assignment Is Due Python 3.9

  • Writer: Brian Clark
    Brian Clark
  • Apr 3, 2022
  • 1 min read

Today, I was practicing programming with simple user input and output. Here is the source code:


from struct import calcsize

#Simple program lets you know when to finish assignment based on the number of #days left. Input / Output by Brian Clark 


Days = int(input("Enter The Amount Assignments Due: ?")) # User Input 
Assignments = int(input("How Many Days Are Left Until The Assignment Is Due:  ?")) #User_Output
Calc = Days / Assignments # simple division calculation


print("You have to complete at least" ,Calc , "Assigments per day") #final output


 
 
 

Comments


bottom of page