mirror of
https://github.com/wassname/ray.git
synced 2026-09-10 12:38:43 +08:00
Start working toward Python3 compatibility. (#117)
This commit is contained in:
committed by
Philipp Moritz
parent
3d083c8b58
commit
ddba1df802
@@ -190,5 +190,5 @@ for iteration in range(NUM_ITERS):
|
||||
# Print the current weights. They should converge to roughly to the values 0.1
|
||||
# and 0.3 used in generate_fake_x_y_data.
|
||||
if iteration % 20 == 0:
|
||||
print "Iteration {}: weights are {}".format(iteration, weights)
|
||||
print("Iteration {}: weights are {}".format(iteration, weights))
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user