>>> sum(n ** 2 for n in (1, 3, 5)) ** 0.5
5.916079783099616
>>> sum(n ** 2 for n in (1, 3, 5)) ** 0.5
5.916079783099616
numbers = []
for _ in range(3):
numbers.append(int(input("Enter a number: ")))
print(sum(n ** 2 for n in numbers) ** 0.5)
numbers = []
for _ in range(3):
numbers.append(int(input("Enter a number: ")))
print(sum(n ** 2 for n in numbers) ** 0.5)
Last reply 5 minutes ago
Official Cambridge Postgraduate Applicants 2024 ThreadLast reply 19 minutes ago
Official University College London Applicant Thread for 2024Last reply 26 minutes ago
AQA GCSE English Literature Paper 1 (8702/1) - 13th May 2024 [Exam Chat]Last reply 46 minutes ago
Official: University of Bristol A100 2024 Entry ApplicantsLast reply 1 hour ago
2023 ** Borders and Enforcement, Crime & Compliance - ICE - Immigration OfficersLast reply 1 hour ago
Official University of Edinburgh Applicant Thread for 2024Last reply 1 hour ago
Can I do economics degree without a level maths?Last reply 2 hours ago
BAE systems degree apprenticeships September 2024Last reply 2 hours ago
Government Social Research Placement interview questionsLast reply 2 hours ago
Official University of St Andrews Applicant Thread for 2024Last reply 1 week ago
OCR A-level Computer Science Paper 2 (H446/02) - 19th June 2023 [Exam Chat]Last reply 2 weeks ago
AQA A-level Computer Science Paper 1 (7517 1A - 1E) - 12th June 2023 [Exam Chat]Last reply 3 weeks ago
OCR A-level Computer Science Paper 1 (H446/01) - 12th June 2023 [Exam Chat]Last reply 2 months ago
OCR GCSE Computer Science Paper 1 (J277/01) - 19th May 2023 [Exam Chat]Last reply 3 months ago
AQA GCSE Computer Science Paper 2 (8525/2) - 25th May 2023 [Exam Chat]Last reply 5 months ago
AQA GCSE Computer Science Paper 1 (8525/1A, 1B, 1C) - 19th May 2023 [Exam Chat]Last reply 5 months ago
AQA Computer Science NEA and Computer science paper 1 questionLast reply 1 week ago
OCR A-level Computer Science Paper 2 (H446/02) - 19th June 2023 [Exam Chat]Last reply 2 weeks ago
AQA A-level Computer Science Paper 1 (7517 1A - 1E) - 12th June 2023 [Exam Chat]Last reply 3 weeks ago
OCR A-level Computer Science Paper 1 (H446/01) - 12th June 2023 [Exam Chat]Last reply 2 months ago
OCR GCSE Computer Science Paper 1 (J277/01) - 19th May 2023 [Exam Chat]Last reply 3 months ago
AQA GCSE Computer Science Paper 2 (8525/2) - 25th May 2023 [Exam Chat]Last reply 5 months ago
AQA GCSE Computer Science Paper 1 (8525/1A, 1B, 1C) - 19th May 2023 [Exam Chat]Last reply 5 months ago
AQA Computer Science NEA and Computer science paper 1 question