How do I build a calculator that has square root, sin, cos and tan buttons, using Tkinter? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I build a calculator that has square root, sin, cos and tan buttons, using Tkinter?

A simple calculator would have the numeric buttons and a few operators, I want to add buttons that would help the user find the square root, sine, cosine and tangent of the given number

22nd Dec 2020, 11:49 AM
Ogunleke Samuel Ayomide
Ogunleke Samuel Ayomide - avatar
3 Answers
+ 2
For this you require 3 things - Knowledge of Python [https://www.sololearn.com/learn/Python/2269/] - Problem Solving skills [solve code coaches] - Knowledge of Tkinter [any sites]
23rd Dec 2020, 3:00 PM
LONEWOLF
LONEWOLF - avatar
+ 1
Thank you so much, I have the three, just how to use the math module.
30th Dec 2020, 6:57 PM
Ogunleke Samuel Ayomide
Ogunleke Samuel Ayomide - avatar
0
Ogunleke Samuel Ayomide simply write import math print(help('math'))
31st Dec 2020, 2:05 AM
LONEWOLF
LONEWOLF - avatar