Posts

Showing posts from July, 2020

Source code for python programs

How to Setup app-ads.txt file in admob

Image
  AdMob provides a personalized code snippet that makes setting up your app-ads.txt file easier. The customized code snippet includes your publisher ID.  Note that your  publisher ID  must be included and formatted correctly for your app-ads.txt file to be verified.  To get your personalized code snippet, which includes your publisher ID: Sign in to your AdMob account at  https://apps.admob.com . Click  Apps  in the sidebar. Click  All apps . Click the  app-ads.txt  tab. Click  How to set up app-ads.txt .  Click next to the code snippet to copy.  Paste the code snippet into your app-ads.txt file. 

Chess Design in python

from tkinter import * root = Tk() root.geometry("250x450") root.title("Calculater") E1=Entry(root,width=30) E1.grid(column=0,row=0,columnspan=3,padx=10,pady=10) def btn_click(number):     current= E1.get()     E1.delete(0,END)     E1.insert(0,str(current) + str(number)) def btn_clear():     E1.delete(0,END) def btn_add():     x = E1.get()     y = E1.get()     result = E1.get()     #global f_num     #global s_num     global res               #f_num = int(x)    # s_num = int(y)     res=int(result)     E1.delete(0,END)     res = x + y     #E1.insert(0,first_number + second_number == int(result))               #result = E1.get() def btn_minus():     #E1.insert(0,f_num - int(second_number)== result)     E1.delete(0,END)        def btn_equal():     #second_number = E1.get()     E1.delete(0,END)    # res = f_num + s_num     E1.insert(0,res)     #E1.insert(0,f_num + s_num)    # E1.insert(0,f_num - int(second_number)) B1=Button(root,text="1",padx=30,pady=20,command

Popular posts from this blog

Currency converter code for android studio

Login Python Source code

Make your own Jarvis in python