What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-27 21:25:09
python odd or even
# Python program to check if the input number is odd or even. # A number is even if division by 2 gives a remainder of 0. # If the remainder is 1, it is an odd number. num = int(input("Enter a number: ")) if (num % 2) == 0: print("{0} i... Add solution -
Html 2022-03-27 15:55:03
how to get html code in selenium python
#_*_coding: utf-8_*_ from selenium import webdriver import time # start web browserbrowser=webdriver.Firefox() # get source codebrowser.get("https://en.wikipedia.org") html = browser.page_source time.sleep(2) print(html) # close web browser br... Add solution -
Python 2022-03-27 15:15:40
button tkinter
from tkinter import * #Creating a win win = Tk() #Giving a Function To The Button def btn1(): print("I Don't Know Your Name") #Creating The Button button1 = Button(win, text="Click Me To Print SomeThing", command=btn1) #put on scree... Add solution