629 Answered Questions for the topic Python
Python
11/30/22
11.10 LAB: Quadratic formula
Implement the quadratic_formula() function. The function takes 3 arguments, a, b, and c, and computes the two results of the quadratic formulaThe quadratic_formula() function returns the tuple (x1,...
more
Python
11/30/22
11.9 LAB: Guess the random number
Given the code that reads a list of integers, complete the number_guess() function, which should choose a random number between 1 and 100 by calling random.randint() and then output if the guessed...
more
Python
11/30/22
10.11 LAB: Step counter - exceptions
A pedometer treats walking 2,000 steps as walking 1 mile. Write a steps_to_miles() function that takes the number of steps as a parameter and returns the miles walked. The steps_to_miles() function...
more
Python
11/30/22
10.10 LAB: Simple integer division - multiple exception handlers
Write a program that reads integers user_num and div_num as input, and output the quotient (user_num divided by div_num). Use a try block to perform all the statements. Use an except block to catch...
more
11/16/22
Application of Natural Language Processing (NLP) on Social Media
I have worked a lot of social media companies in gaining insight from their own data. Said data usually comes in the form of text and therefore requires application of Natural Language Processing...
more
Python
11/09/22
ANALYZING THE GAME OF CRAPS
Write a Script to play 1,000,000 games of craps. Use a wins dictionary to keep track of the number of games won for a particular number of rolls. Similarly, use a losses dictionary to keep track of...
more
11/07/22
Write a program that first invites the user to input a natural number n. Then compute the nth number in the sequence (x subscript n) and display it appropriately to the user.
The sequence xn is defined, for n > 2, by the recursive formulaxn = 2xn - 1 + xn - 2 where x1 = 2 and x2 = 3.Write a program that first invites the user to input a natural number n. Then compute...
more
Python
11/06/22
just needing help here
Write a program whose input is a string which contains a character and a phrase, and whose output indicates the number of times the character appears in the phrase.Ex: If the input is:n Mondaythe...
more
Python
11/06/22
just needing help
Write a program whose input is a string which contains a character and a phrase, and whose output indicates the number of times the character appears in the phrase.Ex: If the input is:n Mondaythe...
more
11/04/22
How do I approach this programming prompt?
=================================
An ordering service allows customers to order filled breads.
The bread comes in two sizes:
-30cm
-15cm
And three types:
-White
-Brown
-Seeded
There are five...
more
Python Data Science
10/26/22
What are the differences between Python, pandas, Anaconda, CPython, and Data Science?
Why do many Python tutors not know pandas, sklearn, numpy, and matplotlib? How do I find tutors who know those topics?
10/19/22
Given a positive integer n, greater than 1, assign True to is_prime if n has no factors other than 1 and itself. (Remember, m is a factor of n if m divides n evenly.)
Given a positive integer n, greater than 1, assign True to is_prime if n has no factors other than 1 and itself. (Remember, m is a factor of n if m divides n evenly.)Additional Notes: n should not...
more
i need help please
Newton's law of cooling.dT/dt=−K(T−Ta)Resolve this ODE using the scipy library.
Python
10/08/22
Where do I store Python modules?
Where do I put a downloaded module so I can import it into my Python program (on a mac)? Also, does it matter if I'm trying to use it via terminal or a shell like IDLE?
Python
10/05/22
Python task short
Assignment: electricity calculator for householdsYou will create a program to calculate a household's monthly electricity bill based on the Government's current electricity subsidy scheme. The...
more
Python
10/03/22
How and why should I become a python programmer?
Whether you're looking to solve a private or public problem, gain an employable skill, or looking to expand your mind, this is a serious question with serious answers.
Python
09/27/22
Python Order Cost Calculator
1. Write a function called coffee_calculator with the input and outputs that are specified below2. The function must Include one loop or iterator3. The function must Include one conditional...
more
Python
08/23/22
I need help with a NLP project
Its about Sentiment analysis on a movie review dataset. Willing to share more details.
07/23/22
Programming Python Question
Write a program that takes the NAS website url: http://www.nasonline.org, downloads the HTML document, and decodes it into a string. Create a list of the topics under review which...
more
Python
06/18/22
Subtraction of two numbers
If I have A=[3,4,4,3,2,3,1,5,2]and I calculate the mean for Anp.mean([A])now I want to subtract 3 from AHow do I do that? At first I thought I would sum A, then subtract 3, but that doesn't seem...
more
Python
05/28/22
You are to create a Python application that applies concepts of inheritance in Python.
Scenario: You are to create an application that simulates the functions of a Savings Account and Checking Account of a Bank. The user will be able to open the application, and then open their...
more
05/24/22
how to make a page i know .. come on
so it's not about the advice to create a page, no and yes, but it depends on what meaning becausebecause I'm not green;)nextthe point is that the page should be one terminal using css html maybe...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.