🔥Finding it Damn Hard to Understand Python? Learn to code-the right way-with interactive lessons, quizzes & challenges. Build a strong programming base; it's IMPORTANT! Try Programiz PRO for Free: bit.ly/interactive-py
before watching these video ,i have seen many videos but i did not understand. In this video i got best explanation and now i fully understand about decorators
# This is the dictionry pips = {"Tie":1, "Noah":2, "Ma":3, "rye":4, "Law":5, "shoe":6, "Cow":7, "ivy":8, "Bee":9, "Toe":10} # Request the user pick a number to the associated Key Peg = input(“ pick a number from 1-10 ” + pips [ ]) Print(“This is your associated key ” + peg) #How do you get the associated user input to the dictionry?
Excuse me can i expect reply from anyone??? At 12:26 , As you said inner_function will replace old_function that needed to be decorated, once the code execution reached to line 7 it will call the old_function passed as parameter into decorator_funtion which is replaced by inner_function , means it call itself at line 7 which should have be result infinite recurssion of inline_function?
I enjoyed the tutorial.But I think it would have been easier to grasp the concept if two videos on first class functions and closure were made before this video
hey i do not know what is wrong with this code can you help? (also this is a joke do not enter any true info besides you name and age or whatever you want) the code is below while True: number = float(input("Enter your age here: ")) if number < 90: break while True: name = input("Enter your name: ") print ("Hello", name + " you pumpkin!: ") break while True: gender = input("What is your gender: ") print = ("Hola you esca", gender + " you a smart people: ") break while True: card = input("Please enter your credit card number to continue: ") print ("Is", card + " correct? please redo this whole quiz if wrong: ") break while True: queston = input("Yes or no?: ") break print ("Thanks you for your purchase☺")