Now brings to the next program we talk about using the online compiler for Python is the display of the Fibonacci sequence up to the n, where n is 10 as entered. So here we define the variable and terms as 10. And the first two terms that they were the one I printed accordingly. And then of course, here, I'm not taking an input for another that talks about the display of the terms. Thinking that in view, I run the program. It displays the series for the first 10 numbers is this right and keeping that in view, the end and according to Now the quality of the Fibonacci numbers I talked about some of the last two equals to the third.
So zero plus one is one, but plus one is two plus one is three, three plus two is five and five plus three is eight, eight plus nine is 1313, plus eight is 21. And then of course 21 plus this is 34. So that is what we come display of of this program. The program is talks about the Fibonacci series in a big way. Now, can we see program to display the binary though the hexadecimal equivalent of any given number, say the given number is hundred so we are going to use the functions of x for the job. We run the program accordingly.
We get this thumbs up in binary execute