Commit 91937b73 authored by AVANZINI Martin's avatar AVANZINI Martin
Browse files

Merge branch 'new-solver' of gitlab.inria.fr:mavanzin/pwhile into new-solver

parents 266aa412 45c3cdeb
# variation of random walk
def bridge():
var a, b, n
while a < x and x < b:
tick 1
prob(1,1):
x = x - 1
else:
x = x + 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment