negative factors like -1 are now evaluated

This commit is contained in:
Dave Halter
2014-04-04 15:07:45 +02:00
parent a6fbcde184
commit 09854ae6ca
2 changed files with 27 additions and 11 deletions

View File

@@ -18,6 +18,8 @@ index = 0 + 1
#? str()
x[index]
#? int()
x[1 + (-1)]
def calculate(number):
return number + constant