n=5
s=0
for i in range(1,n+1):
# adding cube sum using pow() function
s=s+pow(i,3)
print(s)
def prime(x, y):
prime_list = []
for i in range(x, y):
if i == 0 or i == 1:
continue
else:
for j in range(2, int(i/2)+1):
if i % j == 0:
break
else:
prime_list.append(i)
return prime_list
starting_range = 2
ending_range = 7
lst = prime(starting_range, ending_range)
if len(lst) == 0:
print("There are no prime numbers in this range")
else:
print("The prime numbers in this range are: ", lst)
def findArea(r):
PI = 3.142
return PI * (r*r);

# Driver method
print("Area is %.6f" % findArea(5));
def power(x, y):

if y == 0:
return 1
if y % 2 == 0:
return power(x, y // 2) * power(x, y // 2)

return x * power(x, y // 2) * power(x, y // 2)

def order(x):

# Variable to store of the number
n = 0
while (x != 0):
n = n + 1
x = x // 10

return n

def isArmstrong(x):

n = order(x)
temp = x
sum1 = 0

while (temp != 0):
r = temp % 10
sum1 = sum1 + power(r, n)
temp = temp // 10

# If condition satisfies
return (sum1 == x)

# Driver code
x = 153
print(isArmstrong(x))

x = 1253
print(isArmstrong(x))
import math

def isPerfectSquare(x):
s = int(math.sqrt(x))
return s*s == x

def isFibonacci(n):

# n is Fibonacci if one of 5*n*n + 4 or 5*n*n - 4 or both
# is a perfect square
return isPerfectSquare(5*n*n + 4) or isPerfectSquare(5*n*n - 4)

for i in range(1, 11):
if (isFibonacci(i) == True):
print(i, "is a Fibonacci Number")
else:
print(i, "is a not Fibonacci Number ")
star

Fri Dec 30 2022 11:45:33 GMT+0000 (Coordinated Universal Time) https://www.mathsassignmenthelp.com/

#mathassignmenthelp #takemymathexam #university #education #tutor #academic
star

Mon Dec 19 2022 11:36:31 GMT+0000 (Coordinated Universal Time) https://www.pythonhomeworkhelp.com/python-homework-helper

#python #pythonhomework #education #programming #programminghomework #university #students
star

Mon Dec 19 2022 11:12:10 GMT+0000 (Coordinated Universal Time) https://www.pythonhomeworkhelp.com/best-python-exam-help-from-experienced-experts

#python #pythonexam #exam #education #programming #programmingexam #university #students
star

Mon Dec 19 2022 11:00:46 GMT+0000 (Coordinated Universal Time) https://www.pythonhomeworkhelp.com/do-my-python-homework

#python #pythonhomework #education #programming #programminghomework #university #students
star

Mon Dec 19 2022 10:56:34 GMT+0000 (Coordinated Universal Time) https://www.pythonhomeworkhelp.com/

#python #pythonhomework #education #programming #programminghomework #university #students
star

Wed Dec 14 2022 09:53:44 GMT+0000 (Coordinated Universal Time) https://www.liveexamhelper.com/take-my-engineering-exam.html

#education #study #studytips #takemy engineering exam #university
star

Wed Dec 14 2022 09:53:42 GMT+0000 (Coordinated Universal Time) https://www.liveexamhelper.com/take-my-nursing-exam.html

#education #study #studytips #takemy nursing exam #university
star

Wed Dec 14 2022 09:53:40 GMT+0000 (Coordinated Universal Time) https://www.liveexamhelper.com/take-my-math-exam.html

#education #study #studytips #takemy math exam #university
star

Wed Dec 14 2022 09:53:38 GMT+0000 (Coordinated Universal Time) https://www.liveexamhelper.com/physics-exam-help.html

#education #study #studytips #takemy physics exam #university
star

Wed Dec 14 2022 09:53:31 GMT+0000 (Coordinated Universal Time) https://www.liveexamhelper.com/take-my-accounting-exam.html

#education #study #studytips #takemy accounting exam #university
star

Wed Dec 14 2022 09:50:03 GMT+0000 (Coordinated Universal Time) https://www.liveexamhelper.com/

#education #study #online #onlineexamhelp #examhelp #university #liveexamhelp
star

Fri Nov 25 2022 12:10:45 GMT+0000 (Coordinated Universal Time) https://www.solidworksassignmenthelp.com/solidworks-project-helpers/

#education #assignment #homework #student #study #university #python #programming
star

Fri Nov 25 2022 12:10:42 GMT+0000 (Coordinated Universal Time) https://www.solidworksassignmenthelp.com/do-my-solidworks-assignment/

#education #assignment #homework #student #study #university #python #programming
star

Fri Nov 25 2022 12:10:38 GMT+0000 (Coordinated Universal Time) https://www.solidworksassignmenthelp.com/do-my-solidworks-assignment/

#education #assignment #homework #student #study #university #python #programming
star

Fri Nov 25 2022 12:10:32 GMT+0000 (Coordinated Universal Time) https://www.solidworksassignmenthelp.com/solidworks-homework-help/

#education #assignment #homework #student #study #university #python #programming
star

Fri Nov 25 2022 12:04:20 GMT+0000 (Coordinated Universal Time) https://www.solidworksassignmenthelp.com/

#education #assignment #homework #student #study #university #python #programming
star

Fri Nov 25 2022 12:01:06 GMT+0000 (Coordinated Universal Time) https://www.solidworksassignmenthelp.com/

#education #assignment #homework #student #study #university #solidworks #soldiworksassignmenthelp
star

Fri Nov 18 2022 12:04:47 GMT+0000 (Coordinated Universal Time) https://statisticsassignmenthelp.com/

#statisticsassignmenthelp #statisticsassignmenthelper #domystatisticsassignment #takemystatisticsexam #university #academic #tutor #education
star

Sat Nov 05 2022 06:35:23 GMT+0000 (Coordinated Universal Time) https://www.lawhomeworkhelp.com/

#lawhomeworkhelp #education #hoework #students #university
star

Sat Oct 29 2022 09:41:59 GMT+0000 (Coordinated Universal Time) https://www.statisticshomeworkhelper.com/spss-assignment/

#spsshomeworkhelp #statisticshomeworkhelp #onlinehomeworkhelp #education #homework #university #students
star

Sat Oct 29 2022 09:41:00 GMT+0000 (Coordinated Universal Time) https://www.statisticshomeworkhelper.com/

#statisticshomeworkhelp #onlinehomeworkhelp #education #homework #students #university
star

Fri Oct 28 2022 11:29:06 GMT+0000 (Coordinated Universal Time) https://www.lawhomeworkhelp.com/

#education #lawhomeworkhelp #onlinehomeworkhelp #university #students