0% found this document useful (0 votes)
69 views1 page

Python Content Manual (1) - 9

Uploaded by

CaPital
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)
69 views1 page

Python Content Manual (1) - 9

Uploaded by

CaPital
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

How to Create a tuple ? ...................................................................................................

73
Accessing of Tuples ........................................................................................................ 73
Deleting a Tuple .............................................................................................................. 73
Test Your Knowledge ...................................................................................................... 74
Chapter 5 - Flow of Control and Conditions......................................................................... 75
If Statement ..................................................................................................................... 75
If Statement ................................................................................................................. 77
Python if...else Statement ............................................................................................ 78
Python if...elif...else Statement ..................................................................................... 79
Syntax of if...elif...else .................................................................................................. 79
Python Nested if statements ............................................................................................ 81
Let’s Practice ................................................................................................................... 81
The For Loop ................................................................................................................... 82
Syntax of for Loop ........................................................................................................ 82
Flowchart of for Loop ................................................................................................... 82
Example: Python for Loop ............................................................................................ 82
The while Statement ........................................................................................................ 83
Syntax of while Loop in Python .................................................................................... 83
Flowchart of while Loop ................................................................................................... 84
Example: Python while Loop ........................................................................................... 84
Let’s Practice ................................................................................................................... 85
Test Your Knowledge ...................................................................................................... 85
Chapter 6 : Introduction to Packages .................................................................................. 86
Recap .............................................................................................................................. 86
CHALLENGE TIME! ..................................................................................................... 86
Introduction ..................................................................................................................... 87
What is a package? ......................................................................................................... 90
Package Installation ..................................................................................................... 91
Working with a package ............................................................................................... 91
What is NumPy? .......................................................................................................... 92
Exploring NumPy! ........................................................................................................ 93
Let’s Practice! .................................................................................................................. 94
TASK 1 ........................................................................................................................ 94
TASK 2 ........................................................................................................................ 94
Test Your Knowledge ...................................................................................................... 94
Additional Resources .......................................................................................................... 95

You might also like