Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Python Shortcuts You Need to Know

Tech with Tim via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover 10 essential Python shortcuts to enhance your coding efficiency in this informative video tutorial. Learn time-saving language features that streamline your code, including F-strings for easier string formatting, unpacking for efficient data handling, multiple assignment for concise variable declarations, and list comprehensions for compact data manipulation. Explore object multiplication, ternary conditions for simplified if-else statements, the zip function for parallel iteration, *args and **kwargs for flexible function parameters, and the lesser-known 'else' clause in for and while loops. Master the 'sort by key' technique for advanced sorting, and gain a bonus tip to further optimize your Python programming skills.

Syllabus

| Overview
| F Strings
| Unpacking
| Multiple Assignment
| Comprehensions
| Object Multiplication
| Ternary Conditions
| Zip Function
| *args & **kwargs
| For & While Else
| Sort By Key
| BONUS

Taught by

Tech With Tim

Reviews

Start your review of Python Shortcuts You Need to Know

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.