Answer:
def printRange(start, stop, steps = 1):
list1 = []
if steps > start or stop:
print("Steps is larger than start and stop value")
return None
if int(start) < int(stop):
while start < stop:
start = start + int(steps)
list1.append(start)
print(list1)
elif start > stop:
while start > stop:
stop = stop + int(steps)
list1.append(stop)
print(list1)
elif start == stop:
print(start)
else:
print("Values are not integers.")
for easier viewing:
https://www.codepile.net/pile/e95verLk
If you need help understanding comment below.
Since you did not specify a language i am assuming C
void x10(int n){
printf("%d \n",n*10);
return;
}
Answer:
Technology affects the way individuals communicate, learn, and think. It helps society and determines how people interact with each other on a daily basis. Technology plays an important role in society today. It has positive and negative effects on the world and it impacts daily lives. We are living in an era where technological advances are common. The internet and cell phones are some examples. However, with technological advances, there’s a downside to it all.
1. Upgrading RAM increases run speed.
2. Upgrading Hard Drive increases memory.
3. Adding more ROM to it..?
Answer: the answer is c
Explanation:in general, the merges and splits in hierarchical clustering are determined in a greedy manner