dimanche 18 décembre 2016

How do I select a set number of variables out of a list on Python [duplicate]

This question already has an answer here:

I was wondering how I'd select a set number of variables out of a list using python

For example: If my list was - list=["a","b","c"] and I wanted to select 2 of the variables I the list how would I do so?




Aucun commentaire:

Enregistrer un commentaire