Skip to content
Sign upLog in
Profile icon

Riccardo Cataldi

@RiccardoCataldi
Repls
Community
RiccardoCataldi
RiccardoCataldi
published a Repl
8 months ago
1
Riccardo Cataldi and xKendT27 - Eternal Eye
Riccardo Cataldi and xKendT27 - Eternal EyeCreated mixing Hilbert and Koch curve
#pythonturtle
RiccardoCataldi
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
ResponsibleUnsungPerl
Python (with Turtle)
RiccardoCataldi
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
ResponsibleUnsungPerl
Python (with Turtle)
RiccardoCataldi
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
Dot Circle
Python (with Turtle)
RiccardoCataldi
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
Dot Circle
Python (with Turtle)
RiccardoCataldi
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)
SoggyWavyMosaic
Python (with Turtle)
RiccardoCataldi
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
MysteriousBlueDatum
Python (with Turtle)
RiccardoCataldi
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):
GlossyOptimalLava
Python (with Turtle)
RiccardoCataldi
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)
NeatIllfatedTypes
Python (with Turtle)
Jakman
Jakman
why did you import random man?2 years ago
oignons
oignons
Woah.2 years ago
ARJPEG
ARJPEG
Wow2 years ago
RiccardoCataldi
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)
FrozenWiseInstruction
Python (with Turtle)
RiccardoCataldi
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
FearlessBuzzingBinarytree
Python (with Turtle)
RiccardoCataldi
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.
FearlessBuzzingBinarytree
Python (with Turtle)
RiccardoCataldi
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
FuzzyDoubleMosaic
Python
RiccardoCataldi
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
EqualCavernousJavadocs
Python (with Turtle)
RiccardoCataldi
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):
HardtofindYellowRepository
Python (with Turtle)
RiccardoCataldi
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
ShimmeringGleefulTab
Python (with Turtle)
RiccardoCataldi
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
InterestingFluidAbandonware
Python (with Turtle)
RiccardoCataldi
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
CapitalMonumentalVisitor
Python (with Turtle)
NotTani
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