Skip to the content.

3.1_python_homework_ipynb_2_

favorite_food = 'pizza' #snake_case
FavoriteHobby = 'videogames' #PascalCase
favoriteColor = 'red' #camelCase

print(favorite_food)
print(FavoriteHobby)
print(favoriteColor)

pizza
videogames
red
me = {                                     #Dictionary
    'name': 'Nikith',
    'age': '16',
    'favorite_number': '2.79',
}

print(me['name']) #Outputs
print(me['age'])
print(me['favorite_number'])
Nikith
16
2.79
about_me = ['Nikith', 'red', '2.79'] #list for name, fav color, and fav number
print(about_me)
['Nikith', 'red', '2.79']