File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 8
8
< h1 > RustPython Demo</ h1 >
9
9
< p >
10
10
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
13
13
can open up your browser's devtools and play with
14
14
< code > rp.pyEval('print("a")')</ code >
15
15
</ p >
@@ -19,14 +19,13 @@ <h1>RustPython Demo</h1>
19
19
count = 0
20
20
until = 10
21
21
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))
23
23
24
24
while count < until:
25
25
print(n1)
26
26
n1, n2 = n2, n1 + n2
27
27
count + = 1
28
- </ textarea
29
- >
28
+ </ textarea >
30
29
< button id ="run-btn "> Run ▷</ button >
31
30
< div id ="error "> </ div >
32
31
< h3 > Standard Output</ h3 >
You can’t perform that action at this time.
0 commit comments