SHARE
TWEET

Untitled

a guest Mar 24th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "Module(body=[Assign(targets=[Name(id='a', ctx=Store())], value=Num(n=10)), Assign(targets=[Name(id='b', ctx=Store())], value=Num(n=0)), While(test=Compare(left=Name(id='a', ctx=Load()), ops=[Gt()], comparators=[Num(n=0)]), body=[AugAssign(target=Name(id='b', ctx=Store()), op=Add(), value=Num(n=1)), If(test=Compare(left=BinOp(left=Name(id='a', ctx=Load()), op=Mod(), right=Num(n=2)), ops=[Eq()], comparators=[Num(n=0)]), body=[AugAssign(target=Name(id='a', ctx=Store()), op=Sub(), value=Name(id='b', ctx=Load()))], orelse=[AugAssign(target=Name(id='a', ctx=Store()), op=Sub(), value=BinOp(left=Name(id='b', ctx=Load()), op=Add(), right=Num(n=1)))])], orelse=[]), Print(dest=None, values=[Name(id='b', ctx=Load())], nl=True)])"
RAW Paste Data
Top