Doc1
Doc1
8) + 32
2. def vowelOrConsonant(x):
if (x == 'a' or x == 'e' or
x == 'i' or x == 'o' or x == 'u'):
print("Vowel")
else:
print("Consonant")
vowelOrConsonant('c')
vowelOrConsonant('e')
\
if x == y == z:
print("Equilateral Triangle")
elif x == y or y == z or z == x:
print("Isosceles Triangle")
else:
print("Scalene Triangle")
x=8
y=7
z=9
checkTriangle(x, y, z)
4. (Write a Python program to find those numbers which are divisible by 7 andmultiple of 5,
between 1500 and 2700 (both included))
5. import math
minimum = 100
maximum = 200
if result:
print(*result, sep='\n')
else:
print("No numbers found.")
(Write a Python program to sum of two given integers. However, if the sumis between 15 to 20 it will return 20.)
print(sum(10, 6))
print(sum(10, 2))
print(sum(10, 12))