In this video we'll finish our calculator's math buttons using the Python eval() function.
Eval() will take a string and break it apart and evaluate it, ie do the math.
So we don't have to write code for each of the buttons (add, subtract, multiply, divide), eval will take care of all of it for us.
✅ Watch The Kivy Playlist
https://bit.ly/37LrJ27
▶️ Get The Code
https://bit.ly/31QeMjM
✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR
▶️ See More At:
https://Codemy.com
✅ Join My Facebook Group:
http://bit.ly/2GFmOBz
▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube
✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN