Answer:
30cm
Explanation:
Height X Base
6cm X 10cm
60cm
Then take half because a triangle is half a square and we are using a square formula.
60cm divided by 2
=30cm
Answer:
import numpy as np#importing numpy module with an alias np.
def c(bitstring_array):# defining function c.
num_integer=bitstring_array.dot(2**np.arange(bitstring_array.size)[::-1])#bitstring conversion.
return num_integer#returning integer array.
print("Enter bits")
Bit_l=input().split(" ")#enter space separated bitstring.
for i in range(len(Bit_l)):#iterating over the bitstring.
Bit_l[i]=int(Bit_l[i])
bitstring_array=np.array(Bit_l)
print(c(bitstring_array))#function call.
Output:
Enter bits
1 1 1 0 0 1
57
Answer:
Following is given the solution of your question as required.
All the necessary descriptions are given in form of comments,
Sample output are also shown.
I hope it will help you!
Explanation:
A way to store a sequence of letters, numbers or symbols.
This is the most accurate statement, though not entirely true.
Hope this helps.