How to use list comprehension in Python | 2MinutesPy

  Рет қаралды 9,272

2MinutesPy

2MinutesPy

Күн бұрын

Пікірлер: 24
@RazzelMedia
@RazzelMedia 9 ай бұрын
F*ck MAN. I'm just a begginer, started learning python a few days ago, and no one was able to explain it so clearly. THANK YOU SOOOOOOOO MUCH. Hope your channel will grow into one of the biggest in the space, because it deserves. 🔥🔥🔥🔥
@2MinutesPy
@2MinutesPy 8 ай бұрын
Great to hear!
@TakeElite
@TakeElite 10 ай бұрын
it crazy how you made me understand this concept so easily! THANK YOU!!
@2MinutesPy
@2MinutesPy 10 ай бұрын
Glad it helped!
@pranaylohar9389
@pranaylohar9389 5 ай бұрын
Can't imagine someone can explain this in 2 minutes hats off to you man
@2MinutesPy
@2MinutesPy 5 ай бұрын
Thanks
@perrosaurio725
@perrosaurio725 10 ай бұрын
Thanks, this was the best way to understand list comprehension. Loving python.
@2MinutesPy
@2MinutesPy 10 ай бұрын
Great to hear!
@rexsybimatrimawahyu3292
@rexsybimatrimawahyu3292 11 ай бұрын
I ve been using list comprehension ever since in scraping project, its been a blast
@Upresi
@Upresi 11 ай бұрын
Great video :D
@2MinutesPy
@2MinutesPy 11 ай бұрын
Thanks! 😁
@Rahul5556e
@Rahul5556e 11 ай бұрын
List comprehension and for loop, both are good and must be used periodically
@neckbro
@neckbro 10 ай бұрын
I prefer the longer way, with methods, the way my college professor taught them
@mkarvj
@mkarvj 11 ай бұрын
Very nice sir....
@2MinutesPy
@2MinutesPy 11 ай бұрын
Thanks and welcome
@arielmolina6277
@arielmolina6277 11 ай бұрын
👏🏻👏🏻👏🏻👏🏻
@Gclips2525
@Gclips2525 9 ай бұрын
Can u take input using list comprehension
@2MinutesPy
@2MinutesPy 9 ай бұрын
Yes, absolutely. for example: user = [int(input("Enter a value: ")) ** 2] for val in user: print(val)
@maxpythoneer
@maxpythoneer 11 ай бұрын
Yeah I use it too when working with lists
@2MinutesPy
@2MinutesPy 11 ай бұрын
Cool
@jell._.y
@jell._.y 9 ай бұрын
damn that's crazy
@2MinutesPy
@2MinutesPy 9 ай бұрын
Thanks man
@doodley-wb6uu
@doodley-wb6uu 5 ай бұрын
G
@BudgiePanic
@BudgiePanic 11 ай бұрын
These AI channels are getting out of hand ChatGPT script, AI voice actor
Global Interpreter Lock (GIL) in Python? 2MinutesPy
2:47
2MinutesPy
Рет қаралды 8 М.
Python List Comprehensions Made Easy!!
11:50
Travis Media
Рет қаралды 19 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 345 М.
Python dataclasses will save you HOURS, also featuring attrs
8:50
10 Python Comprehensions You SHOULD Be Using
21:35
Tech With Tim
Рет қаралды 168 М.
Logging Errors Like a PRO in Python Made Easy
5:21
Coding Together
Рет қаралды 1,3 М.
What are Decorators in Python? 2MinutesPy
2:45
2MinutesPy
Рет қаралды 24 М.
List Comprehension in Python
10:23
Neso Academy
Рет қаралды 35 М.
What Exactly are "Context Managers" in Python?
2:51
2MinutesPy
Рет қаралды 5 М.
List Comprehension - BEST Python feature !!! Fast and Efficient
14:51
Python Simplified
Рет қаралды 201 М.
*Args and **Kwargs in Python
3:49
b001
Рет қаралды 298 М.
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 90 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН