Gwen wants to adjust columns of text that contain money values. The tab in excel in the stop option that should she choose is: "The decimal Tab" (Option C)
<h3>
What is the Decimal Tab?</h3>
A Decimal Tab stop is used to align numbers around a decimal point. The decimal point remains in the same location regardless of the amount of digits.
When using this form of tab stop, the numbers must be aligned around a decimal character.
Learn more about excel:
brainly.com/question/25879801
#SPJ1
By looking at your code, it seems like you're trying to let the user enter positive numbers until the user enters a negative number. To achieve this, you need to indent int(input("Enter a number, negative to stop")) inside the loop.
The second answer choice is correct.
Related Articles. Scanner is a class in java. util package used for obtaining the input of the primitive types like int, double, etc. and strings.
False. As it is common knowledge, it is unnecessary for it to be documented.
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.