HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

The asterisk (*) operator in Python - Advanced Python 19 - Programming Tutorial

29,805 views November 13, 2019 13:01

Watch on YouTube
ChannelPython Engineer

Description from the creator

In this Python Advanced Tutorial, I will talk about the asterisk (*) or star operator in Python. I will talk about the different use cases:

- Multiplication and power operations
- Creation of list / tuple / string with repeated elements
- Variable length arguments (*args and **kwargs)
- Keyword only arguments
- Unpacking container data types into function arguments
- Unpacking container into single and multiple elements
- Merging lists / dictionaries

~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
✅ Write cleaner code with Sourcery: sourcery.ai/?utm_source=youtube&utm_campaig… *

📚 Get my FREE NumPy Handbook:
python-engineer.com/numpybook

📓 Notebooks available on Patreon:
patreon.com/patrickloeber

⭐ Join Our Discord : discord.gg/FHMg9tKFSN

A written Tutorial can be found here:
python-engineer.com/courses/advancedpython/19-a…

You can find me here:
Website: python-engineer.com
Twitter: twitter.com/patloeber
GitHub: github.com/patrickloeber

#Python

----------------------------------------------------------------------------------------------------------
* This is a sponsored link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏

About this tutorial

Python Engineer published this 13:01 video tutorial on November 13, 2019. It has been watched 29,805 times on YouTube.

Category
Education
Duration
13:01
Published
November 13, 2019
Views
29,805
Likes
582

Tags

Share

This tutorial in other languages