Skip to content
Sign upLog in
Profile icon

# Riccardo Cataldi

@RiccardoCataldi
published a Repl
8 months ago
1
Riccardo Cataldi and xKendT27 - Eternal EyeCreated mixing Hilbert and Koch curve
RiccardoCataldi
shared a Post
2 years ago
1
import turtle def fibonacci(n): if n == 1: return 1 if n == 2: return 2 elif n > 2: return fibonacci(n-1) + fibonacci(n-2) def squ
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle def fibonacci(n): if n == 1: return 1 if n == 2: return 2 elif n > 2: return fibonacci(n-1) + fibonacci(n-2) def squ
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle state_t = 0 input_sequence = range(1000) def f(x, y): return x + y tess = turtle.Turtle() tess.speed(10) for inputt in inputsequenc
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle state_t = 0 input_sequence = range(1000) def f(x, y): return x + y tess = turtle.Turtle() tess.speed(0) for inputt in inputsequence
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle tess = turtle.Turtle() tess.speed(0) r = 2 x = 2 b = rx(1-x)-1 b = x def square(t,side): for i in range(4): t.forward(side)
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle tess = turtle.Turtle() tess.speed(0) tess.pensize(0.2) def square(t,side): for i in range(4): t.forward(side) t.left(90) a
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle import random tess = turtle.Turtle() tess.speed(0) def circle(t,rad): t.circle(rad) def triangle(t,side): for i in range(3):
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
4
import turtle import random tess = turtle.Turtle() tess.speed(0) tess.hideturtle() for i in range(10000): tess.forward(i) tess.left(137.30)
Python (with Turtle)
Jakman
why did you import random man?2 years ago
oignons
Woah.2 years ago
ARJPEG
Wow2 years ago
RiccardoCataldi
shared a Post
2 years ago
1
import turtle tess = turtle.Turtle() background = turtle.Screen() background.bgcolor("white") tess.speed(0) tess.pencolor('black') tess.pensize(0.05)
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle tess = turtle.Turtle() tess.speed(0) tess.pencolor('white') wn = turtle.Screen() wn.bgcolor('black') def square(t,side): for num i
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle tess = turtle.Turtle() tess.speed(0) tess.pencolor('green') wn = turtle.Screen() wn.bgcolor('black') a = 0 b = 0 tess.penup() tess.
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
stopwords = ['to', 'a', 'for', 'by', 'an', 'am', 'the', 'so', 'it', 'and', "The"] org = "The organization for health, safety, and education" a = org.s
Python
RiccardoCataldi
shared a Post
2 years ago
1
import turtle tess = turtle.Turtle() tess.speed(0) def sumTo(aBound,t): """ Return the sum of 1+2+3 ... n """ theSum = 0 aNumber = 1
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle tess = turtle.Turtle() tess.speed(0) def square(t,le): for num in range(4): t.forward(le) t.left(90) def circle(t,rad):
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle tess = turtle.Turtle() tess.speed(0) wn = turtle.Screen() wn.bgcolor("black") angle_list = [2,4,6,8,5,6,7,8,9,10] accum = 0 for w in
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle ninja = turtle.Turtle() ninja.speed(0) ninja.shape("circle") ninja.pensize(0.1) for i in range(180): ninja.forward(100) ninja.r
Python (with Turtle)
RiccardoCataldi
shared a Post
2 years ago
1
import turtle jim = turtle.Turtle() jim.pencolor("green") wn=turtle.Screen() wn.bgcolor("black") jim.speed(0) jim.pensize(2) nums = [2,4,6,8,10,2,4,6
Python (with Turtle)
NotTani
Cool design! You can use the sum() function on your nums array instead of your accum loop. Just replace lines 11-13 with accum = sum(nums).2 years ago