LogFAQs > #912140214

LurkerFAQs, Active DB, DB1, DB2, DB3, Database 4 ( 07.23.2018-12.31.2018 ), DB5, DB6, DB7, DB8, DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicMy weekly programming help topic (Python)
kirbymuncher
11/09/18 11:16:40 PM
#14:


LookANinja posted...
Frostshock posted...
If you feel like your function is returning early, perhaps you should look at where you placed your return...

I don't know if this was actually a blatant hint, but from my understanding, the min function is correctly returning -1, which is the last element of the list, it shouldn't be returning early. And i wrote the max function first and copy pasted it for my min function. That might have been a mistake.

try it on a different list

alternatively, step through one of your functions manually, yourself, and just consider what happens at each line of code
---
THIS IS WHAT I HATE A BOUT EVREY WEBSITE!! THERES SO MUCH PEOPLE READING AND POSTING STUIPED STUFF
... Copied to Clipboard!
Topic List
Page List: 1