What's the issue in my code?

why in my code it printing Hello as well as welcome to coding blocks?
I know I had not written else in my 8th line of code
but I don’t think that’s linked to it as when I typed 5 that line of code is ain’t even getting read when i typed the number 5.

Using separate if conditions causes multiple outputs; an if-else ladder ensures only one message is printed.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.