MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / main

Function main

project_euler/problem_07/sol3.py:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 num+=1
21
22def main():
23 n = int(input('Enter The N\'th Prime Number You Want To Get: ')) # Ask For The N'th Prime Number Wanted
24 print(next(itertools.islice(prime_generator(),n-1,n)))
25
26
27if __name__ == '__main__':

Callers 1

sol3.pyFile · 0.70

Calls 1

prime_generatorFunction · 0.70

Tested by

no test coverage detected