Quiz
Python Basics Quiz
How well do you know the basics of Python? This free quiz has 20 short questions for beginners, from print() and f-strings to lists, dictionaries, loops and functions. Most of them show a few lines of…
Showing 1–10 of 35
Quiz
How well do you know the basics of Python? This free quiz has 20 short questions for beginners, from print() and f-strings to lists, dictionaries, loops and functions. Most of them show a few lines of…
Example
The print() function is the basic tool for displaying data in Python console.
Article Python Fundamentals
…this article, we'll explore how Python handles numbers and basic mathematical operations—essential knowledge for anyone interested in space science and programming. Don't let math anxiety stop you…
Example
For loop iterates through sequence elements. Basic iteration over lists.
Example
Lists store multiple elements in a specific order. Basics of working with lists.
Example
Return statement returns a value from function. Function can perform calculations and give result.
Example
While loop executes as long as condition is true. Controlling iteration with condition.
Quiz
…more (11 of 15) to pass Each topic has a runnable example: basic math operations , floor division and modulo , exponentiation and roots and order of operations . After this one, try the Python Data…
Quiz
…Each topic has a runnable example: creating variables , basic data types , type conversion , dynamic typing and local and global variables . After this one, try the Python print() Quiz or the Python…
Quiz
…Python editor . When you are done, test the rest of the basics in the Python Basics Quiz . Which of these lines print It's launch day ? How many lines does this code print? What does this code print?…