Example
Logical Operators and, or, not
Combining conditions with logical operators and, or and not.
Showing 1–10 of 29
Example
Combining conditions with logical operators and, or and not.
Quiz
…else: 15 questions on conditions, comparison and logical operators and indentation, with instant answers.
Quiz
…on math in Python: 15 questions on +, -, *, /, //, %, **, operator precedence and rounding, with instant answers.
Challenge
…underscores and dashes too, so commands match however operators type them.
Challenge
Clear a launch only if the wind is under 30 km/h, there is no lightning and range safety reports GO, using and and not, then print every rule that is holding the launch.
Example
Addition, subtraction, multiplication and division in Python. Basic arithmetic operations.
Challenge
Operators type commands into the console in a hurry, with stray spaces, capital letters and the occasional slip of the finger. The flight software must never act on a command it didn't fully…
Article Python Fundamentals
…space exploration examples. Learn about number types, operators, and practical applications that will help you start your programming journey in an engaging way.
Challenge
…launch response by chaining keys and indexes, then add the operator and orbit and cope with a launch that has no patches yet.
Challenge
…print: Firing the main engine Make: Settings typed by hand Operators edit this config by hand, so the telemetry setting can be yes , no , true or false , in any case and with stray spaces. Yes and…