import Functions

'''
----------- Factorial -------------
x = int(input("Enter the first value: "))
y = int(input("Enter the second value: "))
u = int(input("Enter the third value: "))
v = int(input("Enter the fourth value: "))

z = (fact(x) + fact(y)) / (fact(u) + fact(v))
print(z)


------------ Sum of 2 numbers --------------

# For sum without arg
sum1()

# For sum with arg
x = int(input("Enter the first num: "))
y = int(input("Enter the second num: "))
sum(x + y)

# For sum without arg but with return type
c = sum3()
print(c)

# For sum with arg and return type
x = int(input("Enter the first num: "))
y = int(input("Enter the second num: "))
z = sum(x, y)
print(z)

------------------- using it as a library -----------------

x = int(input("Enter the first num: "))
y = int(input("Enter the second num: "))

z = Functions.diff(x, y)
print(z)

------------ sum of natural numbers -----------
n = int(input("Enter the value of n: "))
Functions.sum_natural(5)

----------- Mean of a given list -----------
mean = Functions.myMean([5, 10, 15])
print(mean)

----------- Change the string -----------
s = "Python"
Functions.string(s)

---------- Change a tuple -----------------
marks = (54, 62, 79, 86, 35)
print("Initial tuple:", marks)
Functions.change_tup(marks)
print("Final tuple:", marks)

--------- Volume of a cuboid --------
v1 = Functions.vol_cub(2, 4, 5)
v2 = Functions.vol_cub(2, 4)
v3 = Functions.vol_cub(2)
v4 = Functions.vol_cub()

------------ Full name -------------
f = "Prithvi"
l = "Sathish"
Functions.full_name(f, l)

-------- Using global variables ---------
a, b, x, y = 1, 2, 3, 4
globe_value(50, 100)
print(a, b, x, y)
'''

