Jan-16-2018, 05:20 PM
Well, what CAN you use? Referencing globals, or using eval, or pretty much everything else mentioned in this thread, is extremely bad practice, and should never be used in real life. So I highly doubt your assignment is teaching you to do something you'd never want to use.