Why does my test case are not running

2 test cases are not running

you don’t have to solve question in this way

  1. you have to take input from user and the solve the question
  2. don’t print unnecessary things
  3. print exactly same as directed in question

check the code below

Modified Code