Answer & Explanation:
To print 10 on a line and each number separated by space; you make the following modifications.
print(str(i)+" ",end=' ')
str(i)-> represents the actual number to be printed
" "-> puts a space after the number is printed
end = ' ' -> allows printing to continue on the same line
if(count == 10):
print(' ')
The above line checks if count variable is 10;
If yes, a blank is printed which allows printing to start on a new line;
The modified code is as follows (Also, see attachment for proper indentation)
count = 0
for i in range(100,201):
if(i%6 == 0 and i%5!=0) or (i%5 ==0 and i%6!=0):
print(str(i)+" ",end=' ')
count = count + 1
if(count == 10):
print(' ')
count = 0
Answer:
The answer to this question can be given as:
Statement:
eurasiaSales = add(euroSales, asiaSales);
//calling function and value in variable (eurasiaSales)
Explanation:
In the above statement, we assume that there is an add function that is already declared. In this function, two variable is passed as the parameter, we add two numbers and return its value. Then we declare the main function in the main function we declare a variable that is (eurasiaSales). This variable holds the value of the add function when we call the function.
The correct answer to this open question is the following.
Although there are no options attached we can say the following.
Do earthquakes ever happen in Malaysia?
Yes, they do. And they are very frequent and high in intensity.
For instance, the Sabah earthquake in 2015.
On June 5, 2015, the region of Malaysia was hit by a strong earthquake, 6.0 of magnitude on the Ritcher scale. The telluric movement lasted 30 seconds and caused much destruction.
Experts and scientists confirm that this had been the strongest earthquake since the one presented in 1976.
Answer:
ClamAV is the open source antivirus you can in your Linux machine.
Answer:
c. offers a great deal of network control and lower cost.
Explanation:
A network topology can be defined as a graphical representation of the various networking devices used to create and manage a network.
Compared with a star topology, a hierarchical topology offers a great deal of network control and lower cost.