Python problem with if and dictionnary

8 views
Skip to first unread message

Reldaing

unread,
Sep 22, 2019, 6:17:48 PM9/22/19
to spyder
Hi , I have a little problem with my code , can you explain the problem to me and help to fix it please ? What should I do ? Thanks
Name.png

Jim Lareau

unread,
Sep 24, 2019, 2:04:56 AM9/24/19
to spyder
Your issue is not a spyder issue, but a lack of famiarity with how to access data from python dictionaries.

I would suggest reviewing the following (with particular attention to "get"):

https://www.w3schools.com/python/python_dictionaries.asp
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages