Skip to content

About

python-week1-master-assignment

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

python-week1-master-assignment

About the Assignment

This repository contains my Week 1 Master Assignment, focusing on Python Fundamentals and NumPy Foundations. It includes theoretical concepts, output prediction, and practical coding exercises to strengthen Python programming and problem-solving skills.

Assignment Contents

Section A – Theory

  • Python is and == operators
  • Mutable and immutable data types
  • Floating-point operations
  • Tuples and lists
  • Dictionary and list time complexity
  • range() and numpy.arange()
  • List methods: append(), extend(), insert()
  • Starred unpacking
  • Python arithmetic operators
  • Advantages of NumPy

Section B – Output Prediction

  • Nested lists and references
  • List assignment and in-place modification
  • Loop variables and empty ranges
  • String and integer operations
  • Short-circuit evaluation

Section C – Coding Practice

Includes 35 coding exercises covering:

  • Python basics and warm-up
  • Conditionals and logic
  • Nested loop patterns
  • Loop logic
  • Lists, tuples, sets, and dictionaries
  • String operations
  • Functions and recursion
  • NumPy foundations

Technologies Used

  • Python
  • NumPy
  • Jupyter Notebook

How to Run

  1. Clone or download this repository.
  2. Open the .ipynb file using Jupyter Notebook or Google Colab.
  3. Execute the cells in sequence to view the outputs.

Learning Outcomes

  • Improved understanding of Python fundamentals.
  • Developed logical thinking and problem-solving skills.
  • Practiced output prediction and debugging.
  • Gained hands-on experience with Python data structures and functions.
  • Learned basic NumPy array operations.

Author

H S Ashritha

About

python-week1-master-assignment

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages