def missing_num(lst):
for n in range(1,11):
if n not in lst:
print(n)
lst = (1,3,4,5,6,7,8,9,10)
missing_num(lst)
I hope this helps!
Answer:
C.) A B A
Explanation:
Ternary form, sometimes called song form, is a three-part musical form consisting of an opening section (A), a following section (B) and then a repetition of the first section (A).
Answer:
A) Switch
Explanation:
In Java and most programming Languages, A Switch Statement provides a multi branch statements which provides a more flexible way for transfer of execution to the branch that fulfills the condition of the expressed value. This is a better way of handling if...elseif....else statements. In this way, a variable is tested for equality against some values. Variables used in switch expressions can only be primitives (int, byte, char), enums and strings. A switch statement has
1. A default statement (optional), appears at the end of the switch and acts as the else condition.
2. A break statement which terminates the switch when reached.
The syntax of a switch statement is given below:
switch(expression) {
case x:
// code block
break;
case y:
// code block
break;
default:
// code block
}