Answer:
special_num = int(input())
if special_num == -99 or special_num == 0 or special_num == 44:
print('Special number')
else:
print('Not special number')
Explanation:
#get input
special_num = int(input())
#if function to evaluate true or false(aka Boolean)
if special_num == -99 or special_num == 0 or special_num == 44:
#true evaluation
print('Special number')
#false evaluation
print('Not special number')
Answer:
<u>Python 3</u>
Explanation:
The language's latest iteration, Python 3.9, was released on October 5, 2020. It includes even more new features such as relaxed grammar restrictions, flexible function and variable annotations, and new string methods to remove prefixes and suffixes.
Answer:
Create the html tag container and then create CSS file with the value of the html and body background attribute specified.
Explanation:
Web development is the creation of web pages. It requires standard web development tools like HTML, CSS and JavaScript.
The web page is made up of the header, the body and footer, which are all inside a html file. On the header, body and footer tags must be contained within a html opening and closing tags.
The CSS file styles the markup language tags. To give a background color to the entire page, the html and body elements are referenced and given a background color value.
Answer:
SELECT
COUNT(SN), SUM(TaxAmount)
FROM ORDERS
or
SELECT
COUNT(SN) AS NumOrder, SUM(TaxAmount) As TotalTax
FROM ORDERS
Explanation:
Finding it difficult to add my explanation. So, I used an attachment instead
<em />
Answer:
#program in python.
#variables
slice_area=14.125
pi=3.14159
#read diameter
d=int(input("Enter diameter of pizza:"))
#area of pizza
area=pi*(d/2)*(d/2)
#number of slice
no_slice=int(area/slice_area)
#print slice
print("total silce are:",no_slice)
Explanation:
Declare and initialize a variable "slice_area" with 14.125 which is the area of a pizza slice.Initialize a variable "pi" with 3.14159.Then read the diameter of pizza.Find the area of pizza as "area=pi *d/2*d/2".Divide the total area with area of pizza slice.This will be the number of slice.
Output:
Enter diameter of pizza:20
total silce are: 22