Skip to content

[PYTH-002] Add Python list operations and foundational programs#13

Open
Sindhu1702013 wants to merge 11 commits into
AkashMishra-AM:masterfrom
Sindhu1702013:0604
Open

[PYTH-002] Add Python list operations and foundational programs#13
Sindhu1702013 wants to merge 11 commits into
AkashMishra-AM:masterfrom
Sindhu1702013:0604

Conversation

@Sindhu1702013

Copy link
Copy Markdown
  • Added List Operations Program (python/P03_ListsOperations.py):
    Introduces a comprehensive program demonstrating various Python list operations, including slicing, append(), index(), sort(), pop(), remove(), insert(), count(), extend(), and reverse().
  • Introduced Foundational Python Programs:
    • python/P01_hello.py: A basic program featuring a justPrint function to output a message.
    • python/P02_InstanceMethods.py: Illustrates the concept and usage of instance methods within a Vehicle class.
    • python/P02_VariableScope.py (and P02_VariableScope copy.py): Explores Python's LEGB (Local, Enclosing, Global, Built-in) rules for variable scope.
  • Included Algorithmic Example Programs:
    • python/P04_Factorial.py: Implements a recursive factorial function to calculate the factorial of a given number.
    • python/P05_Pattern.py: Contains multiple functions (pattern1 through pattern6) to print various star patterns.
    • python/P06_CharCount.py: Provides a charFrequency function to count the occurrences of each character in a string.

[email-to: sindhuja.golagani@techolution.com]

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant