Skip to content

Creatur3245/Python-Operators-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Python Operators Guide (v2.0)

This repository provides an explanation of the differences between single and double asterisk operators (* and **) in Python, focusing on their use for function parameter packing and unpacking.

Repository Structure

  • README.md: Overview of the repository.
  • session_info.md: Details of the session during which this repository was created.
  • CHANGELOG.md: Tracks changes made in each version.
  • examples/: Contains Python scripts demonstrating the use of single and double asterisk operators.

Topics Covered

  • Single Asterisk (*) operator:
    • Packing positional arguments.
    • Unpacking iterables into positional arguments.
  • Double Asterisk (**) operator:
    • Packing keyword arguments.
    • Unpacking dictionaries into keyword arguments.
  • Combined usage of *args and **kwargs.

License

This repository is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published