The eval() function in Python | Evaluate python expressions

preview_player
Показать описание
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

Check out my medium and hashnode blogging pages. Every now and then, I write articles there on matters I find interesting:

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

Рекомендации по теме