Open Devansh-awat opened 1 month ago
Thanks for reporting.
Block programs are Python files with the block representation stored as a comment on the first line.
When you copied the code, it also copied that first line. This isn't visible in your video, but you will see it if you scroll to the first line after pasting it in a new file. You can delete that first line to work around it.
Describe the bug Python files turning into block files
To reproduce
Expected behaviour The Python file should have stayed a Python file
Video recording
https://github.com/user-attachments/assets/a0569722-3c2b-4747-b4e7-d2608e9a4c2f