+ 1
Ian facing an elf error in line three what to do to solve this
name = input() sem1 = int(input()) sem2= int(input())# this line shows error how to solve it #your code goes here avg = (sem1+sem2)/2 if (avg>=0 and avg<=69): print(0) elif (avg>=70 and avg<=79): print(10) elif (avg>=80 and avg<=89): print(30) elif (avg>=90 and avg<=100): print(50)
2 Respostas
+ 12
Give input like this
Name
100
200
Not like this in one line
Name 100 200 --> it's wrong way
Beacuse in Sololearn you give input line by line
+ 4
There is no error please note the code require 3 input, you should enter them at the start separated by new line try this input
Name
50
90