Largest Among Three Numbers in Python.
print("Enter the Three Numbers ::")
x = int(input())
y = int(input())
z = int(input())
if x>y and x>z:
print(x, " is largest")
elif y>x and y>z:
print(y, " is largest")
else:
print(z, " is largest")
OUTPUT
12
15
50
50 is largest
from tkinter import *
from tkinter.ttk import *
window = Tk()
window.title("Welcome to Coding Block!")
window.geometry('350x200')
comb = Combobox(window)
comb['values']= ("Python","C++" , "Android", "C", "Java", "JavaScript")
comb.current(0)
comb.grid(column=0, row=0)
window.mainloop()
No comments:
Post a Comment
Please do not any spam link in Comment Box