make calculator 🖩 in python only in 2 lines #python #coding #shorts #viral #learnpython

preview_player
Показать описание
make calculator 🖩 in python only in 2 lines #python #coding #shorts #viral #learnpython
Hey Guys! In this video we will be making a working calculator that works on the terminal.
this 2 line code will help you make a calculator app easily. just some GUI is needed to be added. video with GUI code will be coming soon

here we have used the inbuilt function "eval" for calculating the values

hope you liked the video!
Like and Subscribe for more content!
Рекомендации по теме
Комментарии
Автор

Thats kinda obvious but eval() is pretty dangerous so uhhh

HoShahs
Автор

Sorry, actually the video is made in 4:3 and the answer is not visible when I checked after posting
Sorry for this mistake but try this, it's 100% correct code which gives the answer for the expression
Subscribe for more!

QuestCoder_
welcome to shbcf.ru