DEV Community

Discussion on: 30 Days of Python 👨‍💻 - Day 4 - Data Types III

Collapse
 
szmatyifa profile image
Matt

HI Arindam!

at the part of

user = {'name': 'Max', 'age': 40, 'married': False}
print(user['name']) # Max
print(user['married'] # False

u missed an ')' after ['married']

And it took me half an hour to figure 😛

Collapse
 
szmatyifa profile image
Matt • Edited

HI Arindam!

It s me again.
I found another missing ')' , this time i was faster.

at the part of

print(abstract['first'] # 123
print(abstract[True]) # 'hello
print(abstract[777]) # [1,3,4,5]

after ['first']
😝

Collapse
 
arindamdawn profile image
Arindam Dawn

Thanks Matt for taking the time to report this. Yeah sometimes it's the most silly things that we tend to ignore!