Skip to content

Commit ab23f2c

Browse files
committed
Use str.format for the demo
1 parent 840c507 commit ab23f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wasm/demo/src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h1>RustPython Demo</h1>
1919
count = 0
2020
until = 10
2121

22-
print("These are the first " + str(until) + " number in a Fibonacci sequence:")
22+
print("These are the first {} numbers in a Fibonacci sequence:".format(until))
2323

2424
while count < until:
2525
print(n1)

0 commit comments

Comments
 (0)