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

Getting Started With IPython Assignment

The document provides instructions for 5 assignments on getting started with IPython. The assignments include using the round function to round numbers to different decimal places, checking documentation using ?, and quitting IPython using Ctrl+D. They also test the knowledge that IPython is similar to Python and that ? is used to display documentation.

Uploaded by

Hack Mania
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

Getting Started With IPython Assignment

The document provides instructions for 5 assignments on getting started with IPython. The assignments include using the round function to round numbers to different decimal places, checking documentation using ?, and quitting IPython using Ctrl+D. They also test the knowledge that IPython is similar to Python and that ? is used to display documentation.

Uploaded by

Hack Mania
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Spoken Tutorial, IIT Bombay

https://spoken-tutorial.org
Python 3.4.3
Getting started with IPython - Assignments

Assignment-1
1. Find out the commands starting with ab.
2. List out the commands starting with a.

Assignment-2
1. Look-up the documentation of round and see how to use it.

Assignment-3
1. Check the output of
a)round(2.48)
b)round(2.48, 1)
c)round(2.484)
d)round(2.484, 2)

Assignment-4
1. Type round(2.484 without closing the paranthesis and press Enter.
2. Then cancel the command using Ctrl + C.
3. Type the command, round(2.484, 2).

Assignment-5
1. IPython is a programming language similar to Python.
True or False
2. Which key combination quits IPython?
Ctrl + C
Ctrl + D
Alt + C
Alt + D
3. Which character is used at the end of a command, in IPython to display the documentation?
under score (_)
question mark (?)
exclamation mark (!)
ampersand (&)

You might also like