Here is code for a python program that reads three nonzero integer values and determines and prints whether they could represent the sides of a triangle.
# Python program that reads in an integer and determines whether or not it’s a palindrome
a = int(input("Enter first side: "))
b = int(input("Enter second side: "))
c = int(input("Enter third side: "))
if a + b > c and b + c > a and c + a > b:
print("The given sides are of a triangle.")
else:
print("The given sides are not of a triangle.")
# This code is contributed by Ahmad Shafiq