756 Answered Questions for the topic Python
Python
09/02/21
Alternative for if and conditional statement in python
So my problem is that I need to make a receipt to calculate the total cost and I have been given 2 option each option has different price like for example. first = 5$second= 10$third = 5$fourth =...
more
07/13/21
Need help trying with nested list problem
HI! I have a list of lists, and within the nested lists are tuples (representative of (x,y) coordinates). I want the nested lists to represent a bin.list_of_list = [[(2,1),(4,2),(3,1)],...
more
Python
07/13/21
Hashtag Co-occurrence Network
I would attach the annotations.csv file but the file is too large, instructions are in bold and needs to be in Python programming below:from google.colab import drivedrive.mount('/content/gdrive')#...
more
Python
07/08/21
K Means Clustering: Cluster Centers/Centroid
Trying to find the cluster centriods (in bold) for this coding below, would attach the annotations.csv file but the file is too large.Input:#Set Up Cell#regex - text processingimport reimport...
more
07/06/21
Python: First Fit Algorithm
I'm trying to create a First Fit Algorithm. The approach I'm taking is creating a list of empty lists, which are representative of the bins, where they will then be filled by certain area values...
more
Python
06/21/21
Use the IBM Watson Natural Language Understanding API, and need to write function extractEntities(url, source)
Use the IBM Watson Natural Language Understanding API, and need to write function extractEntities(url, source) that takes as input a URL, and returns a list of dictionaries, with every dictionary...
more
Python
06/10/21
Python Program of Multi-Line Plot
Give a multi-line plot for number of Italian, German, French, Spanish, and Japanese movies released every year after 1950. One line for each languageEverything needs to be in Python Programming...
more
Python
06/10/21
Python Program of Bar Plot
# Give filepath here to the variable filepathfilepath = '/content/drive/MyDrive/ColabNotebooks/IMDbmovies.csv'# Import "pandas" package hereimport pandas as pdThis code below is Python programming...
more
Python Computer Science
06/03/21
Web Scraping Issues
I'm looking to scrape the images from https://www.shopthefastlane.com/shop/categories/229 using beautifulsoup. I am trying to access the span class entitled "cell-image show", but searching by...
more
Python
06/02/21
CIS_File_Invoice
Create a program that summarizes the total invoice for the countries Germany, Norway, Belgium, Canada, USA, France, Ireland, and United Kingdom plus indicate how many invoices for each country and...
more
Python
05/31/21
Python solving problems
You need to calculate the flight time of an upcoming trip. You are flying from LA to Sydney, covering a distance of 7425 miles, the plane flies at an average speed of 550 miles an hour. Calculate...
more
Python
05/23/21
COMPUTER SCIENCE
1. Write a class named Car that has the following data attributes: a. __year_model (for the car’s year model) __make (for the make of the car) __speed (for the car’s current speed) The Car class...
more
Python
05/22/21
Computer Science
1. Write a program that reads an integer from the user. Then your program should display a message indicating whether the integer is even or odd. 2. A string is a palindrome if it is identical...
more
Python
05/21/21
Delete integers 10,50,80 from list2 # Print the length of list2 after deleting 3 integers
List2 code:list2 = []for i in range(101): list2.append(i) print(list2)
Python
05/21/21
Add integer 101 into list2 # Print the length of the modified list2
List2 was this code below:list2 = []for i in range(101): list2.append(i) print(list2)
Python
05/21/21
Print the 1st element, the 5th element, and the 50th element in list2-integers from 0 to 100
Python
05/21/21
Create a list (with the variable name list2) of integers from 0 to 100 # Print list2
Python
05/21/21
Can a Python list contain multiple data types? # For example, can list1 contain both integers and strings? # If yes, print an example below
Python
05/21/21
Create a set (with the variable name set1) of 5 strings # Print set1 after initialization
Python
05/21/21
Create a list (with the variable name list1) of 5 integers
Python
05/19/21
Senior Final coding please help
Computer Information Systems2020 – 2021 Senior FinalDue 5/19/2021100 pointsStudents will write a file processing program. Their will be two input files given to the student and they are to produce...
more
05/18/21
need help with python project
this is all my professor gave me and I don't know what to do Write a class called Counter. The class has the variables:
self.count - Keeps track of the current count.
self.initial_count -...
more
Python
05/17/21
Final coding exercise on python
Computer Information Systems2020 – 2021 Senior FinalDue 5/19/2021100 pointsStudents will write a file processing program. Their will be two input files given to the student and they are to produce...
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.