Nov-10-2020, 12:27 AM
(Nov-09-2020, 10:22 PM)deanhystad Wrote: I think I finally understand what it is you want to do. You want to have a thing that is associated with a function. You would like to be able to say:
ruby = Gem('Ruby') ruby.draw() print(ruby.name)In other words, you want a Class. Have you studied classes in your Python course?
Output:____ /\/\/\ \ / \ / \/ Ruby
Yes, and i really like your diamond btw
No, we have not gotten into classes. We are currently learning functions.