Answer:
Following are the code to this question:
import array as a#import package array
def silence(typecode, length):#defining method silence that accepts two parameters
Val= a.array(typecode, [0]*length)#defining Val variable that stores zeros of the given type code and length
return Val# use return keyword for return Val variable value
typecode = input('Enter typecode value: ')#use input method for input
length = int(input('Enter length value: '))#defining length variable that input integer value
print(*(silence(typecode, length)))#use print method to call silence method
Output:
Enter typecode value: b
Enter length value: 10
0 0 0 0 0 0 0 0 0 0
Explanation:
description of the code:
- In the above-given Python code, Firstly we import a package that is the array, after that a method "silence" is defined that accepts two variables in its parameter that is "typecode and length".
- Inside the method, the "Val" variable is declared, which is used to calculate and store all zeros of the typecode and length variable.
- Outside the method, "typecode and length variable" is used for input the value from the user end-use the print method to call the function "silence" with an asterisk.
Answer:
used folders, files, settings, and features. It's also where you go to log off from Windows or turn off your computer. One of the most common uses of the Start menu is opening programs installed on your computer. To open a program shown in the left pane of the Start menu, click it
Answer:
1.to have good communication
2.to have <em><u>problem</u></em><em><u> </u></em><em><u>solving</u></em><em><u> </u></em><em><u>capability</u></em>
<em><u>3</u></em><em><u>.</u></em><em><u>to</u></em><em><u> </u></em><em><u>learn</u></em><em><u> </u></em><em><u>concepts</u></em><em><u> </u></em><em><u>and</u></em><em><u> </u></em><em><u>apply</u></em><em><u> </u></em><em><u>them</u></em><em><u> </u></em><em><u>to</u></em><em><u> </u></em><em><u>problems</u></em>
<em><u>4</u></em><em><u>.</u></em><em><u>t</u></em><em><u>o</u></em><em><u> </u></em><em><u>improve</u></em><em><u> </u></em><em><u>your</u></em><em><u> </u></em><em><u>mathematical</u></em><em><u> </u></em><em><u>skills</u></em>
<em><u>5</u></em><em><u>.</u></em><em><u>so</u></em><em><u> </u></em><em><u>as</u></em><em><u> </u></em><em><u>to</u></em><em><u> </u></em><em><u>be</u></em><em><u> </u></em><em><u>proficient</u></em><em><u> </u></em><em><u>with</u></em><em><u> </u></em><em><u>programming</u></em><em><u> </u></em><em><u>languages</u></em>
hope this helps