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)
You have to put some info about your sport in the blue area. In the bracketed area.
Answer:
The answer is "False"
Explanation:
It is an extension of domain controller conversion, which allows multiple computers to connect with internet addresses on some kind of LAN. PAT's goal is to keep the IP addresses.
- NAT converts device IP addresses within the same LAN into a single Address. It connects the device to the Internet also uses this address.
- It links the router to a DSL modem, cable modem, line T1 or even a dial-up modem, that's why this statement is false.