Python Forum
new to programming, any help would be appreciated!
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
new to programming, any help would be appreciated!
#10
Your functions do not return a value.  That is why you are getting back a function object instead of a number.  Calling max(a, b, c) does not make find_max(a, b, c) return the result.  Your function needs something like: return max(a, b, c)
Reply


Messages In This Thread
RE: new to programming, any help would be appreciated! - by deanhystad - Oct-13-2020, 07:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  New to Python - Not sure why this code isn't working - Any help appreciated TheGreatNinx 4 981 Jul-22-2023, 10:21 PM
Last Post: Pedroski55
  Any help is appreciated! Butch12 3 752 Jul-22-2023, 03:23 AM
Last Post: Larz60+
  interloper help appreciated combining two python3 scripts to add new conditions. Ricktoddfrank 0 1,481 Jun-22-2021, 10:24 PM
Last Post: Ricktoddfrank

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020