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
Зареєструйся Зараз
або Підпишись на майбутні тести