Answer:
if the input is zero the out put is 1
Explanation:
because if you think about it if the input was 1 the output would be zero
Answer:
Computer ethics is a field of applied ethics that addresses ethical issues in the use, design and management of information technology and in the formulation of ethical policies for its regulation in society.
Answer:
The answer to this question is given in the explanation section. The correct option is long tail
Explanation:
a.Folksonomy
Folksonomy is a way of organizing data and digital content. With Web 2.0, users can collaboratively manage and tag photos, journals and other media. As more users do this, creates a system of classification for the media and information. so this option is not correct
b. long tail (correct option)
Some sites are able to offer services as well in which users can subscribe monthly or pay a fee every so often. An example of this would be Netflix.
c.user participation
All users have the free will to contribute to the site which makes many Web 2.0 pages public. With sites such as Wikipedia, anyone is open to the editing of articles. Information is provided two-way instead of solely from the site owner.
d.application
Web 2.0 applications that allow anyone to create and share online information or material they have created. As you know that there are number of different types of web 2.0 applications including wikis, blogs, social networking, folksonomies, podcasting & content hosting services.
Answer: .com — Commercial businesses.
.org — Organizations (generally charitable).
.net — Network organizations.
.gov — U.S. government agencies.
.mil — Military.
.edu — Educational facilities, like universities.
Explanation:
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.