Hi, I want to create some powers in my fight program. I want to know if dictionnaries is the best solution to do it.
For now its look like this : //French name and description, don't care about it ;) power1= {} power1['Name'] = 'Flammes infernales' power1['Description'] = 'Embrase lenemi et le feu bruler' power2= {} power2['Name'] = 'Froid devorant' power2['Description'] = 'Gele lenemi sur place' powerAll= [power1,power2] but if i want to create like 20 powers, it will be long no ? is there any solution shorter (and better ?) Thank you for reading, -- Brookes Christopher.
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor