Commit 420f695f authored by Ahmad Reza Cheraghi's avatar Ahmad Reza Cheraghi
Browse files

Update random_walk.py

parent 84d27967
......@@ -3,7 +3,5 @@ import random
from solution.std_lib import *
def solution(world):
if world.get_actual_round() % 1 == 0:
for particle in world.get_particle_list():
particle.move_to(random.choice(direction))
\ No newline at end of file
for particle in world.get_particle_list():
particle.move_to(random.choice(direction))
\ No newline at end of file
Markdown is supported
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