Browse P
Alphabetical listing with fast deep pagination.
81033 items • Page 1445 / 1621
Python Functions def count_odd_divisors(n): Given a positive int, find out how m
Python Functions def count_odd_divisors(n): Given a positive int, find out how many odd numbers are divisors. o o o o o Assume: n is a positive integer. Restrictions: no extra res…
Python Functions sum_of_digits(n): Given a non-negative integer n, calculate and
Python Functions sum_of_digits(n): Given a non-negative integer n, calculate and return the sum of all its digits. Assume: n is a non-negative integer. Return value: an integer. E…
Python Gap Filling Consider a Python GUI program that produces a window with the
Python Gap Filling Consider a Python GUI program that produces a window with the following widgets: a text box to display the value of one element of a given list (e.g., a list of…
Python HELP!! Hello, I\'m taking CS and learning python now and I was doing HW,
Python HELP!! Hello, I'm taking CS and learning python now and I was doing HW, but they are hard this time. Please HELP!!!! # Program 1: Complete the two functions power and _powe…
Python HW 4. You work for an on-line game site. Your job is to develop a program
Python HW 4. You work for an on-line game site. Your job is to develop a program that accepts a user name and password. Write a Python script that prompts users for a user name an…
Python HW Program LoSho Square Pickle Import The input file for this program is
Python HW Program LoSho Square Pickle Import The input file for this program is a pickled file (Square.dat) that stores a collection of 3 X 3 two dimensional arrays (list) of inte…
Python Hello I am trying to learn basic recursive function on Python and I am do
Python Hello I am trying to learn basic recursive function on Python and I am doing some of few exercises for practice. I am trying to make a function that returns the number that…
Python Hello I am trying to learn basic recursive function on Python and I am do
Python Hello I am trying to learn basic recursive function on Python and I am doing some of few exercises for practice. I am trying to make a function that returns the number that…
Python Hello I need help with this code I really dont know what to do, thank you
Python Hello I need help with this code I really dont know what to do, thank you in advance. I was not given a test input file, the only two files I was given, is the assignment f…
Python Help I Will give thumbs up for a code that follows the instructions, comp
Python Help I Will give thumbs up for a code that follows the instructions, compiles and has a good explanation!!! Include what your code outputs! The story generator – the Mad-li…
Python Help I Will give thumbs up for a code that follows the instructions, comp
Python Help I Will give thumbs up for a code that follows the instructions, compiles and has a good explanation!!! Include what your code outputs! The story generator – the Mad-li…
Python Help Scenario You will create world with cities, trains, and exciting jou
Python Help Scenario You will create world with cities, trains, and exciting journeys! This will require some proscribed class definitions. Create all the classes as defined below…
Python Help The story generator – the Mad-libs game asks for parts of speech, su
Python Help The story generator – the Mad-libs game asks for parts of speech, such a noun, adjective, or adverb, and those words are plugged into a template to generate a sometime…
Python Help There is an error in my code that I can\'t track down. I am trying t
Python Help There is an error in my code that I can't track down. I am trying to find the smallest value in O(log n) time. List is sorted but it may be rotated This is what I have…
Python Help! Decrypt Function using a Multiplicative inverse function. Here is t
Python Help! Decrypt Function using a Multiplicative inverse function. Here is the code that I have so far, I have a multiplicative inverse function that use an Extended Euclidean…
Python Help! I have no idea how to code this problem and I will appreciate if yo
Python Help! I have no idea how to code this problem and I will appreciate if you guys can solve this. Problem statement For this program, you are to design and implement a calcul…
Python Help. I have an issue with my priority queue. I can\'t seem to get my res
Python Help. I have an issue with my priority queue. I can't seem to get my result to match the "solution" set. I believe the issue is with the upheap function. I believe I am imp…
Python How do you specify the type of LINE plotted in matplotlib? For example, w
Python How do you specify the type of LINE plotted in matplotlib? For example, what word would go in the space below? Assume the following commands have been issued: Select one: a…
Python I am trying to build a bigram model and to calculate the probability of w
Python I am trying to build a bigram model and to calculate the probability of word occurrence . I should: Select an appropriate data structure to store bigrams. Increment counts …
Python I have this code import subprocess import datetime from time import sleep
Python I have this code import subprocess import datetime from time import sleep i = 0 while i<100: try: subprocess.check_output(['ping -l 1000 www.google.com c- 100']) except:…
Python I need the pseudo-code of the following program: import random from tkint
Python I need the pseudo-code of the following program: import random from tkinter import * from tkinter import ttk from tkinter.font import Font #from demopanels import MsgPanel,…
Python I need the pseudocode of the following code: import pygame, sys from pyga
Python I need the pseudocode of the following code: import pygame, sys from pygame·locals import * import numpy as np def inRangeAndEmpty(posx,posy,board,N): return (posx = 0 and …
Python I need the pseudocode of this program: import pygame, sys from pygame.loc
Python I need the pseudocode of this program: import pygame, sys from pygame.locals import * import numpy as np def inRangeAndEmpty(posx,posy,board,N): return (posx < N and pos…
Python IDLE 3.6.2 shell coding This is an exercise in coding with some repetitio
Python IDLE 3.6.2 shell coding This is an exercise in coding with some repetition, with some output formatting and if-statements thrown in. Problem Description Many recipes tend t…
Python IDLE 3.6.2 shell coding This is an exercise in coding with some repetitio
Python IDLE 3.6.2 shell coding This is an exercise in coding with some repetition, with some output formatting and if-statements thrown in. Problem Description Many recipes tend t…
Python IDLE 3.6.2 shell coding This is an exercise in coding with some repetitio
Python IDLE 3.6.2 shell coding This is an exercise in coding with some repetition, with some output formatting and if-statements thrown in. Problem Description Many recipes tend t…
Python In Part 1, you learned of creating a simple connection (known as a TCP an
Python In Part 1, you learned of creating a simple connection (known as a TCP and UDP socket). In Part 2, a group of two students (as a team, or individually) will develop a more …
Python In the following code cell, write a function named create_pssm() that tak
Python In the following code cell, write a function named create_pssm() that takes sequences, a list of sequences as strings, and returns matrix, a list of 4 rows and columns equa…
Python In the following code cell, write a function named get_ec() that takes xm
Python In the following code cell, write a function named get_ec() that takes xml, a string in xml format containing protein entries, and returns a list of EC numbers (text of the…
Python In the following code cell, write a function named get_sub_seq() that tak
Python In the following code cell, write a function named get_sub_seq() that takes xml, an amino acid sequence entry in xml format (as shown in the code cell below), start and end…
Python Intro. BST Project ( Python 3 ). Implimenting Binary Search Tree (BST). I
Python Intro. BST Project ( Python 3 ). Implimenting Binary Search Tree (BST). In this program, we try to implement a BST and there are tests on the bottom that we using to test t…
Python Is it possible for a user-defined function to return multiple values? Sel
Python Is it possible for a user-defined function to return multiple values? Select one: a. No, a function can only return one argument. b. Yes, they are returned as a tuple of va…
Python Issue 1.Extend the UnorderedList class by adding the pop(self, index) met
Python Issue 1.Extend the UnorderedList class by adding the pop(self, index) method that that takes an integer index as a parameter and removes the item at the index position in t…
Python Issue Postfix notation (also known as Reverse Polish Notation or RPN in s
Python Issue Postfix notation (also known as Reverse Polish Notation or RPN in short) is a mathematical notation in which operators follow all of its operands. It is different fro…
Python Jes- Help in modifying function in order to incorporate overlapAmount int
Python Jes- Help in modifying function in order to incorporate overlapAmount into the parameters . the first line should resemble def blendedPicture(pic1,pic2,overlapAmount): The …
Python KEYWORD_CATEGORIES = {\'happy\': [\'great\',\'excited\',\'happy\',\'aweso
Python KEYWORD_CATEGORIES = {'happy': ['great','excited','happy','awesome'], 'uncertain': ['maybe','worried','dunno'], 'sad': ['unhappy','miserable','awful'], 'good': ['pleasant',…
Python Language Please Part II: Play One Round (20 points) Complete the function
Python Language Please Part II: Play One Round (20 points) Complete the function play-normal.round ), which takes twos arguments, in this order: 1. player!: a Player object that r…
Python Language: Modify the implementation of the BinarySearchTreeMap class, so
Python Language: Modify the implementation of the BinarySearchTreeMap class, so in addition to all the functionality it already allows, it will also support the following method: …
Python Level 1: Assignment 10 - Functions In Assignment 9 you created a calculat
Python Level 1: Assignment 10 - Functions In Assignment 9 you created a calculator that output among other things the sine, cosine, and tangent of a number in radians. For this as…
Python Main focus on stack. Result should look like this: The Reverse Polish Not
Python Main focus on stack. Result should look like this: The Reverse Polish Notation is "19 2.14 + 4.5 2 4.3 / - &" The result is 85.29744186046511 def evalTokens (tokens): #…
Python Modifying lab 8: Lame Game Computer Game Room The existing menu options w
Python Modifying lab 8: Lame Game Computer Game Room The existing menu options will stay the same: 1. Make Change 2. High Card 3. Deal Hand 4. Save Dream Hand 5. Display Dream Han…
Python NumPy This lab a NumPy lab, and NumPy must be used to implement the solut
Python NumPy This lab a NumPy lab, and NumPy must be used to implement the solution (labs that do not utilize NumPy arrays and Mathematical functions will not receive any credit).…
Python One effective method often used by programmers to comprehend the effect o
Python One effective method often used by programmers to comprehend the effect of code is "tracing" Tracing is hand-executing the code in the same sequence and manner that the com…
Python One effective method often used by programmers to comprehend the effect o
Python One effective method often used by programmers to comprehend the effect of code is "tracing Tracing is hand-executing the code in the same sequence and manner that the comp…
Python Overview For this assignment you will implement a variant of the game Con
Python Overview For this assignment you will implement a variant of the game Connect Four on game boards of arbitrary dimensions. (The classic game is played on a 6-row-by-7-colum…
Python Overview For this assignment you will implement a variant of the game Con
Python Overview For this assignment you will implement a variant of the game Connect Four on game boards of arbitrary dimensions. (The classic game is played on a 6-row-by-7-colum…
Python Overview For this assignment you will implement a variant of the game Con
Python Overview For this assignment you will implement a variant of the game Connect Four on game boards of arbitrary dimensions. (The classic game is played on a 6-row-by-7-colum…
Python Overview For this assignment you will implement a variant of the game Con
Python Overview For this assignment you will implement a variant of the game Connect Four on game boards of arbitrary dimensions. (The classic game is played on a 6-row-by-7-colum…
Python Overview For this assignment you will implement a variant of the game Con
Python Overview For this assignment you will implement a variant of the game Connect Four on game boards of arbitrary dimensions. (The classic game is played on a 6-row-by-7-colum…
Python P3.12 Write a program that translates a letter grade into a number grade.
Python P3.12 Write a program that translates a letter grade into a number grade. Letter grades are A, B, C, D, and F, possibly followed by + or –. Their numeric values are 4, 3, 2…