Комментарии:
def hello():
print("Hello")
hi = hello
hi()
# say = print
# say("Whoa! I can't believe this works! :O")
love u
ОтветитьThak you!
ОтветитьAwesome !!
ОтветитьTO PRINT THE LIST USING WALRUS OPERATOR, JUST ENCLOSED THE food and the input within parentheses as shown below:
foods = list()
while (food := input("What food do you like?: ")) != "quit":
foods.append(food)
print(foods)
# or...
for food in foods:
print(food)
thx 4 vid bro !
Ответитьthanks you made a great job
ОтветитьThanks
Ответитьthanks bro
ОтветитьAwesome !!
ОтветитьSir how to use it with formatted string -->
code:
def efdot():
bar = "⦾⦿"
index = 0
while True:
print(bar[index % len(bar)], end="\r")
index += 1
time.sleep(0.5)
dot = efdot
var = input(f"{dot}Hello World")
output:
<function efdot at 0x000001B3EA933E20>Hello World
say = print
say("Thank you Bro!")
RThank you bro!
Ответитьthanks it really helped me!!!
ОтветитьThanks!
Ответитьthank you so much, It was so informative
ОтветитьThank you!
ОтветитьThank you
Ответитьas always . the best :)
ОтветитьGreat video
Ответитьiam watching for a few days now, i started at the first video,, but damn i love you vids thank you sir
ОтветитьFor example in tkinter when we type a variable = Tk() it the same thing ??
ОтветитьMore python videos
ОтветитьWow!
ОтветитьThank you!
Ответитьawesome
Ответитьu deserve more then 100 like <3
ОтветитьThank you so much
ОтветитьThanks a lot for these unique videos Bro. I think this method, assigning functions to variables, is how people create new programming languages, right? I understood so.
ОтветитьAwesome video, keep up the great work! :)
ОтветитьDude please add python projects for programmes
Ответить