if(input == "Karma Score"):
print("Your Karma score is {}.format(charKarma) + ".")
This may be an odd question, and I am new to python so I'm stumped. I set myself a goal of finishing a text-based adventure game that features a 'Karma" system. It's basically a watered-down version of the Fallout series' Karma system.
I need help figuring out how to callback to a variable value when requested from the console.
A simplified version of my spaghetti code is:
if(Input == "Print Variable")
print("variable")
Thanks a bunch for your time.