Answer:
they can view if you left the page on the teacher side of the website
Explanation:
i have made a page just for this
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)
Answer:
There are usually three stages to writing a program: Coding. Compiling. Debugging.
The following is not an instance of a character device: <u>mouse sound card.</u>
<h3>What is a char machine?</h3>
Character machines are devices that do not have physically addressable storage media, such as tape purposes or serial ports, where I/O is normally served in a byte stream.
<h3>What are feeling and block devices?</h3>
The block machines access the disk using the system's normal buffering mechanism. The surface devices provide for direct communication between the disk and the user's read or write buffer.
To learn more about Character machines, refer
brainly.com/question/25280941
#SPJ4
Answer:
The program in Python is as follows:
total = 0
count = 0
for i in range(8):
num = float(input())
if num < 10.5:
total+=num
count+=1
print("Average: ",total/count)
Explanation:
This initializes the total to 0
total = 0
This initializes the count to 0
count = 0
This loop is executed 8 times
for i in range(8):
This request for float number
num = float(input())
If input is less than 10.5
if num < 10.5:
The sum is taken
total+=num
And count is incremented by 1
count+=1
The loop ends here
This calculates and prints the average
print("Average: ",total/count)