MCPcopy Create free account

hub / github.com/TheKicker/Harvard-CS50 / functions

Functions97 in github.com/TheKicker/Harvard-CS50

↓ 16 callersFunctionapology
Render message as an apology to user.
week-9/finance/helpers.py:12
↓ 6 callersFunctionusd
Format value as USD.
week-9/finance/helpers.py:86
↓ 4 callersFunctioncalculate
Returns number of seconds between b and a
week-5/homework/speller/speller.c:182
↓ 4 callersFunctionlookup
Look up quote for symbol.
week-9/finance/helpers.py:53
↓ 3 callersFunctionunload
Unloads dictionary from memory, returning true if successful, else false
week-5/homework/speller/dictionary.c:138
↓ 2 callersFunctioncompute_score
week-2/lab/scrabble.c:36
↓ 2 callersFunctionhash
Hashes word to a number
week-5/homework/speller/dictionary.c:50
↓ 2 callersFunctionrandom_allele
Randomly chooses a blood type allele.
week-5/lab/inheritance/inheritance.c:133
↓ 1 callersFunctionblur
Blur image
week-4/homework/filter-less/helpers.c:100
↓ 1 callersFunctioncalculate_dimes
week-1/homework/cash.c:57
↓ 1 callersFunctioncalculate_nickels
week-1/homework/cash.c:64
↓ 1 callersFunctioncalculate_pennies
week-1/homework/cash.c:71
↓ 1 callersFunctioncalculate_quarters
week-1/homework/cash.c:50
↓ 1 callersFunctioncheck
Returns true if word is in dictionary, else false
week-5/homework/speller/dictionary.c:29
↓ 1 callersFunctioncreate_family
Create a new individual with `generations`
week-5/lab/inheritance/inheritance.c:40
↓ 1 callersFunctiondiscount
week-1/c-lecture-files/discount.c:4
↓ 1 callersFunctiondraw
week-3/recursion.c:13
↓ 1 callersFunctioneliminate
Eliminate the candidate (or candidates) in last place
week-3/homework/runoff.c:227
↓ 1 callersFunctionescape
Escape special characters. https://github.com/jacebrowning/memegen#special-characters
week-9/finance/helpers.py:15
↓ 1 callersFunctionfind_min
Return the minimum number of votes any remaining candidate has
week-3/homework/runoff.c:188
↓ 1 callersFunctionfree_family
Free `p` and all ancestors of `p`.
week-5/lab/inheritance/inheritance.c:80
↓ 1 callersFunctionget_cents
week-1/homework/cash.c:38
↓ 1 callersFunctiongrayscale
Convert image to grayscale
week-4/homework/filter-less/helpers.c:8
↓ 1 callersFunctionis_tie
Return true if the election is tied between all candidates, false otherwise
week-3/homework/runoff.c:209
↓ 1 callersFunctionload
Loads dictionary into memory, returning true if successful, else false
week-5/homework/speller/dictionary.c:71
↓ 1 callersFunctionlongest_match
Returns length of longest run of subsequence in sequence.
week-6/homework/dna/dna.py:48
↓ 1 callersFunctionmain
()
week-6/homework/dna/dna.py:5
↓ 1 callersFunctionmain
()
week-6/homework/dna/databases/dna.py:5
↓ 1 callersFunctionmain
()
week-6/lab/tournament.py:11
↓ 1 callersFunctionmeow
first void is what the function is returning, in this case nothing it just prints meow is the name of our custom function meow takes in one parameter
week-1/pablo.c:6
↓ 1 callersFunctionprint_family
Print each family member and their alleles.
week-5/lab/inheritance/inheritance.c:95
↓ 1 callersFunctionprint_winner
Print the winner (or winners) of the election
week-3/homework/plurality.c:87
↓ 1 callersFunctionprint_winner
Print the winner of the election, if there is one
week-3/homework/runoff.c:169
↓ 1 callersFunctionreflect
Reflect image horizontally
week-4/homework/filter-less/helpers.c:64
↓ 1 callersFunctionsepia
Convert image to sepia
week-4/homework/filter-less/helpers.c:30
↓ 1 callersFunctionsimulate_game
Simulate a game. Return True if team1 wins, False otherwise.
week-6/lab/tournament.py:41
↓ 1 callersFunctionsimulate_round
Simulate a round. Return a list of winning teams.
week-6/lab/tournament.py:49
↓ 1 callersFunctionsimulate_tournament
Simulate a tournament. Return name of winning team.
week-6/lab/tournament.py:63
↓ 1 callersFunctionsize
Returns number of words in dictionary if loaded, else 0 if not yet loaded
week-5/homework/speller/dictionary.c:124
↓ 1 callersFunctiontabulate
Tabulate votes for non-eliminated candidates
week-3/homework/runoff.c:147
↓ 1 callersFunctionvote
Update vote totals given a new vote
week-3/homework/plurality.c:67
↓ 1 callersFunctionvote
Record preference if vote is valid
week-3/homework/runoff.c:129
Functionabout
()
week-9/2-parameters/app.py:15
Functionabout
()
week-9/1-hello/app.py:11
Functionafter_request
Ensure responses aren't cached
week-9/finance/app.py:26
Functionafter_request
Ensure responses aren't cached
week-9/birthdays/app.py:17
Functionbuy
Buy shares of stock
week-9/finance/app.py:75
Functioncheck_format
week-4/homework/reverse/reverse.c:37
Functiondecorated_function
(*args, **kwargs)
week-9/finance/helpers.py:45
Functionget_block_size
week-4/homework/reverse/reverse.c:43
Functionget_value
(language)
week-7/favorites/favorites7.py:22
Functiongreet
()
week-9/3-greet/app.py:11
Functionhistory
Show history of transactions
week-9/finance/app.py:121
Functionindex
()
week-9/2-parameters/app.py:7
Functionindex
()
week-9/3-greet/app.py:7
Functionindex
Show portfolio of stocks
week-9/finance/app.py:36
Functionindex
()
week-9/1-hello/app.py:7
Functionindex
()
week-9/birthdays/app.py:26
Functionlogin
Log user in
week-9/finance/app.py:147
Functionlogin_required
Decorate routes to require login. https://flask.palletsprojects.com/en/latest/patterns/viewdecorators/
week-9/finance/helpers.py:37
Functionlogout
Log user out
week-9/finance/app.py:186
Functionlongest_match
Returns length of longest run of subsequence in sequence.
week-6/homework/dna/databases/dna.py:57
Functionmain
week-3/recursion.c:6
Functionmain
week-3/lecture.c:4
Functionmain
week-3/homework/plurality.c:26
Functionmain
week-3/homework/runoff.c:36
Functionmain
week-1/pablo.c:14
Functionmain
week-1/hello_world.c:3
Functionmain
week-1/homework/cash.c:10
Functionmain
week-1/homework/mario.c:4
Functionmain
week-1/homework/hello.c:4
Functionmain
week-1/c-lecture-files/discount.c:9
Functionmain
week-1/c-lecture-files/mario.c:4
Functionmain
main is similar to "when green flag clicked" in scratch
week-1/c-lecture-files/helloworld-with-scratchequivalent.c:5
Functionmain
week-1/c-lecture-files/hello_world_advanced.c:4
Functionmain
week-4/different.c:4
Functionmain
week-4/string2.c:3
Functionmain
week-4/string.c:17
Functionmain
week-4/copy.c:7
Functionmain
week-4/binky.c:6
Functionmain
week-4/address.c:3
Functionmain
week-4/homework/filter-less/filter.c:7
Functionmain
week-4/homework/reverse/reverse.c:10
Functionmain
week-4/homework/recover/recover-bad.c:8
Functionmain
week-4/homework/recover/recover.c:7
Functionmain
week-4/lab/volume.c:10
Functionmain
week-2/length.c:4
Functionmain
week-2/scores.c:4
Functionmain
week-2/hello_world.c:3
Functionmain
week-2/homework/readability.c:10
Functionmain
week-2/homework/caesar.c:9
Functionmain
week-2/lab/scrabble.c:11
Functionmain
week-5/homework/speller/speller.c:20
Functionmain
week-5/lab/inheritance/inheritance.c:24
Functionquote
Get stock quote.
week-9/finance/app.py:198
Functionregister
Register user
week-9/finance/app.py:213
Functionsell
Sell shares of stock
week-9/finance/app.py:250