mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-19 21:19:47 +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…
x
Reference in New Issue
Block a user