forked from diogo55/OnlinePythonTutor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frontend-tests.html
40 lines (23 loc) · 3.44 KB
/
frontend-tests.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Online Python Tutor - test all frontends</title>
</head>
<body>
<!-- use '//' to let the browser choose http or https as appropriate -->
<p>iframe-embed.html:</p>
<iframe width="1200" height="500" frameborder="0" src="//pythontutor.com/iframe-embed.html#code=%23+Example+to+torture+students%0A%23+from+UC+Berkeley+CS61a%0A%23+(only+works+in+Python+3)%0A%0Adef+f(t)%3A%0A++++def+g(t)%3A%0A++++++++def+h()%3A%0A++++++++++++nonlocal+t%0A++++++++++++t+%2B%3D+1%0A++++++++return+h,+lambda%3A+t%0A++++h,+gt+%3D+g(0)%0A++++return+h,+gt,+lambda%3A+t%0A%0Ah,+gt,+ft+%3D+f(0)%0Aft(),+gt()%0Ah()%0Aft(),+gt()&cumulative=true&py=3&curInstr=11"> </iframe>
<p/>
<p>visualize.html:</p>
<iframe width="1200" height="800" frameborder="0"
src="//www.pythontutor.com/visualize.html#code=%23+Example+to+torture+students%0A%23+from+UC+Berkeley+CS61a%0A%23+(only+works+in+Python+3%29%0A%0Adef+f(t%29%3A%0A++++def+g(t%29%3A%0A++++++++def+h(%29%3A%0A++++++++++++nonlocal+t%0A++++++++++++t+%2B%3D+1%0A++++++++return+h,+lambda%3A+t%0A++++h,+gt+%3D+g(0%29%0A++++return+h,+gt,+lambda%3A+t%0A%0Ah,+gt,+ft+%3D+f(0%29%0Aft(%29,+gt(%29%0Ah(%29%0Aft(%29,+gt(%29&mode=display&origin=opt-frontend.js&cumulative=true&heapPrimitives=false&textReferences=false&py=3&rawInputLstJSON=%5B%5D&curInstr=11"> </iframe>
<p>composingprograms.html:</p>
<iframe width="1200" height="600" frameborder="0" src="//www.pythontutor.com/composingprograms.html#code=%23+Example+to+torture+students%0A%23+from+UC+Berkeley+CS61a%0A%23+(only+works+in+Python+3%29%0A%0Adef+f(t%29%3A%0A++++def+g(t%29%3A%0A++++++++def+h(%29%3A%0A++++++++++++nonlocal+t%0A++++++++++++t+%2B%3D+1%0A++++++++return+h,+lambda%3A+t%0A++++h,+gt+%3D+g(0%29%0A++++return+h,+gt,+lambda%3A+t%0A%0Ah,+gt,+ft+%3D+f(0%29%0Aft(%29,+gt(%29%0Ah(%29%0Aft(%29,+gt(%29&mode=display&origin=opt-frontend.js&cumulative=true&heapPrimitives=false&textReferences=false&py=3&rawInputLstJSON=%5B%5D&curInstr=11"> </iframe>
<p>csc108h.html:</p>
<iframe width="1200" height="600" frameborder="0" src="//www.pythontutor.com/csc108h.html#code=%23+Example+to+torture+students%0A%23+from+UC+Berkeley+CS61a%0A%23+(only+works+in+Python+3%29%0A%0Adef+f(t%29%3A%0A++++def+g(t%29%3A%0A++++++++def+h(%29%3A%0A++++++++++++nonlocal+t%0A++++++++++++t+%2B%3D+1%0A++++++++return+h,+lambda%3A+t%0A++++h,+gt+%3D+g(0%29%0A++++return+h,+gt,+lambda%3A+t%0A%0Ah,+gt,+ft+%3D+f(0%29%0Aft(%29,+gt(%29%0Ah(%29%0Aft(%29,+gt(%29&mode=display&origin=opt-frontend.js&cumulative=true&heapPrimitives=false&textReferences=false&py=3&rawInputLstJSON=%5B%5D&curInstr=11"> </iframe>
<p>csc108h_shared.html:</p>
<iframe width="1200" height="600" frameborder="0" src="//www.pythontutor.com/csc108h_shared.html#code=%23+Example+to+torture+students%0A%23+from+UC+Berkeley+CS61a%0A%23+(only+works+in+Python+3%29%0A%0Adef+f(t%29%3A%0A++++def+g(t%29%3A%0A++++++++def+h(%29%3A%0A++++++++++++nonlocal+t%0A++++++++++++t+%2B%3D+1%0A++++++++return+h,+lambda%3A+t%0A++++h,+gt+%3D+g(0%29%0A++++return+h,+gt,+lambda%3A+t%0A%0Ah,+gt,+ft+%3D+f(0%29%0Aft(%29,+gt(%29%0Ah(%29%0Aft(%29,+gt(%29&mode=display&origin=opt-frontend.js&cumulative=true&heapPrimitives=false&textReferences=false&py=3&rawInputLstJSON=%5B%5D&curInstr=11"> </iframe>
<p>Office Mix</p>
<iframe width="1200" height="600" frameborder="0" src="https://mix.office.com/watch/1le6npbjxtkil"> </iframe>
</body>
</html>