// code editor
Python, C++ and C#, running right in your browser. Free, no sign-up.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 # Draw the HopeCoders logo with Python's turtle. # Press Run and watch it draw. Then change a color or a size and run it again! import turtle screen = turtle.Screen() screen.bgcolor("#1b1c20") pen = turtle.Turtle() pen.shape("turtle") pen.color("#e03a3a") pen.pensize(8) pen.speed(3) def jump(x, y): """Move without drawing.""" pen.penup() pen.goto(x, y) pen.pendown() # 1. the red frame: four straight sides with round corners jump(-170, -200) pen.setheading(0) for side in range(4): pen.forward(340) pen.circle(30, 90) # 2. the face: ( ^_^ ) pen.color("white") pen.pensize(10) jump(-122, 97) # ( pen.setheading(235) pen.circle(100, 70) jump(122, 97) # ) pen.setheading(305) pen.circle(-100, 70) for x in [-55, 55]: # ^ ^ jump(x - 20, 30) pen.goto(x, 75) pen.goto(x + 20, 30) jump(-22, -5) # _ pen.goto(22, -5) # 3. the name, with "Hope" in red font = ("Courier", 28, "bold") pen.penup() pen.goto(-126, -120) pen.color("white") pen.write("{", move=True, font=font) pen.color("#e03a3a") pen.write('"Hope"', move=True, font=font) pen.color("white") pen.write(" Coders}", move=True, font=font) pen.hideturtle()
consolectrl+enter runs it
$ press run to start your program
the first run downloads Python (6 MB), then your browser keeps it