50 Python Tips and Tricks I'm Thankful For 🦃




[ad_1]

Notes – https://www.calcur.tech/notes-python-tips-tricks
Python Bootcamp – https://www.codebreakthrough.com/python-bootcamp

Thanksgiving special sharing 50 tips in Python I am thankful for.
I ran out of time before dinner, so I’ll update the timestamps later.

Timestamps:
00:00 – Introduction
00:41 – Assign Multiple Variables on One Line
00:59 – Print Colored Text
01:38 – Power operator
01:55 – Banker’s Rounding
02:36 – Underscores in numbers
02:56 – Open a web browser
03:10 – Concat without +
03:28 – Split string on multiple lines
03:28 – Multiline string
04:06 – Multiline comment
04:25 – Get last element of list
04:37 – Reverse list with slicing
05:05 – Reverse with method
05:32 – Substring with in
05:50 – single line if
06:25 – get index with find
06:44 – id to get identity
07:23 – Aliases
07:48 – Primitive types are immutable
08:51 – in-place methods
09:21 – Replace list vs replace list content
10:10 – Copy list with slicing
12:33 – concatenate lists
12:57 – not data vs is none
13:03 –
14:44 –
14:59 –
15:32 –
16:29 –
18:20 –
18:49 –
20:47 –
21:56 –
22:55 –
24:11 –
26:58 –
28:09 –
29:10 –
30:03 –
30:51 –
32:04 –
33:21 –
33:28 –
34:43 –
35:11 –
35:35 –
37:19 –
38:46 –

100 hr free course – https://calcur.tech/all-in-ones
Python course – https://calcur.tech/python-courses
Data structures and algorithms – https://calcur.tech/dsa-youtube

~~~~~~~~~~~~~~~ Additional Links ~~~~~~~~~~~~~~~

Courses – https://www.codebreakthrough.com
Newsletter – https://calcur.tech/newsletter
Instagram – http://calcur.tech/ig-calebcurry
Twitter – http://calcur.tech/tw-calebcurry
Patreon – http://calcur.tech/patreon-calebcurry
Subscribe – http://calcur.tech/subscribe

#RESTAPI #Python

Source


[ad_2]

Comment List

  • Caleb Curry
    November 26, 2020

    Brother Caleb is the best teacher 👍

  • Caleb Curry
    November 26, 2020

    I also do videos about programming!😁

  • Caleb Curry
    November 26, 2020

    I guess you will publish soon the remaining 51-100 tips too, right ? Thanks.

  • Caleb Curry
    November 26, 2020

    actually assignment on the same line doesn't work the same way
    such as if you did:
    a=b
    b=a
    vs
    a,b=b,a

    two different results

  • Caleb Curry
    November 26, 2020

    Hello Caleb , love ur vids 🙌
    I just wanna ask u smth , I've finished with the basics of Python and I'm currently solving some examples but idk wut to do next..any advice ?

  • Caleb Curry
    November 26, 2020

    Love all your tutorials! Thanks so much! I can't wait to get started in the Python Bootcamp.

Write a comment