Answer:
def doMyMath(n):
if n == 1:
return n
else:
return n*doMyMath(n-1)
Explanation:
This line defines the function
def doMyMath(n):
This line checks if n is 1. If yes, it returns n (1)
if n == 1:
return n
If otherwise, it calculates the fibonacci recursively
else:
return n*doMyMath(n-1)
To call the function from main, you can use:
print(doMyMath(5))
or
num = int(input("Number: "))
--- This gets the number from user
print("Result: ",doMyMath(num)) --- This calculates the factorial
<em>This question is answered in Python</em>
Answer is
productivity
Sometimes called the office or personal productivity software,
productivity software is dedicated to producing databases, spreadsheets,
charts, graphs, documents, graphs, digital video and worksheets. Reason behind
the name productivity is due to the fact that it increases productivity in
office work.
Answer:
The answer to this question is 16 bytes.
Explanation:
8x16 font means it contains 16 rows by 8 columns of 1-bit pixel ( picture element ).
rows=16.
columns=8.
8 bit = 1 byte.
8x1 = 1 byte.
8x16 = 16 bytes.
So 8x16 font size requires 16 bytes of data to store a character.Hence we conclude that the answer is 16 bytes.