Search over 10,000 free study notes
Over a million students use our free study notes to help them with their homework
Top answers
Ask the user for a number and output the smallest divisor, bigger than one, for the inputted number. Output "Prime" if the number is a prime number.
num = int(input("Enter a number: ")) if num < 0: print("The number can't be less than 0.") else: div = 1 found_divisor = False while div <= num and not found_divisor: div += 1 if nu...
LS
Answered by
Luca S.
•
Python tutor
1403 Views
Expand 2a (4 + a)
To expand is just to multiply out. We will multiply everything inside the bracket by everything inside so it becomes 2a x 4 + 2a x a Then we use bidmas to get: 8a + 2a^2
TC
Answered by
Tatiana C.
•
Maths tutor
4328 Views
How would you analyse 'narrative voice' in poetry/fiction?
Narrative voice is, to put it simply, the perspective from which the story is told. Henry James called this the 'center of consciousness'. Firstly, ask yourself: who is giving voice to the story? Generally, ...
AL
Answered by
Anna L.
•
English tutor
5460 Views
What if I don't know where to start with an unseen?
Remember that you have time to contemplate the question, re and then re-read the extract and get over that initial panic. Breaking the question up and then trying to put it into your own words is a good way ...
CW
Answered by
Chiara W.
•
English Literature tutor
3658 Views
Find the equation of the line that passes through (2, 4) and (7, -11)
Step 1) Write out the general equation of a straight line: y = mx + c where m is the gradient and c is where the line intersects the y-axis. Step 2) Find the gradient: m = change in y / change in x, m = (-11...
RG
Answered by
Romily G.
•
Maths tutor
4172 Views
←
58
59
60
61
62
→