This is for Python
numbers = [7, 3, 6, 9, 0]
print(numbers.sort())
Output: [0, 3, 6, 7, 9]
numbers = [7, 3, 6, 9, 0]
print(numbers.sort(reverse = True))
Output: [9, 7, 6, 3, 0]
num = float(input('Enter a number: '))
if num > 45.6:
print('Greater than 45.6')
I wrote my code in python 3.8. I hope this helps.
Go to panel and select stylesheet. Hope this helped:)
Answer:
2
Explanation:
The output of the Java program is 2. The public Vehicle class is defined with the class variable 'counter'. When a Vehicle class object is instantiated, the counter variable increments by one.
In the program, the two instances of the class are created, incrementing the counter variable to two, the print statement outputs 2 as the result of the program.
Explanation:
1) the quality of purchased good may be low
2) there might me fraud and cheaters
3) it might be risky
4) we may not get our orders on time