← เรียนรู้การเขียนโค้ด — Python, Java, C, SQL & Web
ฝึกฝน Python
Coding challenges from 1★ to 5★.
Python 108 บทเรียน
ทุกบทเรียนทำงานบนเบราว์เซอร์ของคุณ — เขียนโค้ดจริง กด Run และงานจะตรวจสอบตัวเองอัตโนมัติ ฟรี ไม่ต้องสมัครบัญชี พร้อมบันทึกคำแปลคู่กับภาษาอังกฤษ
บนอุปกรณ์นี้: สำเร็จ 0 จาก 108 บทเรียน
บทเรียนในหลักสูตรนี้
แสดง 108 จาก 108 บทเรียน
ไม่พบบทเรียนที่ตรงกับการค้นหา ล้างการค้นหาคืนหรือเลือกตัวกรองอื่น
- 01 Print a word งานที่ต้องทำ 1 รายการ · ★
- 02 Print another word งานที่ต้องทำ 1 รายการ · ★
- 03 Print a sentence งานที่ต้องทำ 1 รายการ · ★
- 04 Print with a ! งานที่ต้องทำ 1 รายการ · ★
- 05 Print two lines งานที่ต้องทำ 1 รายการ · ★
- 06 Print three lines งานที่ต้องทำ 1 รายการ · ★
- 07 Print a number งานที่ต้องทำ 1 รายการ · ★
- 08 Print a bigger number งานที่ต้องทำ 1 รายการ · ★
-
09
Add two numbers
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Numbers & operators
-
10
Add bigger numbers
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Numbers & operators
-
11
Subtract
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Numbers & operators
-
12
Multiply
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Numbers & operators
-
13
Divide
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Numbers & operators
-
14
Remainder
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Numbers & operators
-
15
Use a variable
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Variables
-
16
A number variable
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Variables
-
17
Change a variable
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Variables
-
18
Add two variables
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Variables
-
19
Multiply two variables
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Variables
-
20
Join two words
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Working with strings
-
21
Greet a name
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Working with strings
-
22
Repeat text
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Working with strings
-
23
Ask for a name
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Getting input
-
24
Echo a number
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Getting input
-
105
Call a function
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Functions
-
106
Use what it gives back
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Functions
-
107
Finish the function
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Functions
-
108
Write one yourself
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Functions
-
25
Your first function
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Functions
-
26
Is it positive?
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Functions
-
27
The bigger one
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Functions
-
28
The last item
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Functions
-
29
Is it even?
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Functions
-
30
Sum a list
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Functions
-
31
Reverse a string
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Functions
-
32
Count the vowels
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Functions
-
33
FizzBuzz
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Functions
-
34
Letter frequencies
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Dictionaries (records)
-
35
Remove duplicates
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Functions
-
36
Second largest
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Functions
-
37
Group anagrams
งานที่ต้องทำ 1 รายการ
· ★★★★
ต่อยอดจาก: Python Basics · Dictionaries (records)
-
38
Flatten a nested list
งานที่ต้องทำ 1 รายการ
· ★★★★
ต่อยอดจาก: Python Basics · Functions
-
39
RPN calculator
งานที่ต้องทำ 1 รายการ
· ★★★★★
ต่อยอดจาก: Python Basics · Functions
-
40
Run-length encoding
งานที่ต้องทำ 1 รายการ
· ★★★★★
ต่อยอดจาก: Python Basics · Functions
-
41
Count to ten
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Counting loops
-
42
Even numbers
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Counting loops
-
43
Liftoff
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · While loops
-
44
Star triangle
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Counting loops
-
45
The 3 times table
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Counting loops
-
46
Running total
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Lists (1-D arrays)
-
47
Largest without max
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Functions
-
48
Smallest without min
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Functions
-
49
Count the positives
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Functions
-
50
Average of a list
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Functions
-
51
Add up 1 to 100
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Counting loops
-
52
Upside-down triangle
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Counting loops
-
53
FizzBuzz with 4 and 6
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Counting loops
-
54
Until you type stop
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · While loops
-
55
A list of squares
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Lists (1-D arrays)
-
56
Count a value
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Functions
-
57
Keep the evens
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Functions
-
58
Find the position
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Functions
-
59
Smallest and largest
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Functions
-
60
Above average
งานที่ต้องทำ 1 รายการ
· ★★★
ต่อยอดจาก: Python Basics · Functions
-
61
Binary to denary
งานที่ต้องทำ 1 รายการ
· ★★★★
ต่อยอดจาก: Python Basics · Functions
-
62
Denary to binary
งานที่ต้องทำ 1 รายการ
· ★★★★
ต่อยอดจาก: Python Basics · Functions
-
63
Digital root
งานที่ต้องทำ 1 รายการ
· ★★★★
ต่อยอดจาก: Python Basics · Functions
-
64
Caesar cipher
งานที่ต้องทำ 1 รายการ
· ★★★★
ต่อยอดจาก: Python Basics · Functions
-
65
Bank account
งานที่ต้องทำ 1 รายการ
· ★★★★
ต่อยอดจาก: Python Basics · Functions
-
66
Transpose a grid
งานที่ต้องทำ 1 รายการ
· ★★★★
ต่อยอดจาก: Python Basics · Functions
-
67
Most common word
งานที่ต้องทำ 1 รายการ
· ★★★★★
ต่อยอดจาก: Python Basics · Dictionaries (records)
-
68
Sieve of Eratosthenes
งานที่ต้องทำ 1 รายการ
· ★★★★★
ต่อยอดจาก: Python Basics · Functions
-
69
A row of Pascal's triangle
งานที่ต้องทำ 1 รายการ
· ★★★★★
ต่อยอดจาก: Python Basics · Functions
-
70
Tic-tac-toe winner
งานที่ต้องทำ 1 รายการ
· ★★★★★
ต่อยอดจาก: Python Basics · Functions
-
71
Is it big?
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Making decisions
-
72
Pass or fail
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Making decisions
-
73
Positive, negative or zero
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Making decisions
-
74
The bigger number
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Making decisions
-
75
Even or odd
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Making decisions
-
76
Is it in range?
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Making decisions
-
77
Free entry
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Making decisions
-
78
Grade letter
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Making decisions
-
79
Divisible by both
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Making decisions
-
80
Ticket price
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Making decisions
-
81
Finish the countdown
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Counting loops
-
82
The loop that never ends
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · While loops
-
83
Count up to five
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · While loops
-
84
Add up to five
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · While loops
-
85
Double until it passes 100
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · While loops
-
86
Stop at the first over fifty
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · While loops
-
87
Count down in twos
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · While loops
-
88
Until they type stop
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · While loops
-
89
How many halvings?
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · While loops
-
90
A row of the times table
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · While loops
-
91
The first letter
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Working with strings
-
92
The last letter
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Working with strings
-
93
The first three letters
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Working with strings
-
94
How long is it?
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Working with strings
-
95
Shout it
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Working with strings
-
96
Initials
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Working with strings
-
97
Ask for a name
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Getting input
-
98
Ask for two things
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Getting input
-
99
A number from input
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Getting input
-
100
Add two numbers you were given
งานที่ต้องทำ 1 รายการ
· ★★
ต่อยอดจาก: Python Basics · Getting input
-
101
Each letter on its own line
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Counting loops
-
102
Zero to four
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Counting loops
-
103
Count the letters
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Counting loops
-
104
Add up one to five
งานที่ต้องทำ 1 รายการ
· ★
ต่อยอดจาก: Python Basics · Counting loops