How to make GUI calculator in python: First install tkinter module in your pydroid IDE ,if you not have pydroid IDE then you can install it from Google play store. Then go in terminal and paste the folowing code: import tkinter from tkinter import* t=Tk() p=IntVar() q=IntVar() def add(): a=p.get() b=q.get() c=a+b l3.config(text=c) l1=Label() l1.pack() e1=Entry(t,textvariable=p) e1.pack() l2=Label(t,text="enter second value") l2.pack() e2=Entry(t,textvariable=q) e2.pack() b=Button(t,text="add",command=add) b.pack() l3=Label(t,text="result") l3.pack() t.mainloop() And then press the run button in pydroid . Your calculator is ready.
Can I learn python programming in Android If you are looking for the answer of questions that can I learn python programming language on Android smartphone. Answer is yes we can learn python on Android. These are following apps for learning python on Android. Apps for learning python in Android: Pydroid 3 Python for mobile Solo learn Qpython Python3 In this post we learn the answer Can i learn python programming in Android?.
Hyperloop Technology: What is hyperloop: Hyperloop is a fast moving vehicle wich can attend a speed of 1000Km/h or more and considered as fastest moving vehicle. Working of hyperloop: It work on principle of magnetic Lavatation and have no air inside it's tube.So no air , no air friction and air pressure and so move faster than any other vehicle.
Comments
Post a Comment