fbpx

Python Challenge #01

Challenge #01

  • Read challenges below
  • Code!
  • Submit Using One of these Options:
    • send a zip of the .py file to challenge@codinglab.jp
      Windows
      — right-click on the .py file
      — choose send-to->compressed file.
      Mac
      — right-click or ctrl-click the .py file
      — select compress file.
      NOTE: the email was incorrect before. If you emailed a submission to the wrong address, please email again to the new address.
    • share a repl.it project to @CodingLabJapan
    • github (coming soon)
ChallengePoints
1 — Sum the numbers from One to a Million
— Print the total
5
2 — Sum the even numbers from One to a Million
— Print the total
5
3 — Sum the multiples of 3 from One to a Million
For example, multiples of 3 are: 3, 6, 9, 12, …
— Print the total
4 — Sum the multiples of 3, 5, 7 from One to a Million
— Print the total
5
5 — Sum all the prefect squares less than or equal to one million.
For example, perfect square of 1 is 1, 2 is 4, 3 is 9, etc
— Print the result.
5
1) Create a math game! 1-25

Coding Lab Challenges