User Profile
Collapse
-
Yarr: Ohh, thanks! I thought that if a list is inside a list it would make more sense to do it the other way. :P Thanks again! -
Getting a string from a list in a list
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+"!" -
Is there any way you could explain what you want in more depth?Leave a comment:
No activity results to display
Show More
Leave a comment: