write a programme in python3 A power jumper who can jump only in forward and backward direction, increases his strength every time he takes a jump. When he takes consecutive jumps in the forward direction, he starts with a unit distance jump and for every next jump in the forward direction, he gains strength which is the distance covered from his previous two jumps. The jumper can jump only 1 unit in backward direction at any point if needed, however he will lose all his strength on changing directions. The power jumper is standing in a lane having a wall at its start and end. If N is the length of the lane and X is the distance that he must reach, your task is to return the number of jumps he must take to reach X units, if he is at the start of the lane i.e., Oth unit and starts jumping consecutively Input Specification: input1: An integer value N denoting the length of lane input2: An integer value X denoting the distance that he must : Output Specification: Return the number of jumps he must take to reach distance X
Answers
Answered by
0
Answer:
Tati hai board class 1 class achi hai mar ja to tera dusra Janam ho or tu 6 sall bad 1 class me aajayga ¢€×#₹@ Hacker Hacker ahhhhhhhhhhldjkdoddey(TT)(TT)(TT)(TT)(TT)(TT)(TT)(TT)
Similar questions