I am making a game, and I'm wondering how I can get a string( /element ) out of a list in a list.
Something like that? ( That's not the real code, just something that I want. ;) )
Code:
players = [["Magnie","apassword"],["Test","apassword"]] if username == players[0[0]] and password == players[0[1]]: print "Welcome back,",username+"!"
Comment