python_math_stat/practica/ucheba.py
2023-09-26 23:36:26 +03:00

40 lines
875 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# x = 5
# y = 10
# print (y > x * x or y >= 2 * x and x < y)
# a = True
# b = False
# print (a and b or not a and not b)
# Не выходит
# a = int (input())
# b = int (input())
# h = int (input())
# if a > 0 and a <= b and b > 0 and b < 100:
# if h >= a and h < b:
# print ('Это нормально')
# elif h < a:
# print ('Недосып')
# elif h >= b:
# print ('Пересып')
# # високосный год
# a = int (input())
# if (a % 4 == 0 and a % 100 != 0):
# print('Високосный')
# elif a % 400 == 0:
# print('Високосный')
# else:
# print ('Обычный')
# A = int(input())
# B = int(input())
# H = int(input())
# if H >= A and H <= B:
# print ('Это нормально')
# elif H <= A:
# print ('Недосып')
# elif H >= B:
# print ('Пересып')