Answer:
- common = []
- num1 = 8
- num2 = 24
- for i in range(1, num1 + 1):
- if(num1 % i == 0 and num2 % i == 0):
- common.append(i)
- print(common)
Explanation:
The solution is written in Python 3.
Firstly create a common list to hold a list of the common factor between 8 and 24 (Line 1).
Create two variables num1, and num2 and set 8 and 24 as their values, respectively (Line 3 - 4).
Create a for loop to traverse through the number from 1 to 8 and use modulus operator to check if num1 and num2 are divisible by current i value. If so the remainder of both num1%i and num2%i will be zero and the if block will run to append the current i value to common list (Line 6-8).
After the loop, print the common list and we shall get [1, 2, 4, 8]
Answer:
ICT is a great impact for are daily lives. It can improve the quality of a human life. The reason why it can improve that, it’s because it can be used as a learning and education media, the mass communication media in promoting and campaigning practical and important issues, such as the health and social area.
Explanation:
A <u>Virtual hard disk</u> is a specially formatted file that, once mounted, or connected to a virtual machine appear and operate pretty much identically to a physical hard drive.
<h3>What is a virtual hard disk?</h3>
A virtual hard disk (VHD) is a disk picture file format for storing the entire ranges of a computer's hard drive.
The disk image, sometimes called a virtual machine (VM), duplicates an existing hard drive, including all data and structural elements.
<h3>Why would you count a virtual hard disk?</h3>
Typically, a VHD comes in handy to add additional storage to a Hyper-V virtual machine, and thanks to its capacity to support other OS installations, you can even use this storage virtualization technology to make a dual-boot system without modifying an existing partition.
To learn more about virtual hard disk , refer
brainly.com/question/4733444
#SPJ4
Answer:
name
Explanation:
name =
is an assignment to the variable called 'name'.
There is not necessarily one site we can all go to and get any answers we want, trust me I been trying to find a site that does that but, if you want your questions answered post it on this site.