@@ -0,0 +1,1291 @@
+%22%22%22%0A== Pronic Number ==%0AA number n is said to be a Proic number if%0Athere exists an integer m such that n = m * (m + 1)%0A%0AExamples of Proic Numbers: 0, 2, 6, 12, 20, 30, 42, 56, 72, 90, 110 ...%0Ahttps://en.wikipedia.org/wiki/Pronic_number%0A%22%22%22%0A%0A# Author : Akshay Dubey (https://github.com/itsAkshayDubey)%0A%0A%0Adef is_pronic(number: int) -%3E bool:%0A    %22%22%22%0A    # doctest: +NORMALIZE_WHITESPACE%0A    This functions takes an integer number as input.%0A    returns True if the number is pronic.%0A    %3E%3E%3E is_pronic(-1)%0A    False%0A    %3E%3E%3E is_pronic(0)%0A    True%0A    %3E%3E%3E is_pronic(2)%0A    True%0A    %3E%3E%3E is_pronic(5)%0A    False%0A    %3E%3E%3E is_pronic(6)%0A    True%0A    %3E%3E%3E is_pronic(8)%0A    False%0A    %3E%3E%3E is_pronic(30)%0A    True%0A    %3E%3E%3E is_pronic(32)%0A    False%0A    %3E%3E%3E is_pronic(2147441940)%0A    True%0A    %3E%3E%3E is_pronic(9223372033963249500)%0A    True%0A    %3E%3E%3E is_pronic(6.0)%0A    Traceback (most recent call last):%0A        ...%0A    TypeError: Input value of %5Bnumber=6.0%5D must be an integer%0A    %22%22%22%0A    if not isinstance(number, int):%0A        raise TypeError(f%22Input value of %5Bnumber=%7Bnumber%7D%5D must be an integer%22)%0A    if number %3C 0 or number %25 2 == 1:%0A        return False%0A    number_sqrt = int(number**0.5)%0A    return number == number_sqrt * (number_sqrt + 1)%0A%0A%0Aif __name__ == %22__main__%22:%0A    import doctest%0A%0A    doctest.testmod()%0A

Add pronic number implementation (#7979)