I agree (or if I am under 13 my parent or guardian agrees on my behalf) to the terms and conditions of use and that: - My test statistics may be published on the site leaderboard against my username - My teacher(s) can review my test scores - I can receive feedback on my tests from my teacher(s)
Computer Science & Programming solved. All in one platform.
1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE. 2. Searching for something specific? See our text overview of all tests. Scroll right for levels, and lists.
One of the first things you need to learn before you delve deeper into Python is that INDENTATION matters. It actually means something. When you indent a block of code inside another, it suggests 'belonging'. The video explains further and teaches you a few basics that will be immensely helpful as a foundation.
Three things to remember:
1. Indentation matters.
2. Comments are not part of the program but are important - you can think of them as notes that a programmer will leave to improve the maintainability of the code (or as reminders to himself/herself or others of what the code does!)
#This is a comment - it starts with a hash!
3. Printing: This command is used to print something to the screen - one of the first things you will learn to do: