Python Forum
can you call a function from a list?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can you call a function from a list?
#10
(Nov-09-2020, 03:49 PM)deanhystad Wrote: I still don't see where a list comes into play. What makes you think you need a list of functions? Are you basing this on your trophy function using multiple print()'s?
yes in a way.
Picture the function as an obtainable object called trophy. I need to be able to have a list of objects like an inventory that can be called on and shown. I will need to have a few other functions that print out a type of art representing an item and have those items stored in a list so they can later be individually selected to view and or view them all.
Reply


Messages In This Thread
can you call a function from a list? - by KEYS - Nov-09-2020, 12:31 AM
RE: can you call a function from a list? - by KEYS - Nov-09-2020, 02:32 AM
RE: can you call a function from a list? - by KEYS - Nov-09-2020, 05:19 AM
RE: can you call a function from a list? - by buran - Nov-09-2020, 05:27 AM
RE: can you call a function from a list? - by KEYS - Nov-09-2020, 09:16 PM
RE: can you call a function from a list? - by KEYS - Nov-09-2020, 05:57 PM
RE: can you call a function from a list? - by KEYS - Nov-09-2020, 05:53 PM
RE: can you call a function from a list? - by KEYS - Nov-09-2020, 09:09 PM
RE: can you call a function from a list? - by buran - Nov-09-2020, 09:35 PM
RE: can you call a function from a list? - by KEYS - Nov-10-2020, 12:27 AM
RE: can you call a function from a list? - by KEYS - Nov-10-2020, 06:36 PM
RE: can you call a function from a list? - by buran - Nov-10-2020, 10:01 AM
RE: can you call a function from a list? - by KEYS - Nov-10-2020, 06:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Programming (identifier, literal and function call) ledangereux 5 5,134 May-05-2020, 12:37 PM
Last Post: gumi543
  Calling function-- how to call simply return value, not whole process juliabrushett 2 3,289 Jul-01-2018, 01:17 AM
Last Post: juliabrushett
  Function call Antonio_Gallardo 3 3,298 Dec-29-2017, 11:13 PM
Last Post: Larz60+
  Error is function call Oracle_Rahul 2 3,261 Sep-21-2017, 06:04 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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