Add style improvements to Project Euler problem 9 (#3046)

This commit is contained in:
Edward Nuno
2020-10-08 04:21:32 -07:00
committed by GitHub
parent 7d54056497
commit 899870be4c
3 changed files with 14 additions and 12 deletions

View File

@ -1,5 +1,5 @@
"""
Problem Statement:
Problem 9: https://projecteuler.net/problem=9
A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,
@ -12,7 +12,7 @@ Find the product abc.
"""
def solution():
def solution() -> int:
"""
Returns the product of a,b,c which are Pythagorean Triplet that satisfies
the following: