Answer:
KEHSJAHSJAJAJ this is me I am not stealing ajjshe jwjsbsh I am cool. not you
I am gangster here. not you
Answer:
That's a really nice question sadly I don't know the answer I'm replying to you cuz I'm tryna get points so... Sorry
Answer:
<em>Written in Python</em>
def SumN(n):
total = 0
for i in range(1,n+1):
total = total + i
print("Total: ",total)
def SumNCubes(n):
total = 0
for i in range(1,n+1):
total = total + i**3
print("Cube: ",total)
n = int(input("User Input: "))
if n > 0:
SumN(n)
SumNCubes(n)
Explanation:
The SumN function is defined here
def SumN(n):
This line initializes the total to 0
total = 0
The following iteration compute the required sum
<em> for i in range(1,n+1):
</em>
<em> total = total + i
</em>
This line outputs the calculated sum
print("Total: ",total)
The SumNCubes function is defined here
def SumNCubes(n):
This line initializes the total to 0
total = 0
The following iteration compute the required sum of cubes
<em> for i in range(1,n+1):
</em>
<em> total = total + i**3
</em>
This line outputs the calculated sum of cubes
print("Cube: ",total)
The main starts here; The first line prompts user for input
n = int(input("User Input: "))
The next line checks if input is greater than 0; If yes, the two defined functions are called
if n > 0:
SumN(n)
SumNCubes(n)
Answer:
Following are the solution to the given question:
Explanation:
The material is necessary to cook since frying is a speedy process for evaporation.
Drug A is now in the compressed fluid area, and the material would not boil if the pressure is chilled. Because the ship is solid, its substance A claim is false.
Unless the volume comprises of a drop in the heat, the B substance reaches a vapor pressure area and a wet region. That's the area that melting may occur. His claim for material B could therefore be true.