- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AINeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- ChallengesNew
- For TeachersNew
- For KidsNew
- Updates
A triangle has 3 sides. Each turn is 120 degrees. Make the sides 140.
🐍 Your Python code
🐢 Turtle commands
forward(100)move forward 100 stepsleft(90)turn left 90 degreesright(90)turn right 90 degreespenup()lift the pen (move without drawing)pendown()put the pen down againcolor("red")change the colourcircle(50)draw a circlefor i in range(4):repeat 4 times (indent the lines inside)def flower():make your own command