Back to tasks
Four changes
BeginnerPython for kids 路 Lesson 12: Changing a variable
Problem Statement
Set x = 1. Then: add 2, multiply by 3, subtract 4. Print x.
Output Format
One number - the result.
Examples
Example 1
Output
5
Python for kids 路 Lesson 12: Changing a variable
Set x = 1. Then: add 2, multiply by 3, subtract 4. Print x.
One number - the result.
Output
5