Choosing a data structure
You're building your recipe scaler and want to categorize recipes by cuisine type. You've defined five standard categories that every recipe must fit into: "Italian", "Mexican", "Asian", "American", and "Mediterranean". These categories are your script's foundation and should never be accidentally modified or deleted as other developers work on the project.
Which data structure would be most appropriate for storing these fixed cuisine categories?
Bu egzersiz
Introduction to Python for Developers
kursunun bir parçasıdırUygulamalı interaktif egzersiz
İnteraktif egzersizlerimizden biriyle teoriyi pratiğe dökün
Egzersizi başlat