0% found this document useful (0 votes)
2 views

Clever Calculations Home Learning

The document provides examples of basic calculations in Python using the print command, including operations like multiplication, subtraction, division, and exponentiation. It also mentions Python IDLE, explaining its purpose for creating Python programs and asks for the meaning of the acronym IDLE. Additionally, it prompts the user to identify the Script mode and Interactive mode windows in Python IDLE.

Uploaded by

Abdul Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Clever Calculations Home Learning

The document provides examples of basic calculations in Python using the print command, including operations like multiplication, subtraction, division, and exponentiation. It also mentions Python IDLE, explaining its purpose for creating Python programs and asks for the meaning of the acronym IDLE. Additionally, it prompts the user to identify the Script mode and Interactive mode windows in Python IDLE.

Uploaded by

Abdul Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Home Learning Clever Calculations

In Python, we can use the print command to do calculations.

What output would we see on screen if we entered the following?

a) >>> print(6 * 3) Answer:

b) >>> print(12.34 – 1.34) Answer:

c) >>> print(25 / 5) Answer:

d) >>> print(2 + 3 * 4) Answer:

e) >>> print(34 - 2 * 8) Answer:

f) >>> print(6 ** 2) Answer:

g) >>> print(17 // 2) Answer:

Python IDLE
To create Python programs, we can use Python IDLE. What do the letters IDLE stand for?

Python IDLE has two main screens. Label the two screens below: which one is the Script mode window
and which is the Interactive mode window.

visit twinkl.com

You might also like