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

Third Semester General Course Paper: Python

The document is a module on Python programming for a BSc Instrumentation course. It covers various Python functions including built-in functions, mathematical functions, date/time functions, random numbers, user-defined functions, function parameters, and recursion. The module is presented by Sanal Kumar S from the Department of Instrumentation at NSS College in Nemmara, Palakkad, India.

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)
2K views

Third Semester General Course Paper: Python

The document is a module on Python programming for a BSc Instrumentation course. It covers various Python functions including built-in functions, mathematical functions, date/time functions, random numbers, user-defined functions, function parameters, and recursion. The module is presented by Sanal Kumar S from the Department of Instrumentation at NSS College in Nemmara, Palakkad, India.

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/ 47

BSc Instrumentation

Third Semester
General Course Paper

PYTHON SANAL KUMAR S

Module 3 Asst Professor


Dept of Instrumentation
NSS College, Nemmara, Palakkad.
678508

Dept of Instrumentation, NSS College ,


1
Nemmara
Module 3

 1. Functions, built-in functions


 2. Mathematical functions
 3. Date time functions
 4.Random numbers
 5. Writing user defined functions
 6. Composition of functions
 7. Parameter and arguments, default parameters
 8. Function calls
 9. Return statement
 10. Using global variables, recursion..
Dept of Instrumentation, NSS College , Nemmara 2
1.Functions, built-in functions
Module 3

Dept of Instrumentation, NSS College ,


3
Nemmara
1.Functions, built-in functions Module 3

Dept of Instrumentation, NSS College ,


4
Nemmara
1.Functions, built-in functions
Module 3

Dept of Instrumentation, NSS College ,


5
Nemmara
1.Functions, built-in functions Module 3

Dept of Instrumentation, NSS College , Nemmara 6


1.Functions, built-in functions
Module 3

Dept of Instrumentation, NSS College ,


7
Nemmara
2.Mathematical functions
Module 3

8
2.Mathematical functions Module 3

Dept of Instrumentation, NSS College , Nemmara 9


2.Mathematical functions
Module 3

Dept of Instrumentation, NSS College ,


10
Nemmara
2.Mathematical functions Module 3

Dept of Instrumentation, NSS College ,


11
Nemmara
3. Date time functions Module 3

12
Module 3

Dept of Instrumentation, NSS College ,


13
Nemmara
Module 3

Dept of Instrumentation, NSS College ,


14
Nemmara
Module 3

Dept of Instrumentation, NSS College ,


15
Nemmara
Module 3

Dept of Instrumentation, NSS College ,


16
Nemmara
4.Random numbers
Module 3

Dept of Instrumentation, NSS College ,


17
Nemmara
4.Random numbers
Module 3

Dept of Instrumentation, NSS College ,


18
Nemmara
5. Writing user defined functions Module 3

Dept of Instrumentation, NSS College , Nemmara 19


Module 3

Dept of Instrumentation, NSS College , Nemmara 20


Module 3

Dept of Instrumentation, NSS College , Nemmara 21


Module 3

Dept of Instrumentation, NSS College ,


22
Nemmara
6. Composition of functions Module 3

Dept of Instrumentation, NSS College , Nemmara 23


7. Parameter and arguments, default parameters Module 3

24
7. Parameter and arguments, default parameters
Module 3

Dept of Instrumentation, NSS College , Nemmara 25


7. Parameter and arguments, default parameters
Module 3

Dept of Instrumentation, NSS College , Nemmara 26


7. Parameter and arguments, default parameters
Module 3

27
7. Parameter and arguments, default parameters
Module 3

Dept of Instrumentation, NSS College , Nemmara 28


7. Parameter and arguments, default parameters Module 3

29
7. Parameter and arguments, default parameters
Module 3

Dept of Instrumentation, NSS College , Nemmara 30


8. Function calls Module 3

Dept of Instrumentation, NSS College , Nemmara 31


8. Function calls
Module 3

Dept of Instrumentation, NSS College ,


32
Nemmara
9. Return statement
Module 3

Dept of Instrumentation, NSS College ,


33
Nemmara
10. Using global variables, recursion.. Module 3

Dept of Instrumentation, NSS College , Nemmara 34


10. Using global variables, recursion.. Module 3

Dept of Instrumentation, NSS College , Nemmara 35


10. Using global variables, recursion.. Module 3

Dept of Instrumentation, NSS College , Nemmara 36


10. Using global variables, recursion..
Module 3

Dept of Instrumentation, NSS College , Nemmara 37


10. Using global variables, recursion..
Module 3

Dept of Instrumentation, NSS College , Nemmara 38


Module 3

Dept of Instrumentation, NSS College , Nemmara 39


10. Using global variables, recursion..
Module 3

Dept of Instrumentation, NSS College , Nemmara 40


10. Using global variables, recursion.. Module 3

Dept of Instrumentation, NSS College , Nemmara 41


10. Using global variables, recursion.. Module 3

Dept of Instrumentation, NSS College , Nemmara 42


Module 3

Dept of Instrumentation, NSS College , Nemmara 43


Module 3

Dept of Instrumentation, NSS College , Nemmara 44


Module 3

Dept of Instrumentation, NSS College , Nemmara 45


Module 3

Dept of Instrumentation, NSS College , Nemmara 46


Module 3

Dept of Instrumentation, NSS College , Nemmara 47

You might also like