Web development and programming
191828 questions • Page 3751 / 3837
python inv dict(d) input: dictionary d representing an invertible function f out
python inv dict(d) input: dictionary d representing an invertible function f output: dictionary representing the inverse of f, the returned dictionary’s keys are the values of d a…
python language In the hash table map implementation, the hash table size was ch
python language In the hash table map implementation, the hash table size was chosen to be 101. If the table gets full, this needs to be increased. Re-implement the put method so …
python language implement the pop operation as described on page 137. write test
python language implement the pop operation as described on page 137. write test program to test this new method. here is the describtion : pop() removes and returns the last item…
python language please, practice with regular expressions and string processing
python language please, practice with regular expressions and string processing Part II: Determine a Package's Destination (10 points) Write a function package destination ), whic…
python language please, using bitwise operations Part III: Decode a Machine Inst
python language please, using bitwise operations Part III: Decode a Machine Instruction (20 points) The Fictional KIPS Computer For this part you will implement a function that de…
python language, dictionaries, string processing and file inputs Part V: Fetch I
python language, dictionaries, string processing and file inputs Part V: Fetch Information (20 points) In this part we will generalize the results of the previous part to files th…
python language, learning about nested lists and nested-loops. Some Preliminarie
python language, learning about nested lists and nested-loops. Some Preliminaries In Python, a tuple is a collection similar to a list in that it is an ordered collection of items…
python language, practice with classes and objects Preliminaries Throughout this
python language, practice with classes and objects Preliminaries Throughout this lab you will be working with the class given below, which defines the characteristics of a package…
python language, working with nested lists and nested loops Part I: Student Grad
python language, working with nested lists and nested loops Part I: Student Grade Alert (20 points) In this part, you will write a function student-alert ()·The function simulates…
python please File: testgrayscale.py Tests a function for converting a color ima
python please File: testgrayscale.py Tests a function for converting a color image to grayscale from images import Image def grayscalefimage) """Converts the argunent image to gra…
python please Part V: War Variant #1 : Suit Rank (20 points) Complete the functi
python please Part V: War Variant #1 : Suit Rank (20 points) Complete the function play with suits(), which takes two arguments, in this order. 1. player1:a player object that rep…
python please Preliminaries Throughout this assignment you will be using the fol
python please Preliminaries Throughout this assignment you will be using the following Card and Player classes, which are available in the file war classes.py: class Card: def ini…
python please based program that implements an image browser for your computer\'
python please based program that implements an image browser for your computer's hard disk. At start-up. the program should load a scrolling list box with three types of items: Th…
python please include the indentation THE ASSIGNMENT Your assignment is to creat
python please include the indentation THE ASSIGNMENT Your assignment is to create two programs . Program one creates the database and table . Program two-uses a menu to allow the …
python please! hw4 part4.py (Worth 10 points) Finally, create a program that det
python please! hw4 part4.py (Worth 10 points) Finally, create a program that determines whether a subject can be studied or not First, the program must ask the user to enter ten d…
python problem def multi_search(pat_file : open, text_file : open) -> [(int,str,
python problem def multi_search(pat_file : open, text_file : open) -> [(int,str,[int])]: # Testing compare_files ==-->multi_search(open('pats1.txt'),open('texts1.txt'))-->…
python problem: ( use a loop to read each character from the string and insert i
python problem: ( use a loop to read each character from the string and insert into the stack) 1. The function main a5.py continually asks the user for a string, and calls isPalin…
python problem: This program reads a file called \'test.txt\'. You are required
python problem: This program reads a file called 'test.txt'. You are required to write two functions that build a wordlist out of all of the words found in the file and print all …
python program Players decide at random who moves first. In a turn, a player mus
python program Players decide at random who moves first. In a turn, a player must make one of two types of move (passing is not allowed): A normal move, in which a player moves on…
python program, Implement the following three functions (you should use an appro
python program, Implement the following three functions (you should use an appropriate looping construct to compute the averages): allNumAvg(numList) : takes a list of numbers and…
python program, Implement the following three functions (you should use an appro
python program, Implement the following three functions (you should use an appropriate looping construct to compute the averages): allNumAvg(numList) : takes a list of numbers and…
python programming Problem 1. Prey-Predators-Humans Problem Take the prey-predat
python programming Problem 1. Prey-Predators-Humans Problem Take the prey-predator problem described in Chapter 13 and add humans. Use the file program13- 14.py, attached to the a…
python programming Problem 1. Prey-Predators-Humans Problem Take the prey-predat
python programming Problem 1. Prey-Predators-Humans Problem Take the prey-predator problem described in Chapter 13 and add humans. Use the file program13- 14.py, attached to the a…
python programming please help! thanks! 1.1 Overview and loose description Banks
python programming please help! thanks! 1.1 Overview and loose description Banks lend money to each other. In tough economic times, if a bank goes bankrupt, it will not be able to…
python programming.. - Write a program in which displays the sum of the first 50
python programming.. - Write a program in which displays the sum of the first 50 integers , modify the program so that the user can specify how many integers to sum. For example, …
python programming: Stock Transaction Program Last month Joe purchased some stoc
python programming: Stock Transaction Program Last month Joe purchased some stock from Schmoe Inc. Write a program that allows the user to input the following as many times as he/…
python question ! please show code and steps! Bonus Question 2 (Fibonacci Spiral
python question ! please show code and steps! Bonus Question 2 (Fibonacci Spiral) [3 points]: The picture to the right consists of a repeating series of red, blue, green, and yell…
python question 4. Function Two: wheatChess There is a famous puzzle intended to
python question 4. Function Two: wheatChess There is a famous puzzle intended to demonstrate the surprising growth of exponential sequences, sometimes called the "Wheat and chessb…
python question Complete following function according to the specification in th
python question Complete following function according to the specification in the documentation string. You will need to create your own custom exceptions for these functions. # W…
python question The initialisation function and the __str__() function for a Pri
python question The initialisation function and the __str__() function for a PriorityQueue class are shown below. This class uses a min binary heap (i.e. the smallest value at the…
python question please show code and steps!!! Bonus Question 1 (McCarthy 91 Func
python question please show code and steps!!! Bonus Question 1 (McCarthy 91 Function) [1 point: The McCarthy 91 function is defined by: Mon) n 10 if n 100, MOn) MM(n 11) if ns100 …
python question plz help! thank you very much! how to use for loop to repeat an
python question plz help! thank you very much! how to use for loop to repeat an program? for example, yn= input("Do you want enter a new data?(Please answer this use yes or no):")…
python question! How to check the circle is in the box, and return true or false
python question! How to check the circle is in the box, and return true or false, show code and steps! A method named insideBox that takes the following inputs: the x coordinate o…
python question! Practice project: The tic-tac-toe game we are going to create i
python question! Practice project: The tic-tac-toe game we are going to create is the well-known game: There is a 3x3 board (matrix). initially empty. There are two players, the X…
python question! please shoe code and steps! thanks! Here is the the information
python question! please shoe code and steps! thanks! Here is the the information from limerick.txt. Your guy can edit to limerick.txt A programming genius called Hank Wrote a syst…
python question! please show code and steps! Bonus Question 1 (Gray Code) [3 poi
python question! please show code and steps! Bonus Question 1 (Gray Code) [3 points]: Consider following Python function for Gray code by bit width enumerating all binary numbers …
python question! please show code and steps! Lab Question 1 (Nested Squares) [5
python question! please show code and steps! Lab Question 1 (Nested Squares) [5 points] with bonus: A. The picture to the right consists of 10 squares. The outermost is 200 wide a…
python question! please show code and steps! Lab Question 4 (Pig Latin) [5 point
python question! please show code and steps! Lab Question 4 (Pig Latin) [5 points] with bonus 12 points]: Write a function igpayatinlay (e) that translates English to Pig Latin: f…
python question! please show code and steps!! Bonus Question 2 (Ackermann Functi
python question! please show code and steps!! Bonus Question 2 (Ackermann Function) [2 points]: The Ackermann function has some interesting theoretical properties because it is no…
python question: Please upload screenshot and be precise with answer the questio
python question: Please upload screenshot and be precise with answer the question exactly as shown in the picture (exact decimal numbers and loop with underline) Problem Descripti…
python questions You are considering a new game to buy. Write a piece of code th
python questions You are considering a new game to buy. Write a piece of code that accepts two values from the user, the rating of the game and the average cost (in dollars). You …
python recursive Define a merge function, whose first argument is a list (possib
python recursive Define a merge function, whose first argument is a list (possibly empty), always containing equal-length strings; its second argument is a single string. It retur…
python regular expression la. (2 pts) Write a regular expression pattern that ma
python regular expression la. (2 pts) Write a regular expression pattern that matches all numbers from 1-31 (interesting because it represents all the possible days in a month). I…
python template provided checkout (num_hats, num tels, num_creans): This functio
python template provided checkout (num_hats, num tels, num_creans): This function starts off knowing how many Headless Hats, Boxing Telescopes, and Canary Creams we would like to …
python using 3.5.2!!!!!!!!!!! *6.19 (Geometry: point position) Exercise 4.31 sho
python using 3.5.2!!!!!!!!!!! *6.19 (Geometry: point position) Exercise 4.31 shows how to test whether a point is on the left side of a directed line, on the right, or on the same…
python, printing a line from a file i need to open the file with a function ive
python, printing a line from a file i need to open the file with a function ive made, i think ive got that, now i want it to print just the first line In [1 def open_function (b) …
python. Write a function, called update dictionary that has two parameters: a fi
python. Write a function, called update dictionary that has two parameters: a filename and a dictionary. The function should Open the given file 1. If the file open succeeds print…
python3 (1a) Complete the examples in the docstring and then write the body of t
python3 (1a) Complete the examples in the docstring and then write the body of the following function: def diff_first_last(L): '’' (list) -> boolean Precondition: len(L) >= …
python3 (2a) Write a function middle which takes a list L as its argument and re
python3 (2a) Write a function middle which takes a list L as its argument and returns the item in the middle position of L, when L has an odd length. Otherwise, middle should retu…
python3 describes a GUI programs(tkinter) that draw a rectangle and/or an oval,
python3 describes a GUI programs(tkinter) that draw a rectangle and/or an oval, as shown the figures belows. The user selects a figure from a radio button and specifies whether it…
Subject
Web development and programming
Use Browse or pick another subject.