Mahasena Program

i have been doing the Mahasena program
was facing a syntactical error
i am not sure what does it mean
Error given :
Traceback (most recent call last):
File “./prog.py”, line 8, in
ValueError: invalid literal for int() with base 10: ‘11 12 13 14’
Also after running the programs on ide for some other problem there is something like internal errors coming
it does not show me any output or any “ERROR” box
What am i supposed to do???

1 Like

This is because you are trying to convert the string ‘11 12 13 14’ into int. You will need to first split the string

1 Like
//