<< Chapter < Page Chapter >> Page >
This module explains various aspects of numbers in Python.

Table of contents

Preface

This module is one in a collection of modules on Python designed forteaching ITSE 1359 Introduction to Scripting Languages: Python at Austin Community College in Austin, TX. It explains various aspects of numbers in Python.

I will start out by showing you how to use Python as a programmable calculator. Inthe process, I will introduce you to some programming concepts, such as operators that I will explain in a more formal way in future modules.

Viewing tip

I recommend that you open another copy of this module in a separate browser window and use the following links to easily find and view the Figureswhile you are reading about them.

(Note to blind and visually impaired students: all of the Figures in this module are presented in plaintext format and should be accessible using an audio screen reader or a braille display.)

Figures

Let's program

Start the interactive Python environment

The first thing that you need to do is to start the interactive programming environment. If you have forgotten how to do that, see the earlier module titled Itse1359-1010-Getting Started in this book .

You can start the interactive Python environment from the Windows Start menu by selecting one of the following:

  • IDLE (Python GUI)
  • Python (command line).

Either way, the interactive programming environment should look something like Figure 1 when it starts running.

Figure 1 . IDLE GUI at startup.
Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 32 bit (Intel)]on win32 Type "copyright", "credits" or "license()" for moreinformation.>>>

Questions & Answers

What are types of cell
Nansoh Reply
how can I get this book
Gatyin Reply
what is lump
Chineye Reply
what is cell
Maluak Reply
what is biology
Maluak
what's cornea?
Majak Reply
what are cell
Achol
Explain the following terms . (1) Abiotic factors in an ecosystem
Nomai Reply
Abiotic factors are non living components of ecosystem.These include physical and chemical elements like temperature,light,water,soil,air quality and oxygen etc
Qasim
what is biology
daniel Reply
what is diffusion
Emmanuel Reply
passive process of transport of low-molecular weight material according to its concentration gradient
AI-Robot
what is production?
Catherine
Pathogens and diseases
how did the oxygen help a human being
Achol Reply
how did the nutrition help the plants
Achol Reply
Biology is a branch of Natural science which deals/About living Organism.
Ahmedin Reply
what is phylogeny
Odigie Reply
evolutionary history and relationship of an organism or group of organisms
AI-Robot
ok
Deng
what is biology
Hajah Reply
cell is the smallest unit of the humanity biologically
Abraham
ok
Achol
what is biology
Victoria Reply
what is biology
Abraham
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Itse 1359 introduction to scripting languages: python. OpenStax CNX. Jan 22, 2016 Download for free at https://legacy.cnx.org/content/col11713/1.32
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Itse 1359 introduction to scripting languages: python' conversation and receive update notifications?

Ask