Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #2)
- x = input()
- y = input()
- if x == y:
- print('True')
- else:
- print("False")
- #Ответ:False
- #3)
- a = int(input())
- b = int(input())
- c = int(input())
- d = int(input())
- print(min(a,b,c,d))
- #Ответ:5
- #4)
- a = int(input())
- b = int(input())
- c = int(input())
- d = int(input())
- print(max(a,b,c,d))
- #Ответ: 30
- #5)
- a = int(input())
- b = int(input())
- c = int(input())
- if max(a,b,c) < a + b + c - max(a,b,c):
- print('True')
- else:
- print('False')
- #Ответ: True
- #6)
- a = int(input())
- b = int(input())
- c = int(input())
- if max(a,b,c) <= a + b + c - max(a,b,c):
- if a == b == c:
- print('равносторонний')
- elif max(a,b,c) >= a + b + c - max(a,b,c):
- print('вырожденный')
- elif a == b or a == c or b == c:
- print('равнобедренный')
- else:
- print('разносторонний')
- else:
- print('не сущ. треугол.')
- #Ответ: вырожденный
- #7)
- a = int(input())
- b = int(input())
- c = int(input())
- d = int(input())
- if max(a,b) < min(c,d):
- print(0)
- else:
- print(max(a,b) - min(c,d) + 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement