Greater and less than

Modify the code in the editor to make message_1 equals to "Python is Awesome" and message_2 equals to "Python is Great"

Test Cases

test message 2 - Run Test

def test_message_2():
    assert message_2 == "Python is Great"

test message 1 - Run Test

def test_message_1():
    assert message_1 == "Python is Awesome"

Solution 1

x = 15

if x > 10:
    message_1 = "Python is Awesome"

if x < 20:
    message_2 = "Python is Great"

print(message_1)
print(message_2)
x = ? if x > 10: message_1 = "Python is Awesome" if x < 20: message_2 = "Python is Great" print(message_1) print(message_2)