identify one personal and one social consequence of unemployment in your country or society. What roles, do you believe the government should play to reduce negative consequences?
Assignment
Using the IDLE development environment, create a Python script named tryme4.py. (Note: an alternative to IDLE is to use a free account on the pythonanywhere website: https://www.pythonanywhere.com/)
Write a function in this file called nine_lines that uses the function three_lines (provided below) to print a total of nine lines.
Now add a function named clear_screen that uses a combination of the functions nine_lines, three_lines, and new_line (provided below) to print a total of twenty-five lines. The last line of your program should call first nine_lines and then the clear_screen function.
The function three_lines and new_line are defined below so that you can see nested function calls. Also, to make counting “blank” lines visually easier, the print command inside new_line will print a dot at the beginning of the line:
def new_line():
print('.')
def three_lines():
new_line()
new_line()
new_line()
The first line will contain a message prompt to input the size of the matrix.
The succeeding lines will prompt for the elements of the matrix.
The last line will contain the word "MAGIC!" if it is a magic square and "Just a square" if it isn't.
The first line will contain a message prompt to input the number of elements.
The second line will contain message prompts for the elements of the array.
The succeeding lines will contain the arranged elements of the array. Make sure to print the numbers in the order in which they appear in the input. In this case, since 6 appeared first before 12, 6 is printed first.
Given two strings N and K. Your goal is to determine the smallest substring of N that contains all the characters in K. If no substring is present in N print no matches found.
Note: If character is repeated multiple times in K, your substring should also contain that character repeated same number of times.
Input: first line contains two strings N and K
Output: string representing the smallest substring as mentioned above
Input1: stealen lent
Output 1: tealen
Input 2: tomato tomatho
Output 2: No matches found
Question :Create a class Account with the following private member variablesData TypeVariable Namechar[]accountNumberdoubleamountchar[]accountHolderUse appropriate Get and Put function to get and display the values for Account classCreate a function calc() to calculate the interest amount as interest_amount=amount*n*r/100, where n is fixed as 5 and r as 3
How a circularly polarized light can be changed into plane polarized light
A. Let p and q be propositions
p: 4 is a rational number
q: 3 is an irrational number.
Express each of these propositions as an English sentence:
1. ¬p =
A 10kg block of aluminum (p=2700 kg/ m^3) is attached to a rope. Find the tension force in the rope if the block is in vacuum? What is the tension force in the rope if the block is in air (p=1.29 kg/m^3) and What is the tension force if the block is in water?
An unknown fluid, of mass 0.952 is ignited in a 4-liter bomb calorimeter. Both the liquid inside the calorimeter and the calorimeter itself increased in temperature by 3.914K. Previously, the same calorimeter was calibrated using 1.951 grams of benzoic acid and both the water and the calorimeter increased in temperature by 8.209K. Assume that the density of the water inside the calorimeter is not temperature-dependent. Heat of combustion for benzoic acid is 3226kJ per gram.
a.Find the heat of combustion of the fluid.
b.Which compound releases more heat, the unknown fluid or benzoic acid?