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:
many forms
Explanation:
Polymorphism is a construct in object oriented programming which means multiple forms.For example: Suppose I have a function which performs the add operation on two integers and another function with the same name which concatenates 2 given strings:
- string add ( string a , string b)
The two functions represent polymorphic forms of the add function. The function to be invoked at runtime is determined by the runtime argument type.
For example , add (2,3) will invoke int add ( int a, int b);
Similarly, add("hello","world") will invoke string add ( string a , string b);
Answer:
The failsafe method when facial recognition method is unavailable is the Personal Identification Number (PIN) method.
Explanation:
The Personal Identification Number (PIN) option is available for setup for cases when other biometric authentication methods fail due to several reasons.
Answer: not sure if you can
Explanation: idk if you can but if you wanna get a good answer try searching up on google hope i helped!
Answer:
DHTML (Dynamic HTML) is a collection of a few different languages
Explanation:
Dynamic HTML is a collection of HTML, DOM, JavaScript, and CSS.
It allows for more customizability than regular HTML. It allows scripts (JavaScript), webpage styling (CSS), manipulation of static objects (DOM), and building of the initial webpage (HTML).
<em>Since the question is incomplete, I'm not really sure what all you need answered - please leave a comment if you would like something else explained. :)</em>