Bug in audio (mblock to Python) (mBot 2)


Hello Tech_support,

I’m afraid I’ve found a small error in the generation of the Python code.

When I address elements of an array via the print statement, everything is fine.

When I address the same elements via the audio-play statement, inverted commas are placed as a matter of course.

This is at least inconsistent.

Otherwise: The command “Execute Python code” is excellent. It wouldn’t be bad if there was a way to determine where the code is inserted; possibly via a second command (1. def, 2. run)

Translated with www.DeepL.com/Translator (free version)


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.