Math Calculator Buttons With eval() - Python Kivy GUI Tutorial #19

Words
97
Reading
1 min
Listen
Play
6y

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

Math Calculator Buttons With eval() - Python Kivy GUI Tutorial #19 | Ecency