computer
show result In scanner class
Attachments:
Answers
Answered by
0
def equilateral():
print("[+] Enter sides in 'cm' only.")
x = int(input("Enter side 1: "))
y = int(input("Enter side 2: "))
z = int(input("Enter side 3: "))
if x == y or y == z or z == z:
print("This is an isocles triangle !")
elif x == y and y == z and x == z:
print("This is an equilateral triangle !")
else:
print("Oops ! an error occured.")
while True:
equilateral()
prakhargurunani:
This is a python program
Similar questions