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


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