Top answers

All subjects
Mentoring

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 ex...

AF
Answered by Atom F. Python tutor
1312 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...

SB
1276 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 y...

HN
1428 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 ...

NS
1163 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
1661 Views

We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences