support nested if

This commit is contained in:
Pragyansh Chaturvedi
2025-09-11 01:37:50 +05:30
parent ef502bcc9f
commit 3dd3784ec4

View File

@ -31,11 +31,12 @@ def hello_again(ctx: c_void_p) -> c_int64:
# print("execve called within last second") # print("execve called within last second")
# last().delete(key) # last().delete(key)
x = True x = True
x = False y = False
if x: if x:
print("we prevailed") if y:
else: print("we prevailed")
print("we did not prevail") else:
print("we did not prevail")
ts = ktime() ts = ktime()
last().update(key, ts) last().update(key, ts)
keys = 2 keys = 2