** * This article is from Udemy "[Introduction to Python3 taught by active Silicon Valley engineers + application + American Silicon Valley style code style](https://www.udemy.com/course/python-beginner/" Introduction to Python3 taught by active Silicon Valley engineers + application + American Silicon Valley style code style ")" It is a class notebook for myself after taking the course of. It is open to the public with permission from the instructor Jun Sakai. ** **
dict
#Register the price of each fruit
fruits = {
'apple': 100,
'banana': 200,
'orange': 300,
}
#Find out the price of apple
print(fruits['apple'])
result
100
Recommended Posts