interpreter/test2

18 lines
225 B
Plaintext
Raw Normal View History

2018-03-21 12:29:09 -04:00
# test2
# variable and function tests
# show variable recognition and proper c-function handling
print(a * 1)
print(3 + b)
2018-03-21 12:29:09 -04:00
print(a = 5)
print(a * 1)
2018-03-21 12:29:09 -04:00
print(c = 4)
print(a / c)
2018-03-21 12:29:09 -04:00
print(b = 2)
print(d = 8)
2018-03-21 12:29:09 -04:00
print(d + (e = 4))