Challenge: 2 "3000 Points"

Desired output: Apply changes ONLY to the first 2 lines of code so that it prints “Correct”
 avatar
user_4476291
python
a year ago
182 B
10
Indexable
### Challenge: 2 "3000 Points"

x = [5, 1, 7, 0, 3, 4, 7]
a = x.indexof(7)
b = 5
if a < b:
    print("Try Again")
elif a > b:
    print("Correct")
else:
    print("ABCD")
Leave a Comment