PPS Unit 3: Functions and Strings (2024 Pattern) | SPPU Notes

Syllabus

Functions:

  • Need for functions
  • Function definition
  • Function call
  • Variable scope and lifetime
  • Return statement
  • Lambda (anonymous) functions
  • Documentation strings
  • Good programming practices

Modules and Packages:

  • Introduction to modules
  • Introduction to packages in Python
  • Introduction to standard library modules

Strings and Operations:

  • Concatenation
  • Appending
  • Multiplication
  • String slicing
  • String immutability
  • String formatting operator
  • Built-in string methods and functions
  • Slice operation
  • ord() and chr() functions
  • in and not in operators
  • Comparing strings
  • Iterating strings
  • String module

Download Notes

Download U4 Notes

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
100% Free SEO Tools - Tool Kits PRO