Hi, coder!
Let's make something fun today!
Draw with a turtle, drive a robot, light an LED, build a circuit. Real code that runs right here, with nothing to install.
Your first win takes about a minute. Ready? 🚀
Quick wins: pick one!
ใหม่: 30 คืนแห่งการเขียนโค้ดคืนละ 10 นาที
Hello! I am still in my egg. Choose me on 30 Code Nights, and I will grow while you learn!
Your 30 nights0 / 30
งานวันนี้
Play and code
Pet World
Your pet walks the moves your Python prints. Real Python, no made-up commands.
Pet World (pseudocode)
Your pet walks the moves your pseudocode outputs. Real Cambridge 9618 pseudocode, no made-up commands.
Turtle Art
Draw shapes, stars, spirals and pictures with real Python turtle code.
Bug Hunts
Fix broken Python programs. Learn to read real error messages.
Bug Hunts (pseudocode)
Fix broken Cambridge 9618 pseudocode. Learn to read the error messages.
Arduino
Program a real Arduino Uno: LEDs, buttons, sensors, sound and a servo, and build the circuits on a breadboard, all in your browser.
Robot Challenges
Drive a robot with real VEXcode VR Python. Sensors, mazes, colour tiles, a pen and a magnet.
Circuit Builder
14 challenges and a free board
Physics Labs
Simulations from every physics course
พื้นฐาน
Python Basics
ก้าวแรกของคุณในการเขียนโปรแกรม — ไม่ต้องมีประสบการณ์มาก่อน.
JavaScript
ภาษาของเว็บ ทำให้เกิดเหตุการณ์ขึ้น — ทำงานได้ทันทีในบราว์เซอร์ของคุณ
การเขียนโปรแกรม C
ตั้งแต่ printf ไปจนถึงพอยเตอร์ เมมโมรี่ และโครงสร้างข้อมูล — เขียนในเบราว์เซอร์ของคุณและคอมไพล์พร้อมรันบนเซิร์ฟเวอร์ของเรา
พื้นฐานเว็บ — HTML & CSS
เริ่มต้นจากศูนย์ ขั้นตอนสั้นๆ สร้างหน้าเว็บจริง
หลักสูตรสอบ
Python สำหรับ IGCSE CS
การเขียนโปรแกรม, อัลกอริทึม, ฐานข้อมูล และตรรกะสำหรับ Cambridge IGCSE 0478
IGCSE CS Pseudocode
Write and run the pseudocode in the Cambridge IGCSE 0478 syllabus for 2026, 2027 and 2028.
Python for A-Level CS
Data structures, algorithms, and OOP for Cambridge 9618.
AS-level CS Pseudocode
Cambridge 9618 pseudocode, from basics to exam questions.
Python สำหรับ AP CS Principles
แนวคิดหลักของการคำนวณ — ข้อมูล อัลกอริทึม อินเทอร์เน็ต และผลกระทบ
Java สำหรับ AP CS A
การเขียนโปรแกรม Java สำหรับข้อสอบ AP Computer Science A
หัวข้อและเครื่องมือ
ฐานข้อมูล & SQL
Query, ออกแบบ, และแก้ไขฐานข้อมูลเชิงสัมพันธ์ — โดยตรงบนเบราว์เซอร์ของคุณ ไม่ต้องตั้งค่า anything
Linux & Command Line
ควบคุมคอมพิวเตอร์ด้วยการพิมพ์ ฝึกใช้ shell commands จริงใน terminal บนเบราว์เซอร์ที่ปลอดภัย
LaTeX
จัดหน้าเอกสารและคณิตศาสตร์ที่สวยงาม — เขียน LaTeX, Compile บนเซิร์ฟเวอร์ของเรา, ดู PDF
ความปลอดภัยไซเบอร์
วิธีการโจมตีและวิธีป้องกัน — ciphers, hashing, และการคำนวณที่ปลอดภัย, ลงมือทำจริง
ฝึกฝน
ฝึกเขียนโปรแกรมและ pseudocode แบบ Cambridge ด้วยโจทย์ท้าทายจาก 1★ ถึง 5★ เลือกเส้นทาง
ฝึกฝนไวยากรณ์เทียม (Pseudocode)
เลือกการสอบของคุณ: IGCSE 0478 หรือ AS 9618. การเขียนสัญลักษณ์ของแต่ละแบบแตกต่างกัน
Open the whole track →
Print a word
01 ★☆☆☆☆
Print another word
02 ★☆☆☆☆
Print a sentence
03 ★☆☆☆☆
Print with a !
04 ★☆☆☆☆
Print two lines
05 ★☆☆☆☆
Print three lines
06 ★☆☆☆☆
Print a number
07 ★☆☆☆☆
Print a bigger number
08 ★☆☆☆☆
Add two numbers
09 ★☆☆☆☆
Add bigger numbers
10 ★☆☆☆☆
Subtract
11 ★☆☆☆☆
Multiply
12 ★☆☆☆☆
Divide
13 ★☆☆☆☆
Remainder
14 ★☆☆☆☆
Use a variable
15 ★☆☆☆☆
A number variable
16 ★☆☆☆☆
Change a variable
17 ★☆☆☆☆
Add two variables
18 ★☆☆☆☆
Multiply two variables
19 ★☆☆☆☆
Join two words
20 ★☆☆☆☆
Greet a name
21 ★☆☆☆☆
Repeat text
22 ★☆☆☆☆
Ask for a name
23 ★☆☆☆☆
Echo a number
24 ★☆☆☆☆
Call a function
105 ★☆☆☆☆
Use what it gives back
106 ★☆☆☆☆
Finish the function
107 ★☆☆☆☆
Write one yourself
108 ★★☆☆☆
Your first function
25 ★☆☆☆☆
Is it positive?
26 ★☆☆☆☆
The bigger one
27 ★☆☆☆☆
The last item
28 ★☆☆☆☆
Is it even?
29 ★☆☆☆☆
Sum a list
30 ★☆☆☆☆
Reverse a string
31 ★★☆☆☆
Count the vowels
32 ★★☆☆☆
FizzBuzz
33 ★★★☆☆
Letter frequencies
34 ★★★☆☆
Remove duplicates
35 ★★★☆☆
Second largest
36 ★★★☆☆
Group anagrams
37 ★★★★☆
Flatten a nested list
38 ★★★★☆
RPN calculator
39 ★★★★★
Run-length encoding
40 ★★★★★
Count to ten
41 ★★☆☆☆
Even numbers
42 ★★☆☆☆
Liftoff
43 ★★☆☆☆
Star triangle
44 ★★☆☆☆
The 3 times table
45 ★★☆☆☆
Running total
46 ★★★☆☆
Largest without max
47 ★★★☆☆
Smallest without min
48 ★★★☆☆
Count the positives
49 ★★☆☆☆
Average of a list
50 ★★★☆☆
Add up 1 to 100
51 ★★☆☆☆
Upside-down triangle
52 ★★☆☆☆
FizzBuzz with 4 and 6
53 ★★★☆☆
Until you type stop
54 ★★★☆☆
A list of squares
55 ★★☆☆☆
Count a value
56 ★★☆☆☆
Keep the evens
57 ★★☆☆☆
Find the position
58 ★★★☆☆
Smallest and largest
59 ★★★☆☆
Above average
60 ★★★☆☆
Binary to denary
61 ★★★★☆
Denary to binary
62 ★★★★☆
Digital root
63 ★★★★☆
Caesar cipher
64 ★★★★☆
Bank account
65 ★★★★☆
Transpose a grid
66 ★★★★☆
Most common word
67 ★★★★★
Sieve of Eratosthenes
68 ★★★★★
A row of Pascal's triangle
69 ★★★★★
Tic-tac-toe winner
70 ★★★★★
Is it big?
71 ★☆☆☆☆
Pass or fail
72 ★☆☆☆☆
Positive, negative or zero
73 ★☆☆☆☆
The bigger number
74 ★☆☆☆☆
Even or odd
75 ★☆☆☆☆
Is it in range?
76 ★★☆☆☆
Free entry
77 ★★☆☆☆
Grade letter
78 ★★☆☆☆
Divisible by both
79 ★★☆☆☆
Ticket price
80 ★★☆☆☆
Finish the countdown
81 ★☆☆☆☆
The loop that never ends
82 ★☆☆☆☆
Count up to five
83 ★☆☆☆☆
Add up to five
84 ★☆☆☆☆
Double until it passes 100
85 ★★☆☆☆
Stop at the first over fifty
86 ★★☆☆☆
Count down in twos
87 ★★☆☆☆
Until they type stop
88 ★★☆☆☆
How many halvings?
89 ★★☆☆☆
A row of the times table
90 ★★☆☆☆
The first letter
91 ★☆☆☆☆
The last letter
92 ★☆☆☆☆
The first three letters
93 ★☆☆☆☆
How long is it?
94 ★☆☆☆☆
Shout it
95 ★☆☆☆☆
Initials
96 ★★☆☆☆
Ask for a name
97 ★☆☆☆☆
Ask for two things
98 ★☆☆☆☆
A number from input
99 ★☆☆☆☆
Add two numbers you were given
100 ★★☆☆☆
Each letter on its own line
101 ★☆☆☆☆
Zero to four
102 ★☆☆☆☆
Count the letters
103 ★☆☆☆☆
Add up one to five
104 ★☆☆☆☆
Open the whole track →
Print a word
01 ★☆☆☆☆
Print another word
02 ★☆☆☆☆
Print a sentence
03 ★☆☆☆☆
Print with a !
04 ★☆☆☆☆
Print two lines
05 ★☆☆☆☆
Print a number
06 ★☆☆☆☆
Add two numbers
07 ★☆☆☆☆
Subtract
08 ★☆☆☆☆
Multiply
09 ★☆☆☆☆
Divide
10 ★☆☆☆☆
Remainder
11 ★☆☆☆☆
A number variable
12 ★☆☆☆☆
A text variable
13 ★☆☆☆☆
Add two variables
14 ★☆☆☆☆
Your first method
15 ★☆☆☆☆
Is it positive?
16 ★☆☆☆☆
Cube a number
17 ★☆☆☆☆
The smaller one
18 ★☆☆☆☆
Square a number
19 ★☆☆☆☆
Largest of three
20 ★☆☆☆☆
Count the vowels
21 ★★☆☆☆
Reverse the word order
22 ★★☆☆☆
Palindrome check
23 ★★★☆☆
Running sum
24 ★★★☆☆
Most frequent character
25 ★★★☆☆
Binary search
26 ★★★☆☆
Factorial (mind the size)
27 ★★★★☆
Count primes below n
28 ★★★★☆
Roman numerals
29 ★★★★★
Longest common prefix
30 ★★★★★
Open the whole track →
Print a word
01 ★☆☆☆☆
Print another word
02 ★☆☆☆☆
Print a sentence
03 ★☆☆☆☆
Print with a !
04 ★☆☆☆☆
Print two lines
05 ★☆☆☆☆
Print three lines
06 ★☆☆☆☆
Print a number
07 ★☆☆☆☆
Add two numbers
08 ★☆☆☆☆
Subtract
09 ★☆☆☆☆
Multiply
10 ★☆☆☆☆
Remainder
11 ★☆☆☆☆
A number variable
12 ★☆☆☆☆
Add two variables
13 ★☆☆☆☆
Multiply two variables
14 ★☆☆☆☆
Your first function
15 ★☆☆☆☆
Is it positive?
16 ★☆☆☆☆
Cube a number
17 ★☆☆☆☆
The smaller one
18 ★☆☆☆☆
Square a number
19 ★☆☆☆☆
Sign of a number
20 ★☆☆☆☆
Largest of three
21 ★★☆☆☆
Factorial
22 ★★☆☆☆
Greatest common divisor
23 ★★☆☆☆
Count the 1-bits
24 ★★☆☆☆
Sum an array
25 ★★★☆☆
สลับสองค่า
26 ★★★☆☆
String length
27 ★★★☆☆
Count a character
28 ★★★☆☆
Reverse in place
29 ★★★★☆
Palindrome
30 ★★★★☆
bubble sort
31 ★★★★☆
Points with a struct
32 ★★★★☆
Binary search
33 ★★★★★
Parse an integer
34 ★★★★★
Open the whole track →
Temperature change
01 ★☆☆☆☆
สลับสองค่า
02 ★☆☆☆☆
Hours and minutes
03 ★☆☆☆☆
Delivery threshold
04 ★★☆☆☆
Largest of three readings
05 ★★☆☆☆
คำสั่งเมนู
06 ★★☆☆☆
Multiples up to a limit
07 ★★☆☆☆
นับคะแนนที่ผ่านเกณฑ์
08 ★★☆☆☆
ผลรวมแบบ Sentinel
09 ★★☆☆☆
ตรวจสอบความถูกต้องของเปอร์เซ็นต์
10 ★★☆☆☆
กลับหัวคำ
11 ★★★☆☆
Count a selected character
12 ★★★☆☆
Extract an identifier
13 ★★☆☆☆
Array average
14 ★★★☆☆
Greatest negative value
15 ★★★☆☆
ตำแหน่งตรงกันครั้งแรก
16 ★★★☆☆
Order the readings
17 ★★★★☆
Row totals
18 ★★★☆☆
ขั้นตอนการแสดงผลที่ใช้ซ้ำได้
19 ★★★☆☆
จำกัดค่าให้อยู่ในช่วง
20 ★★★☆☆
นับบรรทัดในไฟล์ข้อความ
21 ★★★☆☆
Validate a four-digit PIN
22 ★★★★☆
Trace an accumulator
23 ★★☆☆☆
Trace a halving loop
24 ★★★☆☆
Trace nested loops
25 ★★★☆☆
Repair the last-item bug
26 ★★★☆☆
Choose boundary tests
27 ★★☆☆☆
Ticket booking total
28 ★★★★☆
รายงานคะแนนทีม
29 ★★★★☆
Stock-order processing
30 ★★★★★
Open the whole track →
Temperature change
01 ★☆☆☆☆
สลับสองค่า
02 ★☆☆☆☆
Hours and minutes
03 ★☆☆☆☆
Delivery threshold
04 ★★☆☆☆
Largest of three readings
05 ★★☆☆☆
คำสั่งเมนู
06 ★★☆☆☆
Multiples up to a limit
07 ★★☆☆☆
นับคะแนนที่ผ่านเกณฑ์
08 ★★☆☆☆
ผลรวมแบบ Sentinel
09 ★★☆☆☆
ตรวจสอบความถูกต้องของเปอร์เซ็นต์
10 ★★☆☆☆
กลับหัวคำ
11 ★★★☆☆
Count a selected character
12 ★★★☆☆
Extract an identifier
13 ★★☆☆☆
Array average
14 ★★★☆☆
Greatest negative value
15 ★★★☆☆
ตำแหน่งตรงกันครั้งแรก
16 ★★★☆☆
Order the readings
17 ★★★★☆
Row totals
18 ★★★☆☆
ขั้นตอนการแสดงผลที่ใช้ซ้ำได้
19 ★★★☆☆
จำกัดค่าให้อยู่ในช่วง
20 ★★★☆☆
นับบรรทัดในไฟล์ข้อความ
21 ★★★☆☆
เรคอร์ด: คะแนนสูงสุด
22 ★★★★☆
Trace an accumulator
23 ★★☆☆☆
Trace a halving loop
24 ★★★☆☆
Trace nested loops
25 ★★★☆☆
Repair the last-item bug
26 ★★★☆☆
Choose boundary tests
27 ★★☆☆☆
Ticket booking total
28 ★★★★☆
รายงานคะแนนทีม
29 ★★★★☆
Stock-order processing
30 ★★★★★