filmov
tv
Learn Functions with Turtle Module

Показать описание
This tutorial is for my CIT 144 Class.
In this tutorial I will be showing you how to use functions. This is a Python basesd tutorial. I will also be demonstrating the absolute basics of the turtle module.
I am using Python 3.9.
Download for Python
My code
import turtle
def intro():
print("Hello")
print("Hows your day?")
def square():
sq = turtle.Turtle()
def triangle():
tri = turtle.Turtle()
triangle()
square()
In this tutorial I will be showing you how to use functions. This is a Python basesd tutorial. I will also be demonstrating the absolute basics of the turtle module.
I am using Python 3.9.
Download for Python
My code
import turtle
def intro():
print("Hello")
print("Hows your day?")
def square():
sq = turtle.Turtle()
def triangle():
tri = turtle.Turtle()
triangle()
square()