Answer:
SELECT
list_price,
discount_percent,
ROUND(list_price * discount_percent / 100,2) AS discount_amount
FROM
Products;
Explanation:
Answer:
Emphasis pattern movement
Answer:
1.)
def two(a, b) :
print(a+b)
print(a*b)
2.)
a = int(input('enter an integer values '))
b = int(input('Enter another integer value' ))
print(a+b)
print(a*b)
3.)
Take side of a square from user and print area and perimeter of it.
def square(a):
area = a**2
perimeter = 4*a
print(area, perimeter)
Explanation:
Code written in python :
The first function named two, takes to arguments a and b ;
The sum of integers a and b is taken and displayed using ; print(a+b)
The product of integers a and b is taken and displayed using ; print(a*b)
2.)
User can enter an input and converted to an integer value using the command ;
int(input()) ; the sum and product of these values are displayed using :
print(a*b) and print(a+b)
The Area and perimeter of a square requires the side length, which is taken as the argument a in the square function defined.
Area of square = a² = a**2
Perimeter = 4 * a
Answer:
C 1,2,3,4
Explanation:
This means I want to count from 0-4 and set it o the current loop I am currently on.
for i in range(0, 5):
print("i currently equals: ", i)
The result will be
i currently equals: 0
i currently equals: 1
i currently equals: 2
i currently equals: 3
i currently equals: 4
Answer:
Use the task-list utility to locate the PID for the explorer.exe process.
Explanation:
To restart Explorer.exe from the command prompt, please follow these steps:
- Open a Windows Command Prompt by clicking on the Start button, entering cmd, and then clicking on the Command Prompt search result that appears.
- When the Command Prompt opens, type t<em>askkill /F /IM explorer.exe </em>& start explorer command into the command prompt and press enter on your keyboard. This command will terminate the explorer.exe and then immediately restart the process so you can see your desktop again.
- After you enter the command, you will see the Windows desktop go away for a second and then restarted. You can now close the Windows Command Prompt as the Explorer.exe process has been restarted.