ข้ามไปยังเนื้อหา

← เรียนรู้การเขียนโค้ด — Python, Java, C, SQL & Web

ฝึกฝน Python

Coding challenges from 1★ to 5★.

Python 108 บทเรียน

ทุกบทเรียนทำงานบนเบราว์เซอร์ของคุณ — เขียนโค้ดจริง กด Run และงานจะตรวจสอบตัวเองอัตโนมัติ ฟรี ไม่ต้องสมัครบัญชี พร้อมบันทึกคำแปลคู่กับภาษาอังกฤษ

บนอุปกรณ์นี้: สำเร็จ 0 จาก 108 บทเรียน

เริ่มหลักสูตร

บทเรียนในหลักสูตรนี้

แสดง 108 จาก 108 บทเรียน

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

อ้างอิงภาษา

/know/reference/python

เข้าสู่ระบบหรือสร้างบัญชี

IGCSE, A-Level & AP