Answer:
<em>This program is written in python programming language.</em>
<em>The program is self explanatory; hence, no comments was used; However, see explanation section for line by line explanation.</em>
<em>Program starts here</em>
length = float(input("Length of small cube: "))
volume = 27 * length**3
print("Volume: "+(str(volume)))
Explanation:
The first line of the program prompts the user for the length of the small cube;
length = float(input("Length of small cube: "))
The volume of the 27 identical cubes is calculated on the next line;
volume = 27 * length**3
Lastly, the calculated volume of the 27 cubes is printed
print("Volume: "+(str(volume)))
Answer:
Direction can be applied to both animations and transitions
Explanation:
Answer:
D
Explanation:
snowflakes cant dance.Its a human things.
Answer:
void shout(String w) {
System.print.out(w + "!")
}
Answer:
The python expressions are given in the explanation section
The comments specifies each sub-question
Explanation:
#The sum of the first seven positive integers
sum =0
for i in range(1,8):
sum +=i
print(sum)
#The average age of Sara (age 65), Fatima (57), and Mark (age 45)
Sara_Age = 65
Fatimah_Age = 57
Mark_Age = 45
Average_Age = (Sara_Age+Fatimah_Age+Mark_Age)/3
print(Average_Age)
# 2 to the 20th power
num = pow(2,20)
print(num)
#The number of times 61 goes into 4356
num_times = 4356/61
print(num_times)
#The remainder when 4365 is divided by 61
remainder = 4365%61
print(remainder)