icon

UseTopicwritingscode to get 5% OFF on your first order!

Dictionaries (Symbol Table)

You will implement a Symbol Table using dictionary in this assignment.

https://github.com/edogdu/intro_to_python/blob/master/asg7_dictionary_symbol_table.ipynb

Your program should produce an output exactly like this:

> x = 1
> y = 2
> z = 3
> x
1
> list
x = 1
y = 2
z = 3
> y
2
> pi = 3.14
> list
x = 1
y = 2
z = 3
pi = 3.14
> t
No such symbol
> x =
Error
> x = 7
> list
x = 7
y = 2
z = 3
pi = 3.14
> quit

This is an assignment for a beginner level python course, so no complicated or expert level looking code. I just need the code you used to solve this.

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes