Skip to content
    vmorgan

    VMorgan

    @vmorgan
    A passionate data science student.
    vmorgan
    vmorgan
    published a Repl
    1 year ago
    0
    enough_time_for_lunch
    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.
    vmorgan
    vmorgan
    published a Repl
    1 year ago
    0
    class assignment feb7
    class assignment feb7classes beginner
    vmorgan
    vmorgan
    published a Repl
    1 year ago
    0
    A1W2023
    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.
    vmorgan
    vmorgan
    published a Repl
    1 year ago
    0
    vmorgan
    vmorgan
    published a Repl
    1 year ago
    0
    Assignment 7
    Assignment 7Program displays number of sightings in each state,
    vmorgan
    vmorgan
    published a Repl
    1 year ago
    0
    Asterisk Definition Program
    Asterisk Definition Program This program explains the three uses of * and interactive examples.
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    discussion 3 fall2022
    discussion 3 fall2022Takes a list of integer inputs from user and returns most commonly used # (mode)
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    3
    fibonacci
    fibonacci Displays all the numbers in the Fibonacci Sequence up to a given max, starting with 0.
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    computeSumOfDigits
    computeSumOfDigitscomputes the sum of the digits of that integer.
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    book
    bookprints a figure
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    biggestAndSmallest
    biggestAndSmallest The program outputs the biggest and the smallest numbers inputed by the user.
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    asciiFigure
    asciiFigureAllows user to input a number and the program will output a figure
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    spending
    spendingRestructure eand eliminate redundancy in code
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    quadrant
    quadrantA program that allows an input of a pair of real numbers (x,y) point) and outputs the # of the quardant.
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    DateIsBefore
    DateIsBeforeA program that inputs 2 month/day combos and outputs whether first date comes before the second using boolean awnsers.
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    computeTax
    computeTaxget salary as input and output taxes due;
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    displacement
    displacementcodestepbystep expressions
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    jackBuilt
    jackBuiltCodestepbystep answers
    vmorgan
    vmorgan
    published a Repl
    2 years ago
    0
    rangeOfNumbers
    rangeOfNumbersprints range of numbers
    Copyright © 2024 Replit, Inc. All rights reserved.
    • twitter
    • tiktok
    • instagram
    • facebook

    Replit

    Programming languages

    • Python
    • JavaScript
    • TypeScript
    • Node.js
    • Nix
    • HTML, CSS, JS
    • C++
    • Golang