Top answers

All subjects
All levels

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

Answered by Luca S. Python tutor
1004 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

Answered by Tatiana C. Maths tutor
2890 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? Generall...

Answered by Anna L. English tutor
4075 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 w...

Answered by Chiara W. English Literature tutor
2685 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...

Answered by Romily G. Maths tutor
3172 Views

We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences