Before the use of technology such as computers, information was documented through papers separated in folders. This was a very long and complicated process as people would have to find information by hand, sorting through countless documents. Now, it is much easier and neater to keep information. It can be as easy as digitally searching for someone's name and the computer will sort through countless documents, finding the one you need almost instantly. It is also much less wasteful and safe, as before computers, the use of paper was the only way to permanently keep information, also making documents vulnerable to being lost or stolen.
<h2>Solution :</h2>
The given problem is solved in Python.
def ComputeSquare():
side = float(input('Enter the side of the square: '))
if side > 0:
perimeter = 4 * side
area = side * side
print('Perimeter of the square is:',
perimeter, 'unit.')
print('Area of the square is:', area, 'square unit.')
<h3> else:</h3>
print('Invalid input.')
ComputeSquare()
<h2>Explanation :-</h2>
- In this program, we create a function ComputeSquare() to calculate the perimeter and area of a square.
- The function asks the user to enter the side of the square. The side is then stored in a variable.
- Now, we check whether the side is greater than 0 or not using if-else statement.
- If the condition is true, the perimeter and area is calculated which is displayed using print() statement.
- If the condition is false, the else blocks executes printing the error message.
<h3>Refer to the attachment for output.</h3>
- Mediante la tecnología se han implementado el uso de medios de transporte como los "coches verdes" o eléctricos que contribuyen a disminuir la producción de gases contaminantes atmosféricos.
A través de la ciencia y la biotecnología se ha avanzado en el campo de la purificación del aire algunas de las herramientas que actualmente se están utilizando son:
- La biofiltraccion del aire que se realiza a través de macroporos de material filtrante por donde se filtran los compuestos orgánicos e inorgánicos atmosféricos. También es posible realizar la biodepuracion del aire con plantas purificantes y ornamentales.
- El uso de las paredes arbóreas cubiertas de musgo ha permitido que en algunas ciudades como París y Berlín mejore la calidad del aire,ya que el musgo se caracteriza por su gran capacidad para filtrar contaminantes del aire como las partículas y los óxidos de nitrógeno ya que los convierte en purificadores naturales ideales para el medio ambiente.
Lo anterior son algunos de los grandes avances que ha tenido la ciencia y la tecnología para lograr mejorar la calidad del aire y por consiguiente la calidad de vida de las personas.
Puedes encontrar mas información sobre este tema en el siguiente enlace:
brainly.com/question/1400149
Answer:
The program written in Python is as follows:
<em>See Explanation section for line by line explanation</em>
for n in range(100,1000):
isum = 0
for d in range(1,n):
if n%d == 0:
isum += d
if isum == n * 2:
print(n)
Explanation:
The program only considers 3 digit numbers. hence the range of n is from 100 to 999
for n in range(100,1000):
This line initializes sum to 0
isum = 0
This line is an iteration that stands as the divisor
for d in range(1,n):
This line checks if a number, d can evenly divide n
if n%d == 0:
If yes, the sum is updated
isum += d
This line checks if the current number n is a double-perfect number
if isum == n * 2:
If yes, n is printed
print(n)
<em>When the program is run, the displayed output is 120 and 672</em>
Answer:
C
Explanation:
This is the easiest, quickest, and least destructive method.