mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 15:01:08 +00:00
Bring problem_29 solution in line with project style guidelines (#2949)
This commit is contained in:
parent
54401387a8
commit
91ad30c2b0
|
@ -16,7 +16,7 @@ for 2 <= a <= 100 and 2 <= b <= 100?
|
|||
"""
|
||||
|
||||
|
||||
def solution(n):
|
||||
def solution(n: int = 100) -> int:
|
||||
"""Returns the number of distinct terms in the sequence generated by a^b
|
||||
for 2 <= a <= 100 and 2 <= b <= 100.
|
||||
|
Loading…
Reference in New Issue
Block a user