Answer:
nums = []
while True:
in = input()
if in:
nums.append(in)
else:
break
if nums:
avg = sum(nums) / len(nums)
for i in range(len(nums)):
if nums[i] == avg:
print(f"index: {i+1}")
print(nums[i])
else:
print(-1) # if there aren't any values in nums
Explanation:
Assuming that you are coding in Python 3x. The last 'else' statement is an edge case that you might want to consider, I don't know what you want to put there, but I'm just going to leave it as -1.
The user interface (correct answer is a)
In the context of computer crimes, those who attempt to destroy the infrastructure components of governments and financial institutions are known as <u>d. cyber terrorists</u>.
<u>Explanation</u>:
Cyber crime means crime committed with the help of computer and internet. Cyber terrorism means crime that causes damage to infrastructure components of financial institutions and government office and causes threat to the society.
Cyber terrorists are person who involve in cyber terrorism. The systems used in the governments and financial institutions should be protected with hardware and software to avoid cyber terrorism.
This kind of cyber terrorism is very dangerous, as they hack the system and destroy the valuable information stored in it.
Answer:
DHTML (Dynamic HTML) is a collection of a few different languages
Explanation:
Dynamic HTML is a collection of HTML, DOM, JavaScript, and CSS.
It allows for more customizability than regular HTML. It allows scripts (JavaScript), webpage styling (CSS), manipulation of static objects (DOM), and building of the initial webpage (HTML).
<em>Since the question is incomplete, I'm not really sure what all you need answered - please leave a comment if you would like something else explained. :)</em>