From 48cd50279cc8a5e70ac64f922f0a000723ce78d0 Mon Sep 17 00:00:00 2001 From: Juanitoupipou Date: Wed, 27 Nov 2024 16:28:08 +0100 Subject: [PATCH] Fixes on isprothnumber() --- maths/special_numbers/proth_number.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maths/special_numbers/proth_number.py b/maths/special_numbers/proth_number.py index ed4bc1ba8..146e6fc90 100644 --- a/maths/special_numbers/proth_number.py +++ b/maths/special_numbers/proth_number.py @@ -64,9 +64,9 @@ def isprothnumber(number: int) -> bool: :param number: nth number to calculate in the sequence :return: true if number is a Proth number, false etherwise >>> isprothnumber(5) - true + True >>> isprothnumber(34) - false + False >>> isprothnumber(-1) Traceback (most recent call last): ...