Skip to content

Commit 7d314ed

Browse files
committed
woohoo
1 parent d06e084 commit 7d314ed

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

‎v3/frontend-tests.html‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
4+
<head>
5+
<title>Online Python Tutor - test all frontends</title>
6+
</head>
7+
8+
<body>
9+
10+
<!-- use '//' to let the browser choose http or https as appropriate -->
11+
12+
<p>iframe-embed.html:</p>
13+
14+
<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>
15+
16+
<p/>
17+
18+
<p>visualize.html:</p>
19+
20+
<iframe width="1200" height="800" frameborder="0"
21+
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>
22+
23+
<p>composingprograms.html:</p>
24+
25+
<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>
26+
27+
<p>csc108h.html:</p>
28+
29+
<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>
30+
31+
<p>csc108h_shared.html:</p>
32+
33+
<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>
34+
35+
<p>Office Mix</p>
36+
37+
<iframe width="1200" height="600" frameborder="0" src="https://mix.office.com/watch/1le6npbjxtkil"> </iframe>
38+
39+
</body>
40+
</html>

0 commit comments

Comments
 (0)