Answer:
i think the answer is body language
Explanation:
body language is non-verbal
Answer:
- import sys
-
- def fibonacci(n):
- if(n == 0 or n == 1):
- return n
- else:
- return fibonacci(n - 2) + fibonacci(n-1)
-
- num = int(sys.argv)
- output = ""
-
- for i in range(1, num+1):
- output += str(fibonacci(i)) + " "
-
- print(output)
Explanation:
Firstly, we import sys module as we need to accepts n as command line argument (Line 1).
Next, create a function fibonacci takes take one input n (Line 3). If the n is zero or one, return the n itself (Line 4-5). Otherwise, the program shall run the recursive call to the fibonacci function itself by putting n-2 and n-1 as function argument, respectively (Line 6-7).
After that, use the sys.argv to get the command line argument and assign the value to num (Line 9).
Use a for loop to generate the output string by progressively calling the fibonacci function and join the return result to the output string (Line 12-13).
At last print the output string (Line 15).
Answer:
6898
Explanation:
Given that 1AF2 is a hexadecimal number.
We have in hexadecimal, the digits are 0,1,2,3...9, A,B,C,D,E,F for the 16 digits used.
Using the above we say in the given number, we have
2 in units column
F in 16 column
A in 16 square column
and 1 in 16 cube column
Place value
Hence 1AF2 = 6898 in decimal