A lot of you have probably seen an underscore being used in special ways in Python, but do you know all of them? In today's video I will be showing you 10 neat ways that you can use the underscore in Python code!
▶ Become job-ready with Python:
https://www.indently.io
▶ Follow me on Instagram:
https://www.instagram.com/indentlyreels
00:00 Learning Python made simple
00:05 Intro
00:13 Last used value
01:20 Snake-case
02:20 Number formatting
03:51 Unimportant values
05:07 Star underscore
06:09 For loops
07:22 Semiprivate variables
09:44 Name mangling
12:16 Dunder methods
15:20 Reserved names
16:15 Default case
17:56 Summing it up