How To Push Variable Into Array Methods In Python