Search over 10,000 free study notes
Over a million students use our free study notes to help them with their homework
Top answers
Implement a fibonacci function which calculates the nth number of the fibonacci sequence.
def fib(n): if n <= 1: return n else: return(fib(n-1) + fib(n-2)) This is the code for a very basic version. This coud be used to explain how recursion works thanks to a relatively easy example.
AF
Answered by
Atom F.
•
Python tutor
1818 Views
How do I go about writing my Oxbridge personal statement?
Think about talking to someone about what you want to study at university: what would you say? What have you read, watched, seen or done that has inspired you? This could be anything: something you did at sc...
SB
Answered by
Sophie B.
•
Oxbridge Preparation tutor
1853 Views
How can I prepare for my MMI interviews?
First of all I hope you already know what MMI interviews are, how they are be structured, and which universities you are applying to have this system. Through MMI, the interviewers are looking to see if you ...
HN
Answered by
Helen N.
•
Medical School Preparation tutor
1919 Views
What is the role of research in medicine? Have you read any medical research recently; what was it?
Research is important in all aspects of medicine. It is being used to improve understanding in all aspects of medicine, from direct research into pathology to how best to teach medical students. Take for ins...
NS
Answered by
Nick S.
•
Medical School Preparation tutor
1828 Views
What would output this code? print(hello world)
It would be an error since you can only print a string. To make a string we must have "" or str() print("hello world")
TJ
Answered by
Tanya J.
•
Python tutor
2359 Views
←
72
73
74
75
76
→