Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors