Good video. You have one mistake in your code. At 3:20 you should have used "return orig_func(x,y)".
@maloukemallouke9735
4 ай бұрын
thank you for share but where is the result of 1+7?
@rosariocatania9664
2 ай бұрын
He didn't print the result value in the principal function, so you don't see it
@chiasmsandmorealpersohn5258
4 ай бұрын
As always, well stated and well paced. Thank you!
@lllllMlllll
14 күн бұрын
That is because you are a noob who did not see the obvious mistake. You must be the tailor of his shirt.
@michgingras
2 ай бұрын
this are little tweaks of the language who seem to serve no purpose, they only make things difficult and complicated, lets create a system that does the same thing than the other system, but differently and harder to comprehand ! yea ! the Perk class !
@lllllMlllll
14 күн бұрын
You made a mistake dude. It must be the shirt.
@TaylorsSoftware
12 күн бұрын
My shirt is the decorator function haha!
@em_the_bee
4 ай бұрын
3:18 lul, it's 2024, and Python STILL can't into string interpolation that doesn't make you throw up?
@lilsos6892
4 ай бұрын
idk, print(f"") works flawlessly, idk why he went for that useless shit
@em_the_bee
4 ай бұрын
@@lilsos6892 meanwhile Ruby 20 years ago and to this day: puts "String with #{any_expression}" # notice the lack of random magic numbers and letters
@MrNolimitech
4 ай бұрын
There is a lot of ways. print("{0}, {1}".format(x, y)) print("{x}, {y}".format(x=x, y=y)) print("%s, %s" % (x, y)) print(f"{x}, {y}") => best and most readable! print(x + " " + y) => (might need to put it in str(x), str(y))
@TaylorsSoftware
4 ай бұрын
There are many different ways that Python allows you to concatenate strings and printing. The beauty of Python is that it has variety.
Пікірлер: 14