#4 is true
We use pseudocode to help us understand code.
#5 is false
Strings are surrounded by quotes, integers are not.
#6 is 100.
Integers are numbers with no decimal places.
Answer:
list1 = [1, 2, 3]
list2 = [4, 5, 6]
list3 = []
newlist = []
for i in list1:
for j in list2:
if list1.index(i) == list2.index(j):
newlist.append(j)
newlist.append(i)
break
for i in reversed(newlist):
list3.append(i)
print(list3)
Explanation:
The programming language used is python.
List 1 and 2 are initialized, and two empty lists are initialized too, these two lists are going to be used in generating the new list.
Two FOR loops are used for both list one and two respectively, to iterate through their content, the IF statement and the break is placed within the for loop to ensure that there is no repetition.
The index of list 1 and list 2 are appended (added) to a new list one at a time.
The new list is then reversed and its content are added to list 3 to give the final solution.
NOTE: The reason a separate list was created was because the reversed() function does not return a list, so in order to get the list, it must be added to an empty list as you reverse it.
A diminished triad can be indicated by A lower-case Roman numeral and °.
<h3>How do you Know a diminished triad?</h3>
In any diminished triad, the middle and top two notes of the chord are known to be the flattened and shown by the symbol "o" or "dim."
Therefore, A diminished triad can be indicated by A lower-case Roman numeral and °.
See options from below
A diminished triad can be indicated by:
A) A lower-case Roman numeral and °.
B) A lower-case Roman numeral and +.
C) An upper-case Roman number and °.
Learn more about triad from
brainly.com/question/4951751
#SPJ11
Protocol, in computer science, a set of rules or procedures for transmitting data between electronic devices, such as computers. In order for computers to exchange information, there must be a preexisting agreement as to how the information will be structured and how each side will send and receive it.
I don’t know what the question is