Question

First column of each row is a name of the company in python

First column of each row is a name of the company

in python

Homework Answers

Answer #1

thisdict =   {
"Amazon": 123456,
"myntrs": 6748574,
"google": 196422333,
"yahoo" :45667
}

for x in thisdict:
print(x," : ",thisdict[x])
print("\n\nonly company names : ")
for x in thisdict:
print(x)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
For the given table, write a code in python to delete the row if the row...
For the given table, write a code in python to delete the row if the row has more than 70% of it's values as 0 or Nan In the table there are 11 values in a row without considering ID and Name, so if there more than 7 values are null values then the row should be deleted. **code should be in python using pandas library ID Name a b c d e f g h i j k 7...
Python Jupyter Notebook Write a program that prompts the user to enter his/her first name, last...
Python Jupyter Notebook Write a program that prompts the user to enter his/her first name, last name, and year of birth in a single string (in the format: fn;ln;yyyy), then calculates the age tell it to him/her after greeting him/her using the first name. Make sure to capitalize the user's first name, regardless of how he/she typed it in. Hint: review Exercise 1! Example: Enter your first name, last name, and birth year (in format fn;ln;yyyy): alex;smith;1994 Hi Alex, you...
Let Aequals=left bracket Start 2 By 2 Matrix 1st Row 1st Column 1 2nd Column 2...
Let Aequals=left bracket Start 2 By 2 Matrix 1st Row 1st Column 1 2nd Column 2 2nd Row 1st Column 8 2nd Column 18 EndMatrix right bracket 1 2 8 18 ​, Bold b 1b1equals=left bracket Start 2 By 1 Matrix 1st Row 1st Column negative 5 2nd Row 1st Column negative 36 EndMatrix right bracket −5 −36 ​, Bold b 2b2equals=left bracket Start 2 By 1 Matrix 1st Row 1st Column 3 2nd Row 1st Column 16 EndMatrix right...
Use python to write a function that will generate the ith row of pascal’s triangle (using...
Use python to write a function that will generate the ith row of pascal’s triangle (using recursion) The method signature should be pascal(row). It should return a list of elements that would be in that row of Pascal’s Triangle. For example the 0th row is [1] and the 2nd row is [1,2,1]
Write a Python function that takes a filename as a parameter and returns the string 'rows'...
Write a Python function that takes a filename as a parameter and returns the string 'rows' if a file was written row by row, and 'columns' if the file was written column by column. You would call the function with a command like filetype = myfunc(filename).
The following table contains observed frequencies for a sample of 200. Row Variable Column Variable A...
The following table contains observed frequencies for a sample of 200. Row Variable Column Variable A B C P 24 48 54 Q 26 22 26 Test for independence of the row and column variables using α = 0.05. State the null and alternative hypotheses. H0: The column variable is independent of the row variable. Ha: The column variable is not independent of the row variable.H0: Variable P is not independent of variable Q. Ha: Variable P is independent of...
You are conducting a test of the claim that the row variable and the column variable...
You are conducting a test of the claim that the row variable and the column variable are dependent in the following contingency table. X Y Z A 14 35 25 B 3 35 53 Give all answers rounded to 3 places after the decimal point, if necessary. (a) Enter the expected frequencies below: X Y Z A B (b) What is the chi-square test-statistic for this data?       Test Statistic: χ2=____ (c) What is the critical value for this test...
The following table contains observed frequencies for a sample of 240. Row Variable Column Variable A...
The following table contains observed frequencies for a sample of 240. Row Variable Column Variable A B C P 15 25 15 Q 30 60 25 R 15 20 35 Test for independence of the row and column variables using α = 0.05. State the null and alternative hypotheses. H0: Variable P is not independent of variables Q and R. Ha: Variable P is independent of variables Q and R.H0: Variable P is independent of variables Q and R. Ha:...
You are conducting a test of the claim that the row variable and the column variable...
You are conducting a test of the claim that the row variable and the column variable are dependent in the following contingency table. X Y Z A 14 44 18 B 30 55 17 Give all answers rounded to 3 places after the decimal point, if necessary. (a) Enter the expected frequencies below: X Y Z A B (b) What is the chi-square test-statistic for this data?       Test Statistic: χ2= (c) What is the critical value for this test...
Given: Ho: Row effect is not significant H1: Row effect is significant Ho: Column effect is...
Given: Ho: Row effect is not significant H1: Row effect is significant Ho: Column effect is not significant H1: Column effect is significant Ho: Interaction effect is not significant H1: interaction effect is significant # row column X 1 A M 6 2 A M 12 3 A M 6 4 A F 5 5 A F 6 6 A F 5 7 B M 3 8 B M 2 9 B M 3 10 B F 17 11 B...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT