Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Browse P

Alphabetical listing with fast deep pagination.
81033 items • Page 1454 / 1621

All 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Python. What is wrong with my program? I am trying to prove that my program is c
Python. What is wrong with my program? I am trying to prove that my program is capable of replacing an existing key with a new key instead of creating a new node. This is for a bi…
Python. if you can give an example that would be great. Basically, I need help w
Python. if you can give an example that would be great. Basically, I need help with making it so the user has to type y or n nothing else to continue or quit a program. You have a…
Python.Write a function longest_increasing_subsequence(scores) which takes a lis
Python.Write a function longest_increasing_subsequence(scores) which takes a list of scores, and returns the longest (strictly) increasing subsequence of those scores. Write it in…
Python/ Raptor questions? 1.) To center an output statement, the ^ (caret) symbo
Python/ Raptor questions? 1.) To center an output statement, the ^ (caret) symbol will be used in the format specifier of the format function. False 2.)   The code below is an exa…
Python/Haskell Problems A value is considered \"touched\" every time that it is
Python/Haskell Problems A value is considered "touched" every time that it is processed by/in a function. double [] = [] double (x:xs) = 2*x : double xs The following code is in H…
Python/PyGames sinple sprite animation: I have a spaceship sprite, very simple.
Python/PyGames sinple sprite animation: I have a spaceship sprite, very simple. Just need to have it animate propullsion. No matter which direction it is going. I only have 4 spri…
Python3 (2) Output the human years for the animal. Human years for a cat is thei
Python3 (2) Output the human years for the animal. Human years for a cat is their age multiplied by 4 plus 15. If the cat is a year old then their human equivalent is 19 years. If…
Python3 / Sqlite3 / json / Question Hello, I\'m trying to inser data from an API
Python3 / Sqlite3 / json / Question Hello, I'm trying to inser data from an API weather site to a database in SQLIte3 . I'm getting this error:      cur.executemany('INSERT INTO w…
Python3 Consider the binary search tree shown in class. We defined create functi
Python3 Consider the binary search tree shown in class. We defined create function to return a newly created tree node storing the given item, and add function that adds an item t…
Python3 Define h(x) =-exp - Write a function h x) for computing h(x) according t
Python3 Define h(x) =-exp - Write a function h x) for computing h(x) according to the formula given above. (x may be a float or an array. Write your code so that it can handle bot…
Python3 Files can be found here https://github.com/franzip/coursera/tree/master/
Python3 Files can be found here https://github.com/franzip/coursera/tree/master/coding-the-matrix/week3 Dot products via matrix-matrix multiplication Problem 4.17.19: Let A be a m…
Python3 Here is a snippet of my Python code. Why am I getting a from sklearn imp
Python3 Here is a snippet of my Python code. Why am I getting a from sklearn import svm X = [] Y = [] X = np.array(x3) Y = np.array(y3) validation_size = 0.20 seed = 7 X.reshape(-…
Python3 Please read the following pages. Please take a screen shot of the code a
Python3 Please read the following pages. Please take a screen shot of the code and copy and paste the code also. Thank you. Problem C: Caterpillars, Classes, and Objects oh my! (1…
Python3 Write a program with following functions: get_today, get_birthmonth,like
Python3 Write a program with following functions: get_today,  get_birthmonth,likes_spicy_food, read_lifeline, read_heartline,read_headline. the output should as same as example Th…
Python3, these are on classes. Please help and try to explain it and you go, exa
Python3, these are on classes. Please help and try to explain it and you go, examples are given. Thank you in advanse!! Train class: Instance variables: string the name of the tra…
Python: * Animate two faces moving in different directions at the same time in a
Python: * Animate two faces moving in different directions at the same time in a program move2Faces.py. You cannot use the moveAllOnLine function. You will have to make a variatio…
Python: 1. Open a new program in IDLE and in a multiline comment, write “Python
Python: 1. Open a new program in IDLE and in a multiline comment, write “Python Set Practice,” your name, and the date. 2. Define Odds to be the set of odds between 1 and 199 (inc…
Python: 1. Write a program that counts for the user. Let the user enter the star
Python: 1. Write a program that counts for the user. Let the user enter the starting number, the ending number, and the amount by which to count. Sample interaction: Enter a start…
Python: 1. You cannot use lists anywhere in this game – you must use strings onl
Python: 1. You cannot use lists anywhere in this game – you must use strings only 2. YOU CANNOT USE LISTS – YOU MUST USE STRINGS ONLY 3. Read a word from the keyboard then print 1…
Python: A person is eligible to be a US Senator who is at least 30 years old and
Python: A person is eligible to be a US Senator who is at least 30 years old and has been a US citizen for at least 9 years. Write an initial version of a program congress.py to o…
Python: A recursive function that counted up the total number of leaves in a BNT
Python: A recursive function that counted up the total number of leaves in a BNT: Answer the following questions about this function definition. a) Explain in your own words why w…
Python: A: Write a program chooseButton3.py, modifying chooseButton2.py. Look at
Python: A: Write a program chooseButton3.py, modifying chooseButton2.py. Look at the format of the list buttonSetup, and extend it so there is a larger choice of buttons and color…
Python: A: Write a program even1.py with a function printEven with heading: In y
Python: A: Write a program even1.py with a function printEven with heading: In your main program, test the function, calling it several times with different lists of integers. Hin…
Python: An arithmetic progression is a sequence of numbers in which the distance
Python: An arithmetic progression is a sequence of numbers in which the distance (or difference) between any two successive numbers if the same. This in the sequence 1, 3, 5, 7, .…
Python: Assume the input data is structured as follows: first there is a non-neg
Python: Assume the input data is structured as follows: first there is a non-negative integer specifying the number of employee timesheets to be read in. This is followed by data …
Python: Boxcar simulates rolling 2 dices; you win when you roll 2 sixes. Downloa
Python: Boxcar simulates rolling 2 dices; you win when you roll 2 sixes. Download this imperative file and run it on Python. You will then delete the imperative code, uncomment th…
Python: Can someone explain me this code, line by line def fileCount(fileName, s
Python: Can someone explain me this code, line by line def fileCount(fileName, s): inF = open(fileName) count = 0 content = inF.read() for thing in content: if s in thing: count +…
Python: Can someone explain me this code, line by line. I know the answers but,
Python: Can someone explain me this code, line by line. I know the answers but, I just don't understand how a) scary = 'boo! boo!' place = 0 while place <= len(scary): current …
Python: Chaining Start with map.py code below change the code to use chaining in
Python: Chaining Start with map.py code below change the code to use chaining instead of the rehash function show. You must re-implement put and get to correctly do chaining. Chai…
Python: Coupon Collector is a classic statistics problem with many practical app
Python: Coupon Collector is a classic statistics problem with many practical applications. The problem is to pick objects from a set of objects repeatedly and find out how many pi…
Python: Craps is a dice-based game played in many casinos. Like blackjack, a pla
Python: Craps is a dice-based game played in many casinos. Like blackjack, a player plays against the house. The game starts with the player throwing a pair of standard, six-sided…
Python: Creating a list of dicitionaries from lists in a text file. Please help!
Python: Creating a list of dicitionaries from lists in a text file. Please help! I'm not sure how to do it and repeat the process. So far this is the code I have: But I'm not sure…
Python: Creating dictionaries and functions -Create a dictionary named tickets_s
Python: Creating dictionaries and functions -Create a dictionary named tickets_sold_dict. -Write a loop which prompts the user to input the following keys and values and store the…
Python: Extend the script below so it maintains a password le. For every user th
Python: Extend the script below so it maintains a password le. For every user there is one line: two strings (name and password) separated by a colon. from ast import literal_eval…
Python: Geometry: Consider ten points in the 2D space. Two circles are also cons
Python: Geometry: Consider ten points in the 2D space. Two circles are also considered that include the most of the points. Prepare the program for the following: find which of th…
Python: I\'m not sure how to further organize a list I\'ve created. For this pro
Python: I'm not sure how to further organize a list I've created. For this program, I am to draw the path of hurricane irma using coordinates and wind speed found within a .csv fi…
Python: Implementing a hash table that uses double hashing Your hash table class
Python: Implementing a hash table that uses double hashing Your hash table class will be called HashTable. You will need to modify the put() and delete() functions discussed in cl…
Python: Implementing a hash table that uses double hashing Your hash table class
Python: Implementing a hash table that uses double hashing Your hash table class will be called HashTable. You will need to modify the put() and delete() functions. You will also …
Python: In shape.py , create a Shape class with these methods. __init__(), a cla
Python: In shape.py, create a Shape class with these methods. __init__(), a class constructor what sets an objects x,y coordinates. move(), a method to move objects to new x,y coo…
Python: Intro to Programming A painting company has determined that for every 12
Python: Intro to Programming A painting company has determined that for every 125 square feet of wall space, one gallon of paint and eight hours of labor are required. The company…
Python: Jupiter Exercise 2 Write a function called isin) that takes two paramete
Python: Jupiter Exercise 2 Write a function called isin) that takes two parameters (a list of strings, and a string to search for in the list) and returns the index position of th…
Python: Jupiter Exercise 5 Open the file romeo.txt and read it line by line. For
Python: Jupiter Exercise 5 Open the file romeo.txt and read it line by line. For each line, split the line into a list of words using the split0 method. The program should build a…
Python: Modify this program of a spiral square so that it draws a hexagon (six-s
Python: Modify this program of a spiral square so that it draws a hexagon (six-sided polygon) as in the picture from turtle import * import turtle screen=Screen() #getting width a…
Python: Modify this program of spiral square so that it draws a hexagon (six-sid
Python: Modify this program of spiral square so that it draws a hexagon (six-sided polygon) as in the picture from turtle import * import turtle screen=Screen() #getting width and…
Python: NOTE: The “list item” tag () has an end item tag () Write a fun
Python: NOTE: The “list item” tag (<li>) has an end item tag (</li>) Write a function liParser(url) which will use a LineItemParser(HTMLParser) class to collect and re…
Python: No interactive input and please use the example layout. Use a while loop
Python: No interactive input and please use the example layout. Use a while loop. The program should run smoothly when testing the three required values. Write a function BSR (a) …
Python: Please include #comments in each line for explanation. UPDATED CSV: http
Python: Please include #comments in each line for explanation. UPDATED CSV: https://docs.google.com/spreadsheets/d/139XV0V8yY7NuK39ac1DD6dZyxSmloGUutGyhwubVyvQ/edit?usp=sharing Wh…
Python: Printing a list from a txt file Need help trying to print a list from a
Python: Printing a list from a txt file Need help trying to print a list from a txt file. Unfortunately, it's not a CSV. The file is located here: http://www.filedropper.com/movie…
Python: Printing a list from a txt file Need help trying to print a list from a
Python: Printing a list from a txt file Need help trying to print a list from a txt file. Unfortunately, it's not a CSV. The file is located here: http://www.filedropper.com/movie…
Python: Problem solving with lists, strings, and files Write a program that read
Python: Problem solving with lists, strings, and files Write a program that reads a csv data file called csv sales that contains sales of land in various parts of the UK for years…