Top answers


Write a program that takes a value x and then outputs x Fibonnaci numbers. E.g. if x=6 output would be 1 1 2 3 5 8

First define a method that takes a value n and prints the nth number in the Fibonacci sequence. E.g. if n=3....fib(n)=2. ## Here this is done by recursion (a method that calls itself).def fib(n): if n<=1:...
PB
Answered by Peter B. • Python tutor
1692 Views

What can I do to prepare myself for an Oxbridge interview?

Firstly, familiarise yourself with your personal statement, there is a possibility that you may be asked a question about something you have specifically mentioned. You should have a general awareness of wha...
SL
1883 Views

How can I centre-align an item horizontally within another element?

To centre-align an element using CSS, we will make the margins either side of the element of equal width. First, ensure that the elements width is set to less than 100%.width: 80%; This is important as other...
DS
4119 Views

How should you structure your personal statement when applying for Medicine?

It is important that your personal statement is personal to you, so while advice is useful it should not be taken as law. Be sure to incorporate your own style when writing your personal statement so that is...
MS
2919 Views

How should I prepare for a theology interview at Oxbridge?

The best practical advice I could give would be to ensure that you know your personal statement inside-out. At Cambridge they tend to give 2 interviews where one of the interviews will focus primarily upon w...
2438 Views