• ПРМОГИИТЕ!!!ОЧЕНЬ НАДО!!С ПОМОЩЬЮ ПРОГРАММЫ ПИТОН НАДО ВЫПОЛНИТЬ!!

    question img

Ответы 1

  • import math

    def a():  # задача А

       x = float(input('x = '))

       y = float(input('y = '))

       if x <= 2 and y <= x and 4 <= (x * x + y * y):

           print('Yes!')

       else:

           print('No!')

    a()

    def b():  # задача Б

       x = float(input('x = '))

       y = float(input('y = '))

       if (x >= 0) and (x <= math.pi) and (y <= math.sin(x)) and (y <= 0.5):

           print('Yes!')

       else:

           print('No!')

    b()

    def c(): # задача В

       x = float(input('x = '))

       y = float(input('y = '))

       if (y <= (2 - x * x)) and ((y >= x) or (x >= 0)):

           print('Yes!')

       else:

           print('No!')

    c()

    • Автор:

      patty
    • 6 лет назад
    • 0
  • Добавить свой ответ

Войти через Google

или

Забыли пароль?

У меня нет аккаунта, я хочу Зарегистрироваться

How much to ban the user?
1 hour 1 day 100 years