There are 101 keys on a microsoft windows standard keyboard
Instance
-------------------------
Answer:
What is your question?
Explanation:
We need a question to be able to help you...
Last 2012,
there was a virus which infected millions of chicken. It was known as Avian
influenza or bird flu. It resulted to scarcity of eggs. As the law of supply
and demand states, there is an effect on the price of a product depending on
its availability. If there is a low supply and a high demand, there is an
increase in price and vice versa.
Answer:
see explaination for program code
Explanation:
scalar_product = 0
li=[]
li2=[]
#reading numbers1.txt and numbers2.txt intoli and li2 respectively
with open('numbers1.txt') as n1, open('numbers2.txt') as n2:
for line1 in n1:
li.append(int(line1))
for line2 in n2:
li2.append(int(line2))
#storing min list size into variable l
a=len(li)
b=len(li2)
if a<b:
l=a
else:
l=b
#calculating scalar product
for i in range(l):
scalar_product=scalar_product+li[i]*li2[i]
print("scalar product is",scalar_product)