Answer:
mirrorless cameras have lot more space due to not having mirrors. and they have the same or better quality than DSLR's.
Answer:
- import statistics
- def st_dev(file_name):
- with open(file_name) as file:
- data = file.readlines()
- numList = []
- for x in data:
- numList.append(int(x))
-
- return statistics.pstdev(numList)
- print(st_dev("text1.txt"))
Explanation:
The solution code is written using Python.
To ease the calculation task, we can import Python statistics module to use the pstdev method to calculate the population standard deviation of a list of numbers (Line 1).
Next, create a st_dev function that take single argument file_name (Line 3). In the function, it will open the input file and read the data line by line (Line 4-5). Create a for loop to traverse through each line of the data which is an integer and append it to numList (Line 7-8). We can pass the numList to pstdev method (Line 10) and return the resulting standard deviation value as output.
We test the function by passing a file which hold a list of integer values in each line (Line 12).
8
9
12
11
21
15
16
10
7
13
And the output we shall get is 4.019950248448356
Answer:
ASP.NET ,C#.NET,SQLServer,HTML,JavaScript
Explanation:
To build any web based application we need one presentation layer(HTML)
and for client side scripting JavaScript.
ServerSide ASP.NET Technology and C#.NET to write your business layer
Sql programming to store data in sql server
<em>Computer-based learning (CBL) is the term used for any kind of learning with the help of computers. Computer-based learning makes use of the interactive elements of the computer applications and software and the ability to present any type of media to the users.</em>
(python) Answer:
sum = 0
for i in range 1 to 101:
if i modulo 2 == 0:
sum += i
print(sum)
Explanation:
first we declare the sum variable
then go through all numbers 1 through 100 (range 1 to 101 because python range does not include the last number - if we did 1 to 100 it would look at 1 to 99)
if the number is even (divide by 2, check if there's a remainder, if not it's even and we will add the number to the sum
finally print the sum