4848</ head >
4949
5050< body >
51+ < center >
5152
52- < div id ="titlePane ">
53+ < div class ="titlePane ">
5354
5455< h1 > Online Python Tutor</ h1 >
55-
56- < img src ="alias-screenshot.png "/>
57-
58- < pre >
59- x = ["Alice", "Bob", "Charlie"]
60- y = x
61- z = ["Alice", "Bob", "Charlie"]
62- </ pre >
56+ < h2 > Learn and practice Python programming from your web browser</ h2 >
6357
6458</ div >
6559
@@ -71,6 +65,19 @@ <h2>Python by writing code and visualizing execution</h2>
7165< p > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
7266eiusmod tempor incididunt ut labore et dolore magna aliqua. </ p >
7367
68+ < pre >
69+ x = ["Alice", "Bob", "Charlie"]
70+ y = x
71+ z = ["Alice", "Bob", "Charlie"]
72+ </ pre >
73+
74+ < p > will be visualized as the following diagram, which properly shows
75+ aliasing:</ p >
76+
77+ < center >
78+ < img src ="alias-screenshot.png "/>
79+ </ center >
80+
7481</ div >
7582
7683< div class ="activityPane " id ="solvePane ">
@@ -81,6 +88,17 @@ <h2>programming problems by writing Python code</h2>
8188< p > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
8289eiusmod tempor incididunt ut labore et dolore magna aliqua. </ p >
8390
91+ < ul >
92+
93+ < li > < a href ="question.html?two-sum "> Two-sum</ a > </ li >
94+ < li > < a href ="question.html?reverse "> Reverse list</ a > </ li >
95+ < li > < a href ="question.html?remove-dups "> Remove duplicate characters</ a > </ li >
96+
97+ </ ul >
98+
99+ < p > Questions are specified in a simple textual format, e.g.,: < a
100+ href ="questions/reverse.txt "> reverse.txt</ a > .</ p >
101+
84102</ div >
85103
86104< div class ="activityPane " id ="debugPane ">
@@ -91,27 +109,54 @@ <h2>existing programs that almost work properly</h2>
91109< p > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
92110eiusmod tempor incididunt ut labore et dolore magna aliqua. </ p >
93111
112+ < ul >
113+
114+ < li > < a href ="question.html?debug-ireverse "> In-place reverse</ a > </ li >
115+ < li > < a href ="question.html?debug-bsearch "> Binary search</ a > </ li >
116+ < li > < a href ="question.html?debug-mergesort "> Mergesort</ a > </ li >
117+
118+ </ ul >
119+
94120</ div >
95121
96- < div class ="activityPane " id ="debugPane ">
122+ < div class ="activityPane " id ="optimizePane ">
97123
98124< h1 > Optimize</ h1 >
99125< h2 > existing programs to run using fewer instructions</ h2 >
100126
101127< p > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
102128eiusmod tempor incididunt ut labore et dolore magna aliqua. </ p >
103129
130+ < ul >
131+
132+ < li > < a href ="question.html?optimize-sum "> Greatest sum</ a > </ li >
133+ < li > < a href ="question.html?optimize-find-dups "> Find duplicates</ a > </ li >
134+ < li > < a href ="question.html?optimize-search "> List search</ a > </ li >
135+
136+ </ ul >
137+
104138</ div >
105139
106- <!-- TODOs
140+ < div id =" footer " >
107141
108- Include links to original source files of questions for more detailed
109- info.
142+ < p > This application was created by < a
143+ href ="http://www.stanford.edu/~pgbovine/academic.htm "> Philip Guo</ a > , a
144+ Stanford Computer Science Ph.D. student and Python enthusiast.</ p >
110145
111- Also include links to my contact info and GitHub pages.
146+ < p >
147+ Check out its < a
148+ href ="https://github.com/pgbovine/OnlinePythonTutor/ "> GitHub
149+ repository</ a > and send all bug reports, feedback, and suggestions to
150+ philip@pgbovine.net
151+ </ p >
112152
113- -->
153+ < p >
154+ Copyright © 2010-2011 < a href ="http://www.stanford.edu/~pgbovine/ "> Philip J. Guo</ a > . All rights reserved.
155+ </ p >
156+
157+ </ div >
114158
159+ </ center >
115160</ body >
116161</ html >
117162
0 commit comments