mark and the score will be 0.
Question 1: (2 marks)
The given Q1.py file already contains statements to enter data for the variables a, b, and c. You should write the statements to check a,b, and c whether are 03 sides of the triangle or not. If true then print "1",otherwise print "0".
Hints:
a, b, and c are the lengths of the three sides of the triangle if each value is less than the sum of the others (a<b+c, ba+c, c<a+b)
Notes:
- You can create new functions if you see it is necessary.
- Do not edit given statements in the main function.
Sample input and output:
-Input: a = 1, b = 2, c = 3
FUOVERFLW.COM
Output for marking:
OUTPUT:0
-Input: a = 4, b = 5, c = 6
Output for marking:
OUTPUT:
1
UOVERFLOW.C