Difference between revisions of "IB Computer Science 1"

From WLCS
Line 1: Line 1:
== Thursday - Friday (10/10/13 - 10/11/13)
+
== Thursday - Friday (10/10/13 - 10/11/13) ==
 
* Add turtle graphics to your [[Monte Carlo Calculation of Pi]]
 
* Add turtle graphics to your [[Monte Carlo Calculation of Pi]]
 
* Work on [[Turtle - Graphing Calculator]]
 
* Work on [[Turtle - Graphing Calculator]]

Revision as of 13:31, 10 October 2013

Thursday - Friday (10/10/13 - 10/11/13)

Friday - Wednesday (10/4/13 - 10/9/13)

Warmup:

  • Execute the code below
  • When prompted, use 100 for x and 200 for y
  • What does each line do? Analyze!
from turtle import *

setup(200, 400)
screensize(200, 400)
x = numinput("X prompt", "Please enter an x")
y = numinput("Y prompt", "Please enter a y")
goto(x,y)
exitonclick()

Agenda:

Wednesday - Thursday (10/2/13 - 10/3/13)

Agenda:

Tuesday (10/1/13)

Archives