Help me in solving PYTH66 problem

My issue

b = 23
r = 45

Update the code below to solve Task-1

if r > b:
print(“Rob Scored higher marks than Bob”)
elif r == b:
print(“Bob & Rob scored the same”)

b = 15
r = 15

if r > b:
print(“Rob Scored higher marks than Bob”)
elif r == b:
print(“Bob & Rob scored the same”)

My code

b = 23
r = 45
# Update the code below to solve Task-1
if r > b:
    print("Rob Scored higher marks than Bob")
elif r == b:
    print("Bob & Rob scored the same")

b = 15
r = 15

if r > b:
    print("Rob Scored higher marks than Bob")
elif r == b:
    print("Bob & Rob scored the same")

Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone

Hi, sherin28. Your code was almost implausible. Your code was good , its just there was an output mismatch , when the question asked you to print “Bob & Rob both scored the same” you shortened it to “Bob & Rob scored the same”. Just a minute mismatch.

Updated Code :

b = 23
r = 45
if r > b:
print(“Rob Scored higher marks than Bob”)
elif r == b:
print(“Bob & Rob scored the same”)

b = 15
r = 15

if r > b:
print(“Rob Scored higher marks than Bob”)
elif r == b:
print(“Bob & Rob both scored the same”)