Boost your Grades with us today!

ūüĎč Cheap Assignment Help Services ūüí≤ūüĎć

ūüĎčūüĎčūüĎč Are you looking for the answer to the posted question or or any other quality academic essay? Then look no further. Our research paper writing service is what you require. Our team of experienced writers is on standby to deliver to you an original paper as per your specified instructions with zero plagiarism guaranteed. This is the perfect way you can prepare your own unique academic paper and score the grades you deserve. Contact our live support team for any assistance or inquiry.

  • I’m trying to handle exceptions to the code below so that when a user enters either an int instead of a string or a string instead of an int the program calls the exception, says something like…
  • This program is about exception handling.¬†First, create an empty list.¬†Use a loop to ask user to input 5 integers.¬†In every iteration, add user input to the list if it can be converted to an intege…
  • https://seedsecuritylabs.org/Labs_20.04/Files/Format_String/Format_String.pdf ¬† ¬† can you solve it for me and capture each steps
  • While Loop Processes How do you prompts the user for an even number from 2 to 100 until the number 48 is encountered. Not including the 48, calculate the average. In case you know what this means: DO …
  • Hello, I need help with a project. I need the following commands in python to start a project. What python command can I use, if I want to pull information from a file saved on my desktop? 2.from the …
  • . Problem concatenate(): Adding Words (concatenate( , You need to write a function that takes multiple words as its argument and returns a concatenated version of those words separated by dashes (?…
  • Why doesnt the code play on wing 101. could you just type the coding for the entire assignment though?. Step 1: Type this code in the editor window: def repeat(s: str, n: int) -> str: Return s repe…
  • Hi tutor! Im having trouble coding a user login program. I am required to use login program with a username and password authentication. If the username matches with the user in an external text file,…
  • What is the smallest value in the numbers list? Complete the code to return the output numbers = [9, 2, 5, 11, 4, 3] smallest = write code here (numbers ) print (smallest) Expected Output 2
  • i have some problem in called java notebook or python. i need to Use the method of autocorrelation to sixth notes in “cello.wav”. however, i dont know how to type the several code and where i should t…
  • My assignment is to start a program that begins with a list of¬†words,¬†and can print that list of words in a scrambled order – repeatedly.¬†This needs to be done as a “menu structure” as shown below …
  • what will be the output of beow python code ? tupl=((2,30,”abc”‘0,9) tupl(0)(1)=1 print (tupl)
  • . def alg_moving_average ( filename ) : ""This function implements the moving average stock trading algori The CSV stock data should be loaded into your program; use that dat make decis…
  • Identify errors and Ô¨Āx the code. The following code segment is a short program that copies the elements from an integer list into another integer list and adds 1 to each element. It then prints e…
  • Prompt the user for an automobile service. Output the user’s input. (1 pt) Ex: Enter desired auto service: Oil change You entered: Oil change (2) Output the price of the requested service. (4 pts) …
  • Create a function called¬†avgSumOfSquares¬†that expects one argument, a list of¬†numbers. The function computes the average of the sum of the squares of all the¬†values¬†entered and then returns that …
  • Make Python dictionary that returns a list of values for each key . The key can be whatever type you want.¬† Design the dictionary so that it could be useful for something meaningful to you. Put at le…
  • Print random letter from A,C,E,G using Python program
  • What is the Pseudocode, input and output for the following code? ”’ import platform weeklySalary = 0.0 incomeBracket = { ¬†¬†‘500>salary’: 0.10, ¬†¬†‘500<=salary<1500’: 0.15, ¬†¬†‘1500<=s…
  • Again, you have lost your USIS password!! You went to the registrar office and requested for a new password. This time, you need to follow some rules to set your password. Otherwise, they won’t change…
  • Question 5. (20 points): Prove that the following one-variable functions are convex. . 4(t) = V12 + 1 on R; . y(t) = – V1 – t on (-1, 1). Now, assume that & is one of the above two functions y and…
  • **PART A** Please create a script that will print a list consisting of “C for temperature in degrees Celsius”, “F for temperature in degrees Fahrenheit”, and “K for temperature in degrees Kelvin”. It …
  • need help with the following¬† (in python, using pycharm) ¬† 1. load the iris dataset (https://scikit-learn.org/stable/_downloads/5b08a262d5845e4674288edb801adf93/plot_iris_dataset.py) 2. Train three …
  • Assignment Goals For this assignment, you will practice applying concepts from sequential search optimization loops binary search reading text files and finish an application that uses binary search t…
  • I need help writing a program in python that allows the user to search through a series of text files for a word or series of words. I have a folder named ‘data’ with about 100 txt files in it. I’ve i…
  • Suppose a reactor normally contains 12 units of dissolved oxygen in a fixed volume of water. Suppose at t=0(min) a quantity of organic waste is introduced, then the oxygen concentration in the reactor…
  • storm information above Q. 1 – Flowcharts You are an examiner at Techno Intelligence Threat Systems and are entrusted with making processes for the accompanying occurrences that were gotten on the org…
  • Background¬† Music streaming service has been on the rise in recent years. But radio continues to be an important part in music industry. Radio play is still a metric for measuring popularity. ¬† Musi…
  • For this program, you will process an existing data file ¬†Download existing data file. Using Python, add a line to the Performance Assessment5_5DataFile.csv. file programmatically, which contains you…
  • Help with the following Python questions: 3.) Use python to code a 3X2X5 array with random numbers in it 4.) Use python to code a 4X2X3 array using np.arange (the elements are from 0 to 23, both inclu…
  • write a program named tire_volume.py that computes the approximate volume of air inside a tire. Add code near the end of that program that does the following: Gets the current date from the computer’s…
  • Write a program that creates a 10 by 10 image of a color of the users choice. Instead of simply asking the user for a color, the user will be creating the color by iteratively increasing and decreasin…
  • INSTRUCTIONS : 1) Python Code with comments to understand batter. 2) No use of built in libraries and built in functions. 1. Create a parent class Array which takes two parameters to initialize: rows …
  • This is a pretty challenging task that you have to complete by modifying the get_same_or_newer() function. Here are few hints to fix this issue: Download the file only once from the URL. Pre-process i…
  • for python 2 programming, please assist with b Question 2. The factorial function informally is n! = 1 x 2 x 3 x … x n. For example, 5! = 1 x 2 x 3 x 4 x 5 = 120. A recursive definition of the facto…
  • Ten digit ISBN numbers are created so that the first nine digits are information digits and the last digit is a check digit. This last number helps people notice and correct mistakes that might be mad…
  • Simulate using python: Suppose buses arrive according to a Poisson process with an expected arrival time of 3.5 minutes. Estimate and simulate the probability that the average of 25 bus arrival times …
  • I want to make a simple web page bmi calculator using bottle in python with 2 html pages for submission and result, and one .py file
  • CHALLENGE ACTIVITY 3.2.3: Initialize a tuple. Initialize the tuple team_names with the strings ‘Rockets’, ‘Raptors’, ‘Warriors’, and ‘Celtics’ (The top-4 2018 NBA teams at the end of the regular seaso…
  • My code seems to work fine, except option 3 where is will not print the output. I don’t understand why, can you help me fix and understand where I went wrong? My code: “””Author: Michael Duncan Class:…
  • How to code this? Question3. ¬†Assign¬†west_births¬†to the total number of births that occurred in region 4 (the Western US). Hint: ¬†Make sure you double check the type of the values in the region co…
  • score = 0 score = int(score) ¬† print(‘\nQUESTION 1: WHAT DOES STAND FOR ?\n’) print(‘A. Personal Computer’) print(‘B. Private Computer’) print(‘C. Posh Computer’) print(‘D. None of the above ‘) ¬† an…
  • Python Please. 6.21 LAB: Convert to binary – functions Write a program that takes in a positive integer as input, and outputs a string of 1’s and O’s representing the integer in binary. For an integer…
  • Copy the countdown function def countdown(n): ¬†¬†¬†if n <= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) I need to new recursive function countup that …
  • https://docs.google.com/spreadsheets/d/e/2PACX-1vSMXUFqBQrah1et2sOMieg1R8sNuIcOVkXt846HG-690ZWMIrhJE_HOy5gk5lg5Aw/pubhtml ¬† Q1. Explore the credit card data set provided. You can also access it from …
  • Shuffle the deck, then deal two hands. ¬† ¬† dCardNames = [‘2′,’3′,’4′,’5′,’6′,’7′,’8′,’9′,’10’,’J’,’Q’,’K’,’A’] dCardValues = [‘2′,’3′,’4′,’5′,’6′,’7′,’8′,’9′,’10’,’10’,’10’,’10’,’11’] dSuits = [“Clu…
  • 13 Lab: Making predictions using SLR models ¬† The internetusage.csv dataset contains different statistics for all 50 states in the United States. Among those statistics are percentage of internet …
  • The Hay System is a job performance evaluation method that is widely used by organizations around the world. Corporations use the system to map out their job roles in the context of the organizational…
  • write a Python function to find the occurrences of the given element based on following syntax¬† FuninFinding(input1, input2, item) Where input1 may be a list or tuple, it is passed when we call this?…
  • What are the applications of linear programming? Is it put to use at Software giants like google?
  • Above is what you will see on Python shell: Write a function separate() that takes a string fname representing a file name as a parameter. You may asssume that the file associated with fname exists an…
  • Write a Lexical Analyzer program, which input source program from “src.txt” file. This program should not process comments. (comments start with \\ and do not surpass one line). Tokens can be identifi…
  • Discussion PromptInitial Post: A turtle is an object with attributes (color, position) and functions (forward, penup) that you have been using. Propose a new object with at least two attributes and on…
  • The number of bonus points a player starts with when they move onto a new level depends on the number of the level that they are moving onto. Behind the scenes, Donkey Kong takes the level that is abo…
  • Could you explain the following result ? Thank you.. In [28] : re . search ( ‘ \w+\W?\w+’ , ‘abc abc’ ) Out [28]: <re. Match object; span=(0, 3), match=’ abc’>
  • function¬†fast_find_pair_sums¬†with the following parameters: x: The list of integer numbers. n: The number that your pairs should sum up to. function should return a set of tuples where the values in…
  • Unit 7 Write a python code that creates a class with those attribute and function. Below is the proposal… ¬† Bass prefer a temperature of 63-75, in a given week highlight the days that fall in that …
  • Hello, I’m having problems with a programming project. It has to be done in python. I’ve been tackling this for the past week and it is due this coming Sunday. I know that this is already answered on …
  • . The Monte Carlo method can be used to generate an approximate value of pi ("). The figure below shows a unit square with a quarter of a circle inscribed. The area of the square is 1 and the a…
  • Python lists are commonly used to store data types. Lists are a collection of information typically called a container. Think of a physical container that can hold all kinds of objects, not just one o…
  • For the “Jonhsons Data” set, you are asked to sort the jobs using the Simulated Annealing Algorithm. You should use makespan as a performance criterion (the time to complete the works will be minimize…
  • A program that computes the sum of of an integer. For example, if integer 35931 is being given, the program should output 21 because 21 is the sum of 3 + 5 + 9 + 3 + 1.
  • Write a program that first gets a list of integers from input. That list is followed by two more integers representing lower and upper bounds of a range. Your program should output all integers from t…
  • On Monday, February 7th, Spirit Airlines and Frontier Airlines announced that they’re merging into a single, larger airline. They haven’t yet come up with a name for the new merged airline. Let’s fast…
  • Using PySpark SQL Data frames ¬† Question 1: The reviews column contains information such as the number of stars for each review (the¬† rating ). The ratings column are stored in an array ( reviews.st…
  • I need hel with a deal_cards function to make the code run like this image, however you don’t need to draw for me. I only need blank cards. The deal_cards function is to display a set amount of cards …
  • Could you check and comment for the code? If I don’t put k4, the graph was going down sharply. I don’t know whether I’m on right track or not.. Now use the ideas of Problem 1, to come up with a covari…
  • Implement Logistic Regression with L2 regularization Using SGD: without using sklearn¬†:- Initialize the weight_vector and intercept term to zeros (def initialize_weights()) Create loss function (def …
  • im having trouble with the third task ¬†. Lab Activity 5.2: Using the List Methods [121 Using the List Methods SoenaÔ¨Āo iii ({2- Given the following challengesuse appendlf) . extend() , pop{) .and in…
  • In python In [2]: from jupyter_plotly_dash import JupyterDash import dash_core_components as dcc import dash_html_components as html import dash from dash. dependencies import Input, Output from pymon…
  • Function name: groceries() Parameters: no parameters Return value: None Description: Write a function that asks a user how many apples they want to buy, how many bananas they want to buy, and how many…
  • . Problem 5 (40 points). In this problem, we consider a simple linear regression model with a modiÔ¨Āed loss function and try to solve it with Gradient Descant (GD) and Stochastic Gradient Descant (…
  • The code below is what needs to be built off of. Can you please provide an explanation behind your code. And provide a couple testing examples along with the solution. Thank you. class Node: def __ini…
  • I would need a multi threaded Web Server code and client code in Python.¬†¬† Server requirements: If the requested file exists, the server should respond with “HTTP/1.1 200 OK” together with the reque…
  • build a model with THREE hidden layers [150, 70, 30] neurons. Create two outputs: prediction of each digit and the prediction of even/odd. Give equal probabibility to each output. If needed, explain w…
  • I’m missing something like Here’s my work: our_input = [int(our_input)¬† for our_input in input().split()] new_input=[] for i in our_input: ¬†¬†if(i>0): ¬†¬†¬†¬†new_input.append(i) new_input.sort()…
  • How to check & change datatype of a column of panda dataframe using combobox in jupyter notebook? ¬† The data set for this problem is taken from Kaggle and stems from the IBM sample data set colle…
  • please use¬† python ¬†to help with question displayed and include output with code the link for the file is below, thank you https://drive.google.com/file/d/1KN7LyEQD7XKkRV7hDBYyfmjB4TTg3NZ5/view?usp=…
  • i need to make a Python program that reads a file and creates a series of emails.¬† Console Email Creator To : jbutler@gmail.com From : noreply@deals . com Subject: Deals! Hi James, We’ve got some gre…
  • I have a couple of CSV files that I built and am trying to find the best way to put together a python language program that will allow a user to load one of two of these CSV files and then perform his…
  • Given the code: pets = {‘dogs’: [‘Rocket’, ‘Trixie’], ‘cats’: [‘Motley’, ‘Hobbes’]} which of the following is a true statement: a)’dogs’ is a key and ‘Hobbes’ is a value b)’Hobbes’ is a key and [‘Rock…
  • My specific question: I did not include all the sample runs because this would be to long, but if needed I can do so. I am a bit confused as to how I should start this off. Do I initially use __init__…
  • What are the built-in type does python provides?///////
  • Walk through the STAIR process as it would apply to a hypothetical software development cycle for a video game developer. Explain what each step would look like¬†for such a project. As a reminder, STA…
  • Hi, I can’t figure out how to get the correct output.. can someone tell me what’s wrong with my code?
  • Def mode(L): Question #1 PicoSoft is a small subsidiary of a well-known computing company. (Some say it’s a “million times smaller.” At the moment, in fact, you’re their only developer.) PicoS…
  • a Having a secure password is very important practice, when much of our information is stored online. Write a program that validates a new password, following these rules: I The password must be at…
  • Write a program that extracts the last three items in the list¬†sports¬†and assigns it to the variable¬†last. Make sure to write your code so that it works no matter how many items are in the list. 1 …
  • 1 7 1 9 0 # 6 : vocareum My Classes Help Abdullah Timer: 3h 59m 8s Submit Details ~ Grades End Exam Actions jupyter fx-fa21 (autosaved) Control Panel File Edit View Insert Cell Kernel Widgets Help Not…
  • Revision: run the datafile thru the python script myMapper.py and then take the output data file and use it’s output and run it thru the myReducer.py script. datafile.txt = {increasement 822 tonsillol…
  • A MapList is a mapping container, just like dictionaries. It is mutable and iterable and all items are unique. Also, similar to dictionaries, MapList contains a group of keys and values. However, unli…
  • The police in your city aggressively ticket speeders, unless it happens to be their birthday. There is an unofficial policy to subtract 5mph from your speed, which can be the difference between a ti…
  • . 1 def check_duplicate(L) : Given a list of numbers, return True if a number has appeared more than once, and False otherwise. OVOUAWNH return False x = [1, 3, 2, 18, 9] y = [81, 5, 1, 1] LC z = [0…
  • Question 7: Find attached the instructions. This should be the output: >>> dice_match( 5 ) Your dice are [ 3 , 3 , 5 , 6 , 5 ] You reroll any dice. I will ask you about one at a time The next…
  • Need solution for the following Questions: ¬† Q3- Design the learning curve and talk about what you see. ¬† Q4- Explain these graphs. If you see any issue, suggest a solution to resolve it. Make the m…
  • Parentheses are used in mathematical expressions to denote modifications to normal order of operations. They must be used in pairs and can be nested inside another pair. For example, parentheses in th…
  • Part 4: Selecting observations in Pandas I The scaffold below provides a DataFrame df with four questions provided in the comments. Each question requires that you provide an expression for a variable…
  • Movement: Movement should take the surroundings into account, considering neighbouring positions in the grid and use a combination of reasoning and randomness for each move. There should be two mod…
  • from lab6_adt import * from lab6_util import * ############################## # ————————– # # Menus ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†# # ————————– # ##################…
  • py – FA\CSC108\lab6.py (3.9.7) X 2 lab6.py – FA\CSC108\lab6.py (3.9.7) 0 File Edit Format Run Options Window Help File Edit Format Run Options Window Help UTM: CSC108, Fall 2021 def second_larges…
  • Please help answer question above by writing code. Thank you! Please ask for further inquiries. The questions above are in order. ents E Assessment Jtion In this question, you are going to implement a…
  • Please someone solve this PYTHON ASSIGNMENT and add Comments and Function Descriptions so I can understand the script. Just need to do part 1.1, 1.2 and part 2.¬†. CONWAY’S GAME OF LIFE ON TORUS 0. In…
  • “””A simple program that implements a dice roll and roll count functions. It then uses these functions “”” ¬† import random ¬† def roll_dice() -> int: ¬† ¬† “””Function that implements rolling a di…
  • JamEx Limited requires a program to calculate and print the commission received by a salesperson. The program should process an undetermined number of salespersons and appropriately terminate by a pre…
  • #Here is the load_dataset import csv import json def load_dataset(file_name:str)-> dict: ¬† ¬†“””Return a list of dictionary keys of generes with the store data such as (title, authors, language…
  • 1¬†Consider an application that can be used by customers to book for a bus ticket. Come up with a pseudocode and a flowchart to represent the program¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • I need assistance to convert C code to python code #include <openssl/conf.h> #include <openssl/evp.h> #include <openssl/err.h> #include <stdlib.h> #include <string.h> #in…
  • Power Method and Inverse Iteration – Can you please write the following code in python instead of MatLab? {a} Implement the Power Method for an arbitrary matrix A E EM” and an initial vector Ô¨āu E …
  • QUESTION 1 Version control does not allow programmers at remote locations to work on the same files at the same time.¬†(True/False) ¬†True False QUESTION 2 With version control,¬†if one programmer ove…
  • class PandasChain : # 5 pts – Complete this constructor def_ init_ ( self , name ) : self . name = # Convert name to upper case and store it here* self . chain = # Create an empty list self . id = ha…
  • for i in [1, 3, 5, 7, 9]: x = i**2 – (i-1)*(i+1) print(x, end=”, “) # prints 1, 1, 1, 1, 1, need help breaking this down so im confused at the part where “for “i'” I thought i is supposed to be each o…
  • Data Files(eury_dict, tax_dict, yeast_dict):¬† https://docs.google.com/spreadsheets/d/1wWWuFkgpWvhIdREUQdIkUoNfY5v5Om_v/edit?usp=sharing&ouid=105308566456636539364&rtpof=true&sd=true ¬† ¬†…
  • I am having trouble figuring out the following to my code: ¬† when the game is won, the check_won() never returns done so the game loop doesnt terminate How do I add a dictionary to this so that I can…
  • Selection01: isOdd Complete the isOdd() function to take an int value and returns True if the parameter’s value is odd and False otherwise. Examples: isOdd( 5 ) returns True isOdd( 10 ) returns False …
  • USING PYTHON only and dataset is random¬† ¬† Display a Dynamic Line Chart. You will display a line chart of a dynamic dataset. It is advised that you start with assignment 3 and add the capability to …
  • Using the following code: def ChessBoardSetUp(): ¬†first_row = ‘rtbqkbtr’ ¬†second_row =’p’*8 ¬†empty_row = ‘.’*8 ¬†board = [ ¬†list(first_row), ¬†list(second_row), ¬†list(empty_row), ¬†list(empty_row…
  • In Python Driving is expensive. Write a program with a car’s miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 miles, and 400 miles. Output each floa…
  • Define the generator function¬†fib_gen, which is capable of yielding values of¬† infinite fibonacci series. The first two values of fibonacci series are 0, and 1. Create generator¬†fs¬†from¬†fib_gen¬†…
  • This is programming lab. The instruction is given in all images. You can read the images and provide the python code program. I need program code for this lab ASAP.
  • Load the two datasets “2021_Annual_Summary.xls” and “table_b_1.xlsx” using pandas.read_excel function, the variable files, and list comprehension to create a variable named “dfs”. For now, do not add …
  • Based on code and data below how produce a table that shows DBA Name, number of violations and number of licenses issued for every DBA Name query ={ ¬† ¬† ¬†‘size’ : 10000, ¬† ¬† ¬†‘query’: { ¬† ¬† ¬†…
  • Python program that to be used by the student council in this upcoming election to tabulate the votes after the election . ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • How can I add try except for this code? And can someone help me use PEP 8. Like using 4-space indentation, and no tabs. Wrap lines Put comments on a line of their own. Use docstrings. Use spaces aroun…
  • Problem 3:- Please note that Problem 1 and Problem 2’s note will be used , so you can update the Solution 1 and Solution 2 accordingly. Define another pytest test class¬† ‘TestInventoryAddStock’ , whi…
    • Write a code segment to create and print a two-dimensional 5×4 array (i.e. grid). The elements of the grid should be randomly selected from the inclusive interval [-50, 50]. In¬†[¬†]: #INSERT YOUR …
  • 1.7. Function appendParityRow This function takes a frame and a desired parity, and adds a 9th row of bits that are the parity bits of the columns of the frame. (Did you skip the background section…
  • Below is my work and the error that it gave me. Can you please show me how to fix this problem? (Note: this is Python) ¬†. class Keyboard: ""A Keyboard takes in a list of buttons, and has a …
  • Hi, This is probably a really silly question, but I’m struggling to understand a part of my Python practice problem. I have code that works, but it is doing something that I’m not sure how to fix. I a…
  • Despite hours of coding and typing every week, typing out imposter accusations just takes too long! You decide to write a program that translates single letters to words using a dictionary of translat…
  • Rock Paper Scissors! Create a game of rock paper scissors with the computer (call the function rockpaperscissors). You should be prompted (with input() ) to enter ‘r’, ‘p’, or ‘s’ for rock, paper or s…
  • .These are 2 different codes. not too much to do. Complete the getkeys function below that accepts a dictionary named someDict and a value named val. The value can be any data type. The function sh…
  • In Python- create a class Qualification with public member variables: Qualification name and number of modules required.Add init( ) method of the class that initializes string member variables to empt…
  • Define the function getMoviesData that: accepts a list of titles (strings) as input parameter returns a list of dictionaries fetched from the OMDB API, by calling your getOMDBData function Given:¬† de…
  • Consider the following multidimensional arrays: A = [[3,2,1], [4,5,6], [8,9,10] B = [[3,2,4,5],[6,5,4,3]] C = [[3,2,1,4],[6,5,3,4],[8,7,8,9],[7,6,5,4]] Make an recursive python algorithm to find the l…
  • I would like you to do some basic research regarding IPCS (Inter Process Communication System) mechanisms that are available in modern Operating Systems. With the exception of TCP/IP sockets, choose a…
  • Was wondering if maybe I could get some help: In this lab, you use what you have learned about searching a list to find an exact match to make a partially prewritten Python program. The program uses a…
  • 15 LAB: Plants Growth Cycle ¬† Learning Objectives Define a function to match the given specifications Call the function in your program Use if statements (can combine them with dictionaries) Use fo…
  • Exercise 1 ¬†(4 points). Suppose a string of digits¬†s¬†in base¬†base¬†contains up to one fractional point. Complete the function,¬†eval_strfrac(s, base), so that it returns its corresponding floating…
  • Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. Describe each possibility in your own words. Define “precondition” and “postcondition” as…
  • i need a program that takes a date as input and outputs the date’s season. The input is a string to represent the month and an int to represent the day. Ex: If the input is: April 11 the output is: Sp…
  • Lab 5: Secret Codes (Functions) Lab Assignment for PROG1205 – Intro to Programming Prior to attempting this problem, you should have done the following: 1. Read the assigned textbook readings for week…
  • Make a python program that takes the wallet address as input and calculate the balance of the wallet in BTC and ETH by using ccxt library.
  • Currently there is a string called¬†str1. Write code to create a list called¬†chars¬†which should contain the characters from¬†str1. Each character in¬†str1¬†should be its own element in the list¬†cha…
  • Simple random sampling A more principled approach is to sample uniformly at random from the players. If we ensure that each player is selected at most once, this is a simple random sample without repl…
  • Python program code of making a Rectangle with these specifications: 1Need a GraphWin frame with title Rectangle Area, Perimeter and Diagonal and size 320 by 240 pixels. 2.Set the coordinates of the g…
  • Question: ¬† Please ensure that the following rules are followed:¬† When visiting a node i, consider the set of adjacent nodes in increasing order. This is automatically done for you when you get self…
  • Hello, I need help solving this Lab simulation, It uses Get user guesses for Lists and Dictionary statements and I am very new at python on so I need help solving it. It is very difficult. It is very …
  • You are given the following five 14-long reads below. Map them to the sequence of the gene responsible for the ABO blood type , keeping in mind that each read might include a single nucleotide error. …
  • . Sou m Cc = La @ Ki DE Nc X G SI C SC = G = G A St la s/2489809/quizzes/5155491/take D Question 11 9 pts Write an algorithm to check user passwords in plain English. No programming language to be u…
  • Hi, how would I write the code for the dice game to pull from an external file and display only how many times the number was rolled ? import Pygal # Pygal draws the bar chart or histogram for you imp…
  • # Mastermind # This is a simulation of the game Mastermind. # There is a secret combination of four colored pegs, # and then a series of guesses at that combination. # Correctness is evaluated by a bl…
  • . Mod 4 Homework – Circular Linked Data Structure Not all linked data structures are linear – it is often helpful to have nodes that link to multiple nodes (as in Trees and Graphs), or nodes that li…
  • PYTHON Computational Mathematics Solution of non-linear equations
  • dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: How to format each dictionary item as a text string in the input file. How to covert…
  • Next Worth 1 point Checkpoint 4.21 Write a for loop that uses the range function and a target variable named number, that displays the following set of numbers: 0, 10, 20, 30, 40, 50 … 1000 Type you…
  • . Task 1 (3%): This exercise uses the provided ‘Automobile data.csv’ dataset [1%] a. Read the dataset into a pandas dataframe and prints the first and last 10 rows. b. Replace all column values whic…
  • Hello can you please help me with the code for this in Python Object Oriented Programing. Thank you so much ¬†. Account Exceptions: You are to create the following four user-defined exceptions to repr…
  • I need assistance with code that gets a (one string and one input must be used) string containing a person’s first name, middle, and last names, and displays their first, middle and last initials. for…
  • Design a recursive algorithm to evaluate arithmetic expressions that consist of integer numbers, opening and closing parentheses and the operators +, -, * and /. Here / is integer division. A well-def…
  • Please help A veggie pizza store has three locations: Dallas, Austin, Houston. Due to the pandemic situation, not all locations are able to offer the whole list of toppings their regular menu would ha…
  • a=np.array ([1,2,3], dtype=np int32) What would be the value of a**2?
  • Can you please explain this code and also its output.. thank you. a) What will be the output of the following code? Write your answer to exactly match the format in which the output will be displayed….
  • program that asks the user to enter a string. The program should: display the¬†length of string. capitalize all the vowels and display the modified string. convert the string into list of words and di…
  • Pick an object around you and create a class out of it (except the one I did in the class) – plan your class (Name, Parameters, Functionality) —UML —-> (Comment your UML in your code) – your ob…
  • I am having trouble with this assignment: The float function in Python maybe a little too strict in the rules to convert a string to a float. Consider web pages where a user can enter a value into a f…
  • . Program This program will be exploring a list containing information about scores in a game. The list will be organized such that the first element is a string stating a player name and the second…
  • Write program that reads a one-line text message containing common abbreviations and translates the message into English using a set of translations stored in a file. For example, if the user enters t…
  • The Fibonacci sequence 1, 1, 2, 3, 5, 8, 13, 21…… starts with two 1s, and each term afterwards is the sum of its two predecessors. Please how would you write a function in R, Fib(n), which takes n…
  • This is my code to find Goldbach’s Conjecture, for4 to 100. Can somebody tell me what’s wrong in it CODE: def prime(): ¬† ¬†list_1=[2] ¬† ¬† ¬† ¬†for i in range(3,101): ¬† ¬† ¬† ¬†if(i%2!=0):¬† ¬† ¬† …
  • Extra Credit (+10 points): Have get_values() return the timestamp for each value transacted and plot a timeseries as well.
  • Generate a function that has three parameters: a list of unsorted numbers with no duplicates, a start number, and an end number. This function should return a dictionary with all integers betwee…
  • Python Code needed for this. This uses Karel J. Robot (world builder too) and needs to have a while loops. Program a robot to run a super hurdler. In this race the hurdles are arbitrarily high and the…
  • How do I divide a dataset of points into disjoint folds, assigning some to training set and some to test set? Specifically, I have a set of points X0, consisting of 100 points, all of which have 0 as …
  • Question 1 Why do programmers use the Turtle Graphics Module in Python? ¬†To assign a value to a variable ¬†To draw on the screen or create images ¬†To evaluate mathematical statements ¬†To print stri…
    • Function 1: The function ūĚĎď(ūĚĎ•) = sinūĚĎ• ūĚĎ• is not defined at the value 0, since sin(0) is 0, and thus it would be evaluating 0/0. o Show calculations for the values of f(x) for values of x…
  • In a¬† Vigenere cipher ¬†a plaintext message is encrypted by adding letters from a secret key (modulo 26). For example,¬†A¬†+¬†X¬†is¬†X,¬†B¬†+¬†X¬†is¬†Y,¬†C¬†+¬†X¬†is¬†Z,¬†D¬†+¬†X¬†is¬†A, etc. Decrypt…
  • Objective The purpose of this assignment is to implement a reliable File Transfer Protocol (FTP) service over UDP. This project will help you understand some of the important issues in implementing re…
  • Use the same variables f1, f2, and write a small function “divide(f1,f2)” to return the division of the two numbers “f1” and “f2”. For example, if the function “dived(10,5)” is called, the result “2” …
  • Task 7 A real number r is naturally identified with a degenerate interval [r, r]. Extend the class so that it can be initialized with only one real value, i.c. Interval (1) # [1, 1] Task 8 Modify your…
  • psudocode this for me please. ¬† Bob = {“name”: “bob”,”assignments”: [50,60,80,90],”presentations”: [40,68,67,89],”lab_tasks”: [44,55,77.78]} Charlie = {“name”: “chalie”,”assignments”: [90,80,70,85],”…
  • Computer Science Need Help with coding this in Python Consider the following system of three equations, which is a particular instance of the Rossler system: | H u’: 13L | H H + v.11 ‘5 ‚ÄĒ = 5441?…
  • . (CDAccount& _account) double rateFraction, interest; rateFraction = _account .interestRate/100.0; interest = _account. balance* (rateFraction* (_account.term/12.0)) ; _account. balance = _acco…
  • What would be the way to check for a win in this program (5 in a row of X or O) on a 15×15 board (see details below) Write class called FiveBoard that represents the board for a two-player game that i…
  • Write a program in Python to read N integer numbers, and another number X (where N is a positive integer number and X is an integer number provided by the user) and present the following information f…
  • Hello, I cannot figure out how to code this. For the given dictionary below, remove the key and value pairs if value is more than 600. So your code should give {‘PLAYSTATION’: 500, ‘SMART WATCH’: 550,…
  • Web Services and JSON Data write a Python program that utilizes the HTTP protocol, web services, and JSON data to search and analyze published system vulnerability information. 1) Using a web browser …
  • Problem: A road map deÔ¨Ānes locations as map references like B3, where B is the m‚ÄĒcoordinate value and 3 is the y‚ÄĒcoordinate. A B C D E F ‘" Y Z IIIII-I Ilia”.- The grid lines are 0.5 km …
  • Copy the following text to a text file (not Word!) and save it as Authors.csv to the file where your .py files are located. AuthorID,FirstName,LastName,Country 14,Alysha,Thompson,Canada 18,David,Wrigh…
  • "An acronym is a word or name formed from the initial components of a longer name or phrase, usually using individual initial letters, as in NATO (North Atlantic Treaty Organization) or EU (Eu…
  • Hello there: Please can you tell me how to uninstall numpy from my Windows PC using the cmd?¬† Thanks!
  • # Use the given data and display a pie chart as shown below. population = [1439323776, 1380004385, 331002651, 273523615, 220892340] countries = [‘China’, ‘India’, ‘United States’, ‘Indonesia’, ‘Pakist…
  • . [77]: l]: Mean Squared Error Now we have our ‘predicted values’ and a bunch of error measurements. One common way we combine these error measurements together is to compute the Mean Squared Er…
  • I have trouble designing a flowchart in Raptor that simulates a slot machine game.¬†When the program starts,¬†it¬†should greet user and then start the game. 1.¬†¬†¬†¬†¬†¬†For each game it should ask t…
  • Next Page Page 6 of 10 Question 6 (10 points) Which data type in Python represents a number with a decimal point? Oint frac D float dec Next Page Page 6 of 1
  • Dear expert I need help regarding my assignment: Do Exercise 6.4 from your textbook¬† using recursion ¬†and the¬†is_divisible¬†function from Section 6.4.¬†Your program may assume that both arguments t…
  • North Carolina¬† state law requires all children to ride in a booster seat until either the child has reached age 8 or has exceeded 70 pounds.¬† Write a program to determine whether a child needs to r…
  • Show how a transparent D latch can be constructed using an RS latch and some combinational logic gates. Briefly describe the operation of such a transparent D latch. (b) A 3-bit synchronous counter ha…
  • sub class general will not print class Enlistee:¬† ¬†¬†def __init__(self, name,number): ¬†¬†¬†¬†self.name = name ¬†¬†¬†¬†self.number = number¬†¬†¬†¬† ¬†¬†def getName(self):¬†¬†¬†¬† ¬†¬†¬†¬†return self…
  • Get the trDFgrouped data starting from the May heavy day counts to the August heavy counts Group xyz customers using BUYER_STATUS, heavyCat, and ZIP, and apply np.sum function on the aggregated data f…
  • Write program that simulates throwing two 900-sided dice, then indicates whether or not the sum of the results is divisible by three
  • Write a method that removes the value of a node with index i from a singly-linked list.¬† Also, you must raise exceptions when necessary.¬† class SLLException(Exception):¬† ¬† ¬† “””¬† ¬† ¬† Custom ex…
  • This version of the assignment should be completed only by students whose first names begin with A, B, C Task 1: Read the file and create the list(s), then print the list contents, and the number of r…
  • TASK 1 Write aapython program to implement the Matrix multiplication operation. In python, matrix multiplication can be implemented using nested lists (list inside a list). Please consider a 2×2 matri…
  • . Given an integer array nums, move all 2’s to the end of it while maintaining the relative order of the non-two elements. Note that you must do this in-place without making a copy of the array. Not…
  • Given the funtion below, 1. What does the function do? 2. Is there a way to have an another algorithm that does the same as the function but has better time complexity? if yes, provide the fastest sol…
  • The default namespace for a module is a. the first letter of the module name b. the same as the name of the module c. the global namespace d. the name of the module followed by _default
  • The following has worst case run time (number of operations) proportional to : n = int(input("Please enter a number:")) total = 0 i = 0 while i <= n: j = i +1 while j <= n: total += i …
  • python programming 3 / 17 78.7% Question 1 [15 points] Mr. Fib O. Nacci is having trouble with his Fibonacci numbers. He is not sure what numbers are part of the Fibonacci sequence and which are not. …
  • Need help with Presenting and integrating into action stage for data science. ¬†Below is an article that is confusing me. ¬†What could the weather channel or economist do better? ¬†I am not following …
  • A file type mismatch detector.¬†Remember that Linux does not care about file extensions, at least not in the same way Windows does.¬†This means it’s possible that we could have actual Python files in …
  • define a function count() that computes and returns the sum of the first 100 even numbers. the result is displayed in the main program
  • Choose one or more of the following problem prompts or devise your own. A. How to buy groceries for the week B. How to make a peanut butter and jelly sandwich C. How to wash a bunch of dirty dishes D….
  • Consider the loop. prefixes = ‘JKLMNOPQ’ suffix = ‘ack’ for letter in prefixes: ¬†¬†¬†print(letter + suffix) Put this code into a Python script and run it. Notice that it prints the names “Oack” an…
  • https://drive.google.com/file/d/1JjnWba-ayQ3RSRO0x5NtMpo0gzOXu_kN/view?usp=sharing. Problem 2: Yelp Crawling- BeautifulSoup is a useful tool to crawling structured web content such as Yelp, Amazon, Tr…
  • In Python, Could you help make an object-oriented program rock, paper, scissors game called Roshambo. Where the user can choose to compete against one of two computer players: Bart or Lisa. Thanks Ros…
  • i need your help i am programing a file¬† i call it myFunction The file contains the functions you have already written: min(list) # returns min of a list max(list) # returns max of a list avg(list) #…
  • can you help with this Part2 The framework for Part 2 is provided in “Partlpy”. Part 2 has two tasks. The first task is to implement some standard graph algorithms with some modiÔ¨Ācations. The se…
  • . Air Quality Index Calculator Goals In this project, you will make a calculator that determines the Air Quality Index (AQI) from sensor data, following methods published by the US Environmental Pro…
  • I know the parenthesis around C/3 aren’t right, but I’m still not putting the spaces in the right places.
  • I’m missing indents, characters need to lower case for money values, and input shows up in the output like Enter the amount U.S. $: . Here’s my work def HalfDollars(Amount): ¬†q = int(Amount/50) ¬†r =…
  • Suppose x is an integer.¬†Which of the following will display x as a floating point number¬†with 3 decimal places? A. print ( ‘{x:.3f}’ ) B. print (f ‘{x:.3f}’ ) C. print ( ‘%.3d’ %x) D. print (f ‘x:….
  • run the coding in Python¬† ¬† Write the code to ask the user for a list of numbers. Determine the cumulative sum of a list and display it. Ask the user if they want to continue or terminate the progra…
  • The Department of Health has asked you to writea program to assist in the modelling of data to control the spread of the COVID-19 virus. You have been asked to read data from a text file, and predict …
  • I’m having trouble with all four of these exercises.. EXERCISE 1 – Simple counting loops For loop that prints 4, 8, 12 is given. # a) Can you create a for loop that prints 2, 5, 8, 11, 14? * b) Can yo…
  • Question 6: ¬† 10 points Define a function called ‘update_clusters_GMM’ that accepts the following arguments: A two-dimensional ‘NumPy’ array with the coordinates of each point. A two-dimensional ‘Num…
  • Problem 7 / Part B The following code uses the¬†University Domains and Names Data List & API¬†to search for a list of universities with¬†‘mich’¬†in the name and puts the result in¬†mich_universiti…
  • Question 1: Selection sort (18 marks) Submit your answer for this question in Blackboard (unless otherwise instructed). Apply the Selection sort provided in the file ‘L8sorts.py’ to the list below. Re…
  • Writer this script in python…………………………………….. 1 . Write a function show Max ( a , b , c ) which prints the largest of distinct integers a , b , and c to the screen . ( The f…
  • Contents Introduction Assignment Overview Part I Specification – Writing a Python Module (List Manipulation) N Practical Requirements (Part I) A Stages (Part I) Stage 1 – Setting Up . . Stage 2 – Impl…
  • You have been employed by Cambridge to analyse friendship groups on campus. Individuals have been allocated a number between 0 and the number of people on campus (n) (minus one), and their friendships…
  • Using Python, do a class that implements the Map using a dictions with the following requirements:¬† 1- to define a constructor that initialise the dictionary and create a variable default¬† 2- define…
  • Select one of the project ideas below and develop a Python application that meets the requirements described below: Project ideas : ¬† ¬† Online store: users should be able to order items for sale or …
  • I need help with the following: Given a list with items 40, 888, -3, 2, what does GetLength(list) return? (4 or Fails) Each node in a doubly-linked list contains data and _____ pointer(s). (two or one…
  • Write a program that prompts for a file name, then opens that file and reads through the file, and print the contents of the file in upper case. Use the file¬† words . txt to produce the output below.
  • Comment and explain each portion of the program. Why is it printing what is printing? How did you find the answer? What was your process for evaluating each section or a piece of code or line of code….
  • Character Analysis If you have downloaded the source code you will find a file Mam√©s text.txt in the Chapter 08 folder. Write a program that reads the file’s contents and determines the following: Th…
  • Please help Here is a Python program. After you start the program, what series of text do you need to enter into the program in order to Ô¨Ānd the exit (which would then trigger the end of the program…
  • I need this in Python!. 4. (12 points) Now that we know how to validate AmEx numbers, it’s not hard to generate valid numbers. Here’s an algorithm to do so: . Randomly choose 34 or 37 as the first two…
  • Use Smarket dataset which is available with ISLR library. Divide the data into two parts as training and testing. Use observations from 2001 through 2003 as training data, use observations from 2004 a…
  • In Python I’m having trouble with this Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by replacing characters using the ke…
  • class VariableTreatment(): ¬†¬†¬† ¬†¬†¬†def drop_nan_col(self, df, threshold): “”” ¬†¬†¬†¬†¬†¬†¬†Objective: Drops columns with many missing rows. ¬†¬†¬†¬†¬†¬†¬†For example, datasets may include column…
  • How to write the bitwise expression that would calculate the result of the set operation¬†set1¬†‚ą™ set2 means set1 union set2. (Python 3.7 code to calculate the answer, not the answer itself.)
  • Python using JES Problem 1: compute function that takes a temperature in Celsius as an argument. Your function will convert the temperature to Fahrenheit and Kelvin. Fahrenheit equals Celsius times 1….
  • Use a recursive¬†function named is_subsequence that takes two string parameters and returns True if the first string is a subsequence of the second string, but returns False otherwise. We say that str…
  • To answer these questions write python script code with examples. It is vital to maintain strong relationships with our most valued customers. Is there a way to track all customers who have spent more…
  • what is the code for this assignment.. what your Python program should do (in plain English ou will create a program that will try to guess a number that the user is thinking of between ind 20 . The p…
  • Python function called CntWords which inputs a string and returns the count of words in this string?
  • Your class announced a new grade policy: any of¬† your quiz score that are less than 80 will have 2 points added to them . You decide to check whether the proposed grade replacement policy changes you…
  • U: f A: What is your age in years? U: abd A: I ‘m sorry, I cannot understand. What is your age in years? U: 0 A: I’m sorry, I cannot understand. What is your age in years? U: 25 A: What is your c…
  • The following code produces a microscopic image of a bacteria that are overlapping shown below after the code >>>import numpy as np >>>import scipy as sp >>>from scipy.ndima…
  • 6) Relaxation method: Relaxation is used to solve problems of the form x = f(x) by plugging an initial value of x into f(x) to get x, then plug that back into f(x) and so on. So the iteration looks so…
  • Develop a program, in which you’ll design a class that holds the following personal data: ¬∑ name ¬∑ address ¬∑ age ¬∑ phone number As part of the program, you’ll then create appropriate accessor and …
  • Address the following items below in one PPT (preferred) or word document and upload it for grading. Make sure to review the links in Content 1
  • I need help with the following question. At the bottom of this question I’ve attached a previous similar program that I wrote for this class, but I don’t know how to add the indeterminate number of in…
  • > for every ; found, it stores as a seperate list ¬†>> creates a break after every ‘;’¬†¬† ¬†¬†maleParent = w1118/Y; + ; + <– stores male parents data ¬†¬†¬†¬†mChr1 = w1118/Y <– fir…
  • My python code keeps showing an error please help me. PYTHON CODE: import cav size(500, 4251 ing_map – leadimage(/Users/home/Desktop/canada_map.png" Imagefimg_map.0,0,500,4251 (Desktop/popdata.ta…
  • . Two car objects appear as circles with arrows in the middle. By default, the cars are "self-driving". You can control them in both self-driving mode and regular mode. Here are the keys y…
  • #Write function called no_you_pick. no_you_pick should have two parameters. The first parameter is a dictionary where the keys are restaurant names and the values are lists of attributes of those rest…
  • Here is the data for this problem: https://docs.google.com/spreadsheets/d/1_mrKhdwFFtPRK-djS_TrQ6uIIvOtIzY2d_PSmHV8RdE/edit?usp=sharing Please advise. Problem 2 In this second problem, we will focus o…
  • please help external links ¬† Calling a JSON API The program will prompt for a location, contact a web service and retrieve JSON for the web service and parse that data, and retrieve the first¬† place…
  • Assignment Overview ¬† The data in an online shopping cart, as the shopper is buying, is stored into the computer’s memory within a container, such as a list, and then displayed for the shopper to rev…
  • Recursion to find sum for each element of the same position in a 2D list ¬† I know in python you can find a sum of a 1D list like the following: def listsum(numList): if len(numList) == 1: return numL…
  • Describe how¬† tuples ¬†can be useful with loops over¬† lists ¬†and¬† dictionaries , and give Python code examples. Create an example of a code .
  • How can I implement this idea for this part? It is part of a wheel of fortune game. I am stuck. I have attached an example down below of how it should look like! ! Solving the Puzzle If the user types…
  • [10 marks] Write a Python function named remConsecutive that takes a non-empty string as an argument and replaces all the repeated consecutive characters with single characters and returns it. For exa…
  • I need help with this dataset these 2 question: ¬† Q1: ============================================ ¬† Q2: ¬†. For the following dataset, calculate P(Xly) for the income attribute. (Round your answers…
  • Using Python¬† Suppose you have financial data for years 2011-2020 organized as follows in a dataframe named df. The first column has labels for items (e.g., Revenues, Cost of Goods, Selling expenses)…
  • Please answer the questions correctly. Please read the question from bottom. Note: USE PYTHON PROGRAMMING LANGUAGE AND YOU MUST USE FILE ¬†I/O ¬†FOR BOTH INPUT AND OUTPUT. ¬† Read the question from bo…
  • write program ¬†that reverses the process, from json to python using .loads,
  • )¬†In the Vole Architecture folder there is a problem that reads as follows load two registers with 3A and 43 respectively and store the sum in memory cell BB¬† ¬† ¬† How can I provide …
  • The code is written will be for the purpose of recording the menu items and daily sales of a strawberry stand.¬† ¬† The specifications are as follows: ¬† It will have these classes: MenuItem, SalesFor…
  • I need helping solving the issue below: i have attached everything in case something is not clear. Examine the following template. Using the information in the function header, write a statement that …
  • Hi, I need help with a python programming lab. The first picture is the lab and the second is the test cases.¬† Here are the restrictions: Do not add any imports, the ones that you need will be given …
  • # Import the necessary modules nba = # Code to read in nbaallelo_slr.csv # Display the correlation matrix for the columns elo_i, pts, and opp_pts print(# Code to calculate correlation matrix) # Cre…
  • Using Code Block application Write C code that has three variables named first, second, and third. Assign the value of 1 to first, 2 to second, and 3 to third (example first = 1). A fourth variable na…
  • A string s2 is said to be a “substring” of a string s1, if s2 can be derived from s1by deleting some characters. Given two strings s1, s2 and starting position of the search,develop an algorithm and w…
  • In Python, I really need help with questions 5-10 please!. 1. Roulette In [3]: # Run this cell to set up the notebook, but please don’t change it. # These lines import the Numpy and Datascience module…
  • . Creez une fonction en Python nommee listeDiviseurs (n) qui prend en parametre un entier n, et qui retourne une liste. Respectez le contrat de type (int)->list Si le parametre n est positif stri…
  • What is the source code for a Python programming to a program that shows the sum to a series of numbers entered by the user? The program would prompt the user for how many numbers are to be summed. Th…
  • Kitabi Duniya , a famous book store in India, which was established befor of the company was incremental year by year, but due to online selling of bod access its annual growth started to collapse, se…
  • Here is the link which has example output and the related file: https://files.fm/u/b4rtej6t7 ¬† ¬†. For example, for the keyboard Ô¨Āle we have given you, possible replacements for b are v f g h 11. H…
  • Hi, can anyone explain the following code on computing the sum of the first¬† n ¬†square numbers (recursive)? def sum_n_squares(n): ¬†¬†while n**2 <=1: ¬†¬†¬†¬†return n**2 ¬†¬†return n ** 2 + sum_n…
  • Round-Robin CPU scheduling. Write a function¬†round_robin to simulate this job scheduling model. This function receives a job queue, which is a¬†ListQueue object, as an argument. Each job in this job …
  • what error will be raised by python if I try to open a valid pkl file with mode ‘r’ instead of ‘rb’?
  • If I am looking for the sales price in the answer why is the Original price=A and A is on the left side of equal alone? g. The sale price of an item given an original price and a percentage discount O…
  • . Q3. Write a program that prompts the user for an integer and prints the integer, but if something other than an integer is supplied, the program keeps asking for an integer. Enter an integer: 3.14…
  • Explain or discuss what is Algorithms. What does the acronym CRUD mean and how does it reflect to Python. Give few examples using Algorithms. https://repl.it/languages/python3
  • You will be working with the same text-based game scenario from Projects One and Two. In this milestone, you will develop code for a simplified version of the¬† sample dragon-themed game. The simplifi…
  • *CODE IN PYTHON* All the information are given in the pictures below
  • answer the following Python questions Q1 Q2 Q3. Write a function called guessing_game to guess a number between 0 and 100. We will use the random number generator from python (please see template belo…
  • Question 1 to 6 #python programming (1) Create a dictionary that maps : fecuit " apple " quantity COLOR 4 "gereen " 8 = 2 Get the item in dictionary of that the key " fewit ma…
  • Team Management Part Three Until now, you have had to leave your team management program running on your computer indefinitely since you did not want to lose the list of players. Finally, you are read…
  • I just can’t figure out if I’m 100% correct on this question. My answer is D) – can you tell me if I’m correct? When should a computation be turned into a function? A)¬† when it may not be used B)¬† w…
  • how can I Write a Python program that provides a solution for Problem #8 in Quiz 00 Recall the problem read as follows:¬† Aaron is staying at a hotel that charges $100 per night plus tax for a room.¬†…
  • python question: See if you can fix it and run it with a seed value of 1227. Blr jrglFine[]:¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†# the definition of the function called getSeed starts here …
  • Please submit example code for the following tasks: 1. Make a pandas Dataframe with data as shown.¬† 2. Extract Emily’s details from the Dataframe.¬† 3. Find the names of all the persons registered.¬†…
  • After accounting for trend and seasonality in a time series data, the analyst observes that there is still correlation left amongst the residuals of the time series. Is that a good or a bad news for t…
  • How to solve this problem in python? ¬† ¬†. Nearest smaller element def nearest_smaller(items}: Given a list of integer items, create an return a new list of equal length so that each element has been…
  • Assume the variable¬†f¬†refers to the Python implementation of a continuous real function (i.e.,¬†f¬†accepts a single float as input and returns a single float as output), and¬†a¬†and¬†b¬†refer to two…
  • Python program that to be used by the student council in an upcoming election to tabulate the votes after the election. Your program will list, and number, the three candidates for president then allo…
  • please help !! % Default to the notebook output style % Inherit from the specified cell style. \documentclass[11pt]{article} \usepackage[T1]{fontenc} % Nicer default font (+ math font) than Computer M…
  • PYTHON QUESTIONS: 39. This will produce a subplot grid at position 4 with 2 rows and 2 cols a. figx.add_subplot(422) b. figx.add_subplot(224) c. figx.add_subplot(242) 40. For each element in a1 subtra…
  • Hello working on an assignment and I am having issues with some errors. I have listed the code, assignment instructions, and screenshots of my errors. I need help with the errors so I can know where t…
  • Need help designing pseudocode for text based game in python. Scenario You work for a small company that creates text-based games. You have been asked to pitch an idea to your team for a text-based ad…
  • I need help writing the server side of this. Server Details Create a Jupyter Notebook called serveerynb. Your server will accept clients connections, parse the messages and forward messages to the use…
  • Drug tests generally produce false-positive results in 5 percent to 10 percent of cases and false negatives in 10 percent to 15 percent of cases, research shows.Drug tests generally produce false-posi…
  • i sincerely need help creating these two programs…. the graphs go with the part that talks about plotting, the other question (e) is its own section Your team should create a program that produces t…
  • Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: ¬† How to format each dicti…
  • For the following function, identify the loop invariant, the loop exit condition, and the loop post-condition which shows the algorithm’s correctness. def is_palindrome(string): “”” Input: A string Ou…
  • Question 5 Question 4 Question 6 Question 3 QUESTION 6 Consider the following Python function h2i() : def h2i (obj) : source = str (obj) . lower () temp = ‘()’ target = ‘0123456789abcdef’ for c in sou…
  • Write a program that allows the user to enter the name of an actor and then determines the Kevin Bacon number for that actor. The program should print out the Kevin Bacon number for the actor and both…
  • Im coding for python and cannot figure how to get this to loop #!/usr/bin/env python3 # display a title (“Program: Shipping Calculator” “\nProgrammer: Jacob Jones” “\nDate: 03/25/2019” “\nPurpose: Thi…
  • Times = [0.08,0.1,0.15,0.34,0.54,0.94,1.27,1.31,1.93,2.31,2.34,3.1, 3.61,3.67,4.07,4.65,7.76,8.31,9.37,9.51,10.5,11.12,14.39,14.73,25.19, 30.12,31.76,32.02,33.27,33.58,36.62,36.88,36.91,37.11,37.15,37…
  • DESCRIBE the strategy you would use to determine the data types you would need for building a Python application for storing the names, birthdates, and addresses of members of an extended family. ¬† N…
  • I have a question about coding in Spark. Here is the data: movie_stats = spark.sparkContext.parallelize([ (“MovieA”, [(1, 100), (2, 20), (3, “50”)]), (“MovieC”, [(1, 100), (2, “250”), (3, 100), (4, “1…
  • Writea script that will list and count all of the images in a given HTML web page/file. You can assume that: Each image file is enclosed with the tag <img and ends with > The HTML page/file is s…
  • Lab 2.1 – Required Program worth 80% of your grade Pseudocode and No Modules All your comments and code will go in sequential order in the primary python file This lab requires you to think about the …
  • Need help and please explain how you got answer, when comes to uploading part the worksheets name is “SupplierWebsites please explain how you got the answer, when get to the section that refers to wor…
  • I’m trying to properly run a program that asks the user to enter five test scores and i’m having trouble doing so. The program should display a letter grade for each score and the average test score. …
  • Write a complete Python program to read in the user’s first name and last name initials and write them out in a single print statement.¬† By using multiple extraction operators, you can use a single i…
  • Write a program that reads a set of floating-point values.¬† Ask the user to enter the values until a sentinel value is input, then print: 6 pts The average of the values. The smallest of the values. …
  • Question 1: Write Python program that connects to a sqlite database. Create table called Horses with the following fields:¬† id (integer): a primary key and not null name (text) breed (text) height (r…
  • Need help to do it in python and only use lists. Thank you
  • Overview In Module 5 Assignment 2, modify your pseudocode to make 1000 dice rolls, and instead of displaying the list, use Pygal to display the results in a bar chart.¬† Instructions M5 Assignment 2 u…
  • Using Python Add a method swapTwoNodes¬† to DoublyLinkedList . This method should swap two nodes node1 and node2 (and not just their contents) given references only to node1 and node2 . The new method…
  • The top_tourist_attractions. txt file (in the same folder as your program) contains some top tourist attractions in China and their location (Province). Check the format in the file. This exercise con…
  • i am confused about some of the steps in this assignment Part I: Deleting Duplicate Addresses ( 5 points) ( Place your answer to this problem in the "duplicates . py " file ) Many e – mail s…
  • at skills did you learn from this project ? – a paragraph is all that is required . your opinion, was transfer learning effective in this case? Justify your answer, r it may be . nary , what you need …
  • I have an assignment. The code is meant to convert a document containing numbers to 2D list
  • I have a question regarding using math in python, So I have a bonus question on top of a project that I am currently working on. This has to do with using numpy and matplotlib. Solving mathematics in …
    • Make Python program that counts the number of odd numbers, even numbers, squares of an integer and cubes of an integer from 2 to 130 (inclusive). For example, 9 is both odd and a square, 8 is …
  • FUNCTION I NEED HELP IMPLEMENTING (DOCSTRING EXPLAINS REQUIREMENTS): ¬† from typing import Iterator, Iterable, Tuple, Text, Union import numpy as np from scipy.sparse import spmatrix NDArray = Union[n…
  • bash script that change the grub default boot to the highest kernel (not necessary the first entry) version. The OS is CentOS 6.x. Manual steps will not be accepted.
  • please help me with this question (1 question) This program has multiple options. The first number entered by the user indicates the option. . More options will be added to this program over the next …
  • Hi there, Need help in finishing one of my assignments. I have pasted all the codes in the question body itself. ¬†there are overalll 7 problem statements 1,2.a ,2.b ,3.a ,3.b ,4.a and 4.b are availab…
  • The following statement calls an object’s method.¬†What is the name of the method?¬†What is the name of the object that references the method? job.get_name()
  • Write the function similarity_to_patients(patient_symptoms, all_patients), which finds patients in all_patients dictionary who have the highest similarity of symptoms to the given patient_symptoms. Th…
  • I am working in a jupyter notebook and I don’t understand why i have an error ¬†Using the ‘head’ method, view the first 15 rows of df_movies
  • I am working in python in jupyter notebook. I am cleaning my data and ran in to two issues. one i cannot get it to delete columns and i cannot use the data to make a histogram, scatter plot or cdf. An…
  • Infix expression example: 3+4*5/6 (operators are between numbers) Infix expression evaluation: 6.3333 Postfix version of the infix expression: 345*6/+ Question: Define a class InfixExpression Assume f…
  • user to type an integer. The script should continue to prompt the user for a number until the user types a valid integer. Using the modulo operation (%), calculates the modulus of the user’s integer d…
  • DONT USE THE DEF FUNCTIONS IN THE CODE. ¬† ¬† Morse Code Translator ¬† Chapter 4 PROGRAM DEVELOPMENT PROBLEMS D1. on pages 165 and 166. This program should let the user translate English to Morse Code…
  • Can you implement def place_sums(tables): def 1.1, def Parameter alist: the list to check {WHICH SHOULD NOT BE MODIFIED] Precondition: alist is a list. # Create a copy with no duplicates pass # Implem…
  • I need help writing this code! 1. Given an integer n from the user. Print the first n letters of the alphabet (uppercase). Sample program output: Please enter n: 4 ABCD
  • Need help with Python challenge question. Attached images. Code: # Get the filepath from the command line import sys F1= sys.argv[1]¬† F2= sys.argv[2] # Your code goes here For yourÔ¨Ānal challenge in…
  • Create function that receives a one dimensional array of integers and returns a Python tuple with two values – minimum and maximum values in the input array. You may assume that the input array will c…
  • The objective is to create a program from scratch with python.¬† ¬† Here are the details for your program (all numbers and their calculations explained below):¬† 1. Make sure you name your program Inf…
  • In the same module/file, write function processAnimals ¬†that takes one argument, the name of an input file. ¬† The function returns the list of animals created or an empty list if the file didn’t con…
  • Part 1 The Volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. Write a function called¬†print_volume (r)¬†that takes an argument for the radius of th…
  • 1 – you use a counter-controlled¬†while¬†loop in a Python program. When completed, the program should print the numbers 0 through 10, along with their values multiplied by 2 and by 10. The data file c…
  • Return a two-item tuple containing a “person to friends” dictionary and a “person_to_clubs” dictionary with the data from profiles_file. The parameter refers to a file that is open for reading. The da…
  • The Date class (10.5 points) We are going to write a class Date for reasoning about dates. Dates and times are extremely challenging concepts in computing, and in general it’s a bad idea to try to wri…
  • BACKGROUND In your practicals, you have learned about how to use programming to model problems and simulate real world behaviours and soon you will learn about automation. In this assignment, you are …
  • Please help write the code using Python and replit.com based on the instructions and marking checklist/rubric given in the pdf file.
  • 6150 Problem Set¬† 1 1. Cyphertext: Encode and Decode 1.1 Recall that in Practice Exercises you implemented a cypher text generator, which encrypts a string by switching every letter at alphabeti…
  • Data in this: url = “https://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz” ¬† Find the 10 words that are closest to the embeddings for “good” and “bad” under NNBest, using cosine similarity…
  • PYTHON 3 LANGUAGE**** ¬†Define a function named pages that takes one str as an argument, representing a list of¬† page specifications separated by commas , and a bool value controlling whether the pag…
  • My specific question: I was able to generate a list that contains each individual line. However, when I try to index for attendance stats (7), the result is the 7th line of the file rather than the 7t…
  • Hide Assignment Information Instructions ¬† This week’s assignment involves writing a Python program to determine whether a password exactly meets the following requirements for a secure password:¬† T…
  • 28 BREAKOUT ROOM ACTIVITY LAB: Do exactly N times ¬† Learning objectives Use for loop with range() function in order to repeat action exactly N times! Practice input() inside the loop Create diction…
  • Can someone please explain my error in this script, I don’t see were I messed up. 1-3 Final Project Review – IT-140-> B Module One – MAT-140-T3281 P x C Codio – Loops https://codio.com/dlopez7/loop…
  • Can someone help me fix my codes? Instruction: Python command line menu-driven application that allows a user to display, sort and update, as needed a List of U.S states containing the state capital, …
  • A function which will declare a list, ask the user to enter the first and last names, and the user id. The function then should print the data from the list. 2.¬†¬†¬†¬†¬†A function which w…
  • Show clear steps thanks. Problem 2. (Playing the Waltz) Write a program called playwaltz.py that accepts from standard input, a sequence of integers representing the 32 measures of a waltz, and plays …
  • In Bash, what are the six indicators that can be used to check for file attributes? What does each one check for?
  • the bigger picture of Python’s uses and how it serves a broader, multifunctional role. For your main post, select one of the industries from the list below and provide a summary of how Python’s functi…
  • Q5: Save all of this director’s movies and their ratings in a variable called all_movies_ratings, then print this variable. (The director with the most movies you got from the last question.) # your c…
  • Describe how¬† tuples ¬†can be useful with loops over¬† lists ¬†and¬† dictionaries , and give Python code examples. Invent your own code examples.¬† Do not copy them from the textbook or any other sou…
  • “Please fill this” from graphics import * from time import * import random #given top and lower left corner, draw the tires and car body def draw_car(win,p1,p2): carlist1=[] tire_left= Circle(Point(p1…
  • Use search function to find all your R environments. Then, pick one of them and find out what is the parent of the environment?¬† 6. How do you set and get data precisions?¬† 7. How do you get help…
  • Hi, I’m stuck on the following question below is my table for Quick Sort Algorithms And below that is the question I’m stuck on. Can anybody help If you have a list of¬† n ¬†numbers, where¬† n ¬†is od…
  • please help solve the error, by sending the code/solution back. by right, it should work as it has in this video: https://www.youtube.com/watch?v=JoQhEKh7u0c&ab_channel=GeospatialProgr…
  • I created a program to randomly draw ticket for someone, but I am not sure how to make the program not pick the same person again. I am coding ion python, any suggestions would help
  • . The program will have three functions, and a “main" program that follows the function deÔ¨Ānitions. Before writing the main code, write the following functions, and TEST each one before mov…
  • 24 – Python Activity 10 coding | python core Use python to produce code below that will perform the following: . A list of words is provided in the file specified by fname. . Another list of words is …
  • Design an OOP System for a Calculator. Your design that you submit should have at least 3 classes/entities that you would define. ¬† Tips: 1- Think of high-level abstraction of behavior or functiona…
  • How can I get the below result through Python Programming? C\WINDOWS\py.exe X 1 2 3 4 5 A I’S A R’ 0′ T’ A’ A Which column to swap? 2 Position 2 will swap with 4 [‘S’, A’ "R’ 1 [‘0′, R "A’ […
  • . The Fibonnaci Numbers Some of the following information is copied from Wikipedia: Though named after Leonardo of Pisa, also known as Fibonacci, these numbers were first described in Indian mathema…
  • Exp#1: Fingerprint spoof detection system based on two-class support vector machine¬† (SVM).¬† Dataset: LivDet 2011:¬† https://drive.google.com/drive/folders/1nLWXD8wR7zD4tI0udk2GN6XC9EqIF8PR Training…
  • Answer ALL THREE of the following questions in the space provided below. (NOTE: do NOT simplify your answers. So, an answer such as: P(A|E) = [(0.3)(0.65)]/[(0.3)(0.65) + (0.7)(0.4)] would be the corr…
  • Python Programming Someone please help to solve this python lists assignment. ¬† Final Output should look like this: ¬†. 3-3-2:- Student Harks Program a. Add new student records b. Show all student re…
  • Complete the function¬† distance ¬†which computes and returns the distance between two data points x1,x2. distance formula: Distance(x,y)=‚ąödistance(x,y)=(x1‚ąíy1)4+(x2‚ąíy2)4+..+(xn‚ąíyn)4 The retur…
  • The following are the basic implementation steps: 1. Pick a transfer file – JPEG image file (recommended), easier to identify loss of packets in a image file (lost pixels). 2. Make_packet function – p…
  • What am I missing? Do I have to put something down to accept the input? int limit = userNum; int odd = 0; int even = 0; int oddSum = 0; int evenSum = 0; for (int count = 1; count <= limit; count++)…
  • x, y, standard normal, iid. You generate 10k pairs of {x,y}, delete those pairs with x+y>0, you are then left with a new set of {x,y}, with x+y<=0. 1. Are x and y in this new set still independe…
  • What does the following statement do import sys print ( sys.version)
  • You decide that it would be useful to program DNA_sequences.py that can search for a given sequence of bases in a DNA sample. You read in the contents of sample.txt, which consists of one thousand ran…
  • Write python program that reads in numbers separated by a space in one line and displays distinct numbers (i.e., if a number appears multiple times, it is displayed only once). (Hint: Read all the num…
  • Attempting to making a Sunset as three basic functions in my phython programming class and unsure what Im doing wrong
  • using recursion ¬†and the¬†is_divisible¬†function. Your program may assume that both arguments to¬†is_power¬†are positive integers. Note that the only positive integer that is a power of “1” is “1” it…
    • Continuously ask the user to input a string. It only stops when the user enters the Enter key. Then save all those strings into a file named¬†user_strings.txt . Open and read the saved file to prin…
  • can you please help me with the following programming questions? section 2 ¬†. Section 1. Copy the following code and execute the program. 1 #!/usr/bin/env python3 class First: UAWN pass 6 # Create an…
  • sing wget, download the following file to your computer. https://people.bu.edu/kalathur/cs777/data2_0070.csv ¬† ¬† Initialize the Spark dataframe as shown below. ¬† spark.read.csv(fileName, header=Tru…
  • Lab: Employee Wages Paid The purpose of this assessment is to design a program that inputs a filename from the user, opens the file, and then uses the file data to calculate the paid wages. The Payrol…
  • Python Question 2 . (5 pts.) Write a function getUserl) that takes as input the dictionary. ‘ Prompt the user to enter a pin number. 0 If the pin is valid, that is, it is 4-digits and is in the dictio…
  • The following code segment is a short function that takes in a word and returns the number of vowels in the word. There are 4 errors in this code. You may have to look at the test cases and the correc…
  • HELP!! THIS IS PYTHON ¬† ¬† import ecdsa import hashlib from ecdsa.util import randrange_from_seed__trytryagain as seedkey import random import time import base58 import base58check ¬† def keys(): ¬† …
  • shirt = { “brand”:”Gucci”, “size”:”Large”, “price”: 200.00 } Add an item to the above dictionary called “color”, set it to yellow.
  • hello, i need help for my project. I can’t find nothing here!
  • I have been asked to write Python code for a grocery checkout, I’ve been trying to figure this out with little to no help after asking. Help here would be greatly appreciated, thanks. fi." – K .v…
  • This is for python-3. ALL the steps and instructions are here! there is even a example of how this program should run if done right. There is no missing information. There will be two Python files nee…
  • Add a loop and the statements that make up the loop body to a Python program. When completed, the program should calculate two totals: the number of left-handed people and the number of right-handed p…
  • I need the solution step by step¬† ¬†. M269: Algorithms, Data Structures and QM ‘ Computabgity 2 Consider a billboard that consists of n vertical ii; panels of width 1 and varying integer heights, ….
  • Programming style guides exist for practically every programming language including Python. After you have successfully installed pylint on your desktop (see the InstallPython guide in week 1 content)…
  • Create a move_zeros function which takes as parameter a list of integers and moves all zeros to the end of the list. For example, if the list is [1, 0, 3, 0, 0, 5, 7] the result should be [1, 3, 5, 7,…
  • Problem 4. Download data HW2.csv and load it into Python. The numbers are observa- tions drawn i.i.d. from an exponential distribution with unknown parameter A. Include your code in your homework writ…
  • Write a program in python ¬†Ice Cream Parlor!… The Ice Cream Parlor sells scoops of ice cream, shakes, and sundaes…they also have only 4 flavors of ice cream – vanilla, chocolate, pistachio, and¬†…
  • . In this program, we will be practicing with dictionaries as well as several other topics we’ve covered {text files, strings, while loops, etc.}. We will have a dictionary invDict that maps pr…
  • . In this MP, you will design a basic wireless receiver to decode a tranSmitted text message. The trans- mission occurs at a center frequency of 20H 2. Your input is a 3000 sample long incoming s…
  • Write Python code that creates a CSV containing 10 columns of text data‚Äč Each entry in a row should be different. Each entry should be between 3 and 25 characters‚Äč. The characters should be a m…
  • Consider the following text from a Python interpreter. >>> print(2 + 2) 4 What is the text “print” called?
  • Duration variable have very small and very large numbers. I need to create a new column and divide all the duration values by 30 and add it to that new column (call this column ‘duration_month’). In f…
  • What functions would i use to clear a python idle window? could you describe the functions you used and the process of clearing the idle window? thanks!
  • You are going to enhance the prior assignment by doing the following: 1) Add menu items to write to a file and to read from a file 2) create a class wrfile() with two methods to write the results to a…
  • please code in python Write a function called tax_t1′ me (yea rs) that computes the amount of taxes paid as a percentage of your income for each of the years you paid taxes (stored in a dictionary c…
  • Here is the assignment and my coding. Just need help with errors I am receiving.¬†. CSIS 354 XML-RPC Rev. B Client The client is to connect to the server using the server’s address and the port that t…
  • Hi I’m having a hard time figuring out how to prevent being asked to pick up an item over again after reinterring a room? also my play the game again feature isn’t working right if I say Y it just fin…
  • Please answer this. Hashing Function All Sections A hash table is a collection of items which are stored in such a way as to make it easy to find. Each position of the hash table, often called a slot,…
  • 1)What is the difference between a syntax, logic, and runtime error?
  • May I get help in creating a code in python for the text-base game below. The code have include use industry standard best practices including in-line comments and appropriate naming conventions to en…
  • creating a weight converter with GUI, you will get entry as pound units and convert it into grams, kilograms and ounces, once the users use click on the convert button. If the user enters not a number…
  • print(“======================================================================”) #display a welcome message print(“Shipping Calculator”) print(“=========================================================…
  • Python script to increase the population of each city in the¬† world_x¬† database by 10% (rounded). I have the following instructions: First, add a new column to the¬† world_x¬† city table using the f…
  • The program should be able to input any number and the number will be the level how the pascal triangle (E.g input 5 then will show from level 1 to level 5 of the triangle, if I input other number, th…
  • Lab Assignment #1 – Apply Linear Regression Algorithm to model the relationship between independent variables and the dependent variable for a real-world problem. Purpose:‚ÄčThe purpose of this Lab as…
  • A Caesar Cipher in cryptography is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter a …
  • I would like to scrape the table on https://en.wikipedia.org/wiki/Personal_income_in_the_United_States into a csv file using Beautiful Soup, and get the stats on the table (count ,mean, std ,min, max …
  • Link to data: https://www.dropbox.com/s/qbfxpxog58xeqjj/yellow_tripdata_2019-01_short.csv?dl=0 To be used doing PySpark You will be modifying the function day_with_traffic . Sort the days of the week …
  • For this interactive assignment, you will create an application that grades the written portion of the driver’s license exam. The exam has 20 multiple-choice questions. Here are the correct answers: B…
  • Functions are important and used in all programming languages. How do the correct usage and implementation of functions benefit software developers? Provide examples of both scenarios AND code
  • Hello, I am trying to seek the answer to the problem below: ¬† loop_controller = True i = 0 while (loop_controller == True): ¬†if (i > 4): ¬† ¬†loop_controller = False ¬†else: ¬† ¬†i += 1 ¬†print(i…
  • Good Morning Everyone, I am writing a project on Insurance, but struggling with a mathematical Algorithms to use, I have to Data which is Data A and Data B ¬† Data A = 2%, 7%, 15%, 90% Data B = do his…
  • Task 1 Complete the function that takes an integer as input and returns the factorial of that integer from math import factorial def calculate(x): # Student code goes here print(calculate(3)) #expecte…
  • This exercise will involve a game that simulates a landing craft descending to the surface of the moon.¬†You may have played this game before, we’ll implement a simple version of it.¬†In our version, …
  • You must create at least 6 locations in your world. Please be creative! You must break your program into functions, and include comments. Hint: Connecting the locations via some kind of internal map i…
  • This program should produce several lines of output as described in parts a) through e) below. For each of the equations in parts c) through e), provide comments in the code to document the name of th…
    • [random_shapes.py] ¬†You will write a program that generates random drawings that can be drawn using the¬†shape painter. The shape painter consumes a drawing file where each line corresponds to a…
  • . CHALLENGE ACTIVITY 6.7.1: Output of functions with branches/loops. 375510.2350218.qx3zqy7 v Jump to level 1 1 Type the program’s output 2 def compute (numbers) : result = 0 3 for num in numbers: r…
  • Explain how loops can be utilized in list processing. Please provide Python examples in your response.
  • how would i create this user defined function without the use of ** ¬†. power (base, exponent) The function power takes two arguments: an integer, base, and another integer, exponent. power must meet …
  • python programming. QUESTION 11 Which of the following statements correctly inserts a record into a database table with a char phonename field, an int phonememory field, and an int phoneprice field? (…
  • I am struggling with this Python coding question Exercise 5 ¬†( ceiling_fraction_test : 1 point). Complete the function,¬† ceiling_fraction(a, b) , which for any numeric inputs,¬† a ¬†and¬† b , corres…
  • make changes to the starter code to resolve the error. def divisible_by_7(lst: List[int]) -> bool: ¬† ¬†“””Return True if and only if lst contains an element divisible ¬† ¬†by 7. Otherwise, retur…
  • My question is how can I search our database for all the customers who have spent over $1,000 while printing a list of all our customers in the US and Canada to offer them free shipping on all purchas…
  • python code formatting help please. The goal of this topic is to compare two new, second-order differential equation solvers (the Verlet method and Heun’s method) to the more familiar second-order Run…
  • The amount of fuel conveyed by a hustling car decides its maximum velocity, if any remaining conditions are held steady. As a rule, the heaviness of the fuel makes the vehicle delayed down. Furthermor…
  • grade_book = { ¬† ¬† ¬† ¬† ¬† ¬† ¬† 203942: [88,78,83], ¬† ¬† ¬† ¬† ¬† ¬† ¬† 236732: [90,78], ¬† ¬† ¬† ¬† ¬† ¬†9874: [78], ¬† ¬† ¬† ¬† ¬† ¬† ¬† 29746: [79,90],¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† 75893: [82,80]…
  • . Summary: Given integer values for red, green, and blue, subtract the gray from each value. Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color’s value …
  • Hi there i have a question on plotting graph on python, may i know how can i plot a bar chart with dual y-axis ? For an example, i have a list of player names as the x_axis, and the left y-axis should…
  • https://docs.google.com/document/d/1JTze1WlT3EBxD3D6cDi98kllTO_JzjMcay5qB56jXcM/edit?usp=sharing ¬† Please help with these functions. Thank you.
  • See below full Python code implementation, scroll down for the question to be answered in Python: ¬† # Load the MNIST data set. ¬† from sklearn.datasets import fetch_openml from sklearn.model_selectio…
  • Hello I need help solving this python program, Thanks
  • Foursquare employs four types of workers, each assigned a particular pay code and have different payment structures. See below that summarizes this information. Pay code: 1 Employment Type: Manager Sa…
  • python expression Write a python expression that returns true if three vertices in a graph are a cycle. The graph is given as an adjacency matrix 9, and the three vertices are given by i, j, and k.
  • Would someone mind solving this? Not sure how i keep getting it wrong.¬† ¬† ¬† Scenario It’s the year 2017. You’re working for an electronics company and have been tasked with modeling out the softwar…
  • Which symbol is used to writing a comment when writing Python code? ¬† a. # ¬† ¬† b. @ ¬† ¬† c. * ¬† ¬† d. !
  • Using Math function, a. Generate x, sin(x) for x values ranging from -2PI -> 2PI with an increment of PI/64 b. Generate x, cos(x) for x values ranging from -2PI -> 2PI with an increment of PI/64…
  • A second-grade school teacher creates weekly lists of new sight words for the class. Most weeks there are between five and ten words added. However, on some weeks, there may only be one or two words a…
  • A few questions regarding the python programming using idle. How do I start creating a file? In shell or in idle? what is the difference between them? When I start programming in idle, and normaly whe…
  • So far, I have created a list containing the DMV record keys, a while loop to input the records, and a break statement to exit the loop; but I have not been able to figure out how to input the records…
  • Assignment 3: Spelling Bee Scoring Control Panel The Scenario: You are a part of the IT team for a local IT consulting firm. The local government of the area in which you are based out of has secured …
  • I keep getting the error that my program is expecting ints. My teacher said in addEyeball i need to make sure to convert all my float values to ints because addFilledCircle is expecting ints. How do i…
  • Need to create war in python in the following way;. cards.py a. a Card class i. including self.suit and self.value attributes ii. including a _repr_() method to display card info, e.g. ’10 of Spades’ …
  • Machine learning ¬† How to fit a model like this in python? Y[:,0] = b + w1*X[:,0] Y[:,1] = b + w1*X[:,1]. (with the same intercept b) ¬† Need the code. Thanks!
  • I keep getting a zeroDivisonError in python. can you please let me know how to fix it?. print ("slope and intercept for linear regression for age and BMI") slope, intercept = least_squares (…
  • 11 LAB: Largest number Write a program whose inputs are three integers, and whose output is the largest of the three values. Ex: If the input is: 7 . 15 3 the output is: 15 376628.2015284 qx3zay7 LA…
  • Looking for help for code for making a valid email addresses: Recipient name @ domain name . tld Recipient name criteria: Use only alphanumeric characters. That is, use only “A” through “Z” and “0 (ze…
  • I need to make a Python dictionary where the¬†value¬†is a¬†list. The¬†key¬†can be whatever type I want.¬† Then I need to design the dictionary so that it could be useful for something meaningful to yo…
  • make a program that programmatically prints out the following poem/any string. This should remove letters from a-z from the given string. without adding the letters per loop (i.e. ‘A’, ‘B’, ‘C’ etc.)….
  • XyZ faculty conducts projects reviews for various teams. Design python program to help the faculty allocate Review 1,2 and 3 marks to the teams. Also find the best team which has the highest total mar…
  • *Write Unit Tests in Python for the following two programs *Write Try: Except: statements where needed *For the “print” statements create logging file for debug mode¬† *To handle the Print statements …
  • import pygame, random, time, sys def main(): # initalize all pygame modules (some need intialization) pygame.init() # create a pygame display window pygame.display.set_mode((500, 400)) # set the title…
  • [2 points] Write code that shows the number of fields in each of the feature classes within the feature dataset OTTAWADATA (hint: you will need to use the len() function to count the items in a list o…
  • I have to create recommendation system in python but i couldnt make list 10 random books and rate them and store them in file. The basic data-structures for storing books and customers are implemented…
  • Web Showcase Due Date: Nov 25, 2018 23:59:59 Max Points: 30 Details: Use your webserver and newPost.py to generate a new post for this week’s programming assignment. Create a (5-word max) title that d…
  • Define a function hasinteger that accepts a list and returns True if any of the itmes in that list is an integer (and False otherwise). You can use the type() function to check the type of a given …
  • What does this print?. s1="this is a string" s2="this is a string" $3=$1 print(s1==$3) s1="aha" print(s3==$1) print(s3==$2)
  • I am going to answer the question 1.3 and 1.4. In this case. Essentially what we are looking for is how well the separation is between the benign and malignant sets with respect to each feature. So in…
  • Handling “fileExistError” in creating folder. Can you please correct this script or is there something missing? Where should I put the “try” and “Exceptions” command? ¬† import os folderdir = r”D:\Adm…
  • How to get Image to read URL and how to get labels to print on image Graphical Photo Labeling Create a new Python project in PyCharm and add the following files to it: image helpers.py labels_graphica…
    • (4 pts) List the last name and state of each guide that does NOT live in Massachusetts (M LAST NAME STATE Hint: Check out Figure 4-4 Boyers NH Gregory NH on page 101 of your eBook Kiley NH to lear…
  • Creating a student database program.¬† This program will allow the following: Add a new student to the database 3pts Remove a student from the database 5pts Display details about a student 3pts Dis…
  • I am having trouble figuring out how to structure my code. Directions: calc_waiting(arrive, depart, curr_waiting) ¬†– Calculates and returns the new number of items in a queue based on the given arriv…
  • I’m trying to write code on Pycharm for a “Reading Tracker” using functions. Using the sample CSV file below for the name of the book, author, amount of pages and “c” being marked as completed and “r”…
  • Please Solve this in Python. Our club needs a software that can keep track of the members. Here are the features of the program that it will have. 1) Add Member a) Using this feature, we will input th…
  • I started the loop for January but I’m having trouble adding the rest of the months. Goal is to make a loop connecting all the months #CUSTOM FUNCTIONS DEFINITIONS def buildDates( ) : date list – # Da…
  • Problem: Write a program that prompts for and reads strings until an empty string is entered, then prints the longest string that was entered. The output must match the punctuation in this example exa…
  • Hi, why is there error for the following code? x = 0 def f(n): for i in range(n): x = x + i f(5) print(x)
  • How to program a python program (numpy) to read .stl file in ascii format to display the given solid’s vertices and normals ?
  • Question: You as an ML expert build a model to forecast the demand (passenger traffic) of traffic. Relevant data is provieded below: Domain – SEA Transportation focus – forecast demand Business challe…
  • SPECIFICATIONS: Given the following form representing a client HTML page: ¬† view-source:https://www.bitsandbots.ca/danny/prg550.213/labTests/labTest2/form.html ¬† ¬† Write a Python CGI server program…
  • Here, i have given the Source Code of KNN Algorithm¬† ¬† In this code, it will take two classes input from User, K value from User input. ¬†It will print the New Data Point under which class. ¬† Quest…
  • Subject:¬†AccountingCourse:¬†Add The present value of dollars at interest rate% compounded anually for n years is the amount of money that must be invested now in order to grow f dollars( called the f…
  • OOP Review and Best Practices This week we reviewed Object Oriented Programming concepts, as well as went over best practices assoc…
  • Question: You as a ML expert have to cluster the countries based on various sales data provided to you across years. New DG Food Agro are a multinational exporter of various grains from India since ne…
  • Build a program to store water usage data of 4 customers in a text file.¬†The program asks the user to enter account number, customer type (R for residential or B for business), and number of gallons …
  • i am providing a snapshot of 5 journal entries that can be created in excel . columns start from jourmnal_id and end at journal amount. Please provide code for unsupervised anomaly detection in python…
  • Hello, I need to create a function with the following steps below, how would I be able to create the function? I attempted but have become stuck and need some help. #create function exampleFour with t…
  • Data set https://www.kaggle.com/martj42/international-football-results-from-1872-to-2017 What is the home team’s win percentage? (hint: make a new variable that describes if the home team won. Exclude…
  • . 1. Tax The following problem is partly done for you. Complete your parts. The Python Party wins government at the next election and introduce a simpler tax system that works like this: . If you ea…
  • Suppose the text file myname.txt contains three lines, each terminated by a newline ( ‘\n’ ).¬† Suppose the code below is executed, yielding the 4 lines of output that follows it: file_ref = open (“my…
  • Id like to know how i can right a simulation strategy on python. For example the following : You play a game where you bet some money and have a probability p to win twice the money (i.e. get back you…
  • The % or modulus operator returns the remainder present when two integers do not divide evenly into one another
  • INVESTIGATION 4: USING LOGICAL STRUCTURES IN PYTHON Now that we have added some powerful logical structures to our python scripts, we can make our scripts much more adaptable. Our python scripts can n…
  • I am having trouble getting my code to output my simulation data in a tabular format. So far I have the following code in python: def run_sim(normal, capacity, block_time) : ¬†¬†“””This function will …
  • shirt = { “brand”:”Gucci”, “size”:”Large”, “price”: 200.00 } Add an item to the above dictionary called “color”, set it to yellow.
  • . import networkx as nx import matplotlib . pyplot as plt # The keys of bus_stops are bus stops (integers) , # and the values are lists of bus routes that have a stop at the bus stop. bus stops = {}…
  • I was trying to develop a python application with the conditions below: Subject: Online store : users should be able to order items for sale or combo items (items when bought together trigger a discou…
  • I am having a hard time understanding the correct way to input parameters so I can pass data to my functions. Below is my script could you help me understand what I am missing please? import sys ¬† ac…
  • Given a partial main.py and PlaneQueue class in PlaneQueue.py, write the push() and pop() instance methods for PlaneQueue. Then complete main.py to read in whether flights are arriving or have landed …
  • After I tried my own code for the “password = FirstName + “*” + Birth_Year” and tried the given code I’m running into the same problem even though this works on IDLE when I test it. Whenever I run the…
  • st the number of missing values for each column. Remove the applications each of which has more than 2 missing values. Forward fill up the missing values for columns with Object data type. Fill up the…
  • 20 LAB: Temperature Statistics ¬† Learning Objectives Create a function to match the specifications Use the if/else statements to detect a range Use lists to store the results Write a program to get…
  • For this project, you’ll create “word cloud” from a text by writing a script. This script needs to process the text, remove punctuation, ignore case and words that do not contain all alphabets, count …
  • Consider the following scenario where friendship is mutual (i.e., if A is friends with B, then B is also friends with A): Chao is friends with Anna, Latoya, and Deepak. Anna and Latoya are also friend…
  • Hello, I need help solving this Lab simulation, It uses Nested loops: Print seats for loops statements and I am very new at python on so I need help solving it. It is very difficult. It is very confus…
  • Need to write a counting sort function in python. First identify the maximum value in¬†mylist, call it¬†N. Now create a list (bucketlist) of¬†N+1 zeros. For¬†j¬†between¬†0¬†and¬†N, the value¬†bucketli…
  • Hi I am working in the updated version of player_submission.py – for this semester. I have some questions on recursion, in particular how to manage the classes CustomPlayer and minimax #export def min…
  • what situation would there be where funtions is not necessary
  • . Objectives Become familiar with using strings, lists, dictionaries, and files Learn how to sort a list Learn how to read data from and write data to files . Write a program in more than one module…
  • # Menu_Display—————————— def Menu_Display(): ¬† ¬†# This function displays menu and price of each selection ¬† ¬†# No Arguments, No Return ¬† ¬†print(“\nPlease select a number 1…
  • Given a string of even length, return the first half. So the string “WooHoo” yields “Woo”. first_half(‘WooHoo’) ‚Üí ‘Woo’ first_half(‘HelloThere’) ‚Üí ‘Hello’ first_half(‘abcdef’) ‚Üí ‘abc’
  • Geocode addresses in the comma-separated file (data.csv) and output results to an additional CSV file called “results2.csv”, but do not use the geocoder Nominatim. Use something else. GeoPy Geocoding …
  • Write a Python generator called md_gen(x0, n) that takes a positive integer seed x0 and an int n and produces the sequence of the first It pseudo-random numbers (if n 2 0) or an infinite sequence of n…
  • Write a program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither. The input begins with an integer indicating the number of integers in th…
  • Hello,¬† I need some step by step explanation on this one. ¬† Exercise 9 (3 points). Now implement a CSR-based sparse matrix-vector multiply. ¬† def spmv_csr(ptr, ind, val, x, num_rows=None): ¬† ¬†ass…
  • Write python code to turn heater on if outside temperature is below 45 degrees and off when temperature reaches 58 degrees F.
  • For this project1.pdf, question 2.1 how would you go about solving that code? GIVEN CODE: population = Table.read_table(‘population.csv’) countries = Table.read_table(‘countries.csv’).where(‘country’,…
  • Please use python 3.6. a Python script named¬†calc.py¬†that takes three command line arguments, where the first command line argument is a number (first operand), the second is an arithmentic operator…
  • Write the statements that will add the numbers from 50 to 100 excluding multiples of 5 and display the result. You must not use numbers in your code. i.e. you must use variables. Your final output…
  • Apologies, I’m having trouble in part 3. I don’t know how to write test functions, or how to automate playing the game with my code. I’m a new programmer so any help would be greatly appreciated. Prog…
  • Please provide an example python code for this question project. Included is the directions and provided after is the example output. ¬†. Part 2: Alphanumeric counting in a text The library needs a pr…
  • Please help me with answers for: Do Exercise 6.4 from your textbook using recursion and the is_divisible function from Section 6.4. ¬†Your program may assume that both arguments to is_power are…
  • Implementing k-means clustering with numpy ¬† ¬†. 121.2021F.Assignment 7. pdf The method you will use to group the animals is called K-MEANS CLUSTERING. It works like this: Choose the number of cluste…
  • Consider the following snippets of code.¬†Then, identify and describe the sorting algorithm used. ¬† num scores[5] = 90,85,65,95,75 ¬† sort() x¬†= 1 ¬†¬†while x < SIZE ¬†¬†¬†¬†¬†¬†¬†¬†¬†temp = scor…
  • Please use python and “if” statements to solve. All information is below as well as outputs.
  • Where’s the answer to part 2 as im having the hardest difficulty with this portion. Part 2 + Shipping Calculator Sample Output: Cost of items ordered: 49.99 Shipping cost: 7.95 Total cost: 57.94 Conti…
  • # FILE: Final_Lab.py # NAME: Final Exam Lab # AUTHOR: # DATE: # PURPOSE: Scan ports on 127.0.0.1 to determine which are open # ¬† ¬† ¬† ¬† ¬†and which are closed. ¬† import socket import pickle imp…
  • Make a function defined as: def Secant(fcn, x0, x1, maxnew=14, xtol=1e-4): Purpose: use the Secant Method to find the root of fcn(x), in the neighborhood of x0 and x1. fcn : the function for which we …
  • In [74]: what is the missing part of the code? Question 2. Using both latest_poverty and population, create a four-column table called recent_poverty_total with one row for each country in latest_pove…
  • . Mario and Luigi’s Pizzeria needs a program to calculate: the number of slices a pizza of any size can be divided into, and the number of pizzas a customer should order so there is enough pizza for…
  • create¬†¬†¬†a¬†python¬†dictionary¬†called¬†student¬†. Include student name, age, subject, semester, grade and lab keys. Include the value for each key accordingly. Display keys separately and values s…
  • The normal body temperature of dogs is between 38.3 and 39.2 degrees Celsius. Imagine a vet has measured the body temperatures of a number of dogs and recorded the results in a list. For example, the …
  • Multiple choice PyTorch python deep learning questions Q1 Q2 Q3 Q4 ¬† Q5 Given the following model: ¬† class¬†DeepConvNet(nn.Module): ¬†¬†¬†¬†def¬†__init__(self): ¬†¬†¬†¬†¬†¬†¬†¬†super().__init__() ¬†…
  • Week 11 Activity found on Canvas. You do not have to submit your code.
  • Using the following string: “Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python’s design philosophy emphasizes c…
  • Hi running into a problem! Instructions: In Chapter 4, we developed an algorithm for converting from binary to decimal. You can generalize this algorithm to work for a representation in any base. Inst…
  • 4.2 Relational operators CHALLENGE ACTIVITY 3.4.2: Relational operators. Write an expression that will print "Dollar or more" if the value of num_cents is at least a dollar (100 cents is a…
  • Instructions In Chapter 4, we developed an algorithm for converting from binary to decimal. You can generalize this algorithm to work for a representation in any base. Instead of using a power of 2, y…
  • # This program writes ISBN conversion menu that # verifies the check digit¬†of ISBN-10 and # verifies the check digit of ISBN-13 then # converts an ISBN-10 t a ISBN-13 and also # coverts an ISBN-13 to…
  • Use python for the following assignment: 1. Generating a group of DNA sequences generate_sequences( ) Instead of using a function like forward_frames( ) as we did in Project 01, we will just use rando…
  • How do I code python that would pass a variable to a function?
  • from¬†sklearn.model_selection¬†import¬†KFold from¬†sklearn.model_selection¬†import¬†cross_val_score from¬†sklearn.linear_model¬†import¬†LinearRegression from¬†sklearn.linear_model¬†import¬†Lasso from?…
  • I need help. Create a Python dictionary by using the correct punctuation. Complete the code to return the output car = write code here ‘brand’ write code here ‘Ferrari’ , ‘model’ write code here ‘mode…
  • This is an introduction to Object-Oriented Programming. Q1. a) Python class called Student that holds the following data about a student: ID, name, assignment 1 marks, assignment 2 marks and exam mark…
  • I did the script and got this error(1). After I asked a question I was told to edit configurations and put arg1 arg2 arg3 in the parameters and got another error. (2) ¬† (1) (2)
  • the code below doesn’t work as expected. Why? Output desired: ‘o’ ‘n’ ‘ ‘ ‘t’ ‘p’ ‘a’ ‘n’ phrase=”don’t panic” plist=list(phrase) str1=”on tap” qlist=list(str1) for item in qlist: ¬† ¬† if item not in…
  • ****PYTHON**** ¬†. Problem statement Create a Python script called steganography . py with two functions, concealo and reveal() . This script will be imported as a module; it does not need to he runna…
  • Using jupyter notebook or python do the following: Generate means write the code and plot it, so please do not provide some explanation without simulation results. If you can’t write the code, explain…
  • For multivariate regression we have many variables, and it is not surprising that for an optimal linear predictor a ¬∑ x + b, it holds that the residual vector is orthogonal to each of the centred exp…
  • Had trouble in designing the following question without using list comprehension. kindly share and explain the answer to avoid future mistakes. ¬†. Design the function create date that takes a string …
  • In the following code, which is the varible is the loop variable ? ¬†idx = 0 ¬†numchars = 0 ¬†astr = “This is a string to use in the example” ¬†for chr in astr: ¬† ¬† ¬†numchars += 1 ¬† ¬† ¬†if chr ==…
  • QUESTION 1 Version control does not allow programmers at remote locations to work on the same files at the same time.¬†(True/False) ¬†True False QUESTION 2 With version control,¬†if one programmer ove…
  • Create A Film Program ( like a simple Rotten Tomatoes) ¬† Objective : ¬† Create an application that a user can add and retain information about a Film( Title, Director, Description, Year , Type, Actor…
  • PLease help. 6. (7.0 points) Objective Judge A debate judge is in charge of declaring the winner of a two-sided debate. In order to be more objective, the judge starts by drawing out all the points (n…
  • Please help with this Lips (Scheme) problem, thank you. Implement split-at , which takes a list Ist and a positive number n as input and returns a pair new such that (car new) is the first n elements …
  • Which of the following while loops has an infinite loop? Select as many as apply. ¬† a. q =¬†“” words¬†=¬†[] while¬†q¬†!=¬†“stop”: ¬†¬†¬†¬†q¬†=¬†input(“Please¬†enter¬†a¬†word:¬†“) ¬†¬†¬†¬†words.app…
  • PYTHON QUESTION Given a set , weights , and an integer desired_weight , remove the element of the set that is closest to desired_weight (the closest element can be less than, equal to OR GREATER THAN …
  • Lab 2B – try/except 100 pts Directions: Write a program that will read in a list of integers from a file called Data.txt which is supposed to contain the following information in the following format …
  • please help me with the question 3.3 to 3.9.. The file named nba_salaries. csv in the data/ directory contains data on professional men’s basketball players in the NBA from 1985-2018. This data contai…
  • i found this problem intresting and needs to be done to learn something new At end i have pasted what i have coded so far so description goes below :- The eight queens puzzle is the problem of placing…
  • Consider a kernel¬† K of size (2, 2) as illustrated: The input tensor¬† x is of size (4, 4) as illustrated: ¬†(2a) What is the result of the convolution¬† K * x as a tensor matrix.¬† Show your work. ?…
  • I need help can’t get this code to work! someone please help west_births = The raw data is a bit messy – run the cell below to clean the table and make it easier to work with. In [78]: # Don’t change …
  • Please see the question and my code below. I cannot seem to get my code to match the desired output. I either get 0 as the average or an error saying bad input in line 8. ¬† Kindly explain what is wro…
  • Python need help with question 1¬†. 8 = Graph(vertices={‘a’, ‘b’, ‘c’, ‘d’s ‘ edges={(‘a’, ‘b’), (‘a’, ‘c"), (‘a’, ", ‘d’ ), (‘b’ , ‘d"), (‘c’s ‘a"), (‘c’s ‘e"), ( ‘d’s ‘b’), …
  • I need help with this Python exercise: ¬† Data source: https://app.box.com/s/ss5yaar2oylc0kks6nr5pf6q3st1zo58 File Name: data_banknote_authentication.csv ¬† ¬†. The Banknote Dataset contains several m…
  • Assign someLambdaFunction to be a lambda function that does the same thing as the function below: def someFunction(a, b): c = a.split() d = c[b] e = len(d) return e Hint: Try to think of a way that yo…
  • Pycharm Python¬† 1.¬†Print First 10 natural numbers using a while loop. 2.¬†Print the following pattern using a loop: ¬† ¬† ¬†1 ¬† ¬† ¬†1 2 ¬† ¬† ¬†1 2 3 ¬† ¬† ¬†1 2 3 4 ¬† ¬† ¬†1 2 3 4 5 3.¬†Accept n…
  • Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. 6.9 Debugging. If a function is not working, there are three possibilities to consider: T…
  • Using the dataset provided, develop the following visualizations using the right set of variables . (20 each) a. Histogram b. Bar chart c. Line chart d. Area chart e. Scatter plot ¬† ¬† https://us.doc…
  • a python program that determines the sales commission for a salesperson.¬†Sales people receive $200 per week plus 9% of their gross sales for that week.¬†For example, a salesperson who sales $5000 wor…
  • try: ¬† ¬† with ZipFile(zf) as z: ¬† ¬† ¬† ¬† z.extractall(pwd=bytes(password, encoding)) ¬† ¬† ¬† ¬† with open(“Flag.easy.txt”) as p: ¬† ¬† ¬† ¬† ¬† ¬† data = p.readlines() ¬† ¬† ¬† ¬† ¬† ¬† print(da…
  • Question: Accommodation rules: The task should be put together by the cutoff time (prior entries are supported) in PDF design through Blackboard utilizing the accompanying record name design: LastName…
  • Option #1: String Values in Reverse Order Assignment Instructions Write a Python function that will work on three strings. The function will return to the user a concatenation of the string values in …
  • I’m trying to make a program called “re_order.py” that when run on the command line, takes 2 file names; an input csv file and output file name. It opens the input CSV file, reads it and writes out th…
  • Assembly Language Write the following program, copy, and paste each program output at the end of the program.¬† I can help you to compute your semester average Spring 2021 Math 201: 2 exams, 3 quizzes…
  • Make the python interactive text game that is exciting, boring, interesting, or adventurous.¬† You can write your game about traveling to distant planets, exploring the forest, making sandwiches, or l…
  • . Background: It’s time to do some plotting in python. We’ll import the library we need and demonstrate a very simple plot In [ ]: import matplotlib. pyplot as plt In [ ]: x = list(range (1, 11) ) p…
  • Why am I getting index out of range? ¬† I want to determine if the numbers inside of the list are positive or negative, and add them up, and return the sum.¬† ¬† ¬† ¬†. def compteEntiers (): > >…
  • Write a program Step 1: Create a dictionary called categories = 1: ‘Debt Consolidation’, 2: ‘Home Improvement’, 3: ‘Business’, 6: ‘Auto’, 7: ‘Other’ Step2: Create a user define function using cate…
  • copy the output into your Discussion Assignment and¬† explain the output . Compare it with any similar examples in the textbook, and describe what it means about your version of Python.¬† >>>…
  • I am a bit confused as to why I am getting an error on line 29.¬†I know that ‘name ‘ is not defined but if I change the variable to “item_Name then it creates a duplicate of “Item Name: and Quantity P…
  • why does for num in range(6): ¬†¬†¬†for i in range(num): ¬†¬†¬†¬†¬†¬†¬†print (i, end=” “)¬† ¬†¬†¬†print(“\n”) execute like this 0 01 012 0123 01234 012345
  • Now, we are going to put these together. Copy your code from the previous checkpoint to a file called check3.py. As in checkpoint 2, you will ask from the user a starting point: file number, paragr…
  • 12 LAB: Seasons ¬† Write a program that takes a date as input and outputs the date’s season. The input is a string to represent the month and an int to represent the day. Ex: If the input is: April …
  • Can someone please check my code , and provide a detailed explanation regarding what is the problem with my code ? I think my code is conceptually correct, however it doesn’t work properly. Thanks ! W…
  • Review the Sample Dragon Text Game Storyboard in the Supporting Materials section to You will begin by creating a storyboard to plan out your game. write a short paragraph that describes the theme of …
  • def stringtoint(s): #function docstring of the function: ¬†¬†¬†”'(str)->list of int ¬†¬†¬†Precondition: s string that looks like a sequence in integers where between ¬†¬†¬†every pair of consecutiv…
  • import csv fileWords = input(”) wordCount = {} with open(fileWords, ‘r’) as csvfile: csvreader = csv.reader(csvfile) for row in csvreader: for word in row: if word not in wordCount.keys(): wordCount[…
  • please helpp 3) Write a Python script which includes a function that calculates the volume (V) of a horizontal cylindrical segment. The formula to calculate V is given below. The cylinderhas a radius …
  • I need to implement Complete Binary Tree . The insert() method should be implemented with a recursive¬†algorithm that insert a new node to the tree. The getHeight()¬†method should return the height of…
  • ”’ The task is broken down into three sections. Section 1 – User Input Section 2 – loop through the grocery list Section 3 – provide output to the console ”’ #Task: Create the empty data structure g…
  • 1/ Using the Boston Marathon data ( bm_results2012.csv ¬†¬†), construct a Python program that will sample 100 racers official time using random sampling and plot a histogram of the sample. (sample¬†of…
  • Write an function named enterNewPassword . This function takes no parameters. It prompts the user to enter a password until the entered password has 8-15 characters, including at least one digit. Tell…
  • BAN 200 Group Project The goal of this project is to demonstrate your ability to analyze text data and interpret the outcome of your analysis for the best interest of the business. Deadline: Aug 13 th…
  • Question 1 (1 point) ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† Run Add Ten with seed 815. ¬†What is your output? ¬† Question 1 options: ¬† -102.1 ¬† ¬† 33 ¬† ¬† 147.27 ¬† ¬† 9 ¬† ¬† Error ¬† ¬† None of these ¬† ¬† Q…
  • Hi I would like this program to be writing in python please, use this link to access the doc: https://drive.google.com/file/d/1VgkDuw8RnssNST-E6SRy2l4idWnk5kYe/view?usp=sharing
  • test: SORTED = \ ¬†¬†[(‘sorted’, ([]), []), ¬†¬†¬†(‘sorted’, ([4,3,2,1]), [1,2,3,4]), ¬†¬†¬†(‘sorted’, ([-1, 0, 6, -3]), [-3, -1, 0, 6]), ¬†¬†¬†(‘sorted’, (‘second’), [‘c’, ‘d’, ‘e’, ‘n’, ‘o’, ‘s’]), …
  • please help me solve problem 6. WWW- . Compares each of these 10,000 MSEs to the Iranian MSE that was passed into the function as a parameter. . In particular: 0 Determine how many of the 10,000 rando…
  • In this problem, you are going to create new kind of sort.¬† We’ll call it the “Crab In The Bucket” sort.¬† If you had a shipload of crabs, and you had to sort them into small, medium, and large varie…
  • BuzzPort | Georgia Tech x | Final Exam x V Workbench X F – C labs. vocareum.com/main/main.php?m=editor&asnid=623337&stepid=623338 vocareum My Classes Help Abdullah Timer: 3h 58m 46s Submit Det…
  • Implement a class Car with the following properties. A car has a certain fuel efficiency (measured in miles/gallon) and a certain amount of fuel in the gas tank. The efficiency is specified in the con…
  • Please check the below image. Please help me in modifying the code. The output should look like, the csv filename is hardcoded.¬† ¬† The time for “filename” and it time taken, followed by its sorted o…
  • Step 1: Start a new file. In IDLE, select File and then New File . A new window will appear. This is the window to input your new Python program. Now, type in your new program. For the first line of y…
  • Please help with the example problem at very end.¬† ¬† https://pastebin.com/rna8ByQG ¬† add_sock get_pair available_colors Please help with example below. ¬†. Os [1] #@title Let’s define a testing hel…
  • Before doing this question: After doing the question, it showed me the problems and I could not get the grade:. NoYouPick Write a function called no_you_pick. no_you_pick should have two parameters. T…
  • Write the code for the following questions in python.¬† ¬† Q1. Create the list below. Add Assess risk at the end of the list Using one of the List methods, sort the list. Print the fourth element. Pri…
  • Checkpoint 3 Before getting started, copy check2. py to check3. py and continue your work in check3. py. In this part we will add a final flair to your program from part 2 using the module webbrowser….
  • 07 – Is this the imposter 10 coding | python Return the first duplicate value in the given list. For example, if given [5, 7, 9, 1, 3, 7, 9,5], the returned value should be 7. def q1(1st) : pass
  • Need help with Homework!! I am supposed to write a simple hash fu nction in python. It should look someting like this(only thing I need is to adjust it to only give values between 0 and 255 and chose …
  • Domain – Banking Marketing focus – Optimization Business challenge/requirement Bank of Portugal runs marketing campaign to offer loans to clients. Loan is offered to only clients with particular profe…
  • help with question 3. Provide the complete trace of the following function (note: include each instance of a function call as well as the overall output): def fon (n, s) : ifn < 1 : print ( ‘ done’…
  • import datetime def currentDate (x) : currentDate( 4 ) #expected outcome: The total number of seconds is 345600.0. currentDate( 7 ) #expected outcome: The total number of seconds is 604800.0. I have t…
  • what is the answer Which of the following pieces of code correctly opens and closes a file? Select one: f = close( ‘my_file. txt’ , ‘r’, close_after=True) for line in f: print(line) f = open( ‘my_file…
  • For a binary classifier, the threshold can be modified, and modifying the threshold will affect the True Positive Rate and the False Positive Rate. If you change the threshold of the classifier so tha…
  • The goal is to write a function swapping values between every odd-even positional pairs on a list. For instance: swap([3, 4, 5, 6, 7, 8]) will return [4, 3, 6, 5, 8, 7], swap([9, 7, 5, 4, 6, 7]) would…
  • Given the following flow diagram: Start Value = 1 Value<=19 No Yes Value Value = Value +2 End Explain what the algorithm does, using your own words.
  • Develop a program that receives a series of numbers from the user and allows the user to press the enter key to indicate that he or she is finished providing inputs. After the user presses the enter k…
  • Help to write Python program to implement the following algorithms presented i. Perceptron Learning Algorithm (perceptAND . py) ii. Backpropagation Learning Algorithm (bpXOR . py) Your programs must a…
  • I imported a file(games.csv) and I added one column(last column) which is percentage to the list. I created a new file (games_percentage.csv)that copy everything from the old file(games.csv) plus the …
  • Question 2 [25 marks] a) For each of the following Python assignment statements, describe the type of variable x, and the kind of values that that type can represent. 1) x = 10.0 ] ii) x = False [1] i…
  • Objective: Work with lists Work with lists in functions Work with strings Work with files Assignment: Part 1: We need a program that stores information about a list of students who are members of a cr…
  • Write short Python program that will ask the user for the number of pennies she has and tell her the equivalent number of dollars, quarters, dimes, nickels, and pennies.
  • Hello, Can you please help me write the simple python code for this program in the picture? ¬†The last two pictures are of how the program is supposed to function. Thank you for the help ¬† ¬† ¬† ¬† ?…
  • PYTHON 3 ¬†ATM SIMULATOR – using ¬†import Tkinter GUI Create a program that simulates an ATM Bank system must include error and handling exceptions in the code the program will have an external txt fi…
  • Create a python application that inputs, processes and stores student data using menu-driven programing
  • could u aid with this. Be sure to use the .format method of python and make sure to separate the main file and the function file. As well, only use one return statement in the function (at the end of …
  • not sure how the code willl look like with q, e1,e2 1) The Belousov-Zhabotinsky reaction is an oscillating chemical reaction, which can be modeled by the following Initial Value Problem (IVP): du dt (…
  • Given the provided list of¬† suppliers , write python code to: Process the list of dictionaries to create a list of supplier names formatted as¬† city: supplier_id, supplier_name e.g.¬† Greenway: 51, …
  • I need help with deciphering whats a paramter and a variable within a function
  • Translator Create a program that does the following: Read in the files in¬† this zip file¬† to create one dictionary with the English terms as the key and the French,¬†German and Spanish terms as the …
  • Given the variables height and mountain, use .format() to print the following string: `The height of Mt. Everest is 8848 meters.`
  • Need the answer in python 1. Write a recursive function Brain Search that takes three parameters: an array, starting position, and the number to search. It returns the location of a number if exists i…
  • I have a folder by the name ‘dengue’. These are tiff images. I have read the folder using below code. ¬† import glob2 dengue_files = glob2.glob(‘./dengue/*.tiff’) dengue_files ¬† However, how to find …
  • Write a Python ¬†program, implementing encryption/decryption without using any special security packages(means do not import dictionary like from cryptography.fernet import Fernet) . The program shoul…
  • Optimization – Curve Fit (50pts) Given 16 pairs of prices (as dependent variable) and corresponding demands (as independent variable), use the curve fitting tool to estimate the best fitting line…
  • To better plan for hiring hourly temporary workers on the peak-day of the week, OnMart has requested to find the busiest day of the week (Monday, Tuesday, Wednesday, Thursday, Friday, Satruday or Sund…
  • I extremely need help with this in Python!! This program will requires me to make a basic parser for an input string that is somewhat like Python. Python has an older parser module and a newer ast mod…
  • What makes up a Python program’s namespace? ¬† a. The set of all its variables and their values. ¬† ¬† b. The main method of the program itself. ¬† ¬† c. The defined methods of the program. ¬† ¬† d. T…
  • The Full Caesar Program ¬† We now have: The top-level pseudo code for the Caesar program: get inputs from the user, deal with the input, encrypt the input, print out the encrypted version, A function …
  • Please follow the instructions to complete the following Python programs. ¬†Please complete them in either Jupyter notebook. ¬† https://datasciblog.github.io/2016/12/27/a-kagglers-guide-to-model-stack…
  • 1 Code a function called ‘halve_to_2’ that accepts one numeric input. If the number <= 0, RETURN -1 If the number > 0, divide that integer over-and-over by 2 until it becomes smaller than 2. R…
  • Please be sure to pay close attention to detail when reading this set of instructions each variable must be independently or individually gotten from the user you will join the variables together in o…
  • Design this expense tracker GUI application using Tkinter with python. OCTOBER EXPENSE TRACKER [ name ] or the Year 2020 Expense Capture Page Month E T October 2,038.90 Amount pate Month Day Descripti…
  • Create a program that records the student’s data as well as the tuition fees and miscellaneous¬† fees in a text file. The program should have the following options a) Add Student Record b) Search Stud…
  • how to write a python code for this. Question 5 Create a python window containing a grid of 2×2 buttons. In that window, place 4 butto different functionalities: 1. Button 1: Pressing Button 1 will pr…
  • Write the following functions : calculate_bmi(height,weight) – to calculate and return the bmi (bmi = weight/height**2). determine_weight_category(bmi ) – to determine the category for a given bmi (&l…
  • P is array([[0.756, 0.113, 0.129, 0.002, 0. , 0. , 0. ], [0.174, 0.821, 0.004, 0.001, 0. , 0. , 0. ], [0.141, 0.001, 0.776, 0.082, 0. , 0. , 0. ], [0.003, 0. , 0.192, 0.753, 0.052, 0. , 0. ], [0. , 0….
  • Add the method __eq__ to the Array class. Python runs this method when an Array object appears as the left operand of the == operator. The method returns True if its argument is: also an Array, has th…
  • . This is an equation you want to compute. Certain values of x and y will cause a division by zero error. 3sin(x) + e-y N = x(y – 1) Suppose you are given the following statements: import math; x = …
  • Using the authlog photos below, build a Python script which does the following:¬† 1. Opens the file and reads the file line-by-line¬† 2. Prints out the time and date of the first attempted login. ¬†3….
  • I need help with an example of importing pandas and then writing code to import a specific text such as the one below 1.¬†¬†¬†¬†Import the chipotle.txt file, and save it in variable¬† chipo . To load …
  • How would you import a column in a csv file into python? I’m trying to create a histogram that lists how many invoices were made in an hour. The csv file lists InvoiceData as M/D/Y then time like 12/1…
  • Can someone help with me with these Python problems? Google Drive Set-Up(Just part of problem, if file is needed here is the link: https://brucepucci.github.io/problem_sets/hw_7_files.zip) If you want…
  • I can’t write the flowchart of this code down blow. Can u help me ? yeast = 1 glucose = 100 ethanol = 0 n = 0 while glucose>0: ¬†¬†¬† ¬†¬†n = n+1 ¬†¬†¬† ¬†¬†if (glucose > yeast): ¬†¬†¬†¬†glucose…
  • Build a program to design a version of¬†Rock-Paper-Scissors where the user plays the computer. But I want your program to cheat¬†–¬†yes, cheat. Normally in a Rock-Paper- Scissors program the user woul…
  • Outbreak of Ginjuk on the Planet Qwork ¬† The planet Qwork is currently experiencing an outbreak of Ginjuk, a serious, contagious disease. Inhabitants of the planet Qwork are divided into three distin…
  • Client and Server programs using TCP socket programming in Python There will be a socket, bind it to a specific address and port, connect to another application, and send and receive HTTP packets. Do …
  • A Python program: A class named BlackBoxGame for playing an abstract board game called Black Box. It takes place on a 10×10 grid. Rows 0 and 9, and columns 0 and 9 (border squares), are used by the gu…
  • ‚Äč The function included is the function given, I want to make sure the function is correct. Q9 – split_dataset (1 pt) Earlier, we defined a function select_sample () which allowed us to randomly sam…
  • By now you should see that designing, maintaining, and extending code based around loosely coupled data held in lists is tedious and not straightforward to understand. We now reimplement the same prob…
  • py from socket import * import sys ¬† # setting hostname and the port number host=”127.0.0.1″ port = 9999 # creating socket object s = socket(AF_INET,SOCK_DGRAM) # binding the socket with ad…
  • LANGUAGE IS PYTHON. The task is to make a Food Delivery program for a restaurant. Here are the instruction : Here are the first user actions of our program: As a user, I can add a new meal As a user, …
  • Write a program that takes a first name as the input, and outputs a welcome message to that name. Ex: If the input is Pat, the output is: Hello Pat and welcome to CS Online!
  • Write a program in Python that prints a square of asterisks (*) of size N, i.e., NxN.¬† ¬† Example: N = 5 ¬† ***** ***** ***** ***** ***** ¬† Please show all the code!
  • could u possibly aid with these and explain the solutiion in addition N 3 Question 7 (1 point) Which of the following if statements is valid? UT if data < 10 8 9 if a < i and > 5: 11 if varia…
  • A ticket kiosk at the movie theater prints tickets for customers. It asks the customer its age and charges the customer based on their age: Customers younger than 14 years old get charged $5.50 for th…
  • *** PYTHON and PERL *** 1. Write¬† a¬† Python¬† function¬† that¬† accepts¬† a¬† sentence¬† of¬† words¬† from¬† user¬† and¬† display¬† the¬† following:¬† ¬†¬† a]¬†Middle¬†word¬† ¬†¬† b]¬†Longest¬†word?…
  • Task 9 11 Create the function string NumberAnalysis which accepts a String that consists of any combination of digits(0-9) and letters(A-Z) and prints to the shell an analysis of the String as shown b…
  • The following program violates the Liskov Substitution principle. In words, identify the problem. ¬† ¬† from abc import ABC, abstractmethod class Contact(ABC): ¬†¬†¬†¬† ¬†¬†¬†¬†@abstractmethod ¬†¬†¬† …
  • You have 1000 lockers and 1000 students. All lockers are initially locked. 1st student opens all lockers 2nd student closes every other locker 3rd student opens(if closed) or closes (if open) every 3r…
  • I would appreciate some feedback as to how to start answering this question. e.g. what should i try to attempt using python thanks ūüôā You have to analyse friendship groups on campus. Individuals have …
  • CostMat = [[0,6,8,6,7,3,5,2,3,2,5,5,4,4,5,8,7],[6,0,6,3,2,5,7,4,7,8,11,7,6,8,11,10,13],[8,6,0,9,8,5,3,8,5,8,5,13,12,12,9, 16,9],[6,3,9,0,1,6,8,5,8,9,12,6,7,9,12,7,15],[7,2,8,1,0,5,7,4,7,8,11,5,6,8,11,…
  • Can you guide me with this. Please make sure to use 2-D lists, make sure there is only 1 return statement in the function, seperate the function and the main file and use .format (format for python). …
  • Assume that there are two teams and they are team attacker and team defender.¬† Therefore, at a state of the game one agent in¬† each team is left alive respectively. Here, the defender is given a lif…
  • Problem 5 Given the string poem below, write code to determine the most common letter in the string and assign that to the variable mostCommon . Also, assign the frequency of the most common letter to…
  • Objective: Prompt the user for a search term, and download all the ebay items matching that term.¬† Save the names, prices, and urls to a text file. ¬† Example: Your program might prompt: Enter a sear…
  • Question: Write a Python Program to Implementation of A* Search in Artificial Intelligence. ¬† Requirements: Graph Values have to take from User Input Source Node have to take from User Input Goal Nod…
  • Build a graphical user interface for calculating the properties of steam by specifying any two properties.¬† A .ui file has already been converted to a .py file for you and the only code you need to f…
  • Use the “while” loop with a combination of the “if” and “elif”¬†statement print all the numbers between 0 to 10. If the number is odd, the output should read “Odd followed by the number” and if the nu…
  • a python program on the formulas Momentum and Area of the triangle. (python programming) ¬† ¬† Attached here is the pseudocode and flowgarithm for guidance. ¬†. Momentum (1) – Flowgorithm e Edit Progr…
  • HOW DO I MAKE A SCORE BOARD FOR MY BLACK JACK GAME (TO KEEP TRACK OF WHO WINS AND WHO LOOSES, ALSO HOW DO I MAKE THE GAME REPEPTITIVE UNTIL USER CHOOSES TO QUIT THE GAME (imported module attached belo…
  • Hello I need help with the following question using Apache Spark/Scala on Databricks: Data provided below. Please copy and paste the links below.¬† ¬† I have 2 datasets provided below where one includ…
  • Sometimes a manager needs to look at historic data to make decisions about the future.¬† A manager needs to be able to look at both aggregate and specific data about their data and make some decisions…
  • Write a function that takes an argument. Give the function parameter a unique name. Show what happens when you try to use the parameter name outside the function. Explain the results.
  • Can any one help me with to change this c++ code into python code. And here my key length should be 13(k=13). #include <iostream>¬†¬† #include <string>¬†¬† #include <cctype>¬†¬† usin…
  • 2b says the answer should be the same as 2a 1. Use list comprehension to find the following sum 22 + 23+ 24+ 25+ 26+ 27+ 28 2. (a) Write a program to find the sum of the following series using python …
  • Fousquare employs four types of workers, each assigned a particular paycode and have different payment structures. See the table below that summarises this information. Paycode Employment Types Salary…
  • A python code needs to written. import math from typing import List def square_root(coefficients: List[float]) -> List[float]: ¬†¬†”’ Return a sorted list with the two square roots (can be duplica…
  • Write a Python function to display a menu as follows Enter A. To Calculate Student’s Average B. To Display if Student will Graduate C. To Calculate the Sum of Three Numbers D. To Calculate Employees W…
  • Python Programming: Imagine you have a jar filled with an infinite number of jellybeans. Every bean in the jar is a color on the rainbow which includes the following: Red Orange Yellow Green Blue Indi…
  • Please make the python code that performs the task below.¬† ¬† Input file would be the csv file with format like as below. ¬† article1 article0 article1 article2 article1 article3 article2 article3 ar…
  • from lxml import etree data = ”’<?xml version=”1.0″?> <data> ¬† ¬†<country name=”Liechtenstein”> ¬† ¬† ¬† ¬†<rank updated=”yes”>2</rank> ¬† ¬† ¬† ¬†<year>2008</…
  • python program Q2. A perfect number is a positive integer that is equal to the sum of its positive divi- sors except the number itself. The first two perfect numbers are 6 and 28 since 6=1+2+3 and 28 …
  • As a crewmate, one of your tasks will be to find the maximum value of a list. Normally we could just use max(), but due to a limitation of the spaceship, we must use recursion in order to find it. …
  • How to transform continous variable to categorical value? Link to my file: https://1drv.ms/u/s!AsRaombgB_fehSLZvPqVhjTQvFYY?e=rptVhK I wanto transform my E1 values from continuous to categorical but i…
  • Only UML DIAGRAM PLEASE The items being sold in the online shop are mainly of three types, Greeting Cards, Souvenirs, and Toys. All relevant details of these items are stored in the system including a…
  • Assignment Specifications Problem : Wordle 175. You have probably heard of the Wordle Game, a word guessing game that is becoming a craze on the internet these days. It is not the Wordle as the famous…
  • the objective is to write functions that compute the total size in bytes of a given folder and to search for a file within a given folder structure and return the file path if it exists. ¬†. class Fol…
  • Read the Marketing_subscription_prediction_latest_edited data.csv file and load it into a dataframe and do the following task ¬† ¬† 1. Display the dimension of dataset 2. Display all column index valu…
  • Write a program that prompts the user for a number from 1 to 20 until the number 20 is encountered. Not including the 20, calculate the maximum value. ¬† Please enter a number from 1 to 20 (20 to stop…
  • Plot the shear strain distribution with respect to the radius of the cross section at B. Set the origin at the center of the cross section.¬† ¬† PLEASE USE PYTHON and show the plots please. I DO NOT N…
  • Hi, I need help with implementing a function relevant(products, preferences). Please show me a step by step guide and explanations on the methods used and the computational complexity. I am at straws …
  • Letty is hired as a Sales Executive and her role is to sell items which are given to her in a bag. The bag contains n items where each item has an associated ID. Letty is inherently lazy and plans to …
  • https://github.com/johnsmitd1u1/datas.git¬† Load wimbledons_champions_cleaned.csv . Create a Plotly Dash application that has the following UI components: ¬† A range slider for “Year”. The range slide…
  • A customer comes into a grocery store and buys 8 items. PYTHON program that prompts the user for the name of the item AND the price of each item, and then simply displays whatever the user typed in on…
  • make a function named base85-decode() that accepts a triple encoded base85 string and returns the decoded value.
  • Part 2 – Pay Calculator Sample Output: Pay Check Calculator Hours Worked: 35 Hourly Pay Rate: 14.50 Gross Pay: 507.5 Tax Rate: 18 Tax Amount: 91.35 Take Home Pay: 416.15 ¬∑¬†¬†¬†¬†¬†¬†¬†The formula fo…
  • Please write the code using Python. And what it mentioned in question 1 “each of parts (b)-(e)” is actually question (2) -(5). this is a table for question 2.
  • Qno1 Write¬†a¬†python¬†function¬†called¬†“`readDNAsequence“`¬†that¬†takes¬†as¬†its¬†argument¬†the¬†name¬†of¬†a¬†file.¬†¬†When¬†passed¬†the¬†name¬†of¬†a¬†FASTA¬†file,¬†the¬†function¬†should¬†read¬†th…
    • Prompt the user to input a wall’s height and width. Calculate and output the wall’s area. (Submit for 2 points). Enter wall height (feet): 12 Enter wall width (feet): 15 Wall area: 180.0 square fe…
  • 1 Combining Spatial Enhancement Methods (20%) Implement the following spatial enhancement methods in Jupyter Notebook, and illustrate the principle and advantages of each method to achieve the final r…
  • ## 2. Debugging a function In this problem, we will debug a function to compute the mean of each column of a matrix. ¬†Please note that `sum` and `mean` are not allowed in any part of this problem. ##…
  • . Solution of 19. from tkintor import * dof changeText(): it btnTest[“text”] — “HELLO”: btnTest[“text”] = “GOODBYE” olse: btnTost[“text”] = “HELLO” window = Tk() window.title(“Salutation”) btnTest – …
  • Need help with the following questions please: Exercise 11: Decreasing Numbers Create a nested loop that produces the output below, For this problem you need to use nested for loops. ,,,,1 ,,,2 ..3 .4…
  • Try some logging to the console and a file … 1- Create a new logger1 with the name ‘log_question8’ ¬† ¬† logger1 = logging.getLogger(‘log_question8’) 2- Use setLevel(…) to set the logging level of…
  • Card is meant to represent a single card. The main function is to store the rank and value of the card and compare them using the following symbols ” < ” ” == ” ” > ” ” >= ” ” <= ” ” != ” …
  • Question-Based on Privacy and Security in Online Social Media. Jupyter Notebooks / Google Colab is strongly recommended for doing this Question and showing analysis, graphs, and code. Link for Parler …
  • Write function for the following specification. Function name to bool Parameters A numerical value Return value A boolean Detailed Convert the numerical value to a boolean object and return it. descri…
  • You are going to create a data structure composed of strings as individual elements. You are required to implement a MinHeap class that uses an array representation . This implementation is done such …
  • Ask the user to enter a string.¬†Then print a pyramid of the string like in this example: tamasha
  • Write program that reads a set of floating-point values.¬†Ask the user to enter the values until a sentinel value is input, then print: A)¬†¬†¬†The average of the values. B)¬†¬†¬†The smallest of the v…
  • How can we install and check whether Pylint is installed and working in Amazon AWS Cloud9?
  • In order to create a range(5,25,3) and print its elements a student types the following in the IDLE shell: >>> r = range(5,25,3) >>> print(r) However, the output is not what the stud…
  • please help me ¬† ¬†. Page 1 of 10 ZOOM + ITMIL, VSS and Event Tutorial ITCS 5122 Visual Analytics Spring 2020 Learning Objectives Learn minimalist basics of HTML5 Learn minimalist basics of CSS . Lea…
  • def get_choice () : choice = input( “Choose:” ) while choice != “W” or choice != “D” : print( “Invalid Choice” ) choice = input( “Choose:” ) return choice the while loop says everyhting is invalid eve…
  • Hello, I’m having trouble trying to figure out where exactly i input the data for the code to compile. As far as the artist and albums information. Please help.
  • Python program that accepts at least two values as input, performs some computation and displays at least one value as the result. The computation must involve calling one of the predefined functions …
  • Please only answer the first 7 parts of this question.¬† ¬† You can answer Parts 8-14 in another question: https://www.coursehero.com/qa/wait/35106294/?question_id=35106294 ¬† You should read the data…
  • Need few help in Python coding 1. Python Regular Expressions We have below input, for which we need 5 outputs – [‘199.72.81.55 – – [01/Jul/1995:00:00:01 -0400] “GET /history/apollo/ HTTP/1.0” 200 6245…
  • Define and comment the two missing functions such that the desired Betsy Ross flag is drawn.? import turtle def main(): ¬† ¬† window = turtle.Screen() ¬† ¬† flag = turtle.Turtle() ¬† ¬† flag.hideturtl…
  • We Rent. So Why Do We Need Insurance? Have you been down in the basement?” Nathan asked his wife, Erin, as he entered their apartment “No. what’s up?” responded Erin. “It’s flooded because of all that…
  • Pet Class Write a class named Pet, which should have the following data attributes: ‚ÄĘ _ _name (for the name of a pet) ‚ÄĘ _ _animal_type (for the type of animal that a pet is. Example values are ‘Do…
  • Develop a program, in which you’ll design a class that holds the following personal data: ¬∑ name ¬∑ address ¬∑ age ¬∑ phone number As part of the program, you’ll then create appropriate accessor and …
  • getCourse(courseCatalog, courseNumber)¬† this problem, we will use a so-called courseCatalog, which for this problem is a recursively-defined list-of-lists like so (this being just an example Each lev…
  • . AbacoStack is a game invented for this course so don’t bother looking for it online. You have a structure formed by three side by side stacks that are limited in size. For this game we will limit …
  • program 1 Encrypting the Converted Text Now that we can convert the text entered by the user into a form which can be encrypted by the Caesar cipher, it is time to writ a function to do tis. We need a…
  • Question#3. Consider the given documents (each sentence is a document) (1.5+1=2.5makrs) a.¬†¬†¬†¬†¬†calculate the cosine similarity of document 1 with all other documents b.¬†¬†¬†¬†¬†Using the given p…
  • It is recommended to Include Risk and Reliability factors into analysis – why that helps? What is contingency table and how it can be used?
  • Function name : find_file_in_folder Parameters : The first parameter should be a string with a file name in it, like ‘A.txt’. The second parameter is a string with a folder to look in for a file with …
  • What is your personal process for developing Python software, from identifying the problem to testing and maintaining the code?
  • Now, imagine that you have a local repository, but other team members have pushed changes into the remote repository. What Git operation would you use to download those changes into your working copy?…
  • Function Menu Design a function main( ) that lists and displays all the menu options to let the user select one of the operations representing each function listed below. Based on the user selectio…
  • CHALLENGE ACTIVITY 2.2.1: Declaring a class Declare a class named PatientData that contains two attributes named height inches and weight pounds Sample output for the given program with inputs: 63 115…
  • Credit card numbers follow a standard system. For example, Visa, MasterCard, and Discover Card all have 16 digits, and the first digit serves to indicate the card brand. All Visa cards start with a 4;…
  • Dataset: The Secondary Mushroom Dataset Source: https://archive.ics.uci.edu/ml/datasets/Secondary+Mushroom+Dataset ¬† ¬†to implement from scratch Decision Tree classification method to predict whether…
  • Can someone show me how to do python code, Pseudocode, and Flow Cha Hotel occupancy: a hotel’s occupancv rate is calculated as follows: occupancy rate = number of rooms occupied ,i number of rooms ava…
  • def get_average_grades (filename=’grades . csv’ ) return average_grades_list By default, the grades are recorded in an input file named grades. csv, in the same folder of your scripts. Each line in t…
  • # 10 points def exercise05 ( ) : III Data set: Boston Load sklearn’s Boston data into a DataFrame (only the data and feature_name as column names) Load sklearn’s Boston target values into a separate …
  • Given the following arrays (which were obtained during a machine learning experiment), representing the real and predicted patients with (a value of 1) and without (a value of 0) prostate cancer. ¬† R…
  • AutoSave . Off ) exercise05_Spring22 (1).docx Search (Alt+Q) vivek hukamtani VH X File Home Insert Draw Design Layout References Mailings Review View Help Acrobat Comments Share AaBbCcl AaBbC AaBbCc A…
  • Programming language used: Python. Pandas was imported as well.
  • As an up and coming digital designer, your task is to develop a number system interface that can easily display positive and negative numbers. This tool will be helpful in interpreting answers to arit…
  • What should the set of comment lines #TODO 1, #TODO 2, #TODO 3, #TODO 4, #TODO 5, #TODO 6, #TODO 7, #TODO 8, be replaced with for the execution of the program, given below, to yield the following outp…
  • You have to make game in python. (10000 points game) ——————————————————————————————————————————————- Scoring…
  • You are an unscrupulous salesperson who sells devices that allow a household to use their neighbours’ wi-Ô¨Ā for free. Due to the nature of the product you sell, it is never possible to sell to neighb…
  • Q3 (20 pts): Implement Quick Sort in Python ( Use the first element as pivot) def Quick_sort_first(random_list): ¬†¬†¬†¬†“”” ¬†¬†¬†¬†Returns random_list and sorted_list ¬†¬†¬†¬†Example: Quick_sort_fir…
  • Write a program called whilebun.py, in which the user is asked to guess the name of your favorite DBVac vacuum cleaner model. Your program should: Include a comment in the first line with your name.¬†…
  • 1) The question screenshot has been attached down below: ¬† ¬†. Question 9 (10 points) For this question you must design and implement a precondition loop in Python that will display the following num…
  • For the values 47, 95, 88, 73, 88 and 84, use the statistics module to calculate the mean, median, mode, population variance and standard deviation.¬† 2.Use for and range to sum the even integers from…
  • In this lab, you will learn the basics of socket programming for TCP connections in Python: how to create a socket, bind it to a specific address and port, and send and receive a HTTP packet. Yo…
    • Scenario: The students at MIT have a database. It can be designed in OOP paradigm by creating a class Student. The class holds the following information about each student: studentName, studentID,…
  • The Power Method – python code¬† ¬† Numerical Analysis¬† ¬† Goal: Your goal is to write a function closest eigenvalue(A, sigma, x0, n) that returns the eigenvalue of A that is closest to ŌÉ . Your fun…
  • Write a function in Python that receives a string containing a hexadecimal value and the function then return the¬† integer value of this hexadecimal string in decimal.¬† Test Values:¬† a) Hexadecimal…
  • Given a 2D array of integer values, each entry in the 2D array represents an age of a person.¬†task is to check where the person represented by the array is due to visit the DMV soon. So for each elem…
  • Please answer all the questions Question 1: Question 2: Question 3: Writ python program that does the following: ¬∑¬†¬†¬†¬†¬†takes as input from the user a date and time (24-hour clock) as “MM/DD/YYYY…
  • computer program that determines whether or not two Latin squares are orthogonal.
  • Function Description Write a function called chop that takes a list lst as input, and that removes the Ô¨Ārst and last element from the list. The function should simply alter the input list and should…
  • Define a function¬†pyramid_volume¬†with parameters¬†base_length,¬†base_width, and¬†pyramid_height, that returns the volume of a pyramid with a rectangular base. Sample output with inputs: 4.5 2.1 3.0 …
  • . Requirements for Menu Selection 2: o If the question is already in the dictionary, do not overwrite it. Let the user know that the question is already in the FAQ’s. Then ask the user to rephrase t…
  • What is wrong with my code below. It will not diplay all data entered, only the most recent. # Open file to write fileWrite = open(‘golf.txt’, ‘w’) # Iterate loop 16 times to take data of 16 players #…
  • You are using a decision tree classifier and one of the features is the GPA of the student. If there are 511 possible distinct splits of this feature (according to Gini Index), how many distinct GPA v…
  • Hi, this is the link to ¬†the file used and the analysis I did. https://drive.google.com/file/d/17H-tCdRVtC6QFH7ReTftslNp6xsDZtqz/view?usp=sharing https://drive.google.com/file/d/17H-tCdRVtC6QFH7ReTft…
  • Questions: 1.The data file contains numerical attributes that describe a letter and its corresponding class. Read the datafile “letterCG.bin ” and set all the numerical attributes as features. Split t…
  • Overview ¬† ¬† Scenario ¬† You work in a government department in IT that deals with space exploration. You are asked to write a program in Python that simulates space exploration. The organization ha…
  • a.¬†¬†¬†¬†¬†¬†¬†¬†Write a function named¬† hasFinalLetter ¬†that takes two parameters 1.¬†¬†¬†¬†¬†¬†¬†¬† strList , a list of non-empty strings 2.¬†¬†¬†¬†¬†¬†¬†¬† letters , a strin…
  • Please answer following in python code ūüôā ¬†. Use Python to solve each problem. 1. Given f(:r) = 3: + 3cos :1: a) Find the approximate critical values in the domain :1: E [0, 271′]. b) Find the approx…
  • Work with real-life datasets to train a Machine Learning (ML) model here is the data set given kindly download iris data https://archive.ics.uci.edu/ml/machine-learning-databases/iris/ Demonstrate …
  • Assume we have the following greedy algorithm for the coin exchange problem:¬† def greedy_exchange(amount, denominations): denominations = sorted(denominations) res = [] s = 0 for i in range(len(denom…
  • i really need help with this coding question to be able to study for my upcoming exam, i didnt understand so i was not able to get any codes. I really need help please. Objectives The objective of thi…
  • EX). E Prompts You are expected to use conditionals, functions, lists/dicÔ¨Āonaries and loops in both of these prompts. Please ask if you’re not sure how you would use one of those tools in your progr…
  • Kindly¬†assist me with the below home work ¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subde…
  • write the code to decrypt the julia, julia key is. Key is shifting by 1 and XORing with uvbWnVjcopsN
  • Part V: Compare algorithms, and try to speed things up! In this last part of the project, you will write code to facilitate the comparison of the different state-space search algorithms, and you will …
  • Create a program called Lab5B2 that will validate variable names. ¬∑ Read a set of words in from the text file, Lab5B2.txt, and put it into a tuple named reservedWords. ¬∑ Print reservedWords ¬∑ Ask t…
  • What is the stylistic purpose of the dash use in this sentence? 2. Why can’t Clover speak her thoughts?
  • Implement an algorithm that counts the number of occurrences of each l-mer in a string of length n. Run it over a bacterial genome and construct the distribution of l-mer frequencies. Compare this dis…
  • Is this supposed to compute values? I can’t see this as the code I’m looking for.
  • In NSW Graduated Licensing Scheme, persons applying for P1 driver license must have held a learner license for 12 months and logged at least 120 hours driving time unless they are 25 or older. Persons…
  • Runge-Kutta 2nd Order Method for Ordinary Differential Equations solving with Python or C++
  • Please Have a look at my coding according to this question there is some mistakes help me with that. question is… Write a Python program, implementing encryption/decryption without using any special…
  • Please provide me with python code do not solve it on paper Suppose a small pond normally contains 12 units of dissolved oxygen in a fixed volume of water. Suppose that at time a quantity of organic w…
  • total_marks (marks, weight) : Determine and display the total of all the weighted marks in the float list marks using a loop. Use the weight to calculate the total weighted mark possible and display t…
  • We are passing in a list of numbers. You need to create 2 new lists in your chart, then put all odd numbers in one list put all even numbers in the other list output the odd list first, the even list …
  • In what format is JSON used for storing and transporting data? A: Python Dictionary B: Javascript C: XML D: Text
  • please help me solve this python problem with while loop! I am stack with confusing about which formula should I use. Many user-created passwords are simple and easy to guess. program that takes a sim…
  • plz add comments so i can follow … plz do it easy way ..thnx (20%) Write a Python program, using’a user-defined function, that calculates the number of prime numbers under but not equal to a given…
  • Hi, This is a simple task to be done in python . Kindly go through it. Table of Contents 1. Introduction ……………….. .m Allowed libraries …. Template and data files ………. Compliance wi…
  • Write a code segment that uses a loop to create and place nine labels into a 3-by-3 grid. The text of each label should be its coordinates in the grid, starting with (0, 0) in the upper left corner. E…
  • py ¬† from __future__ import annotations import time from huffman import HuffmanTree from utils import * # ==================== # Functions for compression def build_frequency_dict(text: byte…
  • In class, we learned several Regex techniques. Using the re module in Python 1. [Write one regex pattern using the re findall method that finds the three values ["abc", "abcd", &qu…
  • Python is a popular programming language and has been labeled as having a safe core. However; specific code implementation can lead to risky and vulnerable applications. Bandit is a tool that can be u…
  • Create a Python function called sumOfOdds which takes one argument, an integer greater than or equal to 1, and returns the result of adding the odd integers between 1 and the value of the given argume…
  • I want to write a R code or python code to scrape images in websites by using the page url and by using inspect part of the page.¬† I have a list of urls for different pages in a website. And for each…
  • Problem 6 Plotting variability and uncertainty Plot error bars that visualize 95% confidence intervals of the estimates of the average bacteria populations at a sequence of time steps. More specifical…
  • Using Pandas – Jupyter Overall/Description/Directions:You will create three individual stock analysis. You will then compare the three stocks to each other. Finally, you determine which of the stocks …
  • knightsTour(rows, cols) # with backtracking [50 pts] [autograded] First, read about the Knight’s Tour problem here . Next, write the function knightsTour(rows, cols) that takes a non-negative int n an…
  • 3 . Write a function called start codon which accepts a DNA sequence as its argument and returns the first codon as a string . Assume the sequence is in frame
  • https://docs.google.com/spreadsheets/d/1_1ERCOQ7wAB413WBfw2VOEPVzvBgcIOW10gmDP2clnQ/edit?usp=drivesdku I need help with the function below, which uses Bayes’s theorem to calculate and return the poste…
  • I need help with how to make a function that will Identify the Possible Patient Zero(s) One way to think of patient zero(s) is that they are people who do not appear in anyone’s contact record list. B…
  • Section 6.2 of your textbook describes¬† incremental development . Do the exercise at the end of that section: As an exercise, use incremental development to writ a function called¬†hypotenuse¬†that r…
  • I need help fixing this code, please!! There is a sample interaction attached. def read_tsv_file (tsv_file) : import os output = with open (tsv_file) as instream: for line in instream: line = line. st…
  • I’m struggling on this question. It will take Python and spaCy to solve. There are two places to put in code to make it work properly. Could you please help me? ¬† Complete function extract_coref_chai…
  • create the logic for a program that prompts a user for 8 numbers and stores them in an array. create a function to be called from the main to calculate the arithmetic average of the numbers. the main …
  • What is the output of the following program?def Foo(x): if (x==1): return 1 else: return x+Foo(x-1) print(Foo(4))
  • Write one program that:¬† 1. Uses files – open, read/write, delete to handle data.¬† 2. Uses exception handling – try and except to catch and handle exceptions. Value, data Type, Zero Division, Syntax…
  • How to make the Python code to implement your design in #2. Make sure you test the code with multiple inputs. Include screen shots of your code and runs. ¬† ¬†Q. Design a flowchart that designs a s…
  • Client- Server Authentation i have to make the code ¬† Why am i receiving ¬†this error? The directions were this. In [2]: from jupyter_plotly_dash import JupyterDash import dash_core_components as dec…
    • Create a function called GetValue() with the following requirements: a. Two parameters i. the first parameter is the name of a dictionary with the same structure as the one created in question 2 ab…
  • I need the full code please, if you can also provide an explanation. This is in python. CL3.1. Lesson 3: Matrix Operations In this week’s activity, you saw how matrix operators can be used to transfor…
  • A ball is dropped from a given initial height and rebounds every time it hits the ground. Each time it rebounds, it reaches a new height that is a fraction of the previous height. Define a function tr…
  • Hello, I had to find a way to add information in the bills.csv file through a menu but as soon as I have new information, the program deletes the previous data from the CSV file and adds nothing?¬† Ho…
  • Write function, getValue() , to ask the user to enter a valid value between 0-100 (both inclusive). The function returns a valid value, otherwise, it displays an error message “Invalid !” and prompt a…
  • We are passing in two¬† numbers ¬†as inputs. You should join them together into a single string. # Input from the command line # converted to an integer import sys number1 = int(sys.argv[1]) number2 =…
  • We’ll be use¬†http://example.com¬†for this exercise. please use python Jupyter notebook to finsh this. 1. Use requests library to get the content of webpage¬†http://example.com Use BeautifulSoup to pa…
  • . 0.2. Download the CSV file "HK_max_temp.csv". This dataset includes the daily maximum temperature from 2011 to 2019. Please load it into the Pandas DataFrame and answer the followi…
  • Hello, I need help solving this Lab simulation, It uses Function call with parameter: Converting measurements for function statements and I am very new at python on so I need help solving it. It is ve…
  • Part 1 Encapsulate the following Python code from Section 7.5 in a function named¬†my_sqrt¬†that takes a as a parameter, chooses a starting value for¬†x, and returns an estimate of the square root of?…
  • I keep getting this error Input contains NaN, infinity or a value too large for dtype(‘float64’) when I try to run part 1.¬† ¬† Also, where is part 2 for this project?
  • Zebra ¬†photo is what the code is being created around. ¬†the second half is what is required for the ¬†code its python programming. ¬†. a) Write a program to change picture colors according to the fo…
  • age,sex,cp,trestbps,chol,fbs,thalach,oldpeak,ca,target 63,1,3,145,233,1,150,2.3,0,1 37,1,2,130,250,0,187,3.5,0,1 41,0,1,130,204,0,172,1.4,0,1 56,1,1,120,236,0,178,0.8,0,1 57,0,0,120,354,0,163,0.6,0…
  • Write a program to convert a list of student grades into a dictionary of average scores Input will be a list of students Each student is represented by a tuple of their name and scores ¬† [(“John Doe”…
  • Send the file as pdf. Use the two methods to simulate a Poisson process: For Ô¨Āx t (say 1:10), and rate A=2 simulate N(t) and the arrival times S_1. Upload a r‚ÄĒscript file if you did it in r or a p…
  • # Precondition: alist elements are all the same type def howMany (aList, element ) : Return how many occurrences of element are found in alist, which could be 0. return -999 assert (howMany ( , 99) ==…
  • . Question 3 (3 pts) A palindrome is a string, a word, phrase, or sequence that reads the same backward as forward, e.g., madam, kayak, noon, etc. Write a program that asks the user to enter a strin…
  • i want to edit the following code so that the output are in next line #function¬†to¬†read¬†file¬† def ¬† file_read (file_name) : ¬†¬†¬†¬† with ¬†open(file_name)¬† as ¬†f: #to¬†open¬†file ¬†¬†¬†¬†¬†¬†?…
  • Use only phyton and has to work on coderunner. My courses / 2022 / COMPSCI.101.C.S1.2022 / Test (30%) / Test (30%) Time left 1:55:22 Define a function named get_sum username ( username) which takes a …
  • I am doing the tutorial of Federated Learning for Image Classification, which is supported by Google Tensorflow(Here is the source code: https://www.tensorflow.org/federated/tutorials/federated_learni…
  • Here is the URL of data: https://raw.githubusercontent.com/franklin-univ-data-science/data/master/olympics.csv Import pandas and load the olympics csv. Please help with the following and show the pyth…
  • I am stuck on my APCS Homework. I tried doing t Lab Goal :¬†¬†¬† This lab was designed to teach parameter passing, value calculation, and output. Lab Description :¬†¬†¬† Calculate the slope of a line …
  • For the bubblesort calculation, express its best-case őė intricacy and depict, for some random contribution of inconsistent size n, one stage that would set off this best-case conduct. Then, at that p…
  • A stack is easily implemented using all but which of the following techniques: a. linked-list based b. list-based c. dictionary-based d. array-based
  • Starting with a single neuron and with single layer of neurons, generate the transfer function of a multiple layer network. Examine the inside of the artificial neural network, devise a transfer funct…
  • . Sometimes Bootstrap may fail and this question provide a simulation study. Suppose our data X; are i.i.d. from X; ~ Unif(0, 0) and we want to estimate 0 from the data. Suppose 0 = 1 is the true va…
  • 6 . Suppose we want to subtract two dates from each other: daysBetween = d1 – d2 What data type is daysBetween? A: date B: integer C: datetime D: timedelta ¬† 7.¬† What is the Linux command to run a P…
  • Hello, I need help with modifying my code. I am¬† restricted to using “WHILE” loop and “conditional statements.” ¬†The question insists on ¬†not using “FOR” loops or list module As can be seen from th…
  • (1 pt) Assume that the random number generator¬†randint(m,n)¬†is¬† uniformly distributed . This means that the probability of generating any number between m and n is the same. Suppose that Alice simu…
  • Hi, I need some guide on my python program. I have a cvs file with 2 column, which is name Category and Sub-Category. When user choose the category, the output will be the sub-category which is under …
  • Write a class named RetailItem that holds data about an item in a retail store. The class should store the following data in attributes: item description, units in inventory, and price. Once you have …
  • Python 3: I need to write a program that prompts the user for a letter and a string. We have to use function count_letter( ) in that program that counts the number of occurrences of the letter in the …
  • This is one assignment containing 3 questions Answer in python please a. Another example of the parentheses matching problem in your book, comes from hypertext markup language (HTML). In HTML, tags ex…
  • Please use python Write a code to Implement Logistic Regression in the following template without¬†Numerical Computation of Gradient. #!/usr/bin/python3 import pandas as pd import numpy as np import m…
  • Evaluate the following statements by using “Sort” but first name the list appropriately [New York, London, Paris, Rome, Flushing, Beijing, Tokyo] ¬† Q2. Given the list of words [‘Come on,’, ‘we ar…
  • Code Review Request:¬† 1. View the questions provided in the link below https://docs.google.com/document/d/1iQiMc3rX-vzhK8M-ux_YbAyltdkwLcb_uEhPJX47uXw/edit?usp=sharing 2. Review my code below¬† 3. Is…
  • see attached for more details: Greatly appreciate your help. 3.4.0 or 3.4.3 python version. Compute the value of e. e is the base of the Natural Logarithms. The first few digits of e are: 2.7182818284…
  • Whats the coding for these parts? (for the whole project en general) c} read_category_Ô¨Āle(fp) reads the file object containing the citation data from over 200 categories. We are only interested in t…
  • Assignment Instructions Complete cells as instructed, replacing any ??? with the appropriate code Execute Jupyter¬† Kernel¬† >¬† Restart & Run All¬† and ensure that all code blocks run without …
  • Please help, Thanks a lot Question 3. Study the example below carefully and write a program that works exactly like the example. The text in bold indicates the user input. How many numbers are in the …
  • Hello can you fix my code # Create a Python function that will return the Body Mass Index (BMI) of # a person. Run the function and display the BMI on the screen. # BMI is calculated as weight (kg) di…
  • . Part 1 – This functions build the title-actors dictionary. The keys are movie titles, and the values are the cast lists of each movie. """ def make title_dict () : titleActorDict = …
  • Write program using a function, convertSeconds(seconds), that takes in a number of seconds and returns a string to display that value in minutes and seconds. Example convertSeconds(61) returns “1m 1s”…
  • I’m stuck on a lab and need help¬† ¬† import random seedVal = int(input(“What seed should be used? “)) random.seed(seedVal) while True: ¬† ¬†lower = int(input(“Lower Bound: “)) ¬† ¬†upper = int(input(…
  • I need help fixing errors with my python code. I included the google drive links with the starter code with the csv files. It’s not passing all the tests and not creating the final csv file.
  • Use your previous working Raptor flowchart as a starting point (Project 3).another module (Raptor subchart or tab) that determines whether the customer should receive a discount. Assume your food truc…
  • What is wrong with following code? Thanks! ¬† ¬† ¬† ¬† main.py ¬† from Name import Name def main(): ¬† ¬† lstNames = Name.getNames() ¬† ¬† for n in lstNames: ¬† ¬† ¬† ¬† print(n.get_name(), n.get_gend…
  • faces = ‘ooh-la-la’ aList = [ ‘oo’ , ‘-‘ , ‘la’ ] in Count = 0 for i in range(len(faces)-1): if faces[i] + faces[i+1] in aList: in Count += 1 print ( in Count) a) 1 b) 2 c) 3 d) 4 e) none of the above…
  • Show the DF columns. 17. Change all the column names to [‘id’, ‘range’, ‘value’, ‘machine type’, ‘zip code’, ‘brand’, ‘total’] and display the new column names. 18. Replace all the spaces in the c…
  • Use Python VS Code ¬† The final result should look something like: ¬† ¬† ¬† ¬† Follow the steps below. Each copy should run in its own right. The last iteration should produce output similar to the im…
  • The code below should output all pairs of numbers¬†(i,j)¬†such that¬†i > j. However as it is currently implemented all pairs of numbers are output. Fix the code so that # Print out all pairs of num…
  • . CHALLENGE ACTIVITY 8.6.1: Using enumerate in for loops. 376428.2357430.qx3zqy7 V Jump to level 1 1 Type the program’s output 2 numbers = [-1, -3, 2, -9, -2, 9] for (position, number) in enumerate …
  • Devise a Python script that takes two parameters to do the following:- 1)¬†¬†List all files names, size, date created¬†in the given folder 2)¬†¬†Parameter1 = Root Folder name Parameter2= File size¬†&g…
  • https://drive.google.com/file/d/17QIBaPGzeKu4LZyBoV_4RyE03JWXDbfO/view?usp=sharing Write a Python module, solver.py, to find the roots of functions of one variable. Add a few more methods to this modu…
  • Problem 3: (10 points) A mutual fund’s annual return spreads equally likely from -15% to 25%. If the fund manager starts the trading position at $200,000,¬† X~U(-15,25) Compute the expected fund value…
  • For this assignment you will design and implement a simple board game, and then animate a random playthrough of that game by two computer-controlled opponents. This will allow you the opportunity to w…
  • Most programming languages provide loop statements that help users iteratively process code. In Python you can write loops that handle many situations. What is the intuition behind using a loop statem…
  • Scenario: As a Python developer, you are hired by an educational organization to develop a self-service student registration program using Python 3.x. This system shall include the following options: …
  • script that contains the following: (a) A function square(x) that returns the square of x: def square(x): return x**2 (b) A function print_square(x) that prints the square of x. def square(x): print(x…
  • List a function named that accepts 3 parameters: host, username, and ram. The function should have a 8-digit asset tag composed of the first 2 letters of the hostname, first 2 letters of the username,…
  • What is the best way to do multivariate imputation using python?
  • Can someone translate this VBA Excel code to Python? This line of python code was given for the RandomNumber: #import random library import random #get randomnumber between 1 and 50 randomNumber = ran…
  • Choose the most appropriate R pseudocode for the following scenario: You have a data set of people who are trying a new diet. One column contains the amount of weight each person has lost, and another…
  • . 1. Consider the following dict, which provides a mapping of commonly misspelled words to their correct spelling. respellings = { "teh": "the", "relevent": "relev…
    • [Marks 60%] Use the Auto MPG dataset auto-mpg . data, available at https://archive. ics.uci. edu/ml/datasets/Auto+MPG a) [Marks: 0%] Drop the car name attribute. b) [Marks: 0%] Split the data into …
  • Assume that you read in a CSV file named “albums.csv” using pandas that contains three columns (artist_name, album_name, and year, which shows when the album was released). Assume that you group the d…
  • I an having an issue with this problem. Could you please help me with the code? < > learn.zybooks.com C + B General Questions – IT-140-X3244 Introduction to Scri.. B Online Student Services – IT…
  • import time import pandas as pd import numpy as np # lists of data used at variouse stages CITY_DATA = { ‘chicago’: ‘chicago.csv’, ‘new york’: ‘new_york_city.csv’, ‘washington’: ‘washington.csv’ } CIT…
  • How to solve this problem in python? ¬†. Nearest smaller element def nearest_smaller(items}: Given a list of integer items, create an return a new list of equal length so that each element has been re…
  • Given a Covid-19 data CSV file with 12 feature columns, perform the tasks given below. Use the sample file¬† covidTrain.csv ¬†¬†Download covidTrain.csv¬†to test your code. ]¬†In the age column, wherev…
  • Please help with the circled exercise, I uploaded the source material from the previous page as well. Thank you for all your help! We use Python for the simulations in this class.. CHAPTER 6. CONTINUO…
  • Can I get the True and False ASAP no explanation needed plz. You are given the following function specification, but we are not disclosing the implementation: def func (1: list[ int ], d: dict[int, st…
  • Need some simple python homework help¬† Need some simple python homework help
  • key e = 3, a phrase about something that you found interesting or relevant in this course. Include only letters and spaces in your phrase. Represent the letters A through Z by using the numbers 01 thr…
  • Question 1 | Train a decision tree for a regression problem In this question you will try to learn a decision tree from data. You will be using the dataset provided below. You should use one of the de…
  • x1 x2 cls -2.42724 1.965984 1 2.382605 2.256614 0 -2.68067 2.379979 1 -2.62028 2.913823 0 1.513792 -2.31265 0 2.460894 -2.29529 1 0.921995 -2.68511 0 -0.50538 -2.30142 0 -0.27991 -0.52087 0 -1.74237 2…
  • Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate variables. Then, output those four values on a single line separated by a space. …
  • Need assistance with python code. Problem statement: ¬† Design the solution to the following problem and implement it in a Python program. Implement a program that allows the user to choose from a men…
  • I can not get my “remove member” function to work, not sure what I need to do remove the member from the list. def displaymenu(): ¬†¬†print(“=====Main Menu=====”) ¬†¬†print(“1. Display Team Roster”) ?…
  • Write a for loop that displays the following numbers exactly like this (you must use a loop):¬† ¬† 3 7 11 15 19
  • We will be calling a function, passing two arguments and returning the single value of total cleaning cost. This means that our function will only be performing the calculations of our final cost. It …
  • Please help in this python question! ¬† ¬† Carefully go over the merge sort implementation provided below. Some empirical analysis on merge sort (i.e. performance test over varying sizes of lists) is …
  • # I need to write the function contains PythagoreanTriple(a) that takes a list of # positive integers and returns True if there are 3 values (a,b,c) anywhere # in the list such that (a,b,c) form a Pyt…
  • Question 4: New Players The choose method in the Player class is boring, because it always returns the speech method. Let’s implement two new classes that inherit from Player, but have more interestin…
  • 3 Guided Practice: Testing Performance ¬† Guided Practice: Testing Performance Outcome You will learn how to test the efficiency of different types of code. Resources Needed XenDesktop Python versio…
  • Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. Assume that there will only be one solution Examp…
  • Create a Python program that will compute the car rental prices.¬† The program takes the input of days, selection of VIP membership, and optional additions. The program calculates and displays the ren…
  • Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: How to format each dictiona…
  • Write function in this file called¬†nine_lines¬†that uses the function¬†three_lines¬†(provided below) to print a total of nine lines. Now add a function named¬†clear_screen¬†that uses a combination of…
  • Python Programming_—– I need help with an assignment which is to implement a Dictionary Attack with and without Password Salt program in Python.The steps are as follows: 1. Accept a user password o…
  • This is my code so far, I need help: 1 . Create the function¬† is_vowel . It must use an¬†if¬†statement(s) def is_vowel (v) : # v is a letter # return True if v is a vowel Notes: solve the problem usi…
  • Python 3 questions D Question 1 4 pts Given a file, "browsers.txt" that looks like firefox chrome brave edge safari internet explorer opera What would be the expected output of the following…
  • To make an iterative loop for : f(n) = n when n<3 f(n) = f(n-1) + 2*f(n-2) + 3*f(n-3) when n>= 3 template: def f(n) # insert code here pass
  • Complete the function definition to return the hours given minutes. Sample output with input: 210.0 ¬† Output: 3.5 ¬† def get_minutes_as_hours(orig_minutes): ¬† ¬†”’ Your solution goes here ”’ minut…
    • Modify the checkAnswer method of the Question class so that it does not take into account different spaces or upper/lowercase characters . For example , the response " GUIDOVan Rossum " …
  • Use ssCount function to make wCount function. wCount(w,G) returns the number of different ways in which the string w can be found horizontally or vertically, forwards or backwards in the second input,…
  • ***Using python programming *** write a program which simulates a few methods of managing critical sections between several processes. with mutual exclusion when dealing with critical regions. Use any…
  • Write python program that will read the data file created above and create n inventory report. Save the report into another file and called it inventory.txt. The report should consist of the part numb…
  • When i try running the code: IndexError: list index out of range ¬† Customer.py ¬† import pandas as pd class Customer: ¬† ¬† cust_num = 0 ¬† ¬† fName = “” ¬† ¬†¬† lName = “” ¬† ¬†¬† company = “” ¬† ¬†…
  • The Payroll Department keeps a list of employee information for each pay period in a text file. The format of each line of the file is the following:¬†<last name> <hours worked> <hourly…
  • Loading and saving pixels At the top of ps7pr3.py, we’ve included import statements for the following two functions from the hmcpng module, which was developed at Harvey Mudd College: load_pixels(file…
  • Python function ‘australian_tennis(d)’ which reads a dictionary of the following form and identifies the player with the highest total score. The function should return a pair (playername, topscore), …
  • Please use Python 3.9 to generate a code. Please look carefully at the assignment specifications and programing notes below. I attached three kinds of codes in the end. I would be glad if you can try …
  • Come up with a program that estimates the average number of drawings it takes before the user’s numbers are picked in a lottery that consists of correctly picking six different numbers that are betwee…
  • Create Python program for modules The module will have 3 def functions method Method #1 ¬†– a method that receives a string and returns the length of this string 1.¬†¬†¬†¬† 1.¬†¬†¬†¬†ex: if you pass “…
  • Write the Python program to find the first appearance of the substring ‘not’ and ‘poor’ from the given string, if ‘not’ follows the ‘poor’, replace the whole ‘not’…’ poor’ substring with ‘good’.Retu…
  • Scope school is conducting Internship review for students, coordinator is going to allocate one faculty for each panel. Say N faculty, M students are there, M/N students are going to be there in each …
  • Problem Definition: Suppose we have two users, User P and User Q, and they have rated 7 different cell phone brands on a scale of 1 to 10. Item Ratings of User P Ratings of User Q 7 1 4 – 4 6 3 Apple …
  • design a fuzzy logic control synthesis for an airplane antilock breaking system in python?
  • Hello I am having a hard time understanding the assignment Enhance the prior assignment by¬†doing the following 1) Add menu items to write to a file and to read from a file 2) demonstrate a wrfile() ?…
  • I tried making a code up for this assignment and couldnt figure anything out. Wondering if u can help. U can erase the code i came up with if needed.¬† ¬† ¬† https://drive.google.com/file/d/1zR4XgYua2…
  • Asks the user to enter a series of 6 numbers. The program should store the numbers in a list. Give the list created a descriptive name¬† Display the following:¬† The lowest number in the list The high…
  • I’m learning SQLite and am stuck trying to figure out how to write code for the following. Given a SQLite database “orders.db” containing a table named “ProductOrders”, make a python program to co…
  • Python Programming Can someone please help me with this assignment? I want to learn from the code. User types The banking system has two types of user. customer and admin. Account types There are two …
  • . Write a python script called vmarchiver.py that will create a complete backup of a single VM the user specifies. The specific details of how it works are below: When this script is run, it will pres…
  • Conduct stock analysis for apple in python only intraday vs volume,timeseries, high and low,plots,scatter plots. please share jyupter notebook code only
  • DATA SCIENCE: Machine Learning TEAM PROJECT¬† This programming assignment contains 2 independent parts,¬† creatively called Part A and Part B ÔĀä)¬† PART A (telco churn analysis): (10 points)¬† For th…
  • Part 1: Delivery of Python Console with complete functionality for menu options 1, 2 and 6 Part 2: Delivery of Python Console with complete functionality for menu options 1, 2, 3, 4, 5, and 6 PURPOSE …
  • PYTHON Write a program that asks a user for a number of grades (any negative value to stop). ¬†‚ÄĘStore each grade in a list called grades. ‚ÄĘWhen the user indicates they are finished, display all of…
  • Problem 7 (20 points): Tax filing (Use text file TaxData from accompanying zip file Homework2TextFiles.zip) Shippensburg’s Tax King needs to develop an application that calculates income tax payment f…
  • How do I calculate the partial derivative for log likelihood with respect to ŌÉ2 in Python?
  • Write code that divides each value in the list dividend by each value in the list divisor . To do this, you will need a nested loop. The outer loop uses a for . The inner loop uses while . You also ne…
  • Read student marks and print them out Specifically read the following info for each student from the keyboard; o ¬† ¬†sid, o ¬† ¬†lname, o ¬† ¬†fname, o ¬† ¬†lab, o ¬† ¬†assignments, o ¬† ¬†midterm, o…
  • please use phyton and has to work on coderunner ASAP ¬†. okmarks Develop Window Help EX 50% coderunner.auckland.ac.nz A Test (30%) (page 11 of 14) Define a function named guess_character () which prom…
    • Course information Write program that creates a dictionary containing course numbers and the room numbers of the rooms where the courses meet. The dictionary should have the following key-value pai…
  • words = list(map(lambda x:x.replace(“\n”,””),f.readlines())) ¬† ¬†word_count = len(list(filter(lambda word:word==string,words))) if __name__==”__main__”: can you explain these commands in this code on…
  • from list_linked import List class Sorts: @staticmethod def merge_sort(a): “”” ——————————————————- Sorts a linked list using the Merge Sort algorithm. Use: merge_so…
  • Done Welcome Preeti Singhal from Using Python to Access Web Data Scraping Numbers from HTML using BeautifulSoup ¬†In this assignment you will write a Python program similar to¬†http://www.py4e.com/cod…
  • I cannot understand 5.1, please help me and type this code for me…. (COMP1021)12 X _ HKUST – myPo X HKUST Canvas X Microsoft Wor X COMP1021 La X *amaziograph.py – C:WUsersW82109WDesktopWamaziograph….
  • Attached is my current code in python. Need help implementing a main function and functions for a ,b,c,d as well as loop the code so it constantly runs until you quit ¬† playeronecount = 0 playertwoco…
  • . Project Description Fill out the form below and provide adequate detail for another person to understand the premise/concept for your course project. Narrative must be professional in nature, prop…
  • Draw the trees for this code and explain the code Depth Limited search from collections import deque class Graph: ¬†¬†¬† def __init__(self, directed=True): ¬†¬†¬†¬†¬†¬†¬† self.edges = {} ¬†¬†¬†¬†¬†¬†?…
  • # 1 def any_lowercase1(s): for c in s: if c.islower(): return True else: return False # 2 def any_lowercase2(s): for c in s: if ‘c’.islower(): return ‘True’ else: return ‘False’ # 3 def any_lowercase3…
  • Use python or google colab to do the following. Need the code and maybe screenshots of the images here. The MNIST dataset can be found and downloaded from: ¬† ¬† ¬† ¬† ¬†http://yann.lecun.com/exdb/mni…
  • . Job Department Organization Group Total Compensation IS Trainer-Journey Adult Probation Public Protection 131391 IS Engineer-Assistant Adult Probation Public Protection 172520 IS Business Analyst-…
  • Consider a country where people paid tax last year. The most important tax, called the Personal Income Tax (PIT for short) had to be paid once a year, and was evaluated using the following rule: 1. if…
  • Describe how you would create Python program that calculates the exact amount of change to give a customer in denominations of quarters, dimes, nickels, and pennies. For example, if the change is 79 c…
  • Details of tail: The tail generator function (a decorator for iterables) takes one or more arguments: all will be iterable. When called, it returns an iterable result that produces some of the values …
  • The company wants to provide a promotional offer in the advertisement of the restaurants. The condition to get the offer is that the restaurants must have a rating count of more than 50 and the averag…
  • considering all the different aspects of programming in Python that you’ve learned. How can Python be applied to solve real-world problems? You may need to do a little research to find some interestin…
  • PYTHON PROBLEM Problem #2 Even Words: An even word is a word that contains an even number of copies of every letter. For example, the word “tattletale” is an even word, since there are four copies of …
  • n= int(input(“Please enter a number from 5 to 15: “)) print(n) m= int(input(“Please enter a number from 5 to 15 (again): “)) print(m) for c in range (n): ¬†¬†for e in r..6@runweb6:~$¬†¬†[¬†Executing¬†…
  • def sort_pixels (img: Image) -> Image: “”” Given an Image, img, sort (in non-descending order) each row of pixels by the average of their RGB values. Return the updated img. Tip: When testing this …
  • How would you code these instructions. Obviously the data set is not attached – but what general concepts would you use. *¬†In¬†this¬†challenge,¬†you¬†are¬†tasked¬†with¬†creating¬†a¬†Python¬†script¬†f…
  • Solve this issue especially number 2 using python . I got the first question but it will be a plus to see someone else solve it to check with my answer USING PYTHON Exercise 1: Dice probability distri…
  • Load the data in the xlsx file into a data frame. ¬†¬†¬†¬†¬†¬†¬†The data for the exercise can be found here: https://drive.google.com/file/d/1bf2nR0k-t_XJY8WsqxX7Rj0mlTMGohqy/view?usp=sharin…
  • If a categorical variable has entirely unique values/levels, why will it not be useful for predictive purposes? (Don’t need to reference anything technical or formal to answer this.)
  • File = Bankdata.csv URL : https://docs.google.com/spreadsheets/d/1Qn4pdGrhzLjoXy1F871BalEz57rqdsB8OvLd4AbhCbA/edit#gid=1783727779 ¬†Data Preprocessing Q. Explore the dataset to identify the features a…
  • Please provide me with the correct code with clear format. Ô¨ā learnzybookscom 2.14. LAB: Warm up: Creating passwords E zyBooks My libraw > |T140: Introduction to Scripting v3 home > 2.14: LAB: …
  • This is for Python 3. I am trying to get a way to code this. Every time I try to get a code to work it says no output.¬† ¬† Given three floating-point numbers x, y, and z, output x to the power …
  • This challenge requires us to use a regex_search_challange_student.py file to write what is under #1, then use the string to seach for a regular expression like regular expression or any of the other …
  • A bank in your town updates its customers’ accounts at the end of each month. The bank offers two types of accounts: savings and checking. Every customer must maintain a minimum balance. If a custom…
  • Python programmimg. Please help with this question. A projectile is an object moving only under the force of gravity. In modeling the motion of a projectile we assume no air resistance. In this case, …
  • OOP Homework 3 ¬† On page 1 provides general guidelines for the whole assignment. Each question contains its own guidelines on how the code needs to be implemented and hints on what we can or cannot u…
  • “”” Please help me with this revised Python program. SetInheritance. Rewrite that class so it inherits from class LinkedBag.¬† This new version of class LinkedSet should have only two methods: __init_…
  • IT question: ¬† ¬†. Question 1 The Fibonacci sequence is a series of integers in which the next number is found by adding up the 4 Points two numbers before it {except the Ô¨Ārst two, which are CI and…
  • Lab Description This lab exercise is to practice file serialization and deserialization, as well as more fun with string manipulation! :)The first line of input will give if your program is a reader o…
  • Basic features ¬† Develop a grade managemennt system in Python. Follow the 4 steps below. ¬†Create a dictionary (e.g., mydict) to record the grade of 3 students (in the given order): Chad: 59; Musk: 1…
  • How to Export employees’ information into a text file
  • How can I design a flowchart in Raptor that simulates a slot machine game?¬†When the program starts,¬†it¬†should greet user and then start the game. 1.¬†¬†¬†¬†¬†¬†For each game ask the user for a bet …
  • Create a program called numstat.py that reads a series of integer numbers from a file and determines and displays the name of file, sum of numbers, count of numbers, average of numbers, maximum value,…
  • Start with the following Python code.¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬† test_dups = [“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subdermatogl…
  • Add new features to this simple banking program.¬† program to display the menu with the following options and ask for the user input. Type P to populate accounts Type S to search for account. Type D t…
  • Use a search cursor with SQL: for each neighbourhood in the¬†OTTAWA.gdb\DATA\Neighborhoods feature class, to print a single number representing the total block population from the field BLKPOP2011 for…
  • Hello I need to create a program that demonstrates the use of user-defined modules by invoking functions from imported modules. The program will accept a distance value and unit of length (miles or ki…
  • I need help with python script with loop condition using if, then, else: If the test fails, the script will rerun the failed test case. The python script will check using below command: If it sees the…
  • In python I need help with the bfs( self, v_start: str, v_end=None) -> []: dfs( self, v_start: str, v_end=None) -> []: This method performs a depth-first search (DFS) in the graph and returns a …
  • Help with completing this lab assignment! I’ve completed all assignments before but I’m stuck on where to start and end. And it’s due in one day!
  • Hi can you explain to me what would be the code for these class in python OOP ¬†. Consumer class: This class will represent following consumer information. Both the field variables must be private mem…
  • Please write out Errors: Syntax, Name,Type,Semantic. 3. List the errors in each of the following programs. The programs each are intended to print The area is 75 (on one line or two). Don’t bother fix…
  • Compulsory Task 1 In this task, we’re going to be demonstrating your understanding of inheritance. Make a copy of the task1_instructions.py file named compulsory_task1.py and follow the instructions. …
  • I keep getting a syntax error on this part of the code, and I’m not sure why: ¬†Check if the length of password is within the min and max values¬† if len(password) > min_length and len(password) &l…
  • Please assst on this ICT 162 questions. Question 1 (20 marks) Golf is a sport in which players hit balls into a series of holes on a course in as few strokes as possible. See https://en.wikipedia.org/…
  • When running this code on Linux i’m constantly getting the following syntax error ” Traceback (most recent call last): File “mymapper.py”, line 20, in if(word.isnumeric()): AttributeError: ‘str’ objec…
  • . Run Kernel Settings C – Code Interface Python 3 (ipykerne Question 3.5. Define a function called e ument 1. a table tbl like spreads (with the same column ly the same data) 2. the slope of a li…
  • How do I do this?¬†. 1. list reverse [15] Write a function called list_reverse which takes as input a list and returns the reverse of the list without changing the original list. The function should u…
  • You have been retained by Widget Sales Company (for more information, see Widget Sales Company Project Overview [DOCX] ), an international company with offices in 25 countries, to develop a website th…
  • I need help with these instructions Write a Python function that will accept as input three string values from a user. The method will return to the user a concatenation of the string values in revers…
  • *Python *use link below for Google colab for the dataset¬† https://colab.research.google.com/drive/18zDjQ3qqYJ8Ytk0jJ1PIV80Sou3ZpiU_?usp=sharing ¬† 1) Load the dataset and display a scatter plot with …
  • Suppose the management claims that the proportion of games that your team wins when scoring 80 or more points is 0.50. Test this claim using a 5% level of significance. Make the following edits to the…
  • Lab 3B You will be given a file containing a list of students in the following format: the first line will be an integer Each line after that will be a name in the form of <First Name> space &lt…
  • To call a function with named arguments, you code the a. name of each argument, an equals sign, and the value or variable that’s being passed b. values that you’re passing in the same sequence that th…
  • Create a FLOWCHART and a PSEUDOCODE for each problem. Use the information below to create a pseudocode (which can be a text-based description for solving the problems) and a flowchart (using flowchart…
  • Assignment #3 Make an ¬†Object-Oriented-ALARM CLOCK with CALENDAR DATE ¬†based¬† Scheduled Alarms and recurring Simple Alarms. And which ask the user to set the alarm time with date.
  • [Bb Week 4 – Object-Oriented Comp X Zy Section 4.5 – CIS261: Python Proc X X < – C @ learn.zybooks.com/zybook/Strayer_-_CIS261Winter2022/chapter/4/section/5?content_resource_id=27309573 = zyBooks M…
  • # 6. Write a function to calculate the weighted average score for a student # a. Define a function called get_weighted_average() that takes one argument: student (see the dictionaries we created above…
  • Can you help me to do¬†homework? Please help me. Homework 3 in Python¬†3.8 IDLE Your program will manage a set of customers and a set of books. Customers will rate individual books and the program wil…
  • URL: https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=iphone+6s&_sacat=0 Use the URL identified above and write code that loads eBay’s search result page for “iph…
  • A python program that writes to a file MyPythonNotes. Prompt the user for ten interesting facts about Python. Each fact must be appended to the file. Display a message to the user “thank you, we have …
  • txt below jake 100 bill 80 zack 75 collin 83 beth 97 mary 80 matthew 79 noah 89 luke 92 gavin 79 jacobe 82 jayson 95
  • Python Assume that a file containing the names of our class(as strings) is named names.txt and exists on the computer’s disk.¬†Here are the content of the names.txt file: ¬†¬†¬†Anderson,Mathew Wayne ?…
  • plz add comments so i can follow … plz do it easy way ..thnx (20%) Write a Python program, using’a user-defined function, that calculates the number of prime numbers under but not equal to a given…
  • you will need the sale.csv data set posted below. your solution must take a single sales variable as the input and transform through a series of map(), filter(), sorted(), and/or reduce() transformati…
  • Question 6 1 Point Type in the command you would use in the command prompt to go print out the list of all files and folders located at the current folder. Use the editor to format your answer Questio…
  • Discuss why you would use a for loop versus a while loop.
  • I am not able to upload it as csv files on coursehero while posting the question, it only allows png, that’s why I had to post the same information as png in the uploaded images above. Please, kindly …
  • . 13. [MS] For a support vector machine, removing the data points that are not support vectors has influence on the decision hyperplane equation. A. True B. False
  • TITUS You are allowed to use Wing 101 for this question. Page 4 of 9 following criteria: A company decided to give a bonus on their salary to the employees according to the Years of Service Bonus More…
  • import unittest def¬†find_second(target:¬†str,¬†string:¬†str)->¬†int: ¬†¬†¬†¬†index¬†=¬†-1 ¬†¬†¬†¬†for¬†i¬†in¬†range(len(string)¬†–¬†1,¬†-1,¬†-1): ¬†¬†¬†¬†¬†¬†¬†¬†index¬†=¬†string.find(target,¬†i) …
  • Hi can you write a simple program with main() about 10-15 lines and make it simple as much as you can. You can make it about food , this will be perfect. Thanks The language is python
  • use python 2.7 to write sin functions that runs sin.py as shown below. Sine Function: Implement the function sin() in sin.py that calculates the sine of the argument x in radians, using the formula: s…
  • I’m trying to figure out how I can make a Clustered Heatmap chart using pandas, matplotlib, and seaborn to visually show the:¬† Year across the x-axis (top or bottom),¬† letter (y-axis), the data roun…
  • Can you please complete the missing code?Finding valid edges. Problem 2 : Write a function¬†valid edges¬†that takes a Graph
  • # Step 1 Complete the following definition. # The helper 10RL should be recursive, and use the accumulator technique. ######## LO = 1110001111001010′ # runBits will be 2 1 = ‘1’ # runBits will be 1 L…
  • Perform the following implementation tasks in Python. (a) Implement the extended GCD algorithm and print the code here. (b) Implement a function which takes two positive integers a, n as inputs, and r…
  • Okay, I have a bit of a tough one that I cannot get to work for me, the question is: Your program will analyze characters in a text file.¬† The text file should have a variety of names, phone numbers,…
  • Mad Libs are activities that have a person provide various words, which are then used to complete short story in unexpected (and hopefully funny) ways. Write program that takes a string and integer as…
  • PYTHON ONLY PLZ Define a class called Student which stores information about a student’s first name, surname, and the courses enrolled by the student. The Student class defines the following data fiel…
  • “”” QUESTION 1 Write a function that returns a ‘fence’ string given a ‘fence’ character and the length of the fence. For example, fence(‘+’, 3) returns -> “+-+-+” where ‘+’ is repeated 3 times and …
  • Function : danube (s) Write a Python function named danube. The function takes as input a non-empty string s containing only upper case letters: ‘A’, ‘B’, ‘C’, ‘F’. Your function will only be tested w…
  • This question tests your understanding of Block¬†3 Part¬†2 ¬†and, more generally, the problem-solving and Python programming skills that are covered by the module. The question is concerned with an ex…
  • ################################################ #Higher-Order Generators and CoRoutines # ############################################### #RQ1 def merge (s0, s1) : “””Yield the elements of strictly i…
    • Write a¬† Python, C, C#, Ruby, C++or Javascript program to get all possible two digit letter combinations from a digit (1 to 9) string. string_maps = { “1”: “abc”, “2”: “def”, “3”: “ghi”, “4”: “jkl…
  • in python Write program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters “Quit”, “quit”, or “q” for the line of text.¬†…
  • Case Study III Domain – Telecom focus – Optimization Business challenge/requirement LifeTel Telecom is the latest entrant in the highly competitive Telecom market of Singapore. It issues SIM to the ve…
  • https://www.coursehero.com/tutors-problems/Python-Programming/25101031-Use-python-to-develop-A-working-tic-tac-toe-simulation-A-minimal-inter/
  • Final Project: Instructions: For the final assignment you will create a python program to find out if a family needs to pay taxes on their yearly income including property, federal and health. You wil…
  • Python Basics 2 – [Random function] Objectives 1. Understand how to read and code Python programming language. (LO2b, LO3a) 2. Identify contemporary issues in financial reporting and data analytics. (…
  • How can I calculate the weight for all of the pets in the file? I have defined the weight functions within my classes. I am now having problems figuring out how to use the class method to calculate th…
  • oks My library > IT 140: Introduction to Scripting v3 home > 5.1: Function basics CHALLENGE ACTIVITY 5.1.2: Basic function call. Define print_shape() to print the below shape. Example output: 24…
  • Does this piece of code work? If No, explain how would you fix it? age = input("How old are you? ") remaining_age = 150 – age print(f"In {remaining_age} you will be 150")
  • Could I get help on my homework? It is due today. Thanks! ITP 115 – Programming in Python p. 1 of 5 Assignment 3 – Pig Elvish and Largest Number Goals ‚ÄĘ ‚ÄĘ ‚ÄĘ For loops While loops String proc…
  • can you help me with a sample program that Uses exception handling – try and except to catch and handle exceptions. Value, data Type, Zero Division, Syntax Error, Runtime Exception and others.¬†thank …
  • ..I’ve tried doing this several times and I’ve had no luck. I have no clue what I am doing wrong in my script and I keep getting a black pop up window that shows nothing. I have to do the following…
  • In this lab, you complete a partially prewritten Python program that uses a list. The program prompts the user to interactively enter eight batting averages, which the program stores in an array. It s…
  • Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– E…
  • this python problem Problem 1 Write a function named initialLetterCount that takes one parameter, wordList ‚ÄĒ a list of words. Create and return a dictionary in which each initial letter of a word in…
  • Write a program that opens file numbers.txt which contains a series of names followed by integers. The program read the data from the file and prints the count of odd numbers, the count of negative nu…
  • A data set has 4 columns–index, CUSTOMER_EMAIL, Net Revenue, and Year. ¬† For each year we need the following information: New Customer Revenue e.g., new customers not present in previous year only L…
  • Riya, who works as a maths tutor in her free time to teach the orphan kids in her NGO, was now teaching Perimeter calculation to the kids. Being a software engineer she always felt lucky as she could …
  • Write a ¬† PYTHON program to input names, hours worked and pay rate for several employees from an input file ( get the file names from the user and make sure hours worked for some employees are greate…
  • Perform the following activities in Python. 1.¬†¬†¬†¬†Load the data in the text file into a data frame. Note that only 16 channel EEG data are extracted from the text file. The text file can be found …
  • Can you check my code and give a correct output.( my python version is version = 3.9.7 please as soon as possible) ¬† client.py import socket ¬†# socket library import sys ¬†# includes exit function i…
  • Working with while loops in python. Task-1 Create a while loop to print out the numbers from one till ten. Use an increment and display the result in the console. Create a For loop to display the …
  • Implement a class Time. A Time object has the instance variables of¬†hour and minute.¬†It also has the methods resetTime (sets the Time to midnight), addMinute (adds a minute to the current time), and…
  • My code isn’t working. This is my version without the addition of instructions yet. I need to define these rules of Chinese BlackJack (I found the rules on Wilkipedia). All hands including the dealer …
  • Complete the following two lines (#……) ¬†for Gauss Jordan elimination and def inverse . I have attached the expected output as well. Initially we created class matrix. Then I created augmented mat…
  • Write a program to read an ASCII string and to convert it to a unicode string encoded by utf-8.
  • Given the following function definition, how do you call this function to calculate the product of 2, 7, 1, 8, 2, 8? How do you call this function to calculate the product of 2.718, 8.721, 1.827, 7…
  • ¬≠ ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†Data Structures ¬† This week’s assignment will focus on using one of the data structures from our readi…
  • Attacking We have set up the website http://freeaeskey.xyz/, which is a website that provides "random" AES- 256 keys for free to anyone who visits. Professor Vuln has decided to use this web…
  • please help¬†. Question 13 (4 points) Write a function with a while loop to display the numbers 1 to 100 and skip 7, 17 and 27. Use the "continue" statement
  • operator module function allow multiple levels of sorting. For example, if key=itemgetter (1,2), it means the sorting will be done in ascending order based on item 1 then item 2 c) remove duplicate s…
  • Complete the print_list function to print out the HTML code for an ordered list of items from any given array.¬† Test case input: [“Cell”,”Home”, “Work”] The expected HTML for an ordered list should r…
  • Write a function that returns a letter grade from a number using the following rules: Score (%) Grade >90 A >80 B >70 C >60 D <=60 F The function should take a score and an optional val…
  • (+5} Using the two primes 11 and 19, one possible encryption key is and decryption keys are 13 and 9? since {13*9?}-1 = ?*18I’J [=p‚ÄĒ1*q-1} which of the following would be another suitable enc…
  • Step 2: Assigning data points to closest centroids Implement the following function in kmeans.py: def assign_data(data point, centroids):
  • Write a script that inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher. The script should work for any printable characters. An example of the progr…
  • Rewrite the below program and flowchart by implementing functions. Create three functions shown below. # Ask user’s full name, greet the user, and explain to the user what the program is all about. Gr…
  • Project: Machine Learning Mine Versus Rock You are the sonar operator on the SeaView Naval submarine. The path of your next mission will take you through an old mine field that has never been cleared….
  • I need help with this program named¬† program71.py ¬†as follows. Follow instructions carefully to avoid point deductions. In the¬† main function : make an empty list¬†named¬† nums. use a loop to add 1…
  • Exercise – please revise the code according to instructions and create a flowchart Expand code by revising the table you created and giving a better explanation of its goals. Are there any other data …
  • how can I finish this program using only fundamental skills?(question from an elementary course) thanks! 1. You are required to write a program for the userto input 5 numbers [one number per line]. Ig…
  • Please help me with this problem within 2 hours I have exam I need to practice asap. Question: Write a python program that will take a string consisting of separate words¬† through user input. Create …
  • CST 111 ¬† IT/Python: Web Forms & UI The hyperlink does not seem to work
  • . Google Duo – Free High-Quality X Google Duo x Discussion X zy Section 2.3 – CYB 130T: Object-O X Course Hero X + V X – -> C a learn.zybooks.com/zybook/CYB_130T_55317551/chapter/2/section/3 =zyB…
  • py: import¬†random SIZE¬†=¬†4 ”’¬†Creates¬†a¬†2D-list¬†board¬†of¬†SIZE¬†x¬†SIZE. With¬†probability¬†~33%¬†each¬†cell¬†of¬†board¬† stores¬†a¬†symbol¬†from¬†the¬†set¬†($,¬†#,¬†*). Finally¬†retur…
  • Repeat #12, but now compute standard deviation. For this, you must first compute the group average. This part is the same as #12. Then you have to subtract the average from each number, and square…
  • dont copy # This program exercises arrays and linked lists of nodes.# Replace any “<your code>” comments with your own code statement(s)# to accomplish the specified task.# Do not change any oth…
  • I am looking for a tutor to explain this to me I am having lots of trouble. G Codio – Lists Homework Help – Q&A fror 0 https://codio.com/cshelton/lists:5bbd0c99bcbdde23055fcf99:WbrDENOPAzPj/tree/c…
  • The Common Neighbor Soundarajan-Hopcroft score of node C and node D is 2. The Common Neighbor Soundarajan-Hopcroft score of node A and node G is 4. The Resource Allocation Soundarajan-Hopcroft score o…
  • Please implement equals1 and equals2. # Part 3- class Point2(object) :- 1IIIII A class to represent a point in 20 space Attribute x: the x-coordinate Invariant: x is a float Attribute y: the x-coordin…
  • The cloud computing company CloudO can accommodate various requirements for resources. The company system runs two servers. For load balancing purposes, the load of the resources gets transferred to t…
  • Partitioning the Data The data has categorical predictors as well as numerical predictors. We have to treat each type separately to get meaningful predictions from our model. As such, we need to parti…
  • Can someone explain to me what does each line of this code do? and if there are ways to optimise it, thanks! def selection (products, conditions ) : finalList = list( ) for product in products: addToL…
  • If every edge has length 1, what is the running time of Dijkstra’s algorithm?
  • Write Body and System classes so that the earthmoon driver works. ¬† #earthmoon driver for gravity simulator from cs1lib import * from system import System from body import Body WINDOW_WIDTH = 400 WIN…
  • def more_upper_than_lower(message: str) -> bool: ¬† ¬†“””Return True if and only if message contains more uppercase letters than ¬† ¬†lowercase letters. ¬† ¬†>>> more_upper_than_lower(‘I L…
  • Select two distinct primes larger than 100. Call them p q. (do not ask the user; do a web search for primes > 100 and select two ) 2. Let n = p*q let thetan = (p-1)*(q-1) print n, p q and theta…
    • Assign the new observation ūĚĎ•ūĚĎõūĚĎíūĚϧ = 55 to a class.
  • def exercise03(a): # The function exercise03() receives an ndarray of integers. Return the sum of those integers using NumPy.
  • Each person shares at least one initial with one of their zodiac sign
  • Sales and Collection Cycle Reorders 1. For repeat orders from customers, sales staff prepare a pre-numbered multi- copy sales order when the purchase order is received from a customer. The sales order…
  • You should read the data from “yellow_tripdata_small_2016-01.csv”. the file link is provided at the end. remove any data that is outside the NYC bounding box NYC bounding box: westlimit=-74.2635; sout…
  • write a python program that ¬† 1. asks the user for a positive number of names to enter 2. asks the user to enter that many names 3. print a count of the number of names with at least 4 characters
  • Write Python expression that evaluates to¬†True¬†if and only if the person¬†i¬†has a greater BMI than the person¬†j. 2 The Body Mass Index (BMI) of a person is defined as their weight (in kg) divided …
  • . 1) Write code using python that does the simplex method tableau solving and prints out the tables for a 2‚ÄĒdimensional problem. Try it using the example below. Maximize 3361 + x2 Subject to 21:1 …
  • Word count (30 points) Use Python programming to count all unique words for all files in a given directory. The output must be words and their corresponding frequency. Note: To get all files under…
  • Use Python Algorithms ¬† Q1. Suppose deg is an angle in degrees.¬† Write down the NumPy code that computes the counterclockwise rotation matrix.¬† Don’t forget to convert the angles into radians when …
  • Respond to code by showing how to correct any omissions or mistakes. (PYTHON) ¬† The proposal is: A gym has a list of business hours and max capacity of members, and a function to determine whether or…
  • You are given a list with many words. Pull out all the words which has a ‘cat’ substring in them and insert into the list ‘cat_words’ my_list = [‘catapult’, ‘california’, ‘caterpiller’, ‘amazingcat’, …
  • Practice: Write a function passwordCheck() that takes as input two strings newpassword and oldpassword, and that accepts the new password (i.e., returnsTrue) if newpassword is different from oldpasswo…
  • Write a program which is given an exam mark, and it returns a string- the grade for that mark- according to this scheme: The square and round brackets denote closed and open intervals. A closed interv…
  • PLEASE HELP ME DEBUG ¬† THE GOAL: ¬† Create a packet sniffer that will operate in Promiscuous ¬†mode and capture traffic for no less than 5 minutes within a Windows Virtual Environment ¬† Once capture…
  • The 10000 integers between 1 and 26, one per line ¬†( module11activity.txt) ¬† ¬† Hello, Please help me with this python code ¬†. A Caesar cipher is a type of substitution cipher in which each letter …
  • it’s a Spotify bot play the problem is some thread dont play also sometimes thread open without play we need to make the bot play songs And close thread once finish then open a new thread stream close…
  • i am creating a function for finding the most similar person in our txt file according to our rate in below our code but i am stuck while creating once i found the most similar person to our new user,…
  • How would you create a loop to find the descriptive summaries for quantitative and qualitative values of each column in a data frame in python?¬† ¬† I know you can just use .describe(), but I need to …
  • The comments below in the code show how to finish constructing the code for the tic/tac/toe game. Construct a function where an AI competes against the user, the game must run properly. A prompt must …
  • I got a dataset from this website: https://grouplens.org/datasets/movielens/1m/ I need to use numpy to create a ratings data matrix and print the shape of the matrix.
  • please helppp 6) Write a script that will perform the following jobs: a) Use dictionary data structure to store the data given in the table b) From your dataset, pick a random Car Model, calculate its…
  • in Payton Scenario: A program for a retail store that will allow them to calculate discounts for their employees when they buy items. Discounts are based on the number of years worked (2% for each yea…
  • I got two lines of data from a text file, one string and one integer, many rows, I have many keys some of them are duplicates but with different values, how do I create dictionary where I have one uni…
  • Write a program to test if the two words entered by the user is an anagram. Create functions for this program a. def are_anagrams() b. main function for user input and use try and except statement…
  • It’s a python programming problem. Please use the data and the read function in the comment. The introduction to the dataset. The read in function do these jobs. It would be fine, if the final result …
  • How do you write a python function is_power(a, b) that takes the function is_divisible(a, b) as an argument?
  • I have the following assignment mostly completed, but I am having an issue with the delete option: class Automobile(): ¬†¬†#Define constructor with self parameter ¬†¬†def __init__(self): ¬†¬†¬†¬†self….
  • I just need you to make a dashboard an report of this.¬† First is brief and second is what is required to make the dashboard. The data to make this is here: https://drive.google.com/drive/folders/16ca…
  • A Python function definition is initiated by using this keyword in the header: function def import 2. It is necessary to include this punctuation at the end of a function header statement: ; semi-co…
  • Resource link: https://tianchi.aliyun.com/dataset/dataDetail?dataId=90209#1 Please download the file named test_v2.csv, and predict the purchase policy based on the transaction history.¬† Be sure to i…
    • Are those who have a university degree, on average, more or less likely to also have a loan, compared to the sample mean? University = Tertiary + Secondary non university = primary + unknown…
  • PLEASE HELP ME WITH THIS PYTHON PROGRAMMING QUESTION ¬† Things To Do Create a Pandas DataFrame for the Credit Card Clients in Taiwan dataset. The EDUCATION, MARRIAGE and PAY_0 to PAY_6 columns contain…
  • Question 1 : Decision , Random Forest, ANN (30 pts)¬† The Customer Dataset (Customer.csv in Canvas) consist of information about 381 customers and¬† status of their loan application result (Y/N) as a …
  • A reverse lookup table or index allows us to quickly find the location of objects in a list. For example, given the list the reverse index is since¬†0¬†is at index 2,¬†1¬†is at index 1,¬†2¬†is at inde…
  • Google Finance The google finance webpage (https://www.google.com/finance) reports a sector change summary in an HTML table at the bottom of the page. The table contains, amongst other things, the nam…
  • How to calculate the distance between two columns in Euclidian in a data frame ¬†(it will be python code)
    • Let / = [1, 2.09, 3, 4, 5, 6,’ a’, 8, 9, 10.14, 11,’ b’] be a Python3 list. And let J={1,2,7} be a set of indexes. Write a Python3 function to create a 2D list out of I where each row contains at m…
  • . c) Write a program that demonstrates the Cubic Spline Curve Fitting method. You must write and call at least the following 3 functions: def CubicSpline (x, y, slopel=0, slope2=0): #calculates and …
    • [bank-account-finder.py] You are working for an accounting firm that needs a new program to find transactions from the electronic bank statements given one of two pieces of information . the transa…
  • Need help only with creating an IC and IPO 3. Write a Problem Analysis Chart (PAC) to find an area of a rectangle where area – (1/2) * height * length. Then create IC and IPO.
  • Implement data analysis on dataset in following modules: a.¬†Importing the data¬† b. Data Wrangling¬† c. EDA¬† d. Model Development¬† e. Model Evaluation and Refinement¬† ¬† 2.¬†Implement data vis…
  • Debugging for the following code : data = { ¬†¬†‘Jeremy’:73284,¬† ¬†¬†‘Hansel’:8784.3,¬† ¬†¬†‘Uee’:9480938.2,¬† ¬†¬†‘Seolhyun’:984958.3,¬† ¬†¬†‘Ketsuno Ana’:24131,¬† ¬†¬†‘Trump’:45789 } for name in DB…
  • Consider the following sets: setA: set([12, 32, 26, 87, 21, 65, 41, 87]) setB: set([12, 26, 73, 24, 87, 41]) setC: set([32, 73, 46, 54, 65]) ¬†A program that compares these two sets in the followi…
  • Question 15 20 pts Making the perfect doughnut Custom made doughnuts are all the rage. Create a program in Python that allows the user to build the perfect doughnut. The program needs to ask the user …
  • The following code below is an implementation of a GUI to solve for miles per gallon. Use the code from the example below calculating miles per gallon, and modify it to display the distance traveled.?…
  • I’m trying to create a prime number finder program in python and need help printing all prime numbers up until the user limit with asterixis in front of them.
  • Python code and no sample output Content from the attached file (copying from text.txt) No one is unaware of the name of that famous English shipowner, Cunard. In 1840 this shrewd industrialist founde…
  • for some reason, when i input this, i just get this “**** **** ***” all on one line, is there something im missing?. NUM ACROSS = 3 # Number of asterisks to print across NUM_DOWN = 5 # Numebr of aster…
  • 1| phrase = “HULK MAD” 2| phrase = phrase.lower() 3| phrase = phrase.title() 4| cutPhrase = phrase[:5] 5| newPhrase = “” 6| 7| for char in phrase[5:]: 8| if char == “m”: 9| newPhrase = cutPhrase + “Hu…
  • please help me out anyone with this paper I really appreciate for help. Part B. Predict the Output. What is the output of the script testairplane . py on Page S? Use the variable trace table on Page S…
  • Question: I am trying to find out how to use the HTML code found below in Python programming language. I would like to use it in the same format that is used in the Python code found below the HTML co…
  • Program Requirements Personal Web Page Generator For this program you write, you will need to know some of the basics about html programming. Please read thru this webpage before proceeding: https://w…
  • This is what i have done so far ,i want to be change this code according to instructions #part 1 def linearSearch(arr, target): ¬†for i in range(len(arr)): # Starting from left most element till end o…
  • Your assignment is to write such a program for a CSV-formatted list you create. (Your choice) The list could be your playlist or CD collection, a baseball card collection, or even the contacts on your…
  • def create_randam_IP(): ¬†¬†”’ ¬†¬†fuction that creates an IP address with random numbers in each Octet and return the created IP address ¬†¬†”’¬† ¬†¬†pass how to write the function to take the out …
  • How to code the following? ¬† Determine the best hyper-parameters for your decision tree using cross-validation with at least 5 folds. Search across at least 3 hyper-parameters for Decision Trees. It …
  • What TWO different python programs can get the median value of a sequence of 1-digit integers stored in a string (also assume the length of the string is an odd number). Median value is the value lyin…
  • Description ‚ÄĘ CSU Airlines wants you to make a Python script to calculate the total cost of a ticket. ‚ÄĘ All plane tickets are $299.99. ¬† ‚ÄĘ Carry-on bags cost $24.99 per bag. ¬† ‚ÄĘ Checked bagg…
  • Scenario You work in a government department in IT that deals with space exploration. You are asked to write program in Python that simulates space exploration. The organization has asked you to creat…
  • Create a program that prompt the user for two text files and prints out: all words that are common to both of them the number of words that exists in only one of the files. Explain your rational fo…
  • Hi, I’m trying to program this Hangman game using python, but I keep getting the wrong output. If you could help me with this it would be greatly appreciated. I’ve listed the outline below:). 4- What …
  • This program inputs a number (from 1 to 7 inclusive) and outputs whether the number is even or odd. ¬† Sample Input 1 Expected Output odd ¬† Sample Input 2 Expected Output even 2.This program inputs…
  • using python 2. Simple Number Encryption Write a program that asks the user for a combination of numbers as a string and a shift value n. The program should then add the shift value to each character …
  • In python. Write a function named biggest_family that reads an input file of people’s names and prints information about which family has the most people in it. Your function accepts a string paramete…
  • How to make flowchart that designs a solution for the following problem. Virginia Basketball League provides a sports program for children in Fairfax County. They charge $65 for the first child in …
  • . Content X MindTap – Cengage Learning X *Homework Help – Q&A from Onl x + V X – > C A ng.cengage.com/static/nb/ui/evo/index.html?deploymentld=577708101954892924796671128eISBN=9781337277976&a…
  • Encrypting the Converted Text Now that we can convert the text entered by the user into a form which can be encrypted by the Caesar cipher, it is time to wrie a function to D this. We need a function …
  • Hello, I need some assistance with this task as I am using the program called Thonny to run python programs. I have come up with this small project but need some help to make a still image run a gif. …
  • Im really struggling to figure out how to change the columns into different types. Pls help ! This is the question. The datatype of the array created by NumPy in Task 1 is unstructured. This is becaus…
  • need assist in python program. the function will group codes into 8 bit chunks. ¬†it takes an array of binary strings and re-groups them into 8 bit chunks, by appending the strings together and then d…
  • teration 1: Run¬† your program to demonstrate the output. In this iteration with the variables you provided, the string that is output should state “75 is in the correct range”. If it does not,¬† debu…
  • This is an open-ended lab. Using Python, run a linear regression analysis on data you have collected from public domain.¬† ¬† Recommended packages: scikit-learn numpy matplotlib pandas ¬† Deliverables…
  • To complete this task, I have to store all the information has been inputted by the user into a csv file. I wonder how can I store the information into session and then append them into csv. The follo…
  • √Čcrivez une fonction Python r√©cursive appel√©e prodListePos_rec qui prendra comme param√®tre une liste et comme deuxi√®me param√®tre le nombre des √©l√©ments de la liste, et qui retournera le produi…
  • For all the questions in this part, you may assume the following import: import numpy as np These question ask you to demonstrate specific NumPy knowledge. You may only use NumPy arrays, operations, a…
  • Background to the problem ¬† Radio propagation conditions play a critical role in the operation of mobile wireless networks. They determine the performance of these systems, whether used to transmit r…
  • Having a hard time understanding how and where to input a loop in my code. If you try to divide by 0 it provides an error message but how would i then repeat the operation? Also how do i repeat the en…
  • . Question 1 Unlimited tries You have a unique ID number, which is a string of digits. Assume the variable id references a string that contains your ID number. Write a program that repeatedly reads …
  • Can someone help me with this python assignment? #Use these two lists to: #1. How do you make a combine them into one dictionary, then return that dictionary #2. How do you use that function that will…
  • In the “Chapter 10 Code” file, it is shown how to find the values ‚Äč‚Äčof Linear Regression’s parameters for mtcars data by using the “Gradient Descent algorithm” if there are one and two independent…
  • Can you please help me understand how to code this red-length-… 5. 3. Challen… VOUIDWNH # Get the filepath from the command line Collapse Data formats import sys P= sys . argv [1] = sys . argv [2]…
  • The error message I get: TypeError: count_vowels takes 1 positional argument but 2 were given. ¬†count_vowels(test_str,d) ¬† ¬† def isVowel(letter): ¬† ¬† ¬† return letter.lower() in [‘a’,’e’,’i’,’o’,…
  • Lab: Even/Odd values in a list. Lab: Even/odd values in a list Write a program that reads a list of integers. The program outputs if the list contains: all even numbers, all odd numbers, or neither. T…
  • Provide the complete trace of the following function (note: include each instance of a function call as well as the overall output):
  • May I please get the correct answer for this question. Thanks so much for taking the time out of your day to help me!
  • Answer to these questions should be clear and coherent. Concise, precise and correct answers are better than long rambling incorrect answers. For the operation below, provide the worst case running ti…
  • In R programming or in python. Problem 1: You develop a new repellent for ticks. You would like to evaluate if it is effective at repelling ticks. You plan an experiment in which you will have some nu…
  • can you help me fix the indentation with this if statement? and anything else that might be obviously wrong with it (if it applies) “` q= string input ¬† if (q[0] not in [‘a’,’b’,’c’]): ¬† ¬† ¬† ¬†ch…
  • Replace each punctuation with # in the following string¬† Given: str1 = ‘/*Jon is @developer & musician!!’¬† Expected Output:¬† ¬† ##Jon is #developer # musician##
  • Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: [“((()))”,”(()())”,”(())()”,”()(())”,”()()()”] Writ…
  • A rugby team has 15 players. A bus company has small buses that can carry 10 passengers, and big buses that can carry 38 passengers. Write a program that the tournament organiser can use to calculate …
  • The acronym API is short for “Application Programming Interface.” It is usually a collection of functions, methods or classes that supports the interaction of an application program (the program tas a…
  • I need help creating a multiple choice exam with 20 questions, below are the answers. B¬†2. D¬†¬†3. A¬†¬†¬†¬†4. A¬†¬†¬†¬†5. B¬†¬†¬†6. A¬†¬†¬†7. B¬†¬†¬†8. A¬†¬†¬†9. C¬†¬†10. D¬†¬†¬†¬†¬† B¬†12. C¬†13. D…
  • This exercise allows a user to load one of two CSV files and then perform histogram analysis and plots for select variables on the datasets. The first dataset represents the population change for spec…
  • You are going to enhance the prior assignment by implementing exceptions¬† *****¬†You need to tell me where you implemented the exception and why. ***** ¬† Show me 2 test cases that will trap the erro…
  • Activity #1: Comparing array values – [50 points] This activity is meant to help you learn to read data, store it in a list, and then process it by looping through values.Imagine that you are managing…
  • Using loop to write a program that displays the following pattern (20 pts): The Fibonacci sequence is a series of numbers that the next number is found by adding up the two numbers before it. The firs…
  • Hello experts,This is Python coding problem.Could you please help by this problem solution.Thanks
  • python script for DNA complement python script for finding occurence of restriction enzyme recognition CS07595: Bioinformatics: Algorithms (3CR) HW1 (Due: Sep. 30 BEFORE 17:00 p.m.) Total possible poi…
  • Define and test a function myRange. This function should behave like Python’s standard range function, with the required and optional arguments, but it should return a list. Do not use the range funct…
  • Part 2: Hive 1)¬†¬†¬†¬†¬†Run the following query in Hive and report the time it takes to execute:¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • Suppose we have two points in 3D space: point1=(x1,y1,z1) point2=(x2,y2,Z2) ¬† We can add points by adding up the respective coordinates, e.g. point3=(x1+x2,y1+y2,z1+z2) For this problem, your task is…
  • Can you change following python program and get to perform same result only with loop and eliminate function call >>> flag = 1 >>> while(flag == 1): hourlyRate = float(input(“Enter h…
  • Question: Classify the plant leaves by various classifiers from different metrics of the leaves and to choose the best classifier for future reference. Maple Leaves Ltd is a start-up company which mak…
  • Hi, ¬† I need help adding a way to edit messages on a site that I am working on for a project using python. I will really appreciate the help. Also looking for some HTML that I can include to make it …
  • after I define the lambda function, am I supposed to write an if statement that checks if each string begins with an e?
  • How can I make keras model with dynamic input? Could you recommend any course or tutorial for that.
  • How do I get the program to plot all the names and ages, it keeps dropping one of the names(See images): ¬† Trying to get CIS123 5.5 Performance Assessment to work correctly ¬† For this program, you w…
  • Verification of Maximum Power Transfer theorem using DC Parametric Sweep Analysis
  • solutaion needed Provide the final output of the following Python print statement: = ‘Alex’ = ‘Lisa’ – ‘Louise’ – ‘John print (‘(3) was engaged to (1) but ended up marrying (2). (2) to be married to {…
    • Create a Raptor program that allows the user to enter a number .¬† Display the cube of each number from 1 to the entered number.¬† ¬†For example if the user enters 3, the computer would sum 1 X 1 X…
  • Define a function named ¬†addPosToElem(…)¬†¬† which receives a list with integer numbers and¬† returns a new list¬† containing the elements form the original list in even positions where the positio…
  • File: student.py Project 9.2 Resources to manage a student’s name and test scores. Includes methods for comparisons and testing for equality. Tests the class by putting students into random order in a…
  • answer the following python question. Problem 1 Create an ndarray object with data-type float , shape (2,3,4), and all values initialized to 5 . In [ ]: probleml = None Problem 2 Develop a function pr…
  • Please don’t copy paste from other websites. Q09.15 The Appendix contains a section on ASCII character codes. Use code similar to the code shown in the Appendix to print out the ASCII character code a…
  • Data 1 is shown below Adjusted closing price (RM) for: Date Maybank TopGlove PBBank 26/11/2020 7.43 6.45 3.57 27/11/2020 7.52 6.39 3.55 30/11/2020 7.17 6.51 3.32 ######## 7.43 6.21 3.42 ######## 7.51 …
  • I have work for all of them but I just want to reconfirm my thoughts with a tutor. Suppose you are a casino owner, and your casino runs a very simple game of chance. The dealer flips a coin. The custo…
  • please(make the question with this file: https://www.dropbox.com/s/jgsvxj95pqe72ep/retail.txt?dl=0) Read the transaction data: retail.txt . Each row in the file is one purchase transaction from a cust…
  • . – Your task is to answer the following question. What is the maximum number of jobs, n, that you can comit to take, so that the following is true: I ) on average the jobs can be completed in one 8…
  • Question 3: For each of the two methods to compute price per carat, what combination of other parameters (color, clarity, depth, etc. ) gave you 1. highest value 2. lowest value
  • Please solve correctly. Note: MUST USE FILE ¬†I/O FOR BOTH INPUT AND OUTPUT. You can use the following pseudocode which is based on these hints. function Network(Graph, source): dist [source] – co // …
  • Given three floating-point numbers x, y, and z, output the square root of x, the absolute value of (y minus z) , and the factorial of (the ceiling of z). Output each floating-point value with two digi…
  • ## —- Random Module — ## import random # use the random module to print a random integer between 2 and 20, exclusive # use the random module to print a random number from the range 1 to 100, inclu…
  • Please match the output exactly as highlited. Thank you. “Write a python program that does the following: 1. Reads a ‘numberstxt’ Ô¨Āle (2 lines at a time) that contains numbers (integers) Reads…
  • Open your assignment # 5 test average program and resave as:
  • use Python but do not use any imports.¬† The file graph.txt represents a directed graph. ¬†Modify the following code to answer the below questions:¬† # file = open(‘graph1.txt’) # for line in file: # …
  • 06 – …So Email me Maybe! 10 coding | python Given a name and domain, print to the screen their email address. The address should take the form: <first>. <middle initial>.<last>@&lt…
  • Write a Python program for data analysis, ¬†¬†to test the program’s algorithm and to show that it meets some given¬† ¬†¬†requirements. ¬†¬†You are also told that: ¬†¬†D1. The real data will be made av…
  • . def foo(a, b=[1]): if a <= 1: return b b_new = [b[i] + b[i+1] for i in range(len(b)-1)] return foo(a-1, [1] + b_new + [1]) From the function above: 1. What is the worst-case time complexity of …
  • Help complete the tasks listed below. For each task submit: Pseudocode as comment lines Python code Screenshot of the code executing Separate each task with a comment line Example: #Task Number #print…
  • Describe each possibility in your words¬† Define “precondition” and “postcondition” as part of your description. Create ¬† your ¬†own example of each possibility in Python code. List the code for each…
  • PYTHON us-2016-primary-results.txt: state;state_abbreviation;county;fips;party;candidate;votes;fraction_votes Georgia;GA;Appling;13001;Democrat;Bernie Sanders;142;0.21899999999999997 Georgia;GA;Applin…
  • How do I write a program that inputs individual letters and creates a string of these letters except it will exclude the letter “x”. To signal the end of the input, the user will input the letter “z”….
  • ODE HW 8 Pseudo Code.pdf X ODE CITP 110 HW 9.pdf X + X C File | C:/Users/chami/Downloads/CITP%20110%20HW%209.pdf 2 of 2 Q + (o ) # Add the object to the list pet_list. append(pet) # Return the list re…
  • Python (1) Write an pseudocode to demonstrate the Ceasar algorithm: f (p) = (p + 3) mod 26 (the Caesar cipher) (2) Use this algo in Python to encrypt the message DO NOT PASS GO, applying the given enc…
  • I m using Windows 10 and i m going to write in spyder. Can u show me ? 1. (25 points) An abstract will be submitted for a conference. The abstract has to be at most 60 words long, at most 400 characte…
  • csv link https://www.dropbox.com/s/b7377dk825socpl/titanic.csv?dl=0 1. Exercise # 1: titanic analysis and logistic regression¬† Requirements: a. Get the data : 1.Load the “titanic.csv” data in…
  • Problem 1 Write program that writes the following data to file books.txt .¬†Include the semicolons. Fiction;Abraham Lincoln Vampire Hunter;Grahame-Smith;Wiley;13.99 Fiction;Frankenstein;Shelley;Presco…
  • please write a python program to Write the following two function definitions, and call each function appropriately in order to test and show that each function works. Please write both functions in t…
  • I need the code please3 + x Content X zy 6.7. LAB: Palindrome arn.zybooks.com/zybook/CYB_130_53744141/chapter/6/section/7 ly library > CYB 130: Object-Oriented Scripting Language home > 6.7: LAB…
  • Code in python notebook. In the assignment, you will analyze which factors are associated with the number of likes a Facebook post gets. The dataset is from https://archive.ics.uci.edu/ml/datasets/Fac…
    • (5 pts) General problem statement: Suppose that you are on a trip and buy a bunch of gifts to bring home to your family. When you arrive at the airport for your trip home, you discover that you ma…
  • Schelling Segregation Project. Here are the basics of the grid-based model as you should implement it for this project. The model has 4 parameters: N: Grid size; your overall grid should be N√óN. You …
  • COULD YOU PLAESE HELP ME COULD YOU PLAESE HELP ME COULD YOU PLAESE HELP ME Open the file ip . Ext , and print all the lines. Answer: ( penalty regime : 0 , 0 . … %0 ) 1 Check Define a function read …
  • need help writing code for map, mean, quantile, interval, median ¬† Distribution class code: import numpy as np import numbers import matplotlib.pyplot as plt import random ¬† class Distribution(objec…
  • What I have so far: shapes.py “””Python Fundamentals Final Project – shapes module.””” import math class Point : ¬† ¬† “””Two-Dimensional Point(x, y)””” ¬† ¬† def __init__ (self, x= 0 , y= 0 ) : ¬† ¬†…
  • Please explain a program in jython that assumes the user has a directory of the images and would perform the following? The directory contains 9 .jpg files named 1.jpg , 2.jpg ….. 9.jpg all of the s…
  • Use the parent classes to the left to help you solve this problem. The first parent is the Person class with some very generic information. The second class, CardHolder, is the class for a credit card…
  • In this question, we give two implementations for the function: def intersection_list(lst1, lst2) This function is given two lists of integers lst1 and lst2. When called, it will create and return a l…
  • Simple Code of Python to resemble a purchase from a grocery store Point of Sale System 15 products in the store, some food, some drinks Quantity in stock needs to be decreased Drinks are taxed at 2.5%…
  • #this code is based on the problem seen on the attached picture. The analytical and numerical integration is correct. The only missing part is the graph #THIS CODE NEEDS TO HAVE A GRAPH USING MATPL…
  • needed help with assingment for data analysis SVM and Na√Įve Bayes
  • Python Linear Regression Link for data: https://drive.google.com/file/d/1vtVhQYksWqcbEaQKRH19iJx63IfNtz4H/view?usp=sharing Question 1: The historical relationship between the global annual oil product…
  • creating a menu- driven interface to creating a s3 bucket , put objects in a bucket, delete an object in a bucket , copies and object from one bucket to another , and downloading an existing object fr…
  • I keep getting this error in making a shiny app in R studio. Can you please help me where I made a mistake? Thank You so much. library(shiny) library(plotly) library(tidyverse) library(DT) ui <- fl…
  • . Instructions right-w + >, Terminal 1 it Put your code here: Write a program that accepts the lengths of three sides of a 2 triangle as inputs. The program output should indicate whether or not …
  • Develop a Client/Server program similar to the timeServer and timeClient programs. The client and server programs should connect using port 1111.¬†The server should allow up to six concurrent requests…
  • machine learning explore, process and classification of credit card dataset. with explanation¬† ¬† ¬†you can find the dataset = https://archive.ics.uci.edu/ml/datasets/default+of+credit+card+clients (…
  • How would determine what image fits the pattern recognized below in python?The answer is image 2 because the first 2 images in each row combine to make the final image in each row. ¬†. A C D m N G H #…
  • Description: In building on a lab experience that you have had, your¬† task will be to design, write, and implement a Python program that will check-in the cars that are being delivered in this week’s…
  • Help me answer this questions kindly Exercise 3.16: Implement a Gaussian function Make a Python function gauss (x, m=0, s=1) for computing the Gaus- sian function f(x) = 1 V27 S exp 2 " – m ) &qu…
  • Programming Assignment 5 ¬† The Dictionary is a very powerful data structure. The objective of this programming assignment is to demonstrate proficiency with dictionaries. You are to write a program t…
  • question 1 If value1 is 2.0 and value2 is 12, what is the output of the following command? 24 24.0 2.0 * 12 value1 * value2 ¬† Flag this Question Question 2 True/False: A function definition specifies…
  • Can you help me in these python practice questions?
  • “> “>Why isn’t all memory freed when Python exits?……
  • Prompt Use any data structures or control flows as appropriate to complete the following prompt where you manipulate 2D LISTS. Chore Chart Chore O Chore 1 Chore 2 Monday (0) clean rug swee…
  • It’s do today please help me Implement your own Student data type. Your data type must have at least 4 attributes (data members). The data type must include a getter method and a setter method for eac…
  • Merge sort . py def merge_sort(a_list): ¬†¬†¬†#print(“Splitting “, a_list) ¬†¬†¬†if len(a_list) > 1: ¬†¬†¬†¬†¬†¬†¬†mid = len(a_list) // 2 ¬†¬†¬†¬†¬†¬†¬†left_half = a_list[:mid] ¬†¬†¬†¬†¬†¬†¬†right_…
  • Testing and Refactoring¬† This week, we focused on how to build tests for our software and how to refactor our code to be simpler or more efficient. For this week’s assignment, we are going to build…
  • Answer the following using Python Create CART model using the training data set (attached below) that predicts¬† Approval ¬†using¬† Debt ¬†to¬† Income Ratio, FICO Score, and Request Amount . Visualize…
  • Write a python program to ask the user to enter the launch velocity and angle. Show them the horizontal distance traveled, for the entered launch parameters. Use format statement for numbers. Note tha…
  • A student has to enrol a unit at an institute, XIT. To be eligible for enrolments, XIT checks for various requirements, such as, did s/he pass pre-requisites with a minimum grade ‘P’ etc. You may incl…
  • QUESTION 1 Version control does not allow programmers at remote locations to work on the same files at the same time.¬†(True/False) ¬†True False QUESTION 2 With version control,¬†if one programmer ove…
  • a python program Function Name: Deposit Funds Summary: Customer deposits a specific amount of funds to a valid bank account. Precondition: Customer PIN has been validated. Description: 1. Customer sel…
  • Can someone help me with this code? I am not sure what I am doing wrong. Cadia Proi Edit Find View Tools Education Help times-table.py Configure… Project Index (static) @ Configure…. 6. 1. Times t…
  • The sample dataset is shown in the following: I want to write a python code to use random forest to predict y= Price. I have 9 independent variables, three of them “amenities”, “availability” and “Flo…
  • How do i generate a dice rolling game using the random() function to get a float between 0 and 0.999 while creating my own maths to transform into an interger between 1 and number of sides inclusive.?…
  • Write a short Python program that asks the user to enter two values, a length and width then prints out the perimeter of a ¬†rectangle with those ¬†dimensions
  • I am trying to run a python code in Spyder but I keep getting the error message: ModuleNotFoundError: No module named ‘numpy’ How to fix that problem? Spyder (Python 3.7) X File Edit Search Source Run…
  • User can not enter negative number for a) Miles to Kilometers b) Gallons to Liters c) Pounds to Kilograms d) Inches to centimeters User can not enter value above 1000 degrees for fahrenheit to celsius…
  • Problem Description: The Automated Steakhouse needs a program to tell customers how long they can expect to wait for their steak. The customer has three options: “rare”, “medium” and “well-done” – if …
  • Problem 1 Write down program that writes the following data to file books.txt .¬†Include the semicolons. Fiction;Abraham Lincoln Vampire Hunter;Grahame-Smith;Wiley;13.99 Fiction;Frankenstein;Shelley;P…
  • Did not do well in this question from a previous assignment, kindly share and explain the solutions for future references.. Design the function count_shows_before_date that takes the following two arg…
  • How do I fix this?. igs Help STOR 120 – Take Home Midt X code-eirb4asd.ipynb X Which Justin_120.csv X + C Code Python 3 (ipykernel) O Justmoiever nups./7 www.mstayiam.com/p/mun_yvpu 150747144< cLAI…
  • I need help on my homework In the Python program create the main function which does the following: Request the temperature values for each day of the week Monday through Sunday and add the data to an…
  • download the “biddings.csv” data from¬†https://www.kaggle.com/zurfer/rtb¬†and use the first 50,000 data as Dataframe (The entire dataset is too large) 2.Standardize all the 88 columns except “conver…
  • s x Launch Meeting – Zoom zes/4069520/take/questions/75794025 he 75 minute’s to work on your test reason your internet connection fails during the exam, please join the Zoom session again and continue…
  • Data file:¬† mbta_data.csv -https://course.ccs.neu.edu/ds2000/homework/hw5/mbta_data.csv ¬† The data in the CSV file comes from the¬† MBTA Open Data Portal , which regularly releases information ab…
  • https://drive.google.com/file/d/1dDiYENVxVV7pSlzKAUIG6i_zXffBKtqm/view?usp=sharing use jupyter notebook ¬† everything is included in the file.
  • 1 Write a python program to calculate the average of the given numbers. Accept two numbers from the user Sample output: Enter two numbers: 10 12 Average= 11 Q.2 Imagine an alien was just shot down i…
  • How to achieve same as the sample output image using the code below: Note: I used pycharm¬† ¬† The code: from tkinter import Tk, Canvas, Frame, BOTH, W import tkinter as tk import random import time f…
  • SUMMARY The overall goal of this program is to read student records from a file, and let the user enter queries in order to see a detail or summary report. The project uses many of the topics covered …
  • Pls I need help one this¬† ¬† Chapter 7 complete the following Programming Exercises from the chapter.¬†¬† #2¬†Lottery Number Generator #3¬†Rainfall Statistics #4¬†Number Analysis¬†program (optional 5…
  • Assist with a Python program developing a list of linear algebra operations as specified in the following functions. I need the program to implement the operations from scratch meaning the programs mu…
  • Need to scrape hotel prices from any website (Such as expedia, kayak, etc.) using selenium for a particular city and date. The date and city will be input from the user. Display hotels details (Name, …
  • Question: Create csv file from the data file attached read this file into a pandas data frame account_number,name,item_code,category,quantity,unit price,net_price,date 296809,Carroll PLC,QN-82852,Belt…
  • For datasets kindly refer: https://drive.google.com/drive/folders/1VRXeicwkvv4pYVSD2RluFacpv86jY-Sn?usp=sharing ¬† 1. Perform the following statistical analysis on the fifa world cup dataset. The data…
  • Need help and please explain how you got answer, when comes to uploading part the worksheets name is “SupplierWebsites please explain how you got the answer, when get to the section that refers to wor…
  • Compare the words in the Unix dictionary to the permutation strings in the array. Print any matches that are found. Here is some pseudocode that might help you: Define get_permutations method # Start …
  • IN PYTHON: Driving is expensive. Write a program with a car’s miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 miles, and 400 miles. Output each flo…
  • Method displayTriangle(numRows: int): Points – 10 This method is to display a triangle in the console that consists of star character ( * ). It should display them in the following pattern based upon …
  • for each function, a rough analysis of its running time in terms of n (where n is the length of the input list a, i.e. n=len(a)) and where n=10,000. For example, if your function looks like this: de…
  • Question: Use the bio-degradable-data.csv to create a ML model and classify the chemical structure as ‘Ready BioDegradable’ – RB vs ‘Not Ready Biodegradable’ – NRB. Also, you will get to implement Ada…
  • Good Names Consider the code : age = get_age( ) Variables should be named using nouns. age sounds like a noun, so it’s a thing, so it’s a variable. Functions should be named using verbs. get_age sound…
  • 1 ) “Create two lists of strings – one list for¬† Protocol ¬†called¬†valid_protocols, and one list for storing¬† File ¬†extension called¬†valid_fileinfo. For this take the protocol list should be rest…
  • What was your most significant learning Files and Inheritance in Python Programming? How did participating in the zyBook help your understanding of the subject matter? Is anything still unclear that c…
  • NEED HELP IMPLEMENTING THE FUNCTIONS IN THIS CLASS (DOCSTRING EXPLAINS REQUIREMENTS): from typing import Iterator, Iterable, Tuple, Text, Union import numpy as np from scipy.sparse import spmatrix NDA…
  • Mapping requirements to the database fields is an important step for validating software requirements. Using the database schema in “Database of Employee Stock PurchaseProgram.doc” (from the Chapter 6…
  • Using the IDLE development environment, create Python¬† script ¬†named¬†tryme4.py.¬†(Note: an alternative to IDLE is to use a free account on the pythonanywhere website:¬†https://www.pythonanywhere.co…
  • Python: Extract Hour and Weekday from Datetime I used strptime() and there were errors as shown below: Here is the full code: ¬† from bokeh.io import output_notebook, show from bokeh.plotting import f…
  • make a GUI program that calculates the average of what an employee earns in tips per hour. The program’s window should have Entry (font: Courier New) widgets that let the user enter the number of hour…
  • I have code for the problem. Can you check if its correct? The problem and the solution is provided below. correct me if I am wrong in any function. I would also need the code for function 3. For¬† ge…
  • 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, 1 and 0.¬†There is…
  • What are the different parts of a function definition? Describe what happens when a function is invoked (called)¬†? List three advantages for using functions.¬†? List some functions that you find very…
  • I get “AttributeError: ‘PipelinedRDD’ object has no attribute ‘reverse'”¬† when I execute this cell. ¬†. # In [42] : count_examples (Data) counts3 = count_examples (sc. parallelize (Data . take (3) ) …
  • Write a Python Program to implement your own myreduce() function which works exactly like Python’s built-in function reduce()
  • answer my questions Consider a max Heap[T] class with instance variables self.count (stores the number of elements in the heap instance) and self.array (stores the heap elements in an array, starting …
  • made simple Simpson’s 1/3 rule program (code) using pythjon
  • numpy and pandas ¬† df=pd.DataFrame({‘id’:[‘i10012’, ‘i10013’, ‘i10014’, ‘i10015’, ‘i10016’, ‘i10017’, ‘i10018’, ‘i10019′,’i10020′,’i10021’], ‘age’:[19,18,28,33,32,31,46,37,60,25],’sex’:[‘female’,’mal…
  • I need help with a python assignment and I dont know how to import txt files
  • . Question 8 3 points Save Answer Another admin (andy.minn) is trying to use a script the requires elevated privileges. When they run the script it runs without error, but the file that is suppos…
  • D Question 1 2 pts Which of the following programs can use pandas’ read_csv function to load data from a web URL url? Assume that url is a string that contains the URL of the data source. Please choos…
  • Light travels at 3 √ó 108¬†meters per second. A light-year is the distance a light beam travels in one year Write a program that calculates and displays the value of a light-year. Useful facts: Second…
  • True or False 1.) Consider AxJ(x) being “Every student in your class has taken Java.” J(x) is “x has taken Java course(s)” and D is students in your class. So, -AxJ(x). ¬† true/ false 2.) Consider AxJ…
  • Part 1: Machine Learning Models You work for an office transport company. You are in discussions with ABC Consulting company for¬† providing transport for their employees. For this purpose, you are ta…
  • I need to make changes to the following code. We can change variable names, methods, name of the methods, etc. All I need to do is to make changes. Here’s the code: #¬†Class¬†to¬†represent¬†a¬†graph c…
  • Photo 1 photo 2 Timer: 3h 11m 0s Submit Details Gra yter problem0 (autosaved) Control Pa Edit View Insert Cell Kernel Widgets Help Not Trusted Python 3. 8 4 3 + 6 H C Markdown V Exercise 2: Cleaning m…
  • Can anyone fix my code????? It’s giving me 2….. ¬†. . . O ListCompre_practice.py – /Users/chris/Desktop/Desktop/Engineering/Programming ITI1520/Random Coding/ListCompre_prac… IDLE Shell 3.9.6 def …
  • The Marietta Country Club has asked to help write a program to gather, then display the results of the golf tournament played at the end of March.¬†The Club president Mr. Martin has asked you to write…
  • solutaion needed Provide the final output of the following Python print statement: = ‘Alex’ = ‘Lisa’ – ‘Louise’ – ‘John print (‘(3) was engaged to (1) but ended up marrying (2). (2) to be married to {…
  • Can I have a help with this question please? 4) As a Python developer, you are hired by an educational organization to develop a self-service student registration program using Python 3.X. This system…
  • How would I go about this? Design a Python project fly_drone.¬†Add a Python file drone.py to this project.¬†Define a class Drone in this file.¬†This class has the following five methods: __init__ : Cr…
  • PROGRAMMING IN PYTHON (All info on the picture below — there is also a sample of what the function should output in the photo below) Create a function ‘find_Ô¨Āle" that accepts a full directoril…
  • Define a function num_digits that . takes a non-negative integer x and . returns the (integer) number of digits of x in the decimal number system. tion For example: Test Result print (‘{} . format (nu…
  • I need help with TO DO #3 I am not sure how to create the tuple for this part. ¬† while 1==1: ¬† ¬†#TO DO #1 prompt use the user for a user name and password. ¬† ¬† ¬† ¬†#store the entered username in…
  • The Negative Binomial distribution has two parameters, N and p . Compute the values of log-likelihood for values of N in the range [10-60] and p in the range [0-1] (e.g. use 50 values). Plot your resu…
  • Hello, Can you help with this question? In the following numeric expression, what is evaluated first?¬† 4 * a + 7 / (x – y) + (n ** 3 ) a. 0 b. 1 c. 2 d. =1 What is the value of x after the execution …
  • Question #5: Create a question that requires the use of the Principle of Inclusion and Exclusion of events that are NOT mutually exclusive (i.e., there are elements in the intersection(s) of the prese…
  • FLODE Question! Please only answer this if you know how to diagram in FLODE: 1: 2: quare H>0I9900¬ģ challenges @ G 2. 3. Squared ¬ę Create a program In Flode that Will accept a value. Store this va…
  • Two part question: 1) Write a program in Python for:¬† Alphabetic Order: ¬† ¬† ¬† ¬† The following words have three consecutive letters that are also consecutive letters in the alphabet: THI RST Y,¬† …
  • Task 3: Triangular Numbers <¬ß2.2.1 While-loops> A triangular number is any number from the series of numbers (1, 3, 6, 10, 15, etc.) obtained by continued summation of the natural numbers 1, 2,…
  • Modeling the dataset Then, evaluate models.. customerID gender SeniorCitizen Partner Dependents tenure Phoneservice MultipleLines 7590-VHVEG Female 0 Yes No 1 No No phone sel 5575-GNVDE Male O No No 3…
  • Instructions – To attend the lab. locate the Zoom lab session link available at MyLearninggpace page under "Zoom Lab sessions" for CP104. – Listen to Instructor instructions, if any. – Creat…
  • Devise a program that asks the user to enter a sentence and then randomly rearranges the words of the sentence. Make sure that the rearranged sentence starts with a capital, that the original first wo…
  • PYTHON 3 LANGUAGE**** ¬†Define a function named pages that takes one str as an argument, representing a list of¬† page specifications separated by commas , and a bool value controlling whether the pag…
  • Read the file and extract basic gene information, e.g., gene ID, chromosome ID, start position and end position. (link to the file attached in the bottom) Use os.system method to create ¬†temporary fo…
  • Develop a script which takes in a human protein-protein interaction network from biogrid (http://www.thebiogrid.org) database (attached here) and identifies the function of a protein (given as input a…
  • how can i code this?. 2. We have an array of 5 elements: [4, 8, 1, 7, 3] and we have to insert all the elements in the max-priority queue. First as the priority queue is empty, so 4 will be inserte…
  • The VMs that are created in my machine is called, centos1, centos2, centos3, centos4, and assignment1. This is supposed to be done in a Python script. If you get any confusion let me know. Thanks!. Wr…
  • Question No: 1Below is hospital data on staff rotation. Assume that the staff can change wards in oneweek. The chargenurse is unique from the regular staff. Normalize the table below intoits 3 rd norm…
  • develope sudoku of NxN board size with undo , restart operation
  • For chapter 8 complete the following Programming Exercises from the chapter.¬†¬† #2¬†Lottery Number Generator #3¬†Rainfall Statistics #4¬†Number Analysis¬†program (optional 5pts¬†Extra Credit)¬† – #11…
  • Write program that reads the file line by line and extracts the first string on the line. If this is the number ‘1’ or ‘2’ ignore that line, otherwise add the string to a frequency count dictionary. T…
  • In PyCharm, set up Module7. Declare a directory fun_with_collections . Write a python file basic_list.py and declare two functions make_list() to return a list of user input while and get_input() to g…
  • Define a function called print_kindly(value) that prints three things (on three different lines): First, prints “Thanks! Printing your value:” Then, prints the value given as an input argument to the …
  • red_filter, in place Using python Define red_filter function that takes a 2D list img as its parameter. The function has to maintain the R components of img but reduce its G, B components all as 0. De…
  • Python function called DoubleChars which input a string and make a copy of this text in which every character repeated twice.
  • Create a program in python that uses a class to store information about a person, including name, month of birth, day of birth, and year of birth.¬† Within the class: ‚ÄĘ Include an initialization met…
  • A group of chefs uploaded videos of their recipes. The competition is going to announce the winner of the basis of views and likes to the videos. The committee is going calculate the popularity index …
  • Client server development Overview README files are one way of documenting a development project. READMEs play an especially important role in open-source software, as they give the reader valuable in…
  • I need help with writing the code for this. Please provide me with the correct code. < > learn.zybooks.com C Homepage – IT-140-T2160 Introduction to Scripting 20EW2 1.10. LAB: Warm up: Basic out…
  • I need help to incorporate step #3 into my program. I do not know how to use JSON import. I also will like to streamline the program some more. It is somewhat messy Here are the assignment details for…
  • How do I do this?¬†. 2a. random_coords [10] Write a function called random_coords . This function will take as its arguments two integers called max_x and max_y, both of which are expected to be >=…
  • HI I need help with my code. I tried making it work but I keeps not doing what I want it to do. I want it to open a file. Can you help me run this program? import csv import os import sys def main(): …
  • Draw the following shape with Python and Turtle.
  • quarter car model.py from scipy.integrate import odeint import matplotlib.pyplot as plt import numpy as np def ode_system(X, t, carparams, roadparams ): ¬† ¬† #define any numerical parameters (constan…
  • I am having trouble rendering text on the pygame window. Here is the part of my code that seems to not work: # Creating a list holding all the words in the text file and than blitting each word onto p…
  • LOAD FILES load the ‘creditsuisse.csv’ dataset and label the outcome as ‘maindata’ The ‘maindata’ contains yyyymm, market risk premium (i.e., MRP or market return in excess of the risk-free rate), ris…
  • Could you guys please help me this 2 questions.¬†. Problem 3 (20 points) In the deep learning framework you have established, train a convolutional neural network or obtain a pretrained…
  • what is wrong with this function, def double_a(n): ¬† ¬†x=n+n ¬† ¬†return (x) ¬† ¬†name= input(‘what is your name,’+ x) ¬† ¬†return name double_a(5)
  • My graph is not randomly generating any unique plotted pairs on the positive x axis of the graph How do I fix this? My initial thought was it had something to do with the way I coded this part: ¬† ¬†“…
  • Write Python(.py) program that creates and prints a list with the following strings: ‘Einstein’, ‘Newton’, ‘Copernicus’, and ‘Kepler’
  • Python language on the program called “Processing”. Page < n > ofS O ‚ÄĒ ZOOM + UNIVERSITY OF DeplmnenlofCompulzr Scum CMPT 140 “WWW.” m m SASKATCHEWAN $¬ß13¬ß$$¬ßÔ¨ĀjÔ¨ĀÔ¨ĀÔ¨ĀgÔ¨ĀgÔ¨Āt 1.1m…
  • (Coding) Implement the Perceptron algorithm and run it on the following synthetic data sets in R10: pick w ‚ąó = [1, 0, 0, . . . , 0]; generate 1000 points x by sampling uniformly at random over the u…
  • Use Python to run the following .py Files with the original values and statements. Next, change some of the values to the following. Please keep in mind that statements may change accordingly once you…
  • write a Python program that displays a list of prime numbers in four formatted columns. The program consists of three user defined functions: ‚ÄĘ def getRandomNumbers() – this function is given below;…
  • So everything I have is working in this including the export function, but I cannot get the Update function once I enter in the correct VIN class Vehicle: ¬†def __init__(self): ¬†¬†self.__year = 0 ¬†?…
  • To accept student’s five courses marks and compute his/her result. Student is passing if he/she scores marks equal to and above 40 in each course. If student scores aggregate greater than 75%, then th…
  • Supply the code described below in a .py file. Create a class called Parent with an attribute called “greeting” containing the string “Hi, I’m a parent object.” Create a class called ChildA that inher…
  • Parenthesis matching is an interesting but a challenging problem for the beginners. The use of stack data structure not only make this problem intuitive but easy to handle. In this assignment, you are…
  • A polynomial of n’ degree with coefficients do, 41,…, an is given by P(x) = anr" +an p" – l t … +ajr + do If r is a root of P(x) (i.e. P(r) = 0), then the first degree polynomial (r – r)…
  • MUHIMIK Collapse Exercises Exercise 7: Primary Colors Create a program that will use the variable [x] to represent a string. Write a program using the dif keyword that determines if [x ] is a primary …
  • I submitted this a bit earlier but the earlier version did not contain latex representations of formulas. Hopefully, this will proved some clarity. Thanks! 2. In either R or Python, write codes that i…
  • The number 99 has the property that if we multiply its digits together and then add the sum of its digits to that, we get back to 99. That is, (9 √ó 9) + (9 + 9) = 99. you must Write a program to f…
  • I need some assistance putting some validation logic into the below.¬†When a user does not enter a correct state (either in the search state or update population) if it is not in the dictionary it sho…
  • ask3 Perform the following steps: Ensure you are in the ‘Project’ folder. Open the ‘test/test_inventory.py’ file using vim editor¬†vim test/test_inventory.py. Press¬† i ¬†to insert content in the file…
  • Assume that x refers to a number. Please help me in writing a code segment that prints the number’s absolute value without using Python’s abs function.
  • Using python and seaborn library (whenever makes sense), analyze the house price dataset given below and provide the code to series of questions. Thank you. https://drive.google.com/file/d/1kK6a2KTAqq…
  • . Sample Input 0 STDIN Function 6 words size n = 6 arr = [‘a’, ‘b’, ‘ba’, ‘bca’, ‘bda’, ‘bdca’ ] b ba bca bda bdca Sample Output 0 Explanation 0 Sample Case 1: words = ("a", "b&quo…
  • Was wondering how I would code this in python. Everything is here needed to code the program, thanks will give great rating In this PA you’re going to write two programs. The first program will be use…
  • Purpose: Reinforce your understanding of Dijkstra’s shortest path algorithm, and practice algorithm design (6 points). Suppose you have a weighted, undirected graph G with positive edge weights and…
  • 15.5: The formula for calculating the amount of money in a savings account that begins with an initial principal value (P) and earns annual interest (i) for (n) years is: P(1 + i) n Note that i is a…
  • language: python simple program in python/ ITRO TO python. Language used in program is python. must contain one loop, and one list
  • Python problem. Module 2 – Calculate expected utility In this module, you are supposed to complete the 2 functions: getEU, getMaxEUFull. Task 3: expected utility of an action The formula is EU(a) = Z …
  • If This pseudocode is intended to display employee net pay values. If All employees have a standard $45 deduction from their checks. If If an employee does not earn enough to cover the deduction, If a…
  • The program is written to determine the residency status of an individual. def main(): ¬†¬†¬†category =”” ¬†¬†¬†vote = input(“Does a resident have voting right Yes or No? “) ¬†¬†¬†medicare = input(“Do…
  • Hi there can you please help me with a study task I’m having difficulty figuring out as detailed below. I want to produce a small program that loads the data into Python and displays some information …
  • Please provide the code in Python and include description/explanation for each steps, if possible
  • how do I get rid of this message Your Output 2.2 Write a program that uses input to Hello Sarah prompt a user for their name and then The page at "https://www.py4e.com" says: You must actual…
  • hi,can anybody help me with this question? thank you
  • Hello, I was wondering if I could have some help understanding program time complexity. I’m not really sure about this one: ¬† Part 1: Program Evaluation and Time Complexity ¬† A palindrome is a seque…
  • In my_geometric_art. py, write code to use drawtool so that the result is: 100 80 – 60 O 40 – 0 0 20 – 0 20 40 60 80 100 Here’s some code to get started with: from drawtool import DrawTool dt = Dra…
  • Need help here: C Codio Project File Edit Find View Tools Education Help Configure.. Project Index (static) Configure. GPARDO error3.py error3.py (tutor Exercise 3: Id… X N #declare variables num_do…
  • Need ans for this question. link added ¬† https://www.coursehero.com/tutors-problems/Python-Programming/33714946-Searchlvle-is-an-Internet-giant-and-search-engine-company-that/?justUnlocked=1
  • need help writing a program in Python, Java and R. here is the instructions I need to follow¬† Assessments require Java, Eclipse, Python, PyCharm, R, and RStudio ¬†to perform coding¬† Part 1: Getting …
  • for TASK-1, —> Try to get F1-score = 0.9950248756218906at threshold 0.5. —> Try to get Accuray = 0.9900990099009901at threshold 0.5. —> Your AUC score is not upto the mark. Try to ge…
  • Hello, need help writing a flowchart based on the codes froma bash scripting given. These are the codes I have done for an app but I don’t know how to make a flowchart based on this shell scripting co…
  • Needs to be the function amount(A,S) which means it needs a helper function I think. Not sure. Need help with the code itself.¬† I have this so far, but it does not work and I do not know why, ¬† def …
  • . Question 3: Rewirting CashRegister class with more functionality You obtained: [xi11] Above class cannot print a receipt with item names and their price with total at the end. This is because we a…
  • how to do decide on which method to use to fill the missing values in the data set. can we do multiple imputation in python
  • Make Five dictionaries, where the name of each dictionary is the name of a pet. In each dictionary, include the breed of animal and the owner’s name. Create a list that has these 5 dictionaries as ele…
  • Can you help me with this in python? 4. Let Pv be the trigonometric polynomial of lowest order that interpolates the periodic array fj , j = 0, 1, …, N-1 at the equidistributed nodes aj = j(27/N), j…
  • Thanks give me code plz 1. a. (10 pts) Write code USING A FOR LOOP which asks the user to input a positive integer N (you may assume the user is cooperative). The program should then print out the sum…
  • Create python program named beat_that_single_round. Based upon the description above, the program should implement the functionality for playing a single round of Beat That. When this program is run m…
  • Credit card number validation Program¬† Credit card numbers follow certain patterns: It must have between 13 and 16 digits, and the number must start¬† with:¬† ‚Ė† 4 for Visa cards¬† ‚Ė† 5 for MasterC…
  • . (20%) You are given the following data for output of a power amplifier: Time (us) Voltage (V) Time (us) Voltage (V) 0 0.0 O.8 1 14 0.1 0.3 0.9 0.99 0.2 0.8 1.0 1.06 0.3 1.2 1.1 1.02 0.4 1.25 1.2 1…
  • Python Programming Lab 01 – Basic Computations Arithmetic Lab Assignment The purpose of this lab assignment is to demonstrate knowledge of using simple data type variables in a program and use arithme…
  • Suppose that a hospital tested the age and body fat data for 18 randomly selected adults with the following results: age¬† 23 23 27 27 39 41 47 49 50 %fat¬† 9.5 26.5 7.8 17.8 31.4 25.9 27.4 27.2 31.2?…
  • Could you show how do this? ¬†. Label Fixing Function Name: fixLabels() Parameters: labelList ( list ) Returns: list of correct labels ( list ) Description: While working at a store, you are assign…
  • Write a program that outputs inflation rates for two successive years and whether the inflation is increasing or decreasing.¬† Ask the user to input the name of a product, the current price of the pro…
  • 3 Introduction A CFG (context free grammar, or simply “grammar” for short) is a set of replacement rules that can be used to generate strings. The idea behind these rules is quite simple, but with eno…
  • Hi Guys, I want to ask a quick question for my python matplotlib.pylot. So, I have a array called rr with a shape of (5001, 7 ,1) (Which means there are 5001 vectors and each vector has 7 dimensions o…
  • For my code below I need to accomplish the following: The program prompts the user for a file name. If the user inputs a file name that does not exist, my program quits and gives the following error: …
  • For this program, you will process an existing data file ¬†Download existing data file. Using Python, add a line to the Performance Assessment5_5DataFile.csv. file programmatically, which contains you…
  • I would like some help writing a python program to do the following. First, I need to generate a random floating point number in the range of 1.5 to 4.5. Display the number. Then I would like to use t…
  • Option #1: Working with Python Classes For this assignment, you are given two complex numbers. You will print the result of their addition, subtraction, multiplication, division, and modulus operation…
  • I only need help with part B of the question. Can you also provide an explanation as well? Thank you so much. The PA1_B.txt file contains this: -302.3789629,-352.310694,71.67067147,338.5268955,229.162…
  • Create a piece of code that uses a flow control statement (if, for, while) that was not used in the previous problems of this assignment. Explain your code by adding comments to it and/or cells with m…
    • Exercise 5 (3 points) Our next task is to write some functionality to determine each player’s expected tournament score. Fill in the function expected_tournament_score (player_results, player_rati…
  • Function findFirstOccurance – this function needs to accept 2 strings by parameter, the first is a character to search for and the second a string to search for the character in. The function is to…
  • In the file¬†atbash.py, there is a function¬†atbash_decrypt(). The code is functional and the function name is the name we want; however, within the function, the variable naming and code style need i…
  • Hello, This is my program. It takes in 5 inputs of players jersey and rating. I’ve stored the jersey and rating in a dictionary (jdict). It outputs the items in the format I need it. However, I need t…
  • Modify Class Example: 13 to find the MINIMUM value in the range x=[-100,0]. New min: -0.9876883405951378 at x: -99 or rad: -1.7278759594743862 New min: -0.9902680687415704 at x: -98 or rad: -1.710…
  • Make a python program that given a word M and two parameters k and p, they must offer the following options: ‚ÄĘ Show the first p and the last p words in lexical order of length k that can be formed u…
  • Post a Python program that accepts at least three values as input, performs some computation and displays at least two values as the result. The program must include an if statement that performs diff…
  • THIS IS TO BE DONE IN PYTHON. What code is missing from line 2 in order to have the following output given someone types in the word "Jane" CODE: 1) fname = input ("What is your name? &…
  • def area(side 1, side2): ¬† ¬† ¬† ¬†return side1 * side2 s1 = 12 s2 = 6 Identify the statements that correctly call the area function. Select ALL that apply. 1. area(s1,s2) ¬† 2. answer = area(s1,s2) …
  • How do you define and call functions? function named value_squared. The function should accept an argument and display the squares value of the argument. look at this function header and statement tha…
  • In python please answer 1 and 2 correctly with explanation ¬†. 345+’2‚ÄĒ36*+ 1. write this expression as an in-Ô¨Āx expression inthe spaoe below {you need this later]: 2. Prooess the post-Ô¨Āx expre…
  • I have given you my statement of work and now I have to make a entity relationship diagram and I need help with creating entities and attributes as well as relationship descriptions. Please help ūüôā St…
  • While the zyLab platform can be used without training, a bit of training may help some students avoid common issues. The assignment is to get an integer from input, and output that integer squared, en…
  • The purpose of this project is to create Finite State Machine (FSM) which can detect a certain eight digit binary sequence in a continuous serial binary input stream. When the correct sequence is dete…
  • Python Programming Note: Please Python Code Only DEMO CODE POLICY ITERATION 1:(ELEMENTS) importsys Importrandom class MDP(object): def __init__(self,states,actions,transition,reward,discount=0.5): sel…
  • here’s my code: def main(): ¬† ¬†input_file = open(‘strings.txt’, ‘r’) ¬† ¬†for line in input_file: ¬† ¬† ¬† ¬†line1 = line.strip().upper() ¬† ¬†strings = {} ¬† ¬†for line2 in line1: ¬† ¬† ¬† ¬†if lin…
  • Python binary search tree. I have most everything figured out except for the Delete method of the Node class. I’ve tried rewriting this several times and I feel like I’m missing something very trivial…
  • explain the results.¬† Are they what is desired?¬† Why or why not?¬† (Desired answer is range (201,301). 1b. One line of python code may translate to several instructions that occur on the CPU.¬† …
  • 3)Which of the following is a valid tuple in Python? b) my_tuple = (1) a) my_tuple = (1,) 4) What is the proper way to save the contents of the following tuple as a list? ¬† a) weekend_days = weekend_…
  • Let’s say we have 3 users. and the? have rated 3 different albums on a scale of 1 to 5. Note that not all users have rated all albums. songDataa = ["Angell’oa": {"Ellues Traveler&quo…
  • Given the following Python code: alist=[12,15,16,19,11,14,10,18,17,13] for val in range(len(alist)-1,0, -1): for i in range(val): if alist[i]>alist[i+1]: temp=alist[i] alist[i]=alist[i+1] alist[i+1…
  • Whats the coding for these parts? (for the whole project en general) c} read_category_Ô¨Āle(fp) reads the file object containing the citation data from over 200 categories. We are only interested in t…
  • ńĪ have 2 hours .T hanks in advance Code In [ ]: class polynomial: A class that represents a polynomial # YOUR CODE HERE pass def eval( self, x ): Evaluates and returns the numeric value of this polyn…
  • WANT TO WORK ON ASSIGNMENT 3. 1 0f 3 336 Programming Assignment 2 General Statement You must write this assignment starting with Template for Functions (diapter 5+).py. You earn up to 60% by cor…
  • Task 4: Polynomial evaluation Explanation This problem seeks to level up your expertise in using numpy arrays, and doing arithmetic with them. Indexing is also stressed. Let A be an mxn numpy array. L…
  • Using python, I need help with a list comprehension function. Below is starter code, and attatched is directions. If the digits of the number equal x, then it returns true. def digitSum(num): ¬†¬†”’ …
  • #Using Spark RDDs only from pyspark import SparkContext sc = SparkContext(“local[4]”, “hw1”) import wget fileName = ‘https://people.bu.edu/kalathur/datasets/stocks_2013_2021.txt’ wget.download(fileNam…
  • I need the code in python 2 not in python3.¬† Again please make sure the code is in python2. Thanks¬†. Minor Assignment 5 – Python Due: 11:59 PM on Wednesday, December 1, 2021 PROGRAM DESCRIPTION: In …
  • I’m having serious trouble figuring out how to start coding for these problems. I’d be more specific, but honestly, I’m horrible with this coding language and I have a hard time remembering things abo…
  • Given a number of bits, write the¬†get_sample¬†function to return a list¬†n¬†of random samples from a finite probability mass function defined by a dictionary with keys defined by a specified number o…
  • Parts a and b of this question involve creating drawings or descriptions. You can make your drawings whichever way is easiest or fastest for you. For instance, you could simply make your drawings usin…
  • What will be the return of using function¬†pip_cross¬†on the polygon shown on the first figure of the Point-in-polygon tutorial?Assume we use the left point of half-line¬† a . You can either run the a…
  • Please include descriptive comments with the code!. Whenever folks on Earth get into trouble they look towards the Superheroes Federation to save them. Design and implement a Python class cal…
  • Solve these questions Java Q#1: Short answers: 1. Explain the difference between a has-a and is-a relationship among classes. [1 Mark] 2. If a base class has a public method go() and a derived class h…
  • please help me to fix this error in Python 3.6: cost = 0 accountType = input(‘Enter the type of account(r/c): ‘) if(not(accountType == ‘r’ or accountType == ‘c’ )): print(‘Invalid client type’) else: …
  • Write a Python program to create a list of 100 random points. These points must be objects of the Point class. The X and Y coordinates of these points must be random float between a range and any arbi…
  • Programming exercises: Question 3b Open a new file with IDLE. Write a program that has two functions one called is divisible and the other called is divisible23n8 .The function is divisible is the sa…
  • this is a python programming question, using corrective form to solve it its is ok (Place your answer to this problem in the "annoyance.py" file) Method Call Expected Output annoyance ( &quo…
  • Please use Python3.9 for coding. You need to design your solution before you start writing your code for any of the issues below. Using pseudocode, flowcharts, or just about any artifact that demonstr…
  • Pick a dataset. you can pick a dataset from kaggle. The dataset must have at least 500 records. 5000 records would be preferred. Minority class needs to be at least 10% of the data. ¬† 1)Clearly defin…
  • Hello, how can I print out the information of a specific row in a dataframe? For example with the dataframe below. If I wanted to print out just row #4 with the information of Kansas. I tried the code…
  • anyone can help me solve the python homework. Question 3 Suppose the following mark-to-grade conversion table is adopted in this course. Mark range Grade 49 or below F 50 to 59 D 60 to 69 C 70 to 79 B…
  • Please kindly explain the functions of these line of codes in python ¬† import csv with open(‘Users.csv’) as Userfile: ¬† ¬†Userdata = csv.reader(Userfile, delimiter=’;’) ¬† ¬†for row in Userdata: ¬† …
  • PYTHON PROGRAMMING:¬† USE try/except. Computing the area of a trapezoid. Formula: A = (1/2)(b1+b2)h.¬† In the formula b1 is the length of one of the bases, b2 the other. The height is h and the area i…
  • Coding Guidelines [ ignoring these guidelines will result in marks deductions even if your program is syntactically and logically correct] : 1- Comment your code where necessary to improve the readabi…
  • Statistical Modelling and Graphing Citation: Trends in Internet-based business-to-business marketing Abstract: The Internet is changing the transactional paradigms under which businesses-to-business m…
  • def daily_summary (db : {str:{str: (int,) }}) -> {str: {str:int}}: pass def high_volume (db : {str:{str: (int,) }}) -> [str]: pass def read_db (file : open) -> {str: {str:(int,)}}: pass def t…
  • D Question 3 1.5 pts We know that when x is zero, log2(x) is invalid. In such a case Python will display the technical details about the error and stop running our code. Now we want to detect the pote…
  • Practice Problem #2 ¬† Diving Scores ‚ÄĘ You have been asked to determine the diving score results. ‚ÄĘ There are 7 judges who provide their score between 0 and 10. ‚ÄĘ The highest and lowest scores a…
  • 2 part Python Question. Will rate answer!! Thank you import random die = numLtrials total = 0; for i in range(num_trials): r011 = random.choice(die) print(roll) total += r011 print(‘Average score:’, t…
  • Please use python Write a code to Implement Cubic Polynomial Regression to find the line of best fit for the given data in the following template with Numerical Computation of Gradient ¬† #!/usr/bin/p…
  • I need to store the appropriate boolean in the variable provided for each of the following statements: function_names¬†|¬†basetball_game¬†is a better function name than¬†BasketballGame pwd¬†|¬†pwd¬†is…
  • . Part5 (10 points) . a) Show the original data as shown below. Create HighDate and LowDate columns for each row in the data using the Date column. . b) For each stock, what is the largest High a…
  • Help me to solve this LU decomposition using python. Problem 2 LU decomposition a). write the function write a Python function to perform LU decomposition on a function. The input is a 2D numpy array …
  • When discussing an image, what is an image’s aspect ratio? ¬† a. The ratio of the image’s bitrate to its size. ¬† ¬† b. The ratio of the image’s colors to their brightness. ¬† ¬† c. The ratio of the i…
  • So far I have this: def main(): boysList = [] girlsList = [] try: boysFile = open(“BoyNames.txt”, “r”) girlsFile = open(“GirlNames.txt”, “r”) for Boysname in boysFile: boysList.append(Boysname.strip()…
  • Kindly create a flowchart for this. ¬† Link: https://colab.research.google.com/drive/1scpWpcgGdLt5NOjoZ6Q874PyHxqXKsRx?usp=sharing
  • Appendix Data standardization Let D be a data matrix, so that D,, is the value of D at row i and column j. You can standardize D by following the equation below. Dij – D, D’if = max(D; ) – min(D;) whe…
  • How can the basic if/elseif/else control statements help meet structural design objectives in your code? Provide a code example to support your comments.
  • Hi I am trying to convert a sparse matrix COO format row list to CSR format row ptr in an efficient way because the matrix has a millions row. For example: coo_row_list=[0,0,0,1,1,1,2,2,2,2,3,3,3,3,4,…
  • im stuck on 2.1.4 and don’t know how to proceed. %20lab03.ipynb X G … Launcher X STOR 120 lab03.ipynb X lab03-array_logarithm.jp x lab03-array_multiplicaticX lab03-chaining_method, X a + 20 0 Markdo…
  • Hi, Can I get help on how to format the below data in Python? The very bottom screenshot is how it is supposed to look in the end. I just need help with the coding on how to get it to look like that. …
  • Questions about Pandas jupyter path : https://drive.google.com/file/d/1WbV_qnqs7sSsBU8Wz4wJ0tTq5vFUkKh_/view?usp=sharing data path : https://drive.google.com/drive/folders/1ukZ3xhtSxmUc9wW22TADhC_E6ZJ…
  • Help make a Python code to compute the sum of all the 3-digit numbers in the list that greater than 500 from (10,40)
  • So far, I have only been able to make the square: import turtle turt = turtle.Turtle() def square(s): ¬† ¬† ¬† turt.fillcolor(random.choice(colors)) ¬† ¬† ¬† turt.begin_fill() ¬† ¬† ¬† for i in ran…
  • Read the bank.csv file and assign it to the bank_df data frame. 2. Check the number of null values ‚Äč‚Äčin the data. 3. Plot the distribution of deposit, the target variable, in the seaborn packag…
  • (5pts) Write Python code that computes the list of numbers between 0 and 100. Print only numbers that are both even and multiple of 7. – Hint this should be very similar to what you did on the Fi…
  • PART 1 Spongebob has a claim about the years 1988 to 2012 .¬†He asserts that every year in that range, has repeated digits in the 4-digit year identifier.¬† For example, the year “1988” has two of the…
  • I had some problem to code the exercise 3. Can you help me?
  • My project needs help!! Design a program that asks the user to enter a series of 10 numbers.¬†The program should store the numbers in a one-dimensional array and then display the following data: ¬∑¬†?…
  • Plan and execute ‘Store programmed framework’ like the Apple store, permitting the staff to convey and give a brilliant client experience. You should fabricate a Client/Server-side programming framewo…
  • Please make sure you use the examples given as your test code. And also, be careful with whitespaces.. (2) Extend the program to prompt the user for a second item. Output an itemized receipt. (Submit …
  • You will implement a simple program that uses a two-dimensional nested list to represent a rectangular grid of cells on a map. Each cell contains a value that represents the housing price for a typica…
  • Referring to Look-And-Say Sequences here: https://en.wikipedia.org/wiki/Look-and-say_sequence I need to code using a non-destructive function lookAndSay(lst) that takes a list of numbers and returns a…
  • I need helping making a program where it operates like a cashier terminal in a grocery store. It begins by prompting for the number of different items being purchased and then starts a loop . In the l…
  • Program B Write a short function that given a list, adds together all the values in the list and returns the sum. Write your program so it does this operation with varying sizes of lists. Record the t…
  • write a small Windows Form Application as follows 1. Name the project Numbers 2. Has a title bar with your name as the displayed text. 3. Has a text box, with a label next to it saying “Enter an integ…
  • please i need help with the following questions 1. In the Python interpreter window (aka IDLE), create four variables. The variables will hold: your name, your age, your major, your intended graduatio…
  • I’m using the python language Sites like Zillow get input about house prices from a database and provide nice summaries for readers. program with two inputs, current price and last month’s price (both…
  • I need help with following: Given rosterDeque: 351, 814, 216, 636, 484, 102, what does GetLength(rosterDeque) return? 1)352 2)102 3)6 Which operation determines if the deque contains no items? 1)IsEmp…
  • Question 11 Why would a programmer use a¬†while¬†loop in Python? ¬†To print an action a certain number of times ¬†To print an action during the time a condition is true ¬†To repeat an action an unknow…
  • I am using Python for this assignment Have a conversation with the user. The program must ask for both strings and numbers as input. The program must ask for at least 4 different inputs from the user….
  • A Python program named¬†GUESS_NUMBERS.PY. Use¬† NUMPY ¬†to generate a random number between 1 and 100. Then, accept INT input and ask user to guess the number. Inform if high or low. Exit when entered…
  • Write a Python program (IDLE 3.9) for a bank account. The input will be how much money I have in the bank account, 2nd input will be how many years. The interest rate is 10%. The output will be how mu…
  • develop a Python application¬† File manager: the user should be able to create folders and subfolders and should be able to copy and move files to the newly created directories. The user should be a…
  • Write a multi-threaded program, that request the user to enter an integer value, and then pass it to a two different threads. Thread 1 run a function called Multiples-of-5 5l licl) that check if the n…
  • The following words have three consecutive letters that are also consecutive letters in the alphabet: THIRSTY, NOPE, AFGHANISTAN, STUDENT.¬† Write a program that accepts a word as input and determines…
  • The following stand-alone Python function accepts a list of references and returns a bibliography containing those references. It assumes the ADT is implemented as a Python class, i.e. using¬†Bibliogr…
  • What is the name of the country with the loan that took the longest to raise? Store your result in the variable longest_to_fund
  • Create a new class named FlightItem by extending Item class in the Jupyter notebook handed out as the part of the lecture.¬† Add following data attributes: departure destination travel_distance travel…
  • A trie is a special kind of tree-shaped data structure. We’ll meet more such data structures soon, but we’ll be using tries here to represent a set of words. The gist of a trie is that it represents w…
  • I need help with this problem please Problem ( python program ) A school has a number of professors. Each professor teaches one class. At the end of the semester, they test the students in their class…
  • Need help creating classes for this program. ¬† You are going to enhance the prior assignment by doing the following 1) Create a class that contain all prior functions 2) Test the application Sample o…
  • My function is called upHill which will produce the first and last characters within a string. The function will take as parameters the string to get the first and last characters from. This function …
  • Reducir los costos variables por unidad en $25 a traves del uso de materiales menos costosos y tecnicas de manufactura ligeramente modificadas. El precio de ventas tambien se reducira en $30 y se h…
  • Write a program that prompts the user to enter a number. The number will always be >= 0 and <= 999. You can assume that the user will always supply you with an integer within this range. Next, i…
  • I am working on a python homework using the pandas library on jupiter notebook. My professor told me to use a .csv file about flights. This is one of the questions I need to answer: “Which city has th…
  • i need solution of 3rd, XG boost. Assignments: 1. Add another feature called Preferential Attachment with followers and followees data of vertex. you can check about Preferential Attachment in below l…
  • Calculating charges part 1 Below is my code and screenshot of error. I cant seem to figure out how to get the letter D in the correct place. import sys ”’ Section 1: Collect customer input ”’ ##Coll…
  • please I need help in this python question. ¬†. Lab 7 – Web Scrapers and Spiders Hide Assignment Information Instructions Lab 7: After reading the materials from this week’s topic, research online and…
  • Tableau Hands-On This Hands-On will be graded. The best way to become a data scientist is to practice! Caution! ¬† Do not submit your project until you have completed all requirements, as you will not…
  • Complete the function that takes in a number and returns the sum of the multiples of 4 upto the given number. For e.g., if the function is invoked as below add_four_multiples(15) then it should return…
  • I created a pygame I need help fixing this code mainly the bullet parts import pygame, sys pygame.init() #helpful variables ¬† size = width,height = 900,500 ¬† black = 0,0,0 sky = 150,150,255 ground =…
  • Hi How can I right-align a list if words according to the longest word in the list using iteration and arrays? For example: list= [“Anna”,” Jay”,”America”] The output should be: Anna Jay America Thank…
  • I don’t understand how to approach this problem. rial.py 6. 2. Factorial # Get N from the command line Collapse Challenges import sys N = int (sys . argv[1] ) # Your code goes here 6. 2. Factorial N *…
  • write a function called¬†hypotenuse¬†that returns the length of the hypotenuse of a right triangle given the lengths of the other two legs as arguments.
  • Hello, Could you please help me figure out the code for r programming? Thank you! The question is asking for : a function called my_table() that returns a named vector containing the frequencies of ea…
  • Write definitions for the following two functions: sumN(n) returns the sum of the first n natural numbers sumNCubes(n) returns the sum of the cubes of the first n natural numbers Then use these functi…
  • Please let me know if you can help with the attached question. Thanks!
  • Working on the following allow users to enter information for five employees at the same time, where the first employee information entry is saved in index [0] and the second entry is saved in index […
  • You are tasked with creating a program for your local zoo. Zoo is looking for a way to track the animals, which keeper they belong to, and whether or not the animal has been fed. I have provided a cla…
  • Create a Python program that reads the contents of a text file and displays the frequency of every unique word as well as the line numbers that the word is found on. ¬† The program should be able to c…
  • Write a function to perform matrix-vector multiplication. It should take a matrix A and a vector b as arguments, and return the vectorAb. Use two loops to do this, rather than %*% or any vectorization…
  • Matrix is provided below, please provide steps behind your logic. Thank you. CostMat = [[0,6,8,6,7,3,5,2,3,2,5,5,4,4,5,8,7],[6,0,6,3,2,5,7,4,7,8,11,7,6,8,11,10,13],[8,6,0,9,8,5,3,8,5,8,5,13,12,12,9, 1…
  • i Need this written in python. mainly how the server will receive and process the users input in a multithreading environment
  • Hello, I am having some issues with my Python Code. I need it to stop when the user selects that they do not want to open an account. I also need it to keep track of how many incorrect pin attempts ar…
  • Python ¬†Item Page a. Please define a function that asks the user to get the items’ information and add that to the list. Whenever the user enters “NO” it will finish getting the items’ information. b…
  • A Python program: A class named BlackBoxGame for playing an abstract board game called Black Box. It takes place on a 10×10 grid. Rows 0 and 9, and columns 0 and 9 (border squares), are used by the gu…
  • Can i get python code for the below problem? ¬† Given the handles of input and output csv files, a lower cutoff value and an upper upper cutoff value, write a properly formatted csv file to the output…
  • I have to code 2048 game using the functions given in the utilties.py. But I am lost on how to start this project. How do I generate a random piece and location using the generate_piece function and p…
  • Hi, I meet a problem while learning AI. So, could you please help me solve it and offer me some detailed explanations. Thank you so much! To train a perceptron for solving OR problems (training data: …
  • def test_purchase_history(self): conn = sqlite3.connect(‘small.db’) conn.row_factory = sqlite3.Row ret1 = (‘Purchase history for Rich Thompson\n’ + ‘———————————-\n’ + ‘Sams Teach…
  • please make sure to read the question properly. This is the third time I’m asking the same question because I was given a random answer that had nothign to do with what I asked. Thank you!! ¬† ¬†. fro…
  • The cosine similarity formula can be used to calculate distances between n- dimensional points :1: 2 (11:1, . . . ,scn) and y = (m, . . . }”9%). Assume each point is a collection of numbers stored i…
  • anyone able to help why my code isn’t working by not broadcasting the picture? Here is my Code: import pygame, sys, random, math from pygame.locals import * pygame.init() SCREENWIDTH = 600 SCREENHEIGH…
  • I am not sure where to start with this problem.. CHALLENGE ACTIVITY 4.2.1: Enter the output for the if-else branches. 356102 2281682 qxArgy7 Jump to level 1 Type the program’s output num_apples = 5 if…
  • Approximate the exponential function ed using Taylor series by defining a function exp_taylor that . takes as arguments o a floating point number x, o an optional non-negative integer n default to 10,…
  • What ¬†statement would make Class A the base class of class B?
  • For this lab, we will look at classification using scikitlearn, using Decision Trees and the k-Nearest Neighbour algorithm with the Iris dataset (using 2/3 of the data for training and 1/3 for testing…
  • from collections import namedtuple Book = namedtuple(“Book”, “title author price”) def expensiveBooks(price, listOfBooks): ¬†¬†¬†”’ ¬†¬†¬†– Returns a list of book titles of Books that are greater or …
  • python physics hw help needed would be nice with explanations as well. Exercise 2.6: Planetary orbits The orbit in space of one body around another, such as a planet around the Sun, need not be cirCul…
  • About the Data All of the data is contained within the “celebrity_deaths_2016.xlsx” file which contains 2 sheets: ‚óŹ “celeb_death”: contains records of deaths of famous humans and non-humans ‚óč Ther…
  • Please use object oriented programming design. itHub URL: https://classroom.github.com/a/19-|pfzK Write a program that will calculate the area and perimeter of a rectangle. The program is to use Objec…
  • I am not sure where to start with this problem.. CHALLENGE ACTIVITY 4.2.1: Enter the output for the if-else branches. 356102 2281682 qxArgy7 Jump to level 1 Type the program’s output num_apples = 5 if…
  • Triage is the medical practice of determining the severity and urgency of conditions to determine the order a large number of patients should be treated in. This is an important and challenging proble…
  • Write a program that receives a list of integers from the user and does the following Displays the items in the list (2pts) Displays the size of the list (2pts) Calculates and displays the sum of the …
  • For each of the following visualization scenarios: ¬†¬† State the chart that is most suitable. List the pre-attentive attributes that can be used by each chart. Include what each pre-attentive attribu…
  • # create an application to collect a student information including # full name, student number, and 5 different marks for 5 different course # show the information of the students along with average o…
  • . Practice! Practice! 8. Choose and write only one of the functions (aka methods) with one input (labeled 6-7) in the image below. Write the function — with comments — and one test. The best way t…
  • Above shows on shell how answer will be implemented. Write a function sumPositive() that takes a string representing the name of a text file as a parameter. The function reads the numbers found in the…
  • Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. Describe each possibility Define “precondition” and “postcondition” as part of your descr…
  • #!/usr/bin/env python3.6 import argparse parser=argparse.ArgumentParser(description=”parser for finding match”) parser.add_argument(‘word’,help=’You need a word here’) parser.add_argument(‘–number’,’…
  • QUESTION 1 Write a function called¬† myavg() ¬†to calculate and return the average of a list of numbers. The function should take a list of numbers as its only argument and return the average value of…
  • The notion of a palindrome was discussed in our analysis of algorithms lecture. In this exercise you will write a recursive function, test_palindrome(str, left, right), that determines whether or not …
  • Write a program that converts Canadian dollars into US dollars and Euros. Your program must first ask the user which conversion to perform (1 for CAN to US and 2 for CAN to Euros). Then, the program m…
  • A program which reads the data below 1945 18.5 11.8 19.7 31.6 26.6 37.3 37.4 24.6 34.0 71.3 46.3 28.4 1946 55.2 92.0 87.5 81.0 83.5 79.6 115.1 112.7 115.7 112.7 136.2 127.4 1947 128.2 145.5 153.0 161….
  • Programming Assignment¬† Using IDLE IDLE is a particular Integrated Development Environment (IDE) that is typically included in a Python installation. An IDE will enable you to use a text editor to cr…
  • def exercise15(): Use the real estate transaction DataFrame from Exercise 8 and extract into a new DataFrame every 5th row using iloc and just the street address and zip code columns. This can be don…
  • Read the students_database.csv file and develop the necessary functions to find an answer to¬† the following questions. Your functions must work on all files that have the same features(same¬† colon n…
  • Suppose S is a sequence of n values, each equal to 0 or 1. How long will it take to sort S with the merge-sort algorithm? What about quick-sort? (PYTHON)
  • Please !!!! I need help with the coding for this project that I’m working on in python. I already have some of the code but I’m stuck and I’m pretty sure it’s not right because it’s not working at all…
  • (please write right return values) Write a function add_powers(m, n) that takes a positive integer m and an arbitrary integer n, and that uses a loop to add together the first m powers of n (from n**0…
  • what are the benefits of incorporating a modular design into a computer program.
  • Design a program which will utilize a control bit 0 to trigger an event task each time that it makes a false-to-true transition. The event task should include a counter to keep track of the number of…
  • Write the code that displays as output “It is a Porsche” when the variable named car contains the string “BoxsterS” (entered using any case). I need this to be executable in IDLE, could you show me ho…
  • Describe the Python debugging tools that you would use most often. Describe the unique elements of this tool. Explain the advantages this tool has over other Python debugging tools.
  • Write a class called BetterLengthStats that extends LengthStats defined in part (a). BetterLengthStats should define two additional methods. Method word total should return the total number of words t…
  • Hello, I need help solving this Lab simulation, It uses Driving costs for variables and expressions statements and I am very new at python on so I need help solving it. It is very difficult. It is ver…
  • Create a student database program.¬† This program will allow the following: Add a new student to the database 3pts Remove a student from the database 3pts Display details about a student 3pts Remove a…
  • . Figure 2: Step by step solutions to the above game Figure 3: Unsolveable game: [3, 4, 1, 2, 0]. Module 5 Homework ‚ÄĒ Recursion Many of the problems used to teach recursion are not e’li"’1c…
  • Problem ONE: An Internet Service Provider (ISP) must, as part of its service to customers, provide a Domain Name Server (DNS). A DNS is a server that maintains a database of domain names, such as www….
  • Instructions: Create a PowerPoint that contains a FLOWCHART and a PSEUDOCODE for each problem (You may use a different application if PowerPoint is not available). Use the information below to create …
  • What would this function below ¬†return: ¬† >> def fun(x = “default”): >>¬† ¬† ¬†y = x,¬† ¬†# <—- There is a comma on this line on purpose >>¬† ¬† ¬†temporary_list = [] >>…
  • I need help with def turn_payouts, def build_players, def compostion and def run_turn / game. I included all screenshots for reference incase confusion
  • class Set: ¬†¬†def intersection(self, source): ¬†¬†¬†¬†“”” ¬†¬†¬†¬†——————————————————- ¬†¬†¬†¬†Efficiency: O(*) ¬†¬†¬†¬†——————————————–…
  • A python code for backpropagation is uploaded on Canvas. Please go over the code and write one page report about all the functions and classes that you see in code.
  • *******Using Python Programming: Need some help with a project. Creating python code to solve a problem, ¬†Here are the rubric guidelines. Please give me any ideas or suggestions. 1) Program needs to …
  • Proplem#3: A program that calculates a customer’s bill for a local cable company. There are two types of customers: residential and business. There are two rates for calculating a cable bill: one for …
  • We will use one full day worth of tweets as our input (there are total of 4.4M tweets in this file, but we will intentionally use fewer tweets to run this final): http://dbgroup.com.depaul.edu/DSC450/…
  • Create a flowchart to do the following: – Part 1 Step 1: Create a list that contains a shopping list only using input() (do not include the number of the item as part of the list) Step 2: Create a loo…
  • https://restcountries.com/#api-endpoints-v2-all above is the link needed¬† https://restcountries.com/v2/alpha/usa. Common Countries Function Name: commonCountries () Parameters: langTup1 ( tuple ), la…
  • Describe how¬† tuples ¬†can be useful with loops over¬† lists ¬†and¬† dictionaries , and give Python code examples. Create own code examples.¬† Do not copy them from the textbook or any other source.?…
  • # This is the assignment Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: Ho…
  • hi i am trying to collect items from my dict in different rooms to put in the inventory but my elif code is not working. I have asked this question earlier but did not get an answer. What i got was th…
  • Crawl the first 100 ice cream shops returned from Yelp (near 10023 zip code).¬†Should include the following. ¬∑¬†¬†¬†¬†¬†¬†¬†Ranking ¬∑¬†¬†¬†¬†¬†¬†¬†Name of the shop ¬∑¬†¬†¬†¬†¬†¬†¬†Rating ¬∑¬†¬†¬†…
  • Python will give you high rating for correct help Easy Python Problem (see pic) :¬† Template Code/Guide (see below pic):¬† ### Use this template import random class Card: def __init__(self, value, sui…
  • Hello, I need help with modifying my code. I am¬† restricted to using “WHILE” loop and “conditional statements.” ¬†The question insists on ¬†not using “FOR” loops or list module I need help modifying …
  • need help with this python code Starter code: # Set up the problem. import numpy as np n = 10 items ¬† = list( range( n ) ) weights = np.random.uniform( size=(n,) ) * 50 values ¬†= np.random.uniform( …
  • Use a scripting language that you are familiar with and write code to conduct a passive attack on the network associated with the local organization that you have carried out reconnaissance in 2.2. Th…
  • Example of How the Assistant Runs: A: Welcome to the Calorie Intake Assistant, my name is Cal. What is your name? U: Jane A: Great Jane, lets start! What is your gender? Enter M for male or F for fem…
  • define a function to get prime number until 10001 one and curve a plot : x – axis 0 to 10001 and y- axis : prime number until 10001 one
  • for the country of choice. The user should be prompted for a country. Then the website, traffic rank and average daily page Views for the top 20 results should be displayed using this formatted strin…
  • make changes to the starter code to resolve the error. def divisible_by_7(lst: List[int]) -> bool: ¬† ¬†“””Return True if and only if lst contains an element divisible ¬† ¬†by 7. Otherwise, retur…
  • Write the simplest possible¬† for ¬†loop that will cause the variable ¬†B ¬†to iterate (step) through all the items values of the list as the loop executes. This is a single line answer, that does not…
  • Don’t understand how to apply these questions to the code. Need help on any aspect of the code #Ô¨ĀiÔ¨ĀiÔ¨ĀiÔ¨ĀÔ¨ĀÔ¨ĀiiÔ¨ĀÔ¨ĀiÔ¨Ā‚ÄĒ atomwonmthI‚ÄĒI H Instantiate each class(except jumper) Create a li…
  • Python programming. I’m a complete beginner. Here is the homework problem: Make a single Python program (.py) file that fulfills all of the requirements given below. You will test your functions using…
  • Hello I am trying to implement a function that would allow the average time between two invoices in the CSV. My function is called time(invoices) Option3 in the menu. Can you please correct my code th…
  • If V1 is optimal value of the original function MDP and V2 is the optimal value of the modified function MDP, with noise added to the transition of the original MDP, Is it always the case V1(start) &g…
  • Can some one help me with a python code for BUBBLE sort, which should take the data from a data set of 100 numbers from an csv file . Here is the link for the data set. Kindly help. ¬† https://docs.go…
  • Does creating a new object invokes the class constructor?
  • When we reference a name in Python, the Python interpreter begins a process to find the object that you are referencing. Briefly explain this process.¬† ¬† A correct answer will explain this process u…
  • Write a function countVowels that accepts a string and counts the number of vowels (a,e,i,o,u) in the string. The function needs to return the count to the calling environment. ¬† Expected output: The…
  • Write a function named display that accepts three arguments/parameters. Assume the first argument is a string (you are guaranteed of that, so there is no need to worry about it) and should be named st…
  • Create a python script reads in the first and last name from a user and stores it within class variables. The script will then output the info in the format of last name, first name. The script will …
  • Could you use python regular expression to extract ‘happy new year’ from ”this is the happy beginning of a new year and ”? ¬† thanks.
  • I am confused about how to go about writing this code. I am new to matplotlib and don’t know what to do. The last image is an image of the provided file for its format. Thank you for the help. ¬† ¬† ?…
  • Python Data Science linear regression using a gradient descent algorithm problem. Setup Code: import numpy as np import matplotlib.pyplot as plt %matplotlib inline def f(X): return 1/(1 + np.exp(-X)) …
  • Python: Currently working on a program that prompts users to insert the name of city and its temperature for 5 different cities. Then the program should calculate the average temperature from those ci…
  • positive_words = [“amazing”, “appreciate”, “awesome”, “beautiful”, “best”, “brilliant”, “celebrate”, “cheer”, “cool”, “delicious”, “eager”, “enjoy”, “fortunate”, “fun”, “glad”, “good”, “happy”, “kind”…
  • . Question 19 Not yet answered Points out of 5.00 The following code is somewhat buggy: def while_test ( key) : x = input(‘Enter the password ‘) max_tries = 3 tries = 0 while(x != key and tries <…
  • Please define the following function in python and follow the algorithm given: random_song(filename, tempo, tuning, num_measures) Description: Uses the random module to write song made of random notes…
  • plz help. 1. Write afunction cube(x) that takes a number x as its input and returns the cube of its input (Le, x raised to the power of 3}. For example: >>> cubeCZ) result: 3 >>> cub…
  • Select from the statements below the one’s which are true about programming tools for data scientists.
  • A python program that uses tuple. A tuple of your matric subjects. The program must display the first element, the last element, and the length of the tuple.
  • . Complete the AbstractCollection class discussed in this chapter. Then revise the AbstractBag class so that it behaves as a subclass of AbstractCollection.
  • Write a program which prints user’s purchase list and invoice using Conditional Operators. ¬† The program will prompt the user for various pieces of information about the desired breakfast. Some of th…
  • I need assistance with python web scraping code I need to scrape the info below 2019 Ford Escape, 2019 Honda CRV, 2019 Hyundai Santa Fe, or 2019 Toyota Rav 4. Criteria 1 (Company Criteria): Safety fea…
  • due: Feb 7th, 11:59 PM 1. Write a program for flipping a coin 10,000 times and store the results in a list. After which, identify the number of streaks. (streak – a series of 5 or more heads or tails)…
  • Can someone tell me where I went wrong?. Gmail YouTube Maps News Translate ] mySNHU Login & ProQuest Ebook Ce. = zyBooks My library > IT 140: Introduction to Scripting home 7.9: LAB: Sorting TV…
  • A food fest is organised at the JLN stadium. The stalls from different states and cities have been set up. To make the fest more interesting, multiple games have been arranged which can be played by t…
  • need help getting all the expenses to add up in the end market_prices = {} products = [] ¬† rerun = True while rerun: ¬† ¬†item = input(‘Enter item name’) ¬† ¬†products.append(item) ¬† ¬†more_item = i…
  • In PyCharm, write a program that prompts the user for their name and age. Your program should then tell the user the year they were born. Here is a sample execution of the program with the user input?…
  • Data Wrangling Project Your second project will be to write a python script *from scratch*. You will develop a script in a file named process_grades.py that will read in some grade data, process it, a…
  • The file ” toronto_data.txt “, attached, contains hourly weather data for the city of Toronto recorded between October 19 and Nov 8, 2021. Each record is comma separated into data fields corresponding…
  • The insertion of data into a tree can be done in various ways to ensure the height of the tree is minimum, and that searching the tree for an item is not more than O(log n). Python Programming.¬† a) D…
  • The shoelace formula (htt s: en.wiki edia.or wiki Shoelace formula) is an algorithm to calculate the area of a simple polygon given the vertices. Its name comes from repeatedly cross-multiplying the c…
  • Create a function named mat_operations() that takes in two matrices a input parameters it should: Determines if the matrices are viable for operation and returns your own error message if they are not…
  • write one function named¬†count_calories. This function should have one parameter, which will be a dictionary of food items. The keys will ne the name of a food item (such as¬†‘granola’¬†or¬†‘steak’),…
  • Python : 8.11¬†LAB: Processing Text Files In this exercise, you wil l build a program to process files containing paragraphs. The aim of the program is to simply count the number of words and compute …
  • Write a Python Program using the selection structure if/else to solve the following problem: The heating system in a school should be switched on if the average temperature is less than 17 degrees Cel…
  • In this lab assignment, students will demonstrate the abilities to: – (create) and use strings – Use string methods – Write code to read data from a text file – Write code to write output to a text fi…
  • Create a folder named lastnameCh6Sum where the last name is your last name. Example: summersCh6Sum Inside your new folder place a copy of the attached numbers.txt file I have attached below. Write the…
  • Question 1 (30 marks) Marking scheme: up to 20/30 marks for fully correct code, up to 5/30 marks for good code style, up to 5/30 marks for comments. You are required to write a program that can accept…
    • gnu-um. u. \u] Inside Ô¨Āle distance .py, create a function distance(x1 ,yl , x2 ,y2) which computes the distance between two points x1 ,y1 and x2 ,y2 using the formula distance = Sqrt( (x1-x2) ‘2…
  • For this site, https://wttr.in/Boston?format=j1 I need to read it in the form of a file and not in the form of a link in the code.. I could not copy all the information on the site because it is…
  • . You are given a file, named student_grades . txt , where each line contains a UWNetID, followed by a colon, and then some number of numbers separated by spaces. Fill in the code below to create a …
  • Manually write a polygon feature using GeoJSON format in Python. You must have at least 10 different points to form the polygon. A polygon should not be self-intersecting. Then write a Python program …
  • Urgent Copy-paste the given function header (with or without the docstring) into the answer window and then complete the body of the function. Then below, write the call expressions that match the giv…
  • S = input( ‘Enter the string: ‘ ) if len(S) < 50: print (S.isalnum()) print (S.isalpha()) print (S.isdigit()) print (S.islower()) print (S.isupper()) else : print ( ‘String is greater than 50 chara…
  • Shylah Carter 02/14/2021 Introduction to Scripting- 21EW3 6-4 Milestone: Moving Between Rooms Program Code: Copied from PyCharm # declaration rooms = { Great Hall’: {‘South’: ‘Bedroom’}, Bedroom’: {‘N…
  • PYTHON – USING RECURSION Bob has a drinking problem … not that kind of a problem. Bob drinks Gatorade, but he likes to have several glasses of Gatorade in front of him. He also has developed the pro…
  • Program to print an interger representing the total count of the data packets sent through the network
  • need help on the initialization code, the while header, the while loop body and the return statement Pictorially, we represent it as follows: P4: h W b ??? b[x] is the minimum of these Write your 100p…
  • from keras.models import Sequential from keras.layers import Conv2D from keras.layers import MaxPooling2D from keras.layers import Flatten from keras.layers import Dense import numpy as np from keras….
  • USING PYTHON DATA SCIENCE PLEASE IMPORT SYS AND ARGV MUST BE USED PLEASE IMPORT SYS AND ARGV MUST BE USED PLEASE IMPORT SYS AND ARGV MUST BE USED ¬† Use the fastfood.csv file to complete the following…
  • Can someone please tell me why I am getting errors and which line is incorrect. The instructions are: Team Management Part Three Until now, you have had to leave your team management program running o…
  • Given Code 9-2(exercise #2):¬† arr = [] ¬† ¬† for i in range(5): ¬†s= input(‘Enter string {} ‘.format(i+1)) ¬†arr.append(str(s)) ¬† print(‘The input array string is:’, arr)¬† arr.sort() ¬† ¬† ¬†¬† pri…
  • What is wrong with this code? ¬† Database.py ¬† ¬† import pyodbc myConnection = pyodbc.connect( ¬† ¬† server=”cisdbss.pcc.edu”, ¬† ¬† database=”NAMES”, ¬† ¬† user=”275student”, ¬† ¬† password=”275stud…
  • The goal of this assignment is to build a simulation of a popular children’s dice game named Beat That.¬†Beat That is an educational game in which children learn strategic thinking and the concept of …
  • . zy Section 6.13 – IT 140: Introduction X java – Varied amounts of input de X Course Hero X (2 unread) – mike1092@yahoo.cc x + V X C learn.zybooks.com/zybook/SNHUIT 140v3/chapter/6/section/13 it Ap…
  • please help me with this, stucked Permitted methods: { String methods: format(), split(). { List methods: append(), extend(). { Dictionary methods: items(), values(), setdefault(), get(). Write a func…
  • numpy and pandas ¬† df=pd.DataFrame({‘id’:[‘i10012’, ‘i10013’, ‘i10014’, ‘i10015’, ‘i10016’, ‘i10017’, ‘i10018’, ‘i10019′,’i10020′,’i10021’], ‘age’:[19,18,28,33,32,31,46,37,60,25],’sex’:[‘female’,’mal…
  • You are tasked with creating a program for your local zoo. Zoo is looking for a way to track the animals, which keeper they belong to, and whether or not the animal has been fed. I have provided a cla…
  • can someone please help me please and do it exactly like the question is asking. its super picky Safari File Edit View History Bookmarks Window Help 83% Mon 9:45 PM _ Geilan Albayati Q QE . . . < &…
  • Develop a function to read a single specified column of data from a CSV file The function should accept two parameters: the data file name and a column number. The column number specifies which of the…
  • in Python 3.x. Make sure you have downloaded the software, and it is installed correctly. You will download it from this site. You will code the following and submit it in one file. Use the informatio…
  • In Python. The second image may overlap the first with the first two example tests ¬†. Instructions For this lab, you will need to create two files: 0 lab03. py – file containing your solution to a…
  • Hi, I am working on Python, and I just about have it. But… My output is accurate, but when the program is correcting me, it is showing the NEWLINE symbol and the end of the expected output… Im puz…
  • USING PYTHON language: ¬† You are given an array of size N, where an element has a higher frequency than any other element in the array. Specifically, that element occurs at least N/2+1 times. You are…
  • import csv with open (‘Book-Ratings.csv’) as Book-Ratingfile: Book-Ratingdata = csv.reader(Book-Ratingfile, delimiter=’;’) for now in Book-Ratingdata: print(‘, ‘.join(row))
  • Hi, I am trying to create a CART function in python, and I am totally stuck. I don’t know where even to begin. Tree Structure We’ve provided a tree structure for you with distinct leaves and nodes. Le…
  • There are two parts to this assignment, please make sure to give yourself enough time to complete both parts. 1) Setup Data Science environment and get exposed to relevant packages ¬†¬†a) install Anac…
  • confused Codio Project File Edit Find View Tools Education Help Configure.. Project Index (static) Configure.. BFEDELL easy.py 3. 1. Easy pe… X 1AWN # Get our list from the command line arguments im…
  • class BlockWorldAgent : def _init_(self ) : # If you want to do any initial processing, add it here. pass def solve(self, initial_arrangement, goal_arrangement ) : # Add your code here! Your solve met…
  • Support and Confidence thresholds are two key parameters used in association rule mining. Critically evaluate the usefulness of these two parameters for discovering interesting rules.
  • a function in python that take dataframe as input and drop columns having Pearson correlation more than 0.85
  • help please finding this function def maxlen(text):
  • hi can somone please check my project? I am working on web scraping code & plot/graph of data. you have to use jupyter notebook here is the lab direction: https://drive.google.com/file/d/19RLNhSxu…
  • . Question 1: Your task in this question is to make a flow chart and then write a program in Python that calculates the value of F from following equations. [Marks: 25] i=n 2a; + 3i F = do + bi Wher…
  • Write the function movieAwards(oscarResults) that takes a set of tuples, where each tuple holds the name of a category and the name of the winning movie, then returns a dictionary mapping each movie t…
  • Python I’m having difficulty defining the below function. I’m not sure how exactly to go about it. How would I go about the code?
  • In the previous task, each team member has implemented two functionalities add/remove data from the datasets or search for data. In this task, you will use modules to develop the automated unit tests …
  • How do you see pandas as one of the essential tools for data cleaning and preparation? What is your experience so far in handling missing data, duplicate data, or mismatched data? Have you tried data …
  • “START If txt file exists ¬†¬†¬†Open txt file ¬†¬†¬†Loop until end of file ¬†¬†¬†¬†¬†¬†¬†Read customer name ¬†¬†¬†¬†¬†¬†¬†If customer name directory does not exist ¬†¬†¬†¬†¬†¬†¬†Create customer name d…
  • Code the function def inferred_conditions(pos_examples, neg_examples) and include the overall approach to the question, programming techniques and Python language elements used and explain the computa…
  • What code should I use to create the residual plot charts 13, 14 and 15?. Residuals versus Multiple 20 10 resid -10 -20 0.0 0.2 0.4 06 0.8 1.0 Multiple Chart 14 – Residuals versus Multiple 300 250 200…
  • I need help with this python programming assignment. I am not sure why my function is not working properly. def average (grades) : # function grades = list(grades) total = sum(grades) average_1 = tota…
  • Please use Python3.9 for coding. You need to design your solution before you start writing your code for any of the issues below. Using pseudocode, flowcharts, or just about any artifact that demonstr…
  • Add class methods for subtraction and multiplication We will use the __sub__ magic method for this, just as the code above uses the __add__ magic method. Write a short driver to exercise this expansio…
  • Social Media Automation Description The purpose of this project is to build a web application which would allow a user to upload content in the form of pictures with their associated captions to socia…
  • question? Write a function called countEven that takes a list as a parameter and determines how many even values are stored in the list. The function returns the number of even values stored in the li…
  • . 1. A periodic signal has Fourier series coefficients ap = 0.5 and ax = 1/(jkx) for all other & and period 7 = 50ms. Give an equation for synthesizing this signal with sinusoids. 2. Write the P…
  • can someone help me correct this programm Python a function that accepts an integer argument and returns the sum of all the integers from 1 up to the number passed as an argument. For example, if 50 i…
  • I REALLY NEED HELP AFTER STEP 4 ¬† ¬† ¬† Step 1: Start a new file. In IDLE, select¬† File ¬†and then¬† New File . A new window will appear. This is the window to¬†input your new Python program. Now, t…
  • program that counts the occurrences of grades in a file.¬†The main function will open and read file grades.txt into a list and then call function count_grades .¬†The function count_grades will accept …
  • 1 .How are lambda functions useful? Select all that apply: A) They can be useful as quick,¬† throwaway ¬†single line functions. B) Lambda functions make it easy to read the code. C) They are useful in…
  • I am using windows 10 and i m going to write in spyder , but i am trying to write the flowchart in word or paper. Can you show me? 3. (40 points) Write a Python script (20 points) and draw an algorith…
  • How can I make a recursive function called **reverse_list** that reverses a list passed as an argument. I cannot use any python function to reverse the list.¬†The list must be reversed by the code.¬†T…
  • I’m having trouble defining this function. How would I go about this? Output.txt
  • add two new functionalities to your Employee Management System. Export employees’ information to text file : This functionality will allow the user to save the employee information saved in the list t…
  • Using the following string: “Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python’s design philosophy emphasizes c…
  • first one is the question and the second one is output of the question.. 4. (12 points) Now that we know how to validate AmEx numbers, it’s not hard to generate valid numbers. Here’s an algorithm to d…
  • Hi, can you help me with this python game? “”” Tic Tac Toe game “”” def display_board (board) : ”’ print the current board on the screen using a 3 X 3 table representing a Tic tac Toe board The prese…
  • Part 1 Write a Python program that does the following.¬† Create a string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, an…
  • Week 7 Assignment – Game Time¬† CS192 Grantham University i want to¬†create simple game. Utilize the design tools that you have learned this week to design and program a very simple game like Guess a …
  • If you want to code an if clause, but you don’t want to perform any action, you can code A) an end statement B) a pass statement C) a break statement D) a skip statement
  • Infix expression example: 3+4*5/6 (operators are between numbers) Infix expression evaluation: 6.3333 Postfix version of the infix expression: 345*6/+ Question: Define a class InfixExpression Assume f…
  • Hi experts, please help! ¬†. In old Ô¨Ālm cameras, the Ô¨Ālm would record a negative of the image and it would be developed into the original picture later. The negative is the inverse or opposite of …
  • Need assistance in printing a string variable that states the number of loops required to meet the condition for problem 1.
  • Get all items between 15 and 55 from aa, math expression: [15,55].¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† The aa is uniformly distributed integers in a 1D array (size=20) with given values (<100). Requi…
  • Hi, I have been working on this problem for a while….to develop an interactive version of a Celsius to Fahrenheit conversion¬†program which prompts the user to input a value either in Celsius or in?…
  • This question tests your understanding of Object-Oriented Programming. The following code defines the start of a class to represent bank accounts: class BankAccount(object): interest_rate = 0.3 def in…
    • Implement a tkinter-based GUI program for a simple math game. Your program should present randomly generated simple math problems involving addition, subtraction, multiplication, and division of wh…
  • Lab 8 Zip file. Computer Science 1 – CSci 1100 Once done, use your function to find the set of words for some of the input files and print Lab 8 – Sets the result. Test your code on a few of the files…
  • I am studying how to understand how a python program that reads 10 integers and then finds and prints the sum of the even and odd integers.¬† ¬† For this I am trying to use a while loop to calculate t…
  • I really need help drawing an image of a bird I found from the web using python. Here is the link of the image I want: https://www.shutterstock.com/image-photo/exotic-bird-flying-isolated-on-white-732…
  • Skeleton code: ¬† class StaticArrayException(Exception): ¬† ¬†¬† “”” ¬† ¬† Custom exception for Static Array class ¬† ¬† DO NOT CHANGE THIS CLASS IN ANY WAY ¬† ¬† “”” ¬† ¬†¬† pass class StaticArray: ?…
  • Could you explain each question? 1. In line 1, why do you put integer = [] 2. In line 3, I need an explanation about the integer = int(input()). why do you use input() and integer = int()? 3. In lines…
  • instructions Review the attachments then create a FLOWCHART and pseudo code for the problem below! ¬† Use the information below to solve the problem using flowchart symbols to illustrate how you would…
  • Networking for Software Developers Assignment 1 – Threads and requests. Due: October 25th, 2020 Maximum Points: There is a total of 30 points for this assignment. Premise: There is a speed improvement…
  • Write a function called missing_letters that takes a string parameter and returns a new string with all the letters of the alphabet that are not in the argument string. The letters in the returned st…
  • What is an ‘except block’? ¬† A series of comments describing under what circumstances the program should fail ¬† A block of code that executes when an exception does not happen ¬† A block of exceptio…
  • scaling of CSV file I/O Find a Python code¬†that creates a CSV containing 10 columns of text data‚Äč Each entry in a row should be different. Each entry should be between 3 and 25 characters‚Äč. The c…
  • Please help! Lab: Guess the random number Given the code that reads a list of integers. Create the number_guess() function, which should choose a random number. The random number should be between…
  • Convert the list of 26 letters of the alphabet to the index of the Dataframe, and assign 26 random integer numbers. Print out the first 5 rows.¬†(Using Pandas to solve the problem). ¬† Can you explain…
  • Suppose deg is an angle in degrees.¬† Write down the NumPy code that computes the counterclockwise rotation matrix.¬† Don’t forget to convert the angles into radians when necessary. ¬† def rotate(…
  • Python question for uni, cant import functions. You are supplied with a CSV file called rwc. csv which contains results for all Rugby World Cup pool games up to and including 2011. The fields in each …
  • Lambda Functions – Question Two Write a Python program that does the following: accepts a list of strings converts the string to upper case if the length of the string is greater than 3 characters Mak…
  • Given Reference, import random # This is a list of the valid colors for general use. colors = [‘R’, ‘Y’, ‘B’, ‘G’, ‘P’, ‘W’] # Some functions relating to generating and # validating combinations def i…
  • You are going to correct a program that has several errors in it (specifically, one error per function). You should begin by looking at what the expected output of the program should be for various in…
  • Complete the Scanner class located in scanner.py needed to run evaluatorapp.py . In the Scanner class of the scanner.py file, complete the following: Complete the implementation of the following metho…
  • Write a Python program that can be used as a math tutor for young students. ‚ÄĘ The program should display two random numbers between 1 and 500 to be added, such as 247 +129 ——- ‚ÄĘ The program sh…
  • No an exam or test. Can you help me by explaining this? I am having a hard time since it is a list ¬† Given a string, return the sum and average of the digits that appear in the string, ignoring all o…
  • a python 3 code that will read a.txt and add: allow = { is_part_of_galactic_council = yes } into every top directory such as: resolution_galactic_market_form = { resolution_ecology_repeal_1 = { resolu…
  • This is not a tutor’s work this is a programming problem I need help with: write in python the following program that has either one or two multi-dimensional list or four separate parallel lists for e…
  • Use a while loop that asks the user two questions below: a) what their favorite movie and b)why they like that movie. 4. The while loop should break when a user enters NOT ‘yes’ to a que…
  • Hello, I want to install turicreate, but this keeps showing up, and I have totally no clue how to fix it. Could you help me with that? Thanks!
  • Use the 20Newsgroups data from the drive to compute¬† 10, 20, and 30 topics, using TopicModelingGUI Submit your observations about the experiment, in 3 bullet points(write your observations when using…
  • Boston housing source : ¬†https://github.com/selva86/datasets/blob/master/BostonHousing.csv. 3.) Next, generate some synthetic data from a cosine function on [-1,1] and add some Gaussian noise t…
  • In arithmetic and number theory, the least common multiple, is the smallest positive integer that is divisible by both a and b: https://en.wikipedia.org/wiki/Least_common_multiple¬† ¬† A template is p…
  • I’m having serious trouble figuring out how to start coding for these problems. I’d be more specific, but honestly, I’m horrible with this coding language and I have a hard time remembering things abo…
  • I am trying to make a code that calculates if the user is eligible to vote.¬† I want my code to first ask the user to input their month of birth, then their day of birth, and then their year of…
  • Part 1 Can Python be used to develop and run apps on other platforms besides Windows? 1. Discuss at least two different platforms where Python can be used to develop and test apps (50 – 100 words). Yo…
  • I have this Python program that analyzes a computing problem and to apply principles of computing and number theory to develop solutions. It must ‚ÄĘ Demonstrate an application of the Euclidean algori…
  • I have no idea how to figure this out. 0.py 3. 6. X 10 eve… # Get our input from the command line Collapse Challenges import sys M= int (sys . argv [2]) N= int (sys . argv [3] ) 3. 6. X 10 every oth…
  • how do I swap adjacent characters in the string and return the changed string
  • Write one python program using this condition below. 1. Uses files – open, read/write, delete to handle data.¬† 2. Uses exception handling – try and except to catch and handle exceptions. Value, data …
  • Hello I need help wiring my python program. Write a program to validate a credit card number. Create all the functions listed below and implement them within your program.¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†…
  • Please answer this. 1)The velocity factor of a transmission line depends on A. temperature B. skin effect C. relative permittivity of dielectric D. none of the above 2) A loss less line of characteris…
  • Modify the below program so that the user is allowed to enter multiple weights of packages until the user has no more packages to input. The program should print the charges for each package entered. …
  • df = pd.DataFrame({‘foo’: [‘one’, ‘one’, ‘one’, ‘two’, ‘two’, ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ‘two’], ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ‘boo’:[1,2,1,2,1,2], ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ‘bar’: [‘A’, ‘B’…
  • Python program to store and display the student name and marks of a student as shown in output ¬† Q1) Write a program to read the file “Subject.txt”¬† and store the data in various variables. The data…
  • Create a program that compute the value of a resistor with gui using tkinter.¬† Scope: 1. The program will select if the user want to compute for 3 band or 4 band resistor. 2. After selecting the type…
  • Challenge Activites Final Python review. This question are to be answered in Python languge 1. Bronze Puzzle: a. The Bronze Puzzle contains an image of something famous, however the image has been dis…
  • def is_matching_pattern (word, pattern) : “”” Returns true if the provided word is matching the provided pattern, false otherwise.”””
  • message=”The exam has four parts.\n1. MCQs\n2. Coding Questions\n3. Trace Logic Questions.\n4. Short Questions.” Write code to display the above message in the following way.¬†(Hint: Use String method…
  • Introduction / Problem Statement Write a Python code for the following problem: Your friend has a small accounting firm. They want a way to keep track of their client’s tax information in a small appl…
  • I am having difficulty with SCREEN CAPTURE # 8 though SCREEN CAPTURE # 10. can somone please help me. please help here is my project: you can download https://github.com/helpi221/Django-REST-fr…
  • Assuming the user enters positive integers for a and b. The output of the program is a = int(input) b-int(input) m-a%b while a >= b: a- if ma: print("more") elif m== a: print("equal…
  • starter code is attached. Each definition have incomplete pass code lines. Please construct code in place of the pass code accordingly to the instructions. 1) You have been given an incomplete impleme…
  • Given a set S of n numbers and a target sum T, develop a program to check whether there exists a subset of S that adds up to T. If yes print TRUE else print FALSE Input Format:- Read n in the first li…
  • I need to the following answered with the corresponding code for Python. 1) Find the best cureve that fits the data points from the equation below, with the best fit coeffints ([w]) and interception(b…
  • Introduction Complete the following steps to analyze web server logs, using this tutorial as a guide:¬†https://docs.databricks.com/spark/latest/structured-streaming/demo-notebooks.html#structured-stre…
  • I am currently coding a Phaser game. I have made many platforms for my player. Half of my platforms are icy. However, I can not figure out how to make it slippery. Can someone give some direction. Add…
  • Use array computing in the example from Chap. 2.6.2.The data analysis problem in Chapter 2.6.2 is solved by list oper-ations. Convert the list to a two-dimensional array and perform thethree tasks usi…
  • Need help making this program. #4 Number Analysis Program Chap 7 Intructions: Design a program that ask the user to enter the Series of 20 numbers. The program should store the numbers in the list the…
  • 1TEXT = “SSUET” ¬† NUMBER = 1 ¬† print(NUMBER+ TEXT)
  • In this practice midterm, For ex 1 for Problem 4, if x, mu and assert cusum(x,m) changed numbers, how would I modify the code so I do not get an Assertion Error
  • import numpy as np from matplotlib import pyplot as plt import math t=np.linspace( 0 , 1.0 , 3001 ) sinyal_10Hz=np.sin( 2 *np.pi* 10 *t) sinyal_200Hz=np.sin( 2 *np.pi* 200 *t) sinyal_10Hz_200Hz=sinyal…
  • Please help with the Python code for the following question: ¬† ¬† ¬† Code is given below for utilities.py file: #===========================utilities.py================================== # you can im…
  • Assignment: Part 1: Write a program to ask for a list of songs. Each entry for a song will require a title and a time, as a string, in minutes:seconds format. Part 1 should ask for a file name and the…
  • Write the functionalities of 2 of the 4 string methods¬† lower(), replace(old,new),¬† startswith(substring), isdigit(). ¬† Do not write functions nor methods, but you will prompt theuser to enter the …
  • Which of the following is a reason to use built-in functions? (5 points) They decrease compile time. They have fewer lines of code. They increase efficiency. They have shorter code.
  • Add radio button options for filing status to the tax calculator program of¬† Project 1 . The user selects one of these options to determine the tax rate. The¬† Single ¬†option’s rate is 20%. The¬† Ma…
  • I’m a freshman who’s learnt the basics of python, please solve to my level of knowlegde. Given code: ############################################################ class MovieNode: def __init__(self, ti…
  • Use recurive function calles to create functions to compute¬† (a)¬† 1 1 + 2 2 + 3 3 + . . . . . . + n n given any integer n¬† (b) The Fibonacci numbers are the numbers in the following integer sequ…
  • Can someone explain what the below question is asking me to do? ¬† ” Write a Python code to identify data issues in the spreadsheet (errors and missing data). ” ¬† ¬† I have use type(data_load_df) dat…
  • I NEED HELP WITH MY PYTHON COURSE. AND IT REQUIRES WORKING WITH PYTHON REGEX AND IT’S MY WEAK POINT. THE QUESTION IS BELOW. Function¬†search_by_city_and_bedroom_number(), this function accepts the par…
  • How to Create a table that rows are dates for all above companies, and columns are returns from different companies to be able to compare them. Correctly draw autocorrelation plots, state whether or n…
  • Python Programming Can someone please help me fill in these answers in python. Image of the required output can also be seen. ¬† Link to csv files ——>> https://gofile.io/d/N0a3WO
  • def words_with_letters (words, letters): This might be a good place to bring in some general discrete math terminology that makes our problem specifications less ambiguous. A substring of a string con…
  • The list¬† names ¬†where each element is a string in “First Name Last Name” sequence. Derive a new list from¬† names ¬†where the string is in “Last Name, First Name” sequence. Use list comprehension t…
  • Can you help me write a code for an Order Input form for some products -beef pizza, chicken pizza, pork pizza, beef hot dogs, pork hot dogs, and turkey hot dogs? Each type of hot dog costs $1.99.and p…
  • I need help writing this is pseudocode and have a looping activity def findFirstOccurance ( char , string ): occuranceIndex = -1 for i in range ( 0 ,len( string )): if ( string [i] == char ): occuranc…
    • Create the properly aligned textbook format pseudocode (use spaces instead of tabs) implementation of the Item ToPurcholass in the textbox below:
  • def flip_horizontal (img: Image) -> Image: “”” Given an Image, img, update it so it looks like a mirror was placed horizontally down the middle. Tip: Remember Python allows you to switch values usi…
  • I need help trying this Pseudocode to Python please¬† ¬† delete_stock(self) Check if a stock is selected. Hint: if (self.stockList.curselection()): get symbol selected by the user in the listbox. Hint…
  • Please help. I am getting this error. Can you please send me the correct code? Thank you. Ven Tools Education 12. Add Horl Terminal pictool.py plugins py 138 if sepia= =True: Collapse ) 3. Add Image F…
  • 13¬†¬†¬†¬†) HOW can I Write a Python program that determines cell phone charges (problem #1 in quiz ¬†00 with the stipulation that the user can use their phone < 300 minutes.¬†¬†Recall that problem…
  • Class probabilities either by hand calculation or using Python: P(apple) P(cherry) P(lemon). 13 14 Color Green Fled Fled Green Fled Fled Green Fled Fled Fled Fled Yellow Yellow Yellow Yellow Shape Rou…
  • I am stuck on this using a while loop. The factorial of a non-negative numbers is notated n!. Given a number like 5. The factorial is 5 * 4 * 3 * 2 * 1 which equals 120 How do I ask for an ” input a n…
  • This is my code. When I run my code with test file, there are onle two failures. How can I fix it? def fish_dict_from_file(filename): ¬†¬†“””Reads in fishcatch data from a file””” ¬†¬†fish_names = { 1…
  • You are to create a menu driven program that has the following characteristics/functions: Has a function that asks the user for their first name and stores the name and a random number to a dictionary…
  • Hi I am using Jupyter notebook for this computational physics class and this is really confusing can someone help
  • CODING IN PYTHON: Please help with Python I want to see written code, not screen shots, please.. 1.¬†¬†¬† Python program to check if a given positive integer is a power of two.¬† Sample input and outp…
  • Please help find a solution to these practice questions:. Problem One: Create a dictionary with empty values, as shown: >> dict={"j1":"","j2":"" "j3&…
  • Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. Describe each possibility in your own words. Define “precondition” and “postcondition” as…
  • Pretty simple. Read the instructions up top.. 11. [A: 18 marks] Fill in the chart with the output that would be displayed on the screen. For problems 11a-9), assume the following code and state what’s…
  • Python: Implement all the class from the class diagram below PRODUCT –¬†¬†¬†¬†¬†¬†¬†¬†¬†modelNumber:String –¬†¬†¬†¬†¬†¬†¬†¬†¬†manufacturer: Manufacturer –¬†¬†¬†¬†¬†¬†¬†¬†¬†manufacturingDate: date –¬†?…
  • 2 This code is partially written for you. Design ¬†program that asks the user to enter a student’s grades for each student. The grades should be stored in a list. calculate the average of the grades…
  • How can I implement a function that sorts CVS files by the following: ¬†house, then year, then name (so all Eagletalon 1 students would appear at the top of the list, in alphabetical order, then Eagle…
  • Define a named tuple Player that describes an athlete on a sports team. Include the fields name, number, position, and team. from collections import namedtuple ¬† Player = namedtuple (‘name’, ‘number’…
  • here’s the rest of the question:The term refactoring refers to the process of reviewing your code. AFTER you have written and successfully executed your code, ask yourself : Could I make it better? In…
  • Write python script which identifies which 3 students receives the highest grade in 2013 and 2014 by first identifying the course which each student received the highest grade each year and then ident…
  • get_max This function should have two parameters, a matrix (list of lists) and a column number. It should look into all the elements of the data matrix in this column number, and return the highest va…
  • File “C:/Users/range/PycharmProjects/week4/Workman_Week4Assigments.py”, line 46 ¬†¬†def team_list (): ¬†¬†^ IndentationError: expected an indented block
  • Each cell of a column has a list of dictionaries like this: [{‘name’: ‘Paramount Pictures’, ‘id’: 4}, {‘name’: ‘United Artists’, ‘id’: 60}, {‘name’: ‘Metro-Goldwyn-Mayer (MGM)’, ‘id’: 8411}] The code …
  • /importing import java.util.*; public class Main { //driver class public static void main(String[] args) { //Scanner objects Scanner ob=new Scanner(System.in); Scanner obj=new Scanner(System.in); //fo…
  • Using MySQL on a Raspberry Pi or equivalent, create the following: can i know how to do step 5, 6 Thank you 1.¬†¬†A database with the name ETEC224 2.¬†¬†A user with the same name as your student ID. E…
  • Please use Python to complete the question A tutorial and a few exercises are included in the notebook file named hw2-p1.ipynb. Your task is to review the tutorial and complete the exercises.¬† Please…
  • Write well-commented python script that determines if a string is a palindrome.¬†The string will be entered through an input statement.¬†The output displayed should be something like:¬†<input strin…
  • Please DO NOT copy the answer from another website or from another question posted here. Original answers only. I will check the code for plagiarism.¬† ¬† Your task is to create a BankAccount …
  • Given an array of integers, verify if the array contains any duplicates. The function should return true if any value appears at least twice in the array, or false if every element is distinct. Input:…
  • A binary file is like a text file in all but one of the following ways. Which one is it? a. A binary file stores strings with character notation. b. A binary file stores numbers with binary notation. …
  • what code would i use for this? Question Question 3: Write function that computes your test statistic. It should take a table with two columns, TOTCHOL (total serum cholesterol) and ANYCHD (whether or…
  • Question 9 (10 points) Which of the following is the correct output from this sequence of statements? digits = [‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’] digits . remove (‘ 2’ ) third = digits. pop (3) print (dig…
  • Please use Python to solve them, thank you!. 2 Fourier transform of Window Functions (6 pts) A continuous time signal f (t) can be truncated into a signal of finite length T by window functions b (t) …
  • simulate course grade Assignment1= 98/100 assignment2= 100/100 Assignment3 = 99/100 Assignment4= 55/100 Assignmrnt5= 90/100 Assignment6 = 97/100 Assignment7 =88/100 Assignment8=90/100 Assignment9=100/…
  • Can you translate this R code to python please. R: Simulation of Time to Absorption # absorption. R > trials <- 100000 > simlist <- numeric (trials) > init <- 1 # initial state of li…
  • Write a program that determines the value of a jar of change. Prompt the user for the number of quarters, dimes, and nickels and then display the monetary value of the change in currency format with t…
  • Need help with this problem. Its in python. Drug Metabolism Markov Model Researchers are investigating a new drug "examenol" and have discovered the following about its metabolization: – Eac…
  • I need a function¬† grayscale(pixels) ¬†that takes the 2-D list¬†pixels¬†containing pixels for an image, and that creates and returns a new 2-D list of pixels for an image that is a grayscale version …
  • This is the assignment: ¬† This GitHub classroom assignment contains a functional Sudoku solver and six Sudoku puzzles. This solver can solve any of these puzzles within 15 seconds to a couple minutes…
  • . 13. Coding question: singly-linked list "del_with_stride" s Reset to Starter Cod Saved 10 points possible Implement the singly-linked list method del_with_stride, which takes a single…
  • Jupyterhub Question 1. Suppose you want to find the biggest absolute difference between the numbers of degree recipients in the two years, among the three majors. In the cell below, compute this value…
  • Database Design and Analysis The following database project will create educational attainment “demand” forecast for the state of California for years greater than 2010. The demand forecast is the exp…
  • Why does: [ x for x in range ( 1 , 60 ) if 60%x == 0 ] Produce: [1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30]
  • A docstring can contain multiple lines of text. O True O False
  • How can I c reate a Python program that prompts the user to enter a number of yards, and then calculates the number of miles and yards, as well as the number of feet, and then prints the results.
  • prev | next | chance Returns True if int hidden_num is found in the given array. contains_hidden( [5, 2, 6, 3, 4], 3) – True contains_hidden( [3, 6, 11, 2, 5], 19) – False contains_hidden( [3, 6, 11, …
  • –> In your own words, explain the advantages of using functions in a program. (give a example) –> What are the differences between (if-else) and (switch) statements. (give a example)
  • Hello I am posting this since my last question got closed, I am tasked with making reward system for customers that spend over $500.00. I wanted to know if I can do this via regular expressions. Here …
  • As seen in our class, the following code generates random integers from 1 (inclusive) to 10 (exclusive) arranged in a 3-by-2 NumPy ndarray (i.e., a matrix with 3 rows and 2 columns) using a random see…
  • A Python ASSIGNMENT ¬† 1. We will perform Pure Monte Carlo grid search in this exercise import numpy as np import matplotlib.pyplot as plt A = np.load(‘Measured_data.npz’)¬† #(link for ‘Measured_data….
  • Please help me do it in Python. I would highly appreciate it. ¬† PMT: Vehicle Leases Arctic Bank leases vehicles for some of its senior employees. These vehicles come in three categories: Royalty , Lu…
  • Need to use Selenium to obtain all the quotes of the following website: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† http://quotes.toscrape.com/js/ For each quote need to obtain the following: The text of the quote The aut…
  • Can someone explain to me what I’m suppose to do with the following statement. Don’t need answer just explained. The Math functions and values range of x-values are described below: a. Generate x, sin…
  • can you help to code this functions in python? Read & Write File — Tab Delimited : function that takes the name of an input file and output file as an argument. Read the orders-data.csv file and …
  • Implement recursive function webdir() that takes as input: a URL (as a string) and non-negative integers depth and indent. Your function should visit every web page reachable from the starting URL web…
  • Use IRIS dataset and (Hint: load the dataset and exclude the target variable.) Apply the Principle Component Analysis in R or Python on its independent attributes. Display the results (Hint: you may u…
  • In this lab, you will be creating your own CLI (shell) in Python. You should use Python 3+. The following is a list of commands that it should support: cd <directory> – change the current defaul…
  • Lab 4 – Programming Sequential and Decision Structures in Python (60 points) Part I: (40 points) For the two problems in Assignment 4 Part I and Part II, convert the algorithms that you have developed…
  • Many organizations have user ids which are constrained in some way. Imagine you work at an internet service provider and the user ids are all two letters followed by two numbers (e.g. aa49). Your task…
    • (20 pts) List and define three metrics for evaluating security of a system. 2. (20 pts) Name different types of cryptography and explain which type is useful for which application. 3. (20 pts) Name…
  • A tollbooth has day of the week and number of cars as attributes and functions to get the busiest day and total number of cars per week.¬† ¬†How can I add a class and a function for the proposal?
  • How do you answer the following programming questions: Consider the following Python code fragment: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†# i, j, and k are numbers if i < j: if j < k: i = j else: j = k else: if…
  • The energy company uses different rates for residential and business customers.¬†Residential customers pay $0.12 per kWh for the first 500 kWh.¬†After the first 500 kWh, the rate is $0.15 per kWh.¬†Bu…
  • Part 1 Write /a Python program that does the following.¬† Create /a string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, …
  • I need help with a python assignment which is due this Sunday May 24th at 12pm. Please see the attached file which has the full description for this assignment. Thanks. Network Programming (ECE-C433) …
  • create histogram (subplots)¬† subplots tiles : states¬† x axis : districts y axis : availability of beds ¬† csv file : https://storage.cloudconvert.com/tasks/0c7da99a-eaa5-4b45-98e4-5fc397840a56/final…
  • can u help me with this program that prints the hour at which the temperature first reached its maximum value. Assume position 0 is the reading at midnight (which will be printed as¬†0 : 00), position…
  • Write a Python program (IDLE 3.9). A movie ticket is $15 if you go to the theater before 12 pm noon or after 5 pm you will get a 20% discount on tickets. So, how much do you have to pay for the ticket…
  • Write code that can demonstrate practical use of the category: ¬† Web Stuff tweepy¬†(https://docs.tweepy.org/en/latest/) flask¬†(https://pypi.org/project/Flask/) beautiful soup¬†(https://pypi.org/proj…
  • . Question 1 (2 points) Which of the following will be Euclidean Distance between the following Customer A and Customer B: Annual Salary Credit Rating (thousand Gender dollars) Customer A 600 100 Fe…
  • Could you make a python program that identify how many given words are used in this document? (URL for the document) https://s3.amazonaws.com/blackboard.learn.xythos.prod/5a30bcf95ea52/22515945?respon…
  • Hey guys, can anyone explain how to tackle this in python? prompt: Classes link: https://drive.google.com/file/d/1EFjjm-4YoAZCT0SWIgoxNW3BL9uCVt-L/view?usp=sharing Part I: Find the Bisst Players (10 p…
  • Cubic numbers are whole numbers which have the distinction of being equal to the sum of cubes of their numbers. For example, 153 is a cube number because we have: 153 = 1¬≥ + 5¬≥ + 3¬≥: Write a Python…
  • Get a mark of a student and find its grade. (Note: 96 to 100 – O Grade¬† 91 to 95 – A Grade 81 to 90-B Grade 71 to 80 – C Grade 61 to 70 – D Grade 50 to 60 – E Grade Below 50 – F Grade) Sample Input 1…
  • i am using python 3.7.0 on a platform called edyst Traceback (most recent call last ): File “main.py” , line 63 , in < module > main () File “main.py” , line 24 , in main d2 = input () EOFError:…
  • Implement the card game described below. The game is played by two players. A deck of cards is put face down and a random card is drawn from the deck, both players see the trump suit, and the card is …
  • show skill in data management using Pandas:¬† read in csv file, then perform ¬†data cleaning and extract the death rate from year 2010 to 2016. ¬†then calculate average percent change to see if it inc…
  • please use python to write the code and solve those questions thanks! Goldbach’s Conjecture is one of the oldest and best-known unsolved problems in number theory and all of mathematics. It states tha…
  • PYTHON ¬† 1) Definitions (e.g., what is sentinel value?) 2) Code evaluation (What is the result of the following code?) 3) Short answer (What is the difference between X and Y?) 4)Translation (Convert…
  • The goal of this assignment is to predict bike share use, given the hour, day, and information about the weather. Companies like Divvy try to predict how much demand there will be for bikes on any giv…
  • “”” Here is part of the code use this to finish out the code “”” def remove_punctuation(string): ¬† ¬† # if type is not a string, then raise TypeError ¬† ¬† if type(string) != str: ¬† ¬† ¬† ¬† raise T…
  • Using the list class below: class Link: ¬† ¬† “””A linked list. ¬† ¬† ¬† >>> s = Link(1) ¬† ¬† >>> s.first ¬† ¬† 1 ¬† ¬† >>> s.rest is Link.empty ¬† ¬† True ¬† ¬† >>&g…
  • A Crooked Die or Not? Supposed that you need to check a die to see if it was modified to make one of its faces more likely than the others. You roll the die 60 times and collect the below result: “` …
  • This is the money that can be used to purchase item on Amayzeon. This function should take in two parameters. The first is the users current wallet balance, and the second is the amount to add. The wa…
  • This program converts Fahrenheit temperatures to Celsius and Kelvin¬†¬† outputÔľö Please enter the temperature in Fahrenheit: 32¬† The temperature in Celsius is:¬†0.0¬† The temperature in Kelvin is:¬†…
  • This a python, I want it in Scratch¬†. A person is cutting a long board of wood into different length of pieces . Each cutting has fixed width 2 cm lengths. Given that each cutting with different leng…
  • How do we calculate Additional Buyer Stamp Duty in Python
  • Respond to proposal below by writing python code that creates a class with those attributes and functions. This doesn’t have to be perfect, but it should be in the ballpark.¬† ¬† Proposal: A circle ha…
  • In PCA, the eigenvector with the¬†lowest eigenvalue is the first principal component. True or False?
  • I need this in Qbasic Programming Assignment 5 Write a program to print a company’s payroll report. The program should request each excess of 40. employee’s name, hourly rate, and hours worked as inpu…
  • 9.1: Slice a rhyme. Assign sub_lyric by slicing rhyme_lyric from start_index to end_index which are given as inputs. Sample output with inputs: 4 7 cow
  • To do this, we will work with the Lotka-Volterra Equations, often known as the predator-prey equations. These equations describe how the populations of a single predator and prey pair of species chang…
  • do the test case all the information is given below
  • Can I get the code of the problem below? I am adding instruction that I was provided to help the instructors for better understanding. I would also need a brief document describing the kind of poem yo…
  • Hi im not sure how to extract data from locally stored html file and then display the data on python GUI using Tkinter
  • Could anyone help me plzz urgent for exam ‚ÄĘ Program design type program that includes and utilises the functions described above to simulate the letters game from the Countdown game show. The progra…
  • would you please tell me what is question2 A to B answer and codes when you done show me that code on JUPYTER. please sent me a codes and screen short.¬† ¬† ¬†. Question 2: Answer the following questi…
  • need to import this text once program is created othello text¬† https://www.gutenberg.org/cache/epub/2267/pg2267.txt ¬† other text documents needed¬† https://www.gutenberg.org/cache/epub/23043/pg23043…
  • Question:You have to make game in python. (10000 points game) Please read all the information first and then write code. ——————————————————————————-…
  • The places that require your code answer are marked with¬†“# YOUR CODE”¬†comments. 1) Dimensionality Reduction The curse of dimensionality is an issue for many applications; increasing the number of f…
  • . 0 of 3 points Question 3 Unlimited tries A file named data. txt contains an unknown number of lines, each consisting of a single integer. Write a program that creates the following three files: da…
  • Provide python code quickly. input num Y num < 0 or num >200 num = 100 N num * = 2 sum = 0 count = 1 Y count<num sum += count count += 1 N output sum Stop
  • http://prntscr.com/l95c5s I don’t understand how to make the function return True if the list has is at least one run. I’d appreciate any help.
  • Rewrite the following program to replace the for-loop with the while-loop: for i in range (10) : if i %2==0: print (i)
  • , you will find a file called ‘hw10-data.txt’. Download that file and¬† place it in the same directory where you are writing your homework assignment . Each line in hw10-data.txt contains 3 values sep…
  • Take the following Python code that stores a string: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†str = ‘X-DSPAM-Confidence:0.8475’ Use find and string slicing to extract the portion of the string after the colon …
  • Write a Python program to compute and display a person’s weekly salary as determined by the following conditions: If the hours worked is less than or equal to 40, then the person receives Tk 200 per h…
  • 2). Determine the tightest simple bound of the worst-case computational complexity of the following function in terms of the size of the input list (n=len ( ist) ) and justify your answer. For t…
  • Says the list isn’t callable but I must be missing something somewhere, please tell me why. print( ‘\nWelcome to Week 3 lab, State Capital & State Bird Application’ ) print( ‘\nThis application wi…
  • Hi, this is one of my homework problems… I’m having trouble with the meaning of class in this context and was wondering if someone could explain it?
  • Write the functions encrypt (message, key) and decrypt (message, key), where message is a string and key is an integer. Both functions return a string that contains message encrypted/decrypted using t…
  • Please help in below python program: In the below dataset, ‘id’ is the first and ‘class’ the column. We do not consider these two columns for kmeans computation. Use columns a2 to 10 for k-means compu…
  • help me figure out this question please Question 6 Create a function squares ( ) which for any given python list x of numeric values returns the list of squares of components of vector x . For example…
  • A quadrilateral is a shape with 4 sides and 4 angles. Write a program that lets the user enter 4 sides and 4 angles. The program checks if the type of quadrilateral is either: – Rhombus – Square – Rec…
  • Function name: string_modifier Parameter(s): str_list ( list ) Return Type: list Description: Write a function that passes in str_list, a list of strings containing any alphanumeric characters, and re…
  • 12 creDIY full time Conditional Statements 1) Write a program to ask for the number of credits a student is taking. Display either You are a full time student or You are a part time student based on t…
  • Write this program using integers userNum and x as input, and output userNum divided by x four times. Ex: If the input is : 2000 2 Then the output is: 1000 500 250 125 Note: In Python 3, integer divis…
  • #¬†Modify¬†the¬†code¬†below “”” File:¬†newton.py Project¬†6.1 Compute¬†the¬†square¬†root¬†of¬†a¬†number¬†(uses¬†function¬†with¬†loop). 1.¬†The¬†input¬†is¬†a¬†number,¬†or¬†enter/return¬†to¬†halt¬†the ?…
  • What is a Python comment?¬†How do you indicate a comment? What purpose do they serve?
  • I need help with this python program. Assignment 8 At Submit Assignment Due Dec 12 by 11:59pm Points 100 Submitting a file upload Attempts 0 Allowed Attempts 2 CPSC 230: Computer Science I Sets Due Su…
  • Problem #1 (5 points) You are given the following Python variable assignments: x = [5, 1, -1] y = (0, 8, 3) a) Explain what the following statement does (be specific). What element values does x cont…
  • PLEASE PROVIDE EXPLANATIONS FOR YOUR CODES AS WELL. HERE ARE THE LINKS TO SOME FILES THAT YOU MIGHT NEED TO ACCESS TO BETTER SOLVE THIS (I know for sure you will need the employee.xls file): Customer….
  • Any help?. uestion 4 (10 points) What would be output by the following function definition and function call? def divide (x, y) : if x 8 y == 1: return x / / 3 else: return y / / 2 print (divide (11, …
  • Question 6 (2 points) Create a dictionary that includes the following items and their prices: Soda at $1.25, Popcorn at $5.77. Chocolate Bar at $2.66. Assign it to a variable. (2 marks)
  • Write some code to decrypt juila’s cipher, juila’s key is This is how juila cipher encrypted ¬†juilaplaintext.txt.gz.enc needed to be decrypted.¬†. 1. ciphertext. txt – A ciphertext encrypted with a C…
  • w_type_str = input(‘Which weather type? Humidity, Temperature, Rain, Pressure: ‘) b = input(‘enter a number of data between 1 and 8000: ‘) if w_type_str == ‘Humidity’: w_type_num = ‘3’ elif w_type_str…
  • Define 8AM – 6PM as working hours. Does the website get more visits during working hours of after working hours?
  • Complete the function revising_s(int, int, List[“Station”]) -> int. The first parameter represents a capacity threshold. The second parameter represents the number of bikes to add to low capacity s…
  • . Exercice #3 – Algorithme d’Euclide . Le Plus Grand Commun Diviseur (PGCD) de deux nombres entiers est le plus grand entier qui divise les deux nombres avec un restant de O. . L’algorithme d’…
  • Some websites impose certain rules for passwords. Write Python code that checks whether a string is a valid password. Suppose the password rules are as follows: 1. A password must have at least eight …
  • Make a plot for y = log(x), x is between 1 and 100. Using jupyter notebook format in python 3
  • Write function, named adjust, that takes a number of cents between 0 and 9, inclusive, rounds it off to the nearest 5 cents by the following rules, and returns the result ÔÉė 1 and 2 cents are rounded…
  • . 08 Plotting 4 Points In this problem. you will be creating a plot that looks identical to the following Ô¨Āgure: Polynomial Color Gradient ‚ÄĒ violet ‚ÄĒ indigo – blue ‚ÄĒ green yellow ‚ÄĒ orange …
  • Many financial experts advise that property owners should insure their homes or buildings for at least 80 percent of the amount it would cost to replace the structure. Write program that asks the user…
  • Please help! Deliverables: You must submit your .py file. Name the file: lastname_firstname_assign14.py. Example: bond_josh_assign14.py Exercise 1. Write a program that accepts an uppercase sentence a…
  • write a function to return a 2-tuple, both elements in the tuple should be integers, the first one in the tuple should be recommended indentation level (when using space) with python, the second shoul…
  • Question Adam is so good at playing arcade games that he will win at every game he plays. One fine day as he was walking on the street, he discovers an arcade store that pays real cash for every game …
  • can someone please help me and show me the code for this functions where there is no use of slicing // No built-in function except range() and len() is allowed // you are allowed to use only .append()…
  • Trees and back arcs in a DFS for the above input and output template, programming language: python. 3. Tree and back arcs in :1 LIFE For a given set of digraphs, write a program that performs DFS on e…
  • How many exceptions can be handled in Python? What are those exceptions and what are they useful for? Can we have multiple EXCEPT clauses in the same TRY statement? If so, what could that be useful fo…
  • Please use the following code to complete the assignment posted in the picture. Please don’t change any of these code! “”” PROGRAMMING ASSIGNMENT 06 Filename: ‘exercise2.py’ The file ‘exercise2.py’ is…
  • in python make a program that takes two integer values from the user¬†–¬†a number and a base. For simplicity, ensure the highest base can be is 16. Ensure you validate the input as a part of your code…
  • Need help with the below questions: 1: 2: 3: 4: In the sample code listed below, what do we consider num1 and num2? Module AddNumbers (num1, num2) : new_sum as integer new_sum = num1 + num2 Print new_…
  • Please help me solve this python 2.7 exercise. — Which of the following data structures may be converted to a Python dictionary by calling: dict()
  • The correct way to instantiate the above Cat class is:¬† class Cat: ¬† ¬† def __init__(self, name, age): ¬† ¬† ¬† ¬† self.name = name ¬† ¬† ¬† ¬† self.age = age ¬† a. Cat() ¬† ¬† b. Cat.create(“Tob…
  • To be done using PySpark ¬† Dropbox Link for data: https://www.dropbox.com/s/qbfxpxog58xeqjj/yellow_tripdata_2019-01_short.csv?dl=0. 1b. [4 pts] What are the top 10 pickup-dropoff locations? Find the …
  • Solve the following multiple choices : 1) What is the keyword to create logic: a) for ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† b) ¬† if¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† c) def ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† d) None of abov…
  • What should be filled in the blanks? Complete the following code (filling in the blanks) so that it will compute the GPA (grade-point-average) for a given tuple of letter grades: lookup= { ‘A’ : 4, ‘B…
  • All the referrences are provided below..thanks https://drive.google.com/drive/folders/1W5FnJCR8GmnhTKn6krQH10V8SRZu6lfj?usp=sharing. Attribute Weighted KNN is an approach where each attribute has an a…
  • the output of python program Instance Attributes and Properties Protect the data to ensure encapsulation. Implement properties for al instance attributes unless noted. Student Student is an abstract c…
  • Hi, by completing first task leads to another task, please provide code for individual. Thanks in advance 1) Define the function¬†isEven¬†which returns¬†True, if a given number is even and returns¬†Fa…
  • Submit one .py file for each problem of this homework (filenames are specified below). You may submit multiple times right up until the deadline. ¬† This handout on 2d lists ¬†may be useful. ¬† Your s…
  • https://docs.google.com/spreadsheets/d/1N3Ac__zwJX1aZ9UHvYD356uODw1feoC3EQttlvOsCB8/edit#gid=273706983 Create a scatter plot and visually decide if a linear model is appropriate (a matrix scatter plot…
  • a program to read data from the file “water.txt”, which was created in Problem 1.¬†Calculate water charge for each customer.¬†Residential customers pay $0.005 per gallon for the first 6000 gallons.¬†I…
  • Using a jupyter notebook for these problems having trouble since its introduction
  • Description: ¬†The class Queue defined in the file Queue.pyc, defines queue objects having the following public methods: ¬† *Queue() A parameterless ctor that produces an empty Queue *error() Returns …
  • Write Python program to ask the user for his grades in quiz1, quiz2, and quiz3, quiz4 & quiz5. Then it will calculate his/her average quiz grade (arithmetic mean) and finally, it display one of th…
  • Write a program that simulates rolling a dice. The program should ask the user how many die rolls they wish to do, and then print out that number of randomised die rolls on one line separated by space…
  • Write a function that takes in a number n and returns a function that takes in a number m which will print all numbers from 0 to m – 1 (including 0 but excluding m) but print Buzz! instead for all the…
  • Please help me with this python code on Activity 1 and 3 The CLLWeather file : https://drive.google.com/file/d/12ZWhzAK9EtwKMK3EhuGRVsmSNEGXH6mU/view?usp=sharing. Activity #3: Reading in and processin…
  • Give the result of each of the following arithmetic expressions. a. 19% 3 b. 19/ 3 c. 19 // 3 d. 2 * * 5 e. 5 != 4
  • In Section 9.1 of the text, we presented the following simplified version of the warehouse-location problem: X Minimize subject to: X i X j xij = dj i X j xij ‚ąí yi xij ‚Č• 0 X cij xij + X i fi yi, d…
  • How can I use this code to count vowels and install into a dictionary? vowels=”aeiou” def count_vowels(string, vowelsCount): ¬† ¬† for element in string: ¬† ¬† ¬† ¬† if element == “a” or element == “A…
  • Problem: Creating function that given two lists, returns the list of all the elements that occur multiple times in both lists. The returned list being in ascended order, without duplicates. Program al…
  • python code for¬† a, ¬†gaussian plume model b, ¬†3D graphs of vaying concentration of pollutant at different stability conditions
  • # In[ ] : # FUNKSJON def siksak( ) : print ( ) print (" * * * * * * * * * * * * 1I print(‘ * * * * * * * * * * * * * * * * 1I ## print ( ) print ( "Data fra sporreundersokelse" ) siksak…
  • Hi there struggling badly with this course and im honestly just looking to get by with this course. Could someone please solve this lab for me in the exact format its asking thanks!
  • Python practice questions (multiple choice ) 31. The px.line () function a. Will instantiate a Pandas line chart b. Will instantiate a MatPlotLib line chart c. will instantiate a Plotly Express line c…
  • Problem 3 (Counting Sort) In general, the best performance you can hope to accomplish with sorting is an O(n log n) solution. When you know that the number of unique values you will be sorting is rela…
  • Question 2 [20 marks] (a)¬†Write program named commonLetter.py that prompts user to enter two words, and display the positions of the first occurrence of common letter in both words. For example, if t…
  • Golf is a sport in which players hit balls into a series of holes on a course in as few strokes as possible. See https://en wikipedia.org/wiki/Golf to get a basic understanding of golf, paying attenti…
  • 4) Plot the word cloud of each of the three speeches. (after removing the stopwords)
  • Hi, I am having trouble writing a Python program code for this pseudocode. Please help thank you. #Random number, loop while true #ask user for number. Check to see if the value is a number between 1 …
  • Write program that reads the file line by line and extracts the first string on the line. If this is the number ‘1’ or ‘2’ ignore that line, otherwise add the string to a frequency count dictionary. T…
  • hi I am wondering if I am on the right track as if I run two separate functions, my graph still looks the same. I could not find a lab example for this. To find the top words we will do more work with…
    • (+30) Using python’s random number generator¬† (x = random.randint(a,b))¬†to build a program that generates four integers between -50 and +50 and displays the calculations noted below.?…
  • Logic Exercise A drawer contains 10 black and 10 white socks that are all mixed up. What is the fewest number of socks you can take from the drawer without looking and be sure to get a pair of the sam…
  • code in python. Multiple equilibrium points and linear stability You now have code that can test the stability of a single equilibrium point. However, most differential equations have multiple equilib…
  • Every session_id corresponds to a doubt asked by the user, tutor_id corresponds to the tutor who is solving the doubt, subject_id corresponds to the subject to which the doubt belongs to. The HT (hand…
  • . SECTION A Answer ALL questions in this section. Consider the following flat file database: cust name address product desc quan price order- order-date id -id tity id 12 Mr Joe 5 Muller 75 widget 7…
  • Assignment 1-> In this assignment,¬† implement¬†k-nn and logistic re- regression classifiers to detect “fake” banknotes and analyze the comparative importance of features in predicting accuracy. Fo…
  • The following questions are vector works. BVVectors.py Vec_mago) Vec_add() Vec_sub() Vec_mult() Vec_div() Vec_DtPr() =7 Vec_DtCs() Vec_CrPr() Vec_CPSn()
  • Use the dataset:¬† https://drive.google.com/file/d/1cg_oWxjLvHEerU5Tyf6xWvfzIdsmngDB/view?usp=sharing ¬† Make a dashboard that has widgets (in a sidebar panel, or other layouts) to choose/cont…
  • Write python program using numpy and vpython to show different state of matter in container. Show how the molecule get affected in different temperature. Sample is in the link. It could be made simple…
  • . Problem 1 You are choreographing a flea circus show. For one act, you are given two fleas on a number line ready to jump in the positive direction. The first flea starts at location x, an…
  • implement a multivariate linear regression on a graduate admission dataset to predict the chance of admission to a graduate program. The dataset contains several features which are considered importan…
  • IN PYTHON Specifications and Requirements Write a script that will allow a user to search in a text file to find video games that match their interests. Let the user enter from one to four tags that d…
  • TaskÔľöImplement your algorithm in Python. Comment on your code as necessary to explain it clearly.¬† ¬† Use the following information to calculate the public transport costs: Customers receive a 30% …
  • (Additional Information given at the end of the question) Context: A high-speed train as planned for the HS2 line from London to Birmingham has a maximum acceleration of 0.76m/s2, about the same as a …
  • Assign number_segments with phone_number split by the hyphens. Sample output from given program: Area code: 977 376628.2015284 qx3zqy7 1 phone_number = ‘977-555-3221’ 2 number_segments = " Your s…
  • By Using the pypcapfile library, make a script that will extract features of each packet. Then for each processed PCAP file, the output should have the following information for each unique connection…
  • Each pie requires ‚ÄĘ 1 pie crust ‚ÄĘ 6 potatoes ‚ÄĘ 2 packages of meat, and ‚ÄĘ 1 pack of corn. Prompt the user for the # of crust, meat, corn, and potatoes they have. Report the total number of pies…
  • Tracy has a file that contains a list of actors and the movies in which they acted. She wants to know the top 3 actors from her list whom have acted/appeared in the most movies. ACTOR NAME MOVIE NAME …
  • I am stuck on these two assignments and I really need help on them. Exercise 2: Write a program to prompt for a file name, and then read through the file and look for lines of the form: X-DSPAM-Confid…
  • Write a complete program that reads every number from the file named “final_data.txt” and prints out the average of all numbers in the file.¬† Note that there might be multiple numbers on each line of…
  • Please answer questions. What is a tuple in Python? What are the differences between tuples and lists? Give an example of a tuple.. The file UN.txt that gives data about the 193 members of the U…
  • Develop a program using classes that tracks information about a loan.¬†¬†The program should initially ask for the amount of the loan, then repeatedly present the user with two choices, one to allow th…
  • Please help can’t figure out will rate! A = [2, 9, 2, 6, 4, 3, 3, 2] for k in A: if k in A: print ( ‘ Duplicate found: ‘ , k) In the list, we can see that 2 occurs thrice, and 3 occurs twice. Both sho…
  • create these user defined functions. only we arent allowed to use Do not use any string “methods” other than lower and split. Those are the functions that are accessed via dot (“.”) notation. use only…
  • Hi pls explain the solution above i dont uds why option 3 is doable for the sequence. i thought pop will remove the first element in a list and append them to a new list.¬† ¬† my interpretation; ¬† it…
  • Answer the following with reasoning, Thanks in advance ūüėä Which of the following creates a tuple? A. tuple1=(“a”,”b”) B. tuple1[2]=(“a”,”b”) C. tuple1=(5)*2 D. None of the above 2. Choose the c…
  • On line 12: I am unable to figure how to copy “Entry 1” and add the same value to “entry 2 ” entry1.insert (0, ‘hello World”) must be copied to entry 2. I cannot figure it out. Can you please help. Pl…
  • Solve using Python/Spyder/Anaconda a) Solve and report the steady-state solutions for both Set I and Set II; you can use scipy.optimize (e.g. fsolve). b) Solve both Set I and Set II using initial valu…
  • Fill the blanks so we can appropriately use the math module in this example: ¬† Answer ¬†math¬†Answer ¬†Answer¬† x¬†=¬†ma.sqrt(4)¬†+¬†3
  • Please help me finish creating the python code. I am stuck here.. Thank you so much. The txt file :¬† 2016-2017 1 1 1 4 1 2 2 1 0 1 1 3 1 5 0 3 2 4 4 2 4 2 0 1 0 4 3 2 2 3 4 4 1 2 0 2 6 7 2016-2017 D …
  • I have tried following the error and syntax messages but I cannot figure out why my code will not run. My end goal is to run the program and display the results on separate lines using the class Compl…
  • I need help learning how to unpack TCP, UDP, ICMP, and ARP packets that originate from a saved pcap file. Specifically using methods like scapy or struct, ctypes. ¬†I have a starting code below that s…
  • So my file name is StudyHours.txt and Grade.txt. What I am having problems with is how do I incorporate that into the code.
  • help me pls # Define a class which has at least two methods: getString: to get a string from console # input printString: to print the string in upper case. Also please include simple test # function …
  • It is important to gain experience with code repositories since this is an essential part of developing software.¬†Create a Git repository with your week 9 homework assignment.¬†¬†You can find instruc…
  • Please help for the question how to simulate M/M/1 queuing system by Simpy with the little’s theorem The average queue length: ‚Äʬ†¬†Define variables sum, queue_length, and status_change_time. ‚Äʬ†?…
  • . . (3 points) Part b: Timing code: lists vs Numpy 1. Consider the following program to time the corresponding numpy function import numpy as np import time def time_numpy (N) : t = time . time () x…
  • I’m creating a game on scratch this isn’t important for any assignments but just for my own education and amusement. ¬† so the bit i’m stuck with is that I’m wanting to use a password and my bear will…
  • how to write pythonic function that takes a string, s, and returns a string that consists of all of the characters in s rearranged so no two consecutive characters are the same, or return None if the …
  • Before emojis were popular, a somewhat peculiar trend emerged in online communication where users would write with alternating CAPS to convey sarcasm. You are to write a program that automates that pr…
  • Make a new subclass of turtle called¬† rainbow_turtle¬† based on… ¬† Make a new subclass of turtle called¬† rainbow_turtle¬† based on the examples in turtle_variations.py¬†. The turtle’s initial pen…
  • Could you help me, solve the question using python. The problem consists of three numerical calculations that involve the coupled reaction-diffusion system. d2 CA DA dyi = K, CA – K2CB – = -K,CA + K26…
  • Need answers for the following questions:¬† ¬† 1-Change the number of neurons in hidden layers to 75. See the accuracy and compared it to the baseline. 2-Change the number of epochs to 35 and see if i…
  • Need help with this Python assignment. Please follow the given instructions and have the output be like the sample output shown. Please let me know if I need to provide anything else. Thanks! ¬†. 5.5….
  • Overall Problem You are playing the game of Monopoly and you decide you wish to construct houses on one of your property groups.¬†The rules of the game require that the number of houses on the propert…
  • ew9 :(anival rate: ME A/T C/T 38 ABIA #81=(throughout :: X18 268 MBA= $.7 80. 3810 9 80. 282 01 829 018: (utilization: U)8 B/T ), 30) 28 HEAD AS (mean service time per customer)2 8/C 7. 80. ~428-9 0 …
  • This is the assignment and a screenshot of my script. The script should show city name and the population before increase and population after increase. The script runs without errors, but I am missin…
  • http://prntscr.com/l5zepa Some python homework I’m struggling with. Thanks for the help.
  • In this problem, we will be writing pieces to simulate the¬†Monty hall problem. Monty Hall was the host of “Let’s Make a Deal” in the 1960’s and 70’s. The problem can be summarized by the following: S…
  • Directions Using the following guidelines, create a Bash program. ¬† 1. You will be using the CPT180Stuff folder from Chapter 9 for this assignment. 2. Create a Bash program named workWithFiles3.sh 3….
  • If i was attempting to make this inline function: ¬† customStopWords=set(stopwords.words(‘english’)+list(punctuation)) uniqueVocabulary=set([word.lower() for word in word_tokenize(textStrings) if word…
  • . Bb M1 (1 week X ) Classroom X Bb MIST.3050 X Bb hw01 X Classroom X 38. Format X C QUESTION X C Hi. This Is ( X C Chegg Sea X G b**c – Goo X C learn-us-east-1-prod-fleet02-xythos.content.blackboard…
  • We have provided testing code for you to verify your implementation. Uncomment this line: test mean_of_points() at the bottom of kmeans_tests.py and run python kmeans_tests.py in a terminal window to …
  • Write a Python script that will take in a name and return the respective address based on a csv file of names and addresses. If the name is not found in the file, prompt the user to enter an address f…
  • Ursula √© bonita. Norberto √© rico e bonito. Berta √© rica e forte. Pierre √© forte e bonito. Bruno √© am√°vel e forte. Todos os homens gostam de mulheres bonitas. Todos os homens ricos s√£o felizes. …
    • Write a program that can sort a given dictionary either by key or value. The program allows users to choose operations (1: sort by key, 2: sort by value). If the given dictionary is: d:{‘x’: 7, …
  • Implement the function is_upper_triangle(a) that determines if a (an n ‚ąó n matrix) is an upper triangle. The function should return True if all the elements above the diagonal are non-zeros otherwis…
  • i need python code for this question¬† i need code which i can copy paste in my IDE ¬† Solution in the maxima program for your help g[h]:=f[x]+(‘diff(f[x],x,1))*h+((‘diff(f[x],x,2))*h^2)/2+((‘diff(f[x…
  • . 5. [4 marks] Finally, in a file called q5.py, write a program that will start running from a main() function in it. The program should ask a user for information to draw a caterpillar, draw the ca…
  • In Python construct a recursive function getJpgDir () that takes a string representing a name of a directory as a parameter and returns the full name of the first directory that contains a file in JPG…
  • Degbug the “what_to_read” method so that it does the following: 1) Allows user to narrow the random selection by category (e.g. action, horror) while still randomly picking a book from the entire Libr…
    • Data Preparation. 2. Predictive Modeling/Classification: a. Classification using Decision Tree. b. Classification using Naive Bayes. c. Compare the results of the 2 techniques on original and filte…
    • In Assignment5.py, consider the use of the range() function. Part 1 [10 points]. Why is it better to reuse this function than write out a 100 element vector? Part 2 [10 points]. Now imagine that t…
  • The FBI is developing a new document analyzer that is looking for hidden messages in documents. The criminals conceal the same message in multiple documents, but they hide the secret message by embedd…
  • Program: Painting a wall (Python 3) (1) Prompt the user to input a wall’s height and width. Calculate and output the wall’s area. (Submit for 2 points). Enter wall height (feet): 12 Enter wall width…
  • A Python script that takes two parameters to do the following:- 1)¬†List all files names, size, date created¬†in the given folder 2)¬†Parameter1 = Root Folder name Parameter2= File size >>> t…
  • File maker program: file = open(‘item.txt’, ‘w+’) file.write(f”{‘ITEM’: <10}{‘REG.PRICE’: >10}{‘REDUCED’: >10}{‘SALE PRICE’: >10}\n”) while True: ¬† ¬†name = input(‘Enter item name or Ente…
  • Please help me solve this python question. Please help me i would really appreciate it. 1- Build a Person class representing a person. Objects of this class have ¬†¬†¬†¬†– the name property, a string …
  • pls sl=ove¬†. First a definition: We say that a positive integer x is almost-prime if it is divisible by exactlly 3 distinct positive integers, namely if it is divisible by 1, x and one more positive …
  • [5 points] One of the foremost tasks in an automation using a geoprocessing python script is cataloging the available data within a workspace so that you can iterate through the data and process each …
  • The following is my project that i am working on. I am not going to lie I am struggling terribly in this class. I have decided to switch my degree to business management and organizational. But I need…
  • codigo/script Crea una funci√≥n del m√©todo de Newton-Raphson que regrese como par√°metros de salida la ra√≠z, iteraciones realizadas, ra√≠z evaluada en y y(raiz). En caso que la funci√≥n no convenga …
  • You have now completed all the parts required to run the analysis. Please add a few lines at the bottom of analysis.py (and remove your exploration code from Step 1) so you have: if name = = ‘ main ‘…
  • Could you explain the following result ? Thank you.. In [28] : re . search ( ‘ \w+\W?\w+’ , ‘abc abc’ ) Out [28]: <re. Match object; span=(0, 3), match=’ abc’>
  • . Solving Problems in 9919);, Again, point your browser to nggmgg’g Platonic Solids Egg. Scroll down to the last table before Equation (8), which gives the dihedral angles o and B. Use math library …
  • SO basically I am trying to get questions from data text that is in a dictionary into a GUI program so I can make quiz program( questions have to come up randomly). But when I try to get Question out …
  • GUI Assignment for Speeding Fines (Assignment 3) problem. a GUI for the following problem: The fines for Speeding in one of the counties in Florida is given in the following table. MPH Over Speed Limi…
  • 2a: Python function that takes in a NumPy array (of arbitrary dimension), changes all of the entries on the border to¬† 0 s, and returns the resulting array. For example, if you run your function on t…
  • QUESTION: SAMPLE OUTPUT OF CODE: FASTA TEXT FILES: rho-rna.fasta text (RHO cDNA sequence): ¬† >NC_000003.12:129528639-129535344 Homo sapiens chromosome 3, GRCh38.p13 Primary Assembly AGAGTCATCCAGCT…
  • Exercise #3:¬† Create a new class called Square. Implement a constructor that takes a “side” parameter and initialize it to a class member called “side”. Add a function in the class called area(). The…
  • For this hands-on problem, you will need the Daily Demand Forecasting Orders dataset from the UCI machine learning repository, comprising 60 days of data from a Brazilian company of large logistics. T…
  • Copy the function __sub__() into the text box, and add comments to explain what the method is doing. Why did the programmer take this approach? What is a flaw of this code? How could it be improved? W…
  • Ask the user to enter his salary and calculate the TADA, which is 10% of the salary; the HRA, which is 20% of the salary and the gross income, which is the sum total of the salary, TADA and the HRA.¬†…
  • Write a program to draw a picture by defining functions and using Turtle Graphics. Use the following guidelines to write the program. Give your artwork a name. Print the name to the output Draw a pict…
  • Hello, I am stuck with python exercise. I need to implement a Bibliography ADT using a binary search tree. I have to Implement functions¬†addReference¬†and¬†removeReference¬†in the provided code file….
  • Create the class Child such that the following criteria are met: Child is a subclass of Parent1 and Parent2 Override identify so that it returns “This method is called from Child” Create the method id…
  • Show example transaction data where the rule for X ‚Üí Y: (a) Both support and confidence are high. (b) Support is high and confidence is low. (c) Support is low and confidence is high. (d) Both suppo…
  • A proper divisor of a natural number is¬† the divisor that is strictly less than the number . For example, number 20 has 5 proper divisors: 1, 2, 4, 5, 10, and the divisor summation is: 1 + 2 + 4 + 5 …
  • Write your own function that illustrates a feature that you learned in this unit. The function must take at least one argument. The function should be your own creation, not copied from any other sour…
  • There is a problem inside the formula in Decryptor. Try to solve it code = input(“Enter the code: “) distance = int(input(‘Enter the distance: ‘)) plainText = ” for ch in code: ¬† ¬† ordValue = ord(c…
  • def sort_accounts(bank_accounts, sort_type, sort_direction): ¬† ¬†¬† ”’Converts the key: value pairs in the given bank_accounts dictionary to ¬† ¬† a list of tuples and sorts based on the given sort_…
  • . approach. For a multiclass classification problem with 3 different classes (mouse, cat, dog), we need a minimum of 0 5 binary classifiers in the one-vs-all O 2 0 3 O 1. The K‚ÄĒnearest neighbor…
  • 14¬†LAB: Leap year A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a …
  • This program will simulate the game of Mastermind. Assignment Description This is a board game in which one player chooses a secret combination of four pegs (usually choosing from six colors). The oth…
  • Can use: Strings, lists, sets, dictionaries, tuples, if elif else statements, for and while loops. ONLY the following methods: Operational or Non-Destructive methods: count()-, index(), sorted(), reve…
  • Write the code to use a for loop to print and sum up all the odd numbers between 1 and 100 (excludes 100). A sample output is given as follow.
  • I need assistance with python code for three functions and the main program to test these functions: #1 function: getUserInput input: no input processing: this function asks the user to enter a value …
    • Write a Python program to create a function that can match all those words starting with the letter ‘a’, and return the immediately following words (ignore any punctuations and digits). The test s…
  • . b. Write a program using Python to make the simulated robot trace out a shape like that shown below which looks rather like a hash symbol with a closed loop on each corner or a square with rounded…
  • How to format each dictionary item as a text string in the input file. How to covert each input string into a dictionary item. How to format each item of your inverted dictionary as a text string in t…
  • Go into Webadvisor and find seated sections of the following classes for Spring 2018: BUS139, BUS153, CTS120, CTI289, and NET 125. Write down the start time, room, and instructor for each class. Cre…
  • We’re going to take the Group Activity from last week and tweak it. Instead of storing the random numbers in a list, we’re going to store them in a file. Write a program using functions and mainline l…
  • Hi I have this code and I need help figuring out how to add http://localhost/hello?name=”world” and HTTP POST the JSON data:{string1:”hello”,string2:”world”} to http://localhost?strings. The first par…
  • Can you kindly help me answer this question? 1. Bangladesh In the population table, the geo column contains three-letter codes established by the International Organization for Standardization (ISO) i…
  • The university reassessed its needs for the event application and determined it will no longer require all students to attend five and only five events, but will instead encourage students to attend f…
  • . 2. [4 marks] In a file called q2.py, write a function called my_reverse() that takes a list as input and returns a new list of all the items in the list in reverse order. For example: >>>…
  • Im not sure if I understand what my professor is asking here, I need to put this code in those spots but im having trouble understanding exactly how it goes in ? import turtle ¬† “”” This program lets…
  • please provide screenshots of the output if possible and describe the answer. ¬†. Consider a CTMC X = {X(t), t> 0} on S = {A, B, C} with generator G given by -12 4 8 G = 5 -6 2 0 -2 (a) Use a compu…
  • Write a program that takes a date as input and outputs the date’s season. The input is a string to represent the month and an int to represent the day. Ex: If the input is: April 11 the output is: spr…
  • Here is the full screen shoot. Please see 2nd cell for test case (some_logW, and assert np.array_equal). Write a function update_logpi that computes the log " vector, and takes the following argu…
  • # This function will go over the text¬† # and count the number of occurances of a given word def count_word(text, word): ¬†¬†¬† ¬†¬†“”” ¬†¬†¬†¬†What it takes? ¬†¬†¬†¬†¬†¬†a text to be searched ¬†¬†¬†?…
  • you cant use any built in functions!!!. Question 1c: Decimal/Octal Conversions (4 points) Write two functions: one that converts from octal (base 8) to decimal, oct2dec , and one that converts from de…
  • Interesting Problems require Interesting Answers. (6%) Open the Assignment and click on Session 8 Problems PDF. These problems are from Chapter 8 of the course book. They encourage you to explore Pyth…
  • How would I update annual_stats to make sure that year state and salary were all on the same index level?
  • ENGR 102Lab # 10Bonus (Individual Activity) [100 Points] Activity #1: [40 points] One of the most common ways that data can be stored to be loaded in a spreadsheet or other similar table is with a CSV…
    • The sequence generator takes any number of iterables as parameters: it produces every value from the first iterable, followed by every value from the second iterable, etc.,. For example¬† for i in …
  • u zy Section 5.10 – CSCI 160: Compute X Course Hero * New Tab X + X > C learn.zybooks.com/zybook/UNDCSCI160StokkeFall2021/chapter/5/section/10 =zyBooks My library > CSCI 160: Computer Science | …
  • I am trying to create a python 3 rubiks cube solving for rotation as well as setting up the cube as a string. We have used check.py and checkTest.py in the previous weeks and are now using solve.py, s…
  • The objective of this case study is to understand the potential of logistic regression, principal component analysis and decision trees. Given the opportunity to apply these methods to a real-world pr…
  • Please rewrite the code using a while loop and doing all of the requirements as listed above. Thank you so much for the help, please make SURE you use python 3, not java or C++! Thank you again, pleas…
  • An integer, greater than 1, that is only divisible by 1 and itself is called a prime number. All other numbers greater than 1 are called composite numbers. The integers 0 and 1 are neither prime nor c…
  • Only concered with dataset 1 in the question. I need assistance creating the time serise plot, that only pulls out the data from Johnson & Johnson (JNJ) and Exxon Mobil (XOM)¬†. I believe I need t…
  • ***Python/Jupyter notebook Predicting with Ensemble: Now that you have built 5 models. Loop over the testing set. For every test instance, have each of the models predict the class label. Eventual cla…
  • numpy and pandas ¬† df=pd.DataFrame({‘id’:[‘i10012’, ‘i10013’, ‘i10014’, ‘i10015’, ‘i10016’, ‘i10017’, ‘i10018’, ‘i10019′,’i10020′,’i10021’], ‘age’:[19,18,28,33,32,31,46,37,60,25],’sex’:[‘female’,’mal…
  • Hello , I have build a reference monitor in repy language which is approximately the same as python and now i will pretend to be an attacker by bypassing A/B restrictions . I have to build 4 attack ca…
  • In this assignment you are asked to write a Python program that will check if the abbreviation enter by the user is a valid US state abbreviation. For that create a tuple with 8 valid US state abbrevi…
  • http://prntscr.com/l95c5s I don’t understand how to make the function return True if the list has is at least one run
  • https://docs.google.com/spreadsheets/d/1_1ERCOQ7wAB413WBfw2VOEPVzvBgcIOW10gmDP2clnQ/edit?usp=sharing Need help analyzing the teams dataset from the Lahman baseball records. This dataset contains seaso…
  • You are already familiar with the Caesar cipher, and this is why we want you to improve the code we showed you recently. ¬† The original Caesar cipher shifts each character by one: a becomes b , z bec…
  • Creating a list¬† Show a program that stores the following amino acids into a list: “Try”, “Asp”, “Lys”, “Met”. Then print the list onto the screen. Do this twice, first use the print() statement to p…
  • EXTENDED ASSIGNMENT [100 MARKS] Answer ALL questions. Save all solutions [including the Python codes and screenshot of system interface} in a PDF Ô¨Āle. A compiler can be used to compile the codes. 1….
  • Hello, here is my code and assignment. I don’t understand why I keep getting these errors. Below is the errors I am getting: ¬†. Q0: PID & GitHub Username (2.5 points) Once you’ve completed the ab…
    • Sara is writing a program to input her monthly phone bills and output the month name and amount for the month with the maximum amount.¬† She has defined an array to hold the month names. Complete t…
  • In a¬†print¬†statement, you can set the ________ argument to a space or empty string to stop the output from advancing to a new line.
  • Write a code in Python that take an image as input and detect the face and draw a filled black circle on the face. Your code should save the detected face image as well as circled image. Use OpenCV Li…
  • Make a python script that will ask a user for a word and store it in a variable.¬† Print out a result that looks like the following: ++++++++++ {your word} ++++++++++ ¬† Try to accomplish this with on…
  • Do not use lists please. # Function: string_capitalize # input: a phrase (String) # processing: capitalizes the first alphabetic character of each word in a string, # and lowercases all other alphabet…
  • $1000 is deposited in a bank account for 10 years, and collects interest at an annual rate of 4%. ¬†Write program which outputs the following data in a neat table for the ten year period: year, starti…
  • For the following function, identify the loop invariant, the loop exit condition, and the loop post-condition which shows the algorithm’s correctness. def padded_string(n,d): “”” Input: Non-negative i…
  • Problem 3 The perceptron follows a simple “online” update rule that re-calculates the weights from each input/output example it receives during training. If we have an input sample x = [1, x1, x2, ……
  • import random d = {} c = 0 l = [] while(True): ¬† ¬† r = random.randint(1,10) ¬† ¬† if r in d: ¬† ¬† ¬† ¬† d[r] += 1 ¬† ¬† else: ¬† ¬† ¬† ¬† d[r] = 1 ¬† ¬† c += 1 ¬† ¬† l = [] ¬† ¬† for i in d: ¬† ¬† …
  • code to be done in python. is phone num: This Boolean function takes a string and returns True if it is in the format ddd- ddd-dddd, where d is a digit, False otherwise. Example calls: is phone num ( …
  • A) Write a function sum_even that will take an integer number num and return the total of all even numbers from 2 to num (inclusive) ¬† i.e. total = 2 + 4 + … + n – Do not use if statement in your c…
  • Romans numbers contain symbols M, D, C, X, V and their equivalent decimal values are M = 1000, D = 500, C = 100, X = 10, V = 5, I = 1. For instance, the roman MDCXVII corresponds to 1000+500+100+10+5+…
  • Activity #2: Taking limits to compute derivatives – To be done as a team In an earlier lab, we observed how we could have a function that is undefined at some value (such as (sin x)/x at the point x=0…
  • Python Help: Question: In the previous week, you should have created a class called Rectangle.¬†This week, you will perform inheritance with the Rectangle class. Some Background:¬†Rugs have a set size…
  • Unit 7 Write a python code that creates a class with those attribute and function. Below is the proposal… ¬† A ford dealership has cars that have model, stock ID, and price. And a function that take…
  • Statistics are often calculated with varying amounts of input data. write a simple Python program that takes any number of integers as input, and outputs the average and max. Ex: If the input is: 15 2…
  • Hi, I have attached the question and also the solution to it using For loop. However, I need it to be done with lambda, map, reduce, and filter, and without list comprehension and for/while loops or r…
  • from time import localtime ,strftime num = int (input( “Enter time number: ” )) cur_time = localtime () print (strftime( “Today is %A,%B %d” ,cur_time)) print (strftime( “The appointment is on %A,%B %…
  • Question 4 (2 points) What is the output of the following code segment? for num in range (2, -5, -1) : print (num. end=". ")
  • Sort an array RECURSIVELY using selection sort algorithm. Sort an array RECURSIVELY using insertion sort algorithm. Sort a singly linked sequential list using bubble sort algorithm. Sort a singly link…
  • A variable is divided into 5 nominal categories. It looks like a good explanatory variable for your regression analysis so you decide to break it into dummy variables. How many Dummy variables will yo…
  • The importance on modules and strings in Python and how to use them.¬† Explain the use of modules (provide at least one example). Explain the use of string functions (provide at least one example). Wh…
  • https://drive.google.com/file/d/15GlMuuvglSrA3dp1jNY5_YohZlILaKIe/view?usp=sharing ¬† i am not sure about the code for these tasks.
  • Create an algorithm in python. The algorithm determines the maximum sum that you can obtain in a sequence of numbers, adding the longest subsequence contained within it. Analyze its complexity. It als…
  • Using the list¬† words , produce a list of words, called evenWords, whose word length is an even number. Write the function¬† selectWord ¬†that is passed the string parameter¬† word . The function ret…
  • Type it in python Write a program that calculates the Euclidean distance given 2 input vectors of similar dimension. The Euclidean distance between two vectors ūĚĎĘ, ūĚĎ£ can be calculated using the f…
  • Because the data is quite jagged, we first “smooth” it before analyzing it. We will form a new sequence of numbers obtained by replacing every data value, starting with the 4th entry and ending with t…
    • Create a list, mylist. Add 5 values of your choice in it. Demonstrate your knowledge of how you will create a. A dictionary, mydictionary, which has this list as a value. b. Access the second membe…
  • Please help can’t figure out will rate! A = [2, 9, 2, 6, 4, 3, 3, 2] for i in range (len (A)-1) : for j in range (itl, len(A) ) : if A[i ] == A[j ] : print ( ‘ Duplicate found: ‘, A[i]) 1.26 Exercise:…
  • I wrote this code in order to obtain a series of monthly weather observations at Helsinki for a period from 1960 to 2020 and then I saved the data to a local file using package pickle. I used the data…
  • # Complete the code You can utilize the image and its gradient to tweak the image. The model might be more/less confident on classify the tweaked image. Complete these functions img_negative_tweaking(…
  • Hi can you explain the code for the following savingsaccount class in Python OOP ? ¬†. SavingsAccount class: This class inherits from Account class. It will represent following account information. Th…
  • no chegg import json import random from datetime import date, timedelta, datetime import faker from random import randrange fake=faker.Faker() usernames=set() usernames_no=1000 d1 = datetime.strptime(…
  • Exercise 4 ¬† create some code to print out the countries in alphabetical order. ¬† COUNTRY_STATS = {“Canada”:(1867, 37952190), “USA”:(1776, 329425372), ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† “India”:(1947, 13596110…
  • Part 1 Section 6.2 of your textbook describes¬† incremental development . Do the exercise at the end of that section: As an exercise, use incremental development to put a function called¬†hypotenuse¬†…
  • Apply Breadth First Search (BFS) to traverse the following graph. Start your traversal from vertex 0, and write down the order in which vertices will be visited during the traversal.
  • I can’t figure out why my code wont output correctly. As described the function accepts a file and returns a list of the headings in the file. My function is listed below: def headings(file): ¬†¬†“””T…
  • . Using Python, create a quiz program. Program will 1- Ask a question 2- User enters the answer. 3- As long as the answer is wrong, the program will output " Wrong! Try again" 4- The progr…
  • Implement max features functionality:¬∂ As a part of this task you have to modify your fit and transform functions so that your vocab will contain only 50 terms with top idf scores. This task is simil…
  • please help me with these questions (2 questions) Use mathdotlib to create a school appropriate word by plotting dots. Restrictions: Your word can contain no more than one of each of the followi…
  • the npy, pkl and the complete file are in the link below, though they may not be used to ¬†solve the question but I think it still can be used to check if the answer is right or wrong if needed ¬†….
  • Discuss the adjacency matrix and the adjacency list graph representations. Describe where in these structures each kind of graph information is stored. Describe how the relationships between the const…
  • Help me make my code more interactive for example in the 3 options for trade, sales, exchange, etc. Instead of making the program to end after exploring 1 menu option make it iterative such that the u…
  • I want you to make the Task3 code like Task4, not using the function parameter something: dict, please. ex)genre:dict, average_rating:dict (bc I haven’t learned that code yet.) It is a python class. ?…
  • Question 10 (10 points) Which statement below is false. 2**3 = = 8 O 2+2 = =4 4 = = 4+1 3*4 = = 12 Next Page Page 10 of 10
  • Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– L…
  • LAB RESTRICTIONS, PLEASE READ: Do not add any imports, the ones that you need will be given to you. You may not use any dictionaries or dictionary methods. Do not use try-except statements, you should…
  • In the code cell below the function get_high_low_close accepts two parameters: df which is a DataFrame, and symbol , which is a string. For this problem: Return highest and lowest close price of stock…
  • Activity #1: An Engineering Design Problem [30 points]¬† This activity is meant to help you practice top-down design, outside the context of programming. We’ll look at an engineering challenge, and yo…
  • I am need to make a function for Pythagorean theorem to find one side if the other two are given using a function. I will have to use the math.sqrt and math.pow functions to solve for the given side. …
  • need a program to drop the lowest two scores from a list of scores. Use lists to solve this. Submit a working program that mimics the output¬†as shown below. What to submit: Your Python program (a .py…
  • Q7 – Debugging (0.75 pts) Often, as we write functions, we don’t get it¬† quite ¬†right the first time around. A function here has been provided for you, but it’s not working just yet. This function s…
  • can I get a copy n paste of the code for this? no need to comment or format, I can do it myself, I j need a time saver for the sake of catching up. Python Programming I – Honors 40460 Unit 1, Module 1…
  • # Achievement task 7 # This program will allow students to select one or more of \ # the offered courses, for which they want to register. # list for keeping student records studentRecord = [] # dicti…
  • Dropbox Link for data: https://www.dropbox.com/s/99i78sgaepn63rz/yellow_tripdata09-08-2021.csv?dl=0 To be done using PySpark ¬†. Function to get total toll amount #export def get_total_toll(df): : par…
  • PYTHON: def¬†sumevens(start,¬†end)¬†: ”’ ¬†¬†¬†¬†Assume¬†that¬†start¬†and¬†end¬†are¬†integers. ¬†¬†¬†¬†Return¬†the¬†sum¬†of¬†the¬†even¬†numbers¬†from¬†start¬†increasing¬†to¬†end,¬†inclusive. ¬†¬†¬†¬†…
  • could u aid with this. Be sure to use the .format method of python and make sure to separate the main file and the function file. As well, only use one return statement in the function (at the end of …
  • Complete function q3 with the two missing lines of code: def q3(listOfPairs, startIndex): ¬† ¬† currentItem = listOfPairs[startIndex][0] ¬† ¬† resultString = [currentItem] ¬† ¬† nextIndex = listOfPair…
  • 09 ‚ÄĒ There’s some character in there 10 Given an alphanumeric string, return the character whose ascii value is that of the integer represenation of all of the digits in the string concatenated in t…
  • So far I have: def checkGenome(genome:str)->bool: ¬†¬†”’This function returns genomes based on a given user string”’ ¬†¬†#initilizing return value ¬†¬†genome_return = ” ¬†¬†#looping through to s…
  • no copying Consider the classification task in question 4. (question 4 is down below) Pick a feature selection method (e.g. mutual info classif). ‚ÄĘ 5.a Report the top 5 ranked features. ‚ÄĘ 5.b Trai…
  • Here is the python exercises’s situation and try to use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exer…
  • Here is the file link for the second question: https://www.py4e.com/code3/mbox-short.txt 1. Write a program that first gets a list of integers from input. That list is followed by two more integers re…
  • create XO game in python by use a dictionary and tkinter gui
  • The file explains what the code should do (ignore #1 and #2 on the instructions) Python is the Language Programming Assignment #7 – Files and Exceptions For this assignment, you will write a menu dr…
  • def blur(img: Image) -> Image: “””Blur Image, img, based on the given pixel_size Hints: – For each pixel, calculate average RGB values of its neighbouring pixels (i.e. newRed = average of all the R…
  • How to find the top 10 elements from python cross tab? ¬† df = pd.crosstab(index=Tickets_data_modified[‘ORIGIN’], columns=Tickets_data_modified[‘DESTINATION’], values=Tickets_data_modified[‘ORIGIN’], …
  • Build a flowchart that will calculate the average miles per gallon obtained on a trip. Input the amount of gas used and the number of miles driven. (The formula to calculate miles per gallon is miles …
  • . Modify the scripts of Projects 1 and 2 to encrypt and decrypt entire files of text. An example of the program interface is shown below: Enter the input file name: encrypted. txt Enter the output f…
  • I ONLY NEED THE CHALLENGE ACTIVITY ctivity #1: File read and write ¬† In last week’s lab, your team designed and constructed a program for performing interpolation calculations.¬†As a team, you should…
  • . 7 Questions 00:23:35 SUBMIT X < 1 2 3 4 5 Question 7 Answer choices 1.5 Marks Select only one option F REVISIT Data Partitioning: Split the data into train and test. The training data should co…
  • Assign the variable my_best to be the string "I, Horrbs, will do my best on this exam." Be sure you attempt every problem. Don’t spend too long on any one problem. (2 point) In [ ] : # yo…
  • Write a program that will read the ‘activities.txt’ file and then write the activities in a reverse order to another file named ‘reverse.txt’.¬† For the example given above, the contents of the file ‘…
  • Design a function that accepts an array and the array’s size as arguments, and returns the largest value in the array. The method should use recursion to find the largest element
  • import numpy as np import pandas as pd import math # function name: find_class_averages # inputs: file_name- name of csv file # class_names- list of strings representing class names # output: a pandas…
  • 1 Task The following writeup describes elements of the task you are to do, mostly with examples taken from the “view source” of¬†Jim Ryan’s page. Your job is to generalize the pattern and put it in a …
  • I am creating a program that allows the user to input integers to create two matrices and give them the option to add, subtract, and multiply them. I am having issues with creating the matrix. I am no…
  • In your own words, give one real world example for each of the following Web Server Threats.¬† ¬† One or two sentences per item is sufficient:¬† (a) Compromise of underlying system¬† (b) Gateway to en…
  • prepoke frame work: ¬† ¬† ¬†. Ibhort Description The Memory game has appeared in many different contexts, either as a computer game or as a card game that uses a partial or full deck of playing …
  • Least Squares and Correlation The method we are going to use is called the least squares method. It takes a list of x values and y values (the same number of each) and calculates the slope and interc…
  • I’m having serious trouble figuring out how to start coding for these problems. I’d be more specific, but honestly, I’m horrible with this coding language and I have a hard time remembering things abo…
  • My initial post: Development of both procedural and event-driven program differ from each other: For procedural programs, programming is used as a means of procedure development where the main focus i…
  • The Restaurant. py file you were provided along with Lecture 19 includes a main code area with code to test functions that have not yet been written (see the methods with pass as their only stateme…
  • The TripAdvisor web page Day Trips in Yellowstone National Park lists the top things to do in the park. For your convenience the code to retrieve the contents of the first page of this list is provide…
  • Need help with this python assignment! I’m really confused on how to code this assignment. Please follow the exact given instructions and have the output be the same as the sample output shown. Please…
  • Create a class named Circle that will inherit properties and methods from a class named Ellipse, and you do not want to add any other properties or methods to the class.¬† ¬† ¬†2. Explain the purpose …
  • We will build a GUI to display a set of values. You will display the values using both a line chart and a bar chart on the same app. 1.¬†¬†¬†¬†¬†¬†¬†In the constructor Create list of 20 random values …
  • Using Jupyter Notebook a program that uses a Dictionary structure to accept a sentence from the user, then count the number of characters in that sentence and display them in increasing order.¬† ¬† Th…
  • Assume v is a list containing numbers. Write the Python code segment to find and print the highest two values in v. If the list contains only one number, print only that number. If the list is empty, …
  • Consider the recurrence equation, T(n)=aT(n/b)+O(n) (O(n), for n>1, where T(n)=1for n =1. Prove that őė(n) is
  • In my home area you’ll find a file named ‘e_coli_k12_dh10b.faa’. It contains all of the polypeptide sequences in the E. coli K12 genome in FASTA format. Your task for this exercise is to generate an a…
  • Reverse of a digraph for the above input and output template, programming language: python. Digraph input format A sequence of one or more digraphs is taken from the keyboard (System.in). Each graph i…
  • Python 3.4 Please find the attachment for detailed description. Details about the two classes: ===== Class Rectangle represents a 2D (axis-parallel) rectangle that a user can draw on a computer screen…
  • Hi :), I would need help for a exercice Python I have this : my_filters = {‘cat’:’apple,orange’,’day’:’20200101,20200102′} I would like with a recursive function obtain this output : [ [(‘cat’,’=’,’ap…
  • Domain – Media focus – optimize selection process Business challenge/requirement Motion Studios is the largest Radio production house in Europe. Their total revenue $ 1B+. Company has launched a new r…
  • Code ¬† ——————————-MyRoomba.java—————————— ¬† package main; import world.Move; import world.Roomba; public class MyRoomba extends Roomba{ /*You can put variable…
  • Need help with writing the following code: Exercises @¬ģ ¬ģ Exercise 4: Months Write a program that determines the month of the year based on the value of a variable called month . The variable will b…
  • Write a¬†10√ó4¬†dataframe with random numbers that follows normal distribution. You can use any labels for index and column names. Check the first row, print all the column(s) where the values in the …
  • Write a program that lets the user enter a string and displays the character that appears most¬† frequently in the string Use count, alphabet_string = ‘abcd….z’, lower(), find(), and len().
  • Shippensburg’s Tax King needs to develop an application that calculates income tax payment for its clients. The text file provided includes data on the clients’ income and relevant tax filing informat…
  • This problem is giving me a difficult time could you please help. The file movie_reviews.txt is given to you (see Blackboard for the file movie_reviews.txt). movie_reviews.txt: Nancy Pollock,Lawrence …
  • Python I try to download pygame in pycharm. I’m learning by myself so I follow the book and in my idle I got >>> import pygame pygame 2.0.0.dev6 (SDL 2.0.10, python 3.8.3) Hello from the pyga…
  • I’m getting stuck trying to create a stem-and-leaf plot in python (without any imports like pandas). I have 3 text files I need brought in for a user to input and loops until the user wants to quit th…
  • For Loop: printing a list CHALLENGE ACTIVITY 4.5.1: For loop: Printing a list Write an expression to print each price in stock prices. Sample output with inputs: 34.62 76.30 85.05 $ 34.62 $ 76.30 $ 85…
  • Can I get some help and explain to me in an essay what this function is doing.¬† ¬† def average(filename): ¬† ¬†infile=open(filename, ‘r’) ¬† ¬†content=infile.readlines() ¬† ¬†infile.close() ¬† ¬†x=0 …
  • I am stuck in this question. Find the numbers that can be expressed as the product of two nonnegative integers in succession and print¬†them in increasing order.¬†(For example, 30 is such a number as …
  • Implement the branch-and-bound algorithm for the Partial Digest Problem ¬† ¬†(PDP) as given here using your favorite ¬† ¬†programming language (e.g., C, C++, Java or Python). Test your program on ?…
  • The question is attached in screenshots and the template is as follows: #import socket module from socket import * import re import sys # In order to terminate the program # faculty info data facultyI…
  • #3 points: #create the function named exampleSix, that will have one input parameter. #Take that input parameter and replace all of the "33" with "s", and "tt" with &quo…
  • Python code to write a function squareRoot(x) to compute the square root of the positive number by newton-raphson method.
  • You will work with the¬† Nutrition_subset ¬†data set in this assignment, using Python. The data set contains the weight in grams along with the amount of saturated fat and the amount of cholesterol fo…
  • Use Python¬† ¬† ¬†Implement a function that will plot a set of X and a 2D hyperplane given by (w, b), and the projections of X onto the plane. ¬† Given: w¬†=¬†np.array([1.0,¬†1.0]) b¬†=¬†0.5 X¬†=¬†np….
  • Person class [20 pts] [autograded] Write the class Person so that the following test code passes:def testPersonClass(): ¬† ¬†print(‘Testing Person Class…’, end=”) ¬† ¬†fred = Person(‘fred’, 32) ¬† …
  • Need assistance writing a PYTHON BMI program that asks the user for weight and height in one single input (I’m guessing i have to use .split with a comma delimiter?) The program should ask the user if…
  • Question 4 s-id| s-name | m-id|m-name |m-credit 096546 | Iris Murdoch | 12-M|Machine Learning | 30 174432 | Judith Butler | 14-3/Web Design | 15 185738 | Simone Weil | 12-M|Machine Learning | 30 17443…
  • DocViewer Page of 13 Pages Python Programming Final Project Capstone Name: Date: Note: Each problem may or may not build on the problem before it. 1. Create the data file ‘pilots.dat’ : ‚ÄĘ Using PyDe…
  • how do you delete everything between “”” and “”” in a string? without using re.sub
  • 6 LAB: Name format Many documents use a specific format for a person’s name. Write a program whose input is: firstName middleName lastName and whose output is: lastName, firstInitial.middleInitial. …
  • I have a question about coding in Spark SQL using python. I firstly have two data frames here. from pyspark.sql import Row customers = spark.sparkContext.parallelize([ Row(customer_id=’1122334455′, fi…
  • How do I convert the following categorical attributes to have numerical values with the rule below? Stay_In_Current_City_Years:¬†0:0,¬†1:1,¬†2:2,¬†3:3,¬†4+:4
  • Problem 3¬∂ This code defines a function that returns a new list after checking whether each value of a list belongs (or optionally doesn’t belong) to a second list. # First define a function def chec…
  • Please help me to use R language to solve this problem, no other languages, thanks. (1) Extra credit only for the keeners: Find the two most distant weather stations in this dataset. The distance is t…
  • NumList = [] Here’s my work Input is 10 5 3 21 2 -6 output = 2 21 Number = int(input()) for i in range(1, Number + 1): ¬†¬†value = int(input()) ¬†¬†NumList.append(value) print(min(NumList)) print(max(…
  • For this question, assume you have a API that creates a circle with the following function: create_circle(radius: float, color: str) -> Circle: Your friend Riley wrote the following working but sli…
  • For this problem, we will re-work homework 2a using the integrate.quad function of¬† scipy.integrate rather than the Simpson method to find: P(x<1|N(0,1)): probability x<1 given a normal distrib…
  • Part 1: Global Rhinoceros Census (For loops) Part 1: Global Rhinoceros Census The Wildlife Conservation Society is taking a census of all of the captive rhinoceros herds, and they need your help. Writ…
  • The programming language is python 3.7, using PIL to import the image. The image of the goat is the one to be modified according to the questions parameters. puzzle (file_name) Use the file name passe…
  • In visualization, the process of quickly identifying differences in primitive attributes that we perceive is known as [________________] processing.
  • https://sigmacamp.org/sites/default/files/page_attachments/September_2018_POM.pdf Hello please help me with these 3 python activities. o The program should determine the ticket price for that person (…
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
  • Use Jupyter NotebookÔľĆ Show the coding progress Load the Iris dataset (the objective is to predict 3 different types of iris flowers) from scikit-learn https://scikit-learn.org/stable/modules…
  • Problem: A road map defines locations as map references like B3, where B is the x-coordinate value and 3 is the y-coordinate. The grid lines are 0.5 km apart. Create a program that allows the user to …
  • In this homework problem we will learn to stamp components from a circuit into a matrix describing that circuit using the methods from nodal analysis in Circuits 1. Then we will apply this to a simple…
  • Learning Journal Unit 8 Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: . …
  • Please help me solve this python problem. Among the items in the following list, write the ones that are required to build the requested feature in your GUI application. Here, The list of tkinter obje…
  • When putting together a list of symbols used in a flowchart and their meaning do you need to still cite sources?
  • “A retail footwear brand is looking to understand their product sales. They have 5 products — sneakers, boots, loafers, sandals and socks. They also have 3 store locations, which they identify by NY1…
  • I have some code I made down below and I am having troubles with the mouse control for the game. So basically, upon a mouse click on the tiles on the screen, the color should switch and it does. But, …
  • Describe how to pass a variable, string or otherwise, to a procedure and also how to store that into an array. a) Provide an example of each. b) Include any flowcharts or pseudo-code examples…
  • Q::Clean tweets¬† [ ] def clean_all_tweets (df ) : pass clean_all_tweets (df ) gt_sentiment original_tweet cleaned tweet O positive Now all @Apple has to do is get swype on the i… Now all has to do …
  • CHALLENGE ACTIVITY 3.15.1: Combining strings. Assign secretID with firstName, a space, and lastName. Ex: If firstName is Barry and lastName is Allen, then output is: Barry Allen 290064.953372.qx3zqy7 …
  • In this exercise, I want to write few classes to simulate a server that’s taking connections from the outside and then a load balancer that ensures that there are enough servers to serve those connect…
  • I was asked to construct code to calculate calories burned and this is what I have written so far but it is saying my program produced no output… Could you tell me what I am doing wrong? 1 "’ W…
  • program that takes a birthday as input and prints the user’s age and the number of days, hours, minutes and seconds until their next birthday.
  • Question: The second requirement is that¬†s¬†contains at least three items separated by commas. How would we assert that? Another way to say this precondition is that¬†s¬†must contain at least two com…
  • The second sequence of numbers are Fibonacci numbers. I need to do the following: a. Name this method fib_gen that generates Fibonacci number. b. This method takes one inbound integer argument, th…
  • Subject is Python. Please help to make a function load_profiles: (TextIO)¬†->¬†Tuple[Dict[str, List[str]], Dict[str, List[str]] The parameter refers to a file that is open for reading. The data in …
  • 21 BREAKOUT ROOM ACTIVITY LAB: A list and dictionary for number conversion ¬† Note: If you are unable to attend lab, this lab activity can be done on your own. Remember, it is a required lab! Create…
  • increment_2D Now, let’s get some practice coding nested for loops for 2D lists. Define a function increment_2D that will take as a parameter a 2D list of integers and returns a new 2D list with every …
  • Buster the Troll wants to go visit his friend, the troll king, in Troll Kingdom. He wants to bring some precious stones for his friend and he knows that on the way from his troll cave to the kingdom, …
  • explain how to find, remove, and replace parts of a string. ¬†What other tasks can be performed in strings? ¬†Why it is crucial that programmers can manipulate strings? ¬†If one could not work with st…
  • please dont cancel this question. i need solution urgently. i will pay extra amount as per hour. w… ._… “my-.." 1pm…. (35%) Perform Exploratory Data Analysis (EDA) and apply basic statist…
  • Code the function equation(i, data, y) and least squares predictor(data, y) without using numpy/pandas Please include explanation of the code & the computational complexity To see the description …
  • Given a maze that has one entrance and multiple exists, if the the maze is modeled as unweighted un-directed graph, assuming that time and space complexity differences are negligible, would DFS be pre…
  • I tried this code for my first attempt, however, it doesn’t print the correct True or False response: def Sq_magic(inp): size = len(inp[0]) lst = [] for c in range(size): lst.append(sum(r[c] for r in …
  • Which of the following key cybersecurity challenges may be addressed by advancement in Python scripts?¬† Options: ¬†Image and Multimedia Analysis¬† Tripwires¬† Deception Methods¬† Malware Analysis¬† A…
  • please help me correct my algorithm so python will run it. class vertex: ¬† ¬† ¬† ¬†char nod ¬† ¬† ¬† ¬†int brand ¬† ¬† ¬† ¬†vertex sig ¬† ¬† ¬† ¬†arc arc class arc: ¬† ¬† ¬† vertex view ¬† ¬† ¬† int …
  • PYTHON: Please run code below and answer questions 1-5.
  • I am having difficult to solve the problem below. According to each method’s documentation, complete the code of the¬†TextProcessor¬†class and its subclass¬†TextAnalyzer. class TextProcessor : def __i…
  • I cannot figure out my homework problem. I was supposed to modify a certain function to write a dictionary that has a list. Which I did. And now I’m supposed to read a list of key-value pairs from a t…
  • I have this function header: ¬†def add_node(self, id: str, name: str) and this list: [9, ¬†‘Narrator’, ¬†0, ¬†‘Herself – Narrator (voice)’, ¬†2, ¬†”, ¬†4, ¬†‘Herself’, ¬†11, ¬†‘Michael Vronsky’, ¬†2,…
  • Diff is 3232 characters long. Set self.maxDiff to None to see it. : Expected ({‘Jay Pritchett’: [‘Claire Dunphy’, ‘Gloria Pritchett’, ‘Manny Delgado’], ‘Claire Dunphy’: [‘Jay Pritchett’, ‘Mitchell Pri…
    • For the ¬†dataframe, calculate mean and standard deviation grouped by gender (for males vs females) for all the numeric columns. Name them ‘prop_correct_mean’, ‘mean_rt_mean’, ‘prop_correct_std’, ‘…
  • Using python Online store : users should be able to order items for sale or combo items (items when bought together trigger a discount). The order should include number of items and prices for items a…
  • (Data management contains multiple steps, including data cleaning and exploratory analysis. In this project, you will showcase skill in data management using Pandas.) Answer these questions: Are Ameri…
  • Homework 1, Homework 2, Homework 3, Homework 4, Homework 5, Homework 6¬†and Test 1.¬† ¬† Run the programs in the Python compiler and review the output.¬† Put the code and output in one Word file. No o…
  • please help me start the right code for function taking 2 integer and return least common multiple. LCM(a,b)
  • You must include the following components in your Employee Management System: Employee Management System – Functionality 1 In Week 1, you developed the first functionality for the employee management …
  • How to create function solve_sudoku(file_name) that finds the solution for the given sudoku. Input: a file name file_name , where the file contains n lines, and each line contains n entries separated …
  • . Problem #2: 2-D contour plot Suppose you are given the following mathematical function: z = ( sin (xy) )2 , where x and y are both independent variables. Here are reference images of the function …
  • Why am I getting this error code? I don’t see anything wrong with my code¬†. Question 1.1. Construct an array days with 365 elements, numbered 1 through 365. We’ll use this as our possible birthdays (…
  • Question 4: An¬†anagram¬†is a word whose letters, when rearranged, form another word. A ‘sub-anagram’ is a word that is formed from a subset of letters in the original word (e.g., ‘lose’ and ‘so’ are …
  • Write the missing class, Thing in thing.py . See the code in things.py and the output it produces when run, shown below. Your job is to figure out from the output and the code in things.py how to writ…
  • code using python. Note : you pick the appropriate parameters in these problems. 1. In this problem we explore what happens when we use (inapproriately) the t- CI for a non Normal population. Let X1, …
  • #In the previous problem, you were given a dictionary where #the keys were names and the values were days of activity #on a class forum. You returned the name of the most active #student; or, more sim…
  • Please provide python code for this question. Typing the question below also: class CSEDepartment: total_student = 0 def __init__(self, name, credit): self.name = name self.credit = credit def __str__…
  • Please answer the following questions using PYTHON with all relevant assumptions, explanations and details. Question : A car salesman sells on an average 3 cars per week.¬† A. What is Probability that…
  • Need help with Python Task. Attached images. Code: ¬† # Get the filepath from the command line import sys P= sys.argv[1]¬† F= sys.argv[2] L= sys.argv[3] B= sys.argv[4] ¬† # Your Code Goes Here Fixed L…
  • write a Python program for an online coffee order. Coffee is sold by the pound, and the price per pound depends upon the quantity ordered according to the table shown below. Partial pounds are not so…
  • Suppose that: lst = [‘apple’, 3.2,7,2<3]. What type/class of object is¬† >>> lst [2] ¬† (I think the answer is 7) but what would it be called? I am leaning towards integer (int) ¬† a. bool…
  • Encryption is fundamental to security. So this task is about demonstrating and using the python encryption library. Base your investigation on¬† http://docs.python-guide.org/en/latest/scenarios/crypto…
  • Please trace snippet of code and indicate all the python building blocks that we have covered so far by indicating what each line of code is doing. Could you trace this code without first plugging it …
  • Using python and seaborn library (whenever makes sense), analyze the house price dataset given below and provide the code to series of questions. Thank you. https://drive.google.com/file/d/1kK6a2KTAqq…
  • Give correct answer with detailed explanation… And don’t copy from internet…¬† I will upvote for correct code. And down vote for plagiarised content.. ¬† Write a Python function that takes in a so…
  • What is the purpose pass statement in python?…….
  • The following code needs to be edited with the following instructions, and the attached text is the txt file needed for it. >NC_045512.2 Severe acute respiratory syndrome coronavirus 2 isolate Wuha…
  • T-test on simulated data (15 + 10 points) ¬† ¬† ¬† Write a program to simulate an experiment of tossing a fair coin 16 times and counting the number of heads. Repeat this experiment 10**5 times to …
  • Make an college enquiry chatbot which can talk with users and provide them the details of events, admission and academics, etc. when asked by user.
  • Please help me I keep getting wrong. 07 – Multiple Dots [0.75 points) limit_full, sharaster s Tang ull mille side at fall full, character s jaj flair trail, sharesier s lar). be have to search jupyter…
  • Write a program that computes the fuel efficiency of a multi-leg journey. (Refer to exercise 9 of Chapter 8.) ¬† Prompt for the starting odometer reading. ¬† Get information about a series of legs. Fo…
  • def running_count (iterable,p) : pass def stop_when (iterable,p) : pass def yield_and_skip (iterable) : pass def windows (iterable,n,m= 1 ) : pass def alternate (*iterables) : pass def myzip (*iterabl…
  • TikTokStar ¬† Tall or Wide ¬† Tall or Wide Visualization ¬†. Instructions Complete both of the following prompts for this project. The prompts requires you to use complete the functions so that the…
  • (Palindromes) A palindrome is a string that’s spelled the same way forward and backward. Some examples of palindromes are: “radar,” “able was i ere i saw elba”. Write a function testPalindrome that re…
  • Please which ever tutor looks at this I need your help with this python assignment! Please do not just ignore this question! I don’t understand how to code this assignment and I am terrible at python….
  • Hello everyone, can someone tell me this please. thank you Which of the following evaluates to False? (choose 4) Select one or more: a. [ ] b. -1 None O d. False e. "False" O f. 0 g. " …
  • How to code the following output using only importing from a libaray , for loops , while loops and if; if-else; if-elif-else Rock, Paper, Scissors Game =========================== Rules: – Rock beats …
  • can you guys help me translate my python code into a flowchart? as i am not understanding how to translate from code to flowchart.. Pc File Edit View Navigate Code Refactor Run Tools VCS Window Help p…
  • What, if anything, is wrong with this code? my_age = input ("Enter your age: ") myNewAge = int (my_age) + 5 print ( "In 5 years you will be", myNewAge, ".") a. canno…
  • I tired to replace all commas to become space using python, and shown below. but I want to know how can I use a new CSV file to store the change, then export the new CSV file in Jupiter notebook. Also…
  • I am having trouble figuring this out and what would be the best way to generate the correct output for this: (1) The given program outputs a fixed-height triangle using a * character. Modify the give…
  • I am completely behind and lost on this weeks assignment. I need to create modules for all my functions in the below code and import each function back into the code by saving each function as a Mylib…
  • How do I do a question like this in the Python language? ¬† ¬†. A arato.inf.unideb.hu 20 1208 Tog Largest product of five adjacent digits in a 1000-digit long number (PE #8) Find the largest product o…
  • Exercise 3. Sentence split (40 points) Function name : sent_split Parameters : sentence, delimiter1, delimiter 2, … Return : A list containing all separated strings Description : You receive one sen…
  • Create FLOWCHART and a PSEUDOCODE for each problem. Use the information below to create pseudocode (which can be a text-based description for solving the problems) and a flowchart (using flowchart sym…
  • Write a function to compute the Euclidean distance between two¬† arrays ¬†of features of¬† arbitrary ¬†(but equal) length. Use it to compute the distance between the first song in the training set and…
  • give the pseudocode for this program name = int(input(“Number of names: “)) print(” “) Names = [] for _ in range(0,name):¬† ¬† ¬†name=input(“Enter a name: “) ¬† ¬†Names.append(name) Names.sort() pr…
  • Hi! I’m running into an error with my code. I need to display 8 / 0 is Infinity and in the instructions, it says to deal with the exception. I’ve tried a couple methods, but it keeps returning the fol…
  • The second lock consists of a “T”-shaped groove in the door. The left branch of the T is labelled source, the right branch is labelled destination, and the bottom branch is labelled store. Several gem…
  • Hello experts, I have a question on R programming. I am using a curve function to draw the curve of sin() from 0 to 10. I get to this point but how would I be able to increase the line width of the cu…
  • Use python to calculate the value of JetBlue given projections for future cash flows. use yahoo finance. Please provide the codes used.
  • What is answer of thi expression, 22 % 3 ?_————-
  • There are two datasets TwADR-L (from Twitter) and AskAPatient (Link: https://zenodo.org/record/55013#.YgU2NN-ZO4T) for medical concept normalization. However, the two datasets have serious data qualit…
  • CSC 212 -Data Structures Sorting Exercise ¬† ¬† Exercise 1 Suppose you have the following list of numbers to sort: [19, 1, 9, 7, 3, 10, 13, 15, 8, 12] which list represents the partially sorted lis…
  • Task#1:¬† Consider the following three lists:¬† Mylist = [10,11,¬†15,¬†81,¬†42,¬†73,¬†120]¬† odd = []¬†#empty list¬† even = []¬†#empty list¬† Write a program using WHILE loop that goes through all the…
  • Need help with two questions – see attached document ūüôā #1) What will be the output of the following code if: I. x = 3 and y = 2 II. II. x = 3 and y = 4 III. III. x = 2 and y = 2 if x > 2: if y &gt…
  • Hello, I need help making a flowchart based in the logic of a bash scripting app. This app was made for me but I don’t know how to make a flowchart because I was never good on it. I am going to send c…
  • Can anyone help me with a python assignment to make a tic tac toe game?¬† Requirements: A program that uses functions to simulate a two player game of Tic Tac Toe. The program will allow the two playe…
  • please mark correct answer only ¬†. What is the third element printed in the breadth-first search of the following graph, starting from node J? Note that the enqueue process is an alphabetical order. …
  • Hi, ¬† I am working on data science using python. ¬† I have 200 features to find correlation with Y value. ¬† 1. How can i show all correlation? Because when i run df.corr(), the outcome skips the mid…
  • 2 . The function header marks the beginning of the function definition. a. True b. False
  • Looking for help with a program to draw a “quiz score” histogram. Program should read data from a file, where each line of the file contains one number in the range 0 to 10.Program must count the numb…
  • { “nbformat”: 4, “nbformat_minor”: 0, “metadata”: { “colab”: { “name”: “ATMqueueBooksstack.ipynb”, “provenance”: [] }, “kernelspec”: { “name”: “python3”, “display_name”: “Python 3” }, “language_info”:…
  • Hi, Can you please help me with this Python program: Current assignment: Mini-Project 9: Research¬† how to read and write text files in Python 3 . (Search the internet for this term. You will find a p…
  • python coding please. QUESTION 4 A Movie class has a title attribute (the name of the movie) and a Director attribute (which is a Director object). The Director object has two attributes, a name and s…
  • Having issue in Regular Expression in Python not getting desire result, some of expected result are passed but some of expected result are failing not sure where we went wrong. Please advise us import…
  • Question 2 (25 Points): Using Scikit Learn, write a program to use the Perceptron to learn: NAND gate for two inputs NOR gate for two inputs Question 3 (25 Points): Use the Perceptron algorithm to cre…
  • (Some Basic Set Theory, 7pt) Calculate the following expressions. You can use Python if you¬†want,or¬†you can do it by¬†hand. ¬† (a)[2pt]¬†{3,4}¬†√ó {1,2,7}¬†√ó¬†{3}. Note : the answer should be a …
  • How can I combine these functions to solve part3.4 and 3.5 def classify_sentiment(sentiment,cutoff): ¬†¬†¬†if(abs(sentiment[0]-sentiment[1]))<=cutoff: ¬†¬†¬†¬†return “neutral” ¬†¬†¬†elif(sentiment[…
  • The¬† store_inventory.py ¬†program was created to hold data about an item in a retail store. The class should store the following data in attributes: ¬† item description units in inventory price The p…
  • A half-life is the amount of time it takes for a substance or entity to fall to half its original value. Caffeine has a half-life of about 6 hours in humans. Given caffeine amount (in mg) as input, ou…
  • What is printed by the following statements ¬†name =’Reginald peoplesmyth’ ¬†print (name [0] ¬†+ name [2])
  • The TripAdvisor web page “Day Trips in Yellowstone National Park” lists the top things to do in the park. For your convenience the code to retrieve the contents of the first page of this list is provi…
  • Find how to write in the line Write the boolean expression that should go in the blank so that the code prints the message "We have the same age!” when the values of age1 and age2 are the same,…
  • I’m looking for the corrections in the code so that its can make a dictionary of the list of countries and there capitals! with that said the code to correct is in the second png. it ask a list of que…
  • a program named¬† make_list.py¬† that reads the integers contained in the attached¬† ¬†nums.txt¬† file into a list. The program should then process the numbers in the list and display the following in…
  • Hi, so I am having trouble with this problem on my project. I have started some of it, but I am getting errors with invalid syntax on line 41. But, I also am having trouble with getting it to work wit…
  • Python 3.4 Data Structure * Write the following function to process the file and generate the comparison counts for each Letter object: def do_comparisons(file_variable, bst): “”” ——————…
  • Hello,¬† Could anyone explain why ‘replace = False’ and this index X[sample, :]? ¬† ¬† Exercise 1 (2 points). Complete the following function, init_centers(X, k), so that it randomly selects kk of the…
  • . Implement the following method: lowerCharFrequency(aStr: str, aChar: str)->int: it counts and returns the frequency of lower case char: aChar, appears in the String: str. For example, calling l…
  • Scenario REST APIs are ubiquitous, and Python is the go-to tool for testing REST APIs. The goal of this capstone is to mimic a real-world scenario of API testing. You must write several unit tests tha…
  • Design a program that asks the user to enter a string containing a series of single digit numbers with nothing separating them.¬† The program should display the sum of all the single digit numbers in …
  • Copy the¬†countdown¬†function from Section 5.8 of your textbook. def countdown(n): ¬†¬†¬†if n <= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) Write a n…
  • Write your own Python program where a non-intrinsic function solves for all the roots of a cubic polynomial given by the mathematical function g(x) = ax3 + bx2 + cx + d where a, b, c and d are nonzero…
  • MCIS5313_029211S: Data Structures and Algorithms, Assignment#3: Linked List A linked list is an object that creates, references and manipulates node objects. In this assignment, you are asked to write…
  • There are 10 types of people in the world: Those who understand binary, and those who don’t. ¬∑¬†¬†¬†¬†¬†¬†You and your fellow cohort of those in the “know” when it comes to binary decid…
  • no chegg write a python script that will prompt a user for a directory to archive, ask them if they want the archive compressed, and (only if they do want compression) what type of compression to appl…
  • Overview For this assignment, you are going to develop an application that keeps track of a fund manager’s daily operations. To keep the process as simple as possible, we will assume that there is onl…
  • Complete the¬†get_movie¬†function for the¬†Movie_utilities¬†module. Use the following input format: Title: … Year of release: … Director: … Rating: … Genres 0 : science fiction … Test the fu…
  • I need help implementing my function def list_weather_violations(directory): ¬† Attached are all of the helper functions and everything I’ve done up to this point. ¬†I do not know what direction to go…
  • Explain how loops can be utilized in list processing. Please provide Python examples in your response.
  • Write the definition of a class named Counter that provides the following methods: ‚ÄĘ An __init__ method that initializes an attribute variable named counter to the value 0. ‚ÄĘ A method named increm…
  • Please Explain Instructions: Need to code the following and submit it in one file. Save it as a python file (.py), and upload it into the Assignments area. ¬†¬†¬†¬† Problem 1: ¬†Make a list (or tuple …
  • The goal for project 3 is to extract the lat/lon for each of the 4 sample data points and use haversine to calculate the distance for each location from the original longitude and latitude of Richland…
  • a Python program to input, store, and process hourly temperatures for each hour of the day (i.e., 24 temperatures).¬†Your program should be divided logically into the following parts: ¬† In function…
  • a program in python that will read a number n from user, calculate the sum of the following series up to n-th term, and print the sum: 1^2 + 4^2 + 10^2 + 19^2 + 31^2 + 46^2 …
  • Summary: Given integer values for red, green, and blue, subtract the gray from each value. Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color’s value can …
  • . . A word or a name formed by rearranging the letters in another word is called an anagram. (ex: ‘Iceman’ and ‘Cinema’ are anagrams). Write a Python function that, given two input strings, will tes…
  • I have to write .a python program that calculates the cost of a given concert. The user will be able to enter their information and how many tickets they want and also the date; however the only dates…
  • Export the contents of your table from 3-a into a new JSON file (i.e., create a JSON file with just the keys you extracted). You do not need to replicate the structure of the input and can come up …
  • Programming in Python: Explore the for loop and the while loop. ¬† 1. Explain when to use the for loop and when to use the while loop. 2. How do you include a ‘loop’ structure programming in Python? 3…
  • STOR 120 lab04 (1).ipynb a + x 0 0 Code Python 3 (ipykernel) O Q For operations like arithmetic, or the functions in the NumPy library, you don’t need to use apply , because they automatically work on…
  • Hi i need help for Q2b, i have done my codes, but unable to run it sucessfully. As i have error at the getPrescriptionCost and setTotal methods. Please help. This is OOP in Python
  • import csv ¬† # open the file for writing as a csv # QUOTE_MINIMAL = quoted field with special character ¬† employee_file = open(’employee_file.csv’, mode=’w’) employee_writer = csv.writer(employee_fi…
  • Create a student database program.¬† This program will allow the following: Add a new student to the database 3pts Remove a student from the database 5pts Display details about a student 3pts Display …
  • Hello! I need help figuring out how to make this code. It needs to be executed on Powershell and I am using Notepad++, but I cannot figure out how to correctly design the code. I would appreciate any …
  • I need some help with this programming Using the pseudo code below, write the Python program as described import random chances = 4 turn = 0 storage = # create a secret random number between 1 and 21 …
  • SolutionSolutionSolutionSolutionSolutionSolutionSolution He, (H) points) Write 11 Python function a size and adds u new row n" values in each column t√ČLYl-√ČltienglfupCt’√ČSbr lnk (L) that takes…
  • 1) There are totally 100 boats in a port.If on an average 2 ship out of 10 do not arrive safely to ports. ¬† i) Probability of getting exactly 12 boats to sink (2marks) ¬† ii) Probability of getting a…
  • Question 1. ¬† (4 points) The answer to the main question – What categories of passengers were most likely to survive the Titanic disaster?¬† (2 points) The detailed explanation of the logic of the an…
  • Python Programming Invoice Class Introduction : Assignment requires creating classes and instantiating objects from created class Instructions : Follow the instructions below 1. Add a title comment bl…
  • 1- Make a Python dictionary that returns a¬†list of ¬† values¬†for each¬†key. The key can be whatever type you want.¬† Design the dictionary so that it could be useful for something meaningful to you….
  • I have a dataframe ‘df_grades’ that I have added ‘score’ and ‘grade’ columns to. df_grades = pd.DataFrame({‘Geography’:[12,45,39,87], ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†‘Math’:[87,23,45,76], ¬†¬†¬†¬†¬†¬†…
  • Template¬† “””Create and manage bookshelf data.”””¬†from¬†argparse¬†import¬†ArgumentParser¬†import¬†sys # replace this comment with your implementation of # remove_punctuation(), class Book, class Boo…
  • What would the following code print? text = ‘cold’ result = ” for index, char in enumerate(text): ¬† ¬†¬†result = result + (char * index) print(result) (Hint:¬†¬†The code involves multiplying a chara…
  • what is the answer Which of the following Python expressions long divides x by y, discards the quotient, keeps the remainder, and then raises that value to an exponent of 2? Select one: @ (x / / y) . …
  • . Problem 1 Write a Python program that inputs a word and a justification then, using nested loops, displays a pattern based on the letters in that word as shown in the following samp…
  • I need some help with the Error/Exception block of my Python Code within a while loop. ¬† Please see the description of the assignment here: Write a python program without a function that does the fol…
  • a Python function named¬†caesar¬†that satisfies the following specifications: It takes the plaintext as a mandatory argument. Assume the value of this argument will be a string. It takes the shift as …
  • Choose the letter corresponding to the given choices ¬†(letter only, otherwise will be marked wrong) a End b For c Goto d If-Then e Input f Let g Next h On __ Goto i Program j Rem k Restore l While 1….
  • Nees both of these answered, programming language can be python. Just need the correct answers.. Question 3 Unlimited tries Write a definition of the function printDottedLine, which has no parameters….
  • Python program . Write a Python program to ask the user for the day of the week. Then, depending on the day entered by the user, the program should display one of the following messages: . "You h…
  • py – skeleton .py file for you to modify ¬† class Video: def __repr__(self): #provided return f”Video({self.sound}, {self.likes}, {len(self.comments)}, {self.minutes})” class Account: def _…
  • I need a python code that makes random walks on xy plane. From the input, total number of steps (N) should be taken, and a random number should be generated with random library. Please see the image f…
  • https://drive.google.com/file/d/17QIBaPGzeKu4LZyBoV_4RyE03JWXDbfO/view?usp=sharing Write a Python module, solver.py, to find the roots of functions of one variable. Add a few more methods to this modu…
  • http://web.stanford.edu/class/cs106a/handouts_w2021/homework-5-data-stripes.html Hi, what is the answer to this problem? Thank you so much!
  • PLEASE COORECT ALL THE CODING OF BLACKJACK OF PYHTON. DO AS DEMAND IN PICTURE. #Blackjack Game¬† import random #Classes class Card(object): ¬†¬†¬† ¬†¬†def __init__(self, suit, value): ¬†¬†¬†¬†self.sui…
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
  • class Person : def __init__ ( self ,name,birthyear,email) : self .name = name self .birthyear=birthyear self .email=email def __str__ ( self ) : return self .name def get_age ( self ) : return self .b…
  • only use if ,loop,list and dictionary and function to deal with, thanks, Restaurant Order Management We are a small fast‚ÄĒfood restaurant that takes orders over the phone. We need an application that…
  • urses/45693/quizzes/55294/take D Question 2 1 pts Refer to Cybersecurity.ipynb, Which of the following concerning character encryption and decryption is/are correct? Please choose All correct answer(s…
  • The program does not work as intended because the condition in the if statement needs to say¬†(number MOD 2 = 0). What does this flowchart algorithm display? Group of answer choices Nothing ¬† ? ¬† Th…
  • I need help with these 3 problems on Python. Please read carefully the directions, and if you can please explain the code with details Thank You
  • The assignment was to work through inheritance by creating a list of animals and their behaviours and putting them through their paces! Comments in the program will explain where to insert the code us…
  • Continue practicing how to do simple exploratory data analysis with Python. The dataset that has been used in this question is called Student Academics Performance Data Set, which can be downloaded at…
  • I am trying to code a problem that i found online that i am struggling to know how to code this i am new to python and just don’t understand where to start. The problem is listed below. Problem: Book …
  • COP 1000C Lab 6 20 points For the following program: ‚ÄĘ Create algorithm. ‚ÄĘ Code the program as grades.py. ‚ÄĘ Upload your algorithm and your program (grades.py) to BCOnline. Grades a) Write progra…
  • https://www.coursehero.com/file/54425968/CS1010E-assignment3-questionpdf/#/doc/qa May I know how do I get the code for Task 1C? Im unsure how to approach it.
  • How can I prompt the vendor for fruit name until he enters done ? Fruit Stand Project This project aims to build one big program that enables a user (fruit vendor) to manage a fruit stand. The project…
  • Please look at attached image 4. Distance Traveled The distance a vehicle travels can be calculated as follows: distance=speed X time For example, if a train travels 40 miles per hour for three hours,…
  • Acquire power data from this source: https://www.bmreports.com/bmrs/?q=demand/rollingsystemdemand for at least 10 days and not more than 40 days. The website limits the window size, so you will need t…
  • need help writing Python code for Web Scrapping Go to Dell Laptop user community: https://www.dell.com/community/Laptops/ct-p/Laptops Q1. Scrape the Dell laptop community, and find out how many posts …
  • Write a split_check function that returns the amount that each diner must pay to cover the cost of the meal. The function has 4 parameters: . bill: The amount of the bill. people: The number of diners…
  • Take Quiz Question 8 1 A GraphWin height or width may be specified in millimeters. True O False
  • Data Preprocessing This homework tests your abilities to manipulate pandas Dataframe and extract the¬†information¬†needed.¬† 1. Read the file 311_data.csv provided to you in the StarterCode section of…
  • Using Python and Gurobi In this problem, we are going to learn the optimal strategy of selecting the right path. Consider the a naive setting of the shortest path problem with only 2 arcs from source …
  • Given three floating-point numbers x, y, and z, output the square root of x, the absolute value of (y minus z) , and the factorial of (the ceiling of z). Output each floating-point value with two digi…
  • [6, 7, 7, 7, 8] So, this movie had 5 ratings with the above values. Now, on to the homework. Problem specification In this homework, assume you are given these two files called movies. json and rating…
  • First, create a Pandas data frame looks as following: Name Product Amount 0 Bob apple 1 1 Bob banana 2 2 jessica orange 3 3 jessica banana 4 4 jessica tomato 3 5 mary banana 2 6 john apple…
  • Only odd digits def only_odd_digits (n) : Check that the given positive integer n contains only odd digits (1, 3, 5, 7 and 9) when it is written out. Return True if this is the case, and False otherwi…
  • def fun(n, m): if n==0: return 0 elif n%m==0: return n + fun((n-1)//m, m) else: return n + fun(n-1, m)¬† Time complexity when m = 1: Time complexity when 1 < m < n: Time complexity when m ‚Č• n:
  • . Given the following dataset: Square Footage (in thousands) School Rating Home Type Sale Price 1 9 Condo High 6 Condo Low 2 Single Family House Low 4 9 Single Family House High 4 10 Single Family H…
  • I started this but I’m stuck ( 7 4 ) Fri Jan File Edit View History Bookmarks People Tab Window Help x Assignments: Spring2020 CRN: x f Rain Raven – Time for trouble ag. x | G Driving is expensive. Wr…
  • Write one function named¬†differences. This function should have two parameters, which you can assume will both be sets with zero or more values. This function should calculate and return the number o…
  • Task 1: Function 1 – generate_random_data(columns, type_dict, distributions_dict, num_rows) Scenario a function to generate sample DatatFrames with random data, to provide additional testing data for …
  • ńĪ couldnt do that in my code it stuck in loop how should ńĪ solve this question Problem 1. (Missing Number) Write a program called missing. py that takes an integer n as command-line argument, reads …
  • Please don’t copy from chegg and course ¬† ldentify the hand gestures/direction in a video (real time) among following four types: right, left, up, down; using MATLAB GUI.
  • Can someone help my current code for my project? For some reason it isn’t working and I don’t really know why. I’m using Pygame. Here is the code (I just use a transparent background santa claus clipa…
  • This is my question. It is supposed to be a Python function that does the following: 3. A quadratic function is of the form f(I) = r132 + In: + c, when 51,5, and c are real constants (c 79 U}. The roo…
  • The focus of this assignment is more on the accuracy of the approximation rather than the algorithm’s efficiency. So while you might want to track the times for the sake of curiosity, our tables and g…
  • #Write a function called course_info that takes as input a #list of tuples. Each tuple contains two items: the first #item in each tuple is a student’s name as a string, and the #second item in each t…
  • The question about python application to solve the probablity problem. Make the python program (pseudocode) to solve this question ! Suppose that start-up companies in the area of biotechnology have p…
  • Write a function¬† arranging(lst)¬† which takes a list of integers as input and returns two lists: one containing the ordered odd numbers and other list containing ordered even numbers. Both output li…
  • Need Python code for this one and also entire explanation of the code.
  • need help with the question below ¬† def best_split(self, X, y): ¬† ¬† ¬† ¬†# Inputs: ¬† ¬† ¬† ¬†# ¬† X ¬† ¬† ¬† : Data containing all attributes ¬† ¬† ¬† ¬†# ¬† y ¬† ¬† ¬† : labels ¬† ¬† ¬† ¬†# ¬† TO…
  • Create a program that computes the Cartesian product, AxB of two lists . Prompt the user to enter the numbers for each list. Each list has no more than 10 numbers. For example , if the user supplies t…
  • My module has two functions (in¬†atbash.py) and two accompanying test functions (in¬†test_atbash.py). I need to add one final function and one final test function: Add a function¬†atbash_wrapper()¬†to…
  • Hi, use this code ** https://github.com/CS1003-Fall-2021/lab-5-3728696CS1003.git ** in Python to Get from VCS and complete the coding, please. Items.csv file Complete To do with info given IGNORE THE …
  • . Question 3: Numerical Integration [15 marks] The integral of the function Ô¨āat, 3;) : sin(a:) cos (%) defined on the rectangle D E R2 : (a, b) x (c, d) can be expressed in closed form as I : f: f…
  • Please refer to the attachment to answer this question. This question was created from ICS33q6spr15.
  • INF103 Warm-up Homework – Homework – Zero 1)¬†Download Python 3 from python.org and install it on your home computer 2)¬†Read chapters 1 & 2 from our textbook 3)¬†In IDLE, create and save a Python…
  • Please refer to the attachment to answer this question. This question was created from hw5.pdf. Additional comments: “I’m having serious trouble figuring out how to start coding for these problems. I’
  • would you please tell me how to do the questions 3 and tell me a code .¬† ¬†. Question 3: Write a program in which you ask user to entertwo values using two input statements and save the values in two…
  • You are required to design a Burger Ordering application that allow the user to make an order. The system requirements as follows:¬† 1) The user can select the type of meat (Beef, Chicken, pork) they …
  • Hello, This is the description of the problem. And below the described problem, there is 7 steps which is question . Thanks.Waiting For your help
  • Question : Classify the plant leaves by various classifiers from different metrics of the leaves and to choose the best classifier for future reference. Maple Leaves Ltd is a start-up company which ma…
  • Please post screenshots of output for python program thank you. Program-1: People’s weights (Lists): 10 Points (1) Prompt the user to enter four numbers, each corresponding to a person’s weight in pou…
  • I need a program that asks the user to enter five test scores.¬†The program should display a letter grade for each score and the average test score.¬†I need the following functions in the program: cal…
  • Give examples of test data:¬†(one that work, one that don’t. 2. Write an algorithim program using while loop ¬†that will pick out which counties are the top 3 richest counties in Georgia. hint( use…
  • Pratice questions needs answer to understand them thank you!¬†. Question 24 (1 point) What is the output of the following? [ ] C = [2, 4, 5, 7] d = [6, 2, 3] c. append (d) len (c). Question 27 (1 poin…
  • can someone help me fix my code? it has errors #1 def index(d): new_d = {} for key, values in d.items(): for val in values: if val not in new_d: new_d[val] = [key] else: new_d[val].append(key) return …
  • class _PT_Node: ¬†¬†def __init__(self, value): ¬†¬†¬†¬†“”” ¬†¬†¬†¬†——————————————————- ¬†¬†¬†¬†Initializes a PT node containing value. Child pointers ¬†¬†¬†¬†are No…
  • Confirm that the KR operator defined in the figure rotates all 10 randomly generated vectors by 120 ¬į and shortens the length by 75%. Prove that the KR operator rotates each given vector by 120 ¬į an…
  • . *Homework Help – Q&A from On! X @ Week 4/5 Assignment – ENTD20( X Download Python | Python.org myclassroom.apus.edu/d21/Ims/dropbox/user/folder_submit_files.d21?ou=51110&isprv=08db=1818158…
  • python code for the Diabetes dataset Load the data set, and read the DESCR, features, keys, ..etc. Select 3 numerical features (attributes) Extract each one of these attributes into a separate array (…
  • please help me solve this python problem. I am unable to code this program. Please help me solve it. Requirements: Structure of the Code Your application can be programmed as a single class including …
  • . Write a function long_high_word(wordlist) that takes a non- empty list of words wordlist (each of which is a string), and returns the word which is longest, and in the instance of multiple words h…
  • Python programming while loops. Please include code. Thank you! ¬† Ask the user for two integers.¬† You may assume that the user enters integers.¬† (Or you may check this if you wish).¬† Check to ensu…
  • On serverb, ensure that newly created users have passwords that must be changed every 30 days. Set PASS_MAX_DAYS to 30 in /etc/login.defs. Use administrative rights while opening the file with the tex…
  • A python program that prompts the user to enter an integer value between 0 and 99. The program will output the coin value of the amount given. ¬† Note the formatting in the output below – make…
  • Write an function that accepts a list of items a person wants on a sandwich. The function should have one parameter that collects as many items as the function call provides, and it should print a sum…
  • I am not sure how to print 5 variables in a line, I was trying to set up like this: def display(ax): while ax < 5: print(ax) ax = ax +1 return(“the list == “, ax) def display lax ) . # NEEDS TO BE …
  • . E5. You work for MediaMarkt and your employees are going to receive a bonus according to this criterion: 500E if the employee sold more than 20 products and more than 1000E 100E if the employee so…
  • Can anyone help with this? this is due tomorrow and I’ve been stuck on these questions for hours. This language is in Python 3.
  • In python write a program that takes as input a list of integers, and outputs the sum of every 3rd integer on the list. ¬†if there are less than three on the list the sum is zero.
  • The question is: 1. The Barking Lot is a dog day care center.¬†Design the¬†pseudocode¬†for a program that accepts data for an ID number of the dog’s owner, and the name, breed, age, and weight of the …
  • Hello! I am looking for a step-by-step explanation alongside the code. I have attached the instructions as well as the wec_2010.cvs file input needed. ¬† WEC_2010_kWhperCapita.csv Angola,206¬† Albania…
  • Suppose you need to print pi constant defined in math module. Which of the following code can do this task?
  • The following list represents a ranked list of top 20 documents returned in response to a query. Relevant documents are represented with an R, and irrelevant documents are represented by an Ir. The…
  • I’m not exactly sure how to go about this question Question 3: Restart Implement an iterator class called IteratorRestart that will reset to the beginning when _iter_is called again. class IteratorRes…
  • Table of constants and variables 2. Draw flowchart (use draw io online tool) or pseudocode 3. Program source code (with Visual Studiol2019)
  • just help with the steps that matter/required please we are going to make some visualizations using matplotlib.¬† 1 if required install numpy via pip install numpy on the command line if required inst…
  • Using the SA function in Python – find the minimum of the “wiggly function” which is defined as: ¬† ¬† ¬† ¬† f(x) = -exp(x^2/100)*sin(13*x – x^4)^5*sin(1 – 3*x^2)^2 for input x values between the b…
    • Write a program that prints "Enjoy The Summer" diagonally, as in the screenshot below. In this program, you will create a single function that takes two parameters: a character (printCha…
  • proving dice function randomly ¬†prove randomness ¬†use statistics ‚ÄĘ Mean/ Average ‚ÄĘ Histogram
  • BookShelf class Functionality This class stores the index for words in books as they are provided. ¬† Attributes index: a dictionary representing an index of the words of a book where the keys are the…
  • I need help, I want to create a program that simulates an ATM, that welcomes me, asks me to enter my account number, and then my PIN, if the PIN is not valid it welcomes me, but if it is Valid, give m…
  • Provide an example program accumulator.py that includes two functions: main(), and accumulate() that prompts for a list of space-separated numbers. accumulate() takes a list of numbers and returns a l…
  • Objectives Familiarize the student with: using the while loop; converting verbally defined loops into actual Python code. Scenario In 1937, a German mathematician named Lothar Collatz formulated an…
  • I’m having serious trouble figuring out how to start coding for these problems. I’d be more specific, but honestly, I’m horrible with this coding language and I have a hard time remembering things abo…
  • I am not sure what the first steps for this problem are
  • A survey was conducted in which participants were asked to select which popular U.S tourist destination they had visited out of a choice of 5 cities; Austin, Miami, Phoenix, Atlanta, and Nashville. Th…
  • Question Problem: Book club members meet regularly for coffee at a round cafe table. Only a few members turn up randomly each time. It is a good thing that they keep records of who comes to each meeti…
  • Code Question 1 Amazon stores its data on different servers at different locations. From time to time, due to several factors, Amazon needs to nove its data from one location to another. This chall…
  • Part I: (started in the last class) – 50% The following multiplication example uses every digit from 0 to 9 once (not counting the intermediate steps). Fill in the missing numbers. Write python progra…
  • Income Tax Calculation Create a program that calculates the tax deduction on income based on the following criteria: If the age is less than 65: Income less than 30000: 5% tax deduction Income between…
  • Please complete in Python. Review the examples for output requirements. 1. first_last: (2 points) This function takes a list and returns a 2-tuple (a tuple with two values) containing the first and la…
  • Please provide explanation with python codes. Thank you! The TidBit Computer Store has a credit plan for computer purchases. There is a 10% down payment and an annual interest rate of 12%. Monthly pay…
  • Read the allowances.txt and generate the salary details of all the 50¬† employees and generate the text file for all employee with name is¬† E10001_Janurary.txt. Generate the files for all the months …
  • answer all question Write a code with at least 2 functions (one should call the other). The function which is called by the Ô¨Ārst function should also be able to be called directly. Execute these fun…
  • I don’t get this at all. The output is throwing me off. The code needs to read a list of words. Then, the program outputs those words and their frequencies. Ex: If the input is: hey hi Mark hi mark th…
  • We are all aware that accidents are prone everywhere due to negligent driving or climatic conditions. An insurance company always needs to be prepared to estimate the number of accidents and the claim…
  • We have obtained a (fake) data set from a restaurant containing the customer ID, the time when the customer came (either for lunch or for dinner) and the cost of the first, second and third course. Ev…
  • Directions Using the following guidelines, create a python program.¬† ¬† 1. Create the program vampire.py from pages 31 – 32, in book automate the boring stuff with python. ¬† 2. Add four comment line…
  • Here is the instruction for my assignment. ¬† Please note that: The complete code for training a Random Forest model on the US Census Data is developed in the ipynb notebook. Train and Test datasets p…
  • PLEASE USE PYTHON 2.7 with comments for each term used: 1.¬†¬†¬†¬†¬†¬†Using the code provided below, please write a code for the following question: from a given list of proteins, generate a single av…
  • a function called¬†sub_matricesthat take two 2d-lists and performs matrix subtraction. Assume the input matrices are valid matrices with minimum size of 2×2.¬†¬† Since one of the conditions for matrix…
  • Can you help me with this program? The instructions for the program are: write a program that gives simple math quizzes. The program should display two random numbers. An example of how the numbers wo…
  • Write a similar function merge_lists that accepts two sorted lists in descending order as inputs and merges them together to return a combined sorted list. Let’s adopt the simple algorithm as follows:…
  • txt includes random numbers. The highest bring 6 digit number ex.(100,000). Total element bring 1,000,000 HW3b.txt includes random numbers. The highest bring 3 digit number ex(100). Total element…
  • What would be the first verb that has all vowels? Please show work! 3. We’ve used wordtool before to loop through nouns and verbs. For example, let’s print the first 10 nouns: words = wordtool . get_n…
  • Create a discussion post on the following subject with relevant information. Recently, the factory began a new production line that is more efficient than the existing production line. However, the fa…
  • Hey please help me with this task. Your efforts would be appreciated. I have made a game name nimcala which uses minmax but the results are not according to my desired. Can you please see the code and…
  • I am using Windows 10 and i am trying to write in Spyder. Please do not add the “Chegg” answer because that answer is wrong it doesnt work. 1. (40 points) Metabolic Engineering 5 biochemical reactions…
  • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
  • I suppose to add the function revert into the code below to make it work for the image: ¬† def yj_dragonize(num_points , curve): if num_points == 0: return curve else: c = yj_dragonize(num_points -1, …
  • I am not understanding what I am doing wrong Could someone solve and explain where I went wrong in my code please? the file is in the website in the image i attached, I really need help please ūüôĀ I do…
  • Write a python program to read the lines of data from this file, and print out a sorted list of invalid user from log.file
  • State and briefly justify the Big-O complexities of¬†has_node,¬†has_edge,¬†nodes,¬†edges, and¬†common. State¬† one ¬†complexity for each, because there is no difference between the best and worst case…
  • Please help with question 5 only.. Generators A generator function returns a special type of iterator called a generator object. Such functions can be written using a yield statement: def <generato…
  • Stuck! my last assignment for my python course and i’m totally lost. we have to create the code for the pong game, the resources that our professor has provided online are honestly subpar. He gave us …
  • Make the python program (pseudocode) to solve these question ! Microprocessing chips are randomly sampled one by one from a large population and tested to determine if they are acceptable for a certai…
  • i am trying to create a book rating system in python : The basic data-structures for storing books and customers are implemented, tested and documented. Your program can read books in from the book fi…
  • Please develop a Python application that meets the requirements described below: ¬† Project Description: Scenario: Write a program for a retail store that will allow them to calculate discounts for th…
  • This is my question I’m working on. My code will not run, because of the imported modules I have don’t work. Can someone help please? this is due on Sunday, and I’ve been working on this all week. ###…
  • Write your code to each question in .py ‚ÄÄfile. 2. After you ‚ÄÄfinish all the problems, upload your .py ‚ÄÄfile to Homework 6 Dropbox in the course Elearning. In addition, upload a word ‚ÄÄfil…
  • 1 -Use NumPy to generate a random number¬† ¬†2-Modify your code so that NumPy will always generate the same random number regardless of how many times you run the block of code ¬†3-Create two one-di…
  • Create a¬† comment block ¬†(starts at line 1 of your code) with the following information: Your Name Course Name, Section (example: ENTD200 B002 Spr18) Instructor name Week # Date completed 2.¬† Probl…
  • Write a program that uses nested loops to draw this pattern. ¬†¬†¬†¬†Hints: Use nested for loop Output : ******* ****** ***** **** *** ** *
  • Estimation of ŌÄ: Imagine a unit circle inscribed in a unit square. Moreover, consider that inscribed circle a target for a game of darts. If you were to randomly throw darts, we could consider that a…
  • Lost a lot of marks in the following question, cannot figure out how to filter the DateTime from a list that contains multiple data types, please kindly share the solution and explanation to this prob…
  • The 10000 integers between 1 and 26, one per line ¬†( module11activity.txt) ¬† ¬† Hello, Please help me with this python code ¬†. A Caesar cipher is a type of substitution cipher in which each letter …
  • investigate how well GA performs on one particular problem, the packing of 3 aid trucks(Trucks should fill to 18 or 19 on average) to cyclone ravaged Darwin. In the classes supplied there is a list of…
  • Language: Python Goal: implement decryption in the attached code block ¬† import argparse import os import time import sys import string # Handle command-line arguments parser = argparse.ArgumentParse…
  • Write the function named¬†test_sqrt¬†that prints a table like the following using a¬†while¬†loop, where “diff” is the absolute value of the difference between¬†my_sqrt(a)¬†and¬†math.sqrt(a).¬† a = 1 |…
  • Code the function greedy_predictor Do not use numpy/matplotlib/pandas & do not import libraries [0.21428571428571436, -0.2857142857142858] 1.642857142857143 Part 2: Multivariate Regression (12%, d…
  • Write python program that displays a menu and its price. Take the order from the customer. Check if the ordered product is in the menu. In case it is not there, the customer should be asked to reorder…
  • Please write sample code in python 3 for this type of question. I simply want to cross-check, this is only for practice and learning. Thank you. (10 points) Problem 3. To get a sense for the data, let…
  • Need help in Python 1. Try to understand Boolean variables or expressions and the data type bool by writing a program for the following. a. DeÔ¨Āne a variable (var_a) and assign 0 to it. What do y…
  • After rearranging, how to identify and implement the solution?
  • Chapter 15 Exercise 5.15.5: The formula for calculating the amount of money in a savings account that begins with an initial principal value (P) and earns annual interest (i) for (n) years is: P(1 + i…
  • The given program reads a list of single-word first names and ages (ending with -1), and outputs that list with the age incremented. The program fails and throws an exception if the second input on a …
  • print the total number of ¬†the items in the list
    • Comment on the chunk of code below. class Person: # Define the class parameter "name" name = "Person" def init (self, name = None): # self name is the instance parameter self na…
      • A program that accepts one salesperson’s ID number, number of items sold in the last month, and total value of the items and displays data message only if the salesperson is a high performer‚ÄĒdefi…
    • Hi guys, I am doing a competition on kaggle which involves training and testing a model on the dataset that they have provided. The dataset is on traffic speed per hour on a busy road in Hong Kong. Th…
    • Suppose a group has 4 students (A, B, C, D) with the test scores (with a scale of 0 to 100) and the evaluations listed as follows: —-‚ÄĒ‚ÄĒ -___”– E-_____ mun‚ÄĒ‚ÄĒ 1) Using 4C strategy to prepro…
    • Good Morning, how can I use “findall” or “match” to search for specific data, like search and print all customers with “Spent Past 30 Days” = 0 purchases, instead of getting an error or getting all da…
    • Help me make my code more interactive for example in the 3 options for trade, sales, exchange, etc. Instead of making the program to end after exploring 1 menu option make it iterative such that the u…
    • I’m having trouble developing a python application that includes the request below to perform certain functionalities: 1. Password Login form – This Python form allows a user to login to a simple web …
    • Forbidden: Your program may not use any techniques or Python features forbidden below. Do not use the following list-related functionality: Do not use any string methods other than lower. Do not “impo…
    • A robot moves in a plane starting from the original point (0, 0) . The robot can move towards UP , DOWN , LEFT and RIGHT with given steps. The trace of robot movement is shown as the following: UP 3 L…
    • USING PYTHON: ¬† Design and create a picture of your own using turtle graphics. The picture must include at least 1 circle 1 enclosed figure (square or box of some shape) multiple components that requ…
    • Question 18 Write a function called rotate(head, n) that takes the head of a Node chain and an integer, n, as parameters. The function must rotate the Node chain to the left n times and return the new…
    • I’m having an issue with my Python project. When I input 2016-11-29, 11:15 PM, 500, 80 my code prints 15min rather than the required 20mins and the arrival time is off by 5mins. ¬† Here is the project…
    • In¬†‘Among Us’, the goal of the crewmates is to determine which of the players are impostors. One way we can do this is by creating a system that analyzes hidden messages written by players to determi…
    • . Write a Python module called minutes2Hours that will accept one float parameter, the number of minutes, and returns a float value that represents the number of hours. Note: there are 60 minutes in…
    • Implement a greedy algorithm for transporting the cows back across space in¬† greedy_cow_transport . The constraints include the weight limit for each space trip and the total number of trips the alie…
    • Game Summarizer In this short PA, you will be writing a program that reads in a game log file. You program will process the information, and then print out a summary. Thus, use the open() command. Nam…
    • Hello please see below are homework questions I am working on for this week. I have included the code I have written for each. Please help me fix my code so it will work properly in Cengage? Thank you…
    • please give me ans from link: https://www.ted.com/talks/david_mccandless_the_beauty_of_data_visualization?language=en Then choose ONE¬†of the quotes below (they are from the video) and explain it¬† “L…
    • The code below results in an error. Select all true statements from the list below. ¬† ¬† Group of answer choices ¬† 1. The code does not finish executing because using srange with 0.1 creates a numbe…
    • Python program prime or not. Using test unit and library
    • Character Counter a function that accepts two arguments – a string and an single character Have your function search the string for all occurrences of that character Return the number of times the …
    • I keep getting an error and it will not keep getting the following message, I don’t understand why: ¬†File “C:/Users/mike/Documents/Lab3.py/State-pop.py”, line 13 ¬†¬†¬†state(1) = (‘Alabama’, ‘Montgom…
    • How is this program written, analyzing a car loan? Using “for loop” or “while loop” The user should enter the amount of the loan, the annual percentage rate of interest, and the duration of the loan i…
    • Use the provided Jupyter notebook and add the python code and output cells for the following. All the solutions for the questions below should only user basic Python constructs. Any image library func…
    • Using a while loop, write an iterative function sum_odd_n that computes the sum of the first n odd numbers, i.e. it returns 1 + 3 + 5 + …. + (2 n – 1). You may assume that n is always a positive int…
    • Please convert following to minutes in a excel sheet with a formula or programmatically. This full sheet has 10000 records. It doesn’t matter if you can do it in Python. ¬† Thanks ¬† 5 hrs 20 mins 4 h…
    • . Homework 1: Statistical functions In [1]: # You are given the following Lists numlist_1 = [12, 24, 31, 46, 77, 48, 15, 19, 20, 21, 22, 23, 91, 89, 32] numlist_2 = [88, 78, 14, 33, 23, 66, 92, 22, …
    • For this project, create a “word cloud” from a text by writing a script. This script needs to process the text, remove punctuation, ignore case and words that do not contain all alphabets, count the f…
    • For this assignment you will design and implement a simple board game, and then animate a random playthrough of thatgame by two computer-controlled opponents. This will allow you the opportunity to wo…
    • # Problem statement 3.a # Finds all vnodes mapped to this node and shuffles them # Implement this logic and store in local_vnode_list
    • compute distance 2.3 Distance matrix Let’s compute a pairwise Euclidean distance matrix for feature vectors X E Rxd: We want to have a distance matrix D(i, j) E Rx such that D(i, j) = E (X[i, k] – X[j…
    • I am trying to collect 50-100 user reviews for the top and bottom 25 movies on IMDB. I have this code for one movie. Is there a way to web crawl more than one move at a time? If so can you direct me t…
    • I need help with this problem. it is harder then i had initially thought. (I already have the text files)
    • Server script import socket def server_program () : # get the hostname host = socket.gethostname() # initiate port no above 1024 port = 5000 # get instance server_socket = socket.socket() # look close…
    • Hello, I have the code for the script and everything below. ¬†But when I click run the program it says the error says there is no text document. ¬†In the instructions it says I should create my …
    • Hello, I need help with count_connected_components method. ——use skeleton code below——- class UndirectedGraph : “”” Class to implement undirected graph – duplicate edges not allowed – loops no…
    • import argparse import os import time import sys import string # Handle command-line arguments parser = argparse.ArgumentParser() parser.add_argument(“-d”, “–decrypt”, help=’Decrypt a file’, required…
    • What would be the answer? Read file into texts and calls. It’s ok if you don’t understand how to read files. II II II import csv with open{‘texts.csv’, ‘r’] as f: reader = csv.reader{f] texts = list{r…
    • could u perform a direct translation of this code which is c code to python code plz #include <stdio.h> #include <stdlib. h> #include <readline/ readline. h> int digit_sum( int n) if…
    • CIS 1400 Lab 01 – Basic Computations Arithmetic Lab 100 points Assignment Purpose: The purpose of this lab assignment is to demonstrate knowledge of using simple data type variables in a program and u…
    • You’ll need to implement the Merge Sort algorithm which operates on a list of Email objects, and sort them in non-increasing order by the length of the sender string (that is, longest sender name to s…
    • Schelling Segregation Overview: http://nifty.stanford.edu/2014/mccown-schelling-model-segregation/ I need to create a python code with the following information: We are given a model with 4 parameters…
    • 10 – know thyself 10 coding | python Return a tuple consisting of the following elements in the order listed: 1. your last name as a string 2. your last name reversed as a string Ensure the second ele…
    • how would one go about doing thise using the operation numpy? A = 10 09 B Write a function Operation for AB(k, n) that performs the operation ( A + KI) ( B – BT ) " for a k and n. Test cases: (i)…
    • PYTHON PROGRAMMING Please how is this done? Please attach a picture of your source code and its proper run after compilation. Thanks
    • The following is the node and LinkedList classes, Based on the following Python code implement ANY THREE¬† of the following functions: a) Prepend function to insert a value before the head of the Link…
    • Build a Python consumer ¬†called¬† kafkaNumbers.py . In this problem, each line will consist of a list of numbers. There will be an arbitrary number of numbers on each line. Your consumer goal is to: …
    • Python Basic Codes Craps is a single player dice game, that proceeds as follows: 1. the player rolls 2 six-sided dice once if the total is 7 or 11, the player wins if the total is 2, 3 or 12, the play…
    • TargetCRM is CRM software company that sends emails to users every week. The system has a mailing list of users that are active and able to receive emails as well as users that have been unsubscribed….
    • Depedent variable = Price ¬† Provide appropriate descriptive statistics and visualizations to help understand the marginal distribution of the dependent variable. ¬† Investigate at least three potenti…
    • Question 1: (40 Marks) A carpenter is cutting a long plank of wood of length N cm and fixed width of 2 cm into pieces of shorter lengths. Given that each length has a specific price, it is your job to…
    • We want to practice document similarity using LSI. Please answer the questions in bold. The link to the notebook is at the end of this.¬† Here’s what you need to do: From Wikipedia’s List of musicians…
    • How would I use the data below to accomplish: ‚ÄĘ Total population for the region (sum of the column value) ‚ÄĘ Total GDP for the region (sum of the fourth column) ‚ÄĘ Average population in the region…
    • make a python program that prompts the user to enter a three-digit whole number such that the digits are in ascending order and without duplicates. Valid examples: 123 and 489 Invalid examples: 133 an…
    • Question 3. We are going to make a histogram so that you will have for each number that occurs in number of sequences of that length. Rember, the python object "set" which keeps only unique …
    • You will practice handling tabular data with tabel . It uses “raw” real-world data, as opposed to the example data we have (mostly) been working with over the last couple of sessions. Real-world data …
    • In a matrix if each value at position (i,j) is determined by function f(i,j) of the location of the value, what will be the best approach to create the matrix?¬† A) user outer(i, j, f(i,j))¬† B) us…
    • STEP 1 import numpy as np import pandas as pd import scipy.stats as st import matplotlib.pyplot as plt from IPython.display import display, HTML ¬† # dataframe for this project nba_wins_df = pd.read_c…
    • hey can someone help me ? what is wrong with my code ? please fix it Safari File Edit View History Bookmarks Window Help Sun 7:08 PM Geilan Albayati Q E pearson.turingscraft.com MyProgrammingLab At on…
    • . 2. Write a Python program that asks the user for two strings: {1} the name of a Ô¨Āle formatted in the same way as the IMDB data, and {2} a string that is the start of a last name. Remember to str…
    • Design an algorithm that will read a series of integers at the terminal. The first integer is special, as it indicates how many more integers will follow. Your algorithm is to calculate the sum and av…
    • Open the os_demos. py file, read the code and comments to see what it’s demoing, then run It. Notice that it imports the os and shutil modules for working with the operating system and files. Modific…
    • I have trouble creating return statements in python. This is my one of weakest areas for p coding. Please provide me the answer for this. Would you also provide me a good advice on how to think when y…
    • Calculate grades (percent, GPA, and letter) for each student and add to a new CSV file. Put the class average percent at the bottom of the CSV. CSV output format: studentname,percent,gpa,letter studen…
    • Please use the Python for these two questions. problem. Basic Monte Carlo integration: You are given 10, 000 U[0, 1] random variables in a numpy array U, which you must use in all the following parts …
    • Question 3 & 4 in the first attachment and Question 4 & 5 in the second attachment Fri 3:06 PM Q X My Interactive Ses X JupyterLab X Tables X alli STOR 120 Dashbo X + 0401-ood.Il.unc.edu/20120…
    • def calculate_bill(cart, coupon): ¬†“””Calculate a total order price, applying a coupon and sales tax ¬†Arguments: ¬† ¬†cart (list): list of numbers representing prices of items ¬† ¬†coupon (number): …
    • 3.1. Function checkParityOfFrame This function must re-calculate the parity of the 8×8 payload and compare it to the column and row parity that was sent as part of the 9×9 frame. If the parity does…
    • So I’m trying to compile a code that takes a random int from a user And asks which math operator it wants ( + , – or *) Let’s say the input is 5 User picks * printed sideways like this 5 * 1 = 5 5 * 2…
    • ) Write a python program which charts the daily high and low temperatures in NYC in 2021. A csv of the data is provided: nyc_weather_2021.csv Source: https://www.ncdc.noaa.gov/ [ Suggested Approach)…
    • Please show work! # A list of numbers : evens = [2, 4, 6, 8, 10] # A list of strings: greetings = [‘hello’, ‘hi’, ‘howdy’, ‘aloha’ ] # Access list elements using square brackets and index * = evens [1…
    • Using Numpy package to solve the following two problems. Thanks. Problem 1 Since the beginning of Spring quarter Julie goes every day to Woodstock Pizza, orders a slice of pizza, and picks a topping -…
    • Work in Python¬† 1. Look at the shape of the dataset and print out the number of features. (gnd is the target variable) ¬†2. Apply the Linear Regression model on the given dataset and get the accuracy…
    • Successfully load data to dataframe without downloading the data locally Successfully process data including additional columns, calculations, transformations Produce animated plot of case moving aver…
    • Please refer to the attachment to answer this question. This question was created from SMDM practice pdf.pdf. Additional comments: “Need exact coding coding in python and explanations in words. Answer
    • Use a basic list structure to enhance Functionality 1 that you developed in Week 1. You should allow users to enter information for five employees at the same time, where the first employee informatio…
    • i need help and this is about python The University of Queensland School of Mechanical and Mining Engineering MECH2700 Engineering Analysis I (2020) Assignment: Computational Heat Transfer Introductio…
    • Simplify the following code so that it does not use any breaks or continue statements, yet the logic is equivalent. ¬† ¬† counter = 0 ¬† ¬†while True: ¬† ¬† ¬† if counter >= 100: ¬† ¬† ¬† ¬† ¬†brea…
    • . Bonus (4 points): Why was 6 afraid of 7? Because 7 8 9! But why did 7 do it? Because 7 was told to eat 3 square meals a dayl Actually, this is mathematically impossible. "Ca…
    • list a function min that has 2 str parameters and returns the smallest. (Smallest in the sense of coming first alphabetically, not in the sense of “shortest”.) So far this is my code but it is not bei…
    • You create the following dictionary: seasons N hem = {} seasons N hem[ ‘Summer ‘ ] = [ ‘June’, ‘July’, ‘August’ ] seasons N hem[ ‘Winter’ ] = [‘December’ , ‘January’ , ‘February’ ] seasons N_hem[ ‘Spr…
    • Problem: Given a text file that contains 100,000 numbers. Write a python script to find the distribution and use Kolmogorov-Smirnov test to confirm hypothesis ¬† *** Must code the process for Q-Q plot…
    • (Notice: The following question asks for a program that generates random math quetions, NOT A CALCULATOR.) Implement a tkinter-based GUI program for a simple math game. Your program should present ran…
    • Focus 1. Simple Functions 2. Value-Returning functions 3. Random number Formulate a working program that uses Simple Functions, Value-Returning functions, and random number generation Part A: Write So…
    • 13¬†LAB: Filter and sort a list Write a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest). Ex: If the input is: 10 -7 4 39 -6 …
    • Having trouble with the implementation of an insert and delete function in a maxBinaryHeap (maximum Binary Heap operation): This is what I have so far class MaxHeapPriorityQueue: ¬†¬†def __init__(self…
    • Use the function sub() to replace ‘B’ in “PSTAT 10 , PSTAT 5LS, PSTAT 120B” with ‘A’.
    • Popularity-based Ranking Step-1.1 Compute the ranking of most popular movies Your next task is to take the movie preference dataframe and computes the popular ranking of movies from the most popular…
    • Using the provided network diagram, create a python program that finds the shortest path routing using the Bellman-Ford algorithm. Your program should represent the fact that your node is U. Show how …
    • Q6 Make changes in DataFrame Run the code below and create airport dataframe [8]: url="https://raw. githubusercontent. com/fivethirtyeight/data/master/airline-safety/airline-safety. csv" air…
    • Question 1: You have a csv table of daily returns for your stosk ¬† 1) For each file, read them into a pandas frame and add a column “True Label”. In that column, for each day (row)¬†i¬†with daily ret…
    • Write a program to read the rainfall.txt file and then write out a new file called rainfallfmt.txt. The new file should format each line so that the city is right-justified in a field that is 25 cha…
    • Hello, I had a Python problem that I would like some help with. I need to use a Python module named Proj12Runner.py that works in conjunction with the driver source code contained in the file named Pr…
    • You can pick any collectible item I just want an example ¬† ¬† ¬† ¬†. you will be working on a text file, Comma Separated Value (CSV) format . to store and retrieve information of a collectible item. …
    • [30 Points] Extend your program from part (a) so that it will handle not just single measurement values (Column 2) but multicolumn data as provided in the data file. Use Column 3 and Column 4 in File …
    • Need python and html code for these specifications below.¬† ¬† ASSIGNMENT SPECIFICATIONS: For this assignment in PRG550 this semester, you will use your Raspberry Pi running Python 3.9.* and the Apach…
    • Q6 – Loops: Multiplication Using the provided variable num_list , write a for loop to loop across each value in num_list , multiplying each number by -1. Store the result of each multiplication in a l…
    • Can you explain this part? please Task 5 – Broadcast BSA Attack (35 Points) A message was encrypted with three different 1024‚ÄĒbit RSA public keys. resulting in three different encrypted messages. Al…
    • Write a simple Python program that simulates Mattel’s Magic 8-Ball toy.¬†If you are unfamiliar with the Magic 8-Ball, refer to the entry on Wikipedia for more information.¬†Essentially, you will be cr…
    • using python: create a menu-driven and look like the following: Virus Tracker 1 – Enter records 2 – Update test results 3 – Run reports Please select an option (press Enter to exit): Option 1 should p…
    • Question-Based on Privacy and Security in Online Social Media. Jupyter Notebooks / Google Colab is strongly recommended for doing this Question and showing analysis, graphs, and code. Link for Parler …
    • Python programming : A school runs a data center that controls multiple labs ( networks lab, programming labs and servers lab). Use OOP with Python to build a framework that contains four classes (dat…
    • I have some data in this file. These data come from a Negative Binomial distribution. I need to write a function to compute the log-likelihood. I don`t know how to. Can you help me please?
    • Part A: Palindromic Bitlists A function palindrome binary(n) which returns a list of bitlists of length n, where every bitlist is a palindrome. The returned list of bitlists must be in lexicographical…
    • In this assignment you will develop a wxPython application that will allow the user to select from a menu selection to generate artificial IoT data. Use the faker package to generate the following dat…
    • Shiny App Project in R . Can you please help me create a map with the leaflet or high charter package showing each person killed by the police in 2020. Display the relevant information on the map for …
    • Define a function named getCourseNumber() that accepts one argument, a string that represents a course. That course will start with one or more words (representing a department) and a number (repre…
    • Write the expression that would create the numpy array *ax* below¬† ¬† ¬† ¬† [[ 1, ¬†2], ¬† ¬† ¬† [ 3, ¬†4], ¬† ¬† ¬† [ 5, ¬†6], ¬† ¬† ¬† [ 7, ¬†8], ¬† ¬† ¬† [ 9, 10], ¬† ¬† ¬† [11, 12]] ¬† ¬† ¬†¬†…
    • Explain the tools you would use and how you would debug your script for a logic error, where the program runs successfully but doesn’t give the correct result. And for a syntax error, which crashes th…
    • How is this written in a flow chart & python pseudo code # list with months of year months = [“January”,”February”,”March”,”April”,”May”,”June”,”July”,”August”,”September”,”October”, “November”, “…
    • Write a class named RetailItem that holds data about an item in a retail store. The class should store the following data in attributes: item description, units in inventory, and price. Once you have …
    • Project Two: Hypothesis Testing ¬† This notebook contains the step-by-step directions for Project Two. It is very important to run through the steps in order. Some steps depend on the o…
    • LAB RESTRICTIONS, PLEASE READ: Do not add any imports, the ones that you need will be given to you. You may not use any dictionaries or dictionary methods. Do not use try-except statements, you should…
    • import sys import os from os import listdir from os.path import isfile, join from os.path import isdir import csv import shutil from pathlib import Path from os import walk def display_menu () : # her…
    • code this in python Write a function called no_vowels ( input_name, output_name) that reads the information from the input file (whose name is stored in input_name) and outputs only the characters tha…
    • 2 Sort the solutions in the initial generation using the efficient non-dominated sorting. List the solutions together with their front number in a table in the following format and sort them accord…
    • How to do this using all methods these are the tests:. Write and test an algorithm to calculate the inverse of an n x n matrix (i.e. a square matrix) using Cramer’s rule, for n>=1. Your answer shou…
    • the df table is shown like this: I would like get this,¬† and I written like this: df1 = df.groupby(“PULocationID”,”DOLocationID”).count() ¬† ¬†df1.sort(df1[‘count’].desc()) while I only get this: cou…
    • 2-4 Discussion: The Central Limit Theorem ¬† Use the link in the Jupyter Notebook activity to access your Python script. Once you have made your calculations, complete the discussion. The script will …
    • I am trying to run a mapreduce job via hadoop that looks to agregate the amount spent per month over a 3 year period and output it the month and the value. The code for my python file is above with th…
    • Exercice 2: La class Banque . Definissez une classe CompteBancaire(), qui permet d’ instancier des objets tels que comptel, compte2, etc. Le constructeur de cette classe initialisera deux attributs d’…
    • For a given string s, return the first reoccurring character in the string. Try to get an approach that is¬†ūĚĎā(ūĚĎõ) O(n), where¬†ūĚĎõ n¬†is the number of characters in the string. If there is no su…
    • Anyone able to help me fix this code? For some reason, I can’t get the presents that fall in the back to be squares. I’m using Repl.it and pygame. For the santa picture, I’m just using a clipart pictu…
    • I am using Pyspark in a Jupyter notebook within AWS and am struggling to fully solve one of the specific questions. ¬† The function being created involves the manipulation of two data frames to produc…
    • Here is my next questions. Its quite a bit more simple than last weeks. Hope you have the time to do this one. InfoTc 1040 Introduction to Problem Solving and Programming Animal Class In this programm…
    • I’m currently getting an EOF error. codio@hammer-garage:~/workspace$ python3 rental_carFinalScript.py ¬†File “rental_carFinalScript.py”, line 122 ¬†¬†print (“Amount Due:¬†¬†¬†¬†” + “$” + str(amtDue) +…
    • use python code Q2. (15 points) Define a class named EquilateralTriangle. An equilateral triangle is a triangle attributes: which all the three sides are same length. The class contains following meth…
    • How can I change NORTH=90, SOUTH=270 EAST=0 ¬†WEST=180 so the directions are shown not the degrees. Also how can I add ¬†SOUTH=270 on. import turtle North=90 SOUTH=270 EAST=0 WEST=180 my_pen = turtle….
    • Please help me with this, I am little confuse with this one, I do not know what the question ask me to do. ¬† ¬† ¬†. Checkpoint I ‚ÄĒ Ball class Notice that the information about the ball object is st…
    • 3f) Masking the Zip Codes . Go through each user, and update their zip code, to Safe Harbor specifications: If the user is from a zip code for the which the “Geographic Subdivision” is less than equal…
    • For this assignment you’ll be looking at 2017 data on immunizations from the CDC. Your datafile for this assignment is in [assets/NISPUF17.csv](assets/NISPUF17.csv). A data users guide for this, which…
    • PYTHON HOMEWORK on Neural Network ¬† Include all codes and explanation This homework involves designing a neural network based on Feed Forward Neural Network architecture using the backpropagation tra…
    • Problem 3 : A function that counts using a while loop and/or a for loop. The function header code should look like: def count (start, step, stop): ¬†¬†¬†¬†“”” start = starting integer number step = in…
    • according to this rule: n¬†‚Üí¬†n/2 (n¬†is even) n¬†‚Üí 3n¬†+ 1 (n¬†is odd) generate following list: 13 ‚Üí 40 ‚Üí 20 ‚Üí 10 ‚Üí 5 ‚Üí 16 ‚Üí 8 ‚Üí 4 ‚Üí 2 ‚Üí 1 I want to write a code range (5,21): a…
    • Hi Tutor, I’m trying to pass the unittest but getting an error: self.assertEqual(b1.double().get_width(),56) AssertionError: 112 != 56. Hope you can help to resolve this as I have been trying to find …
    • Each group is playing the role of an SOC analyst at a small company called Virtual Space Industries (VSI), which designs virtual reality programs for businesses. VSI has heard rumors that a competitor…
    • using python. 3 Coding: Note : you pick the appropriate parameters in these problems. 1. In this problem we explore what happens when we use (inapproriately) the t- CI for a non Normal population. Let…
    • An important quality characteristic used by the manufacturers of ABC asphalt shingles is the amount of moisture the shingles contain when they are packaged. Customers may feel that they have purchased…
    • Input: The input consists of several test cases. Each test case starts with a line with four non-negative integers, 1‚ȧn‚ȧ10000, 0‚ȧm‚ȧ30000, 1‚ȧq‚ȧ100 and 0‚ȧs<n, separated by single spaces…
    • (Python) As of stated below I have completed to displayed the menu and have allow the customer to select more than one item and how many items they would like to order and Calculated and displayed the…
    • how to do this in python and juyper not book just need a example of the code to show it ? ¬†calculate means of őľ2 and őľ1 and plot the new means in bar plot. Show confidence level of 95%.
    • Hello I am working on the 3.11 program: painting a wall (Python 3) And I have input all the code that I have received from you guys in the previous answer. However, I’m still getting errors when I run…
    • Select a stock of your choice, preferrably from S&P500, and for the time-period from Jan 1, 2015 to present. (1) Write python code to draw a combined chart showing the close prices and the two cor…
    • Complete the unit tests provided in the classes¬†TestTwoDPoint¬†and¬†TestQuadrilateral. Write unit test classes¬†TestRectangle¬†and¬†TestSquare. In these classes, you must write unit test methods for …
      • Explain what will the Python interpreter do with the line 12 to 18. (b) What would be the value of total_s at line 19 if the sample “rec” in the docstring is used? QUESTION 1 Consider the followin…
    • @staticmethod ¬† ¬†def gnome_sort(a): ¬† ¬† ¬† ¬†“”” ¬† ¬† ¬† ¬†Sorts an array using the Gnome Sort algorithm. ¬† ¬† ¬† ¬†Call: gnome_sort(a) ¬† ¬† ¬† ¬†Parameters: ¬† ¬† ¬† ¬† ¬† ¬†a – an array…
    • I don’t understand these 6. If you had 2 lists, one of first names and one of last names [Jane’, John’, Jack’] and [‘Doe’, ‘Deer’, ‘Black"], use zip to create a dictionary with the keys as the fi…
    • . 2.1.1 Link Formulation Let at”) be a binary decision variable equal to 1 ifwavelink (I, w) is used in granting a request between node pair (a, d), i..,e wavelink (t, w) is part of a lightpath es…
    • Here is the link for the romeo.txt file: http://www.py4inf.com/code/romeo.txt 1. Download a copy of the file romeo.txt Write a program to open the file romeo.txt and read it line by line. For each lin…
    • Do you know how to convert a datagram into ‘time series’ in pandas/python?. 4.a.i. Assemble dataset to predict daily traffic speed. Below, we’ve included skeletons for the helper functions we defined,…
    • How can I create my own Python code examples that demonstrate each of the following. Example 1: Define a function that takes an argument. Call the function. Identify what code is the argument and what…
    • so far I have figured out the code for problem 1 through 6. I need help with question 7 through 10. Please see attachments below. Thank you! names = [ “Euclid” , “Archimedes” , “Newton” , “Descartes” …
    • 1 Time Series Data Practice(30 pts) Recall what we mentioned in the class, we have two types of data splitting for training and testing data: out of sample and out of time. It is proper to use Out of …
    • Please create a python¬†module named¬†homework.py¬†and implement the¬†functions outlined below¬†to complete this¬†assignment.¬†Below you will find an explanation for each function you need to implemen…
    • For each function, describe¬† what it actually does ¬†when called with a string argument. If it does not correctly check for lowercase letters, give¬† an example argument that produces incorrect resul…
    • Column Standardization, PCA and Linear Regression To attempt to reduce our data’s dimensionality, we will use Principal Component Analysis. However, PCA works best when each data column is “standardiz…
    • Hello, Could anyone help me write a code for this in python?
    • How does a Python programmer round a¬† float ¬†value to the nearest¬† int ¬†value?
    • Write the following functions: "to_numbers(nums)" that modifies each element of the list of strings nums by converting it to a number. Uses exception to catch a non-number and print "Er…
    • Need a program that stores current grades in a dictionary, with course codes as keys and percent grades as values . Start with an empty dictionary and then use a while loop to enable input of course c…
    • this is a python programming question, using simple code to solve it it is ok I’Mlike your an ` w’er In this problem in the " change Path . py" file! The Unix operating system, like Windows …
    • I am having trouble getting my code to calculate the rest of my program in python. I can get it to say my first statement and ask for the ranges and values, but when running the program it wont spit o…
    • Using VS Code Create a Simple Student Class Develop a class named **Student** that holds the following data about a student in instance variables: – name – ID number – major – GPA In comments above th…
    • I was given this as a study guide for my mid term from my professor and can’t figure out where I am going wrong with these three programs. Please assist. You must use Lists and Functions to write thes…
    • for this file: CIS 545 Homework 1.pdf I am wondering how to naming the columns for airport_id, airport_name, etc. Do you have solution for this problem?
    • I need help with the last two functions, and I want to use the first function in the second.¬†. def embed_digits2 (context_val, message_val) + This method takes in two integers and returns the result …
    • In this project, you are going to model the median home price of various houses across U.S. Census tracts in the city of Boston. Note that we are predicting a continuous, numeric output (price) based …
    • (Dict)Given a dictionary grade={“A” : 8, “D” : 3, “B”:15, “F” : 2, “C”: 6} write python statement(s) to print: a.All the keys b.All the values c.All the key and value pairs d.All the key and value …
    • Python files only Please Please develop a Python application that meets the requirements described below: ¬† File manager: the user should be able to create folders and subfolders and should be able t…
    • Question : Regular expressions are used in programming for different purposes, not only setting up URLs in Django.¬† Group of answer choices True False Question : You use the views.py to set up Python…
    • When creating the countLettersInWords(s) function how many lines will need to be created in order for this function to work correctly?
    • Why am I getting a “expected string or buffer”? All i need to do is read a document for the database in JSON format. import sys import json from bson import json_util from pymongo import MongoClient c…
    • Dictionary “Fun” Write a function named capitals. In this function, you are to create a dictionary which contains 5 states (you may choose any 5 U.S. states) and their state capitals. The function s…
    • (https://en.wikipedia.org/wiki/Logic_gate). 4. A logic circuit is given composed from AND, OR, and NOT logic gates (https://en.wikipedia.org/wiki/Logic_gate). Write a function circutResponse(circuit, …
    • [30] The Archimedes Method¬† Requirements: Implement the Archimedes method (Sec. 2.4 in PPC) using the following¬† function signature. In your function, return the computed approximation of ūĚúčŌÄ …
    • The sixth assignment involves writing a Python program to read in the temperatures for ten consecutive days in Celsius and store them into an array. The entire array should then be displayed. Next eac…
    • You should see the following code in your programming environment: import simplegui def draw_handler (canvas) : # your code goes here frame = simplegui.create_frame( ‘Testing’ , 600 , 600 ) frame.set_…
    • Define a function called largest_diction that takes a list of dictionaries as input and returns the dictionary with the largest number of key-value pairs in it. You can assume that one dictionary in a…
    • The picture am looking for is a mythical jackalope creature ICS – pickandshow.by Flic Edit Watcher MediaTools JES Functions Window Layout Help Callermodise Test,Desktop Intro To Computer Programman. -…
    • Question Problem: Constructing a programming language named Adder. The Adder language only has a few simple statements: quit Exit the REPL or terminate a program. input var Prompt for and allow the us…
    • Utilize functions to provide a way to clear Python’s integrated development environment (IDLE) window. In your initial post, provide the function for achieving this task and explain the process of cle…
    • TOPIC: FUNCTION An Explanation of the Concept of a Function Functions are mostly used to aggregate code that is repeatedly executed. You would have to copy and paste this code every time if you didn’t…
      • Programming Project [Python] – You’re going to help a meteorologist produce their weather graphics for the week. Write a program that will accept the input of daily temperatures {one for each day of…
    • Trying to work out these questions. Can you please help guide me through how to type the python code for them? Using the following .csv sheet in Jupyter notebook: https://covid.ourworldindata.org/data…
    • Need help with the code below:¬† ¬† mystery_int = 5 #You may modify the lines of code above, but don’t move them! #When you Submit your code, we’ll change these lines to #assign different values to th…
    • . Configure the following statement to open a file called Numerology.txt for reading. f append ‘r’ write close open ‘rw "b" "numerology.txt" "Numerology’ ‘Numerology.txt’ &q…
    • Create the table and use python to automate loading of the following file into SQLite: http://dbgroup.cdm.depaul.edu/DSC450/Public_Chauffeurs_Short_hw3.csv ¬† Find (using SQL) a) how many records are …
    • 10¬†LAB: Winning team (classes) Complete the¬†Team¬†class implementation. For the class method get_win_percentage(), the formula is: team_wins / (team_wins + team_losses) Note: Use floating-point di…
    • . (a) Write the following functions and their docstrings: . between (num1, num2, num3) takes 3 integer arguments and returns True if num2 is between num1 and nun3. It is not between them if it is eq…
    • Write a Python program to take a string input from the user. The program manipulates the input and print a string (with exactly 4 characters) per the following rules: o If the input has 5 characters o…
    • get the working directory of the source in …/ and save it in variable source. In the same way get destination directory …/ and save it in variable destination. new perform copy operation using the…
    • Python : Patient Fees – using Graphical User Interface (GUI) You are to write a program using GUI that computes a patient’s bill for a hospital stay. The different components of the program are: The P…
    • modify the code that will change one element in the list of lists. Show also a sample output of your program running. ¬† base = [1,2,3,4,5] a = [1*r for r in base] b = [2*r for r in base] c = [3*r for…
    • Python Programming: ¬†. A company with n employees publishes an internal calendar, where each day lists the employees having a birthday that day. What is the probability that there is at least one day…
    • please write code using spyder tool Homework #6: (1) frequency distribution of letters: take two opening paragraphs from any two books https:f;’www.shortlist.com,-"news,fliteratures-greatest-op…
    • Frome the question below, I already imported the file but I don’t know hot to plot the boxplot in the same single plot. Can you help me figure it out? import matplotlib.pyplot as plt import pandas as …
      • Modify the Horse Racing program so that the user can assign a handicap to one or more horses on a scale of 1 to 5. ( A ‘handicap’ in racing is.a means of giving advantage to less competitive horses…
    • The consumer price index (CPI) indicates the average price of a fixed basket of goods and services. It is customarily taken as a measure of inflation and is frequently used to adjust pensions. The CPI…
    • Write a script that uses the hashlib module to hash a user entered password and then write the hashed password to a file. 1. Use the input function to prompt the user for the password 2. Hash the pass…
    • . Part 4 – Answer These Questions ? QUESTION 1 – What are loops in programming? ? QUESTION 3 – How many times a while loop will repeat? ? QUESTION 2 – What is the condition for a while loop to repea…
    • . 4. Consider the following python program. from pylab import * Y D array([1920, 1930, 1940, 1950, 1960, 1970, 1980, 1990, 2000]) array([616, 803, 384, 285, 276, 164, 56, 65, 532]) t = float(input(&…
    • Hi I need help determining some variables for this question: The price of one avocado at Dave’s market is $1.50 for a quantity of 10 or less and 0.89 cents if the quantity is 11 or more. Write a progr…
    • design a program that asks the user to enter a series of 20 numbers.¬† The program should store the numbers in an array and then display the following data: The lowest number in the array The highest …
    • Apply exploratory data analysis (EDA) techniques in python to Mercedes Used Car dataset by completing the following tasks. Need the code and graphs and table. Answer certain question in words. Data ca…
    • Please provide python screenshots. thank you. I’ Safari File Edit View History Bookmarks Develop Window Help Q ‘9? 1)) 72%.v Sun 7:20:30PM Q ¬ģ 55 E ‘9; Ô¨ā datahubtucsdtedu C “P o [1’] ET] …
    • Before doing this question: After doing the question, it showed me the problems and I could not get the grade:. NoYouPick Write a function called no_you_pick. no_you_pick should have two parameters. T…
    • Coding in python. When I export a csv or try and download a csv where does the file go? I can’t find the exported csv anywhere on my desktop. I am printing a csv by using print (“URI’s written to .csv…
    • def function(*args, **kwargs): This question is meant to test your understanding of how to work with an arbitrary number of positional arguments and keyword arguments. The main goal of this function i…
    • Given Code: ¬† #Write a function called word_count. word_count should take #as input a list. You may assume every item in the list will #be a string. # #word_count should return a dictionary, where th…
    • 21 LAB: Print Beautification ¬† Learning Objectives Function creation Character multiplication (a * 5 == aaaaa) Using len function Instructions Why all the paintings in museums are always in frames?…
    • we have two types of data splitting for training and testing data: out of sample and out of time. It is proper to use Out of Time splitting method for time series dataset. Writing a function to spilt …
    • I need help with is_valid_path, dfs, and bfs for Undirected Graph. ——use skeleton code—— class UndirectedGraph : “”” Class to implement undirected graph – duplicate edges not allowed – loops n…
    • Make function called return_exactly_one(file_name) that takes in the name of a text file as the argument, opens the text file, and returns a list that only contains items that occurred exactly once in…
    • what would be the IPO chart for this program its a ¬†program that will ask the user to guess a number between 1 and 10. IPO Chart Inputs Process (calculations) Outputs WEEK 4- COURSE PROJEC import ran…
    • Suppose you have collected hundreds of blog articles on web programming. But you want the ability to find articles including a specific keyword. Example – You can type “react” to search for all articl…
    • create a generator fibonacci that returns a generator object that can be used to produce the Fibonacci. sequence. The function should be able to generate the 10000th fibonacci number in under a few se…
    • The daily_summary function takes a dict argument in the form of the data structure above,(a dict whose keys are dates (str), each associated with an inner dict whose keys are drug names (str)and whose…
    • Chapter 8 is a short but very important chapter concerning Strings and String manipulations. In particular, to be able to use the many built-in Python string methods. Table 8-1, Table 8-2, and Table 8…
    • Please help with the following using a python code. Anything would help
      • LAB: Password modifier Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by replacing characters using the key below, a…
    • Design an interface of Rock Paper Sicissors Game as this:¬† ¬† 2. Click on Start Game to start the game¬† 3. Click on Quit to quit the gam ¬† 4. Prompt user to enter R, P, and S in the text entry f…
    • For submission.py for Hw1 , the initial Node and edges is populating correctly for ‘Laurence Fishburne’. ¬† However for the remaining question , Do we take other nodes , call the movie credits api and…
    • Read the article: Camm2017-A Practitioner’s Guide to Best Practices in Data Visualization-JoAA.pdf¬†(Links to an external site.) https://www.dropbox.com/s/gqcygyga92oi8lj/Camm2017-A%20Practitioner%E2%…
    • Develop a program for a colleague from the text-mining team. The program requests a user to input a paragraph of text (in English) and has the following features. ¬† Basic Feature [5 pts] Create a dic…
    • The illustration below shows 2 queues A & B, each with 5 sorted numbers. 1 and 2 are the first element in A & B respectively.¬† Write an algorithm to dequeue all the numbers from A and B, then…
    • rewrite this code print ( ‘This is the magical wind chill calulator! Enter a temperature in degrees fahrenheit and a wind speed in MPH and see a wind chill value’ ) print ( ‘see the sample below\n\n’ …
    • I extremely need help with this in Python ASAP!!!! This program will requires to make a basic parser for an input string that is somewhat like Python. Python has an older parser module and a newer ast…
    • py What will the following program print? Answer in a word or pdf. # Lab 5 19 # What will the following Program Print 3 # Program Tracing Question 4 5 list1 = [chr (35), "cat", "ca…
    • You are given a dataset containing the number of hurricanes occurring in the United States along the coast of the Atlantic. Load the data from the dataset into your program and plot a Bar Graph of the…
    • COVID-19 Quarantine States¬† The NY State COVID-19 Travel Advisory at https://coronavirus.health.ny.gov/covid-19-travel-advisory requires that individuals who travel to New York from states that have …
    • Hello, can I please have some help writing this code? Also, would it be possible to have this code written in the SIMPLEST form possible within Python? Thank you! Assignment: A Harris¬†number is a num…
    • define and call 4 function f10, f10a, f10b, f10c. f10 calls f10a, f10a, f10b, f10c. All 0 parameters, 0 return. create the above function
    • can you please post the code? CIIL Goals Practice using dictionaries . Continue working with functions Requirements You will create a program that simulates a user’s music library. You will be importi…
    • Question: The goal is to anticipate whether or not a Visa client will default for their installment in the following month. We will utilize the better of 2 classifiers specifically, Random Forest and …
    • import heapq def findOptimalJoiningCost(lengths): # your code here ¬† print(‘– Test 1 –‘) l1 = [1, 5, 2, 4, 3, 2] c1 = findOptimalJoiningCost(l1) print(c1) assert c1 == 42 print(‘– Test 2 –‘…
    • Read ‘exercise.txt’, remove \n if needed ¬†¬†¬†¬† # use f1=open(‘exercise.txt’, encoding=’utf-8′) ¬†¬†¬†¬† # Option: use split() and strip() to get words in lines from text b. Extract numbers from …
    • The “Utilities” dataset includes information on 22 public utility companies in the US.¬† The variable definitions are provided below.
    • def main(): # Create the canvas gui = graphics(700, 200, ‘1 Dimensional Chess’) # This is the starting board. # This board variable can and should be passed to other functions # and changed as moves …
    • Problem Statement In this Problem, I have to develop an application in Python 3.7 that maps language¬† interpreters with the languages they can translate. People from all over India call up the Ind…
    • The following code is an example of which programming construct? for (int i = 0; i < 20; i++) { ¬†System.out.println(i); } Select one: a. Iteration b. Sequence c. Selection
    • "An acronym is a word or name formed from the initial components of a longer name or phrase, usually using individual initial letters, as in NATO (North Atlantic Treaty Organization) or EU (Eu…
    • Please help with Q1B (at the end of page 3, the context/code provided in “instructions” tab below) ¬† Thank You! ¬† ¬†. assignment 1 October 13, 2021 [1] : # Initialize Otter import otter grader = ott…
    • This is my questions I am getting this message Exception in Tkinter callback TypeError: ‘str’ object is not callable How do I fix this This is the code # Import the required modules. import tkinter im…
    • Please don’t copy from Chegg and course hero ¬† In python Please help in python WITHOUT USING IN-BUILT SORTING METHODS for example max(), min(), sorted() and sort() ? for require, if the number is 1, …
    • Exercise 11 Use the function design recipe to develop a function named make_ends. The function takes a list of integers. (Assume that the list will not be empty.) The function returns a new list conta…
    • How to scrape reviews from buffalo exchange through Yelp fusion API using python?
    • Hi There , i am working on a project assignment where we need to read and aggregate the data in a Dynamo db table the Dynamo db table is loaded using Bedsidemonitor.py code. While i am able to read da…
    • SOLVE BY MONTE CARLO Similation on Python I need a matlab code for calculating formula below; STOIPP formula is; STOIIP=Area * thickness * (Porosity%) * (1-(Water Saturation%)) / Oil formation volume …
    • write¬†an algorithm write the pseudocode code it in Python Tuition Fees Increase In 2008, BC charged $115 per credit for a course.¬†¬†BC announced it would increase its cost per credit by 4% each year…
    • Hello there, I’m trying to write this program in either psudocode or python and would love some help. I’m having an issue conceptualizing the ideas here.
    • Data Preparations and Statistics Introduction The file cps.csv (attached) contains school profile information for Chicago Public Schools. Your program will derive some data from it and then generate s…
    • I need help with my coding. This is all I have, I asked several times but all tutors are saying it’s incomplete question. (this is the text file information) B001,book,Patriot Games,15.95 B002,book,Or…
    • I have to find the incorrect ways of handling exceptions in the following code (we are not looking for syntax errors. We are looking for an error in the design level). What are the problems, and how d…
    • I know how to display factors. I need help with creating a function which accepts two numbers: the original number, and the number to see if it’s a factor.¬† Example:¬† Enter number: 6 Potential Facto…
    • # I would like to reshape an array of rainfall data into a a 3D matrix. I keep getting an error below # ValueError: cannot reshape array of size 85 into shape (17,5,5) # Have done the code for the rai…
    • 1 – The sliding-tile puzzle consists of three red tiles and three green tiles and an empty space as shown below: R R R G G G The puzzle has two legal moves with associated costs: A tile may do the fol…
    • 1 write statement(s) to create a Series object, se, so that the output of print(se) is as follows: (2 points) apple ¬† ¬† 1.0 banana ¬† ¬†0.5 cherry ¬† ¬†3.0 ¬† 2.2 write statement(s) to insert valu…
    • n_samples = [500,500,500] random_state = 170 cluster_std = 1¬† centers = None X, y_true = make_blobs(n_samples=n_samples, centers=centers, random_state=random_state, cluster_std=cluster_std) plt.scatt…
    • Help code and comment in python anaconda spyder so i can better understand it. I will pay more.
    • Write a python program that reads in an integer ‘n’ and prints out the value of the following series: (1 x 2)+(2×3)+(3×4)+…+((n-1)x n) ¬† Input format: the only line of input contains an integer n g…
    • I am writing the following code for Python 3. The following is the input. name = input(‘What is your name?’) age = int(input(‘How old are you?’)) print(‘Hello’,name,’!’, ‘You were born in’,2020 – age,…
    • Just contain multithreading.¬† Creating a basic calculator in Python, with a fully functional GUI, using any library they see fit to help implement the GUI Ôā∑ Tutorials explaining how to implement Tk…
    • In addition, daily the user can be tempted to eat things that were not planned for, such as having an ice-cream on a hot day. The daily temptation is generated randomly as 1 or 0. If the temptation e…
    • Design a program to prepare an automobile liability insurance report estimate for 3 customers. ¬† The input consists of each customer’s name, age and a risk code. A code of 1 indicate a high risk driv…
    • . Mod 4 Homework – Circular Linked Data Structure Not all linked data structures are linear – it is often helpful to have nodes that link to multiple nodes (as in Trees and Graphs), or nodes that li…
    • Rewrite insertion and bubble sort function so that both ascending and descending sort are supported, and the default option is ascending sort. (Python)
    • . 3 The Google of Quotes (40 points The file "quotes.txt" contains pairs of lines, with the first line being a quote and the following line being the person who said it. We want to build a…
    • USE PYTHON TO SOLVE THE QUESTION BELOW: There are two kinds of interest: simple and compound. With simple interest, the amount of the deposit remains the same, and the amount of interest is paid at th…
    • How can I design a program using loops in Raptor that tests our extrasensory perception. The program will randomly pick a color from Red, Green, Blue, Orange, Yellow, and Purple,¬†and the user will be…
    • Data Description: One of the sources for this assignment is the AP exems for 2020. Secondary students can take Advanced Placement (AP) courses for college credit and/or placement. We pulled out just t…
    • We will discover the basics of image processing, a key area in the computer science field. In part 1, we will define an abstraction of images in RGB colorspace with a Python class. In part 2, we will …
    • Psuedocode and flowchart thank you!. Design a class named Patient that has fields for the following data: . First name, middle name, last name Address, city, state, and ZIP code Phone number Name and …
    • Need assistance on correctly running this python code python code #!/usr/bin/python import sys for line in sys.stdin: line = line.strip() val = line.split(“|”) ¬†¬† lo_quantity = val[8] ¬†¬†lo_revenue…
    • can i get help in coding this function in python please? subset (group, total) [20pts] Description: Creates and returns the smallest subset of group that has a sum larger than total. If there are more…
    • I have never worked on math quizzes and I’m stuck in the issue below. Write a program that gives simple math quizzes. The main program asks the user if they want to solve a math problem and loops as l…
    • Hi, I’m having trouble with this question in the homework, could anyone help me with it? THanks!. CSC165H1, Winter 2022 Problem Set 3 3. [6 marks] Asymptotic notation. For each part of this question, …
    • Define a function ged that . takes two strictly positive integers x and y as arguments, and . returns their greatest common divisor, i.e., the largest positive integer that divides both x and y. For e…
    • A Substitution Cipher Class In cryptography, a Substitution Cipher is one of the simplest and most widely known encryption techniques. Each symbol in the alphabet is replaced by another symbol in the …
    • Enhance the program by allowing the user to specify the list of months they want to see. A valid query may in addition to the year number contain a list of month numbers separated by spaces. ¬† For…
    • Please need in help in 20mins. Write code that prompts the user to enter a number from i to 10, inclusive. Include error checking to enforce the numerical range, and use a tryeexcept block to graceful…
    • issue in pytho, issue implementing a zero division exception throughout the code (selection 4 in menu, allInOne, and operation) I am now having error where something isn’t defined. #input Enter choice…
    • Could you aid with this. Please make sure to use 2-D lists, make sure there is only 1 return statement in the function, seperate the function and the main file and use .format (format for python). Tha…
    • csv file can be downloaded from: https://drive.google.com/file/d/1s9hf194kaLmQmQDAV6km1WopZNN1Kfqu/view?usp=sharing¬† ¬†. Q3 – Queries on Titanic Data set (4 points). Implement the fun…
    • adding to this program : option for the computer to guess as well as the user to guess a number. import random at the beginning of your code and use a comment block explaining what your program does a…
    • class base_class: ¬†¬†”’ ¬†¬†base class, will use a template for children classes; will not be used for creating objects ¬†¬†”’ ¬†¬†def __init__(self, ip_add): ¬†¬†¬†¬†self.ip_address = ip_add ¬†¬†?…
      • LAB: Warm up: Variables, input, and type conversion (1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate variables. Then, ou…
    • Here is part A: Here is part B: Match each of the finite automata M with the corresponding regular language / regular expression: J Choose… I M accepts words that begin with an a followed by zero or…
    • Consider an agent that controls the traffic lights at a 4-way intersection (where 2 roads cross, with traffic flowing in all directions). The lights have green/yellow/red main lights plus a left-turn …
    • Can anyone explain how to implement the BlackJack Dice game according to certain conditions in python? prompt: Part VIII: Blackjack Dice (30 points) ¬† For this part you will implement a two-player ve…
    • Not sure why my outputs do not match the example. Does anyone know what I am doing wrong? This is supposed to be solved without importing math. Problem: Scores.txt: 59 60 65 75 56 90 66 47 98 72 95 71…
    • A leading bank wants to develop a customer segmentation to give promotional offers to its customers. They collected a sample that summarizes the activities of users during the past few months. You are…
    • I need to help with coding a game of craps. I don’t know where or how to start.¬† write a program to play the dice game “Craps” (craps.py). Craps is one of the most popular games of chance and is play…
    • following are my codes, I was stuck at the output How can I fix my codes? def finding_treasure(m, n): ¬†¬†count = 0 ¬†¬†list = [] ¬†¬†list2 = [] ¬†¬†for i in range(m): ¬†¬†¬†¬†for k in range(n): ¬†¬†?…
    • Hello Sorry if this a little vague I’ve just started programming. I have been tasked with the following “I think that it would be very beneficial to get a list of people who have made more than 15 pur…
    • Use PYTHON to make a step plot of the Poisson distribution of the variable x when the mean value of x is set equal to 3. Show this calculation over the range of x from 0 to 8. Overlay on the same figu…
    • Here is my coding and it keeps giving me an error. “TypeError: calc_tip() missing 1 required positional argument: ‘mealprice'” im not sure whats wrong can you help? #My name is Ryan Vang, todays date …
    • Please write in python, acces this link to see the document: https://drive.google.com/file/d/1VgkDuw8RnssNST-E6SRy2l4idWnk5kYe/view?usp=sharing
    • ### graphics.py ### import tkinter import time import sys class graphics: def __init__(self, w, h, title): ”’ Initialize the graphics object. Creates a new tkinter Tk object, and a tkinter Canvas …
    • Instructions – To attend the lab, locate the Zoom lab session link available at MyLearning¬ßpace page under "Zoom Lab sessions" for CP104. – Listen to Instructor instructions, if any. – Crea…
    • write a python program that display all the leap year in 21st century i.e (from 2001 to 2100 inclusive). use the ‘for’ loop . A year is a leap if it is a (multiple of 400) OR ( multiple of 4 AND NOT a…
    • This is an interesting question that requires some thinking. maze1 = [ “\//\\\\/” , “\///\\\\” , “//\\\\/\\” , “\/\///” ] maze2 =[ “\/” , “/\\” ] maze3 =[ “/\\” , “\/” ] Taking maze 1 as an example, i…
    • This is for Python Specifications Ôā∑¬† Create a program that uses a separate module to calculate sales tax and total after tax. The sales tax rate should be 6% of the total. Ôā∑¬† Store the sales tax…
    • Write: A Python program that allows customers to book rental cars. Customers pick a car type (Compact, Intermediate, Standard) using menu choices, enter the number of days, and select if they want to …
    • What is a simile? O comparing 2 things not using like or as giving human qualities to an object O comparing 2 things using like or as
    • The following table shows the arrival and required rimes of a set of processes. Process ID Arrival Time Required Time P1 0 4 P2 1 3 P3 2 5 Calculate the waiting time units in for each process, if the …
    • . The demo cell below should display the following output: actor count O Chloe Grace Moretz Anna Kendrick Jennifer Lawrence D W N Kevin Hart Kristen Wiig Melissa Leo Melissa Mccarthy Ryan Reynolds 0…
    • INFO about the question is in the link below file:///C:/coding%20x/project3%20info.pdf
    • Consider the following Python fragments and predict the result. After you predict the result, try the code fragment in the¬† python shell * and see if you are correct. 1. Types Decide which you think …
    • Hint:¬† Work on the methods in the order they are found in the documentation below,¬†implement the¬†getter and setter methods before the more complicated methods. Work on the Assignment class, Assignm…
    • Please do I need an algorithm in python that presents the following menu and performs the corresponding options Option 1. The program will add nodes to the stack. void push (stack & p, int value) …
    • Using this as a helper function I need a function most_consonants(wordlist) that takes a list of lowercase words called wordlist and returns the word in the list with the most consonants. most_consona…
    • I have a folder which contains tiff images. Unfortunately, some of the images are corrupted. I need to find them and remove it, to produce 1D array from each of the image. How can I achieve this(CODE)…
    • Write a loop that outputs the numbers in a list named salaries . The outputs should be formatted in a column that is right-justified, with a field width of 12 and a precision of 2.
    • hello, need help with this using python3 Consider a BinarySearchTreeDuplicates class that is identical to the BinarySearchTree class we have seen in the lecture. except it allows nodes with the same k…
    • Question 2: Combinatorics (11 Choose k) We have 4 very good friends AlbertiA), Biliy(B), CarilC) and David(D), and we want to see which pair of them is the ultimate best friends to each other. We hav…
    • . Recaman’s sequence def recaman_item (n) : Compute and return the n:th term of the Recaman’s sequence See the linked definition for this sequence on Wolfram Mathworld. Note how the definition for t…
    • def is_triple_string (string: str) -> bool: This function is a little similar to the triangle string function above, if you feel like you can reuse some of the code you wrote for that function here…
    • First and Last Occurrence We need to prompt for a string and determine if the string contains the letter “f” If the string contains one letter “f”, we need to print the index If the string contains mo…
    • Create a text file that contains a list of at least 10 numbers. Using Python write a program that opens them and, using a loop, accumulate the sum of the numbers from that. Print each of the numbers a…
    • Template for Functions (chapter 5+).py – C:\Users\priya\Downloads\Template for Functions (chapter 5+).py (3.10.0) X File Edit Format Run Options Window Help Program <program name> Description: t…
    • How to build a progress bar in python? The progress bar is represented as a circle around the button.
    • Describe how you would create a Python program that calculates the exact amount of change to give a customer in denominations of quarters, dimes, nickels, and pennies. For example, if the change is 79…
    • What are the differences between the hidden states of RNN and LSTM?
    • Lesson 7b Notebook Quiz This quiz is designed to prompt you to engage with the use of the pandas data framing library in Python, particularly apply, filtering, and reduction. ¬† 1. Of all the students…
    • Please help me debug Python: Create a script that will extract the following information from a web-page.¬† You will be using the Python Standard Library requests ¬† and the 3rd Party Library Beautifu…
    • def convert_13_to_10(ISBN): ¬†¬†#Convert an ISBN-13 number to a ISBN-10 number ¬†¬†if ISBN[:3] == ‘978’: ¬†¬†¬†¬†n = str(ISBN[3:-1]) ¬†¬†else : ¬†¬†¬†¬†raise “ISBN is not convertible.” ¬†¬†¬†¬†¬† ¬†¬†…
    • Using the dataset¬†(https://data.pa.gov/Covid-19/COVID-19-Retail-Pharmacy-Partners-Vaccine-Allocati/vxbs-jbjq) from the PA state government, answer the following: As a citizen of Pennsylvania, I want …
    • Hello, a tutorial on these questions would be great, thanks :). 5 Points (1 Point Each) For each of the following loop tasks, tell me how many times the payload of the loop will execute Answer "I…
      • Basic output with variables (Java) This zyLab activity is intended for students to prepare for a larger programming assignment. Warm up exercises are typioaiiy simpler and worth fewer points than…
    • QUESTION 12 Which of the following is not one of the things we did in our project to prevent against possible CSRF attacks? O) a. We added the SECRET_KEY configuration variable as a cryptographic key …
    • I need to make a letter “C” print using python the code I currently have is down below but I’m not sure how to add 2 stars to the end of the letter. Needed in python. ¬† ¬† Current Output: ¬† Neede…
    • Focusing on df and the column “Number of Customers Affected”, please: print() the dtype attribute for the column. Please write a function scrub2int(ob) that will: take in an object or string as input …
    • Page 10 of 11 Task 8 10 Create the function joinSuccessive which accepts any 1D list of Strings and returns a new list in which the Strings are the successive concatenation of Strings from the argumen…
    • Have my programming in python final exam tomorrow! Thank you in advance!. CSCI 256 ‚ÄĒ Test 2 Review Questions 1. What operator is used for "less than or equal to" in the condition of a loop…
    • Write a program that allows the user to enter a positive integer and performs the following actions: ¬† Double the number Reverse the digits in the number Sum the digits of the number If the number is…
    • Please show work! 7. The following program intends to print the numbers 5 through 0 as in: opanwhm This is the alleged program: def function#2() for i in range(5,-1, 0): print(i) function#2() There ar…
    • Hello, I need help solving this Lab simulation, It uses Function errors: Copying for function statements and I am very new at python on so I need help solving it. It is very difficult. It is very conf…
    • Write a function to ¬† calculate the Gaussian ¬† f(x)=(1/(sqrt(2*ŌÄ))*exp[-1/2*((x-m)/8)^2] for arbitrary mean value m and standard deviation s as parameters. ¬† ¬† Name it as you like such that you c…
    • If we add noise to transitions of an MDP, does the optimal value always get worse?
    • Create the ‘edu.calhoun.python.finalproject.aviation.util’ module: ‚ÄĘ In the package ‘edu.calhoun.python.finalproject.aviation’, create the Python module util. ‚ÄĘ Edit the util module. ‚ÄĘ Using a f…
    • Evaluate issues for moving from a traditional company website to SharePoint 365. Please explain in detail so I get a better idea. Thank you!
    • I need code in python with detail explanation¬†. Exercise – Pandas This exercise uses the CSV file Motors which is available on Moodle. Q1: Print the first and last five rows from the CSV File. Q2: Re…
    • Hello tutor, please help me out! I need to find the first repeated character in a string and the approach should be O(n), I am currently in entry level, if possible, please please explain in detail, t…
    • Given a variable that contains mixed collection types, update the provided function to display the first inital and last name of the instructor: Update the function to accept a list and the name of th…
    • parks[1][2] O parks[3][2] O parks[2] [3] O parks[2][1] Question 10 The pseudocode listed below is meant to find the lowest value in the array called houses. What will be the output of this c once it…
    • Task2A)¬† Using PHP Programming I want to write a function named task2 that returns an array storing unique values of two single-dimensional arrays passed to it as arguments. Array method(s) must be u…
    • Using python. Queensborough collects property taxes on the assessment value of property, which is 60% of the property’s actual value. For example if a house is valued at $400,000, its assessment value…
    • My code is not returning 2 like it should be, can someone help? def count_duplicates(dictionary): ¬†¬†“”” Return the number of duplicate values in dictionary. ¬†¬†for instance, ¬†¬†count_duplicates({‘…
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!

Do you need a similar assignment done for you from scratch?

We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism.

Order now for an Amazing Discount! Use Discount Code ‚ÄúNewclient‚ÄĚ for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.

Looking for this or a Similar Assignment? Click below to Place your Order Instantly!