跳到主要内容

← 编程入门 — Python, Java, C, SQL & Web

Python 练习

1★ 到 5★ 的编程挑战。

python 108 课程

每节课均在浏览器中运行——编写真实代码,点击运行,任务自动检查。免费,无需账户,配有与英文对照的翻译笔记。

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

语言参考

/know/reference/python

登录或创建账户

IGCSE, A-Level & AP