Skip to content

Commit ce36919

Browse files
Merge pull request RustPython#255 from adamchainz/patch-1
Update example
2 parents cab2e0d + 32a58f8 commit ce36919

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

wasm/demo/src/index.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<h1>RustPython Demo</h1>
99
<p>
1010
RustPython is a Python interpreter writter in Rust. This demo is
11-
compiled from Rust to WebAssembly so it runs in the browser. <br />
12-
Please input your python code below and click <kbd>Run</kbd>, or you
11+
compiled from Rust to WebAssembly so it runs in the browser.<br>
12+
Please input your Python code below and click <kbd>Run</kbd>, or you
1313
can open up your browser's devtools and play with
1414
<code>rp.pyEval('print("a")')</code>
1515
</p>
@@ -19,14 +19,13 @@ <h1>RustPython Demo</h1>
1919
count = 0
2020
until = 10
2121

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

2424
while count < until:
2525
print(n1)
2626
n1, n2 = n2, n1 + n2
2727
count += 1
28-
</textarea
29-
>
28+
</textarea>
3029
<button id="run-btn">Run &#9655;</button>
3130
<div id="error"></div>
3231
<h3>Standard Output</h3>

0 commit comments

Comments
 (0)