Answer:
def sum_cubes(n):
if n == 1:
return 1
else:
return n * n * n + sum_cubes(n-1)
print(sum_cubes(3))
Explanation:
Create a function called sum_cubes that takes one parameter, n
If n is equal to 1, return 1. Otherwise, calculate the cube of n, and add it to the sum_cubes function with parameter n-1
If we want to calculate the cubes of the first 3 numbers:
sum_cubes(3) = 3*3*3 + sum_cubes(2)
sum_cubes(2) = 2*2*2 + sum_cubes(1)
sum_cubes(1) = 1
If you substitute the values from the bottom, you get 27+8+1 = 36
Answer:
Presentations are commonly projected onto a whiteboard a large screen.
Slides can also be printed out onto clear acetate and used with a overhead projector (0HP) to project the contact onto a screen. If this method is used each acetate side usually has to be replaced my newly.
Presentations can also be set up to play through a large did you go display in reception areas of the hotels, schools, businesses etc.
We need the options to be able to help.
DSL - DSL stands for Digital Subscriber Line. This technology came after the Dial Up technology for connecting to the Internet. The big disadvantage of Dial-up technology was that when you were talking on the phone, you could not use the Internet and vice-versa. However, although DSL technology used the regular telephone line , it worked on frequencies different from the telephone. So you could use the phone and the Internet at the same time.