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

Third Semester General Course Paper: Python

The document is a module on Python programming concepts taught as part of the BSc Instrumentation course at NSS College in Nemmara, Palakkad. It covers topics like Boolean expressions, conditional statements using if, elif and else, loops using while and for, nested loops, break and continue statements, and infinite loops. Examples are provided for each concept to help students understand it better.

Uploaded by

SANAL KUMAR
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
108 views

Third Semester General Course Paper: Python

The document is a module on Python programming concepts taught as part of the BSc Instrumentation course at NSS College in Nemmara, Palakkad. It covers topics like Boolean expressions, conditional statements using if, elif and else, loops using while and for, nested loops, break and continue statements, and infinite loops. Examples are provided for each concept to help students understand it better.

Uploaded by

SANAL KUMAR
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 34

BSc Instrumentation

Third Semester
General Course Paper

PYTHON SANAL KUMAR S

Module 2 Asst Professor


Dept of Instrumentation
NSS College, Nemmara, Palakkad.
678508

Dept of Instrumentation, NSS College ,


6/26/21 1
Nemmara
Module 2

 1.Boolean Expressions
 2.Simple if statement, if-elif-else statement
 3. compound Boolean expressions
 4.nesting, multi way decisions.
 5. Loops: The while statement
 6. range functions
 7. the for statement
 8. nested loops
 9. break and continue statements
 10. infinite loops.
Dept of Instrumentation, NSS College ,
6/26/21 2
Nemmara
1.Boolean Expressions Module 2

Dept of Instrumentation, NSS College ,


6/26/21 3
Nemmara
2.Simple if statement, if-elif-else statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 4
Nemmara
2.Simple if statement, if-elif-else statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 5
Nemmara
2.Simple if statement, if-elif-else statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 6
Nemmara
2.Simple if statement, if-elif-else statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 7
Nemmara
2.Simple if statement, if-elif-else statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 8
Nemmara
2.Simple if statement, if-elif-else statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 9
Nemmara
2.Simple if statement, if-elif-else statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 10
Nemmara
2.Simple if statement, if-elif-else statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 11
Nemmara
5. Loops: The while statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 12
Nemmara
5. Loops: The while statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 13
Nemmara
5. Loops: The while statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 14
Nemmara
6. range functions Module 2

Dept of Instrumentation, NSS College ,


6/26/21 15
Nemmara
Module 2

Dept of Instrumentation, NSS College ,


6/26/21 16
Nemmara
7. the for statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 17
Nemmara
7. the for statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 18
Nemmara
7. the for statement Module 2

Dept of Instrumentation, NSS College ,


6/26/21 19
Nemmara
8. nested loops Module 2

Dept of Instrumentation, NSS College ,


6/26/21 20
Nemmara
8. nested loops
Module 2

Dept of Instrumentation, NSS College ,


6/26/21 21
Nemmara
8. nested loops Module 2

Dept of Instrumentation, NSS College ,


6/26/21 22
Nemmara
9. break and continue statements Module 2

Dept of Instrumentation, NSS College ,


6/26/21 23
Nemmara
9. break and continue statements Module 2

Dept of Instrumentation, NSS College ,


6/26/21 24
Nemmara
9. break and continue statements Module 2

Dept of Instrumentation, NSS College ,


6/26/21 25
Nemmara
9. break and continue statements Module 2

Dept of Instrumentation, NSS College ,


6/26/21 26
Nemmara
9. break and continue statements Module 2

Dept of Instrumentation, NSS College ,


6/26/21 27
Nemmara
9. break and continue statements Module 2

Dept of Instrumentation, NSS College ,


6/26/21 28
Nemmara
10. infinite loops. Module 2

Dept of Instrumentation, NSS College ,


6/26/21 29
Nemmara
10. infinite loops. Module 2

Dept of Instrumentation, NSS College ,


6/26/21 30
Nemmara
10. infinite loops. Module 2

Dept of Instrumentation, NSS College ,


6/26/21 31
Nemmara
Extra Information. Module 2

Dept of Instrumentation, NSS College ,


6/26/21 32
Nemmara
Extra Information. Module 2

Dept of Instrumentation, NSS College ,


6/26/21 33
Nemmara
Module 2

Dept of Instrumentation, NSS College ,


6/26/21 34
Nemmara

You might also like