def reversedigit():
    a = int(input("Enter The Number You Want To Reverse => "))  
    reversed_number = 0
    while (a > 0):  
        remainder = a % 10  
        reversed_number = (reversed_number * 10) + remainder  
        a = a // 10
    print("The Reversed Number is : {}".format(reversed_number))

def pronicnum():
    a = int(input("Enter The number => "))
    f = 0
    for i in range(a):
        if i * (i + 1) == a:
            f = 1
            break
    if f==1:
        print("The Number Is Pronic")
    else:
        print("The Number Is Not Pronic")

def infinitenum():
    x = 0
    while True:
        print (x)
        x+=1

def numbercheck():
    a=int(input("Enter the number you want to check ->"))
    if a>0:
        print("Number Is Positive")
    elif a==0:
        print("Zero")
    else:
        print("Number Is Negative")

def fibonacci():
    a = int(input("Enter The Level Upto Which You Want To Get The Fobonacci Series => "))
    b = 0
    c = 1
    d = 0
    print(b)
    print(c)
    for i in range(1 , a+1):
        d= b+c
        print(d)
        b = c
        c = d

def factorial():
    a = int(input("Enter The Number => "))
    b = 1
    for i in range(1 , a+1):
        b = b*i
    print(f"The Factorial Of {a} is :", b)

def buzznumber():
    a = int(input("Enter The Number Which You Want To Check => "))
    if a % 10 == 7 or a % 7 == 0:
        print("The Number Is a Buzz Number")
    else:
        print("The Number Is Not a Buzz Number")

def biggeroftwonum():
    a = input("Enter The First Number => ")
    b = input("Enter The Second Number => ")
    if a>b:
        print(a, "Is Greater Than", b)
    else:
        print(b, "Is Greater Than", a)

def passdigitverif4():
    a = int(input("Enter The Password => "))
    ab = str(a)
    if len(ab)==4:
        print("You have Entered a 4 Digit Password :", a)
        print("Access Granted")
    else:
        print("You have Entered a Password More Than 4 Digits :", a)
        print("Access Denied")

def swapthenums():
    a=int(input("Enter the first number :-"))
    b=int(input("Enter the second number :-"))
    print("The original value of a is :-" , a)
    print("The original value of b is :-" , b)
    a,b=b,a
    print("The swapped value of a is :-" , a)
    print("The swapped value of b is :-" , b)

def divisible2():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 2 == 0:
        print(f"The Number {a} is Divisible By 2")
    else:
        print(f"The Number {a} is Not Divisible By 2")

def divisible3():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 3 == 0:
        print(f"The Number {a} is Divisible By 3")
    else:
        print(f"The Number {a} is Not Divisible By 3")

def divisible5():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 5 == 0:
        print(f"The Number {a} is Divisible By 5")
    else:
        print(f"The Number {a} is Not Divisible By 5")

def divisible7():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 7 == 0:
        print(f"The Number {a} is Divisible By 7")
    else:
        print(f"The Number {a} is Not Divisible By 7")

def divisible11():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 11 == 0:
        print(f"The Number {a} is Divisible By 11")
    else:
        print(f"The Number {a} is Not Divisible By 11")

def divisible13():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 13 == 0:
        print(f"The Number {a} is Divisible By 13")
    else:
        print(f"The Number {a} is Not Divisible By 13")
def reversedigit():
    a = int(input("Enter The Number You Want To Reverse => "))  
    reversed_number = 0
    while (a > 0):  
        remainder = a % 10  
        reversed_number = (reversed_number * 10) + remainder  
        a = a // 10
    print("The Reversed Number is : {}".format(reversed_number))

def pronicnum():
    a = int(input("Enter The number => "))
    f = 0
    for i in range(a):
        if i * (i + 1) == a:
            f = 1
            break
    if f==1:
        print("The Number Is Pronic")
    else:
        print("The Number Is Not Pronic")

def infinitenum():
    x = 0
    while True:
        print (x)
        x+=1

def numbercheck():
    a=int(input("Enter the number you want to check ->"))
    if a>0:
        print("Number Is Positive")
    elif a==0:
        print("Zero")
    else:
        print("Number Is Negative")

def fibonacci():
    a = int(input("Enter The Level Upto Which You Want To Get The Fobonacci Series => "))
    b = 0
    c = 1
    d = 0
    print(b)
    print(c)
    for i in range(1 , a+1):
        d= b+c
        print(d)
        b = c
        c = d

def factorial():
    a = int(input("Enter The Number => "))
    b = 1
    for i in range(1 , a+1):
        b = b*i
    print(f"The Factorial Of {a} is :", b)

def buzznumber():
    a = int(input("Enter The Number Which You Want To Check => "))
    if a % 10 == 7 or a % 7 == 0:
        print("The Number Is a Buzz Number")
    else:
        print("The Number Is Not a Buzz Number")

def biggeroftwonum():
    a = input("Enter The First Number => ")
    b = input("Enter The Second Number => ")
    if a>b:
        print(a, "Is Greater Than", b)
    else:
        print(b, "Is Greater Than", a)

def passdigitverif4():
    a = int(input("Enter The Password => "))
    ab = str(a)
    if len(ab)==4:
        print("You have Entered a 4 Digit Password :", a)
        print("Access Granted")
    else:
        print("You have Entered a Password More Than 4 Digits :", a)
        print("Access Denied")

def swapthenums():
    a=int(input("Enter the first number :-"))
    b=int(input("Enter the second number :-"))
    print("The original value of a is :-" , a)
    print("The original value of b is :-" , b)
    a,b=b,a
    print("The swapped value of a is :-" , a)
    print("The swapped value of b is :-" , b)

def divisible2():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 2 == 0:
        print(f"The Number {a} is Divisible By 2")
    else:
        print(f"The Number {a} is Not Divisible By 2")

def divisible3():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 3 == 0:
        print(f"The Number {a} is Divisible By 3")
    else:
        print(f"The Number {a} is Not Divisible By 3")

def divisible5():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 5 == 0:
        print(f"The Number {a} is Divisible By 5")
    else:
        print(f"The Number {a} is Not Divisible By 5")

def divisible7():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 7 == 0:
        print(f"The Number {a} is Divisible By 7")
    else:
        print(f"The Number {a} is Not Divisible By 7")

def divisible11():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 11 == 0:
        print(f"The Number {a} is Divisible By 11")
    else:
        print(f"The Number {a} is Not Divisible By 11")

def divisible13():
    a = int(input("Enter The Number You Want To Check => "))
    if a % 13 == 0:
        print(f"The Number {a} is Divisible By 13")
    else:
        print(f"The Number {a} is Not Divisible By 13")