I would not compare objects using the id() function. You can do it by comparing if a is b instead of if a == b. The "is" operator uses id() function underneath. Great video Tim!
Great Video! Small correction / clarification: int() isn't always math.floor(), that is only true for positive numbers. For negative numbers, math.floor(-1.2) would round down and therefore return -2 whereas int(-1.2) cuts off the decimal part and returns -1 In essence, int(positive) is math.floor(), int(negative) is math.ceil()
Complex numbers aren't only used in Physics. They're a mathimatical concept, a complex number describes a point on a plane using 2 coordinates and uses the imaginary number i with i² = -1, as the second axis, so you can write any complex number in the form a + bi with a and b being Real Numbers. Python uses j instead of i to not confuse people with the common name for iteration variables. Complex Numbers are also used in Physics but atleast in my experience you'll be using Vectors (which is another math concept of Numbers on a n-Dimensional Plane) more often than Complex numbers. If there are any mistakes in here, please correct me in the answer ;)
@@paulfragemann3333 yes but also in certain situations with circuit analysis you can use both (interchangeable as far as I know). So "i" can represent some current given in a circuit. In general j is just used to completely avoid the confusion.
@@paulfragemann3333 I believe when you have a time-dependent current (an AC current for example) you often use i(t) rather than the capitalised version.
I appreciate this video but "I won't go through this because it's too advanced" isn't helpful. Again thanks, overall it's good and I appreciate it. I was just hoping for an explanation on ALL of the functions, especially the advanced ones. Maybe make a separate video where you explain the advanced functions that were passed over?
Whoever's reading this, i pray that whatever you're going through gets better and whatever you're struggling with or worrying about is going to be fine and that everyone has a fantastic day! Amen
At 17:36 you tell us something about hasattr whilst the youtube chapter and Description shown on Screen is about hash() which you completely miss. If I were you I would fix the TH-cam Chapter and then do hash at the beginning of Part II.
b = [] a = ['A', 'B', 'C', 'D'] for index, value in enumerate(a, start=1): a = [(value, index)] b = b + a b = dict(b) print(b) I didn't understand this block of code in slot_machine project, but now I understand!
According to the python docs and stuff, your Iterator `__iter__` method should only conventionally return `self`, but you're changing the state of the iterator which may cause bugs.
I like watching your videos but I don’t understand most of it lol. What’s a best place or where can I start to learn and self learn programming/coding. I just don’t know where to start as a beginner and work my way up. Awesome videos tho!
just noticed at 9:50 , "complex()" shows up on the top when "delattr()" should be there. Don't know if the error extends past this moment, but saw it and wanted to alert you to it. Will edit if I find more while taking notes.
Well you found yourself a new subscriber! Awesome explanations and in depth video! By chance I looked over your github, do you have those uploaded for a download as I didn't see it at first glance.
I just randomly come up with this alphabetic triangle by testing chr(): alphabet_big = [] alphabet_small = [] A = 65 Z = 90 a = 97 z = 122 for _ in range(A, Z+1): alphabet_big.append(chr(_)) print(alphabet_big) for _ in range(a, z+1): alphabet_small.append(chr(_)) print(alphabet_small) for _ in reversed(range(a+1, z+1)): alphabet_small.remove(chr(_)) print(alphabet_small)
hello...your tutorials are extraordinary. can you please create a tutorial on python built-in functions(all built in functions there are 71). i hope you will work on it. thank you.
One question Tim. Did you do this video all in one breath? Haha cool video. Coming from a c++ background I don't find any of this hard. It's just hearing about or seeing the name. Awesome video brother thanks
most likely, paying for soft gives you rights to use anytNice tutorialng included with your purchase as well as whatever the distibution rights of any tNice tutorialrd
In my opinion (I'm not an actual (senior) developer, but a junior data scientist) low code will always lag behind actual coding. Python is already a "low-code" type of coding compared to higher level languages such as C, and it will always be easier to maintain, upgrade and keep up to date as low/no code applications. However, low code will be super useful for making quick apps with no technical background, and it will get rid of developers who "picked up" on a little bit of html/css charging ridiculous amount for crappy websites (so pretty much low quality coding), but skilled developers can develop apps with code just as quick as low-code apps can, with a lot more higher maintainability and flexibility. In short, high-skilled developers have nothing to fear, but the skill floor will become higher, because as a new or low-skilled coder it becomes increasingly difficult to beat low/no-code
Everyone thinks I'm a cheating student but I'm just a self learning dude in Nigeria... Tim help! You'll need to write a function, the function will take a string argument, and will tell the user which characters appeared successively, how many times it appeared and the maximum repetition. For example, if the argument is "Hello Timmy!!! A better day awaits... brrr!!!" Then your function should output: Repeated characters: l m t r ! Occurrence: l = 1, t = 1, r = 1, ! = 2 Degree of repetition: l = 2, t = 2, r = 3, !=2
Checkout part 2: th-cam.com/video/wsETdTd1rp8/w-d-xo.html
you forgot "def"
Can you put your examples online so we can copy it and take it as a reference for as
This is by far one of the most useful Python vids made by anybody. EVER.
Thanks to anybody
POV: bro code's videos
The description tells the truth. I've been coding in Python for almost 8 years and I didn't realize float("1e-003") works - cool stuff!
I would not compare objects using the id() function. You can do it by comparing if a is b instead of if a == b. The "is" operator uses id() function underneath. Great video Tim!
Great Video!
Small correction / clarification:
int() isn't always math.floor(), that is only true for positive numbers.
For negative numbers, math.floor(-1.2) would round down and therefore return -2 whereas int(-1.2) cuts off the decimal part and returns -1
In essence, int(positive) is math.floor(), int(negative) is math.ceil()
You just reduced many person's countless visits to stack overflow 🙃
Keep the good videos coming !!
Complex numbers aren't only used in Physics. They're a mathimatical concept, a complex number describes a point on a plane using 2 coordinates and uses the imaginary number i with i² = -1, as the second axis, so you can write any complex number in the form a + bi with a and b being Real Numbers. Python uses j instead of i to not confuse people with the common name for iteration variables.
Complex Numbers are also used in Physics but atleast in my experience you'll be using Vectors (which is another math concept of Numbers on a n-Dimensional Plane) more often than Complex numbers.
If there are any mistakes in here, please correct me in the answer ;)
I would like to add that j is also used in electrical engineering instead of i as i is used as a symbol for current.
@@Vforsucuk Didn't know that ;) Nice to know but isn't current uppercase I if I remember correctly?
@@paulfragemann3333 yes but also in certain situations with circuit analysis you can use both (interchangeable as far as I know). So "i" can represent some current given in a circuit. In general j is just used to completely avoid the confusion.
@@noahmarosok8168 yeah confusion avoiding is good.
@@paulfragemann3333 I believe when you have a time-dependent current (an AC current for example) you often use i(t) rather than the capitalised version.
"Oh, you like Python? Explain every Python function."
This is one of the most useful Python videos I've ever watched. Thank you.
I appreciate this video but "I won't go through this because it's too advanced" isn't helpful. Again thanks, overall it's good and I appreciate it. I was just hoping for an explanation on ALL of the functions, especially the advanced ones. Maybe make a separate video where you explain the advanced functions that were passed over?
15:40, you don't need to use the 'float' function to use scientific notation. you can use 1e-003 directly
Whoever's reading this, i pray that whatever you're going through gets better and whatever you're struggling with or worrying about is going to be fine and that everyone has a fantastic day! Amen
I actually needed that thanks. Hopefully today gets better.
Thanks man likewise
Thanks bro you too. We got this guys
Thank you I needed to hear that.
Amen
At 17:36 you tell us something about hasattr whilst the youtube chapter and Description shown on Screen is about hash() which you completely miss.
If I were you I would fix the TH-cam Chapter and then do hash at the beginning of Part II.
Good call, thanks for pointing that out 👍
b = []
a = ['A', 'B', 'C', 'D']
for index, value in enumerate(a, start=1):
a = [(value, index)]
b = b + a
b = dict(b)
print(b)
I didn't understand this block of code in slot_machine project, but now I understand!
Nice Video Tim. please Make videos about data structure! 👍🏿
According to the python docs and stuff, your Iterator `__iter__` method should only conventionally return `self`, but you're changing the state of the iterator which may cause bugs.
I like watching your videos but I don’t understand most of it lol. What’s a best place or where can I start to learn and self learn programming/coding. I just don’t know where to start as a beginner and work my way up. Awesome videos tho!
just noticed at 9:50 , "complex()" shows up on the top when "delattr()" should be there. Don't know if the error extends past this moment, but saw it and wanted to alert you to it. Will edit if I find more while taking notes.
It's too advance for me I'll come back after a week or so , thx Tim u are the best
Thank you for being my computer science teacher since my professor doesn’t want to be ❤
this video is awesome!! keep up the great work 👍
Nice video Tim, it's cool and useful to have some explanations and examples on those built-in functions
In the beginning where you said you guarantee I learn something new, I knew it wasnt a bluff. Keep up the good work tim!!!
That's a really useful video, thanks!
Thanks for sharing.Please share more and more for the learners.
Very usefull, thanks!
i am a simple man. Tim uploads a video, I watch it.
Love the Python content, keep it up ❤🔥
at 9:50 you're explaining 'delattr' but the hint at the top right says 'complex ([real[, imag]])'
Well you found yourself a new subscriber! Awesome explanations and in depth video!
By chance I looked over your github, do you have those uploaded for a download as I didn't see it at first glance.
So useful thx
I just randomly come up with this alphabetic triangle by testing chr():
alphabet_big = []
alphabet_small = []
A = 65
Z = 90
a = 97
z = 122
for _ in range(A, Z+1):
alphabet_big.append(chr(_))
print(alphabet_big)
for _ in range(a, z+1):
alphabet_small.append(chr(_))
print(alphabet_small)
for _ in reversed(range(a+1, z+1)):
alphabet_small.remove(chr(_))
print(alphabet_small)
9:41 "I'm not a physics guy"
15:10 "-9.8"
Hmmm
hello...your tutorials are extraordinary. can you please create a tutorial on python built-in functions(all built in functions there are 71). i hope you will work on it. thank you.
not know , but just know you've affected my life, and apparently tens of thousands of others, in an imnsely positive way. Thank you
Thanks for awesome lesson
One question Tim. Did you do this video all in one breath? Haha cool video. Coming from a c++ background I don't find any of this hard. It's just hearing about or seeing the name. Awesome video brother thanks
I record each mini section at a time then just splice it all together 👍
@@TechWithTim it was great. I went back and took notes
Another good one from Tim
Tim is surely working on part 2 this very moment
correct!
19:30 why aren't 'a' and 'b' identical? if it were a mutable object you could mutate 'b' and 'a' will mutate aswell
very good tutorial . very clean . i am happy you didn't start digging deep into any specific feature - sotNice tutorialng that happens to too many
Really nice 👍
Awesome Tim!
Truly informative.
Hello TIm! When are you gonna resume the rust tutorial series? Is it done?
Super as usual 👍
Yeah, another vid! Awesome...
Good stuff! 👍
you are the best senpai!
What’s the colour theme?
Cool,thank you
most likely, paying for soft gives you rights to use anytNice tutorialng included with your purchase as well as whatever the distibution rights of any tNice tutorialrd
This is useful.
nice one Tim
Also you put info about hash() on the hasattr function and forgot to add hash() function in the video (there is no hash.py)
Will you continue rust?
hi. what do you think about no code low code?
and if it's future, what about developer's job opportunities? thanks
In my opinion (I'm not an actual (senior) developer, but a junior data scientist) low code will always lag behind actual coding. Python is already a "low-code" type of coding compared to higher level languages such as C, and it will always be easier to maintain, upgrade and keep up to date as low/no code applications. However, low code will be super useful for making quick apps with no technical background, and it will get rid of developers who "picked up" on a little bit of html/css charging ridiculous amount for crappy websites (so pretty much low quality coding), but skilled developers can develop apps with code just as quick as low-code apps can, with a lot more higher maintainability and flexibility.
In short, high-skilled developers have nothing to fear, but the skill floor will become higher, because as a new or low-skilled coder it becomes increasingly difficult to beat low/no-code
I not watch yet but like first 😆
Watch later 😁😁
doesn't bin() bind to dunder index()?
@TechWithTim: Please tell what is that for oval rotating black device in the background ?
It’s my fan!
9:49 theres a mistake, regardless tis an epic video thank you so much
Where?
Oh, you mean the misplaced bracket?
@@chesschad81 no, the entire title is wrong
@@Empathywastaken Oh, wow.
cool thx a lot
lol abs... i thought these functions would solve my life issues
Can you still make money programming? Ai codes for us now
Everyone thinks I'm a cheating student but I'm just a self learning dude in Nigeria...
Tim help!
You'll need to write a function, the function will take a string argument, and will tell the user which characters appeared successively, how many times it appeared and the maximum repetition.
For example, if the argument is "Hello Timmy!!! A better day awaits... brrr!!!"
Then your function should output:
Repeated characters:
l
m
t
r
!
Occurrence: l = 1, t = 1, r = 1, ! = 2
Degree of repetition: l = 2, t = 2, r = 3, !=2
__abs__ not ABC
you haven't explained the codes.... how and when to use other codes.... 😕
where is next()
You forgot a time marker for delattr
Also no marker for help()
I dear you to do a film about all __dunders__ ; )
👍
rarp
I’ve used Pro Tools, Ableton and GarageBand/Logic and soft is pretty confusing compared so thanks for tNice tutorials vid. It’s not as confusing as
To anyone who saw comnts about torrenting it, I would strongly advise against doing that. Pirating a DAW can be a huge fine. Not
OP
Disappointed you didn't show the result of "callable(callable)"
Wow you look like me bruh, have we been twin before, did ma bring u forest to lose
love you men
SECURITY
eval()
Thanks . But you speak very quickly. It hard for me to follow. I am not English mother tongue
No p2?
It’s coming!
what are you doing ?!! the way you explain is showing you don't know whats going on . ex. hasattr() FANCTION how X is in C and Y isn't !! @17:40