VMorgan
@vmorgan
A passionate data science student.
Public Repls
Community
0
enough_time_for_lunchWrite a function named enough_time_for_lunch that accepts four integers hour1, minute1, hour2, and minute2 as parameters. Each pair of parameters represents a time on the 24-hour clock (for example, 1:36 PM would be represented as 13 and 36). The function should return True if the gap between the two times is long enough to eat lunch: that is, if the second time is at least 45 minutes after the first time. Otherwise the function should return False.
You may assume that all parameter values are valid: the hours are both between 0 and 23, and the minute parameters are between 0 and 59. You may also assume that both times represent times in the same day, e.g. the first time won't represent a time today while the second time represents a time tomorrow. Note that the second time might be earlier than the first time; in such a case, your function should return False.
0
0
0
class assignment feb7classes beginner
0
0
0
A1W2023This program reads input from a file containing a list of activities. User is presented with a menu of options to modify and view that list. Options include adding and removing activities along with viewing the list by name, location, or type. List is then updated to file when user quits the program.
1
0
0
FinalProject-vm3161B Final
0
0
0
Assignment 7Program displays number of sightings in each state,
0
0
0
Asterisk Definition Program This program explains the three uses of * and interactive examples.
0
0
0
discussion 3 fall2022Takes a list of integer inputs from user and returns most commonly used # (mode)
0
0
3
fibonacci Displays all the numbers in the Fibonacci Sequence up to a given max, starting with 0.
0
3
0
computeSumOfDigitscomputes the sum of the digits of that integer.
0
0
0
biggestAndSmallest The program outputs the biggest and the smallest numbers inputed by the user.
0
0
0
asciiFigureAllows user to input a number and the program will output a figure
0
0
0
quadrantA program that allows an input of a pair of real numbers (x,y) point) and outputs the # of the quardant.
0
0
0
DateIsBeforeA program that inputs 2 month/day combos and outputs whether first date comes before the second using boolean awnsers.
0
0
0
computeTaxget salary as input and output taxes due;
0
0
0
displacementcodestepbystep expressions
0
0
0
rangeOfNumbersprints range of numbers
0
0