Closed t-789 closed 3 years ago
Hi @t-789,
Thanks for the report. It looks like you might have been using the Python version of MakeCode, right? This repository is MicroPython which can be used in the online Python editor, Mu editor, etc. For issues with MakeCode you can open a new ticket in https://github.com/microsoft/pxt-microbit/issues
Thank you!
Get Outlook for iOShttps://aka.ms/o0ukef
From: Carlos Pereira Atencio notifications@github.com Sent: Wednesday, February 24, 2021 10:00:14 PM To: bbcmicrobit/micropython micropython@noreply.github.com Cc: t-789 liuzybj@outlook.com; Mention mention@noreply.github.com Subject: Re: [bbcmicrobit/micropython] Dictionary: I can't add new entry. (#708)
Hi @t-789https://github.com/t-789,
Thanks for the report. It looks like you might have been using the Python version of MakeCode, right? This repository is MicroPython which can be used in the online Python editorhttps://python.microbit.org, Mu editorhttps://codewith.mu, etc. For issues with MakeCode you can open a new ticket in https://github.com/microsoft/pxt-microbit/issues
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/bbcmicrobit/micropython/issues/708#issuecomment-785095029, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL2OIM5DGQ3XQDTBRI2K33TTAUA65ANCNFSM4XLAU5RQ.
Hello! I created a dictionary on micro:bit, and I found out that I can't add a new entry to a dictionary. Here are my code: Cars = {"a1": -1, "a2": -1, "a3": -1, "b1": -1, "b2": -1, "b3": -1, }
Cars['a1a'] = input.running_time()
Cars['a1b'] = 100
And the editor said:![issue picture](https://user-images.githubusercontent.com/49603635/107371569-60f8ac00-6b1f-11eb-9684-d2f1cffdee7d.jpg)