donkirkby / live-py-plugin

Live coding in Python with PyCharm, Emacs, Sublime Text, or even a browser
https://donkirkby.github.io/live-py-plugin
MIT License
292 stars 56 forks source link

Expression in index fails #315

Closed donkirkby closed 2 years ago

donkirkby commented 3 years ago

What I did

Calculated an index to write in a list.

a = [1, 2]
i = 0
a[i+1] = 3

What happened

Empty display

What I wanted to happen

Display like this:

a = [1, 2]
i = 0
a[1] = 3

My environment

Describe the versions of everything you were using: