Please help
nam =input('which floor')
usf = int(nam)+ 1
print('usf')
i couldn't understand the mistake here. please help me
2 Answers
4 years ago by Arijit Roy
@Arijit Roy which language?
Could you please add code link?
4 years ago by Karthik Divi
1.In the first line you haven't mentioned the data type so it is depicting that it's a string
2.In the second line try to use (nam(INT)) to convert it to a integer
3.In the third line don't use ' 'as it will print usf instead of nam+1
4 years ago by Komalika Giri