The eval() function in Python | Evaluate python expressions

Publié le: 04 novembre 2021
sur la chaîne: trevenue44
1,183
27

eval() is an inbuilt function in python which makes it possible to evaluate expressions; mostly, python expressions. In this video, I'll introduce you to the eval() function in python

Link to article on eval() function: https://realpython.com/python-eval-fu...

Feel free to connect with me on twitter:   / trevenue44  

Check out my medium and hashnode blogging pages. Every now and then, I write articles there on matters I find interesting:
Medium:   / trevenue  
Hashnode: https://trevenue.hashnode.dev

0:00 - Intro
1:27 - Getting Access to the eval()
1:46 - Arguments of the eval()
2:18 - First Argument (Source/Expression)
2:53 - Second Argument (Globals)
3:34 - Local Varibles vs Global Variables
4:07 - Example using both globals and locals
5:26 - Ending Remarks

#Python #Programming #Technology

Photo of calculator by Mahmoud Amer: https://unsplash.com/@mahmoud_amer?ut...

Photo in thumbnail by Hitesh Choudhary: https://unsplash.com/@hiteshchoudhary...


Sur cette page du site, vous pouvez voir la vidéo en ligne The eval() function in Python | Evaluate python expressions durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur trevenue44 04 novembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,183 fois et il a aimé 27 téléspectateurs. Bon visionnage!