OneCompiler

Why it's giving 0/2 cases passed in the bigginner challenge in one compiler while everything is right ?

num1=int(input())
num2=int(input())
num3=int(input())
if num1>num2 and num1>num3:
print('The largest number is',num1)
elif num2>num1 and num2>num3:
print('The largest number is',num2)
else:
print('The larset number is',num3)

2 Answers

4 years ago by

@Aditya Mishra

For the problem Find largest number from given 3 numbers

If you look at the sample input & output. The expected output is just the number, but your current code adding prefix The larset number is

4 years ago by OneCompiler

This is happening with me as well...in Scanning and adding numbers also

4 years ago by Akash Sitoke