Example Program
Quick Docs
# Graphing an equation
for x in range(100):
y = 2 * x + 5
setposition(x, y)
Font Size
14
Parentheses autocomplete
Wrap lines
Editor
Theme
Code with blocks by default
Console Font Size
12
Console Theme
Show File Tab Bar
3 Linear Graph
main.py
1
2
"""
This portion of the program sets up the graph axes.
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output
Docs
Example
More
History
Video
Download
About
This student is viewing this assignment in English. View this page in English?
1 point
This program graphs the equation y = x / 4
.
Try changing the equation, and see how the graph changes! Note that your slope should always have a decimal value.
Reset Code
Upload an image
Upload from your computer
Or paste a link here
Slides and Notes
About
Python (turtle)
Skulpt 1.0.0, Python 2.x