Dire que j'ai une listePython: Imprimer en rangées
food_list = ['apple', 'pear', 'tomato', 'bean', 'carrot', 'grape']
Comment pourrais-je imprimer la liste dans les lignes contenant 4 colonnes, il ressemblerait à ceci:
apple pear tomato bean
carrot grape