Which of the following is a correct ternary operator syntax in Python? Select all that apply
Explanation
Ternary operator in Python has the following syntax result = expression_1 if condition else expression_2 For example, big = x if x > y else y

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Python
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты