Answer:
rsort()
Explanation:
the sorting function is used to sort the elements in the array.
the sorting can be increasing or decreasing, depends on the function used.
let discuss the option:
a. sort()
this is the sorting function, it used to sort the array in ascending order.
b. arsort()
this is also sorting function, it used to sort the associated array in descending order according to the value.
d. asort()
this is also sorting function, it used to sort the associated array in ascending order according to the value.
c. rsort()
this is the sorting function, it used to sort the array in descending order.
Therefore, the correct answer is rsort().
Answer: by using the safe mode
Explanation: to start the computer using the safe mode immediately after the computer is powered on or restarted (usually after you hear your computer beep), tap the F8 key in 1 second intervals.
As a visually disabled person my self (if you want to check it out I have something called Aniridia) I love when websites have tabs easy to identify each category of the website. Additionally, when websites have clear bold titles and not to many words close together (it really do be putting strain on ones eye when that happens so having separated paragraphs is awesome if the website has words) but other than that it’s all I could think of from my POV. Hope this helps you :)
-3–2 I think orange brown green green orange green brown orange brown
Answer:
count = 0
months = 0
years = int(input("Enter the number of years: "))
for year in range(1, years+1):
cars_sold = int(input("Enter the number of cars sold in first six months: "))
count += cars_sold
months += 6
print("Number of months: " + str(months))
print("Number of cars sold in total: " + str(count))
print("Average number of cars sold per month: " + str(count / months))
Explanation:
Initialize the variables
Ask the user for the number of years
Create a for loop that iterates depending on the given number of years
Ask the user for the number of cars sold in the first six months of the year
Increment the count by given number and increment the months by 6 after each iteration
Print the months, count and, average