Bases: object
object
A class that generates prime numbers up to a given limit.
Generates a list of prime numbers up to the specified limit.
Returns: - list[int]: A list of prime numbers.
Checks if a given number is prime.
Parameters: - num (int): The number to check for primality.
Returns: - bool: True if the number is prime, False otherwise.
Contents: