Invalid syntax for line 13:
Error is SyntaxError
We have to use == not =
Modified code:
def equals(a,b):
a=[1,2,3]
b=[1,2,2]
if a==b:
print('same')
else: print('different')
Invalid syntax for line 13? def equals(a,b): a=(1,2,3) b=(1,2,2) 8 9 10 11 12 13 14...
Cork price: 16 10 15 10 17 11 14 13 11 14 11 16 18 16 10 17 14 14 16 7 10 12 19 15 16 14 9 12 21 13 10 16 12 16 13 17 17 13 14 18 11 12 15 16 13 18 16 17 12 12 14 9 11 14 19 13 11 17 11 13 15 14 18 18 18 12 10 11 13 14 11 14 18 13 13 19 17 14...
Cork price: 16 10 15 10 17 11 14 13 11 14 11 16 18 16 10 17 14 14 16 7 10 12 19 15 16 14 9 12 21 13 10 16 12 16 13 17 17 13 14 18 11 12 15 16 13 18 16 17 12 12 14 9 11 14 19 13 11 17 11 13 15 14 18 18 18 12 10 11 13 14 11 14 18 13 13 19 17 14...
Let U - (7, 8, 9, 10, 11, 12, 13, 14, 15, 16). A - 17, 9, 11, 13, 15), B = {8, 10, 12, 14, 16), and C (7, 8, 10, 11, 14, 15). List the elements of each set. (Enter your answers using roster notation Enter EMPTY or for the empty set.) (a) Anonco (6) AU BUBNC (c) (A U BY C
Let U - (7, , 9, 10, 11, 12, 13, 14, 15, 16), A = 17, 9, 11, 13, 15), 8 - (8, 10, 12, 14, 16), and C - {7, 8, 10, 11, 14, 15). List the elements of each set. (Enter your answers using roster notation. Enter EMPTY or for the empty set.) (a) Anonc (b) (AU B9) (c) (c) (A Uncs
Alcohol Placebo 9 8 10 8 11 9 12 16 13 11 15 11 17 12 19 13 20 15 21 15 What is the mean, median, mode, and standard deviation for the alcohol group? what is the mean median, mode, and standard deviation for the placebo group? what is the most appropriate graph to use for the placebo group?
Let U = {7, 8, 9, 10, 11, 12, 13, 14, 15, 16), A = {7, 9, 11, 13, 15), B = (8, 10, 12, 14, 16), and C (7, 8, 10, 11, 14, 15). List the elements of each set (Enter your answers using roster notation. Enter EMPTY or for the empty set.) (a) A( BC) (b) AU B9) (anc (c) (A U BENCE
7 8 9 10 11 12 13 14 15 16 17 18 19 20 ) The human heart is found in which location? 10 Between the right midclavicular line and the right border of the sternum and below the clavicle to the eighth rib 20 Between the second and the fifth intercostal spaces from the right edge of the sternum to the loft midclavicular line 30 Between the third and sixth intercostal spaces from the left midclavicular line to the...
Drive 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 16) Calculate the equivalent capacitance from points A to B using the figure if each capacitor has a capacitance of 1.0uF earch Dashb Enter your response Gm Answer Chapter 19- Homework Due Fri Mar 15th
Year A B 1 10% 9% 2 -15% 16% 3 14% -10% 4 13% -12% 5 10% 21% 6 13% 11% 7 -12% 14% 8 10% -10% 9 10% -12% 10 -19% 21% What is the correlation and covariance between these two assets?
Price D 1 D 2 S 1 S 2 $12 5 9 19 14 $10 8 12 17 12 $8 11 15 15 10 $6 13 18 13 8 $4 16 21 11 6 $2 18 24 9 4 Table 2 If D2 and S2 represent the demand and supply schedules in a particular market, then the equilibrium price and quantity are ________ and _________, respectively. $10; 12 $6; 18 $8; 15 $12; 12