Tagged: variables

Everything tagged "variables", newest first.

Coding Practice ·

Python Coding Exercise #10: Fix the Code (Product)

A beginner Python debugging exercise — why a program that asks for three numbers prints 125 instead of 30, and how using separate variables fixes it.

Coding Practice ·

Python Coding Exercise #06: Arithmetics

A beginner Python exercise on arithmetic operators and f-strings — print the sum, difference, product and quotient of two variables so the program still works when the values change.

All tags