Armands12 Posted April 14, 2012 Report Share Posted April 14, 2012 Sveiki, man jātaisa kursa darbs, par Divdimensīju masīviem, jānodod 60% uz šo pirmdienu.. Meklēju, nekur nevar atrast nekādu info. Ja kāds varētu iedot ļoti noderīgu informācīju, būtu pateicīgs. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted April 15, 2012 Report Share Posted April 15, 2012 Masīvs kura elements ir vēl viens masīvs. :D a = [['foo', 'bar'], ['baz']] print a[0][1] # 'bar' print a[1][0] # 'baz' Quote Link to comment Share on other sites More sharing options...
Kemito Posted April 15, 2012 Report Share Posted April 15, 2012 http://paste.php.lv/594cd9252e9a68788c24f9e009935751?lang=php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.