/
python-prod.html
47 lines (43 loc) · 1 KB
/
python-prod.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>KLIPSE: a simple and elegant online cljs compiler and evaluator</title>
<link rel='shortcut icon' type='image/x-icon' href='img/klipse.png' />
<link rel="stylesheet" type="text/css" href="css/codemirror.css">
</head>
<body>
<pre>
<code class="eval-python">
print(2+3)
</code>
</pre>
<br/>
<pre>
<code class="eval-python">
def factorial(n):
if n == 0:
return 1
else:
return n * factorial(n - 1)
print(factorial(5))
</code>
</pre>
<br/>
<pre>
<code class="eval-python">
print(factorial(6))
print(factorial(3))
</code>
</pre>
</br>
<script>
window.klipse_settings = {
eval_idle_msec: 200000,
selector_eval_python: '.eval-python'
};
</script>
<script src="https://repl.it/lib/api.js" type="text/javascript" charset="utf-8"></script>
<script src="plugin_prod/js/klipse_plugin.min.js"></script>
</body>
</html>