/assignment_lux

This is another amazing assignment I had. I got to learn a lot . Especially on the 1st one and the bigrams one

Primary LanguagePython

Python Data Structures Assignment

This repository contains solutions to five Python programming tasks related to data structures and algorithms.

Files

  1. palindrome_stack.py: Contains a program to check whether a string is a palindrome using a stack.
  2. list_comprehension.py: Demonstrates the concept of list comprehension with three examples.
  3. compound_datatypes.py: Explains compound datatypes in Python with three examples.
  4. bigrams.py: Contains a function that takes a string and returns a list of bigrams.
  5. closest_key.py: Implements a function to find the key with the input value closest to the beginning of the list in a dictionary.

assignment_lux