756 Answered Questions for the topic Python

Computer Science (Python)

07/13/20

Looking for a tutor! I am self-taught in Node, Express, Python and SQL

Hey there!My name is James, and I started teaching myself html and css about 5 years ago, then jumped into javascript.I am hoping to change direction and focus on python and sql, more along the... more

Calculus trapezoidal and simspsons rule using python programming

this question is to be sovled using python programmingFor each of the integral given below, do the following using Python Programminga)         plot the graph related to Trapezoidal's rule or... more
Python Coding

07/03/20

I am looking for a tutor for python coding for my 8 year old son - are you able to teach young kids?

I am looking for a tutor for python coding for my 8 year old son - are you able to teach young kids?My son likes math and anything analyticalHe knows scratch and has dabbled in python a bit - just... more
Python

07/01/20

Python programming

This week's project is to extend the Employee class and its subclasses to create a Company class structure. A company consists of Teams, and each team contain a group of employees. In this group... more
Python

06/19/20

python question

You go on a wonderful holiday (perhaps to jail, if you don’t like happy exercises) leaving on day number 3 (a Wednesday). You return home after 137 sleeps. Write a general version of the program... more

06/04/20

How do you find the question mark for the part of the force exerted on the stone? The answer should include other variables

ball = sphere ( pos=vec(-2,1,0 ), m = 0.5 , alpha = 0*pi/180,#alpha = angle radius=0.02, color=color.red, make_trail=True, trail_type='points') #,interval=50,retain=50)ball.v = vec( 1,... more

Describe the four pillars of object oriented programming

Encapsulation, Inheritance, Abstraction, Polymorphism

05/07/20

Programming - Sedimentation App

Programming - Sedimentation App1.1 Problem StatementThe figure below shows a lake within which sediment, suspended in the water, rains down and slowly builds up on the lake floor. Obviously the... more

Need Help with this Computer Science questions

consider the following function named "mystery" def mystery (slist): d = {} for w in slist: n = len(w) if n not in d: d[n] = [w] else: ... more
Python

04/14/20

using a leading zero (0) in Python 3.8

Why do you get the error below in Python ver 3.8print(01)SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
Python

04/13/20

using Python to interpret - How many seconds are there in 42 minutes 42 seconds?

How many seconds are there in 42 minutes 42 seconds? interpret in Python 3.8
Python

04/05/20

I'm trying to build a twitter bot using code from github but I keep getting a error with selenium

(amazing-blend-273309)$ diffengineTraceback (most recent call last): File "/usr/local/bin/diffengine", line 10, in <module> sys.exit(main()) File... more
Python

04/01/20

Cost calculator: how to count strings in a positional argument in Python

The goal is to calculate the cost of a order at a pizza shop. For example:cost([ ], ["pepperoni"], ["ham", "anchovy], drinks = ["small"])should calculate the price of one plain pizza, one pizza... more
Python

04/01/20

List of Positive Integers - Python

Given the list lst of positive integers, associate the largest duplicated element with the variable max_dup. If the list contains no duplicates, associate -1 with max_dup

03/31/20

Counting strings in positional arguments python (order cost calculator problem)

The goal is to calculate the cost of a order at a pizza shop. For example:cost([ ], ["pepperoni"], ["ham", "anchovy], drinks = ["small"])should calculate the price of one plain pizza, one pizza... more
Python

03/31/20

Python menu cost calculator problem

The assignment's output should be something like this: The following is an order for a plain pizza, a ham and anchovy pizza, two "tub"-sized drinks, with a 10%-off... more
Python

03/26/20

Python Programming - Chapter 6.10 - Golf Scores

The Springfork Amateur Golf Club has a tournament every weekend. The clubpresident has asked you to write a program that will read each player's nameand score as keyboard input, and then save these... more
Python

03/11/20

Python, write a program to convert speed to feet per second and miles per hour?

The results of a race gives the winner's time in minutes and seconds, such as 1 minute 12 seconds. You are to write a program to convert the winner's speed to feet per second and miles per hour.The... more
Python

03/06/20

Given a string S = " CARPE DIEM". If n is length/2 (length is the length of the given string), then what would following return?

(a) S[: n](b) S[n :](c) S[n : n](d) S[1 : n](e) S[n : length - 1]

Help with Python Programming homework...

In volleyball, there are 5 matches in a game. My daughter’s volleyball league would like a program that will accept the number of points that each team scored in the 5 matches and print out the... more

02/14/20

In Python how can I reformat list of words with correct commas and the word "and"?

A student asked for assistance with a Python assignment. She was provided with four lists: animalList1 = ['dog', 'cat', 'bird', 'tiger', 'lion', 'camel'] animalList2 = ['elephant', 'alligator']... more

Use python to visualize a flow around an airfoil ?

There are three data files: NACA0012_x.txt, NACA0012_y.txt, and NACA0012_sigma.txt. Using 51 mesh points in each direction, and a domain , compute the velocity due to the set of sources plus a free... more
Python

02/04/20

Phyton Function Graph

Write a program that graphs a function of your choosing. Then select a point on that graph at which you want to estimate the derivative. The user can then choose a nearby point. The program will... more
Python

02/04/20

Fibonacci Graph Program

I have to create a program that will plot on a graph the ratio between consecutive Fibonacci numbers for say 100 numbers that demonstrate the golden ratio. This is what I have: import... 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.