# 👋 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.

• Seeking assistance with this via Python3 1. Picking Tickets Consider an array of n ticket prices, tickets. A number, m, is defined as the size of some subsequence, s, of tickets where each element cov…
• . QUESTION 1 – When is the code within a function executed? QUESTION 2 – Functions are especially useful in GUI apps. Why? QUESTION 3 – What is the difference between a CLI app and a GUI app?
• Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
• python program to create list of randomly generated numbers in the range 0- 99. Then delete all the numbers from the list that are divisible by 3 and convert all the left numbers into a single digit. …
• 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 that the …
• def cost_to_hike_naive( m : list[list[int]], start_point : tuple[int, int],                         end_point : tuple[int, int]) -&gt; int:     “””     Given an elevation map &lt;m&gt;…
• Which of the following statements is correct regarding Data Base Management Systems (DBMSs)? a.      It is a software developed by Microsoft to manage databases b.     It is a…
• i want the program to run when i change county from dropdown, for each county to show the same value every single time. right now it is showing random number on “resultCases” //define the variables fo…
• A permutation is a way, especially one of several possible variations, in which a set or number of things can be ordered or arranged implement a function permutations() that takes a list lst as an inp…
• I need help importing a module into python. I am confused, . I am working on a project . Is the Mylib.py module a file saved in the Python application by default or do I create it. If i create the fi…
• 3 Coding: Note : you pick the appropriate parameters in these problems. 1. Let X, X2, .. . , X.., iid N(ux, ?) and Yi, Yz, … , Y., iid N(ly, a?). Let a – 0.05, here of is the same in both population…
• 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(71) returns “1m 11s…
• Write a simple TCP client and server that echo messages between each other in Python. Also write a simple UDP client and server that echo messages between each other in Python.
• 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 pr…
• Do you have all solutions for Cs 570 programing foundation home in Zybooks?
• I need a nonredunadant.py file A program that gives output nonredunant nodes
• Using Python, Juypter Notebooks   The instructions  . Digital Real Estate (2022): Best Fc X M Week 8 | Homework 8: Linear Mc X PRE HW 08 Instructions.pdf X Course Hero x My Drive – Google Drive X + …
• I am not entirely sure how to put this together. The teacher said she prefers us to not use break for loops. There is an example of what the program should do but not how to actually make it. COP 1000…
• Write a program that asks the user to enter daily rainfall amounts. Your program will need to accept 10 daily rainfall inputs. Only allow non-negative rainfall amounts. If the user enters a negative n…
• Python Programming Question: Write a function getStats(fname) that determines the following file data (stats) for the input file. fname: Number of lines (blank and non-blank) Number of words . Numbers…
• Need help with code.   First , write a code for the output text file named “output.txt” directly under the output. Second , read the airport point layer then output the point layer info (displayed be…
• Hello, i need help with the python 3 programming assignment. I’m completely stuck on the whole thing. Write a program that lets the user play the rock. paper. scissor game againstthe computer. The com…
• In an external file atbash.py, there is a function atbash_decrypt(). The code is functional and the function name is the name I want; however, within the function, the variable naming and code style…
• How can I write a recursive Python function that will set up a chain, and that will return True if the chain is a palindrome or False otherwise.
• Description: KSM had been eyeing a large acquisition of another automotive dealer that also had a major service component of the business.  Within two weeks of the acquisition, the former operations …
• Can someone explain me Q.3 step by step  . 8:31 PM | 10.2KB/s LEJail 078% assignment_1_data structure-1 – Saved O . . . Assignment 1 Unit 1 1. Explain all asymptotic notations. 2. What is algorithm? …
• Problem 3:- Define another pytest test class  ‘TestInventoryAddStock’ , which tests the behavior of the  ‘add_stock’  method, with the following tests: Define a pytest class fixture ‘setup_class’, …
• please help me in printing the output for the student data in descending order based on the score value (i.e. students with higher scores printed first)  . for score in students: if 90 &lt;= score [‘…
• So when I was working on this assignment, I got help for this first question from one of the tutors here. The code that was given to me can be found in the ‘missing answers’ section of this homework. …
• Bowling Game For this assignment, you will create a bowling game that can be played by an unlimited number of players. To create your game, you will need to do the following: Get the number of playe…
• How would I code a python  function  that take a list as arguments and calculate the sum of all even numbers?
• Hi Tutors,  Can you please help with this question? Write a program which computes the product of two polynomials. (( Polynomials should be input as lists; for example, 1 + 2x – 5x 3  should be inpu…
• 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…
• Need this in coral language. Write a program that first gets a list of 5 integers from input. Then, get another value from the input, and output all integers less than or equal to that value. Ex: If t…
• Write a function named surface_area_right_triangular_prism, which takes the base, height and length of a right triangular prism as parameters, and uses all three of your functions from (a), (b) and (c…
• hello I am trying to put this expression tree diagram for each of the following expressions in a document. python a) 7 – 2 * 5 b) (7 – 2) * 5 c) 9 * 5 + 10 d) 6 + 5 – 2 + 3 e) 5 * 7 ^ 2 f) 4 * (2 + 3)…
• code using python  . distribution and keep track of how many times the rejection criterion { &gt; K} is NOT satisfied. Report this number divided by 10000. This should be approximately B. c. (Not req…
• Consider the following python code that will sort the list of numbers using the Bubble Sort algorithm. Sort the following series of values into ascending order using the Bubble Sort algorithm. Write o…
• Hello, I really need this help¡ I want program in Python tha gives me the average raster points from two raster in tiff format. i have one program that give me rasters in tif format, but i need the p…
• Big-O Calculation (Manually graded) [30 pts] In a triple-quoted string at the top of your file (just below your name), include solutions to this exercise. For each of the following functions: A. St…
• Write a Python program that:  a). define a dictionary called portfolio with keys = [stock 1, stock 2, stock3] and values = [1, 0, 0] b). define a function called investment that accept a list with na…
• BatchNorm is a common technique that can accelerate and improve training, especially with deeper networks. In this problem, you will study BatchNorm’s properties for a single ‘dot product’ neuron, but…
• the error I got is : Exited with return code 1. Traceback (most recent call last): File “main.py”, line 17, in &lt;module&gt; max_sum = find_max(num_a + num_b) + find_max(num_y + num_z) TypeError: fin…
• . me limit 5:19 * Question 9 Assume that we store names and phone numbers in a dictionary as following: phoneBook={ ‘John ‘ : ‘ 5554 441234’, ‘Kate ‘ : ‘4443331234’) Which of the following code snip…
• what is the answer Which of the following expressions would produce a Boolean value of True? Select one: O (not (True or (False and True ) ) and ((not (not True) ) ) ) (True and True) or ((not ( (not …
• Hello I need to know the code to numbering a flavor like: Flavor#1: Blackberry. This example doesn’t list the outcome that way and it starts with zero and I need to number the flavors 1-8.
• USING PYTHON. (6 points) Consider the optimization problem min log(1 – x;) – ) log(1 + 2 x a; I) TERn i=1 i=1 where n = 1000 and a, &lt; R&quot; are randomly generated vectors. Then, write a code that…
• You are given the following incomplete function. The goal is to complete it, so that the conditional probabilities P([x]_a|y) in naivebayes is estimated. Our features are binary categorical. Use a cat…
• Problem 2. (Recovering the Alignment) Now that we know how to compute the edit distance between two strings, we next want to recover the optimal alignment itself. The key idea is to retrace the steps …
• use while loops in python  Given the number of sides and length of a side (i. e. 𝑠 and 𝑛) the area of a regular polygon can be calculated by the formula: 𝐴 = 𝑛×𝑠 2 4×tan( 𝜋 𝑛 )…
• # 1. Create three dictionaries, each one will contain information about a particular student: Steve, Alice and Tyler #   a. Assign each dictionary to a variable – eg. steve, alice and tyler #   b. C…
• Hi, I need help with this code it’s meant to look like the image attached just after some guidance in how to get the circles in place; # Import all the turtle functions from turtle import * # PUT YOUR…
• .. please see attachment for format. Many user-created passwords are simple and easy to guess. design a program that takes a simple password and makes it stronger by replacing characters using …
• How to create a 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 a…
• this is complete question and not the tutor work so please provide me a good answer Q.5: Write a program in python that will allow a grocery store to keep track of the total number of bottles collecte…
• Lab 4: Song Classification, Part 1   Welcome to Lab 4! Over the next two labs, you will build your own song classifer using k-nearest neighbors. Lab 4 is part 1 of the investigation. Lab 5 is part 2 …
• Please help me write the code below:    . Practice Problem #3 Change Machine Marking Checklist Ask the user to input the cost of some item, and then ask for how much 1 K/U Runs without error money w…
• . Question 1: Draw a letter &quot;L&quot; (2&quot; marks) a) For this question, you will build four helper functions and one main function that must work together to draw a letter ‘C’. …
• Pok´emon Assignment 2 Semester 2, 2021 CSSE1001/CSSE7030
• Write an expression that continues to bid until the user enters ‘n’. Sample output with inputs: ‘y’ ‘y’ ‘n’I’ll bid \$7! Continue bidding? I’ll bid \$15! Continue bidding? I’ll bid \$23! Continue bidding…
• CONCEPT: Functions are ideal for use in menu-driven programs. When the user selects an item from a menu, the program can call the appropriate function. menu-driven program for De Anza College Food Cou…
• Define “precondition” and “postcondition” as part of your description. Create you.r .own example of each possibility in Python code. List the code for each example, along with sample output from tryin…
• python 3: using the link https://www.cs.queensu.ca/home/cords2/party.txt , read the contents of this URL into a dictionary where the keys are the guests’ names and the values are lists containing emai…
• stuck on assignments trying to learn Python for rental car script
• I have to use only global variables. No ‘Classes’ can be used to create this tkinter game. I have attached the code and on line #1, I have added an existing web solution. The game is not working, only…
• I need to create a program that allows the user to enter numbers until a blank line is entered instead of a number, and then prints the median. For example: Another example: Enter a number: 2 Enter a …
• I am having difficulties figuring out what part is wrong with my code: the Problem is: create: while loop that prints user_num divided by 2 until user_num is less than 1. The value of user_num changes…
• The function will have two function arguments first and last, which are strings that represent the first and last name.   #beginning of code def print_full_name(first, last):     #this is the pa…
• Design a Python GUI for Book view class for the following Library Information System Library Item Class Design and Testing Design a class that holds the Library Item Information, with item name, autho…
• . Lab 10 First you need to create a CSV file named Lab10_data1.csv using the data below, but you do not need to upload it just upload the .py file. 90,85,70 70,60,75 60,50,65 96,95,69 Based on the p…
• QUESTION 18 A tennis player misses his first serve 36% of the time, and when he misses his first serve, he also misses his second serve 6% of the time. What is the probability he misses both serves? O…
• Please code an original clean code, I want to know what is going on.
• Please give me the py file thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2. Write a function orderPiz za thatallows the user input to build a pizza. It then prints a thank you mes sage: the co st of th…
• hi need help creating this flowchart  thank you ! Proper parameter passing is the key to a correct, complete solution! Design a modular program that allows the user to enter two words as separate inp…
• Link to USVideo_clean.csv Data file for the question : https://drive.google.com/file/d/10v6V6hOeHGDeOesjRE0-nzVjhpXAKDZ0/view?usp=sharing Question : To find the most popular video that fits all of the…
• please write a paragraph describing how you would teach the concept of loops (not the Python coding) to a group of middle school students who don’t know any coding. Food for thought: what about nested…
• QUESTION 2 Complete the Python main code block of the following Python script called mu_q2.py. The script should perform the following computation: (a) takes any number of command line arguments using…
• Problem 6  Write a method that will take as input parameters two strings, first_name and last_name, and create a new variable called greeting which will be “Hello, your name is &lt;first_name&gt; &lt…
• Python Project: Pizzeria Program Problem: Jeff has a small restaurant which serves 3 different types of pizza (Pizza A, B, and C). In order to cut down on costs, the owner of the pizzeria wants to kno…
• def exists_triangle (x: float, y: float, z: float) -&gt; bool: Place your &quot;exists_triangle&quot; function from last lab here. The same restrictions as last week will apply. Please remember to wri…
• how to solve this? 8.5 Using the railDecrypt function from Listing 8.3, run the railBreak function from Listing 8.2 on the cipher text &quot;n oci mreidontoowp mgorw&quot;.
• The file matrix.py is a module that offers functions for 2-dimensional matrix operations. A matrix is represented as a list of lists. Each inner list represents a row from top to bottom. For instance,…
• I need to make changes to this code. Can you change this up a bit, but the output has to stay the same!! It’s in Python. import sys # Library for INT_MAX     class Graph():         def…
• positive_words = [“amazing”, “appreciate”, “awesome”, “beautiful”, “best”, “brilliant”, “celebrate”, “cheer”, “cool”, “delicious”, “eager”, “enjoy”, “fortunate”, “fun”, “glad”, “good”, “happy”, “kind”…
• Look at the following Python expression. It has 13 operators. z = a or b + 2 &gt;= c – 2 and b + c &lt; 70 or not x – y &gt; c – 20 You are asked to fully parenthesize the expression to show in what o…
• Using recursion that turns 2D (nested) list into 1D list:. Ques 7. [14 marks] Write a recursive function the receives a nested list and returns a flattened version. Examples: Input: [[1]] – Output: [1…
• Create the program allMyCats2.py as described on page 83. catNames = [] while True:    print(‘Enter the name of cat’ + str(len(catNames) + 1) +          ‘ (Or enter nothing to stop.):’)    na…
• Problem: For this particular assignment, the data of different types of wine sales in the 20th century is to be analysed. Both of these data are from the same company but of different wines. As an ana…
• Code a program to input 6 numbers. After each number is inputted, print the biggest of the numbers entered so far.
• . ACTIVITY 4: EXPLORING RUN TIMES The SortsTestHamess lets you easily test your sorts code for various types of data – Develop a table of mntime results, using at least four data sizes and two rando…
• CP1401/CP1801/CP5639 2020 SP3 Assignment 2 Task – Run the Risk! For this assessment, you are to plan and then code a medium-sized console-based program in Python 3. This assignment is designed to help…
• Predict Mobile App Popularity mobile applications have truly revolutionized the way products and service are used. Businesses have started to realize the potential of having an app and they have beg…
• For the basis functions of Lagrange interpolation, L j ( n ) ​ ( x ) = ∏ l = 0 ,   l ̸ ​ = j n ​ ( x j ​ − x l ​ ) ( x − x l ​ ) ​ find d x d ​ L j ( n ) ​ ( x ) …
• Write a function called square to take in a floating point number and return the square of that number with the return keyword. Create a second function, problem2, that calls square with the va…
• Write program that asks the user to enter the amount that he or she has budgeted for a month. A loop should then prompt the user to enter each of his or her expenses for the month and keep a running t…
• How to compose a stimulation 1000 times on a deck of size 10, 100, 1000, and 10000 where the number of fixed points can be obtained as a percentage? Student Portal | Main Student Assignment | LCS L * …
• The language being used is python In this problem, you should write one function named get_highest_sum . This function should have one parameters, a 2D list of numeric values. This should should look …
• Question: Would somebody be able to if it’s not too much trouble, assist me with the accompanying: 1. I can’t sort out some way to request that the player pick whether or not to play the game again as…
• Using Python 3.0 Part 1: a program that lets the user input a list of numbers. Every time they input a new number, the program should give a message about what the maximum and minimum numbers in the l…
• The program must work in a loop, displaying the available books and waiting for the administrator to enter the details. The program should not close unless the administrator decides to do so. ● The …
• please see the attached pictures and add 2 classes rectangle and canvas ro the point class. Class Rectangle represents a 2D (axis-parallel) rectangle that a user can draw on a computer screen. Think o…
• This program is about dictionaries. We want to use a dictionary to store frequency count of each letter in a string (a) Ask the user to enter a string. Convert all letters to uppercase. Count the f…
• Arrays Assignment: Instructions: For this week’s assignment you will be using Arrays. Two members of a gym are competing to see who lost the most weight in the first 5 months of the year. Write progra…
• I need help writing a python script for my collage class.. Course Grades Summary Report 0 gradesSummary.py Implement a file processing program that generates a course grades summary report based on th…
• Please do this  . Question 9 – Skill Testing Question In Canada, only governments can run a lottery. Other groups who want to award prizes have to supplement chance with some demonstration of skill. …
• Question 2: Recall the order of common time complexities: O(1) – constant time O(log n) – logarithmic time O(n) – linear time O(n log n) – linearithmic time O(n^2) – quadratic time O(n^3), O(n^4), etc…
• Mad Libs are activities that have a person provide various words, which are then used to finish a short story in unexpected (and hopefully funny) ways. develop a program that takes a string and intege…
• [1] Identify three ways to solve the problem of finding the shortest distance between all pairs of vertices in a graph and state the algorithm’s respective time complexities. If the time complexity de…
• Provide the final output on screen only for the following program   Provide an example other than Stack and Queue that can be implemented by using Adapter Design Pattern.. 51 = &quot;Python Programmi…
• Python Programming Program 1: Repair picture (25 marks) a) Write a program to change picture colors according to the following criteria: . Your program &quot;L9Q1 initials.py&quot; must start with a c…
• How would you store the student data for further processing? Let’s suppose that your program needs to construct a roster for a 20-student class using your Student() class. I suppose that the data cou…
• http://www.teach.cs.toronto.edu/~csc108h/fall/assignments/a2/index.shtml I was wondering if you could show me how to do the data modification part of the assignment. This is to be done on wing101 and …
• This assignment is due for me by tomorrow midnight. I’m getting an extension, but I’d like to have it done by Friday. Please help asap I’m running out of time. Thank you. I have starter code I’d like …
• We’ll take a detour this week to practice some specific skills as we get ready for our recursive bubble sort assignment. Specifically list comprehensions, slicing, concatenation and basic recursion. …
• import random # —————————————————————————————-q7.py # Write a function permutation(L). which # returns a random permutation of L by the fol…
• What is a useful site dealing with python programming language? Also, why/ how is that site useful?
• This program is intended to print one “wah” for each syllable in each word in a sentence. You should correct the following code in midterm.py (repeated below) so it produces the results in Revised Out…
• In this challenge, write a program to analyze a log file and summarize the results. Given a text file of an http requests log, list the number of requests from eachhost. Output should be directed to a…
• Starter Code   https://ischool.umd.edu/alumni/alumni-network. Prompt Create a web scraper for the Alumni Board Members. Then make a program that can display the featured alums in a range of graduatio…
• Read the contents of a text file, then place the contents to a 2D list as seen the figure below, where 1, is the element at list[0][0] is the first line of the file and 12, (list [2][3]) is the 12t…
• Question 1: Tree Map Define the function tree_map, which takes in a tree and a one-argument function as arguments and returns a new tree which is the result of mapping the function over the entries o…
• Hello any suggestions on how to improve my agent. I am working on CS7637 project 1. I was able get some of the basic problem correct but struggling on the challenge problems. I am new to python. Thank…
• Python Program to to create a simple game. we would need 2 files , ControlGameDriver.py for the driver code, a link is given to copy the driver code and please name the other file that contains the co…
• Describe how  catching exceptions  can help with  file errors . Write three Python examples that actually generate file errors on your computer and catch the errors with try: except: blocks. Incl…
• Dataset information: https://archive.ics.uci.edu/ml/datasets/Haberman%27s+Survival 1. Perform Exploratory data analysis.  ○ What can you conclude from methods of central tendency and deviation of t…
• Create Python program using the Turtle Graphics library that will present an X and Y axis, ask the user for an X and Y coordinate, determine if the coordinate is within the parameters of the chart pre…
• Problem 2 (For-loop, basic list manipulation) You and 𝐾−1 K−1 friends want to buy 𝑁 N different pieces of candy. Candy piece 𝑖 i costs 𝑝 𝑖 The candy shop owner is greedy …
• Hello team, I am struggling with the following tasks I in my current lab: ** Question 1.1.2 ** Assign stemmed_message to the stemmed version of the word “message”. # Set stemmed_message to the stemm…
• jupyter A4-ArtificialAgents Last Checkpoint: 3 hours ago (autosaved) Logout Control Panel File Edit View Insert Cell Kernel Widgets Help Trusted |Python 3 + + Run ICH Markdown Show Usage Validate Wri…
• I have trouble of how access dictionary files and getting an EOC error when trying to. I’m trying to get the years that the Justices were appointed by and names of them according to input by state abb…
• Suppose your favorite happy emoticon is the Japanese-style, ^_^.  Since the semester is almost over, we are so happy that we want more underscores, so let’s use 3 of them as in: ^___^.   Write a Py…
• Download the dataset: `loan-applications.csv` and load it into a data frame. The data set contains several hundreds of loan application data. This data set provides a glimse of what bank and insurance…
• Using Turtle graphics add a simple NJ Lottery Game Logo after completing the exercise below 13. PowerBall Lottery To play the PowerBall lottery, you buy a ticket that has five numbers in th and a &quo…
• PYTHON PROGRAMMING Part 8: Sum of Squares (5 Points) 0 File name: part8.py ‘ Write a program that asks the user for an integer N and computes the sum of squares from 1 to N, i.e.: N Z??? i=1 . The pro…
• make a dictionary that holds a list and then access information from the list For example dictionary has a list. list has a member called names and there is a list of names like: kevin, will, john, da…
• Use a for loop to complete the following function: # Returns True if array a (of strings) contains # (at least) four in a row of player (string). e.g. # four.in.a.row(player=’X’, a=np.array([‘O’,’…
• Can u please help me with writing a python code that reports occurrences of top n words in a sentence. For example: def top_n_words(counts, n): “if the input is “top_n_words({‘and’:3, ‘on’:1, ‘vegetab…
• hello, here is my Cartesian product out program listX = [4,5] listY = [6,7] product=[]         for x in listX:        for y in listY:        product.append((x, y))  print(produc…
• Write a python function named max_name that, given a value of AreaName and a year between 1980 and 2013, returns the origin (value in OdName ) with the maximum immigrants.  . Region Development regio…
• Can someone help me update and fix my code? Thanks  This exercise uses your programming environment to enhance the Web site you created last week with additional functionality to include images, tabl…
• Utilize looping to make your Python script for Functionality 2 (developed in Week 2) to run constantly. Separate Functionality 1 (developed in Week 1) into the following two functionalities: Add Emplo…
• . Write program to read a name and the displays it in abbreviated form e.g Dev Karan Singh should be displayed as (a) D.K. Singh.
• Ask the user how many numbers for which they want to calculate the sum. Using a for loop, prompt the user to enter that many numbers, one-by-one, keeping track of the sum. At the end, after the user e…
• I have this code which is providing the following output: def f(s): s = s.replace(‘-‘, ‘ -‘) s = s.replace(‘+’, ‘ +’) l = s.split(” “) sum = 0 for num in l: sum = sum + float(num) return sum s = input…
• . Program 2: Compute the speeding ticket (25 marks) a) Write a program to calculate the fine a driver has to pay based on the amount the driver is speeding. This will be calculated using the speed l…
• A “sleep debt” represents the difference between a person’s desirable amount of sleep and how long they actually sleep for. Write a program that prompts the user to enter how many hours they slept eac…
• What is the output from the following: myString = ‘letsDoIt’ print (myString[1:-3]) etsD tsDo etsDoI none of the above
• Write an algorithm in which you would like to divide two numbers and return quotient and remainder: Divide X by Y and return q and r In a different word, you are writing X as below: X = q Y + r In thi…
• Can not get timeit to work.  mport sys import timeit class Graph():               def __init__(self, vertices):                              self.V = vertices             …
• ..below . Python programming in VSCode The city of Crymland is plagued by a syndicate run by Mr. Bigg. Initially, Mr. Bigg supervises 7 thieves. The thieves operate as follows: • Every week …
• I’m trying to get the name of the Justices who are currently serving in the Supreme Court from a .txt file in CSV format, but it’s printing all of the data rather than just the names of the ones curre…
• sorted() Define a function sorted(seq) that models a limited version of the behavior of the built-in function. Input: a sequence seq. Output: a list comprising the elements of seq in sorted order (i.e…
• Am I on the right track? Need help with Part 4/5 …        . IDLE File Edit Format Run Options Window Help \$ 79% Sun Apr 10 6:54 PM Yeah! V2 Reborn vahtz &lt;&gt; cs x G init Searcl C Impor | &am…
• Fix this: Vehicle class:  -2 attributes are not declared private as required by this assignment!  need self.__color for example. -3 Constructor:  why is the VIN set to 1 in here?  It should be …
• Load CA housing data set. Use data transformations a regression algorithm(s) of your choice to achieve root MSE less than \$65,000 in predicting housing prices in cross-validation (cv = 3). There are m…
• Design a dictionary of your family. Once you get the printout update family  dictionary with your grandparents (maternal and paternal) including uncles and  aunts (maternal and paternal)
• 4 Testing your code When you run regex. py, nothing should happen. It defined variables, it does not define functions or run anything. If in another file you enter the following: import regex text = &…
• I need a python code for cleaning text in order to be prepared for topic modeling. Could you plaese help me how can I write a code to clean the text in python for make the text prepared for topic mode…
• I need output: In 1 year, the tuition will be 8240.0. In 2 year, the tuition will be 8487.2. In 3 year, the tuition will be 8741.816. In 4 year, the tuition will be 9004.07048. In 5 year, the tuition …
• 22 BREAKOUT ROOM ACTIVITY LAB: Lists, Sets, and Tuples   Learning Objectives This lab is about creating lists, sets, and tuples. Note, to convert something to list or set or tuple you can use the c…
• How can I make a recursive function called  convertToDecimal  that accepts a binary number (string type) and converts it to decimal. There is not need for error checking assuming. Assume that the ar…
• First of all, make sure your routine to load the sensor list and active sensor list, and your recursive_sort() function are all brought in to your project. The recursive_sort() function definition sh…
• Please solve this question in python, very quickly. from math import sin,cos,pi,atan a_614 = 6378137.0000 b_614 = 6356752.3141 def xyz2ell(x_614,y_614,z_614):       angle_614 = pi/180   longitu…
• What happens in a program if an if statement is false? (3 points)   An error message is returned, and the program crashes.   The block of code within it will be executed.   The block of code is ski…
• Your main program should prompt the user to provide a few words separated by spaces, then display the words the user input back on the screen and store them into a file. Then one more time display the…
• 14 LAB: Passwords, again   Learning objectives Create a function to match the specifications Use string concatenation to generate a new return value * Write a program to get the user input and call…
• # Multi-parameter function returning multiple values def calc_sales_tax(t_sales ) : # Calculate the county and state taxes # Return the county and state taxes # Multi-parameter function not returning …
• I need help with this problem. We are doing python. Question 1: Write a program that prompts the user to enter a password then prints the length of the password. Enter your password: hello Your passwo…
• ####### YOUR CODE HERE ###### #add the item tn the backpack ####### YOUR CODE HERE ######
• what Is the answer A function foo has been analyzed to run with O(n ) complexity to process a list of size n. Assuming this function takes 2 seconds to process a list of size 300, how many seconds wou…
• compare the two graphs generated (E_in of Training Data and Ridge 10-Fold Cross Validation on validation data), what are the differences between these two graphs? 2. Why the curves in E_in of Train…
• Implement the following algorithm from the slides in Python. You must use the exact same variables and exact same implemention used in the pseudocode for credit. Use the timing code given in class to …
• You have been asked to create a data table on the dashboard which shows an unfiltered view of the Austin Animal Center Outcomes data set. You have also been asked to add a geolocation chart to the das…
• A palindrome is a word or a phrase that is the same when read both forward and backward. Examples are: “bob,” “sees,” or “never odd or even” (ignoring spaces). a program whose input is a word or phras…
• Create Python class (Queue) that implements the queue data structure, described in the lectures. Instructions Your job is to implement the Queue class. Your class must support the following operations…
• (Python)Calculate the average of TotalCharges for customers that have churned. Count and print the following: number of customers in the dataset, number of customers that churned, number of customers …
• What is the other name of Caesar cipher? Also give the plain text.    A B C D E F G H I J K L M N O P Q R S T U V W X Y Z P MXZB QEB CFKXI(K +3) space IURQWLHU IRU(K -3) space ZVYBO PBZROFQV(K +3) …
• 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…
• What is the output for each of the segments of pseudocode? Place your answers below. Insert and complete a table to accompany each example, showing the steps through the loop and the output. The fi…
• So I’ve been working on scratch. this isn’t important for any specific course I’m on. I’m merely doing this for my own education and enthusiasm. I have a brown bear as my sprite. the specification I’m…
• Create your own Python code examples that demonstrate each of the following. Do not copy examples from the book or any other source. Try to be creative with your examples to demonstrate that you inven…
• Please just answer the question part 3 and part4 please !!!thanks In this part of the project (which will serve as our take-home midterm), you will 1) Set up a 3-node cluster and 2) perform data wareh…
• I need help 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 ask the user for a…
• Write a python program to generate personalized invitations for an event using a guest list and an event details In the event_details.txt it contains details about event: venue, date/time, dress code,…
• Election Let’s implement a game called Election. In this game, two players compete to try and earn the most votes. Both players start with 0 votes and 100 popularity. The two players alternate turns, …
• Question 1a: Write a function named qla ( ) that accepts one parameter, a String, which will be modified and evaluated as follows: 1. Convert the entire String to lower-case 2. Count the total number…
• Problem Description Given blocks of IPV4 CIDR addresses mapped to region name. Find which region does a given IP belongs to. For better information about how CIDR works. Please refer to the following …
• Write a python code that will sort all elements in any list that contains strings that have a combination of capital letters (A to Z), exclamation marks (!), and the superscript sign (^) using the fol…
• python code for the following using double linked list Create a student record management system The output looks like the following Press 1 ) to create a new record enter the following details for on…
• Filter the noisy image and segment the result using Python. The image can be found here: https://filetransfer.io/data-package/9CZxMGHC#link As you can see here the filtered image it’s containing some …
• You are going to write a program to compute a type of population balance problem similar to the bunnies and foxes you computed in Lab 3. This problem will have bears, berry fields, and tourists. We wi…
• Assuming variable i has been created with value 2, what does the Python code below output? def myf(s, n):    global i    print(s * i * n) myf(‘hi-‘, 3) Select one: a. hi-hi-hi-hi-hi-hi- b. hi-…
• This is a Python language homework assignment.  Please explain the code for each line.   Recording the work-from-home (WFH) status of each employee is only the first step to help companies manage an…
• First we need to copy, paste and save the file below as NumbersList.txt 11 12 21 22 23 31 32 33 34   Scale a Two Dimensional List We need to make a function called print_list(a), where a is a two dim…
• please help 1) Let’s say you have a list saved in a variable: c = [3, 6, 7, 24, 27, 32, 45, 66, 77, 86]. Write a Python function that takes this list c and makes a new list that has only the odd eleme…
• You are to write a function preprocess (sheet, k), where: Here is a more detailed exploration of how numbers should be grouped into quantiles. The figure below illustrates a case when a set of IV = 4 …
• . In: em Write a program that contains following functions: 1. Define function rand_generator( ) that generates a random integer number between 100—2000 and return it. 2. Define function check_odd…
• QUESTION 1 5 points Save Answ POS Tagging and NER: Given the following tagged sentence(s), identify the IO labels for each word. Rep. [PER Charles E. Hughes] of [GPE Sherman], sponsor of the bill, sai…
• Write function, findLinkedListStats(), to create and display the linked lists and the statistics (number of the data items, sum, mean, maximum and minimum) of each linked list of dataset. If the va…
• 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 meeting, becau…
• This assignment is based on Exercise 8.4 from your textbook. Each of the following Python functions is  supposed  to check whether its argument has any lowercase letters. For each function, describe…
• Write a Python program that helps its user explore a polygon shapefile. The program should first ask the user to provide the path to a polygon shapefile. If the shapefile does not contain polygons or …
• Answer the Following Questions Define the Clustering problem. Explain what is meant by it being an “unsupervised-learning” activity. What is the difference between Hierarchical vs Partitional Clusteri…
• Capture a five-digit US zip code as a user input. Print a numbered list (per the usual style) in which you use the OpenWeather API to answer the following ten questions related to the user-specified l…
• Please provide the code (with explanation) for Part 2 : def greedy_predictor(data, y) def equation(i, data, y) def least_squares_predictor(data, y) this is the life expentancy: Part 1: Univariate Regr…
• Write a Python program that defines and exercises four functions. • Function 1 (lists): Write a function that solves the following problem PARAMETERS: A list of integers and an integer x RETURNS: Th…
• Each line in the books.txt file contains an author name and a book title, separated by a hyphen (-) character as shown below: J.R.R. Tolkein-Lord of the Rings J.K. Rowling-Harry Potter and the Philoso…
• Web dashboard for Data Visualization using Python (Python Dash) Python Dash Activity, PART 2: Creating Bar chart, Line chart, Box plot and Heatmap with given datasets with Plotly Once you set up and t…
• Challenge of giving and receiving feedback in peer assessment
• Existing question but the answers in here are not correct. Starting from your who2 data frame, create a new tibble, who3, for which each ‘key’ value is split into three new variables: ‘type’, to hold …
• Your client is a meal delivery company that operates in multiple cities. They have various fulfillment centers in these cities for dispatching meal orders to their customers. The client wants to help …
• Can somebody help me with these 2 python programming questions ? I cant seem to understand the correct solution. exercise3.py Exercise 6: Di… x AWNH ###################################### #### # ## …
• I dont know what to do 3.25 Lab: Functions as arguments In Python, a function can be assigned to a variable and passed into another function as an argument. Consider the following function that execut…
• Ask the user to input 3 nouns and 3 adjectives . Then look for your favorite song lyrics (You may utilize the one shown in the sample output to save time). Replace the nouns and adjectives in the song…
• The Substitution Cipher A cipher is mirrored algorithm that allow phrases or messages to be obfuscated (i.e. “scrambled”). Ciphers were an early form of security used to send hidden messages from one …
• How to do I go about solving this Python question. This is how I started it: import numpy as np M = np.array([[0.8,0.1,0.05,0.05],[0,0.6,0.2,0.2],[0,0.2,0.7,0.1],[0,0,0,1.0]]) examenol = 0 metaboliteA…
• The mpg dataset contains the target mpg, and the following features: cylinders displacement acceleration model: the model year origin: where the vehicles were manufactured Plot the scatter plot mat…
• How do I Create a function for each math operation (add, div, mult, sub) 2) The application will run forever, you will ask the user to continue or not. 3) create a function IsinRange() to test a val…
• . takes a non-negative integer argument n and . prints all odd numbers strictly smaller than n in ascending order in one line but separated by a space. For example: Test Result odd numbers_below (6) 1…
• . Create a Python script ﬁle (named dictionary.py) that demonstrates the basic elements of checking and updating data in a Python Dictionary data structure. Create a properly named ﬁle which con…
• That is all   . It is often very useful to be able to smooth a time series to better display broad trends by averaging away the short-time variability. A simple, effective way of smoothing a time…
• Why are Booleans so hard! I do not understand what I am doing wrong. ol-input.py X 4. 3. Boolean… x D VOR UI A WN H it-140-conditional-statements 10 # Get our boolean values from the command line Co…
• Description   Context The stock market has consistently proven to be a good place to invest in and save for the future. There are a lot of compelling reasons to invest in stocks. It can help in fight…
• Write a function duplicate_link that takes in a linked list Ink and a value . duplicate_link will mutate Ink such that if there is a linked list node that has a first equal to value , that no…
• Topics: Pseudocode, Branching, for and while loop, Sequence, Basic 1/0 Problem description: Write a python application to simulate a online course platform. The purpose of this assignment is to gain e…
• Lab Goal :    This lab was designed to teach you how to use variables.   Lab Description :    Write a program that asks the user to input a numerator and denominator of a fraction. The program w…
• Question (4) (Total: 20 points) (a) (5 points) Look at the following assignment statements: value1 = 99 value2 = 45.9 value3 = 7.0 value4 = 7 value5 = ‘abc’ After these statements are executed, what i…
• A cashier distributes change using the maximum number of five-dollar bills, followed by one-dollar bills. Write a single statement that assigns num_ones with the number of distributed one-dollar bills…
• 3. 4. please help me with these questions. Restrictions: . may not use: if, def, try Must create and make use of a dictionary (may not use lists or tuples) Create a program that inputs a letter …
• integrate sql with python by importing the mysql module to search an employee using empno and if present in the table display the record , if not display appropriate message
• The following code produces a microscopic image of a bacteria that are overlapping shown below after the code &gt;&gt;&gt;import numpy as np &gt;&gt;&gt;import scipy as sp &gt;&gt;&gt;from scipy.ndima…
• Task: Need a python program. Call the following function twice by passing a tuple of int and tuple of float: def average(*args): return sum(args) / len(args)
• I need help making a simple Yahtzee program with PyQt5. There is the View, Model, and Controller. I need help with the View part. There should be layouts, widgets, etc. Python. Thanks.
• this csv for the data above can be found in this link https://iu.instructure.com/courses/2048187/files/133420424/download?wrap=1        . age weight height 22 44 5.1 24 50 5.2 26 55 5.3 28 58 5.4 …
• Turtle Graphics: Star Pattern Use a loop with the turtle graphics library to draw the design shown in Figure 4-14.
• #Design and code a structured into a Python program !!!!!!!!!!!!!!!!!!!!!!!!! # Making a Call from twilio.rest import Client account = “ACXXXXXXXXXXXXXXXXX” token = “YYYYYYYYYYYYYYYYYY” client = Clien…
• Scenario As you probably know, Sudoku is a number-placing puzzle played on a 9×9 board. The player has to fill the board in a very specific way: each row of the board must contain all digits from 0 to…
• Can you please help me with the PYTHON CODE for HORSEPOOL ALGORITHM  for string matching. The program has to take the input from the text file and it has to be inserted into an array, and the SEARCH …
• I need help with this java, along with it having to run on O(nlogn) only Chapter 12 – Programming Project: write a function that takes in two lists (A and B) as parameters, and an integer (sum). The f…
• Susun algoritma (program) untuk menginput 3 buah bilangan yang masing masing menyatakan panjanh sebuah segitiga. Kemudian priksa ketiga buah garis (sisi) tersebut bila ketiga buah garis (sisi) tersebu…
• Write a program that creates three classes; Circle, Square, and Cube. Each class will inherit an abstract class Geometry. For each subclass, provide methods accessor and mutator, method calculate_Area…
• You are playing a game of Minecraft with special rules. You are given a dictionary of the chest name and the number of diamonds in each chest. (You can assume the total number of diamonds will sum to …
• Python computations needed: Step 1:  Generate i.i.d. Sample (Y i ,X i ) n i=1 of sample size n=400 such that: Y i = 0.5 +1.5X i + U i And X i and U i are independent standard normal random variables…
• Multiclass Confusion Matrix In In 6. E6) Constructing a Mulﬁclass Confusion Matrix Next, write a version of this confusion matrix that generalizes to multi-class settings as shown in the ﬁgure bel…
• Add a new class named WaterType that inherits from Pokemon class. that takes ‘name’ as initial values, creates an instance of Pokemon with type as ‘water’ by default and stores the instance in a list …
• Using python 3 I need help displaying this code : 1. Insert your Program Comments. 2. Insert a line comment to identify each step, i.e.: # Step 3. Note: Iterate a string. for letter in sentence: 3. Fa…
• In this assignment, you will learn the basics of socket programming for UDP and TCP in Python. You will learn how to send and receive datagram packets using UDP sockets and TCP sockets. Throughout the…
• . 2.1 The code below creates a block-diagonal matrix with random non-zero values between 0 and 1, where all blocks have identical size. Study the following documentation sections: . scipy. linalg. b…
• can you help with these Problem 3: kFrequent Given a [possibly empty} Python list of integers and a non-negah’ve integer 1:, find the I: most frequent elements in the Python list using heap. Note: 0 i…
• [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…
• I need to fix those code in the attached solution file to make sure the programs run correctly without syntax. I also attached the text file. Please insert proper comment by  briefly explain why you …
• 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…
• How to Allow the program below restrict the book prices to a minimum \$100 using pyinputplus like: &gt;&gt;&gt; result = pyip.inputNum(greaterThan=0, lessTh…
• Can i get help with this question, Please? In python code do: 1) Ask the user to enter X numbers into a list. 2) Put those numbers into a list, and show the list. 3) Calculate and show the sum, averag…
• Write a class named HasamiShogiGame for playing an abstract board game called hasami shogi. We’ll be using the rules for ” Variant 1 ” on the Wikipedia page, including the diagram of the starting posi…
• This is computer problem 2 in the book (page 59). The following ciphertext was encrypted by a shift cipher: lcllewljazlnnzmvyiylhrmhza This assignment requires you to write three programs: 1. A progra…
• QUESTION 1 Which statement can be used to handle some of the run time errors in a program? an exception statementa try statementa try/except statementan exception handler statement    QUESTION 2 Wha…
• modified to process a list alist and element elt; note that elt may be a list  or something else. Declare the function def squeeze(alist,elt) such that it returns a copy of the original list alist wi…
• The data dictionary for hflights is given below.   For this assignment, please use the “hflights.csv” and the “us-airports.csv” datasets. This assignment covers working with Exploratory Data Analysis…
• This assessment contains materials that may be subject to copyright and other intellectual property rights. Modification, distribution or reposting of this document is strictly prohibited. Learners fo…
• The Reference Monitor Should: Create two copies of the same file (filename.a and filename.b) One is a valid backup to read from, and the other is written to When an app calls ABopenfile(), the method …
• We want to add a button to the tally counter in Section 9.2 that allows an operator to undo accidental button click. Provide a method def undo(self)  that simulates such a button. As an…
• Need help for below assignment. I have a DB file named sample.db,…   Need help for below assignment. I have a DB file named sample.db, let me know if you need me to see the file to you.   Introduc…
• Please help can’t figure out will rate! 1.23 Exercise: Suppose you are g two lists like [-5, 2, 4, —9, 12, 13, —3o, —21, —201 [2, —9, 11, 16, 13] A 13 Notice that some elements of A (like 2)…
• help please  . from typing import TextIO, Dict, List def get_game_dict (game_data: TextIO) -&gt; Dict[str, List[int]]: Return a dictionary containing the team name and a list of points earned in each…
• 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.
• Activity 1 Level of difficulty Medium Objectives improving the student’s skills in operating with files (reading) using data collections for counting numerous data. Scenario A text file contains some …
• Hi i need some help to fix my bash script to go with instruction bellow: 1) Your RULE host is configured to use itself as a DNS server 2) BIND Server is correctly configured to accept dynamic update r…
• Load the MNIST dataset and split it into a training set and a test set (take the first 60,000 instances for training, and the remaining 10,000 for testing).
• Lab Assignment #5 – Apply LSTM algorithm to make future predictions using time series data     Purpose: The purpose of this Lab assignment is to: Build LSTM models to make future predictions using …
• when i input the python code the output comes out difference result. Online Python Compiler. Code, Compile, Run and Debug python program online. Write your code in this editor and press &quot;Run&quot…
• Description Remember from Lab 2C that Mad Libs are activities that have a person provide various words, which are then used to complete a short story in unexpected (and hopefully funny) ways. Extend y…
• . Safari File Edit View History Bookmarks Window Help Q 8 0 Fri 21 Jan 11:22 .. . &lt; &gt; learn-eu-central-1-prod-fleet01-xythos.content.blackboardcdn.com C 88 Economics – Google Docs B https://le…
• Help write the functions and call them using a main function Function name: sim_dice Parameters:None Return:A dictionary with 6 elements: keys are integers 1 to 6, values are corresponding number of o…
• compose a program that counts the total number of vowels in the following string? “Jingle bells, jingle bells Jingle all the way Oh! what fun it is to ride In a one horse open sleigh, hey JINGLE BELLS…
• A sleep dept represents the difference between a person’s  desirable and actual amount of sleep. write a program that prompts the user to enter how many hours they slept each day over a period of 7 d…
• Pointillism is the name of a painting technique where patterns of coloured dots are used to form the coloured regions of animage. For this assignment, you will practice with looping control structures…
• ..i have to design a python code for this number game with atleast 3-4 lines of explanation ( number of brother(s) x 2 + 3 x 5 + number of sister(s) ) x 10 + number of grandparent(s) alive – 150……
• Hi, I’m quite stuck with a programming assignment / homework that I have and would really like some guidance on it. This is what I have to code: def get_move_hint(state: str, section_num: int) -&gt;st…
• Generate a Poisson distribution r1 of 8 numbers with a user input mean, lam. Generate a Poisson distribution r2 of 20 numbers with a mean of lam. Generate a Poisson distribution r3 of 100 numbers with…
• Python program:   Write a detailed algorithm and a program that plays the ancient Chinese game of NIM. Actually, this is a simplified version of the original game. In this game, the person who runs …
• The dataset given is about the Health and economic conditions in different States of a country. The Group States based on how similar their situation is, so as to provide these groups to the governmen…
• Objective of this Assignment The goal of this assignment is to learn two, very important topics in deep learning. Data Invariance and Building Robust Models Transfer Learning Data Invariance and Build…
• Simple program .py client/server program that can perform open/SSL connection allowing data transfer (such as “hello python coder” message). Along with generic certificates server_cert.pem &amp; serve…
• Can you please with coding question in Python ? Thank you. import matplotlib.pyp’l.ot as plt import seaborn as sns sns.set_sty1e(&quot;whitegrid&quot;) Questions 1-3: Resource Allocation Problem You a…
• can someone help me to check this code: def write_students():    outfile = open(“students.txt”,’w’)    student_name= input(“Enter student name;enter quit to stop: “)    while student_name!= ‘…
• Most Frequent Character Write a program that lets the user enter a string and displays the character that appears most frequently in the string. please provide comments in the code and a separate expl…
• Complete the following using Python and your chosen IDE. Take screenshots of the code and its output. Part 1: Capture Network Traffic Write Python code that captures activity your computer network and…
• 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 create programs (in the case of Python…
• The following 3 screen shots are my preivous homework:   Now, the current homework is asking me to rewrite the functions using ” list ” representation. Examples are shwon in the following scree…
• We learned that Python classes can only have a single constructor. Similarly, we also learned that Python method names must be unique. However, with the right syntax using default parameters, we can c…
• A  triangular number  is a number that is the sum of the integers from 1 to some integer n. Thus 1 is a triangular number because it’s the sum of the integers from 1 to 1; 6 is a triangular number b…
• Perform a two-way ANOVA based on the Education and Occupation (along with their interaction Education*Occupation) with the variable ‘Salary’. State the null and alternative hypotheses and state your r…
• Given an input number n, print the multiplication table, as shown in the examples. For example: Test Input Result 1 1*1=1 2 2 1*1=1 2*1=2 2*2=4
• Python Language Question 1 (1 point) Dividing two integer or two float values representing the same numbers always produces the same result. Question 2 (1 point) Variables in Python: 0 store data 0 re…
• For your project, you should create a concept for a small application that has at least 4 options plus Exit. For Example, A student may want to create version of an automated ATM Machine with the bel…
• Find the best curve that fits the data points from the equation below, with the best fit coeffints ([w]) and interception(b). 𝑦=−0.5+2.2×𝑥+0.3×𝑥3+2×𝑁 N = 100 random numbers that follo…
• Function in Python which removes a set of common words from a long piece of text. Be sure to strip out any punctuation. The common words to be removed are:                      ?…
• Discussion Topic: Lists or Dictionaries? In this module, you are working with lists and dictionaries. Consider the following scenario before you make your initial post. Lists and dictionaries in Pytho…
• Write a program that calculates a bearing and distance from 2 sets of UTM coordinates.
• PYthon please. performed in the following way:&quot; Python 3 v . Autocomplete Ready 1. Choose a contiguous segment of a certain number of computers, starting from the beginning of the row. 1 &gt; #1/…
• In the AVL implementation, each node stores the height of its subtree. An alternative solution is storing the balance factor of a node, which is defined as the height of its left subtree minus the hei…
• 1, Describe how  catching exceptions  can help with  file errors . Write three Python examples that actually generate file errors on your computer and catch the errors with try: except: blocks. I…
• Please help with edit a function that is called transform_flip. This function will take three arguments. The first two are lng and lat that are the longitude and latitude (in degrees) of a point, resp…
• give ne answer very fast as soon as possible…but i want full answer. Quiz 5 and 6 Pick an object around you and create a class out of it (except the one I did in the class) -plan your class (Name, P…
• 11 LAB: Input and formatted output: Right-facing arrow   Given input characters for an arrow body and arrowhead, follow the TODO comments to complete the program that prints a right-facing arrow. E…
• Please assist with part C at the bottom for python 2.7 Consider the following program incrementingThreads . py which creates a user specified number of Incrementing Thread objects, and starts them run…
• Please Get To Me As Soon As Possible! 10. Build a graph of the number of incidents by months. Start by creating a new data field ‘yyyymm’ using datetime.strftime instance method. Then group by ‘agency…
• PLEASE HELP ME WITH THE WHOLE ACTIVITY 3 . IT IS A PYTHON PROGRAMME QUESTION USE Bivariate Barplots Activity 1: Import Modules and Read Data Make a Pandas DataFrame using the below link which has the …
• Need help on part c and d please: Solutions so far: frog data looks like this: Dara can be downloaded from the link below: 1drv.ms/u/s!AsRaombgB_femQjCBGKQNyixTXtv?e=xQloNi
• I’m having trouble defining this function, while paying respect to the guidelines. I cannot use loops, and I HAVE to use recursion. How would I go about defining the function? I have to run this throu…
• . 1.4 Exercise 2 (4 Points): For our analysis, we are interested in the nutritional content and ingredients contained in each food. Additionally we would like to group foods by the categories given….
• Your task is to implement a recursive descent parser to recognize and evaluate simple expressions. You will start with the program pluto1.py and extend it to a Pluto 2.0 version that will include su…
• I need to verify that my Movie class code can handle keys meaning that it accepts None properly. This is my code for the Movie class. I know that I need to make changes for __init__ and __str__ but I …
• Please Help somebody Using Pytorch , Deep Learning  In this task, we’ll use CNN to detect emotion from text. The dataset is taken from https://www.kaggle.com/datasets/ishantjuyal/emotions-in-text . T…
• Just say which options is true def fun(num): def main() print(fun(25)) Considering the code above, which of the following statements is suitable to fill in the blank? Select one: O a. return &quot;num…
• def larger_than_average(input_list):   “””Finds all numbers in input_list greater than the running average   Arguments:    input_list (list): list of numbers     Returns:    A list of all the …
• he “Data Visualization with ggplot2” cheat sheet is a great resource. Find it, either through the navigation options in RStudio or on the internet. What are the six geoms described on the ggplot2 chea…
• In python, how do I write the sum of each column (with 4 rows as variables)?
• Provide a list of all agent full names (as “AgentName”) and the engagement dates they booked (start and end) for any engagements that took place at least partially during the month of January 2018, so…
• . Write a function sublist_of_sum (Ist, x); that returns the first sublist of Ist that sums exactly to x. Otherwise, it should return None if no such sublist exists. Function header: sublist_of_sum …
• I having trouble with loops in python i was wondering if someone can explain.
• Program will be named distribute_race_awards_with_dictionary. This program performs a simple lookup based upon integer input provided by the user at the console.  When this program is run, console se…
• Data structure You have to implement the graph by applying a dictionary data structure to hold the vertices and edges in the form of key: value pairs SharedData This class consists of function s that …
• Python Programming  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 in the comment section ab…
• import matplotlib.pyplot as plt def read_students (filename) : “”” Reads the student records from the given CSV file. Returns four dictionaries: 1. the key is the ID and the values are individual stud…
• Using Tkinter and Python invoke the OpenWeather Web Service to get the Weather for any city specified in an Input box.  You can use any Python GUI system you wish such as pyQT, https://www.pythonguis…
• My task is to write a function that returns True if and only if its string argument contains no digits. The program should allow the user to test the function over and over in a loop. I’ve tried and t…
• Hi, this is related to this link: https://www.coursehero.com/file/38339402/Week-1-Mean-Covariance-of-a-data-set-and-effect-of-linear-transformationpdf/#/related This course is delivered by coursera, w…
• What would the python code be to add to predetermined lists together and then calculate correlation coefficient of these two lists    The lists are called Visits and Spending    Thanks
• This is an issue I’m trying to find the right answer for! any help? I have done my best and it’s not working correctly for me! that’s all of the information’s i have received READ The parts are Backgr…
• Download the iris dataset. Ensure that the downloaded CSV file has 151 rows and 5 columns, and the last column presents the iris flower type: Setosa, Viginica or Versicolor.   a) Write a script that …
• 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…
• File: Please only print the email address. Python has to be used to solve the question. Thank you, Prof. FANG Yulin – Notepad File Edit Format View Help Email : ylfang@cityu. edu.hk Tel : +852 3442749…
• Create a program for a bar which determines whether a person is allowed or not allowed to enter. Only ages 18 and above are allowed to enter the bar. The program asks for the age of the person, then e…
• a 1! (Email I front~end6tlntemet.. ‘ ‘wl’l’here were a large number of orders left placed on Amazon Prime Day. The ord. are packed and are at the warehouse ready to be delivered. The delivery age need…
• Given that play_list has been defined to be a list, write an expression that evaluates to a new list containing the elements at index 0 through index 4 play_list. Do not modify play_list.
• Question 1 : Consider a 256K x 64 DRAM chip. (a)   Determine the parameter ? and ? of the chip, respectively. (b)   Determine the capacity of the chip (in Mb). (c)   Determine the number of b…
• Write a Jupyter Notebook to find the 9991th to 10000th prime numbers. Display the numbers to the notebook Output the numbers to a data file called prime.txt. Demonstrate that you used “continue” an…
• def tail (*iterables) : pass 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…
• This is my assignment we were given and for some reason i am having such a hard timer understanding this. Currently I have this: def grammar_string(iterations): ‘Will construct a string using a gramma…
• Suppose you are building a Python application for storing the names, birthdates, and addresses of members of an extended family. Describe the strategy that you would use in order to determine the data…
• “” File: RPB.py Author: [Your name] Description: This program reads poem files and creates three new versions of the poems. Please run this program by pressing F5 and typing: main() in the shell. You …
• Given the code below: def foo(a, b=[1]): if a &lt;= 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])   Determine: 1. The recurrence relation when a &gt;…
• Debugging needed for this   // This pseudocode should create a report that contains an // apartment complex rental agent’s commission. The // program accepts the ID number and name of the agent who /…
• 1)Describe how  catching exceptions  can help with  file errors . 2)Write three Python examples that actually generate file errors on your computer and catch the errors with try: except: blocks. …
• . Question 1: [25% * 3 questions] For each question below create a module that answers the question, considering appropriate inputs, outputs, and modular design ideas. Perform no input or output in …
• check picture for questions… thanks python programming Q. 5. Write a program that replaces words in the sentence &quot;I like to go dancing in the rain, but rain should not be too heavy&quot; such a…
• 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…
• Write the Algorithm, Pseudocode, Flowchart for the following programming problems. Pseudocode and flowchart must be modularized.  Python code is optional for this question, not graded.   Prompt for …
• I get stuck in 6.2 and 6.3, could you give me some simple suggestion. I just learnt for…in … and break function. Thanks. 6.2) Write a program that can repeat the above diagram for x number of rows…
• i want to to write the code here to be easy to copy and i want a screen shots of the input and the output In python program 2.1 Assignment 1 Write a Python program with the following 10 functions. Sol…
• Find the conditional probability of intent to graduate, given that the student is a male. Find the conditional probability of intent to graduate, given that the student is a female. 2.2.4. Fin…
• Develop a security system that works with the key “five jugs”. Let the given string be “Python” and the key be “five jugs”. Abcdefghiklmnopqrstuvwxyz Fivejugsabcdhklmnopqrtwxyz so as per the above map…
• Please provide R code for each Question. Congratulations! You have graduated from college and are starting your first job. Financial experts advise everyone to start saving for retirement as soon as p…
• PYTHON MODULE 8 TargetCRM is a CRM software company that is currently looking for a way to improve the architecture of its solution. The software sends emails to registered users every week and today …
• Write program that inputs a text file. The program should print the unique words in the file in alphabetical order. An example file along with the correct output is shown below: example.txt Enter the …
• 14 LAB: Warm up: Creating passwords   (1) Prompt the user to enter two words and a number, storing each into separate variables. Then, output those three values on a single line separated by a spac…
• Find the last two bytes of the partial AES-128 CMAC key below (computed using the sample code found in https://cryptography.io/en/latest/hazmat/primitives/mac/cmac/ (Links to an external site.)). The …
• CSV filename SalesJan2009 “1/2/2009 6:17″,”Product1″,”1200″,”Mastercard”,”carolina”,”Basildon”,”England”,”United Kingdom” “1/2/2009 4:53″,”Product1″,”1200″,”Visa”,”Betina”,”Parkville”,”MO”,”United Sta…
• PYTHON CODE PLEASE   Use this number as input   9998887777   num = input() num1 = tuple(num)  print(“Tupple:”,num1)   ## Please use this tuple for the solution   Expected Output Tupple: (‘9’, ‘9…
• please make a bar graph or line graph with this data  file link: https://vitacin-my.sharepoint.com/:x:/g/personal/srikar_2020_vitstudent_ac_in/ES44U3gzPO9Ahlz-qKWCDbMB6wc7hPLSrBpPcBUg5wDHXw
• Generate a random array of size 25 with values between [0.1, 0.5]   the output should look like this: array([0.1094686 , 0.18238319, 0.19112895, 0.30773101, 0.25541584,       0.20806896, 0.1106787…
• having a problem with my code for this question. H learn.zyhooks.ccm C- l 0 m El—I 0 This webpage is using signiﬁcant memory. Closing it may improve the responsiveness of your Mac. My library &gt;…
• I have a function named  words_starting_with  that accepts a string as an argument. The function returns a dictionary whose keys are the unique first letter of each word in the string and whose asso…
• 1) (2pts) Compute the decimal value of the byte  10111010  if it is interpreted as an unsigned integer: 2.2) (2 pts) If  10111010  is interpreted as a signed 2’s complement integer, what is its …
• def sales(): # List of sales salesperson = [] # List of amount sold by each user amount = [] total = 0 # Request the usr to enter the number of sales wish to enter num_sales = int(input(“Number of Sal…
• I need help with code as I working a problem in SQL. The question ask Find the best collaborators. Get the 5 cast members with the highest average scores from the good_collaborationview, and call this…
• Problem Definitions In this PD, we’re simply adding data validation (using regex) and database access to our PD3 work. We’re using the same class diagram from PD3.  Ensure that you have the module My…
• ∑ = {C,A,G,T}, L = {  w : |w| = m, m ≥ 4 }.  That is, L consists of all m-length strings over the genetic alphabet. (Note that for a string  w , | w | is the length of w. For example, |CGT| = …
• Using a loop draw this pattern in turtle module. Hint , Think about the repeating element that makes of this image it probably looks a lot like what you draw on the sidewalk if you wanted to play four…
• ”’ Breadth First and Depth First Search The objective is to make a Python program that traverses graphs in BFS and DFS manner. BFS will determine the shortest path distance (number of edges) from the…
• load all 3526 stars into a dictionary. The HD number should be used as the  key, and all of the other fields should be packed into a tuple and used as the value. The alternate  names for a star shou…
• tally votes (candidates, votes) : Print the results showing each candidate with the number of votes they received. Each vote in the votes list that matches a candidate’s position in the candidates lis…
• My third assignment involves writing a Python program to compute the cost of carpeting a room. Your program should prompt the user for the width and height in feet of the room and the quality of carpe…
• PYTHON CODE PLEASE   Write a 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 “Done”, “done”, or “d” for the l…
• This program has 8 options.  The first number entered by the user indicates the option the user is selecting. Every option inputs a phrase from the user.  The output depends on the option the user s…
• USING PYTHON DATA SCIENCE IMPORT SYS AND ARGV MUST BE USED IMPORT SYS AND ARGV MUST BE USED IMPORT SYS AND ARGV MUST BE USED   Create a program that takes a Celsius temperature and converts it to Fah…
• Please code a solution to the attached question in CPLEX. This project considers the problem of scheduling the arrivals and departures of vertical take-off and landing aircraft (VTOL) at an urban airp…
• Problem 2 In this problem, we will use what we’ve done in the previous 2 problems and the previous labs to make a simple inventory system that maintains its results in the file system. Copy the provid…
• Hello, Can I get assistance with how to code the following 5 steps in Python? Thanks for your help! import pandas_datareader.data as wb import datetime as date #Step 1: Remotely Download “Treasury Con…
• create a tuple called it “fruit” which has the following elements “apple”, “pear”, “grape”, “orange”, and “cherry”. Now, return the length of this fruit tuple. Also using the slicing method, how would…
• Python using QT Designer We are required to develop a single screen application. • To display two calendars (Today Calendar and Next Holiday Calendar). • The Today Calendar must show today’s date….
• this is a due assignment but didn’t get it right and would like to see the right solution for it. Write a program with 2 functions. It asks the user to enter a file name. Then it calls the two functio…
• 2016 customers are from A4:A96 2017 customers are from B4:B105 1. There are two lists of customers: those who bought products last year (2016) and those who bought products this year (2017). Each of t…
• There is a famous puzzle intended to demonstrate the surprising growth of exponential sequences, sometimes called the “Wheat and chessboard problem.” If a chessboard were to have wheat placed upon eac…
• Write a program to identify from a group of “x” clients, how many are of legal age (&gt; = 18 years), how many foreigners, and how many locals.
• pls help me Suppose a reactor normally contains 12 units of dissolved oxygen in a ﬁxed volume of water. Suppose at t = 0 (minute) a quantity of organic waste is introduced, then the oxygen concentra…
• Describe how lazy lists, which have possibly infinite length, can be implemented in ML. Illustrate your answer by presenting a function that accepts one (or more) lazy lists and produces another laz…
• write a program that parses the testProgram string and any other programs that has functions calling each other. The program needs to print out? write a program that parses the testProgram string and …
• Please help implement this function. Thank you. Tools Education Terminal funcs.py X 25 Precondition: adict is dictionary mapping strings to ints Collapse ) E1: Designing Immutable Functions on Diction…
• In this lab assignment, students will demonstrate the abilities to: – design objects – define classes – (create) and use objects – control accessibility to class members PLEASE NO BREAK STATEMENTS OR …
• What is the goal of “unit testing”? a)Tests if the result of a function has the correct units b)Tests your program using test cases of “unit scope” c)Test each function separately d)Uses a suite of…
• Define the method Perceptron.fit(self, X, Y, num_iter = 100) satisfying the following criteria: • Takes parameter X which is an iterable of input samples (each being a list or tuple) • Take parame…
• Page 9 of 11 Task 7 D Create the function orderByLength which accepts a 1D list of Strings and returns a new list in which the Strings are ordered by their length. 0 2 3 0 2 3 Hello’ Hi’ ‘Bye’ &quot;l…
• Consider the loop from Section 8.3 of your textbook. prefixes = ‘JKLMNOPQ’ suffix = ‘ack’ for letter in prefixes:    print(letter + suffix) Put this code into a Python script and run it. Notice …
• Hello I am having trouble with coding this assignment on Python. In the google drive link below is what I currently have but it does not seem to work: Can someone please help? Thank you: main.py: http…
• i need a program that asks the user to enter a number of seconds and then prints the same amount of time in days, hours, minutes, and seconds. For example, 3667 seconds is equivalent to 0 days, 1 hour…
• Answer: 3. Write program that reads two numbers and multiplies them together and print out their product
• Hello, I need some help with cartesian product of string elements. My goal is to expand my table from 14 rows to 28 rows by adding the list “opportunity type” To the my “Theater_Area” dataframe. My is…
• . Fill in the blank using the words below. (Analysing your material/Executive Summary/Findings/Gathering and selecting information/Introduction/Organising your materia|/Presentation/Reviewing and re…
• Output the following figure with asterisks. Do not add spaces after the last character in each line. ***** * * ***** * * ***** Note: Whitespace (blank spaces / blank lines) matters; make sure your whi…
• Question 1: create dice game that look like below one and provide sample execution output: Enter your name please: John Your Turn Rolling the die. . . Computer’s Turn Rolling the die Ah! It’s a dr…
• python code plz csv: https://drive.google.com/file/d/1EuVYpYk6fvKhZ1knVZal86oMFu5d3Kht/view?usp=sharing. In this problem, you will simulate the cross-warehouse-transshipment solutions when a random wa…
• 2 PARTS: PART A: Define a class Point, where one object of class Point represents a point in the (x, y) plane. Define appropriate instance variables and the following instance methods: • __init__() …
• A function def drawBisected(size): that draws the following figure. You must use repetition(s) to solve this – you may NOT use cut and paste code repetition &gt;&gt;&gt; drawBisected(100)
• Maze Introduction A n×n maze is a collection of paths among interconnected cells in a grid, where n is the number of rows and/or the number of columns. The classic maze path-finding problem tries to …
• 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…
• What would be a bash script that reads in a txt file from the command line containing text and a number and then create an output file which would contain “the text/n” that number of times.    For e…
• An explanation for HW5 part 1.   The link contains the hw5_util, example outputs, and the hw5_grids.   https://www.dropbox.com/s/fqs3tb0v4heigqy/hw5_files.zip?dl=0. Overview Many problems in …
• deeval Implement deeval, which takes in an integer num and another integer k and returns the number of ways to make an expression of the form (_ k (_ k-1 … (_ 1 0)))), where each _ is either + or…
• Implement a radix sorting machine. A radix sort for base 10 integers is a mechanical sorting technique that utilizes a collection of bins, one main bin and 10 digit bins. Each bin acts like a queue an…
• . . . Click me Circles remaining: 10 Click the circles! O O Task 3: The main function Part 2-Adding the Program Control Loop In the main function, add the necessary commands to complete the followin…
• What will the following program print, assuming that the user enters a value of 25 when prompted?   try:     value = input(‘Enter your score out of 50: ‘)     percentage = value / 50 * 100   ?…
• function named babynames, that takes in as input a CSV file of popular baby names in a given year. The and returns a dictionary whose key is the first letter of the baby. The value is a set of all the…
• program that uses a two-dimensional list to store the highest and lowest temperatures for each month of the year. The program should output the average high, average low, and highest and lowest temper…
• How come you find out if a linked-list is a cycle or not?
• Out of these choices which one(s) are the correct ones. Thanks.
• 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 by comma…
• Write a Python program that:  Asks for a file name with directory: Opens the file. Reads the file. Parses the file and extracts data as pairs of : The date, and the datum for that date that you were …
• Programming Assignment: Homework 4 – Online Banking System. Penn Engineering ONLINE LEARNING Introduction to Python Programming Homework 4: Online Banking System
• please use python or Matlab. Doesn’t have to be perfect, just try your best.
• Can you please explain the code and the output too.. thank you. What will the following code print out? Write your answer to exactly match the format in which the output will be displayed. def proc(X,…
• Please read the question and submit the answer in a  Raptor File. Question: Design a payroll program that prompts the user to Enter an employee’s hourly pay rate and the number of hours worked. Valid…
• Consider the following sequence 5,4,3,2,1,0. Choose the option that shows the after completing the first iteration of QuickSort seen in class with 3 as the pivot 0,1,2,3,4,5 2,1,0,3,4,5 2,1,0,3,5,4 0,…
• This question comprise of a Lab with its instructions. # binarySearchIterative.py def binarySearch(alist, item): first = 0 last = len(alist)-1 found = False while first&lt;=last and not found: midpoin…
• Need help with this code? . if income = \$150,000, the first \$10,000 that fall in the tax bracket [0, 10000] would be taxed at 0%, . the next \$30,000 that fall in the tax bracket (10000, 40000] would b…
• If you download the given document in the attachments, you will find following files: •  GirlNames.txt – -This file contains a list of the 200 most popular names given to girls born in the United S…
• Write Python functions for the following operations of DLL and CLL  :  (5) a. To create a DLL and CLL nodes               b. To insert a new node at specific position c. To delete a node at a…
• this is a non-graded assignment Please give me the Python 3 code that solves the following problem: #Helping us develop this class are a team of teaching #assistants, often called TAs for short. # #Wr…
• MODULES/PACKAGES: You may NOT use any Python packages other than random, math and  copy. However, you may use any Python packages you wish as a check of your answer, but they should  not be a part o…
• In Python programming, what would be the following code: Exception Handing Modify the program that you wrote for Exercise 1 so it handles the following exceptions: • It should handle any IOError exc…
• truncated = truncate_texts(texts,2) vocab = get_vocabulary(truncated) for n in [1,2,3]:   print(f’Order {n} LM:’)   lm = UnknownLM(texts,n,vocabulary)     print(‘ ‘.join(lm.generate_t…
• The test for matrix mult are as follows with the 2 parameters m1, m2:. (def test_q3_matrixmult() : WWWWwWWww m1 = [[2, 3, 4], [7, 8, 9]] m2 = [[1, 0], [3, 6], [8, 2]] assert py_cw. matrixmult (m1, m2)…
• Example Write pseudo code that performs the following: accept two numbers from the keyboard and calculate the sum and product displaying the answer on the monitor screen. Use variables sum, product, n…
• You will write program that allows a manager to query car data to provide information about: A specific car and a specific action Aggregate information about an action across all cars (e.g., the total…
• I don’t know when I ran the code is not the same as the ouput.       def main():        print(“Table 2″)        print(”)        courses = [‘CS152 Introduction to Python Programming21’,…
• Scenario Given the following challenges, use append(), extend(), pop(), and insert()to change the contents of the lists. Aim The aim of this activity is to get acquainted with list methods by utilizin…
• “””Week 4 Perform – Part 2″”” # Complete the following steps: #  (1) Complete the following function according to its docstring. #  (2) Save your file after you make changes, and then run the file b…
• Practice With If-Statements,  Part 1: Code a Solution  Complete an application program to determine if a customer is eligible to go on an amusement park ride or not, and if so, how much the ticket w…
• I need assistance in creating a program using Flowgorithm to calculate the areas of two different rectangles and then determine which is greater or if the areas are the same. I also need assistance in…
• Given a dictionaryd, create a new dictionary that reverses the keys and values ofd. Thus, the keys ofdbecome the values of the new dictionary and the values ofdbecome the keys of the new dictionary. Y…
• Getting error: ‘numpy.float64’ object does not support item assignment. Can someone please provide the output for this and suggest whats wrong with code?. # solve_diode_v(Vd, V, R, n, T, IS) Is = area…
• Part C Example 1: Please enter a date of form mm/dd/yyyy: 03/22/2018 March 22, 2018 Part C Example 2: Please enter a date of form mm/dd/yyyy: 03/22 Invalid date format Part C Example 3: Please enter a…
• This revision question is hard can you help. The program must follow this order . Wrapped in a tryfexcept block, attempt to open the file “information.txt&quot;. Print out that the file is not found…
• Not sure how to use recursion correctly for this. Draw the following fractal shape with recursion, Python and Turtle. (It have to a right triangle with the same orientation)
• Create a Python program using custom defined function that will simulate execute the following statement. Get the numbers of vowels on a given string Check if the given string is palindrome (incase se…
• What is the output of str(100) + 10 ? * 1 point 110 10010 Error None of the above
• 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 …
• Python program to do the following: (a) Ask the user to enter as many integers from 1 to 10 as he/she wants. Store the integers in a list. Every time after the user has entered an integer, use a yes/…
• The file and the example and reference are in this link: https://files.fm/u/4xtm549yt. Problem Introduction There are many software systems for analyzing the style and sophistication of written tex…
• Use elif,else and if needed. 9. Implement the following function in the PyDev module functions . py and test it from a PyDev module named to9. py: def wind_speed (speed) : description Use: category = …
• Modify your program from 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 dictionary item as a text string…
• In Python programming, write the following code: Average of Numbers. Assume a file containing a series of integers is named numbers.txt and exists on the computer’s disk. Write a program that calculat…
• I want to make a chess game from scratch using python without any imports. I want to see if it can be built without any imports just by using lists. And it checks to see if any moves were made or any …
• Create a python application that inputs, processes, and stores student data ( You may use menu-driven programming ) asking the user to input the file name and check if this file exists. asking the use…
• A Python function, called sequenceMax, that takes a list of number and that return the length of the longest sequence of consecutive elements equal. Return 1 if there is no sequence. In the main pa…
• # Please help me to check my code for this error: # TypeError: unsupported operand type(s) for -: ‘NoneType’ and ‘float’ # There is also an assertion error if neighbors,split is not defined in the # d…
• In this question, you are going to implement an artificial intelligence (AI) vs. human version of Notakto. The AI will be the Player 1, i.e., the AI will always start. Here the AI means that the move …
• Write a program that reads a file (prompt user for the input file name) containing two columns of integers. Print the sum of each column. Use a loop to read the data from the file.  Use the followi…
• Type Calories Sodium Beef 186 495 Beef 181 477 Beef 176 425 Beef 149 322 Beef 184 482 Beef 190 587 Beef 158 370 Beef 139 322 Beef 175 479 Beef 148 375 Beef 152 330 Beef 111 300 Beef 141 386 Beef 153 4…
• # 1 Jake’s monthly expenditure is given below. Draw a pie chart and explode the wedge with highest cost Item Expenditure Food 15 Clothing 10 Rent 40 Education 25 Unforseen Events 5 Medicine 5   # 2 I…
• Define a function is_prime that receives an integer argument and returns true if the argument is a prime number and otherwise returns false. (An integer is prime if it is greater than 1 and cannot b…
• Tokens/Scanning   The original code works as is, but instead of having the user type in a string, I would like for them to be able to search a file to be tokenized such as read.py. (Please try enteri…
• Hello I am working on python programming and unfortunately I am very confused on our third homework and I need help!
• 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…
• GEOSPATIAL DATA ANALYSIS WITH PYTHON  a) Import any shapefile into Python interface (Jupyter NoteBook) b) read the Dataset print the columns. c) Print any one column using Python query d) Observe Geo…
• 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 …
• I’m using https://academy.cs.cmu Sandbox (sandbox uses python language) in the python language and I want you to create an animal using the python code. will you able to able to develop any animal cod…
• using python making dictionary by reading the file provide on the right
• Can anyone help finshing the code: I want scrap Title of the book, Author, Publication date , and rating. Put in the data csv file. import requests from bs4 import BeautifulSoup import csv import time…
• 17 LAB: Line charts Write a program that subsets the loads and subsets the stock market data in target.CSV. Load the the data from target.csv as target. . Create a new data frame, tot_march, by subs…
• Which Python package do you have to import in order to read files? a. Numpy b .Pandas c .Matplotlib d. Seabom 2. What function do you use if you want summary statistics for a dataset? a. dataset.hea…
• Please make any project that you want can be Number Guessing Game, Simple Calculator , Tic tac to game , Making a Deck of Playing Cards, Checking Validity of Password etc. it can be any project, but n…
• This is sports data analysis with python class. One way to judge a basketball lineup is to determine the point differential when that particular combination of players is in the game – in other word…
• Please look at the DieRollExample FIRST, THEN USE PYTHON TO SOLVE THE FOLLOWING QUESTION! import random #I roll dice. I don’t care if it is for the console #or for a fancy smancy GUI. #I only roll a s…
• Write a function called printList that will print a list of every 24th number between two values, inclusively .  The function takes two integer parameters, the start value, and end value. Thus, the l…
• Need help with this hacker rank code. Needs to pass all of the test cases. And also hacker rank wants the same output. With the code given in the problem. Thank you.. 8 Compound Interest Problem Submi…
• please help me find the answer! Question 5 1 pts What does the Python code below output to the Python console? import numpy as np array = np . arange(3) array2=array [ 1 : ] array2 [0 ]=10 print (arra…
• Code to take an integer n and use a for loop to return the sum of the first n positive odd integers. Code to take a positive integer n and use for loop to return the largest power of 2 that is less th…
• “Download the csv file named diabetes.csv by clicking the following  link:   https://www.dropbox.com/s/ujkgm8yxyhkxydx/diabetes.csv?dl=0 Write a script in python (you can use any IDE)  to load the…
• I want to know how to use function to return the total number of vowel letters and consonant letters in the word. such as, when I input a word, James. it could return 2, 3 (2 vowels letter sand 3 cons…
• Write a functionmake_covariance(ratio, rotation)to build a covariance matrix.The covariance matrix is constructed byspecifying 2 parameters: aratiobetween the two main directions of variability (if th…
• using python how do I ask the user to input Fasta file and have program read the Sequence in Fasta file
• client server development. Overview As you have learned, CRUD functionality is essential for interacting with databases. In Module Two. you gained practice using CRUD commands within the mongo shell. …
• answer like this  let me know what part you get stuck on specifically so i know how to respond back, thanks!. OPS245 Winter 2022 Assignment 1 instructions for TaamerFaruk Install a new Centos 7 VM in…
• Prime Numbers Prime numbers are used heavily in mathematics for many types of problems. Identifying prime numbers is a common issue in many algorithms. A prime number is a number that is only evenly d…
• Hi 🙂 I am attempting to replace words in a sentence. The input beginw with word replacement pairs (original and replacement). The next line of input is the sentence where any word on the original lis…
• This is a data set of PL spectra of CdSe quantum dots. A UV bean was used as excitation. wavelength (nm) emission (a.u.) 650 0.005384472 649 0.005559078 648 0.005819496 647 0.005533252 646 0.005773458…
• Complete the `find_dist` function. This function takes in a list of the sum of squared distances and a list of distributions. Your code must find the minimum value in the `sum_err` list of sums and th…
• Use a generator function named count_seq that doesn’t take any parameters and generates a sequence that starts like this: 2, 12, 1112, 3112, 132112, 1113122112, 311311222112, 13211321322112, … To ge…
• Exercise #4:   Create a class called Numbers, which has a single class attribute called MULTIPLIER, and a constructor which takes the parameters x and y (these should all be numbers). Write a method …
• Write the function count_different(list, n) that receives as an argument a list of integers and an integer number n , the function must return how many elements in the list are different from  n .  …
• Please write in python.. Problem: Write a program that allows the user to enter the marks of 5 students in 4 courses, and outputs the highest average marks for students and courses. Hint: Consider 2 d…
• Computer Science I need a Program in C or C++ or Java or Python Program to create the equation of the following questions Question 1 Check whether the following systems are linear or not: (a) y(n) = n…
• Please use Python and add the code from skeleton code.. 1.1 Init and running the first test Start by examining the initialization function. I have provided the necessary variables and initial- ized se…
• using python. def main( ) : #program flow def startup_message ( ) : print ( ‘This program tell you how to disassemble an ACME’ + ‘laundry dryer. There are 4 steps in the process.’ ‘Press Enter to see …
• make a program that declares three functions which accepts a list of numbers in reverse order from main program and find the smallest numbers in the list by one function. Another function should creat…
• Ensuring Social Distancing You and your friends are attempting to figure out a way to ensure that you can party safely during a pandemic (assuming no “stay in place” orders are occurring). You’ve deci…
• import numpy as np import matplotlib.pyplot as plt import pandas as pd from sklearn.datasets import make_blobs from sklearn.model_selection import train_test_split from sklearn import tree   n_sample…
• Lambda functions   syntax   A lambda function is an anonymous function. The syntax for writing a lambda function is as follows: variable_name = lambda argument_one: return_value And for a lambda fun…
• i need help making these elements work on this python code update vehicle attributes At the end of your program, it should allow the user to output all vehicle inventory to a text file.    mileage …
• Task 1: Print the lists Create two empty list myList1 and myList2, append some elements and print it. You need to implement __len__ and __iter__ methods in the UserDefinedDyanmicArray class. Task2: De…
• can someone help me figure this out with pandas? (a) How many documents contain more than 500 words?  (b) How many documents contain more than 100 unique words? (c) How many words occur in more than …
• get_all_stats(list_of_lists) In this function, the program should take the list of lists generated by get_data_list and average the data for each month. Then, it should return the top 5 and bottom 5 a…
• i need a program that implements the Naive Bayes algorithm for word sense  disambiguation. Specifically,program will have to assign a given target word with its correct sense in a number of test ex…
• 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…
• Could you please help me with this R project. The complete question is combination of 5 questions. 1. The above two strategies both rebalance every 5 days. Try to change the days interval and find the…
• content in a how do i delete all the text file from the beginning until it sees string “Item 1” and generate a new text file with os.path.join? should I use loop? just like the picture, delete everyth…
• Hey, if anyone can help me get a solution to this problem using the blocks (from the drag from here box) would be amazing!!  . Faded Parsons Problems Drag from here Construct your solution here, incl…
• Draw the flowchart and algorithm of accept matrix, display matrix and saddle point of given code. def accept_matrix(R,C):   for i in range(R):     A1 = []     for j in range(C):       …
• 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…
• A company performed a survey to understand the income of households in various neighbourhoods of a country. The data dictionary is also present. You can access the data dictionary from the following f…
• confusion matrix is not displaying the correct numbers. What could be the issue?. #training model lr_model = LogisticRegression( ) lr_model . fit (train_x, train_y) Ira = 1r_model . score (test_x, tes…
• DO NOT USE unemployment.with_columns( “Year “, year, ” PTER “, pter). Question 6. Create a line plot of PTER over time. To do this, create a new table called pter_over_time by making a copy of the une…
• for this project create a three programing file in python  for insertion sort merge sort and quick  create a arr20.txt, arr100.txt, arr1000.txt, and arr4000.txt with insertion,mergemquick and number…
• File “&lt;ipython-input-24-35ab00314067&gt;”, line 2    1996 to 1998′)          ^ SyntaxError: invalid syntax This is the error that I keep getting in the block of code that I have written, …
• Currently if a key is already in the tree, then a node is added containing duplicate key and its payload. We want this fixed so it behaves like a Python dictionary. If a key is already in the binary s…
• 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 write a function called hypotenuse tha…
• 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…
• An industry (started on 1997) which is run by Stark family is going to expand its business. It planned to split up into two divisions Stark and Potts industries and the employees are going to be emplo…
• for this question, I am not sure whether the function has run for 89 or 90 times. So it confuse me whether it is 4.5 seconds or 4.45 seconds. How can I approach? and what option it will give us? H…
• FinServe Ltd. (NYSE: FSL) is a multinational investment bank and financial services company, with offices in 15 countries and more than 20,000 employees. The firm’s clients include corporations, gover…
• # PURPOSE: Scan ports on 127.0.0.1 to determine which are open #         and which are closed. # &lt;&lt; skeleton code, to fill in the TODO#&gt;&gt; import socket import pickle import sys fr…
• what will be the pyhton code To add ‘ing’ at the end of a given string (length should be at least 3). If the given string already ends with ‘ing’ then add ‘ly’ instead. If the string length of the giv…
• import pybgpstream   “””Code file for CS 6250 BGPM Project   Edit this file according to the provided docstrings and assignment description. Do not change the existing function name or arguments. Yo…
• Introduction You are required to determine a suitable length for an aeroplane runway that is needed for a new airport. The runway must be able to accommodate planes of varying mass (m) and engine forc…
• # Complete the following function so that it behaves according to its docstring.  # Your submission will be marked for correctness only, not for style. # Before your test time expires, upload this fi…
• Time Left:0:56:48 Mohammad Jowkari: Attempt 1 Question 7 (2 points) Given the list: fruit list = [‘Apple’, ‘Banana&quot; Orange’] Write the python code, using a for loop, to produce the following outp…
• Maybe one or multiple answer. For the following program, which of the following claims is/are correct? def fib(max) : n, a, b = 0, 0, 1 while n &lt; max: yield a a, b = b, atb n += 1 Select one or mor…
• I have attached the homework question below: (Python) Simple Functions NOTE: You may not use the Python built-in function you are implementing within its own implementation. In the absence of addition…
• What is thw code to make a scatter plot to show the relationship between fertility and female literacy? df.plot.scatter(x=’female literacy’, y = ‘fertility’) import matplotlib.pyplot as plt   plt.sh…
• Hi, Would you please help me with the following?   I was trying to create a Python dictionary that returns a  list of values  for each  key . The key can be anything. I created this;    list_di…
• This has to be done in coral language. 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, an…
• Can you please provide explanation behind your work, thank you!. Question 1: (20 points) A number of holes has to be drilled on the given position on a metal sheet. The drill head is located at node 0…
• Design an OOP System for a Calculator. Your design that you submit should at least 3 classes / entities that you would define. Tips: 1- Think of high-level abstraction of a behavior or functionality t…
• PS: Coding with Python programming language plz, Thx! #2 points #create a function exampleTwo with one parameter which will be an array of arrays, where inner arrays have 2 elements #iterate over each…
• #initialize import random coinChoice = [“T”,”H”] MAX_TRYS = int(4) result =[] correctGuess = int(0) totalTails = int(0) totalTailsGuess = int(0) totalHeads = int(0) totalHeadsGuess = int(0) matchYesNo…
• Help me with this python question File Edit View Insert Cell Kernel Help Trusted |Python 3 O + Run C Code (a) write the function Write a function to solve a system of equations using Jacobi method wit…
• Describe the purpose of the break statement and the type of problem for which it is well suited.
• Given scoreList which is a list of numbers, print the average of the numbers in the list.
• Python Basics 3 – [If statement] Objectives 1. Write and read Python programming language codes for textual and sentiment analysis. (LO2b, LO3a) 2. Identify contemporary issues in financial reporting …
• Assuming variable i has been created with value 2, what does the Python code below output? def myf(s, n):    global i    print(s * i * n) myf(‘hi-‘, 3) Select one: a. hi-hi-hi-hi-hi-hi- b. hi-…
• 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 …
• Write a Python program that, given a SAT formula 𝜙 in 3-CNF form, determines whether the formula is satisfiable and if so outputs a satisfying truth assignment. Input to your algorithms will be in …
• Download the text to Alice’s Adventures in Wonderland from http://www.gutenberg.org/cache/epub/11/pg11.txt and run wordcount on it. This can be done by using hadoop commands. How many times does …
• Load mnist digits data set. Estimate base line prediction accuracy with SDGClassifier (20 iteractions), RandomForest(max_depth=3) and RandomForest(max_depth=15). Train model on training data and predi…
• file OR json. Fill in the blanks to complete the following code, so that it writes the content of the &quot;data&quot; variable into the &quot;file.txt&quot; file in JSON format. import [ Select ] dat…
• Hello, I need help solving this Lab simulation, It uses Coordinate geometry for variables and expressions statements and I am very new at python on so I need help solving it. It is very difficult. It …
• Could anyone help me with that? An ADT called Timetable offers the following operations to clients: addEvent(t, e, s) – inserts the event e in the time slot s of timetable t removeEvent(t, e) – remove…
• . For this task, you are to write code that computes the value of acceleration of object, given the values of displacement, time, and initial velocity. Instructions Your program should ask for user …
• Could you help me code with Python please? Thanks in advance! An array A consisting of N integers is given. We are looking for pairs of elements of the array that are equal but that occupy different p…
• Question 2. Add a column labeled Winnings: Red to the table wheel . For each pocket, the column should contain your gain in dollars if that pocket won and you had bet one dollar on red. (4 points) You…
• Hi, I am very new to Python Programming. I have just finished part 1 of this problem. However, I am stuck at part 2. I am having hard time trying to figure out how to print out error message and stop …
• [vending_status_checker.py]  Modify the vending status checker to now also report on the status of the machines overall. Be sure to click the “vending status checker” link above and save the .j…
• Complete the following function according to its docstring. def more_upper_than_lower(message: str) -&gt; bool:    “””Return True if and only if message contains more uppercase letters than    low…
• The image below is from a post on my Facebook Wall. Please explain why the highlighted area is being displayed incorrectly but not all of the post is. Day 18 of #VeteransChallenge.oud Day 187 of my co…
• what is the solution here. def sizeof image ( I) : assert type (I) is np. ndarray assert len (I. shape ) == 2 # ## ### YOUR CODE HERE
• i need Software engineering slides for 1 semester  intrduction to software engineering
• Python program to test the password strength. Please check the following image for the instructions. . Write a password meter in python which tests password strength and score password between 1-10 wh…
• The code has to be written in python and the cvs used include: 2000 Aqua Teen Hunger Force: Vol. 1 2003 Ashtanga Yoga: Beginner’s Practice with Nicki Doane 1941 A Yank in the R.A.F. 1974 At Home Among…
• Exercise 2   Now let’s work with tuples and lists together. The instructor will give a list of triples that consist of an actor’s name , the actor’s birth year , and the actors death year (which is t…
• Answer the two questions: import numpy as np No_ar’r’ = np.ar’ray([ [1, 4, 23, 8, 2, 9, 22, 87], [3, 2, 54, 22, 5, 32, 89, 43], [43, 22, 111, 876, 2, 3, 1, a] ]) # PLease sort this array 50 that…
• implement a recursive function with signature find(path, filename) that reports all entries of the file system rooted at the given path having the given file name.
• I did not score many mars in the following question, please share and explain the answers, the marking points are attached. kindly read the function specification carefully and note that we are ONLY a…
• My work till now: – import csv def process_shifts (path_to_csv) : “”” :param path_to_csv: The path to the work_shift.csv :type string: :return: A dictionary with time as key (string) with format %H:%M…
• GROCERY LIST ”’ 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 dat…
• Create a Jupyter notebook. Write a Python code snippet in a code cell for each of the following problems. Use Markdown cells and comments to add necessary notes and text. Write a function to compute t…
• Given Code:   #Write a function called inside_search. inside_search should #have two parameters: a list of strings and a string to search #for. inside_search should return a list of all the indices a…
• Using the interpreter Python, assign the string value ‘good’ to a variable s1, ‘bad’ to a variable s2, and ‘crazy’ to a variable s3. Write Python expressions with the variables s1, s2, and s3 for:  a…
• https://docs.google.com/document/d/1pCeEns_j5z-_0n36DxIzNUOKoyrhN5tk4dC_q3sRKiM/edit?usp=sharing How would you about solving this, has to be done in python.
• i need help with pseudocode Objective To develop a Menu for Computer Shop and payment system using Python. The application allows users to online order computer. Customer can view list of products, pl…
• Computer Science The codes in the pictures are in python and need to be converted into C++ language! Do both codes separately and then create-a main function to run both codes together! Thank you and …
• 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. Item Price = Price + …
• Here is my homework with my source code, so I would like to have tutor to give me some comment based on my source code work to the exercise’s situation. Please note that you just need to leave a comme…
• Give a detailed comparison between Python and 3 other tools such as Microsoft Excel and Tableau, etc.
• I need help with an assignment called Collage – Looping Arrays, Basic Debugging I just need the correct code to create Collage through jes (python)
• A website requires the users to input username and password to register. Write a program to check the validity of password input by users. Following are the criteria for checking the password: 1. At l…
• Using python, create a file called “Node.py” and a file called “LinkedList.py”, and use a linked list to convert a matrix into an adjacency list. Node.py (a class that implements a node of a graph) Li…
• import random rN = random.randint (10, 99) rN1 = rN // 10 rN2 = rN % 10 uN = int (input (‘Enter your number’)) uN1 = uN // 10 uN2 = uN % 10 while uN != -999:   if 9 &lt; uN &lt; 100:     if uN =…
• this is a python programming question, and using corrective form to solve it thanks I’Mlike Your In “’sT In this problem in the&quot; module. py&quot; file! Complete the rotate l’ function , which La…
• This block of Python code will generate the sample data in a Python dataframe that will be used in the calculations later. Your task is to use a website to collect the daily maximum temperature …
• 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…
• Write a python code to produce a logistic regression for 4 classes: class 1: centered at (2,2), std deviation = 2 class 2: centered at (10,10), std deviation = 3 class 3: centered at (2,10), std devia…
• Social Network Analysis using Python networkx   Consider using the Social circles: Facebook dataset (https://snap.stanford.edu/data/ego-Facebook.html)and perform the following steps to visualize the …
• I have the following program. I need to print the state flowers from saved file paths that are embeded in the program, but I am running into issues doing that. Can someone please assist me in figuring…
• 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” a…
• Use R or Python to solve:   1. Data Importing   1.1 Import closing prices for the entire year of 2020 for  your GOLD ETF, your equity ETF, and bitcoin.   1.2 Import your gold ETF prices for the mo…
• Goal With 79 explanatory variables describing (almost) every aspect of residential homes in a city in the USA, this project challenges the student to predict the final price of each home. Make least 5…
• . Create a Python script called main . py and import the rise_module. Write a menu driven program that displays followings: 1- Calculating RMSE 2- Quit This program must ask the user for 5 predicted…
• Describe a good algorithm for ooncatenating two singly linkcd lists L and M, given only reforonoes to the. ﬁrst node: of each list, into a single list L” that contains all the nodes of L followed …
• Write a recursive function crawl() that takes as input: a URL ‘http://reed.cs.depaul.edu/lperkovic/one.html’ (as a string) and 2 non-negative integers. function should visit every web page reachable f…
• Write a Python script that uses list comprehension to greet each animal in the list.   Input string Expected output of script dog, cat, bear, fossa, tapir [‘hello, dog!’, ‘hello, cat!’, ‘hello, bear!…
• Python program. Write a Python class named Food constructed by name of food, quantity of servings of food, calory of one serving, a method which will set the food with specified name, quantity of serv…
• Bill claims that a preorder traversal of a heap will list its keys in nondecreasing order. Draw an example of a heap that proves him wrong.
• Outline and describe three different software development platforms, including the framework and IDE you used for your own scripting ( minimum 100 maximum 200 words ).
• What is wrong with this code?. Maps on News Translate mySNHU Login 5 ProQuest Ebook Ce… library &gt; IT 140: Introduction to Scripting home &gt; 5.19: LAB: Exact change – functions zyBooks catalog ?…
• A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10 “servings” in the bag and that a serving equals 300 calories. Write a program that asks the user to input…
• I am trying to bubblesort names, then use a binary search and my code looks right but I am getting syntax errors.. please help def main():    # Constant for the array size    SIZE = 10    # a…
• . A factor is a number that divides another number leaving no remainder. In other words, if multiplying two whole numbers gives us a product, then the numbers we are multiplying are factors of the p…
• Create program using Searching Algorithm- Binary Search, give me the diagram of #1 and analysis, give me the code of the #2 questions and explain how it works Create a python program for the given pro…
• Get two matrices of any order from user. Using lists, nested loops and without using built in function, write following programs to calculate: a) Sum of diagonal elements of a matrix b) Transpose of a…
• python program for dna complement python program for restriction enzyme occurence
• Identify the best performing model. Explain your choice of metric.. Logistic Regression precision recall f1-score support 0.0 0 .86 0.92 0.89 935 1.0 0. 89 0 . 80 0 . 84 715 accuracy 0 . 87 1650 macro…
• Code for a game of blackjack please,  rules and requirements as follows: I have put a sample output code at the end as well as a copy of the playing_cards.py file. Blackjack game play: To begin, the …
• Problem: Suppose your parents give you \$1000 to start a college fund, and each month you contribute \$200 to the fund. Suppose also that the interest rate of 6% per year is compounded monthly, which is…
• Use Gradient descent methods to find a “better” values for theta0 and theta1 that minimizes the error. Gradient descent is an iterative algorithm. It computes values of theta0 and theta1 in the direct…
• Let Sn denote a directed graph with n vertices, numbered from 1 to n , in which there are edges from vertex 1 to all other vertices, and from all other vertices back to vertex 1, but no other edges…
• Hi, could someone provide an explanation to this problem, usually I would answer this type of exercises via the use of numpy. Create a ﬁlnction called prob_w that: a. Has as arguments the number N a…
• These questions are required to use python code, can you please help me with this? Capture the screenshots of your python code, the python shell, the directory showing the file you created, and the co…
• Revised: https://docs.google.com/spreadsheets/d/19G1znl2ApY5Q3HUhA4k4VY1SzZeYLk46oehsdN1apzs/edit?usp=sharing Please assist in solving the following: Let’s assume that there are two service periods: S…
• Please help! Simple debug. My pandas dictionary is off by one because of how I initialized it. I have a text file that looks like this: My code below turns the text file into a dictionary where keys a…
• Could you help with these 3. Write and test the following function: def matrix_stats(a) : Determines the smallest, largest, total, and average of the values in the 20 list a. You may assume there is a…
• is a template   Create a class called Album that creates an Album object. There are 3 instance attributes (properties) passed in when initialized: title is a string representing the title o…
• Commands and computations in used in Python needed: Practice exercice 9: Generate 1000 i.i.d. Sample of (Y i ,X i ) 400 i=1 (Each sample contains 400 observations. For each sample, Y i = 0.5 +1.5X i +…
• I have a question. I have written the below code and works fine. In the code there is a class named Procedure. One of their attributes is charges (self.__charges). I had to create three object…
• I need some expert in programming especially to those who is Electronics and Communications Engineering. I badly need your help for this written report. It will help me big time. Thank you for underst…
• 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…
• I have a web-sight that I made, I have added a password form the web-sight. I have created python code to encrypt and save the username and password of new users. I also have code to check the user na…
• Please refer to the attachments below. Code is attached as well. . In this problem, you are given a partially completed program, and you need to update and ﬁll in the rest of the program to produce…
• I have a python file with functions. please help me to write programs and get the expected output class base_class:   ”’   base class, will use a template for children classes; will not be used f…
• I need help with this python program that involves palindromes. All the details are going to  be provided below. Now I am going to be providing the the text files that are used to test this program: …
• Using fold2, define a function geometric_series(a, r, n) that takes in three arguments: a, the first term of the series, r, the common ratio, and n, the number of terms in the geometric series, …
• Problem 35: Write a function ext sort to sort a list of files based on extension. 323 extsort ([‘a.c’, ‘a.py’, ‘b.py’, ‘bar. txt’, ‘foo. txt&quot;, ‘x.c’]) (‘a.c’, ‘x.c’, ‘a.py’, ‘b.py&quot;, ‘bar. t…
• This program builds a class registration system. It allows students to log in to add courses, drop courses and list courses they have registered for.  There will be two classes in the object oriente…
• Can someone help me with this code? Question 1 Write a python program that does the following: 1- Reads a ‘numbers.txt’ file (2 lines at a time) that contains numbers (integers) 2- Reads a ‘operators….
• Citizens of Zakadaha hold an annual Gagalafa festival to celebrate the harvest of their prized produce, the well-sought after cocoa beans Kokomoko. A lucky draw is held during the festival. Every part…
• Hello can you please explain the python coding for this thank you? I don’t want just the code I want to know how you got it so I understand it. Thank you  . ‘ Create a python application for bank ATM…
• If you have downloaded the source code from this book’s companion web site, you will find the following files in the Chapter 07 folder: • GirlNames.txt–This file contains a list of the 200 most pop…
• What is the 10-minute mean 100m wind speed at Høvsøre at 00:30 on the 1st of January 2005? 2. What is the standard deviation of the 100m wind? 3. What is the mean 100 m wind speed in January 2005…
• Programming Language is PYTHON Code for the first pic: def single_trial():    num_rolls = 0    while True:        num_rolls = num_rolls + 1        die_roll = randint(1, 7) # fair die roll …
• . (d) Show the result of your code running against these test cases: 1 . median(v), modes(v) and mean(v) for v = [i for j in (range (1180, 2022, k) for k in (3, 5, 7) ) for i in j] 2. mean(vm), mean…
• write the code using python 2.7 This assignment puts together pickling and networks to build a simple distributed service. Use TCP to coordinate between a host and a server. The host will send a pickl…
• This document doesnot solve the error and is also incomplete. is there a completed version of the code file
• Implement function noVowel() that takes a string s as input and returns True if no char- acter in s is a vowel, and False otherwise (i.e., some character in s is a vowel). &gt;&gt;&gt; noVow…
• Problem 4-daily_prices () in numlib. py: Daily prices from returns [20 points] Write a function called daily_prices, which accepts to input arguments: a float start_price, and a list of floats rates. …
• I need help with the following program . Implement a number guessing game where a player will get up to seven chances to guess a mystery number in the range of 1 through 100. At the beginning of t…
• http://prntscr.com/l5zhcr This is the most difficult question I have for my python homework, help.
• Im trying to figure out this lab and what im doing wrong. Here is my Code   cars = (‘coupe’, ‘coupe’, ‘coupe’, ‘carbiolet’, ‘sedan’)   fav = cars.count(‘coupe’)   amt = len(cars)   if f…
• Start from Part 1, section 1, Cities. All information provided is what you need to answer the questions.. M Inbox – maiatl X + FY22 Caller N X berk/school english ulab data 8 D8 Data 8 _ project2 STAT…
• Hey, if anyone can help me get a solution to this problem using the blocks (from the drag from here box) would be amazing!!  . Safari File Edit View History Bookmarks Window Help Q 8 Wed Mar 2 7:28 P…
• I need help solving this correctly I have it nearly correct but this is what I am getting back from the system Input Julia Clark   Your output Clark,J.   Expected output Clark,  J. Its just a spaci…
• Exercise 1. Distance calculator (30 points) A robot moves in a plane starting from the original point (0,0). The robot can move toward UP, DOWN, LEFT, and RIGHT with a given steps. Please write a Pyth…
• A name is in the format of &lt;first name&gt; &lt;last name&gt;   For example, a valid name would be something like Jamie Oliver. Lucky Number = (F + 7*L) % R + F   where  F = Length of first name…
• Draft final PYTHON program that meets the requirements outlined below. draft an automobile class that will be used by a dealership as a vehicle inventory program. The following attributes should be p…
• Given the (X_train_scaled_std, y_train) pairs denoting input matrix and output vector respectively: complete the three function definitions and demonstrate the functionalities of each by calling them …
• Program in Python 3 that allows the user to enter any function f(x). And then graph the function
• I am not able to complete the 3rd and 4th step. 3) Output an invoice for the services selected. Output the cost for each service and the total cost. (3 pts) Davy ‘s auto shop invoice Service 1: Oil ch…
• Learning Scala : Ch 5: Functions as first class citizens . Write a higher-order function that takes an integer and returns a function. The returned function should take a single integer argument (say,…
• Create 2 Simple web / screen scraper programs (preferably using 2 different websites or try to extract 2 different pieces of information from 1 website).
• What is the valid range of index values for a list? 1. at least zero and less than the number of elements in the list 2. at least ene and less than the number of elements in the list 3. at least zero…
• . Ex14 – Boolean Operators 1. Evaluate the expressions that are legal. If an expression is not legal, state the reason for its being illegal. a) True and not False b) False or not (4 ** 2) c) not (T…
• PROGRAMMING EXERCISE 1. Ask the user to enter a number and find the number obtained by reversing the order of the digits. 2. Ask the user to enter a four digit number and check whether the sum of the …
• Develop a program that determines how many real roots exist for a quadratic equation:   (a, b, and c are real constants with a non-zero)     The resolution algorithm determines from the 3 coefficie…
• #NAME?
• Pick 2 companies preferably from the same sector of interest (try to pick companies with more data points, an example can be Microsoft and IBM). Perform topic trend analysis using the text representat…
• Make or create a class called Cars. This class has two attributes to describe a car: car brand and price. Car brand should have character values such as Honda, BMW, etc. Price should have numeric valu…
• My assignment:   Select at least two comparative reviews from the Reviews file and apply the Liu Chapter 8 techniques to summarize them in a brief report.  Report the ID or the reviews used.   Use …
• . Problem 3 1 2 This problem is called the Monty Hall Problem, named after the original host of the game show &quot;Let’s Make a Deal&quot;. It’s a perplexing little prob- lem about probability. The…
• Research and Learning Resources  Research locating learning resources and examples on N-Layered and/or Model View Controller (MVC) architectures to determine what architecture I could use in Python…
• hi , i need to make a Email Creator in Python that reads a file and creates a series of emails.  thank looks like this Email Creator ================================================================ …
• Question 8 [8 points) Given the following Binary Tree (BT) construction def __init__(self, data) self.data data self.left None self.right None root = Node(18) root.left = Node(8) root.right = Node(19)…
• Python is one of the mainstream development languages for big data analysis and processing. What are the core .data types in Python? Please list four of Python’s core data types. What does “immuta…
• Can you make a flowchart of this?. num = input (&quot;How many set of numbers would you like to enter: &quot;) array = nump = 0 numn =0 sum = 0 average for x in range (int (num) ) : array . append (ev…
• I’m a little confused on this part. I need to import other files . Requirements are below. Part 3 – Creating a Waiter 0 Next, deﬁne the Waiter class in a ﬁle titled Waiter . py. This class will ma…
• Python using QT Designer We are required to develop a single screen application. • To display two calendars (Today Calendar and Next Holiday Calendar). • The Today Calendar must show today’s date….
• Using a predefined abstract data class for a QUEUE, such as  ArrayQueue, which we defined in class, write the code to perform the following:   create 2 Queues called Q1 and Q2 that contain character…
• COSC 111 Spring 2022 Homework 1 points: 50 Due date: 01/12/2022 Please read the slides “Algorithm Design Examples.pdf” in the class lecture. As explained in the examples there, please write the Algori…
• . Provide a complete solution to the following problem using the Python programming language. REﬂD THE ENTIRE QUESTION {ﬂND THE EXﬂMPLE) CﬂREFULLY BEFORE DEVELOPING YOUR SOLUTION! PﬂRT A: …
• taking intro to programming and im just not getting how to get this answer Write program named  program43.py  that can be used to determine the average of a number of percent tests. The number of te…
• Most in this class have probably used a spellchecker at least once in your life (more likely, many times). Spell checkers are built into a number of programs, including microsoft word, apple pages, gm…
• Using the code in the screenshot as your base starting point explain and comment what is happening with the code line by line. For purposes of testing the code you will use the attached file dictionar…
• Let’s play around with the first paragraph of Moby Dick: Call me Ishmael. Some years ago – never mind how long precisely – having little or no money in my purse, and nothing particular to interest me …
• 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 …
• Im trying to get stage 7 of this python game of inbetween to ask to play again however it will only ask once and doesnt carry over the balance_total from the last game or ask me again if I want to pla…
• Part 1: Programming – Sedimentation App 1.1 Problem Statement    The figure below shows a lake within which sediment, suspended in the water, rains down and slowly builds up on the lake floor. Obvio…
• No pandas, just using simple python code can you help me out.   Fill in the missing (NaN) “latitude” and “longitude” values by the average of the latitude and longitude values for the province where …
• Let fj = e sin xj , xj = j2π/N for j = 0, 1, . . . , N − 1. Take N = 8. Using your fft package obtain P8(x) and find a spectral approximation of the derivative of e sin x at xj for j = 0, 1, . . . …
• Question 1: How does the number of inspections change over time (use month as the level of temporal granularity)? Does the number of inspections increase or decrease over time? Are there any peak time…
• Consider three ticket types at XYZ cinema: TicketA, Ticket B, and Ticket C. Ticket A cost \$55, Ticket B cost \$40, and Ticket C cost \$25.Write a python program that asks the customer to enter the ticke…
• I had to write, a program to do the following &gt; Ask the customer to enter “S” for standard shipping or “E” for express shipping. Also ask the user to enter the weight of the package in pounds. Ca…
• Machine Learning With Python —————————————– Hi there, I am sharing my requirements that I have a Assignment about Linear Regression   Analysis. Project already solved but I…
• one-line list comprehension required   Characters in Overwatch have their own famous voice lines. We decide to use a special method to encode their lines (as strings) so that players can have fun and…
• Explain two functions tools needed for creating a python decorator
• Suppose you are going to write a recursive function to calculate the factorial of a number. fact(n) returns n*n-1*n-2*… Where the factorial of zero is define to be 1 what would be the most appropria…
• Using python and SQLite, connect to the database called “world_updated.db”. Using SQL queries in python, answer the following questions ( make appropriate comments for each step ): Input the data into…
• I need help completing the Module Two Assignment.  My first time using Python and  I’m stuck with it..   In PyCharm, write a program that prompts the user for their name and age. Your program shoul…
• Computer Science Python Show me that you can search through data: Create-a collection of 100 int values, Create-a GUI to display the collection of int values as rectangles, (I will display mine in one…
• . removePunctuation(a_string) (5 pts) Takes a non-empty string a_string and returns 2 values. The first returned value is a string where each character in a_string that is not an alphabet letter is …
• This program will run a random number generator that generates values from 1 to 10 until the percent difference between the smallest occurrence of a value and the largest occurrence of a value is less…
• PYTHON program to record the details of books in a library (e.g., Book Title, Book ID, Author(s), etc.) in a dictionary as follows: Books = {(Book ID, Book Title): (Subject, Author(s), Edition, Publis…
• NOTE: The individual number mentioned is = 1.01011   Background to the problem   Radio propagation conditions play a critical role in the operation of mobile wireless networks. They determine the pe…
• Discuss methods that will help secure the data-in-transit and at-rest. Consider a simple login form that includes a username and password for allowing access to the application. Be sure to reference y…
• I am having trouble starting this homework problem. This is what I have thus far for the problem below: housesSold = int (input( ‘How many houses are sold? ‘ )) priceList = [] i = 0 for eachHouse in h…
• please solve these python code problems. there is four questions. (Problems  are from python zybooks lab 1.     2.     3. 4.. A variable like user_num can store a value like an integer. Extend th…
• Hello Can you help me with this assignment? it should be on Python (pycham)
• . D21 Assignment Instructions – Lab 1 – X @ labone-technology – Replit X G python lab one technology sault x * Lab – Python Programming Revie X + V X -) G https://trioscollege.brightspace.com/d21/le…
• I need help. 6. Write a program that creates a list-returned function to display a lists contains all but the first and last elements. Implement the code to test the function. a) Define a function, mi…
• create a simple chatbot for a business or organization. The first letter of your last name will be the basis of your assigned task.
• Hello, so I am trying to create a python program that manages stock price data, that reads a file with 2000 stocks that has various information, such as name, symbol, market value, and the closing val…
• I need to put the below flow chart into Python to run.  I have previously ran the cost in Python: # avocado cost calculation price = 1.50 qnty = 3 cost = (price * qnty) print (cost)   But I have nev…
• create 2 different complex calculators using if statements which are called upon using main function in python.
• instructions: Complete the following Python program that computes for the histogram of a given image. The image is read from a file “image.txt” and the output is a list containing the image histogram….
• You will use GuessingGameApp.py and complete the TODOs in docstrings and comments to make a GUI version of the Guessing game from GuessingGame.py (I optionally added the code for this as well). For th…
• Python coding in zybooks, cant figure this out Many documents use a specific format for a person’s name. Need help getting a program whose input is: firstName middleName lastName and whose output is: …
• Given Code:   #Write a function called search_inside_files. search_inside_files #should have two parameters: a filename and a string to search for. #search_inside_files should return a list of line n…
• MY assignment is to create the following criteria: Create a SELECT statement that contains only FirstName, LastName, and EmailAddress from the contacts table. Create an UPDATE statement that updates a…
• Question 1. Mean and Variance  Download and read the document that explains how to compute the mean, the median, the variance, and the standard deviation of a variable in a data set. Using these defi…
• Computer programming is fun but sometimes we get a bug. A software programmer was given a task to ask a user for their dog’s age and convert that age in relative human years. To perform the calcula…
• Identify the function that handles the exception.   def Division(a, b): return (a / b) def Sum(a, b): return (a + b) def main(): a = 100.0 b = 0.0 try: Sum(a, b) Division(a, b) except: print(‘Error O…
• Write a Python function that accepts a string and calculates the number of alphabets(a-z or A-Z) and a number of digits(0-9).
• Project on conditional probabilities communication through a noisy channel. Using Python Anaconda Spyder! CALIFORNIA STATE UNIVERSITY, LONG BEACH EE 381 – Probability and Statistics with Application…
• In Python, tcp and udp sockets can be constructed? Give a Python statement for each. Let the UDP server socket be udpSvr And the UDP server socket be tcpSvr
• write a python script so take the log file as an input. requirement: parse the logs. For each valid BlockHash( valid BlockHash means it starts with “message”:”[Announce] Sent Announce Message!!” and e…
• Please implement expression evaluator (similar to your calculator) using Python. The input text files *.dat should be at the same directory with your .py file. Each input file has only one expression …
• A radioactive source is placed near a Geiger tube and the number of detected “events” (the yield) is recorded in 30-second intervals as a function of the tube’s high voltage. The data are shown below.
• . CHALLENGE ACTIVITY 5.11.1: Loop else. 375510.2350218.qx3zqy7 Jump to level 1 Type the program’s output result = 0 n = 1 while n &lt; 5: print (n, end=’ ‘) result += 4 n += else : print (f&quot;\ {…
• #Task – 1 Create a  KeyIndex class with the following properties :    Fields:    int [ ] k;    Description An array of integers.    Note: You may maintain instance variable(python) if needed …
• Develop a program that draws some sort of substantial face that includes two eyes, a nose, a mouth with some teeth, two ears and some hair. Use coloring as appropriate. Be creative.
• . def _rotate_right (self, parent ) : Rotates the parent node to its right around its left child. Indates he Crop one question at a time rotated nodes. ULal right (parent ) Parameters : parent – the…
• Please help! The table is the data, insurance.csv   I. In Python, Create a linear regression model that uses all features and predicts the charges. Built the model using a training and testing set. U…
• Write algorithmlpseudocode for a program that reads a student record, consisting of the student’s first and last name, followed by a sequence of test scores and a sentinel of -1. The program should…
• Create an object from a class for each name and age that the user enters by storing the full name and age in an object and then saving that object to a list. When the user does not want to enter more …
• country code and three statistics: population, fertility rate, and child mortality for that year from the population, fertility and child_mortality tables. Only include rows for which all three stati…
• hello could you please help me  write a function that outputs the names of three students in reverse lexicographical order. thanks
• If you could provide an explanation for brief runtime complexity as a comment it would be much appreciated. Thank you.
• Only need help with task 5   here is the docs link for scrabble5 (which is word5Dict after process), it is very long because of dictionary https://docs.google.com/document/d/1zfiuXquxxJpC1JKtdCfium44…
• Programming Exercises 1.  [mad-libber.py]  A mad lib is a game where you take a sentence and fill in some of the words to make a (typically) silly story. For example, you might make up a sentence “S…
• #Drop outliers from SalePrice where prices are over 500000  criteria = d_train[(d_train[‘SalePrice’] &gt; 500000).index  d_train.drop(criteria, inplace=True)   File “&lt;ipython-input-101-0a77d5a52…
• Write a non-fruitful function called list_change_last(aList) that takes a list of strings as an argument and changes the last element to be the string ‘.’. The function does not return anything it jus…
• in python 5. Recursive Functions and Functional Programming (a) Define a recursive function separate (it must work by recursion: write no loops, use no local variables, mutate no list) that takes two …
• I need help writing this python Program.   A teacher has five students who have taken four tests. The teacher uses the following grading scale to assign a letter grade to a student, based on the aver…
• in python: MST implementation:  a. Implement Prims’ algorithm Name your function Prims(G). Include function in the file  MST.PY. Mention in your submission the input format and output format of your…
• MNIST number dataset a set of 70,000 small images of digits handwritten by high school students and employees of the US Cen‐ sus Bureau. Each image is labeled with the digit it represents. This se…
• Evaluate your identity function for 2020 numbers in the interval [1, 10]. That is these are logarithmically sampled numbers of the form 10p in the interval [1, 10] such that there are 2020 of these. (…
• I need help someone who knows Jupiter notebook and python?
• Python programming Use def function STAPLES D dok add – binary ( a , b ) ? Given two binary etting return their suur (also a binary Return None if one of the ifp strings are empty string ) contains ch…
• This is a MATLab problem. Please explain as much as you can thank you.. I 3. (Difficult) Ask the user to enter number of credit hours he/she is taking. If the credit hours is between 12 and 18 then th…
• 13 LAB: Triangle area comparison (classes)     PYTHON   Given class Triangle, complete the program to read and set the base and height of triangle1 and triangle2, determine which triangle’s area…
• 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…
• everything is on the screenshot, thanks in advance Van der Waerden Numbers In this assignment, you will compute Van der Waerden numbers using Integer Programming. Definition: Let r and &amp; be positi…
• Can anyone help me? For this part no code is necessary Suppose now that there may be references with the same author and date. For example, both these references can be added to the bibliography: Sout…
• Hi, please help me with these 2 steps. I am making battleship game using tkinter in python that has a user and computer board. I need help creating a function makeModel(data) that has the data values …
• Python question, cannot use import as need to try challenge myself on this. Write a function that prints out a word diagonally. For example, given the word computer the function will print out Your co…
• need help figuring out what will be printed by the following lines of code? **ALL INFORMATION IS HERE, NOTHING IS MISSING number = 10 if number &gt; 15 or number &lt; 12: print(“foo”, end=” “) elif nu…
• show the working code for doc2vec embedding for legal dataset. Eg court cases
• # Inputs import sys A = float(sys.argv[1]) B = float(sys.argv[2]) C = float(sys.argv[3]) # Write your code here We pass in three inputs, A, B and C. You should output A∗(B+C/3) any tips?
• Hi Can some please help me with this assignment using python? CSE 101: Introduction to Computational and Algorithmic Thinking Stony Brook University Lab Assignment #3 Fall 2017 Assignment Due: Septemb…
• our task is to implement a tree that represents all the possibilities of the game of Nim given a number.(some description, algorithm and sample output are attached ) here is my build and addChild func…
• Q1) a. Write a function that, given a list of pairs (a, b), returns the first ‘a’ that is greater than its corresponding ‘b’. b. Write a function that, given a list of pairs (a, b), returns the list o…
• (1 point) (check all that apply) How can we name elements of list x= list(1,2,c(1,2))?  A) names(x) = c(“H”, “M”, “L”)  B) dimnames(x) = list(“H”, “M”, “L”)  C) x = list(H=1, M = 2, L = c(1,2))?…
• Python code that will read 10 numbers from the user, and then print the first number, the sum of the first 2 numbers, the sum of the first 3 numbers, and so on up to the sum of 10 numbers.
• DO NOT RESPOND IF YOU HAVE ANSWERED THIS BEFORE Please respond with the following code modified for a program in python that I can paste on a ide like pycharm so that it builds a list of integers from…
• Hello, I need help solving this Lab simulation, It uses Function with loop: Shampoo for function statements and I am very new at python on so I need help solving it. It is very difficult. It is very c…
• Print the names of columns Print the types of columns Print the unique values in each column. Print the statistics count, min, mean, standard deviation, 1 st  quartile, median, 3 rd  quartile max of…
• Position queries –Write a function that is named positionQueries that takes 2 lists as input such that the first list named data contains a list of unsorted integers and the second list named order c…
• translate this equation and data in python programing. 1 N(r) x 7 2 Ad N(r) = No – : Ad = surface area, A. = Sphere area = 4nr2 Ao No. Ad 1 N(r) = 4TC 7-2 d(cm) d2 (cm2 ) dz (cm 2) N ( – ) m 14 196 5….
• 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 a directory, use os.li…
• Create, a mathematical model of population growth in which the growth ratio is highest at a certain optimal population size, but it goes down as the population deviates from the optimal size. Th…
• please solve those questions for me thanks a lot!!! from sklearn.linear_model import LogisticRegression from sklearn.ensemble import RandomForestClassifier from sklearn.datasets import fetch_20newsgro…
• How do I add this: # Ask the user’s full name, greet, and explain to the user what the program is all about. Greeting() # Function PackageCharge accepts weight as an argument and return the charges Pa…
• i need answer in r. i need answer for q=2c Modify your function to accept the slope as an additional input.   ### 2b. Write a function, `power_lin_reg`, which takes the sample size \$n\$ as input. Your…
• Creating Unions of Elements in a Collection Scenario Given two lists, create function that returns a list of all of the elements in both lists, with no duplicates. Aim The aim of this activity is to i…
• Writema 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 …
• Please use python to solve For i ∈ [2, n]: Set total (sum of divisors of i) to 0 For j ∈ [1, i/2], if j evenly divides i, increment total by j If total equals i, write i (perfect number)
• Construct a function with the following signature: def distance(first , second): “”” sig: tuple(float , float), tuple(float , float) -&gt; float gives the Cartesian distance between two points , expre…
• Consider a game, where both the computer and the user come up with a number.  a. If both the numbers sum up to an even number, the player wins and the message is displayed.  b. The game keeps repeat…
• Design CSEDepartment and EEEDepartment class which inherit the Department  class so that the following code provides the expected output. [Student ID = 2 digits of admission year+ (semester_ID) +  (…
• 9 LAB: Car value (classes)   Complete the Car class by creating an attribute purchase_price (type int) and the method print_info() that outputs the car’s information. Ex: If the input is: 2011 1800…
• Python code to solve the challenge in the images below.
• Please in a word document solve the following questions: 1.Develop a python program to create clock-controlled latches. Your program should have the following sequence to test the circuit operation…
• class Backwardable : def __init__ ( self ,iterable) : self ._iterable = iterable def __iter__ ( self ) : class B_iter : def __init__ ( self ,iterable) : self ._all = [] self ._iterator = iter(iterable…
• Question 1 Which of the following is the correct code snippet for throwing a pair of dice to get a sum of the numbers on two dice between 2 and 12 with the same probability as when throwing actual dic…
• Solve these 4 lists exercises   1. Given an array of ints, return True if 6 appears as either the first or last element in the array. The array will be length 1 or more. first_last6([1, 2, 6]) → Tr…
• Q2 [2] Consider the following piece of code for getting a player guess: guess = input(“Guess a letter: “) Rewrite it so that the player is re-prompted until they provide input that is exactly one char…
• Programming Assignment 4 Getting started Complete the reading and practice assignments posted on the course schedule. Review class handouts and examples. This assignment is designed to emphasize work…
• Note: This program does not require any form of loop. You are writing a program which compares two birthdays and reports which person is older – or if they are the same age. While simple for a human, …
• Hi, I am trying to build a password generator in Python and for some reason, my code doesn’t give me the correct password length in the end. Can you please assist? Also, can you assist with adding the…
• Please help!! Can someone help me with this assignment on python. MINI ASSIGNMENT: save as 52.py Create a mini-lottery with TEXT ticket. The user is going to save three numbers in a text file – those …
• Complete Programming problem 3.29 at the end of Chapter 3 (10pts)
• In the submission, first put the screenshots of each question. At the end, copy paste the python code. •Make a list called MyList with the following items •Deca, Hecto, Kilo, Mega, Tera, Pico, Nan…
• Exercise 4 – Lists &amp; FunctionsAssignment SpecificationThe Dataset:NYC has a public bike-sharing program called Citi Bike, which began May 27, 2013: http://www.citibikenyc.com/If you go to the Syst…
• . Question 4 {5 points} Write the mainii function that 1} calis the function get_input(} and prints the returned value to the console 2} catches the exception raised by getminputﬂ 3} prints the me…
• Update the below code to insert comments describing what the code is doing – for each line starting with a hash symbol (#) you should write your code comments after the hash. You may add a second line…
• Project Specification: Preparation First of all, when you open your lab, you will be in the ‘renameNB’ Jupyter notebook. As you run the code, you will load the trainset and testset for digit0 and digi…
• 5.2:   Writ python program that does the following: ·     takes as input from the user a date and time (24-hour clock) as “MM/DD/YYYY HH:mm:SS” o  Assume that everything must be provided w…
• Question 1 Need a function average_of_digits_common_to(*numbers) that accepts numbers as arguments. If there are no numbers, or if the numbers have no digits in common, then returns -1 . Else, returns…
• Sum and Difference Given two numbers a and b Calculate the sum and the difference of the two numbers Print the two results out   Now, a is assigned with the sum and b is assigned with the difference
• Please refer to the attachment below . Write an if statement that decreases the value of Shelf_life by 4 if the value of outs ide_temperature is greater than 90.
• coding exercize, there is an error, can anyone help please Unused Argument 1l3 If a function has a parameter that is not used within the body of the function, we say that it has an unused argument. Th…
• Problem 1: (20 points) You are given three numbers, and you want to find the largest out of the three numbers. Using the problem analysis tools to analyze this problem, we end up with three modules: R…
• python program that reads a list of items and for every item x determines the number of its occurrences (or frequency) in the list denoted by f (x). Ex. Input list \$L=[1, 0, 0,1,1, 0, 2, 2, 1]\$; Out…
• sumOfCubes Challenge Problem 1. Write a function named sumOfCubes that takes a single integer parameter, n, and returns the number of triplets of positive perfect cubes whose sum is less than or equal…
• Please provide me with the Python code answer as well as comments to help me understand the process, thank you! Use nu mpy to create 100 random integers between 1 and 200 and store them in variable x….
• Greedy Residual Fitting: The relevant link: https://drive.google.com/file/d/1Mvt3EDArVGdIEiN9h-OmvhB6yfApIGt0/view?usp=sharing We start using a greedy approach to multivariate regression. Assume a dat…
• Car MPG Cylinders Displacement Horsepower Weight Acceleration Model Origin Chevrolet Chevelle Malibu 18 8 307 130 3504 12 70 US Buick Skylark 320 15 8 350 165 3693 11.5 70 US Plymouth Satellite 18 8 3…
• Team Management OOP Style Your program for keeping track of team members is coming along, but now you want to be able to include phone numbers and jersey numbers along with your team member’s name. …
• Script in Eclipse on PyDev……………………… Note : Each problem may or may not build on the problem before it . 1 . Create the data file ‘ pilots . dat &quot; : Using PYDev in Eclipse , crea…
• You have been hired by a company to carry out a program that allows access to their offices through a security code of four numbers without repeated digits, these digits must be generated randomly eac…
• Could you help me with object-oriented program that reads a list of Customer objects from a CSV file and allows the user to enter the data for a customer by specifying the customer’s ID.  In Python. …
• Read three integers from user input without a prompt. Then, print the product of those integers. Ex: If input is 2 3 5, output is 30. Note: Our system will run your program several times, automaticall…
• Help, please. I am completely lost as how to even start! Driving Cost App Imagine that you started working in a startup at Silicone Valley. Your first app helps people find out how expensive it will b…
• 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__…
• Take your text items for each year and convert them into a text input file. https://www.aboutamazon.com/news/company-news/2020-letter-to-shareholders https://www.aboutamazon.com/news/company-news/2019…
• Hi! i am currently working on a python coding project and I am stuck on this last problem, any advice on how to tackle this or where to start would be greatly appreciated the csv can be found here : h…
• There are total of 4 python question. Please help, Thanks a lot. Question 1. Study the example below carefully and write a program that works exactly like the example. The text in bold indicates the u…
• Here is the python exercises’s situation and try to use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exer…
• A python program to calculate distance so that it takes two Points (x1, y1) and (x2, y2) as arguments and displays the calculated distance, using Class.
• Here, you are asked to predict the forest cover type (the predominant kind of tree cover) from strictly cartographic variables (i.e., geographic mapping data etc.). The actual forest cover type for a …
• assignment question based on oops python 1) Wrire documentation for a class 2) Menu driven netbanking application  options like a) Create a ccount – save account info in a file b) login account c) Ch…
• 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…
• I need help with this. There’s a syntax error and I can’t seem to figure why.   . Understanding if else Statements in Python X Understanding if else LargeSmall.py + &gt;_ Terminal + Statements 1 # L…
• i need help for part 1 and 2 please 1. Objective What is the purpose of this program? 2. Program requirement as stated in the question 3. Design flow (flow-chart and pseudo code) 4. Rational of your p…
• 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 straw…
• Hi there! I have this question on a worksheet that I’m not very confident in tackling, and was wondering whether somebody could help me answer it. I have attached two images, one of the context and da…
• Python programming Q2. Write a program to create a list of numbers: 78, 49, 115, 200, -2, 167, 77, 24, -145, 138. The program should traverse the list and add numbers between 0 and 100 in another list…
• Code pasted below for reference:    class Document: #TO DO: define the constructor method, __init__ and then initialize values #def __init__(___, ___): # initilialize values here #TO DO: define the …
• Hi, I had help from a great tutor and the explanation was amazing. It was really useful for me. I have another quick question. If I wanted to have each of the inputs that I input for noun and verbs an…
• I would love for you to answer all questions. I’ll use all my 20 questions
• supervised learning including the principle, application, challenges and limitations. example application area that employs one of the commonly used supervised modeling techniques.
• Domain – Social Media   FOCUS – PREDICT NO. OF SHARES OF AN ARTICLE   BUSINESS CHALLENGE/REQUIREMENT Mashable (www.mashable.com) — is a global, multi-platform media and entertainment company. Power…
• Please don’t copy from chegg and course hero   Please use python create an entity extraction model for the store number from the transaction_descriptor using python.. transaction_descriptor store_num…
• true or false in ( ). 5. In stem-and-leaf plots, &quot;6/128&quot; indicates there are six &quot;128&quot;. ( 6. &quot;Histograms&quot; and &quot;bar chart&quot; indicate the same visualization in Uni…
• PLEASE HELP DEBUG   TASK: Develop a Python Script that performs LSB data hiding within an .bmp image.   WHAT NEEDS HIDING:   The text below is derived from a .txt file named codebook, the following…
• # Question 1 low = 3 hi = 50 total = 0     # replace this for-loop with a while loop # don’t change any more than is necessary   for m in range (hi, low-1,-2):    total = total + m          …
• Graphics in Python using the JES environment Please explain it also how to run it and also attach output .thanks Long sets of instructions… Example: requestIntegerInRange(“Please enter one of the fo…
• Vowel Capitalization   Open a file specified by the user. Read in each line from the file, one at a time. Then use charAt() and a loop to process that line one character at a time.  If the charac…
• The VPython code is shown below, I need to use it to do numbers 4 and 5. Sue is a blue sphere at position &lt;5, -3, 0&gt; with a radius of 1. Bob is the yellow sphere at position &lt;-4, 7, 0&gt; wit…
• 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…
• shirt = { “brand”:”Gucci”, “size”:”Large”, “price”: 200.00 } How do you change the “price” of the dictionary to 1000.00?
• (Print a table) create a program that displays the following table: a b a ** b 1 2 1 2 3 8 3 4 81 4 5 1024 5 6 15625
• how can i construct this program? n2- Write a program to read a positive integer as input. Then compute the sum of squares of the digits of the number, if repeating this process eventually reaches 1, …
• I am very confused on the difference between these w import pickle class Account(object): pass #remove pass instruction and write your class definition here class checkingAccount(Account): pass #remov…
• Please help Lists, sets, and dictionaries are all mutable. Although we can execute code that changes the length of a list while it is being iterated over ( by calling append or del), Python does not a…
• The bottom rests on concrete and is not accessible. It has a height h and a radius r, A mathematical bug is sitting on the cistern at point A, and has established a coordinate system to cover the enti…
• . Python im Ali: Attempt 1 Question 1 (1.5 points) Listen What’s the output? Question 1 str_1 = ‘5’ X = ‘6’ y = str_1 + str(x) print(y) A Question 2 (1.5 points) Listen mixed_list = [&quot;hello&quo…
• Write a program that:  . Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print(‘ {: .2f}’ . format (your_value)) (1) Prompt the user for th…
• Python question Write a python program that can decode zip codes. It should ask the user for a zip code then store as a numeric value. It should then check to see if it is in the right range and then …
• Can someone explain this in detail to me, step by step? The question wants a function: linearly_ranked(products, weights) I’m a bit stumped trying to solve this. Any help is much appreciated, thanks! …
• . 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 length has a different price. Now. we a…
• Can I have some easier and quick way to use if statement in python Why the fast one not working: function if xxx else but the normal one work if xxx: function
• I need assistance creating at least 6 unit tests, with at least two different assert functions within the 6 unit tests. Any assistance would be greatly appreciated!   The units will be housed in a se…
• This was my assignment “complete a small python segment that asks a question, reads in a response, and outputs some data that quantifies that response.” Can you tell me if I am at least going in the r…
• Here is the program that I have to write, I have already written two codes, but I really don’t know which one is correct: Each student in a course needs to submit 3 lab assignments and take 2 tests….
• I made a class called “Book”, How can I define a subclass of Book called PaperBook? PaperBook should inherit from Book and should add an instance variable called “numTornPages”, which is set to 0 in …
• How to write the code for this question by python,please include detailed explaination, thanks. For example, consider the following database of phones using the features of ‘name’, ‘manufacturer’, ‘si…
• Dealing with exceptions Fill ____ parts of the implementation below. sum_of_list function takes a list as argument and calculates the sum of values in the list. If some element in the list can not …
• python help do not use built in functions of python
• help solve a final program that meets the requirements outlined below. help solve an automobile class that will be used by a dealership as a vehicle inventory program. The following attributes should…
• AUC Sensitivity Specificity F1 score Build a Random Forest classifier under each scenario and evaluate the performance using AUC, sensitivity, specificity, and F1 score. Demonstrate your work by showi…
• Hello i have started learning Python programing from online source ,i have learnt much , I need this project to be done so i can learn that how an expert codes and flow of code,please try to make it s…
• You have been approached to carry out a UI part ButtonCanvas which is both a button that can be clicked by the client and a material which the client can draw on. Your current code contains a Button c…
• The DictList  class represents a  list  of dict, with some keys appearing in more than one dict: think of the later dicts as representing updates to the earlier ones, but the earlier ones are s…
• Question:Decrypt a given ciphertext that is encrypted using a Caesar cipher and its corresponding key. Key is K(caesarkey.txt this is a text file of key the one used for enryption) (ciphertext.txt, th…
• python coding need help with answers, parts 1-3 are posted here . Q2: function: percent_to_numeric ( ) (2.25 pts) Now, define a function percent_to_numeric that takes in two parameters df (the …
• INSTRUCTIONS: Run the database, and use simulated stock data to answer questions 1-3 on right hand side. SIMULATED STOCK DATA(Excel Download): https://cocalc.com/b9b87f60-bb7c-426a-ab07-d45c39621809/r…
• . 1 Without Coding [Show your work when asked] Problem 1 (5 points each) Calculate the result of the following function calls. Make sure to show your work tracing the re- cursive calls. def factoria…
• Check the following 2 programs in python and write a report explaining in detail what they do and how they do it. PC:\WINDOWS\py.exe please introduce a string: Home Page
• python code . Write a program that takes in three integers as inputs and outputs the largest value. Use a try block to perform all the statements. Use an except block to catch any EOFErrors caused…
• 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…
• This is from hackrank. Need helping solving the problem with the exact output the question wants. Thank you.. All Contests &gt; 1500522 &gt; 7 Student Quiz Average Nested Loop 7 Student Quiz Average N…
• how do i go about this, please use for loops. 2. Implement the following function in the PyDev module functions. py and test it from a PyDev module named to2. py: def sum_odd (num) : Sums and returns …
• How many digits are in the number 2 256 ? How do I code for this question? I tried converting the integer to a string but it didn’t work
• 1A) Explain the difference between TCP and UDP, and when we should use one or the other. (WRITE 80 WORD ATLEAST) Exercise 31b – Explain the different concepts of Confidentiality, Integrity and Accessi…
• Cr8 a Python program that: Displays  a GUI  window.  In the  window  create: A textbox to collect a employee’s first name A textbox to collect a employee’s last name A textbox to collect the numb…
• why am I not getting output. where did I go wrong Done E float() to convert the Your Output string to a number. Do not worry about error checking the user input – assume the user types numbers properl…
• #create function named exampleFive, that will have 3 input parameters: one array and two singular. #return “One”, if second element is in an array #return “Two”, if third element is in an array #retur…
• What will be the number of dimensions of a gray scale image if opened as colored? 2. Is image a list, tuple or an array? 3. A black and white image can only have what gray levels? 4. Can we flip t…
• Machine Learning Assignment Use the Bank.csv in attachment. Use the following estimation models for predicting customer subscription (y in the table). You should print the cross validation score and c…
• i’m looking for direction on the sections that are asking for my code. The directions are stated below. I put in code and it starts to run but when I enter in a selection, I get an error on my entered…
• Subject: Math Method for Data Analysis How do we slipt two groups of csv file using python ? eg. we have two groups PersonalLoan = 0 and PersonalLoan = 1
• Having trouble creating this program. Please help. I’ve included main method code below. class Account(object):   pass    class CheckingAccount(Account):   pass  def main():         pri…
• Consider the following quotes: | row_id | Date | AUD/USD | EUR/AUD | |——–+————+———+———| | 11 | 2020-09-08 | 0.7280 | 1.6232 | | 70 | 2020-09-09 | 0.7209 | 1.6321 | | 99 | 2020…
• 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…
• Can you solve with python? Thank you. Finding Exponential Roots The Newton-Raphson algorithm is an algorithm for finding the zeroes of a mathematical function. We can use the Newton-Raphson algorithm …
• I would like a step by step outline showing the process listed below using Python and HTML inside the python code using Flask.How does one develop a form allowing a user to enter at submit data for 2 …
• ***** Need to use “if” “elif” “else” “while” Pearl’s Pancake Pad is a growing restaurant business, and they’d like to upgrade their existing pen-and-paper system for tracking tickets to a digital poin…
• Lab Purpose: The purpose of this lab is to work with data files and Excel along with Python. Lab Instructions: Description: In building on a lab experience that you have had, your  task will be to de…
• A: 1241.5 calories intake in aay .5. Also, It lOOKS like this day you’ve been tempted With chocolate and 250 calories have been added! A: 1241.5 calories intake in day 6. Also, it looks like this d…
• 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. Now I want to modify the program to ask th…
• I need to understand what is missing in the below reqular expression Here is my code matchers = {   ‘name’:”'”[‘\w\’*’]*”&gt;&lt;span&gt;(.+)&lt;/span&gt;”’,     ‘stars’: ”’title=”([0-9.]+) s…
• python program that performs the following: Ask the user to enter a 6-digit number. Ex. 123456 Remove the last digit of the entered number. Ex. Removing the last digit from 123456 returns 12345. Divid…
• Let fj = e sin xj , xj = j2π/N for j = 0, 1, . . . , N − 1. Take N = 8. Using your fft package obtain P8(x) and find a spectral approximation of the derivative of e sin x at xj for j = 0, 1, . . . …
• Suppose you are given the variables x and y, write a Boolean expression that evaluates toTrue if x and y both positive integers and x is less than y. Note that you may not use if_else statements for t…
• I’ve created a game with 8 rooms and in each room i got to collect an item to defeat a monster i just need samples of these below: Pseudocode or Flowchart for Code to “Move Between Rooms” [Write pseud…
• I have R code that I need to write in Python3 using jupyter notebook. Below is the R Code. I will attached what the output should look like: Problem 1: x&lt;-0:50 y&lt;-3*(1-exp(-0.1*x)) plot(x,y,type…
• Dataset Link: https://drive.google.com/file/d/1D-kWYaOVl1oklPOr9UJzVbSwdpqOdnBX/view?usp=sharing This is a transnational  data set  which contains all the transactions occurring between 01/12/2010 a…
• This project needs to be in python turtle. I am using VS code for this assignment.   You will start by creating two empty lists:  One holds the car names, and one the car colors.   Ask the user how…
• PLEASE HELP ME WITH THIS QUESTION USING PYTHON DICTIONARY OPERATIONS 2. Add New User Create a function to add a new user to the cust_data dictionary. Name the function as new_user(). To do this, follo…
• Create a subclass of your initial class, that: • set up an account with an initial balance and a concession rate as a percentage for passengers who are granted concession fares, for example students…
• Thank you! QUESTION 6 Which section in the UML holds the list of the class’s data attributes? a. First O b. Fourth O c. Third d. Second QUESTION 7 Which section in the UML holds the list of the class’…
• Cosine Similarity The cosine similarity calculates the cosine of the angle between two vectors normalizing it between 0 and 1. The cosine similarity score is given by the following formula   cos(θ)=…
• In this Jupyter Notebook, I’ve tried to generate a dictionary of dictionaries (called “nested dict”) from this CPTAC csv file, with the primary key being the “AML sample” and secondary key being “Gene…
• Given the dictionary states where the key is the state and the value is the population. Sort states on population and print the three states with the highest population and the three states with the l…
• For the following exercises, work with the adult data set. Use Python to solve each problem. Build a logistic regression model to predict the income of a person based on their age, education (as a num…
• how to write a program that finds that sum of first ‘n’ natural numbers and prints it. Where ‘n’ is a value that is entered by the user.
• Good morning, I have a question regarding this CS10 Question.   I have seemed to figure out the pseudo-code for this, but I don’t get the calculation. One of the projects here in course hero showed m…
• Can you assist me in the creation of this game. Input: !qnimmargorp Output: Programming! Create a function to choose random words: choose rand ( ) [5%] Define a list of 10 random words inside this fun…
• Please help how to edit the shellcode below to push /bin/bash in to the stack without using reducntant / ask. In Line ➊ of the shellcode mysh.s, we push “//sh” into the stack. Actually, we just want…
• import cv2 import tensorflow as tf CATEGORIES = [“one eye”, “tow eyes”] # will use this to convert prediction num to string value def prepare(filepath):   IMG_SIZE = 50 # 50 in txt-based   img_a…
• Problem description: Make a python application to simulate a book shop checkout system. The purpose of this assignment is to gain experience in python’s loop (while and for) structure, condition struc…
• Consider the modulus function. What is the output of the following arithmetic? &gt;&gt;&gt; 16%3
• 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…
• Case Study From the data provided on Hollywood movies: 1.Find the highest rated movie in the “Quest” story type. 2.Find the genre in which there has been the greatest number of movie releases 3.Print …
• Python Programming: The first part of the assessment requires a Python script that extracts web links from the  Current Estimates web page of the U.S. Census Bureau and outputs those links in a CSV f…
• I have a dictionary.I’ll attach the image. I wanna add ‘lcl’ word infront of every value of the dictionary. How shall I do it.
• Answer (a (b and (d please! Thank you! The question is completed. Definition of P(I), the output of a Python program. Let P be a Python program with respect to a reference computer system C. Suppose P…
• What is an attribute and note the importance? What are the different types of attributes? What is the difference between discrete and continuous data? Using RapidMiner or Python produce a graphic that…
• Please complete in Python. Review output examples in specifications. Thanks! 10. my_int: (18 points) For this problem you are to write a simplified version of the built- in int function. Just like int…
• Was wondering if anybody could help with the below as I am new to coding and this is the first time looking at unit testing with python. If anybody can help would you be able to leave comments so I ge…
• “Write a script that converts the count amount of letters starting from the end of a given word to uppercase. The script should take the word as a string and specify the count amount of letters to…
• . The Centaurs and Centaurides from Centauros have contacted Mr. Coder, an earthling, to create a program to simulate two games: Cornhole and Guessing Medals. The program should be menu-driven and s…
• “Wing 101 is permitted for this question.” The height (h) of an object is given by the following formula: h = V0 *t +0. 5* a*+ t2 Where V0 is the initial velocity, t is the time, and a is the accelera…
• Prime Numbers *** Professor comments : Your algorithm is close. It only fails with numbers less than 2. All numbers less than 2 are not prime*** Need help!!! Prime numbers are used heavily in math…
• How do I figure out the output for this. Program 1: K = 0 while k &lt;= 1: print (k) k = k + 0.5 print (&quot;done&quot;)
• Given a list of tuples like this one below how would I get the second value in tuple given a name? For example say I have the value Alphaitis how would I get the second value which is {“A”: “+”, “B”: …
• How to make a line graph using python language that shows a company’s profit over the past ten years. The file below contains the data required in order to generate this line graph. The file can be ca…
• 1 what will be the output of myarray=numpy.zeros((4)) ; print(myarray) * 0, 0 , 0, 0 [0. 0. 0. 0.] [5 , 4 , 3 , 2] error   2. Consider mytest= np.array([[100,200,300],[400,500,600],[700,800,900]]) . …
• #Task 3 #Complete the function that takes as input an integer for a number of days and prints the total number of seconds in that number of days import datetime def currentDate(x): currentDate(4) #exp…
• What would the code for the NY License portion be in PYTHON?. Part 1 – Password Strength Often when you create a password it is judged for its strength. The estimate of strength is compute by applying…
• Write a program with the following menu Press A – To calculate area of square Press B – To calculate area of rectangle Press C – To calculate area of circle Press D – To calculate area of trapezium Pr…
• Python Help Suppose that the tuition for a university is \$10,000 this year and increases 7% every year. In how many years will the tuition have doubled? Before you attempt to make a program, first con…
• This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user to input five pairs of numbers: A player’s j…
• . QUESTION 2 10 points Save Answer The built-in Python function that gives an object’s identity is: O a. memory() O b. id() O c. type() O d. identity() QUESTION 3 10 points Save Answer What is the n…
• . Problem 1.1: Python numpy and matplotlib libraries 1. Installing numpy and matplotlib libraries \$pip install mlxtend 2. Using libraries from command lines: &gt;&gt;&gt; import numpy as np &gt; &gt…
• PLEASE PROVIDE THE CODE IN SCREEN SHOTS IN THE INTERPRETER THAT YOU WROTE IT IN SO ITS EASIER TO LOOK AT THANK YOU IN ADVANCE   . C81026: Assignment 3 – Sentiment Analysis Due: November 17′”, 20…
• Please show work! def list_or (A) : X True for k in range(0, len(A) ) : x = x or (not A[k] ) return x B = [True, True, False, False] print (list_or (B) ) 5.13 Exercise: Trace through each iteration of…
• So far, we have a bunch of functions in a notebook. Ultimately, we’ll want to use three of these functions ( calculate_unique ( ) , split_dataset( ) and calculate_common () ) across different notebook…
• Need help Array Attributes 1. Creat a 4 x 4 NumPy array B1 filled with 1’s of type int. 2. Print the contents of B1. 3. Print the number of dimensions of B1. 4. Print the size of each dimension of B1….
• Function name: sent_split Parameters: sentence, delimiter1, delimiter 2, … Return: A list: containing all separated strings Description: You receive one sentence and uncertain number of delimiter s …
• BASIC 1. Create a python program that compute the GWA of Student wherein grades of Prelim, Midterm, Prefinal and Final are in array (e.g. [98, 87, 95, 82]) and the percentage are also in array form (e…
• Hi guys, would anybody know how to combine boolean arrays to find an average outcome between basketball games that have a spread between 3.5-6.5?    . 1. Evaluating basketball game predictions A bri…
• Write a  Python program to get the top stories from Google news.
• Make a PYTHON program to create in-order and pre-order of aa tree. Do not use recursive programming.
• Can you show me an instruction how to make a program that asks user to input a number and then determine what numbers in a list of numbers that are greater than the number entered by the user?
• Problem 4   Write a recursive function called totalDigits that give a number n returns the sum of the digits of n . Hint: you need to convert the number to a string in the function. In [ ]:1 # writ…
• Option #2: Program Corrections, Lessons Learned, and Home Inventory Program Your portfolio project consists of three components: Program corrections Lessons learned reflection Final program Assignmen…
• . A shop has following commodities with its inventory maintained in a dictionary: comm = {‘chair’: 10, ‘table’: 22, ‘sofa-set’: 2, ‘tv-unit’: 0, ‘fan’: 10, &quot;table-lamp’: 0, ‘iron box’: 0, ‘bed’…
• I am doing this game called “Guessing a random number” in PYTHON. This code was extracted from somewhere so I need it to be PARAPHRASE, making it UNIQUE . Please don’t copy it from somewhere on the In…
• a34gupta asked me for further details on this question flowchart for mentioned below two problems week4 P1: flowchart to solve a simple payroll calculation. the amount of pay, given hours worked, an…
• The internetusage.csv dataset contains different statistics for all 50 states in the United States. Among those statistics are percentage of internet users in the state and percentage of individuals w…
• Ok, for this question what do I need to do? I don’t fully understand the question , does it require insertion sorting? Please help! Do include a step by step explanation for the code, I really want to…
• For this project, you’ll “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, coun…
• Having trouble creating python code that rolls 2 dice 1000 times and shows total of rolls.
• helper: def transform_string(s: str) -&gt; str:     “””Return a new string based on s in which all letters have been     converted to uppercase and punctuation characters have been stripped     …
• Python code for this one as well as explanation please 🙂
• no chegg class CrocMonitor:   def __init__(self, name, age):       import numpy as np       self.locationList = []       self.path_history=[]       self.locationList=np.array ([])     ?…
• Write python code to check if any King is unsafe on the Chessboard or not.  Given a matrix board [8][8] .    NOTE: Use adversarial search find optimal solution.    White Side: K, Q, B…
• . 2.1 Problem 1 Load the iris sample dataset from sklearn (load iris() ) into Python using a Pandas dataframe. Induce a set of binary Decision Trees with a minimum of 2 instances in the leaves, no s…
• The following program has run time (number of operations) proportional to : n = int(input(&quot;Please enter n&quot;)) i = 0 total = 0 while i &lt; n: total += i i += 1 print(total) On^2 On On13 On^4
• 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…
• Write a program which can filter() to make a list whose elements are even number between 1 and 20 (both included). Hints: Use filter() to filter elements of a list. Use lambda to define anonymous func…
• If p and q are atomic properties of states and R is a transition relation, then the property q is an immediate successor to p holds if and only if for every state s such that p s is true, there is at …
• 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?…
• Hello, I need help with this program please Complete the program so that the output is similar to the example outputs shown below. Example : Welcome to the Number guessing game Enter an integer from 1…
• will give high rating if correct! Python Activity:  Given: (see pic)  Code for copy (Template – see below the picture)  class MinHeap: def __init__(self): #Filler for zeroth element to have the act…
• There is a StringAble that knows how to convert itself to a string for printing.  2. Make a new class of objects based on your answer to question  3. Make sure that it can convert itself to a str…
• PLEASE DO NOT USE FOR/WHILE LOOPS. only recursion.. Name Counter Function Name: lengthDict() Parameters: list of names ( list ) Returns: dictionary mapping names to length ( dict ) Description: At the…
• def create_randam_IP():      fuction that creates an IP address with random numbers in each Octet and return the created IP address      pass please write for me the function of the above pyth…
• If i have a matrix with multiple arrays and want to find the mean of each array how do iterate over each list separately. For example I have a function that calculates the average of a list and want t…
• Using a predefined abstract data class for a QUEUE, such as  ArrayQueue, which we defined in class, write the code to perform the following:   create 2 Queues called Q1 and Q2 that contain character…
• The following code defines the BankAccount class in Python: class BankAccount: def init (self) : self . balance = 0.00 def deposit (self, amount) : self . balance += amount def withdraw (self, amount)…
• Implement using Python, the “in-place heapsort” algorithm. Your implementation submitted as heapsort.py should allow for the sorting of the input list in either an ascending or a descending order. You…
• INSTRUCTIONS: 1) Python Programming  2) No use of built-in libraries and built-in functions 3) Use Functions name and parameter name is same as given in question. 4) I will give helpful for sure http…
• GETTING STARTED WITH PYTHON Begin your paper with a short Introduction. Then in a bulleted list, briefly describe the following variable types: Integers Floating point values Boolean Values Strings De…
• Could you write a code for this it’s an python small assignment. Thanks Technical/Grading Requirements You must ensure that the application you submit meets all the technical/grading requirements. You…
• # Q6 (3 points): # Create a function, exampleSix, which takes two input arrays # If the two arrays are equal in length, populate a new array with all values from the first input array multiplied by th…
• I got a very huge list of tuples (1,4)(1,6)(2,9) that represents ranges of days. What is the best aproach to get the least common days considering the list is huge and every range implies a list of da…
• how to write pythonic generator, fib(n) to calculate the first 5 elements of the Fibonacci sequence python please add some comments to make easier to understand
• In Python3-I have variety of static methods which are used to interpret and analyze sequence. I have completed the code for def getDiffs(seq), but I am struggling to get to get the other ones to worko…
• Naive Bayes for text classification In this question you will implement Naive Bayes as a technique for spam filtering. This method works fairly well for certain text classification tasks. This is inde…
• . NOTE Your returned string should mimic the structure and content of the output provided in the example output below. Template &quot;&quot;&quot;Perform credit card calculations.&quot;&quot; from a…
• A program that adds the numbers 1/2 to itself and 1/3 to itself a large number of times. It is to then compare the values of adding the numbers to multiplying 1/2 and 1/3 times the number of times the…
• Could you help me come up with a python command for this question? Thanks  4. Create Python program code using a for loop. It will calculate and print the average GPA. of 25 students in a class.
• 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…
• What is the code of def best_rank(names, name, year)?   For more information, can check out this webpage: https://web.stanford.edu/class/cs106a/handouts_w2021/homework-6b-babygraphics.html. c. best_r…
• The braking part won’t work in my code and idk why. Please help. #Create car class class Car: #Constructor def __init__(self,model,make,speed): self._make = make self._yearModel = model self._speed = …
• Write a program to fetch the words from the given list which have their first character in uppercase. namesList = [‘santa Maria’, ‘Hello World’,’Merry christmas’, ‘tHank You’] Output: [‘Maria’, ‘Hello…
• Filename : assign6-1.py Script that takes the input shown below and produces the output. Assume each string in the input represents a patient record. The first value is the patient’s name, followed b…
• I have created a few codes, and I wonder that in each line, I need help in explaining in # comments which tells what is happening in that line of codes.  . 4 5 v class Rectangle: 6 7 def _init_(self,…
• What will be the data type x after the following statement ?  X=[ 2290,376,198]
• I am getting several errors from the coding in this program I’ve done. #main function def main():     input_data() #input function to take lenght, width, height def input_data():     L=float(inp…
• python pycharm   Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700 (both included). Write a Python program to convert temperatures to and …
• Write a program with a function that accepts a string as an argument and returns a copy of the string with the first character of each sentence capitalized. The program should let the user enter a str…
• Question 5: Demonstrate Your Understanding [5+5 marks] In the class we discussed the examples of earthquake and students’ grade using if-elif-else structure. In both of these examples, the order of te…
• . Q2. (5 points) Let’s look at using some complex SQL queries to find data from a database containing 2 tables : employees and departments. The employees table will have the following columns and…
• 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…
• Need help solve these def sqrt (n) : Sections 6.12-6.13 **6.22 (Display current date and time) Listing 2.7, ShowCurrentTime.py, displays the current time. Enhance this program to display the current d…
• . CHALLENGE ACTIVITY 4.2.2: Basic if-else. 375510.2350218.qx3zqy7 V Jump to level 1 Write an if-else statement for the following: If num_difference is equal to -16, execute total_difference = -25. E…
• PYTHON PLEASE, NO FOR LOOPS OR LISTS, JUST WHILE LOOPS. I included the graphics file referenced. The purpose is to create the graphic shown and have the mountain, pond, trees, and grass growing/shrink…
• Using recursion COMBINED with a for loop:   def flatten(thelist):    “””    Returns a COPY of thelist flattened to remove all nested lists        Flattening takes any nested list and recursiv…
• Write a function execute2_Ids (plan, start, capacity) that takes a plan in our language as a list of moves, an initial start location of our truck, and the (integer) capacity of our truck, and returns…
• Code using python :    1. What percentage of deaths were caused by covid?  line graph of avg with Y(for different months-facet) 2. How to estimate deaths in U.S. by racial/ethnic group?  Use th…
• I am using jupyter for my python coding and I would like to clean up my dataset (excel) using python where 1st column B indicates the Year and Column C indicates the Air Freight Traffic Vol in Million…
• Decompose the problem into sub-problems. Use the &gt; notation and state in brackets the type of the problem and of each sub-problem. Choose the patterns for the subproblem types you identified, ins…
• read_ndfa has an open (file) parameter like this:     def read_ndfa(file : open) -&gt; {str:{str:{str}}}:   The contents of the file are (just copy them into a txt text) start;0;start;1;start;0;nea…
• Question: Programming in Haskell This problem has two subproblems. A recursive function merge :: Ord a =&gt; [a] -&gt; [a] -&gt; [a] thatmerges two sorted lists to give a single sorted list. For examp…
• Hi, I am stuck on how to get the 1 st option going on here. I am not 100 % sure I have my data formated correctly. I do know I need to “Display all U.S. States in Alphabetical order along with the Cap…
• 2 . The function header marks the beginning of the function definition. a. True b. False
• A hotel salesperson enters sales in a text file. Each line contains the following, separated by semicolons: The name of the client, the service sold (such as Dinner, Conference, Lodging, …
• Write a Python program that  ask  the user for a positive number of names to enter  ask the user to enter that many names  prints  a count of the number of names with at most 4 characters     e…
• Generate a quadratic model with y=x+x^2+e. x and e are both vectors which are normal mean 0, variance 1. Generate a monte-carlo sample from this model with length m = 20.  Use the functions  trai…
• What is a pseudocode statement that declares a variable called  firstName  and initializes the variable with your first name.
• Suppose our turtle Tess  is at heading 0 — facing East. We execute the statement  tess .Left(3645); What does  Tess  do, and what is her final heading?
• # First let us complete a minheap data structure. # Please complete missing parts below. class MinHeap:    def __init__(self):        self.H = [None]    def size(self):        return len(s…
• Please help with exercise 3 My Classes Help Timer: 3h 39m 26s Submit Details Gra jupyter problem0 (autosaved) Control P Edit View Insert Cell Kernel Widgets Help Not Trusted | Python 3. + 8 2 + 6 H C …
• Please help me to solve KNN function and pick k. The full code will be bellow. Help me to fill out ENTER CODE HERE line! Build and test a Nearest Neighbors classifier.   Load the relevant packages. #…
• Exception Handling You decide to upload your recent project to a programming community website for feedback, and one thing that community users keep pointing to is the lack of exception handling. Real…
• Step 5: Explore the distribution of the states 11′). Write a function that takes two parameters. The ﬁrst is a vector and the second is a number 11. The function will return the percentage of the e…
• 1 write  program that prompts the user for a list of numbers and prints out the maximum and the minimum of the numbers at the end when the use enters “done”. You must save the numbers in a list bef…
• Why can’t lambda forms in Python contain statements?
• Write a generator function that produces each intermediate numbers of calculating the square root using the algorithm below. For example, for x in squareroot_generator(5): print(x) will print all the …
• A program that prompts the user to select either Miles-to-Kilometers or Kilometers-to-Miles, then asks the user to enter the distance they wish to convert. The conversion formula is: Miles = Kilometer…
• Now, using the NYC Housing data, we will explore a classifier based on Bayes rule. Again, we’ll use only the first two features of NYC Housing, shuffled and split in to training and validation sets as…
• Hi, I am having an issue when I write my code. I am so confused and i need your help please. Part 1 is my code program from Learning Journal Unit 7. I tried to put it together but it does not work. P…
• Data scientists have drawn a simple random sample of size 599 from a large population of adults. Each member of the population happened to identify as either &quot;male&quot; or &quot;female&q…
• Assume s is a string.  Write a program that prints a substring of numbers, the longest substring of s in which the numbers occur in ascending order and compute the average of the numbers found. For e…
• Can I have help with this python code in PyCharm!  Here is the previous code for it: def create_list(rows, cols):      ”’Creates a two-dimensional array.     Args:         rows (int): The n…
• Need the answer immediately Give the position numbers As already code is present Write a program to calculate and print out the total amount payed in a coffeeshop. The bill is stored in a file bill. t…
• ormalization(fname, attr, normType) This function takes in the location of the data file, the attribute that has to be normalised (one of the values from ‘Open’,’High’,’Low’,’Close’,’Volume’) and the …
• 1) The question screenshot has been attached down below:    . A B H E For this question you must evaluate the result of this circuit if inputs B, D, F, G, I, and L each have a value of False, and in…
• Function name:    sent_split Parameters:    sentence, delimiter1, delimiter 2, … Return:    a list: containing all separated strings Description:    You receive one sentence and uncertai…
• Assignment 2 – Class, data structure and encapsulation Due Date: February 25th 2022 at 23:55 Percentage overall grade: 7% Penalties: No late assignments allowed Maximum Marks: 100 Goal: refresher of P…
• Download and install JES (Jython Environment for Students) from the Media Computation Teachers Website. Search the Internet and find a photograph of an antelope. Similarly, search the Internet for a s…
• need help coding. Problem 7: Coins Sometimes problems are a lot simpler than you initially imagine. Write a function that takes an amount tot in dollars and returns a list: [q, d, n, p] where q is …
• Design Tic Tac Toc game using python 3.7 or 3.8 . Explain each line of the code with comments. Submit screenshoot of the code Requirements: 4. At the minimum, your code should include a least one of e…
• The markup of an item is the difference between its selling price and its purchase price. Two other marketing terms are. percentage markup = markup &amp; profit margin = markup purchase price selling …
• Part 2 How some classification methods can be used to  generate rankings instead of class labels , and how these rankings can be used to generate multiple confusion matrices for the same classifier….
• Help with a Python program to do the following: (a) Use the range function to generate this sequence of integers: 5, 9, 13, 17, 21. Use a for loop to display this sequence. (b) Use the range function…
• . Homework 5 : 1. In the cell below, write a class named by Ticker” with three attributes including stock ticker, start date, and end date. In [ ]: class Ticker(): 2. In the cell below, write a fu…
• Write the code for a Python function called: ” getGenBankData ” that accepts a loaded GenBank dictionary from Question 1 and 2 integer values ‘a’ and ‘b’ such that ‘a’ will be less than ‘b’ and both ‘…
• Write below programs in python Exercise 2.1 Create a class “User” with “first”, “last”, and “age” attributes. –       Create an object of class “User” –       Print objects attributes: fir…
• Calcular los presupuestos de resultados, de tesoreria y de balance a 31 de Enero.
• . The dataset testing results for healthy. The dataset consists of 263,007 records and 10 input features plus 1 binary outcome &quot;result&quot;. Feature Description Data type Age 20 integer Sex 0 …
• Assignment Overview Science has provided the miracle of a vaccination for the pandemic—contrast the 1915 flu pandemic where Dr. NAME lost his uncle. A challenge has been getting everyone vaccinated….
• Hi all, I’m trying to understand how to derive the time complexity for the recursive algorithm below. How can I derive base 2? What are the missing steps between the two bold lines?   def Fibonacci(n…
• Please help, thank you (Python code below) Exercise Description Write Gerkin test scenarios (Given, When, Then statements)  describing tests for Full Retirement Age calculator. Grading Elements Scena…
• Hello, I have a question about mixed integer linear programming. I will first describe the case: Store manager Ton is the owner of a store. His store is a franchise of A&amp;J, which gives guidelines …
• . For this problem, write a program to: 1. Construct a bigram language model from a training corpus using Add-k smoothing 2. Compute the perplexity of your model on a test corpus 3. Compare the perp…
• Would you help with this code? I have the general layout right, but I don’t know how to get the newlines as it wants. The second image shows the problems with the output of my code. The last image sho…
• 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…
• Python code that takes in an array of integers and prints out all pairs of integers from the array whose sum is a prime number. For instance, if A = [2, 9, 1, 8], the outcome would be (2, 1) , (2,9) a…
• You are a dedicated player of the game League of Legends. You would like to know which champions (characters) you never win with. Let match_tup1es be a list of tuples. Each tuple in match_tup1es conta…
• Kindly answer this. I badly need it. Thank you!   How can matrix operations solve problems in technology?   I will give you a helpful rate.     Note: Please, if you don’t have any ideas for this e…
• Based on code below, plot on the Heatmap those frequent violators who have obtained 3 business licenses or more under the same DBA Name through out the liftime of their business. data set looks like t…
• Implement the find1() and find2() in Python find1(k, n)             // find value k in tree rooted at Node n using a while loop find2(k, n)            // find value k in tree rooted at No…
• Greedy Residual Fitting: The relevant link: https://drive.google.com/file/d/1Mvt3EDArVGdIEiN9h-OmvhB6yfApIGt0/view?usp=sharing We start using a greedy approach to multivariate regression. Assume a dat…
• I need help finishing the starter code for this assignment.   You will select data from a database, process it, and create a visualization using Matplotlib. I included the links to the code and datab…
• def move_vertical(yposition=0, direction):     ”     Move a game piece 1 unit along the y axis.     : param direction: +/     ” new_yposition = yposition + direction if new_yposition &lt; …
• I need help in sentiment analysis and finding reviews with a .csv file that are ‘comparative opinions’ as written in Jindal and Liu textbook.      ‘Comparative opinions have different semantic mean…
• Uses and Manipulates Both One and Two-Dimensional Lists, and uses Tuples : Design solution in following manner: 1.Create table using a two-dimensional list that stores a Fahrenheit temperature and…
• Why does the following return nothing when I run the code. def main ():   workingList = [‘pilot’, ‘teacher’, ‘writer’, ‘programmer’]   print(workingList.index(‘teacher’))   print(‘writer’ in wo…
• How do you write a variable declaration for larger_magnitude that contains the absolute value of the number that’s furthest from 0?  . We’ve set up this code challenge so that the ﬁrst number will …
• 1.1. Function string2bin This function takes a string and converts it into a list of bit lists. Each row in the list (meaning each inner list) contains the bits that encode the ASCII value for a si…
• Attached is the Bionet file of restriction enzymes (a small sample of it anyway). These types of files are repositories that list all the restriction enzymes and their associated cut sites. After a fe…
• Fill in the blank. Type in your answer using all lower case letters. Although this question is mentioning multiple variables, the answer is a singular word. In the program listed above the variables s…
• py &lt;—- this is what code is provided   # write all your code here filename = “EARTH_horizons_results.txt” # populate ‘positions’   # plot     EARTH_horizons_results.txt &lt;—- below is…
• A stack is a sequence container type that, like a queue, supports very restrictive access methods: all insertions and removals are from one end of the stack, typically referred to as the top o…
• PLEASE FOLLOW THE INSTRUCTION. NOT BY YOUR WAY PLEASE. I will give you thumbs  up o r ……… THE  CODE MUST RUN. IT MUST BE BY MULTIPLE  CLASSES . Thank you very much. the language is Python Pro…
• We often need to determine quickly whether or not some values are the same, or are different, or are in sorted order. For this first part of the assignment, you will write several functions to answer …
• #1.  Five Star Retro Video rents VHS tapes and DVDs to the same connoisseurs who like to buy LP record albums. The store rents new videos for \$3.00 a night, and oldies for \$2.00 a night. Write a prog…
• Make your own class of a real object. Must contain: 5 instance variables ( 1 should be private ) Make at least one method that updates one of the instance variables with parameters Make at least one m…
• Web Scraping: use BeautifulSoup to scrape table to the DataFrame   ‘https://en.wikipedia.org/wiki/List_of_countries_by_carbon_dioxide_emissions’   Columns needed : [‘Country’, ‘2017 vs 1990: change(…
• Write a program that uses the Vigenère cipher to encrypt and decrypt messages.  Your program will prompt the user to either encrypt or decrypt a message, the message itself, and the encryption key.?…
• Please solve this urgent cebook – Log In O… New folder. Import to Loox Edit Email # AN INSTITUTE ER EDUCATION VitalSource Help Password Change ations of Programming units BISY1003/ISY1003/ISY104 T2 …
• Sentiment Analysis Using Texblob Retrieve and display text of a web-page  Article to use: https://www.nytimes.com/2021/04/29/us/politics/joe-biden-speech-transcript.html Remove the introductory parag…
• Need done ASAP! Will give a thumbs up if answered correctly! Here’s the anat file since it was too long to post in here:    https://docs.google.com/document/d/19fxBzDFpEpfAgf9m_XWvOOHD23YXXpBr5LYzhh…
• QUESTION 1   x = 3 sum = 0 while (x &lt;= 5):   sum = sum + x   x = x + 1 print(sum) The output of the above code is (i.e. the value of sum is): 12 [True/False]      True  False
• csv:   test_data.csv:  . Problem 1 (60 points) X 2 . 0 – 0- Test data -5 -2 Test data Training data Training data Z 20 10 – Test data 0 – Training data 10 20 30 40 50 60 Time (s) Figur…
• a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the output is: 3
• My professor followed up with: “Looks like you have got a correct response here for one of the cases that the test cases runs and that is fantastic.    However, when you wrote the code, did you t…
• Design a python application that prompts the user three times for three number values (integer or float) one by one. The application prints these three values and finally calls a value returning funct…
• Exercise 1 In [21]: def f1 ( lst ): r = 0 n = 100 if len ( lst ) &lt; n: n = len(lst) for x in range ( n ): r + = x Read Only Hypothesis: f1 = O(?) ← fill in your hypothesis here In [22]: # coll…
• 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…
• see . Knowledge/ Understanding (15 marks): Multiple Choice: Enter the correct answer in the table provided. (15 x 1- 15 marks) 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1. Given the following code segment: a…
• Install Anaconda and Jupyter Notebooks. ( I already did) Open [insert file] and follow the instructions. ( how can I do this )
• Let’s say you have a list saved in a variable: c = [3, 6, 7, 24, 27, 32, 45, 66, 77, 86]. Write Python function that takes this list c and makes a new list that has only the odd elements of this li…
• Please help me to write the Python 3.7 code following the instructions. Thanks a lot. In this question, you are going to implement a human vs. human version of Notakto. Notakto is a tic-tac-toe varian…
• In a Python file L9q1.py, write a recursive method, power, to compute &quot; by using the following recursive formula: x=1 ac&quot; = (ac&quot;/2)2 if n &gt; 0 and nis even . an = x(x*/2)2 ifn &gt;…
• import numpy as np import pandas as pd import statsmodels.formula.api as sms internet = # load the file internetusage.csv model = # fit a linear model using the sms.ols function and the internet da…
• Problem 4 (Bayes Classification) [15 points] See Problem 8.1 in the textbook: Personal Loan Acceptance The dataset contains 1500 applications.
• Individual Retirement Accounts Money earned in an ordinary savings account is subject to federal, state, and local income taxes. However, a special type of retirement savings account, called a  tra…
• Create a application using PyQt. The user must enter the names of ten Olympic sports that should be followed. These sport names must be added to a list. The application interface must include at least…
• 1 Section 6.2 of your textbook describes incremental development . As an exercise, use incremental development to write a function called hypotenuse that returns the length of the hypotenuse of a r…
• Problem: 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.grif…
• import random import math # Stores the vnode to node mapping # Composed within a node so that every node has its own vnode mapping class VirtualNodeMap:    def __init__(self, node_names, TOTAL_VIRTU…
• py 4.17 LAB: Flip a coin    a program that simulates flipping a coin to make decisions. The input is how many decisions are needed, and the output is either heads or tails. Assume the input is …
• 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…
• I need a step by step explanation to solve this because I know I need to add another float input but I am not sure where considering it needs to be able to input random numbers. I included the code I …
• Describe how  catching exceptions  can help with  file errors . Write three Python examples that actually generate file errors on your computer and catch the errors with try: except: blocks. Incl…
• def is_word_chain(word_list): “”” ——————————————————- Determines if a list of strings is a word chain. A word chain is a list of words in which the last character o…
• Alarms The program should enable the user to schedule and cancel alarms. The alarm should notify the user when the relevant time is reached. Also, alarms that have gone off get recorded in notificatio…
• I need this to be in simple code very simple don’t make it complicated. Also I need the code to be organized so I can understand it. And please explain everything you do.. 8. Lee has discovered what h…
• PYTHON PROGRAMMING Part 6: Average Quiz Score, with Lowest Dropped (10 Points) &gt;&gt;&gt; File name: part6.py If you haven’t already, read the list of prohibited functions at the beginning of this d…
• How can I simplify this with identificator: the distance as the crow flies is given by this mathematical formula: 2 * atan2(sqrt(sin((c*pi/180-a*pi/180)/2) * sin((c*pi/180-a*pi/180)/2) + cos(a*pi/ 180…
• In the following program, called INC, (*) is a Boolean expression that evaluates non-deterministically to either true or false each time it is evaluated (different evaluations may yield different resu…
• Exercise 3. (Primality Test) Write a program called primality_test.py that accepts n (int) as command-line argument, and writes to standard output if n is a prime number or not. &gt;_ &quot;/workspace…
• Hello Partner, I am having issues with my python module here which they are several “#TODO” instructions to work on this script. I am trying to create a dashboard to connect into MongoDB as followed i…
• Part 2c: Number Analyzer Next, write a program that prompts the allows the user to analyze numbers within a given range for numbers that fit the above criteria. The program should continue to execute …
• I am working on the code pasted below.  Every time I enter a move , North, South, East, West or exit I get ” Invalid move”  can you help me in debugging this code for my IT 140 Coding class?     C…
• 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…
• import stdio import sys # A data type to represent a 1-dimensional interval [lbound, ubound]. class Interval:    # Construct a new interval given its lower and upper bounds.    def __init__(self, …
• Python question   Code the following task in two different ways(show executions in two different cells): first, using “if”; second, without”if”:Given a string, use a dictionary to obtainthe counts of…
• answer each part separately please. Consider the dataframe (df) provided below. Please perform the following tasks: . (1.a) Write a Pandas program to replace all the NaN values with Zero’s in a column…
• Intro to Python: Blackjack with Dictionaries We are going to enhance this program so it simulates a simplified version of the game of Blackjack between two virtual players. As you can see, this is not…
• I need complete codes. The IDE to be used is PYTHON only.. 1. Write a program that will compute an area of a regular polygon with a given number of sides and its length Requirements: a. Your program m…
• Given a heap H and a key k and using python, give an algorithm to compute all the entries in H having keys less than or equal to k. For example, given the heap in figure 9.12a and query k=7, the algor…
• Assignment – Regression 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/Face…
• Q 1. Write a Python script to perform any necessary pre-processing so that the data becomes suitable to be used by scikit-learn neural network classifier.  (the google drive  link to the data is giv…
• Question as persented to me (via zybooks) Tiny Sales Company: Phase 1 (1) Build the ItemToPurchase class with the following specifications: Attributes (3 pts) item_name (string) item_price (float) ite…
• function named is_even that accepts an integer as an argument and returns True if that integer is even and False otherwise. Use the function in a program that prompts the user to enter an intege…
• Please read the prompt below. My code has the following error that is not allowed and I need it to be fixed. Based on the output, I need to count the words vs distinct words. Words means all the words…
• Using python, allows a user to enter the values of two, 3×3 matrices and then select from options including, addition, subtraction, matrix multiplication, and element by element multiplication. You sh…
• Describe how  tuples  can be useful with loops over  lists  and  dictionaries, and give Python code examples. Use your own code examples. Your descriptions and examples should include the fo…
• my code is not returning alkaline.txt.bak, it is only returning alkaline.txt, can someone help fix? def backup_file():   “””Makes a backup of a file. Your program should   prompt the user for the …
• import random def main(): greetings = [‘Hello’, ‘Hi’, ‘Good morning’] print(random.choice(greetings) + ‘, welcome to my website\n’) input(‘Are you a human? ‘) print(‘Oh, never mind\n’) ans = input(‘Ho…
• Need help with this Python assignment  Link to the assignment on comment.
• Problem a: Based on the Python source code regression example in the attached file, apply the polynomial feature and fit the diabetes data set. Plot your new model and compare it with the linear model…
• input a function displayAges. This function has 3 arguments: names: list of strings with names of each person birthYears: list of integers with the year of birth of each person year: an integer with a…
• 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…
• In this task, we are going to write a program test6.py that reports Consumer Price Index and its average value for any year selected by the user. Additionally, the user will be able to choose the mont…
• 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…
• The dice game is a turn-based dice game that allows two players to compete to see who can reach a desired score first. Players take turns selecting a combination of dice to roll, with the values of th…
• Make a Python program to perform in-order, pre-order and post-order traversing of a tree recursively. Test it with a driver code
• Here are the link for the questions and there are some code i try on notebook please continue with that    https://drive.google.com/file/d/1-dwuDxZGyVPs1loAbZ7UZRjR5gdhjRXo/view?usp=sharing
• Problem1: Problem 2: Problem2 children.ad file: Would you help me to fix these problems please? I feel stressful. Welcome to the Adder REPL . ?? ? a gets 1 ? ? ? input b Enter a value For 6 : 2 PPP CR…
• please send me any document which is helpful to learn  Manhattan distance with python coding without using sikit-learn . for example how can i compute target features missing value with manhattan dis…
• parameters are (list of list)-&gt;list of list need a function who returns the same list given in parameters after modifying the execution results. &gt;&gt; manipulerMatrice ( [ [10 , 20, 30] , [40 , …
• Assignment 7 (40 points) Problem 1: (40 Points) Eureka Lumber Company would like to calculate the gross pay for its employees. The employees’ information is stored in a file as Requirements:  Record …
• Implement a method, concatenate(Q2) for the Lin kedQueue class that takes all elements of LinkedQUEue Q2 and appends them to the end of the original queue. The operation should run in 0(1) time and sh…
• This is the link for the original data: https://archive.ics.uci.edu/ml/datasets/Census-Income+%28KDD%29 This is the resource for the decision tree: https://scikit-learn.org/stable/modules/tree.html  …
• program with explanation for my notes please? Program should show: with total change amount as an integer input that outputs the change using the fewest coins, one coin type per line. The coin types a…
• Write a python code to print out the following pattern. The width and the height are equal and provided by the user via input() function. A robot moves in a plane starting from the original point …
• Good Evening, I have several questions. 1.Directions: make a list of the odd numbers between 1 and n (include 1 as well as n — if it’s odd– in the list). Associate the list with the variabl…
• Computing Distances   Given two points, the formula for computing the distance is       program that prompts the user to enter two points and computes the distance between them. Note that each poi…
• python code for it. use basic code as much u can Manually creeate an excel file in which there are 100 unique words in each of four columns of the spreadsheet. (therefore a total of 400 unique words) …
• 1 Demonstrate the correct  flowchart symbols i.e. input/output, process, decision making and so on   2 Requirement list includes any standard incident response methodologies like SANS, NIST Incident…
• I have to work on this class, but am having trouble with this part. The rest of the task is in the document for further context, although I only need help with what is below as of now. Restrictions: -…
• Assume that a file containing a series of integers is named numbers.txt. Write a program that calculates the average of all the numbers stored in the file. Sample Run 49.6↵
• py code from Calc_state import Steam_SI as steam from Calc_state import SatPropsIsobar import numpy as np from matplotlib import pyplot as plt #these imports are necessary for drawing a…
• Trying to add user input to each list for Cartesian product. What am I doing wrong? listA = [ 1 , 2 , 3 ] # input lists listB = [ 4 , 5 , 6 ] product = [] # stored list for output def main () : print(…
• For example, we have some people classify the sentiment of a couple of sentences. There are two classes: pos (positive) and neg (negative) The classified sentences are listed below   semantic_data = …
• if x % 2 == 1: if x**3 != 27: x = x + 4 else : x = x / 1.5 else : if x &lt;= 10: x = x * 2 else : x = x – 2 print (x) what does this code print if x == 6 what does this code print if x == 3 what does…
• . MA only Reminder: 0(B) = 1 – 0, B – 0, B2 – … – 0,Bq C from statsmodels. tsa. arima_process import arma_generate_sample AR = [1] MA = [1, -theta_1, -theta_2, … ] Z = arma_generate_sample (AR, …
• US Population: First, we need to copy, paste and save the file below as USPopulation.txt 151868 153982 156393 158956 161884 165069 168088 171187 174149 177135 179979 182992 185771 188483 191141 193526…
• iv) Outputs a complete list of the production numbers along with the details of factory number and model number, and production goal e.g., Factory #1, Model #1: Goal units: 85 Production units: 79 If …
• 04 – Is there a way to put this into numbers 10 coding python Given an input string, return a list containing the ordinal numbers of each character in the string in the order found in the input string…
• Some diseases are the result of a single letter genetic mutation. Cystic Fibrosis (CF) is one of these. Usually CF is fatal by age 28. There is a treatment for CF that is very effective. The p…
• Type the statements below into your Python interpreter.  For each statement , copy the output into your Discussion Assignment and  explain the output . Compare it with any similar examples in the te…
• Write pseducode for the following: Design an If-Then-Else statement that displays “Discount Applied” if your age is younger than 7 or older than 65, otherwise it will display “Regular Price” Write the…
• Write three Python examples that actually generate file errors on your computer and catch the errors with try: except blocks. Include the code and output for each example in your post.
• THE TASK AT HAND Let us assume that you work for a Nike warehouse. Your role is that of a store master, meaning you are responsible for managing the warehouse, and more importantly, doing stock taking…
• def check (command_list, vars) : n = len(command_list) se = False if n == 1 and command_list[ 0 ] != “quit” : se = True elif n == 2 : if command_list[ 0 ] != “print” and command_list[ 0 ] != “input” :…
• This is a python assignment which need to finish the code based on the skeleton. I could just write a few of the codes so that I need the help. Please including the annotations if it’s possible then I…
• Parking bays: You should model special cells/zones for the cars to park in. These can have different types – e.g. staff/customer/short term/taxi/disabled/parents parking. Prompts: How will your car…
• . Problem 3: Dr X Cipher Dr X comes up with an interesting way of encrypting messages. The algorithm uses a text-key to encrypt the plain text, and the key is constructed partially from the plain te…
• Regarding flow charts utilize the symbols to guide you through the proper function creation and mathematical operations to complete this task and please put comments. we need to use  utilize the mat…
• function in this file called nine_lines that uses the function three_lines (provided below) to print a total of nine lines?
• [Selection and Loops in python] Please help. Don’t use functions. I put an example of a well-formatted table. Thanks!! Example of a well-formatted table:
• There are myriad approaches to fixing code that doesn’t work, but one peculiar-sounding bit of advice is to add commenting . What would that actually do, and why might it help?
• test: MAX = \   [(‘max’, ([10, 4, 6, 2, 1]), 10),    (‘max’, ([1, 4, 6, 2, 10]), 10),    (‘max’, ([-11, -40, -60, -20, -10]), -10),    (‘max’, ([-10, -40, -60, -20, -11]), -10),    (‘max…
• Make a Package which has atleast 10 directory/ function inside of it. Make sure that your package is functional like in built in package (math() in python there’s math.ceil(),math.comb(),math.fabs) Ps…
• Post a Python program that contains an array variable whose values are input by the user. It should the perform some modification to each element of array using a loop and then the modified array shou…
• Can you help me to answer the following questions? A solution to the MCGW problem can be expressed in different forms, but it is not as simple for human to verify whether a given solution is correct. …
• What would be a python program that reads in a txt file from the command line containing “hello world 6” and then create an output file which would contain “hello world/n” six times. The command line …
• Functions17: Turtle Mural part 1 You are interested in painting a mural that you designed with turtle using only a circle, a rectangle, and a triangle. You need to calculate the area that will need to…
• Write the function printTwoLargest() that inputs an arbitrary number of positive numbers from the user.  The input of numbers stops when the first negative or zero value is entered by the user.  T…
• 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 …
• can you tell me what goes wrong? please tell me how to fix this. if you have different code for this problem please show me as well Problem 2 (List Methods): You are given N positive numbers. Store th…
• I received a response to this question before. My concern is that the “in Python” was left off the initial question. The answer is a function can be called multiple times but, does that hold true for …
• a python language, program with total change amount as an integer input that outputs the change using the fewest coins, one coin type per line. The coin types are dollars, quarters, dimes, nickels, an…
• For this interactive assignment, one needs 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 2. D…
• can you help me with a sample of python program Using simple functions which passes on user inputs to a function which performs the operation and returns the result which will be displayed on the cons…
• PYTHYON LANGUAGE PLEASE!!       Question 1:  Using classes and instances, create two files, one will be a class file (circle.py) and the other testcircle.py that constructs three circle objects wi…
• Define a function called  mult_both  that has two integer parameters:  int1  and  int2 . The default values for  int1  and  int2  are 3 and 4 respectively. The function’s return value should …
• At a local adoption site [or puppies, 40% oi the puppies are Goldehs. 25% of the Goldens are going to be small adults, while 30% of the other breeds are going to be small adult dogs. What is the proba…
• Create a function that computes log likelihood knwing that data comes from negative binomial distribution. Part 3 Creat
• Hello there, the shopping list has to let the user add, list, and delete items *The program should be modular*. For example, you will want to have an add_item(shopping_list) function, a delete_item(s…
• Please write a code in python to make the plot, and include your code in the answer  0 5.384889 0.2 7.148663 0.4 0.264204 0.6 6.826888 0.8 5.943167 1 10.43035 1.2 9.840785 1.4 12.50944 1.6 8.220311 1…
• https://app.snipsave.com/snippet/P5vGwlxCQ8k0sJg95T    The initial code is in this link above.   1. At the end of the game, create a variable “hero_name”. Using the function input(), ask the user t…
• 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…
• Problem 4.3 [30 points] Purpose: Use a for statement in a practical science/engineering program.   Did you know you can calculate integrals (that is, find areas and volumes) by throwing darts? It tur…
• python-please help asap! 1 Animated Linked List In this project, you’re going to be doing an animation, but this time, you will be animating insertion into a sorted linked list. So, while the pictur…
• https://drive.google.com/drive/folders/1UwgDbN-rq9-g6jKlXD_xjv2gUTu9wgZt?usp=sharing the link for the csv files   need help. 5. In addition to the average rating above, we also want to count the tota…
• Save the attached file lab3_file.txt to your folder in which you will save the all the test files. Do not change the name of the text file. 2.   Open the file lab3_file.txt in Read mode 3.?…
• he purpose of this assignment is to use Python to merge several photographic elements into a single photo. Search for and download a photograph of a jackrabbit. Use the web to search and download an i…
• 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…
• Show how to establish a binary bypass in Python. 2.Show how to establish a binary choice in Python.
• how would you write a python coding that will accept any number of floating-point numbers. When the user prompts “done”, the program should report out all of the numbers entered, the count of the num…
• what Is the answer What would be the output of the following program? Please note that the operation x % 10 (i.e., x modulo 10) is always the same as the rightmost digit of x (e.g., 123 % 10 = 3). nn …
• write a python program…. . Write a Python program which asks the user to enter his / her annual salary. . If the salary the user entered is 100,000 or more, display a message, &quot;You are doing we…
• Define the function reverse(lyst, start, end), which reverse elements in the list lyst, starting from the element with index = start, ending with index = end – 1. For example, if lyst = [7, 2, 5, 9, 0…
• Make a function using a while(len(word)&gt;0) loop that:  Prompts the user to enter a word; may use more then one input statement in function ( word stores the users input)  Calculates the number of…
• A non-governmental organization needs a program to calculate the amount of financial assistance for needy families. The formula is as follows: 5 pts ·       If the annual househol…
• Write a program that contains following functions: Define function rand_generator( ) that generates a random integer number between 1-200 and return it. Define function check_odd( ) that gets a number…
• # load the necessary libraries # load the dataset df = # subset the data containing pts, elo_i, and win_equivalent x = # code to subset the data # subset the data containing the labels y = # code to s…
• . 7. (12 points) Define a &quot;lock&quot; class. Each instance should contain a location attribute, passed to the instance at creation time, and an unlocked attribute (Boolean) that defaults to fal…
• I was told to revise because ” The wording of this question may…   I was told to revise because “The wording of this question may indicate that you intend to submit a tutor’s work as your own. Plea…
• 5.1:   Writ e a python program that does the following: ·     takes as input from the user an English sentence ·     calls the function vc_counter() that: o  takes a string argument o…
• In cryptography, a Caesar cipher is a very simple encryption and decryption technique in which each letter in the plain text is replaced by a letter a fixed number of positions down the alphabet. For …
• Every time I close the turtle window without waiting for the program to finish running, it gives me a traceback error. Only time it doesn’t give a traceback error is when it finishes running and I clo…
• Scrape the follower-followee network by companies. (5 points) * Define a function to retrieve the follower-followee network of a list of twenty accounts of U.S. FT companies. * The input will be a…
• Worksheet on primitive values. (A primitive value is of a built-in type like int or float.)   As you answer the following questions, imagine that we have designed a data definition named Piano tha…
• Create a program for Nos Encanta Tu Interés credit card company that: a) Allows the user to enter their name, credit card number, beginning balance and monthly interest rate b) For the next full year…
• def solutions(board):        def empty_fields(board):        n = len(board)        res = []        for i in range(n):            for j in range(n):                if not …
• Computer Science Please use python code Find the LDL^T factorization of A^T A and use it to solve A^T Ax = A^T b for x. A =( [7, 3, 2],[3,5,1], [2,1,9],[1, 1,3]) b = ([5,1,2,4]
• Hey guys , So I’m trying to compile a code that asks for an integer then which operation to use and use said math equation on the number from a range of 1 to 10. Q1 =int(input(” Enter a number 1 or gr…
• I need help finishing the starter code for this assignment.   You will select data from a database, process it, and create a visualization using Matplotlib. I included the links to the code and datab…
• Exclusive Club Inc. offers a credit facility in their buyer’s club. Members are allowed a \$1500 credit limit at bronze admission, \$3000 credit limit at silver admission and \$5000 credit limit at gold …
• Hello, I’m currently creating a coin counter program for my class and I’m having trouble executing the below code. I need this code to output the user input to total number of coins. Meaning the progr…
• Need help with the below questions: 1: 2: 3: 4: **The Empty List** There is a special list called an empty list. This is a list that has no elements. An empty list looks like this: `my_list = ‘. We wi…
• Create 500 random temperature readings for six cities over a season and then plot the generated data using Matplotlib. 2. Load the well-known Iris data set, which lists measurements of petals and se…
• How do you make 3D plots/visualizations using NumPy/SciPy? Please research and explain in a substantial manner.
• Please don’t copy from Chegg and course hero   perform unit testing by module on this code. import string AWN from typing import List def get_books_by_publisher ( file_name : str, publisher_name : st…
• What would the following function return: NOTE: Look carefully at the expressions.   &gt;&gt; def fun(x = “default”): &gt;&gt;     y = x,   # &lt;—- There is a comma on this line on purpose &g…
• Need help with remove_edge, remove_vertex, get_vertices, and get_edges method. ___skeleton code___ class UndirectedGraph : “”” Class to implement undirected graph – duplicate edges not allowed – loops…
• Problem 5: Means When analyzing data, we often want to summarize it: make it concise. Each of these functions takes a list nist of numbers. The mean of a list of numbers gives a summary through one nu…
• i need a function smaller_of(vals1, vals2) that takes as inputs two lists vals1 and vals2 and uses a loop to construct and return a new list in which each element is the smaller of the corresponding e…
• Using Python, Prompt the user for each of the following: The number of people on the trip. The number of days of the trip. For each day of the trip: Cost of food. Cost of gas. The food and gas costs s…
• In Georgia Institute of Technology &gt; CSE6040X &gt; Notebook 10 part0, there is Exercise 4. Could anyone explain this step by step for me?
• Identify the most viewed data set on New York state’s open data portal as of this month. url: https://data.ny.gov/browse?sortBy=most_accessed&amp;sortPeriod=month
• Write a function clean(L) that takes a list L and return the list L in order and without repeated values. For example for L = [`c’, `a’, `a’, `b’, `b’, `c’, `b’, `a’], the function should return [`a’,…
• this is my current code  def bits_to_str(bits, root):    ”’ This Function will take bits and convert them        into a string fromthe bits. ”’    temp= ”    cur= root    for i in rang…
• Please solve these 7 problems.   Problem 1 1. C.reate 3 favorite things about you using mulitline string  2. Using variables in string print – student full details . ( firstname,lastname, address) …
• . My code is not working and need to know what I am doing wrong. def count_digits(line): count= len(line.split()) count = len(line) + count return count def main(): #input print(“The program prints th…
• write the function get_dates(filename)  – This function will return the dates provided from the CSV file as an ordered list. Note  this function is extracting dates from the file , not the dataset. …
• Hi, can someone tell me what exactly I have to do for this problem because I can’t quite understand it. Here is the tax file attached Modify your tax problem from last week to do the following: Use va…
• Here is my final output.I just want you to check. and please change my python to .py not .pynb    Output: https://drive.google.com/drive/folders/1SlRD4ViPRmJcfoeRSq1mTzfPCAu0n4ns?usp=sharing
• A checksum is a single number that can act as a kind of “digital signature” of a long string. Just like how two people will have different handwritten signatures, two strings can have two different di…
• I am not sure what I’m supposed to fill in when it says # FILL HERE in order to reduce A to and keep track those operations on the hhS. The procedure follows that described in the second discussion se…
• Sum up Odd Numbers 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.
• This project is to modify the Cannon Shot into a shooting game. You are going to create game in which the the cannon ball shoots straight to the target on the opposite wall. Make the following changes…
• Using python, Write the code that asks a liser for the number of credit hours they are taking this semester. Less than 12 hours, display You are a part-time student.” Between 12 and 18 hours, display …
• https://blackboard.usc.edu/bbcswebdav/pid-6379360-dt-content-rid-26482015_2/courses/20201_itp_115_31876/A2%20-%20Vending%20Machine.pdf
• Module 4 Assignment 1: Pseudocode &amp; Python with Variable Scope Overview Module 4 Assignment 1 features the design of a calculator program using pseudocode and a Python program that uses a list and…
• Please help me solve this problem below. thank you a lot.. A text file named &quot;Top250Restaurants.csv&quot; has been provided to you that includes the U.S. restaurants that had the top sales in 202…
• Can you please help me to solve this question with Python? FY, bank_A3.csv file link  https://raw.githubusercontent.com/ssunie0/Bank_A3/main/Bank_A3.csv. Question 1: /15 pts 1. Read in the bank A3 . …
• Hi, could someone answer this and provide an explanation. I do have an idea, I suppose I must import and use the random.randint function with the interval (1,4) where each number represents a name but…
• In [68] : # Write your python code that meets the above requirements in this cell
• I know the answer is 9, appreciate if you can explain why. And if n ==3, the answer is 5. Why is that so?. def f2(n, g) : if n &gt; 1: return f2(n-1, lambda x: g(g(x))) return g(n) print(f2(4, lambda …
• Make sure all special cases are met. Don’t use append or anything advance use simple function and MUST USE RECURSION.  Thank you in advance! I’ve been struggling to do this using recursion and nothin…
• 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  , thus …
• Call each single function in the “statistics” module using three different datasets. The sizes of the datasets must be different.
• 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…
• Hello can someone please complete the following task. -&gt; Write a Python code that takes as Input a FASTA File and contains the following functions which are described in the red writing below. The …
• python the function receives series of integer number from a user at the end prints a statistic report on: number of positive numbers number of negative numbers number of zero’s number of even numbers…
• How does one do data abstraction in Python? Please research and explain in a substantial manner.
• Answer with explantion needed 5. To find the decimal value of 1111, that is 15, we can use the function: a) int(1111,10) b) int(‘1111’,10) c) int(1111,2) d) int(‘1111’,2) 6. What will be the output of…
• # Demonstrate you knowledge of the correct (best) Python vocabulary for questions 1 – 6 # 1.) A subclass is said to ______________ from its parent class. # 2.) This approach to programming models its …
• a. Design a case structure using a pseudocode that does the following: Month Message     1 January has 31 days   2 February has 28 days     3 March has 31 days   4-12 Invalid selec…
• young_sailors = pd.DataFrame({         “sid”:      [2701, 18869, 63940, 21869, 17436],         “sname”:    [“Grace”, “Morgan”, “Anne”, “Jack”, “Dustin”],        …
• Consider the following two assignments: wine_cellar = [‘Merlot’, ‘Riesling’, ‘Burgundy’] wine_cellar[0] = ‘Zinfandel’ Draw (or describe) the objects and labels that the Python interpreter creates in r…
• help writing program that asks the user for 5 numbers, using a for loop and one input function call inside that for loop. Sum the numbers as you are getting them from the user, then display the sum a…
• his assignment is based on Exercise 7.1 from your textbook.  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 startin…
• Run below code for give data base and see what error needs to fix in the code to read data properly http://data-lakecountyil.opendata.arcgis.com/datasets/cd63911cc52841f38b289aeeeff0f300_1.csv Code : …
• Using Numpy Initialize the Dow Jones Industrials dataset as shown below: values = np.loadtxt(‘http://people.bu.edu/kalathur/datasets/DJI_2018_values.txt’) dates = np.loadtxt(‘http://people.bu.edu/kala…
• Problem Statement: Design a program that asks the user to enter a string. The string will then be displayed back to the user. This is followed by determining the number of alphabetic characters, nu…
• Please help, I will leave a good review QUESTION 1 The value of the expression ‘7’ + ‘3’ is the ________.     integer 10     string ’10’     string ’73’     integer 73       QUESTION 2 Whic…
• ANSWER THE FOLLOWING QUESTION IN PYTHON AND PUT THE ANSWER IN THE ORGINAL QUESTION WHERE IT IS SUPPOSED TO BE ! 1. import unittest # ————————————————————– # Co…
• How would you compare the each key in these 2 dictionaries below in python and return one dictionary with the values for each key combined?   a={‘A’: ‘0’, ‘C’: ‘+’, ‘B’: ‘+’, ‘E’: ‘+’, ‘D’: ‘+’, ‘G’:…
• Create a Python script file (named nested_loops.py) that demonstrates the basic elements of nesting a python loop inside of another loop. Create a properly named file which contains the following thre…
• Dictionaries – Part 4 of 5 &lt;&gt; express_checkout 1/9 The express checkout is for grocery orders with 8 or fewer items. Complete the examples in the docstring and then complete the function body. d…
• Write a Python program to generate 12 random numbers between 1 and 100. Sort the list of numbers in ascending order and print it out. Sort the list of numbers in descending order and print it out. Cal…
• Neural Network for Collision Prediction Purpose The purpose of this assignment is to familiarize you with neural networks and their applications. More specifically, you will learn to collect training …
• 1) The question screenshot has been attached down below:    . B H E A D For this question you must evaluate the result of this circuit if inputs A, B, D, E, G, H, I, and L each have a value of False…
• I have to make a simple multiplication table using nested loops and if statements. The multiplication table (from 2×2 to 10×10). Use a validation loop to display a warning if the number is less than 2…
• I need help with the code should correct Guess counter. And set it to zero. Generate a list of size 50. Populate the list with random integers between 1 and 100.Find the third highest integer in the l…
• Implement a VotingMachine class that can be used for a simple election. Have methods to clear the machine state, to vote for a Democrat, to vote for a Republican, and to get the tallies for both p…
• Please verify my answers about the description of the Scale types of the columns whether they’re RIGHT or NOT. If Not, kindly offer suggestions. The Scale Types Include: 1) Qualitative Nominal     ?…
• 假设现在大学将扩展他们的系统，创建两个基于学生类的派生类，UG 学生和研究生：   class GradStudent(Student): def __init__(self, first, last, id):   Student.__init__(…
• Question 2: (40 Marks) There are some people standing in a circle. You are given their heights in an array A[].It is required for each one to print the index of the first person taller than him on his…
• Many user-created passwords are simple and easy to guess. How to write a program that takes a simple password and makes it stronger by replacing characters using the key below, and by appending “q*s” …
• python code to build a decision tree with several depths using a train and test dataset from scratch
• The program you will be developing will be used by event organizer’s staff who are promoting social gatherings. e.g. LAN Parties, Board Game Nights The event organizer has a range of events. Customer …
• The Unix tool tail prints only the bottom few lines of a ﬁle. write own version of tail that prompts for the name of the ﬁle to read, and the number of lines to print. For example: File name: Le…
• The dictionary is Google_books_dataset.csv. Automatic Zoom View a Function 1: sort_books_title Use the function design recipe to develop a function named sort books title. The function takes as an inp…
• . Page Numbers Function Name: pageNumbers() Parameters: bookList( list ) Returns: total ( int ) Description: You just realized that you have not been reading your assigned books for English this …
• What is a mutator method? Explain why mutator methods usually return the value  None? Write loop that accumulates the sum of the numbers in a list named  data? Write loop that replaces each number i…
• notes_module! 4 Exercise 1. With a partner next to you write and run a program to do the following: 1. Print the message &quot;Hello World!&quot; 2. Print the message &quot;Hello World!&quot; 4 times …
• 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…
• Each of the following Python functions is  supposed  to check whether its argument has any lowercase letters. For each function, describe  what it actually does  when called with a string argument…
• 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…
• import csv def main():    courses = [[“Python”, 3],               [“Trig”, 3],               [“Physics”, 4],               [“Yoga”, 2]]    with open(“co…
• The following is the Maclaurin expansion series for calculating ex: xn ex = 1+x+ 2! 4 ! n! This natural exponential function uses the irrational number e as a base. You can find the number e in Python…
• You are going to use KNN to automatically identify single-digit integers in fuzzy images of handwritten digits; the US postal service uses a similar optical character recognition (OCR) of zip codes to…
• Please with explain. . Identify the type and error in following: -2345.0 -4434 -145 -34j – Dammam -3345.45 -23.45j -&quot;Python&quot;
• Import the biostats.csv (https://www.dropbox.com/s/ bog707tkqhimyad/biostats.csv?dl=0) file, and place it in an appropriate dataset. (0.5 point) 2. Fetch the Age column of the dataset as an array, …
• How to create the codes of the following two functions below? unique_values(a_dict:dict)-&gt; dict This function will receive a single dictionary parameter known as a_dict. a_dict will contain a sing…
• How the Predictor Works  The end of Lecture 16 worked through the process of reading a file of movie reviews and their movie ratings (or scores), using that to build up a dict of words and their valu…
• Hello, I am having trouble with my code. Everything seems to be going fine, but I am having difficulty fixing the format and I can’t get it right. Below our the Google drive links to my code. The erro…
• Please see below code. I only want it in ascending order in a list, how do i resolve it? Meaning it should be [0.1,0.2,0.3,0.4.0.5,0.6 …… ]   rate = [] for potential_rate in range(1, 1000, 1):  …
• 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…
• Need help with the code below. So for the function shown in the arrow, need it to handle drawing the ice, adding the milk (changing tea to a lighter color), and adding lemon IF the user requests. This…
• Write a program to calculate the parking charges of a vehicle. Enter the type of vehicle as a character (like c for car, b for bus, etc.) and read the hours and minutes when the vehicle enters the p…
• . 6:41 Q0 74% Lab 10.pdf 4 . . . Lab 10 Using the material covered in this course write the following Python program. Upload your Lab10.py file to Lab 10 assignment folder in the course shell under …
• Problem 1 Project Loon Google wants to provide Internet access to all the corners of the Earth. For this reason, they initiated Project Loon. Loon has taken the most essential components of a cell tow…
• import random import turtle def isInScreen(win,turt): leftBound = -win.window_width() / 2 rightBound = win.window_width() / 2 topBound = win.window_height() / 2 bottomBound = -win.window_height() / 2 …
• python i need help with better understand how to write these functions. i’ve tried def substitute_chars(string, replacements): for i in string: string = string.replace(i, replacements) return string f…
• The main objective of this assignment is to create several endpoints that can be used in other applications to perform CRUD operations on a dataset revolving about space exploration.   1. Set up a ta…
• How do l write the following program using Qt Designer :PyQt4 You call student snack order service (SSOS) and place an order (e.g. coffee and cheesecake). The service will then pack your order into a …
• Wayside School is an elementary school built thirty floors high, with one classroom on each floor. Kids must go up and down the stairs many times day. It takes a long time for the kids on the thirtiet…
• Mr Raju has rs x and he distributes the money to his wife, son and daughter in the rato a:b:c respectively. Given the value of X, a, b and c develop an algorithm and write the python code to determine…
• Task 02 Python’s order of operations respects parentheses. Create a mathematical statement in a single-line. Specifications In a new line on the same notebook, create a variable named WEEKS and, in a …
• 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…
• I have to identify and example of each of these in my code and I am getting confused because it seems that they can have more than one for each script Literal characters sequences and ranges special c…
• . QUESTIONS 1. What is the best and the 2 worst-case scenarios of using a linear search? 2. Using a tracing table, show how 6 would be obtained using a binary search. 2 4 5 6 8 11 15 3. Using a trac…
• I am stuck on these 2 questions. Please can someone help me with that 🙏. Will be much appreciated. 7) Write a Python code to save the following dictionary in a CSV file. dict = {1: “Hello”, 2: “Hi”…
• To scrape your data, choose reliable web sources and use tools common to the industry such as Python, R, data files (raw and cleaned) in spreadsheet format (.csv, .xls, or .xlsx) 2019 Ford Escape, 201…
• Build the ItemToPurchase class with the following specifications: Attributes (3 pts) item_name (string) item_price (float) item_quantity (int) Default constructor (1 pt) Initializes item’s name = “non…
• need help writing this code/ solving problem. Exercise 18. Modify your interactive to also compute and display the deriva- tive of the function at the point (1,16) (NOT the point moved by the slider)….
• doing it by following the instruction! and the do it base on battleship.py!
• Fill in the missing code: def print_directory_contents(sPath): “”” This function takes the name of a directory and prints out the paths files within that directory as well as any files contained in co…
• How can I prevent an error if the user tries to remove a movie that is not in the list, and makes the loop starts again?   mylist=[] print(“welcome to the Movies database!”) want =”??” while want != …
• Use loops to create ten vertical bars which change color gradually from top to bottom.  The ten bars should be equally spaced, have the same width and go from the very top to the very bottom of the w…
• Given the 3 sets of tuples from the 3 experiments with batch gradient descent, stochastic gradient descent and mini-batch gradient descent, return a string from the set {“batch-GD”, “stochastic-GD”, “…
• give an example of a simple phyton program that will calculate the given instructions below   . 1. Calculate the area of the triangle and trapezoid using the formula Triangle Solve for area * A = h,…
• How do you find white and black pixels when comparing images. Please advise.
• &quot;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…
• computational maths 1. The following code finds and plots the turning points of the function f(x) = 2x&quot; – 3x-+5 f = lambda x: 2*x**3-3*x**2+5 fprime = lambda x: 6*x**2-6*x x = [-1] while x [-1] &…
• I need a function name max that accepts two integer values as arguments and returns a value that is equal to the greater of the two arguments. For example, if 7 and 12 are passed as arguments to the …
• hello how to merge different dataframes in pandas to one excel file? I am trying: df1= pd.DataFrame(sim_results1.system) df2= pd.DataFrame(sim_results2.system) df3= pd.DataFrame(sim_results3.system) d…
• Instructions : #python Refer to the pseudo-code assignment above and Create a flowgorithm program based on that assignments.. . Research current rates of monetary exchange. . Declare and initialize th…
• I have two different meta files. The first meta file (df_meta) is for proteomic data and the other one (df_meta_1) is for transcriptomic data. How can I generate a dictionary where, even though the co…
• 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 write a function called hypotenuse…
• This week we will work with classes by creating a virtual garage. Your program will use the inheritance diagram from this week in order to create a parent class and two child classes. Your program wi…
• 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 only need help on f, g, and h, please.  I am using Python.   a) make class NeuralNetwork(): that makes a single neuron with a linear activation, train it using gradient descent learning. This clas…
• Im needing to write a function to match my code in python. Solution MAY make use of the following: Built-in functions int(), input(), print(), range(), pow(), len() and str(). Concatenation (+) operat…
• Is there any python program to find the number of hops between 2 nodes?
• The function area_rect(x, y) returns the area of a rectangle of length x and breadth y. Define a function area_square(x) that: Returns the area of a square of length x. The area_square function …
• hello, could one possibly assist with these. thanks! Question 1 (2/4) Given the following Python code program fragment: a = 7 b = 4 X = 3.0 y = 1.5 sum = 0.0 c= a/b+y d = (a % b) – (b % a) z = x / / b…
• ITI1120 IMAGE. (b) Implement function testCraps ( ) that takes a positive integer n as input, simulates n games of craps, and returns the fraction of games the player won. &gt; &gt;&gt; testCraps (100…
• Please give me the correct answer…. And don’t copy from internet….   PYTHON) Use Merge Sort to create a function called merge_sort_profits that return the highest amount of profit you can make. T…
• I have placed my code below. It works well and delivers the output I need. I need someone to change it to include functions. Can someone help? I need the new code to include 3-4 functions. Thank you!!…
• I am writing a python program and having trouble with validating the user input. I have it half working but cant seem to get if properly working. There are user input validations for the initial choic…
• PLZ help ………… Details are in Remind.docx on Google drive. https://drive.google.com/drive/folders/10Hfby3lzLi16n1I2306n2bT7qaIH4j28?usp=sharing   PLZ help ………… Details are in Remind.do…
• ITP 100 Fall 2018 Program 3 Name: ____________________ . REQUIREMENTS: IPO Chart 10%, Pseudocode 90% This program assesses your ability to use functions, arrays, for loops, and if statements where nee…
• Question 1 (1 point) What will be the output of executing this code if the user enters the following temperatures: 40, 60, 110 counter = 0 temSum = 0 day = 1 counter = 0 temp = float(input(&quot;Enter…
• Modify the file  course_dict_7.py  (found on this Moodle block) to include an edit feature that allows the user to change data (room, time, or instructor) for any existing course found in the course…
• Overview The objective for this assignment is learning to read and to write text files using a Python program.  Copy your BMI function bellow: # bmi function def bmi(h,w):    bm = w/(h*h)    lst=…
• This program outputs a downwards facing arrow composed of a rectangle and a right triangle. The arrow dimensions are defined by user specified arrow base height, arrow base width, and arrow head width…
• text 13. PowerBall Lottery To play the PowerBall lottery, you buy a ticket that has five numbers in the range of 1-60 and a &quot;PowerBall&quot; number in the range of 1-26. (You can pick t…
• Counting average length of words in a sentence Create a function average_length_of_words which takes a string as an argument and returns the average length of the words in the string. You can assum…
• Performing File Operations     Aim   Create a file and add data to it. Steps for Completion   In your main.py file, use the with context manager or the open() function to create a newfile.txt obje…
• Notice that you need to pre-process the data. For example, you need to code “no” as 0 and “yes” as 1 in column “loan”. Also pay attention “marital” column—it can take three values: single, married a…
• Please solve all the questions in python Here is the template import re def problem1(searchstring):    “””    Match phone numbers.    :param searchstring: string    :return: True or False   ?…
• Python Code Only. Basics No Imports:  Write a function hideShow that accepts two string arguments, an input string and a masking string. The masking string is a string consisting of ‘0’s and ‘1’s tha…
• python code to match the output &gt;&gt;&gt;  . A heterosquare of order n is an arrangement of the integers 1 to n**2 in a square, such that the rows, columns, and diagonals all sum to DIFFERENT valu…
• Has to be done in Python Sites like Zillow get input about house prices from a database and provide nice summaries for readers. Write a program with two inputs, current price and last month’s price (b…
• How to do I go about solving this Python question. This is how I started it: import numpy as np M = np.array([[0.8,0.1,0.05,0.05],[0,0.6,0.2,0.2],[0,0.2,0.7,0.1],[0,0,0,1.0]]) examenol = 0 metaboliteA…
• MIS6382 Fall2021-HW3Q2IInput.csv reads as follows: Amy,98 Bill,76 Candy,82 David,75 Jaya,85 Kamala,90 Morgan,72 Nancy,80 Ming,92 Hong,78 Zhen,92 Malini,84 Indira,75 Ramya,78   I would like some he…
• An ]]object of type Car is available with the following methods:   year(): returns the year the car was built price(): returns the price of the car Write a function called new_cars(cars_list)  that …
• import time import json import requests from tabulate import * requests.packages.urllib3.disable_warnings() api_url = “https://sandboxapicem.cisco.com/api/v1/flow-analysis” def get_ticket(): api_url =…
• Can you use python to assist me. Input: !qnimmargorP Output: Programming! . Create a function to choose random words: choose rand () Define a list of 10 random words inside this function. Inside choos…
• Help me write program for below. Thank you! What your Python program should do Create a new repl for this homework. 1. Get three numbers from the user. Assume the user will type in onlyr positive whol…
• produce a program to find the largest value. Ask the user to enter three numbers. Compare them and report the largest one. [Hint: The user is free to enter any three numbers. Some or all of them m…
• Load the well-known Iris data set, which lists measurements of petals and sepals of three iris species. Then plot the correlations between each pair using the .pairplot() method.
• I really need help writing the whole code its due 11:59.. Write a program to take sandwich orders for the Quad sandwich shop. If a customer orders 3 or more sandwiches there is a discounted price per …
• Need help with this code. Need the exact output question is asking for. Thank you.. GCCC C C C C C G PV n/contests/1500s22/challenges/simple-sentinel ulu | Home youtube HBO Max Cengage Home FSW Login …
• “DC Characters” : [“Batman”, “Catwoman”, “Clayface”]   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 eac…
• Please use Python codes to answer following qusetions.   The question investigates the relationship between Sales and TV advertising expense. The data is given in following table.    TV Sales 230.1…
• def sumOfDoubleEvenPlace (number:list) -&gt; int:   number.reverse ()   i = 1   sum = 0   for loop in range (len (number) // 2):     sum = sum + int (number [i]) * 2     i = i + 2   …
• can you help me with this The purpose of this lab is for me to extend your knowledge of Python’s tkinter GUI module by creating a GUI-based program to help someone compute the total dollar and cents v…
• USE PYTHON Read the initial balance and the annual interest rate. The interest rate should then be increased by the last digit of your ID (my ID is xxx1 and the user inputs 2%, then the interest used …
• Make a python programming about AI Assistant. I want you to separate the file of functions and call it in the main file.  These are the functions: Music – the AI assistant has the ability to go in yo…
• Suppose, cover price of a book is INR 24.95, but a bookstore offers a 40% discount. Shipping costs INR 3.00 for the first copy and 75 Paise for each additional copy. What is the total wholesale cost f…
• Please help! Instructions Deliverables: You must submit your .py file. Name the file: lastname_firstname_lab7.py. Example: bond_josh_lab7.py Perform the following steps in the file you created above (…
• . One of your friends wonders out loud how probable it would to hit a colored section of the painting if they were to close their eyes and throw a dart at random at the canvas. You tell your friend …
• what am I doing wrong?? Codio Project File Edit Find View Tools Education Help Configure.. Project Index (static) Configure.. BFEDELL sy.py 3. 1. Easy pe… X A WN # Get our list from the command line…
• the requirement for the code is completed, this is all the information about this question, and the code must successfully passes the three tests laced behind the code. It is the code from jupyter not…
• ) Examine the data provided in Week6_HW_Prob4.csv.  The data is raw plate reader results for actual pipetting (real data).  In rows A-C I have pipetted with standard technique.  Each sample is 200 …
• 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:   Traceback (most recent call last): File “nt-test-7f9509b6”, l…
• Develop a computer program in Python that reads a CSV file and run at least three different machine learning algorithms on it. Compare the results of different machine learning algorithms. You can als…
• Write the class Volume that stores the volume for a stereo that has a value between 0 and 11.  Usage of the class is listed below the problem descriptions.  Throughout the class you must guarantee …
• In this part you will be collecting data from the Twitter stream API. This data will be used for analyses. You will modify and use the class TwitterListener in the provided script. 3.1.1 The Tasks . (…
• first = int(input()) second = int(input()) if(first &lt;= second):    while(first &lt;= second):        print(first ,end=’ ‘)        first = first + 10         else:    prin…
• What do you call something like this when you use it for formatting output: “%-28s%5.1f Oz” Group of answer choices A string A format operator A string template An output string A print() function arg…
• This is console based non-oop based work(use only functions) , data can be saved in text files I took this description from Internet as i am learning python through online sources so for have a look t…
• 5 Points You’re a marketing analyst of Pan Am {a major American airline} and 1you 1l-l’ant to develop learning algorithms to address the following problem. Problem 1: You have the company’s ann…
• def is_leap(year):     leap = False          if (year%4 == 0):             if(year%100 == 0):                 if (year%400 == 0):            …
• Give flowchart for this code. # Python Program to Perform Arithmetic Operations 2 num1 = float(input(&quot; Please Enter the First Value Number 1: &quot;)) 4 num2 = float(input(&quot; Please Enter the…
• If you can, Work this in R it would be preferable but python is okay as well. 2.1 Problem: Corky Miller, base ball player, failure and success rate we observe two prior distributions for ⍬, the prob…
• Please use python to solve it ASAP its due tonight, i will choose your answer thanks A human pyramid is a way of stacking people vertically in a triangle. With the exception of the people in the botto…
• . In this lab you’ll be creating your own class called Fraction which stores a fractional value. Your Fraction class will have the following integer member variables: num: representing the numerator…
• Python 1) If the list of elements to sort is shorter than 30 elements it calls insertion_sort, otherwise it uses merge_sort. a) Implement insertion_sort and merge_sort  b) Write a simpler version of …
• Hi all, I have an assignment in my computer science 201 class. The assignment instructions are attached here. Also, the coding standard is attached. Please read the assignment instruction very careful…
• Hello! I need help with python programming of fines in due books. Can someone help me with the codes please? The amount of days to borrow is only 10 days and if still not returned within that specific…
• A program that calculates the total for a purchase at a bookstore. Put the lines of code in order to create the following program. SAMPLE OUTPUT: Wholesale Store Calculator Price of item 29.99 Tax per…
• please helppşv 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 cylinder has a rad…
• This assignment lets you practice with writing and using functions. You are rewriting existing code to use functions so the behavior of the program should not change throughout this exercise. Preparat…
• Question: Give the composing rules for Peano regular numbers and their eliminator.(ii) Using the principles given above, characterize the expansion function.] (iii) Let a parallel tree be either a Lea…
• Overwatch is a multiplayer game so we strive to find the best match between each player. In this problem, you are given a dictionary containing each player’s name and their score record list. For each…
• . ‘ 2.9.2: Math functions. Jump to level ‘1 Compute: z = (ﬂy — m5 :iJIport [lath x = float(input()) y = float(inPUt()) I’ ‘ ‘ Your code goes here print(round(z, 2)) # This will output only 2…
• How do I establish a dictionary (also called an associative array) that contains at least 50 values. An example of a key may be state and value as capital. Another example may be number in an alphabet…
• How do I create a GUI application using tkinter with labels and buttons to calculate a peson’s age, with them imputing their date of birth?
• Problem 1: How do I write a program that will calculate the problem and stop after the condition has been met. This is an IF/THEN/ELSE problem. a=1 b=a+1 c=a+b Condition: If c is less than 5, then the…
• Hello I’m having issues understand my python assignment and could use some help. My assignment is to add code everywhere there is a TODO comment, and they go into detail. It’s to be able to sort and p…
• Write the function draw_car() that draws, with Turtle graphics, the car from the image that you can find at the end of the homework – except that the car in your drawing has to have some lively colour…
• Python program for the following: 1. Given a list=[‘a’, b’,’c’, ‘d’,’e’,’f,’O’,’r’] Count the number of vowels and the total of other characters. Sample Run: Total Vowels : 3 Total of Other Characters…
• Create a Python program insert.py containing a function insert_inbetween(s,p) that returns a new string containing all characters in string s separated with string/character p. That is, for input abcd…
• Link to code- need help https://colab.research.google.com/drive/1o93HdykeFxotTZ4QdoJ89ot3jdnKXMhz?usp=sharing Need help   I want to request information for different countries such as the United Stat…
• Python coding: Please help me make some modifications to my Tic-Tac-Toe project (using guizero) you can include tkinter if need be. (1) I will like to add a background image that would cover the entir…
• In the List class, complete the insert, append, and remove methods.
• calculate the amount of a given product function name: check_stock() Parameters: Stock dictionary, product name Return: The number in stock for that product Description Retrieve the corresponding …
• TOPIC: QUEUES ADTs Unlike Stacks ADTs, the Queue ADTs follows the FIFO or First-in-First out method wherein the items are allowed at on end but removed from the other end. An queue can be implemented …
• Exercise 1: Write a program which repeatedly reads numbers until the user enters “done”. Once “done” is entered, print out the total, count, and average of the numbers. If the user enters anything oth…
• screen = trutle.Screen() Traceback (most recent call last):  File “&lt;pyshell#4&gt;”, line 1, in &lt;module&gt;   screen = trutle.Screen() NameError: name ‘trutle’ is not defined
• This assignment requires me to fill in the two sections listed in the following code: import sys itemsInBackpack = [“book”, “computer”, “keys”, “travel mug”] while True: print(“Would you like to:”) pr…
• csv  . In the attached file problem_2 AR. csv, you are given 1,000 consecutive samples generated using the following Python code: Z 5.0 – import numpy as np 2.5 – p = len(weights) z = np…
• Using python language:   In the following question you should write functions to do the task. Your code must have a main function that will be called to run the program. Functions should have good na…
• Please read the instruction before you do the assignment Because I can’t take a full picture of the last part It is you need to explain what line 1 to line 9 will do. from typing import TextIO def cle…
• Below is functioning code for a circular doubly linked list. I need assistance adding in sorting algorithms and then outputting the testing of those algorithms to a .csv For this programming assignmen…
• Why am I getting a keyerror for ‘quantity’? Is there something wrong with my dictionary? Is a get() statement necessary?
• Objective: From the crime statistics data, you are to produce the following output: 1. A bar chart showing the number of &quot;Murders by Region&quot;. 2. A bar chart showing the number of &quot;Viole…
• A set is an unordered collection with the same interface as a bag. However, the items in a set are unique, whereas a bag can contain duplicate items. Define a new class named ArraySet that implement…
• don’t how to code 2.1 part in Python and please explain to me
• Define the following function (along with any auxiliary functions you choose to write to assist  the required function): runUL2Program( program ) Returns the float value of the UL2 program represente…
• Give the user two cards. Use the following statements to create the list of cards: cards = ( “A” , “2” , “3” , “4” , “5” , “6” , “7” , “8” , “9” , “10” , “J” , “Q” , “K” ) Use the choice function o…
• Display a Dynamic Line Chart. Write the code in Python You will display a line chart of a dynamic dataset. It is advised that you start with assignment 3 and add the capability to update the display y…
• Write a function  calculate_expression(params)  that calculates and returns the value of the following expression:   The function receives as input a dictionary containing the values of the para…
• use python do Use the data file No More Germs Toothpaste for the following questions: Note:  For all questions, you may ignore the significance of the variable in a regression. Just answer based on e…
• I have a project that I am struggling to complete. The project is to write python code for port scanning. The program would ask the user for a host IPV4 address, and then ping the host IP address to c…
• Description: Define the following functions (along with any auxiliary functions you choose to write to assist the required functions): • numberOfValidPushPopSequences( numberOfPushes ,  numberOfPo…
• assignment date printer write a program that reads a string from the user containing a date in the form mm/dd/yyyy. it should print the date in the format march 12,2018
• CPT 180 PowerShell Assignment Directions Using the following guidelines, create a python program.    1. You will be using the CPT180Stuff folder from the Bash Assignment for this assignment.  2. Cr…
• code for this program. [ ] survey [‘Yearly salary’ ]. unique() array ( [’15, 080-19,999, ‘100, 000-124, 999′, ’70, 080-79,999’, ‘380, 080-499, 999’ ‘200,080-249,999’, ‘125,000-149,999’, ’60, 080-69,99…
• The Growth team wants to know if membership is leveling off, and if so, why. a. You will want to return a COUNT of the events in each city, meaning you will need to GROUP them by city. hint: Consider …
• Use the following given string line to complete (Python) line2 = ‘From s..d@uct.ac.za Sat Jan 5 09:14:16 2008’ Use a regex to find the email user name ‘stephen.marquard’ in the line2 string.
• Please assist. I keep getting the error message in the middle screen when I run the program on the left. The image on the right is the section of images.py where it’s indicating the issue with the .sp…
• I am trying to generate the Python program below that plots a sine wave using an instances of the Point class instead. mport matplotlib.pyplot as plt import numpy as np Fs = 8000 f = 5 sample = 8000 x…
• Implement a program that asks for a text in English and translates it word by word into Spanish. Use a Python dictionary to store each word with its corresponding translation. The program will star…
• Topic -&gt; Machine learning with physics and astronomy (using python- google colab) I was given with this lab  Please provide a well explained and correct solution for the following Here is the data…
• what is wrong with my code?. 006.60 Create a scatter plot with the following lists of x points and y points.
• Describe how  catching exceptions  can help with  file errors . Write three Python examples that actually generate file errors on your computer and catch the errors with try: except: blocks. Incl…
• I dont know what to do 1: Compare output ~ 0/2 Traceback (most recent call last) : File &quot;main.py&quot;, line 19, in &lt;module&gt; second item = input (‘Enter second food item name: &quot;’) EOFE…
• please use python. (Fibonacci numbers) Rewrite the fib function during the class using iterations. (Hint: To compute fib(n) without recursion, you need to obtain fib(n – 2) and fib(n – 1) first.) Let …
• I am working on a Python lab on zyBooks and cannot figure out one error that I am receiving.
• Create a program capable of solving the game known as the alphabet soup. This game consists of an N x M board where each position on the board has a letter. The objective of the game is to find words …
• ICT582 Python Programming Principles and Practice Q1. TicketMachine class, which models a ticket machine that issues flat-fare tickets. The price of a ticket is specified via the constructor (you can …
• from random import randint class Die():     def __init__(self, num_sides=6,face=1,color = ‘Red’):         self.num_sides = num_sides         self.face = face         self.color = …
• write a function called calc_fuel_needed() which receives as parameters distance, and fuel_rate. Distance will be in kilometres, and fuel_rate will be the amount of fuel consumed every 100 kilometres….
• coding a simple cellular automata game, called Conway’s Game of Life. In this game, you have a grid where pixels can either be on or off (dead or alive). In the game, as time marches on, there are sim…
• I need help creating a python code with a function named Rolls that will roll a dice as many times as the user asks and with a user specified number of sides. The function also needs to return the rol…
• We want to replace some words in the text. We only want to replace the  first and  last  occurrence of the target word with your desired word. Write a function that takes in three parameters: te…
• BIS1003 Introduction to Programming Workshop 4 Topic 4: Repetition Structures Apply and test your knowledge of the current and previous topics by attempting the questions below. Completing these quest…
• I want to know what is wrong with my code as it will not output any of the statements when the letters are entered   def main(): myOperator = ” ” option = ” option2 = ” welcome() while (option.lowe…
• Help with a Python program to do the following: (a) Ask the user to enter as many integers from 1 to 10 as he/she wants. Store the integers in a list. Every time after the user has entered an intege…
• Let the variable x be “dog” and the variable y be “cat”. Write the values returned by the following operations: a. x + y b. “The ” + x + ” chases the ” + y c. x * 4 2. Write a string that c…
• Hi, how to produce searching interval to prepare for Bisection Method via Python? Thanks!
• target = int(input())  n = int(input())  step = 2  while n &gt;= target:  print(n * 2)  n -= step   Input 10  40   Find Output   a = int(input())  b = int(input())  c = int(input())    re…
• Hi, I need help to modify my code. I’ve worked on it, but I am having trouble with the loops in the code. The error messages are working, however I need assistance in the loops. When I run my code it …
• Assuming the user enters two positive integers for a and b. The output of this program is a int(input) b- int(input()) q=a//b calq = 0 while a &gt;b: a = b calq += 1 if calq &gt; 4: print(&quot;more&…
• You can turn a word into pig-Latin using the following two rules (simplified): If the word starts with a consonant, move that letter to the end and append ‘ay’. For example, ‘happy’ becomes ‘appyhay’ …
• Task 2 – Enhancing the “convert” Module Create a new file in the Python Editor and copy-paste the following code into it: (This code is the same as the code in the “Creating a Module” section of Lectu…
• please read instruction below and code with PYTHON please.   —-Below is starter code— you can start below “your code starts here”/ With PYTHON plz class Node:     def __init__(self, content): ?…
• Which list operation to do the following? (a) Find the length of (number of items in) the list [1,5,7,3,9] (b) Join two lists [1,2,3] and [4,5,6] into [1,2,3,4,5,6] (c) Generate [‘hi’, ‘hi’, ‘hi’, ‘hi…
• Problem 1: Python Program Import at least 1 file. Design a program that will perform basic grade computation. The program will ask the user for their name and 5 numeric inputs with the following weigh…
• Please kindly help solve this: python3_year = 2008 year = int(input(‘When was Python3 first released?’)) if year == python3_year:     print(‘That is correct.’) elif year &gt; p…
• What is the output of print list if list = [ ‘abcd’, 786 , 2.23, ‘john’, 70.2 ]?
• Need help with a Data Manipulation project. Project description below: The data being used is the FOIA data gathered from the city of Ann Arbor on parking tickets. The repository is made up of a set o…
• Write a Python program does all the following steps: a. Create a docstring constant with 3 sentence strings b. Convert the docstring to a LIST with one element for each sentence in the docstring. c. U…
• CASE 1: book_category_dictionary_list In this case, the dictionary keys are the generes\categories such as Fiction, Fantasy, Biography, etc. The function will store the dictionary using the following …
• Create a grid of bar plots with each one representing a single zipcode and in that zipcode the sq_ft distribution is grouped by the category of condo, residential and multi-family, please also include…
• Program Set 3 (20 points) 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…
• Scenario Given the following challenges, use append(), extend(), pop(), and insert()to change the contents of the lists. Aim The aim of this activity is to get acquainted with list methods by utilizin…
• use IRIS dataset. In this set we have 3 flowers (Iris Versicolor, Iris Setosa and Iris Virginica) and 4 features (sepal length, sepal width, petal length, petal width). We can assign multiple labels b…
• Enter program input (optional) 45 1 quarter 2. dimes Run program Input (from above) main.py Output (shown below) (Your program) Program errors displayed here Traceback (most recent call last) : File &…
• CIS150AB – Lab 6  (10 points)   Glendale Coffee Company (GCC) Background:   For this assignment, you will need to create two parallel arrays using the test data below.  Your program logic should a…
• (20 points) The data in the files insurTest.csv &amp; insurTrain.csv are collected from 47 zip-code areas in the Illinois area. There are 8 columns in the data file but not all are relevant here. The …
• Can u make sure to separate the function and the main file. Also, can u please make sure to use loops (for loops). Lastly, can u make sure to only use one return statement in the function (at the end …
• a table that has two ends, cups are connected in between them to connect one end of the table to the other end while using both brute force and backtracking get the shortest distance to get from one e…
• Write a Python function named cumulativeSum that takes a list as an argument and returns a new list consisting of the cumulative sum of the elements of the list argument. You are not allowed to use th…
• you will add quite a bit of code to your project. You will add an option for the computer to guess as well as the user to guess a number. In addition, you will add a menu system. Be sure to import r…
• The url of auto-mpg file is here https://drive.google.com/file/d/1cBkj-kEseqQNIJK72dkopMoeKSvEKNqR/view?usp=sharing. Question 2 (10 points) Consider the Cars data set downloaded from UCI ML. A more th…
• How do you make a function that modifies the image above: Take user input (0/1/2/3/4) using a  while loop  to determine which manipulation options (2/3/4) they want to apply. If the user enters 0, t…
• I need assistance with editing and saving a csv file using pandas.   I want to:   1. Not to include a row index number 2. Interpolate the NaN cells 3. Round to two decimal places 4. Export as a csv …
• You are hired by one of the leading news channel CNBE who wants to analyze recent elections. This survey was conducted on 1525 voters with 9 variables. You have to build a model, to predict which par…
• Can someone please write PYTHON SCRIPTS for these two python questions? I also need pseudo codes for these and the program must have comments for me to understand the programs.    Link to Subject.tx…
• how can i improve image resolution using python ?
• I need help with following” Combine the variables to display the sentence “How do you like Python so far?” word1 = “How” word2 = “do” word3 = “you” word4 = “like” word5 = “Python” word6 = …
• Part 1 Write Python program that does the following.  Create string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, animal…
• Instructions: Retrieve a JSON document using an API and process it using Python commands. Choose a JSON API and query it using Python.  You can find several examples on the Internet. Please, (1) prov…
• What is the output of “COVID-19 is announced as pandemic”.split()[-3] ? * 1 point is as announced COVID-19
• Write the following 3 computer programs.   1. (40 points.) A department store has employees to perform the sales. At the end of the month an employee is paid a base monthly salary plus an incentive b…
• You are working at a company with many Centos servers running. The senior system administrator has asked you to automate a task: each virtual machine needs to have a backup script called backup.py ins…
• Write a program that generates the first 100 numbers that are prime numbers whose reverse is also a prime number. Example, 13, 761, and 941
• The use of cellphones, tablets, or other communication devices during the exam is the whole duration of the test, camera must clearly shown your face at all times. . You are only allowed to have physi…
• Please help. Using python to code the following. 2. [bitcoin_converter.py] Write a program that converts bitcoin to dollars (usd). At the end of this description you will ﬁnd an example of the input…
• Need a program that computes the sequential day of the year (365 or 366). The program should accept a date as month/day/year (mm/dd/yyyy). Verify that what is entered is a valid date. If what is enter…
• 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…
• file1 = ‘data_1.txt’ def main(): print(‘This is our grid:’) display_grid(create_grid(file1)) print(”) print(‘This is our newly calculated grid:’) display_grid(fill_gaps(create_grid(file1))) print(”)…
• please provide me the answer this is not tutor work and this is complete question also give two sorted arrays A and B of size Pand 0, write a algorithm to merge elements of A with B by maintaining the…
• my question: the statement below except only float/integer values, how to edit it to make it except only the numbers between 1-20 inside the try/except block ?     while True:         inp…
• Create a Python function called countChar which takes two arguments, a single character and a string of arbitrary length, and returns the number of times the character appears in the string. D…
• . You are to develop a performance review system for your employees. Create a class called Appraisal. Implement the following functions in the class – 1. setEmployees() – takes the name of a employe…
• Prepare 10 questions with correct answers  You questions could be either theoretical (short answer type) or practical (code snippets). There can be no more than 2 questions from any area listed below…
• Section 6.9 of your textbook (&quot;Debugging&quot;) lists three possibilities to consider if a unction is not working. . Describe each possibility in your own words. . Define &quot;precondition&quot…
• How do you Write a function called print_hello(elem) that takes in a parameter. Within the print_hello function, how do you create a a variable my_name and assign it the value of your parameter. Retur…
• Submit your Python program. It should include the following.  The provided code for alphabet, test_dups, test_miss, and histogram.  Your implementation of the has_duplicates function.  A loop…
• Write program for Teacher. Create a class named Student that holds the following data about a student: 1 . Name 2 . Student ID number 3 . GPA 4 . Expected grade in this course 5 . Full time or part …
• Consider a small clinic with a capacity of 10 appointment slots per day. The clinic divides demand into three priority classes with wait time targets of 5, 10, and 20 days, respectively, and chooses a…
• write test case for recursion factorial it has to also deal with an invalid input
• Compute minimum and maximum sales for each store and location   Use the dataframe given below:   Store Location Sales A Mumbai 40000 B Pune 45000 A Hyderabad 50000 C Mumbai 90000 D Pune 89000 A D…
• Program Description: Create two separate modules based on the given requirements below: 1. Main Module. It is capable to key-in student information such student name (lastname, firstname), degree (BSE…
• import stdio import stdrandom import sys # Generates and returns the public/private keys as a tuple (n, e, d). Prime numbers p and q # needed to generate the keys are picked from the interval [lo, hi)…
• #Lab #0 # More information on pass statement: # https : / /docs. python . org/3/reference/simple_stmts . html#the-pass-statement def sumSquares (numList) : &gt; &gt; &gt; sumSquares ( [1, 5, -3, 5.5, …
• Sample Run #User’s input is in blue, and bold.   Enter client’s name: Jackson Howard Stock portfolio for Jackson Howard ———————————- 1 Buy stock 2 Display all stocks’ details 0 …
• ValueError: dictionary update sequence element #0 has length 1; 2 is required I am trying to time my word concordance program with my BinarySearchTree inorder to see the execution time it takes. But I…
• Write simple guessing game using the following specs: 1. Generate a random number between 1 and 1000. (LO 1, 2, 3) 2. Ask the player to guess the number. You will keep track of the number of guesses. …
• I was told to do this in python. i have no idea how to code it: Develop a Deck method named sort that uses the list method sort to sort the cards in a Deck. sort uses the __cmp__ method we de…
• Hello, Expert Tutors! Please, how do I make my program to run several times or to query the ISS every 2 seconds? Or should I just copy and paste my codes as many times as I want? I want it to look lik…
• how do you code simple multiplication table using nested loops and if statements in Python
• . 1. [8 marks] Nested loops. Consider the following algorithm. (It doesn’t do anything, but it sure wastes a bunch of time doing it!) def twisty_too(n: int) -&gt; None: &quot; Precondition: n &gt; 0…
• Define a function square_root that receives a number as a parameter and returns the square root of that number. Determine the square root of 6.25. 2. define a maximum function that determines and re…
• PYTHON: i need program (without using built-in functions from scipy, etc) to find the roots of the equation: x – M – 0.9sin(x) = 0 by the Newton-Raphson method. Plot sin(x) vs cos(x) for 20 equally sp…
• Your final submission will be a Python .py program. You do not need to keep every version of your code. Write a function that reads (loads) a book from a file.  The function should ask the user for a…
• In the Q1 of Assignment 3, I put the code from the document  localhost:8888/notebooks/Downloads/Introduction-to-Data-Science-in-Python-main/Assignment_3/assignment3.ipynb But return the following err…
• PROGRAMMING LANGUAGE: Python Question 2: Write down a Python class MyString which has methods get_String and print_String and Reverse_String . get_String accept a string from the user and print_String…
• 1 Problem During our academic term we were instructed to download and install a virtual machine to be played in our Virtualbox virtualization software. This image had all the necessary tools configure…
• In python, need help with the ,dijkstra( self, src: int) -&gt; []: , method. dijkstra( self, src: int) -&gt; []: This method implements the Dijkstra algorithm to compute the length of the shortest pat…
• PROJECT: PIZZERIA PROGRAM Jeff has a small restaurant which serves 3 different types of pizza (Pizza A, B, and C). In order to cut down on costs, the owner of the pizzeria wants to know how much they …
• # import module import csv class PipelineIncidentsData: # constructor with private attributes def __init__(self, incident_number, incident_types, reported_date, nearest_populated_centre, province, com…
• i am having trouble with python coding here is the problem For problems 1 and 2: For these problems, by “Boolean Expression” we mean an inequality that Python can evaluate as true or false.  E.g. …
• Scenario You’ve just been hired by a small-town casino that wants to create simulated card playing platform. To get you warmed up, they want you to be able to create blackjack game simulator. The game…
• I have this list: [[‘asdf’, ’10’], [‘jkl’, ‘3’], [‘asdf’, ‘-1’], [‘foobar’, ’17’], [‘bbbb’, ’17’]] I want to turn this list into a dictionary, but instead of replacing the values if they come up again…
• PLEASE PROVIDE THE CODE INS SCREENSHOT IN THE INTERPRETER . CS1026: Assignment 3 – Sentiment Analysis Due: November 17th, 2021. 9:00pm. Weight: 12% Learning Outcomes: By completing this assignment, y…
• choice =”true” while choice !=”false”:    str=input(“enter string:”)    n=int(input(“enter integar:”))    if n==0 or str==”quit”:          choice=”false”    else:          print(“Eat…
• Python Project: Pizzeria Program Problem: Jeff has a small restaurant which serves 3 different types of pizza (Pizza A, B, and C). In order to cut down on costs, the owner of the pizzeria wants to kno…
• WRITE A PYTHON PROGRAM  a. Create a class called Human with the following specifications: Data: name, age (in years), height (in cm), weight (in kg) Functions: getBMI() (returns the BMI based on the …
• What is your model’s prediction for the pressure in the systemic arteries (Psa): O 90.33 mmHg 100.66 mmHg O 82.66 mmHg O 95.33 mmHg
• With reference to a linked list, if the pointer does not point to another node, what gets assigned to  the pointer value? a) None b) Null c) 0 d) False
• Write a function name number that takes as input a character string containing a sequence of digits, and gives the value of the number represented. For example, number (“27465”) should yield 27465. It…
• . Your dog grooming business charges \$75.00 for a large dog and \$50.00 dollars for a small dog. Write and test a program to prompt the user to enter the number of large dogs groomed that day and the…
• I am trying to run my program activity but keep getting this message when I run the code in IDLE. Here is a screenshot of the message I get as well as my code. Could someone please show me what I am m…
• Identify two basic characteristics of Functional Programming paradigm and with an example program show those characteristics in Python
• FirstName = “Pat” LastName = “Brown” FullName = concatNames(FirstName, LastName) Assume there is currently no method called concatNames in the file you are working on. In the space below, write th…
• In ubuntu I am trying to write python3 scripts   The script file will be tested with the following command:  python3./lab07-taskXX.py       Task 01  create a uniquely class that has  – Three pr…
• Task 1 use a loop through all rows in the DataFrame and do the following for each row: Extract the inputs for Player 1 and Player 2 from the row. It might be easier to store these inputs into variable…
• Write a program using integers user_num and x as input, and output user_num 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 divisio…
• This is what i got but it doesn’t seem to work i was wondering if i could get some help. 31 try: 32 self . unit_cost = float (input(‘Enter the unit cost: ‘)) 33 if self . unit_cost &lt; 0: 34 print (‘…
• 1) The question screenshot has been attached down below:    . Question 7 (10 points) For this question you will design and implement a program that starts by asking the user for the length, width, a…
• (str, list of str) -&gt; list of str   – a string (representing a word)   – wordbook is a list of words (with no words duplicated)   This function must call test_letters() function.   The …
• Write a class named  Person  with data attributes for a person’s name, address, and telephone number. Next, write a class named  Customer  that is a subclass of the  Person  class. The  Custome…
• Can someone help with this Safari File Edit View History Bookmarks Window Help 83% Mon 9:45 PM _ Geilan Albayati Q QE . . . &lt; &gt; Q Enter.month. (numeric):Enter.day:Enter .two .digit .year:This .d…
• For the 4 States create two graphs, one showing the ‘Home.Value’ as function of Year, the other the ‘Land.Value’ as function of Year. Each plot should show 4 data points and lines, one per State, in d…
• So according to researchers at Harvard University, the ideal weight for a man is found by multiplying his height in inches by 4 and subtracting 128. The ideal weight for a woman is found by multiplyin…
• . Create an isPrime function that accepts an integer as an argument and returns true if the number is prime, false otherwise. Your function definition must look like this: def isPrime(value):   Creat…
• # loads the necessary libraries import pandas as pd from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler   from sklearn.tree import DecisionTree…
• Please solve this function this is a relatively basic class so please do the easiest way of solving this. def delete_range(my_str: str , ranges: List [ int ])-&gt; str : “””Delete specified ranges fro…
• Please complete this in 30 mins Question 9 Not yet answered Marked out of 5.00 Y Flag question Write a function called is_match() that takes two characters {i.e. a string of length 1) as parameters an…
• The function that will return the sum of all of the numbers in a list of lists . The details in the code box. The input into your function should a 2D list of Output is the sum of all of the numbers i…
• Dear Sir/Madam  please find attached the images of my question. I need the answers and step-by-step explanations for each part of the question.  I hope you will consider my request to help me to get…
• Problem 1 (2 marks) Problem: The people of ancient land of Pacific Baza had a simple mathematical system that knew only natural numbers and addition. The genius Bazan scholar, Gringo el Possum, built …
• Write function that accepts three integers.The function should return with the smallest integer among the three numbers
• Please solve below problem by using Python programing and use Jupyter notebook. Provide exact line by line code with explanations as we need to run this code in jupyter notebook.
• The dataset Cereals.csv includes nutritional information, store display, and consumer ratings for  77 breakfast bowls of cereal.  Data Preprocessing. Remove all cereals with missing values.   Appl…
• py/Python Code:   import random     #  COMMENT BLOCK 00 #  This script simulates a work flow where jobs come in to server A and #  are transferred to server B for completi…
• I need to remove the encryption on the following code but I am not sure how to. I used the passwordEncrypt() function to do the decryption (line 76) and I know the variables in the parentheses are cor…
• I am trying to get the header of a website to be red, using the color name. I cannot get it to apply the changes in the css file to the site. Can someone please help me figure out where I am going wro…
• What are lambda expressions in python and how should I approach it in order to incorporate it into my code such as in this case of the shift right?. class Types (Enum) : I = auto( ) 0 auto( ) = auto( …
• I am really confused on how to approach the following equations. i need help writing code for the following class: class Aquarium : def __init__ (self, size) : “”” Creates a new, empty Aquarium of the…
• How do I join the two dataframes in python using the below str   df1:  FL_DATE OP_CARRIER TAIL_NUM OP_CARRIER_FL_NUM ORIGIN_AIRPORT_ID ORIGIN ORIGIN_CITY_NAME DEST_AIRPORT_ID DESTINATION DEST_CITY_N…
• Starting from the Point2d. py file you download from the Course Resources page of the Submitty site, please do the following: 1. Write a new Point2d method called scale that takes as an input argum…
• def sw_vehicle_search(cargo_capacity: int, max_speed: int, cost: int) -&gt; list:
• . 1. Move (copy) the code for the three functions ( calculate_unique() , split_dataset() and calculate_common() ) into a ﬁle named my_experiment .py . This ﬁle should be stored in the same direc…
• The purpose of this project is to: Get &amp; prepare the data: Load and explore the dataset referenced in section 4 in this document using techniques learnt during this course. Visualize the data and …
• Would like some help with this . explore string() Enter 10 or more char’s ending with a period: 1234567890 Error. Try again: abcdef Error ! Try again: Does this work? Error: Try again: abcDef 12. Ori…
• (Q: Write a program to merge the data from two companies.) Case Study Domain -E-Commerce focus -Optimization Business challenge/requirement GoodsKart—largest ecommerce company of Indonesia with reve…
• How can I write a python code to open a csv file in python first and then get just data that start with “ast”, “mne”, “bdr” and also the date that is after 12 june 2019?
• txt is very long so you can create on your own for example: aahed#aalii#aargh#abaca#abaci I’ve finished task 1   Wordle.py words = [] with open(‘word5Dict.txt’, ‘r’) as infile:    for …
• what code would allow my program to: 1. Make it so each data point is a different color preferably rotating between red,green,red,green,red,green   2. Create lines between points that have transacted…
• A fridge should keep food at a temperature between 0 and 5 degrees Celsius (inclusive). Assume you have a non-empty list of integer and/or floating-point numbers representing the hourly temperature re…
• Propose a situation that requires list of lists in order to solve, such as the following examples (not to be copied exactly): Maintaining an address book as a list of names, addresses and phone number…
• Use Python.   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 necessary….
• def get_short_heights(heights: List[int], short_height: float) -&gt; List[float]:   “””Return a new list consisting of the height values in heights that are   BELOW the short_height value, keeping…
• USING PYTHON ,  Perform a  K-means clustering USING THE elbow method ON BOTH THE MNIST digits and Iris dataset. which technique yields the correct number of classes for each dataset. USING K-Mea…
• The Student Records Algorithm Program  Write program that read in a text file called “students.txt” The program will need to store all of the data (Name, ID#, Age and GPA) into an array of Person rec…
• please answer as python. In this problem, we’re going to extend the InventoryItem class so that it supports two specific types of items in Trish’s bookstore: Books and Magazine. In Trish’s bookstore, …
• py #—————————————————- from stack import Stack def getAction():    ”’    Write docstring to describe function    Inputs: ?    Returns: ?    ”’…
• In Python programming, what would be the following code: Average of Numbers. Assume a file containing a series of integers is named numbers.txt and exists on the computer’s disk. Write a program that …
• Filename: qr . py . Data file: positions . csv Use the csv file provided to generate a OR code using matplotlib. You can try either (1) drawing one square at a time using plt . plot(x, y, ‘s’ ) in a n…
• . 1) You are browsing your favorite internet auction site and thinking about a little on-line arbitrage. You have \$100 to invest and with a little clever searching and some elbow grease you believe …
• A few seconds after you submit the quiz, you will see the result at the top of the screen. If it reads &quot;Congratulations! You passed!&quot; then you are done! However, if it reads &quot;Try again …
• Question 3: Invert Number View Past Answers No past answers. Get a function invert_number that reads in a positive integer, reverses the order of each of its digit and returns out the inverted value…
• A robotics team is organizing a Roboton. n robots are placed along the edge of a circular area at the middle of the OAT. Each robot will move along arbitrary tracks inside the circle while leaving beh…
• Python Question: Write a function called intersect (Ist1, Ist2) that takes 2 parameters, both lists. Return (not print) a list of all items in Ist1 that are also in Ist2. &quot;&gt;&gt; intersect([‘Ja…
• Q#(3) To determine the wavelength in Table 19-4, we use a formula based on a difference in cavity lengths. The purpose of this is based on the recognition that the antinode is near the column’s open e…
• Can you take a look at these multiple choice question that will be appreciated thanks by the way.. Which of the following functions can be called with an appropriate function argument so that it wi…
• Lists list_between Given an input list, a lower cutoff value and an upper cutoff value, return a copy of the list only containing values between the two cutoffs. list_top three Return a list containin…
• Which of the following is false about abstract base class (ABC)?   a. No need to implement all necessary methods (and properties) in the base class   b. Subclasses do need to complete the definition…
• Writhe program in Python / C : There are N bag of sand, each has its own weight (unit is kg). You have a container which can hold 1kg sand exactly. You try to move the sand among these bags so that yo…
• the assignment is an indexing one. It provides two assignment files   cacm.zip and the python script  indexer.py. Where should I put the cacm.zip to run it? Same folder as indexer.py. When I run it,…
• CHALLENGE ACTIVITY 4.4.3: If-else expression: Operator chaining. Write an expression that will print &quot;in high school&quot; if the value of user_grade is between 9 and 12 (inclusive). 376628.20152…
• Problems: 1.     Write a function printTwoLargest() that inputs an arbitrary number of positive numbers from the user.  The input of numbers stops when the first negative or zero value is entered …
• Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Exercise (2) Lab E…
• After the following code is executed:  infile = open(“myfile.txt”, “r”)   infile refers to” Group of answer choices 1.. a tainted variable   2.. a file handle   3.. a file variable   4.. a buffer…
• for an 8 core executor with 15 sec micro batch duration, for 100 rules, ………….. please see attached pic
• What would be a good online resource for Python regarding artificial intelligence? Packages and libraries Documentation Instructions Now that you have finished learning basic programming, you are read…
• The greatest common divisor (GCD) of two positive integers is the largest integer that evenly divides into both of them. For example, the GCD of 18 and 12 is 6. A general algorithm to calculate GCDs i…
• If you are trying to print a string, what happens if you leave out one of the quotation marks or both and why? You can use a minus sign to make a negative number like -2. What happens for each of the…
• I have been asked to design a program that lists the total points scored for each of the 30 classrooms of an elementary school with 30 classrooms numbered 1 through 30. Each classroom can contain an…
• What would the result of the following statements be?    &gt;&gt; x , y, z, w  = [1,2,3,4]   &gt;&gt; print(z)   Group of answer choices   A) the integer 2 will be printed.   B) the integer 3 w…
• As we showed, the horizontal displacements ξi of masses i = 1 . . . N satisfy equations of mo- tion m d2 ξ 1 = k ( ξ 2− ξ 1)+ F 1, d t 2 m d2 ξi = k ( ξi +1− ξi )+ k ( ξi −1− ξi )+ Fi…
• Create new field into the cars_json DataFrame to represent Cylinder_efficiency. The calcuation for Cylinder_efficiency will be HP divided by the Cylinders; round the results to two decimal places. Nex…
• If you have downloaded the source code from this book’s companion web site, you will find the following files in the Chapter 07 folder: • GirlNames.txt–This file contains a list of the 200 most pop…
• Python programming Sample run: From: Bob To: Santa For Christmas, I would like: Video games World peace From: Bob To: Tooth Fairy Merry Christmas to my best friend I am wishing you blessings and joy t…
• Given Code:   #One of the confusing things about dictionaries is that they #are unordered: the keys have no internal ordering to them. #Sometimes though, you want to look through the keys in a #parti…
• python program for the application should be able to accept Student data from the user and add the information in a file type of your choice. 2. Student Data should include the following StudentID Fir…
• can you help solve this in python ? The Human Resources department conducted a behavioural interview for a highly skilled job. There were 8 job candidates that participated in the interview in which t…
• + 8 0 0 Markdown v Python 3 (ipyker TOOR CODE TILAL FF Solving a Linear System of Equations Assume we’re given the following three equations with three unknowns: x, y, and z: 3x – 2y = 13 -2x+ y- 3z =…
• def score ( entry ): “””Take a dict containing the data for a participant and calculate a score Parameters: entry: dict[str -&gt; Any] — a dictonary containng the fitness test data for an entry in th…
• Python fundamentals How do i make a script that examines a string for the occurrence of a particular letter.
• Could anyone please help me with my Python? I’m really bad at it Exercise #1 name: is_palindrome arguments: *  s (str) returns: Return  True   if  s  is  a palindrome  and   False   if   n…
• Question 1 We will investigate whether there are any systematic differences in the distribution of some key pre-treatment variables (hs1990, black1990, hisp1990, male1990, logincome1990) between towns…
• Chapter 7 – Model Evaluation What is the difference between evaluation and validation in machine learning? What does a contingency table consist of? Show that GT = TPN +TPP and that TAP = GT -TAN Show…
• please help me with this (1 question) This program will have multiple options. The first number entered by the user indicates the option they are selecting Every option starts by inputting a sequence …
• Write a Python program that uses a for loop with the range function to display the integers from 5 to 50 in increments of 5. See page 170-176 to learn about the range function. The program should also…
• The MCGW problem is the Men Cabbage Goat Wolf problem. It is a question to solve in .py file. Please help me(; [Weight = 4] (Programming the MCGW problem) Write a function called genLegalStates () tha…
• Method specifications. Define a class called TankModel, which should be a subclass of Distribution. Define the following methods. Remember that as a subclass, TankModel will automatically come wi…
• Please use python for this. Do plagiarism() function and count_word function…please highlight: This function takes two string arguments. The ﬁrst is a filename and the second is a keyword to be se…
• will give thumbs up Python  Big-O Coding Exercise Find f(n), T(n) and the Big-O Total complexity   Pls answer only if u know big-o
• Suppose you want to create a function that that will capture a table from a web page and save the data into a text file. What should you use as parameters?  A) web address url only  B) web addres…
• Need help extracting the following data from a csv file using Python Programming(Wing Python IDE) : Total Sales Total Profit Sales and profit for each category Sales and profit for each state The best…
• Unisng Python: Make a class Rectangle. The object from the class Rectangle shold be able to: Determine if one of its vertices is inside another rectangle (True/False) – Calculate its own area and peri…
• Question 1:   Write a  recursive function that takes 2 strings ( string_1 and  string_2 ), and returns a tuple containing the following two values:  A list of characters that are common to both st…
• Pivoting is another common term in data visualization where you rearrange data into some tidy and readable form so other people can extract information from it. For example, let’s say we have some dat…
• // NewMultiply.java – This program prints the numbers 0 through 10 along // with these values multiplied by 2 and by 10. // Input:  None. // Output: Prints the numbers…
• Data： import pandas as pd url = ‘https://philchodrow.github.io/PIC16A/datasets/palmer_penguins.csv’ penguins = pd.read_csv(url)   (There are three species of penguins please Demonstrate a figure by…
• The docstring below explains the function selection: def selection(products, conditions):   “””   Filters a given product table by a list of conditions.   Input : A product table (products) and …
• You are attempting to budget for gas/cleaning in the upcoming annual period. The city has 4 gas choices parted in 2 collections; you need an option from both. Underneath this will show choices as well…
• Write a program that takes in a positive integer as input, and outputs a string of 1’s and 0’s representing the integer in binary. For an integer x, the algorithm is: As long as x is greater than 0 Ou…
• how to print Input rods: 1 You input 1.0 rods. Conversions Meters: 5.029 Feet: 16.5 Miles: 0.003 Furlongs: 0.025 Minutes to walk 1.0 rods: 0.06
• Suppose we discovered that the measurement of CO2 values was uniformly too low by a small fraction p. Write a function that increases each value in co2_levels by the fraction p. (In other words if x i…
• There is a famous puzzle intended to demonstrate the surprising growth of exponential sequences, sometimes called the “Wheat and chessboard problem.” If a chessboard were to have wheat placed upon eac…
• Prompt the use for a quotation and a common word. Make the entire quoation lower case, except that particular word, which you will make upper case. Upper case the word even if it is embedded within an…
• How Can i do that using python please. I would appreciate a step by step answer. Thank you. 3. (32 points) In R, consider the contents of iris[,-5]. In Python, consider the contents of: from sklearn i…
• Using Iris Species Dataset in the link https://www.kaggle.com/uciml/iris   1. Using Python, Seaborn, and Matplotlib in Jupyter Notebook, show scatter plots for sepal (length and width) and petal (len…
• I have a code that is supposed to work in python with flask in order to make a website written in HTML. I cannot get it to work properly, please review the code provide below and advise as to what is …
• Implement a chat server in Python. There are two main components, the clients and the server. The server will be started before the clients. You should use TCP sockets for communication. The server us…
• This week, you are going to build on the program from last week. Use the same file from last week. You will be extracting the first partition entry from the master boot record that is contained in the…
• Fill in the blanks in the code below to iterate the function Q(x) = log(x) 30 times starting with an initial value of 2. Finally, print out the value of the output list Qlist. (Don’t count the underli…
• Write a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the output is: 3
• Python 3. Three variables, x, y and z, supposedly hold strings of digits, suitable for converting to integers. Write code that converts these to integers and print the sum of these three integers. How…
• MIST 6150 Data Quality for Business Analytics Problem Set 3 You are required to use Python to complete this assignment. The goal is to practice your skills of handling data using Python. It has two pa…
• write its stack log . Clearly indicate which option you have chosen (“Alpha” or “Beta”)   Option Alpha ( Nested Calls and Returns ) int foo1(int arg) {    int val    val = foo2(arg + 1)    val …
• Why x.f() will print nothing rather than print ‘b’, the one in its father class
• I need to finish the functions below by replacing anywhere with the “&lt;&gt;” spots with my own code. I can edit the syntax of any function, so long as the result does not change. Function to calc…
• csv Using the test.csv file provided. Write a python script to import the data from that file and produce: A) histogram of age, B) a summary of descriptive statistics for all parameters provided …
• Hi name = input (‘enter file name:’) handle = open(name) counts = dict() for line in handle:   if line.startswith(‘From ‘) :     word = line.split()     for word[1] in word:       prin…
• I am having difficulty at having to print the top 3 students with the scores. I know that i an supposed to use the concatenated string but not sure how to. For some reason course hero isnt allowing me…
• Suppose a program is to read in an integer value representing the age of a person. It makes sense that the value should be within a reasonable range, say 1 to 100, both inclusive. If the user enters a…
• Python programming Q4. Write a program that rite processes a text file, q4_sample_file, and creates a new file in which all three-letter secret agency names like CIA, FBI, NSA have been censored to **…
• I think I am going to need a recursive function to accomplish this. I really don’t know what to do from here. #A common problem in academic settings is plagirism #detection. Fortunately, software can …
• Probem is : Given an integer representing a 10-digit phone number, output the area code, prefix, and line number using the format (800) 555-1212 I wrote : phone_number = int(input()) area_code = phone…
• Problem #2 A cylindrical, vertical water tank has hemispheric end caps as shown. The radius of the cylinder and the caps is r = 25 cm, and the length of the cylindrical part is 1.8 In. Him: For a hemi…
• It’s a final project for me and i did do it but wanted to see if i can get help matching the same results. # Declare Variable types (EVERY variable used) Because Python does have types, you must remem…
• When working with data in a queue, write the following for the different data structures that are proposed: Python Programming   1) You are given an array of k single-linked-lists of length n, where …
• Please write a program to output a random even number between 0 and 10 inclusive using random module and list comprehension.
• Chrome File Edit View History Bookmarks Profiles Tab Window Help 8 9 8 0 Wed Feb 23 2:19 PM . . . Quiz: Module 6 quiz x Course Hero x | + &lt; &gt; C a psu.instructure.com/courses/2174122/quizzes/4460…
• what is a nonlinear nested selection structure in Python Programming? Can you provide a real-world example?
• Problem 2: Write a function customer_loyalty (visit_tracker) where visit_tracker is a dictionary mapping the name of each person to a list of the bubble tea places they have visited. There may be dupl…
• Personal Information Program 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 appropri…
• . Data Overview Columns 1. Pregnancies – Number of times pregnant 2. Glucose – Plasma glucose concentration at 2 hours in an oral glucose tolerance test 3. BloodPressure – Diastolic blood pressure (…
• Definissez une classe Voiture() qui permet d’ instancier des objets reproduisant le comportement de voitures automobiles. Le constructeur de cette classe initialisera les attributs d’instance suivants…
• https://1drv.ms/x/s!AsJmq4RS6w5ulHUTrVjkBlp4vh8i?e=EqvAGL. A Lab 5K Create a data frame using the mpg.csv file 0 Modify the data frame to drop name, displacement, horsepower, and weight. 0 Display the…
• Given the following Python code for the merge sort algorithm. def merge_sort(alist):    n = len(alist)    if n &lt;= 1:        return alist    mid = n // 2    l = merge_sort(alist[:…
• this one is not to making the program, yet.   This time what i need is to work on question below lists.   So all i need is a answer rather than the building program.   I have multiple references to…
• Please program python code to calculate the Likelihood of the phylogenetic tree given that the input is in Newick format from the user. Please read the (pruning) algorithm online. Only one tree in New…
• Write a program to give an opinion survey to several users, and print the average results when all users have completed it. Requirements: Each question has 1 of 5 possible answers: ◦ “StronglyAgree,…
• use python do this Use the data file No More Germs Toothpaste for the following questions: Note:  For all questions, you may ignore the significance of the variable in a regression. Just answer based…
• . Question Theme Park is one of most attractive places to be visited especially during the school holiday in Malaysia. [jg-5g Park is a theme park that will open eady next year in Selangor. [3353. P…
• \   This is the hw5_util and the grid text: https://files.fm/u/sze9yubse?k=720ca2ee. Overview Many problems in computer science and in engineering are solved on a two dimensional numerical grid us…
• Question 5 Question 5: Write a function that will read in a text ﬁle and return a dictionary of disemvoweled words. Dis— emvowled words are words in which the vowels have been removed. These are c…
• PLease solve in Python.. In this task, you will implement an unconstrained optimization method for problems of two variables. You will use the optimal steepest ascent technique discussed in lecture an…
• LAB: Warm up: Drawing a right triangle This program will output a right triangle based on user specified height triangle_height and symbol triangle_char. (1) The given program outputs a fixed-he…
• Develop an application that uses file and directory access to encode their structure in a JSON file given a root directory. Build a python application that given a command-line argument of a root dire…
• please help. The Lorenz Curve There are many mathematical models used to model the Lorenz curve. For this homework, we will work with the simplified Rao-Tam Lorenz curve, as defined by: L(x) = x, wher…
• Suppose we roll two dice 10 times. We denote the value of sum of faces as X, and denote the observed values of each trial as x_1, x_2, …x_10. Which of the following is/are true about X? a) X can onl…
• Task#1:  Consider the following three sets: A = {10, 50, 30, 18, 25, 6} B = {11, 25, 98, 42, 83, 7}  C = {5, 15, 35, 45}  Perform the following operations:  1.     Find the common elements be…
• . in the following Python code, find the value for )0 that will result in Int statement printing the first occurrence of a substring that meets these criteria: (5 points) starts with any three upper…
• Proofs Prove that for an integer n, if n 2 is odd, then n is odd, using direct proof, then use Proof by contra-position. Which did you find more appropriate, why? 2.) Proofs P1 = The square of an …
• In pandas library How to    1. Fill in the missing values by mean   2. Fill in the missing values by the average values of {Disease, Smoking} groups
• A recursive function is one that calls itself within the function (True or False?)   2. Writte a command line argument to run a Python file named  modTest.py . Direct it to get the program’s inpu…
• Scenario:   Campus Pizza is really taking off and your co-founders love the programs you have built. They want you to build an object oriented program for their beverages.   Campus pizza has two b…
• Ohm’s Law is an equation that expresses the interrelationship between the voltage, current and resistance in a circuit. Basically, the amount of current flowing in a circuit is directly proportional …
• 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…
• QUESTION:  . 35 36 37 33 39 4 l 42 43 45 47 48 49 50 51 52 53 54 55 56 57 58 59 6G 61 62 63 65 66 67 # ——————————- utility method —————————— def _make_position…
• Using four spaces for indentation is the typical approach in Python code, but how about using tabs? So, is using tabs instead of spaces good, bad, or indifferent? Why?
• The index() method in Python determines if a string contains a specific sub-string. Describe the index() method’s protocol, i.e. the parameters that it takes and the meaning of the return value.
• Q5: Find the closest points¶ Q5 : Find the closest points consider you have given n data points in the form of list of tuples like S=[(x1,y1),(x2,y2),(x3,y3),(x4,y4),(x5,y5),..,(xn,yn)] and a point P…
• Hi, can you help me correct the errors in my code? its due tonight. Here’s the code:   def game_instructions():  # intro         print(“You’ve just acquired the ancient artifact you were aft…
• write statement that calls a function named computer_volume and passes it the value y and assigns the result to a variable called x ?
• Given 4 floating-point numbers. Use a string formatting expression with conversion specifiers to output their product and their average as integers (rounded), then as floating-point numbers. Output ea…
• I made one python named eliza300_5_run_1.py and another one is eliza300_5_function_1.py . and write ” import eliza300_5_functions_1 in eliza300_5_run_1.py. But my tutor say it’s wrong. I write code in…
• if a class Time Duration which represents time duration. The class should have three fields for hours, minutes and seconds. It should have constructor to initialize the hours, minutes and seconds. A f…
• Assume the availability of a function is_prime. Assume a variable n has been associated with positive integer. Write the statements needed to compute the sum of the first n prime numbers. The su…
• Use python. Implementation of topological sort. Given below is a directed acyclic graph (DAG) which you are required to topologically sort: 0099.06 1. Implement the topological sort algorithm on th…
• 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…
• For datasets kindly refer to: https://drive.google.com/drive/folders/15O-xUsQIy6KIWYuqGhP63qgR2B2KuDW8?usp=sharing   a. Compare the ‘Country’ and ‘Status’ variable and provide inferences about the vo…
• 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’ …
• Project 6: Data Visualization and Analysis CS 1410 Background This project is based on actual work done for the Department of Homeland Security. The goal is to detect the presence of dangerous materia…
• Stage MPG none 45.8 none 36.4 none 35.3 none 40.1 none 48.9 none 45.6 none 47.2 none 47.9 none 60.4 none 37.6 none 47.3 none 47.2 none 47.1 none 44.9 none 48.2 none 48.8 none 41.09998 none 37.90344 no…
• hi i am posting this question so many times no-one is helping me. All the questions is completed, i just need somone check the comment and code, also a little error i am getting which is in the graph …
• I need help with this question. Can someone please help me Cadia Proi Edit Find View Tools Education Help times-table.py Configure… Project Index (static) @ Configure…. 6. 1. Times ta… # Get N f…
• What are the steps I need to take to solve this problem? what do I type in? I attached images of the tables from problem 1 and problem 3
• Question:   This is Source Code of  KNN Algorithm.  But I wanna show the output as  Graph. For Example:  PLEASE Modify this Code as The Above Picture. Use Blue and Red Color for Two Class.    …
• This is in reference to bootsrapping Use scikit-learn’s train_test_split function to divide the dataset into a training and a test set. The test set should contain 45 examples, and the training set sh…
• Q 9. Write a function find_all_routes to display all possible routes from senders location to receivers location given in the dictionary for each shipment.¶Graph data structure is used to represent…
• How can I implement stage 3 in my tic tac toe game? I have already completed steps 1 and 2. Here is the current code that deals with step 2. Below is an attachment for the steps for stage 3.  def Pri…
• You need to implement and use the sorting algorithms you learn from the class to sort 1000 random elements. And for the testing step, you need to implement a random number generator function and te…
• Milestone Requirements At the end of Lesson 05, to help make sure you are on track to finish the assignment, you need to complete the following: The program is working for the first question and possi…
• Residential and business customers are paying different rates for water usage. Residential customers pay \$0.005 per gallon for the first 6000 gallons. If the usage is more than 6000 gallons, the rat…
• need answer for this Question 3: (2 marks) Describe how the code below works and state the mechanism it uses: n = None while n is None: try: 5 = input(&quot;Enter an integer: &quot;) n = int(s) except…
• Write a function that returns the same result as the built-in partition method for strings. Your function will take two arguments, both strings. The first argument will be the string to partition and …
• Write a Python program that prompts the user to enter five integer numbers. Count the number of integers greater than 10 Required: 6  INF1511/102/1/2019  Screenshot of the Countxxxxxxxx.py   pr…
• Write appropriate Python code to enforce that the given values of a, b, and c must satisfy the condition, b2-4ac 2 0, display a rejection message if the condition is not made. [For example, when a …
• For each of the following statements, indicate whether it is true or false (there is no need to justify your answer). (i) If you have a visitor from out of town you can let her check her e-mail on you…
• For each message, they say a word, and find the line with the most given word. In this problem, you have to help them record the line number where the given word appears most and how many times it app…
• def bollingerBandsStrategy(prices):    i = 0    buy = 0    total_profit = 0    trade_profit = 0    first_buy = 0        for price in prices:        if i &gt;= 5:            mov…
• Use the OSI model to help answer the questions below Servers require a client to request information before sending data back. True       b) False   Layer containing the ports and connection type….
• Can someone pls help me with this. Do not use break statements or global variables please and thank you. I have an instructions and an example below of how the program should run. Program behavior The…
• In Python, the ‘+’ operator can be used with numbers and with strings. What is a property that number addition has, but string concatenation  does not ? Select one: a. numeric addition is allowed on…
• The picture I attached is the question with what I started on. Exercise 1. a ). Create a script that . loads data from each file in the directory to combine. . Combines that data into one array . Outp…
• Define a class BMI (https://en.wikipedia.org/wiki/Body mass index) with two data members: weight and height, and two methods: value() and status (). The first one returns the BMI value, and the sec…
• Tom knows that he can efficiently identify the students (by requiring a valid student ID), and he is interested in seeing if it would be worthwhile for NYHC to offer a separate menu of prices for pers…
• String dictionary keys are case sensitive. Confirm this by using the following dictionary and assigning 10 to the key ‘x’—doing so adds a new key-value pair rather than correcting the value for th…
• . Consider the following multilayer neural network with the transfer function for each layer: Input Sat. Linear Layer Linear Layer 2 a = satlin(w’p+# ) a = purelin(w’a + b) Where satlin is defined b…
• At the end of Lesson 11, to help make sure you are on track to finish the assignment, you need to complete the following: Download the dataset Load the dataset in your Python program Iterate through t…
• Reformat a series of strings into Camel Case by returning the fragments from input as a single “sentence”. For example, consider the following input:   Camel Case   LOOKS like ThIs   Would result i…
• Question 23 (2 points) Freeze Panes What is the purpose of this icon? O Creates a sparkline Allows columns and rows to be immobile Changes the color of the worksheet Sums all the data Next Page
• INSTRUCTIONS : 1) Python Programming 2) No use use of built in libraries and built in functions 3) Use comment out for understanding better 4) Use Functions name and parameter name is same as given in…
• Given this code in the pastebin link: https://pastebin.com/NuPaPAFT, implement a file system using a tree data structure. If a specific path does not exist, disregard that file.    Input: First line…
• For the following circuit, label the numbered gates with their corresponding Boolean expressions. 1 0 A v 2 1 0 V B 3 V output 4 1 0 V
• Write a program that uses a while loop to repeatedly prompt the user for numbers until the user enters nothing (empty string). Print the average of the numbers entered. You must use a break statement …
• Given the parallel circuit provided in Figure 2, complete Table 2. Use the Digital Multimeter to measure the Total Resistance in Multisim.  Screen Capture Multsim results and include snapshots in the…
• Help! How can i change it into this form?. EA SAP SEPT2021 (1).pdf – Adobe Acrobat Reader DC (32-bit) X File Edit View Sign Window Help Home Tools Intro to File Process… EA SAP SEPT2021 (… X ? Sig…
• Please provide me with the correct code/input with an easy format. ﬂ learn.zybooks.com E zyBooks My library &gt; T 140: Introduction to Scripting v3 home &gt; 2.14: LAB: Warm up: Creating passwords …
• TURN IN #1: Severance Chapter 7 – Exercise 2 – ASSIGNMENT Write a program to prompt for a file name, and then read through the file and look for lines of the form: X-DSPAM-Confidence: 0.8475 When you…
• The picture that I attached is the question with what I am confused about. Exercise 3. Consider swinging a sling in a horizontal circle overhead. The tension in the rope should satisfy Fr = m /9 7 + (…
• This part covers indexing lists. In [ ]: # For this part, the following lists are provided for you if so run this code first to define these variables list_1 = [10, 20, 30, 40] list_2 = [13, 15, 17, 1…
• How do I set up a container running a flaks web app?
• Implement a &quot;hashing&quot; function for 3-mer. That is, given a 3-mer, e.g., AAA, you should return an integer, e.g., 1. We take the natural order of sorted nucleotides, i.e., AAA -&gt; 1, AAC…
• Class –  txt_dataset Parent Class –  dataset Method Details: __init__(): In the constructor, take arguments filename(to access the txt file), splitter(used to split each line of the dataset) and enc…
• use python incremental development to explain 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. Record …
• The programming language is python 3.7, using the attatched image of a goat (goat.jpg) for the image being modified according to the questions parameters. This is to be done using PIL. greyscale (file…
• 10 LAB: Warm up: Basic output with variables   This zyLab activity prepares a student for a full programming assignment. Warm up exercises are typically simpler and worth fewer points than a full p…
• I need to write a SQL statement this is what I wrote but not sure it is correct SELECT customerid, count(customerid), sum(price) FROM items_ordered GROUP BY item HAVING count(item) %s; 11. Write a SQL…
• Complete the function below according to its docstring description. def find_first_occurrence(msg: str, string_to_find: str) -&gt; int:    “””Return the index of the first occurence of string_to_fin…
• I’ve got my first table formatted correctly but my 2nd and third table is all over the place. the longer I try to fix it the more it gets messed up. I’m just trying to make the columns evenly spaced….
• 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…
• In Python please  Write a Python program that will collect positive integers from the user and store them in a list.  The program should keep asking the user for positive integers until the user ent…
• Python programming – How to download the iris dataset (see the link to the data below). Ensure that the downloaded CSV file has 151 rows and 5 columns, and the last column presents the iris flower ty…
• please help. In the cell below, complete the function train_test_split that splits data into two smaller DataFrames named train and test . Let train contain 80% of the data, and let test contain the r…
• Please read all the information first. Farkle game in python PLAYERS –        you should enter the number of players as a parameter (2 to 6 players). –        So, there user has…
• I need help with this question in python programming! Given the twitter hashtag #EmergingTechnology, and store the returned tweets in JSON format (do not collect more than 5000 tweets). Process t…
• Describe how  catching exceptions  can help with  file errors . Write three Python examples that actually generate file errors on your computer and catch the errors with try: except: blocks. Incl…
• Factors a) Define a function named print Factors() with a parameter n. This function prints all factors of the number n on a single line. b) Define a main() function to do the following: 1) Request…
• Computer Science Write code in Python. Matrix of dimensions 2,5,6 filled with random numbers from beta distribution (0.5, 0.5) f = np.random.beta(0.5, 0.5, (2,5,6)) # create matrix of shape 2x5x6 in b…
• # Polyglot A _polyglot_ is someone capable of speaking several languages 🗣. Being a polyglot data scientist allows you to leverage the best features and libraries each programming language has to o…
• Project 6: Data Visualization and Analysis C5 1410 Background This project is based on actual work done for the Department of Homeland Security. The goal is to detect the presence of dangerous materia…
• Create a program that follows the Home rt; it must include a While leap and a for leap.
• kindly write an algorithm and python code to Implement 4-tic-tac-toe py game for human player VS robot whose decision is made by the algorithm you design. On the 4X4 board, the two sides alternately …
• the instruction is in the pdf there’s already a skeleton code and i want it be completely finished 16 16 15 15 9 6 6 6 6 19 19 19 19 19 19 19 3 14 14 6 6 7 14 2 19 19 9 9 9 9 6 6 10 6 6 13 8 11 2 2 17…
• Finding a Shortest Path with An Energy Budget 21S1 CZ3005 Assignment 1
• Python Programming  NB// Include comment in the code.   Project 9.1 Employee Class Design a class called Employee that holds the following data about an employee in attributes: name, ID number, dep…
• Referring to the picture, there is a 9 with diagonal of 6. What is the code to check if the diagonal of the 9 is made up of 6? Thank you.
• Painting a wall (python 3) (1) Prompt the user to input a wall’s height and width. Calculate and output the wall’s area (integer). (Submit for 2 points). Enter wall height (feet): 12 Enter wall width …
• 5.1: Write a python program that does the following: ·   takes as input from the user an English sentence ·   calls the function vc_counter() that: o  takes a string argument o  counts t…
• 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…
• Python program that determines whether a given stream of characters matches the following regular expression `number’ or not. Regular Expression: nzdigit –&gt; 1 | 2 | 3 |…..| 9 digit –&gt; 0 j …
• Embed helper functions into function retrieve_info_for_curr_person Since we complete some helper functions for extracting and processing, let’s wrap them up into one single function for tidiness. Afte…
• ToyotaCorolla Sales Consider the data on used cars (ToyotaCorolla.csv) with 1436 records and details on 38 attributes, including Price, Age, KM, HP, and other specifications.  The goal is to predi…
• Question 5:  How do you create a table that contains the average age of workers broken down by union and sector. A row of the table should be the average age for each sector of a particular union sta…
• Problem 4 Students in a course need to do lab assignments and take tests. Course grade is calculated from these scores. create a program to calculate course grade. You must create and use the follo…
• I need assistance creating at least 6 unit tests, with at least two different assert functions within the 6 unit tests for this program that was written in python.            Context: The units …
• All file input and output is done with what kind of data? (need full name)
• The internetworking infrastructure is one of the major components of businesses everywhere. When working with such diverse, yet fully interconnected technologies, security issues may arise. There are …
• How many arguments are passed to the input function in this code segment? 01 def prompt_for_guess(answer_start_letter): 02 display_header() 03 guess=input(‘What word begins with the letter ‘+answer_st…
• You are working at a company with many Centos servers running. The senior system administrator has asked you to automate a task: each virtual machine needs to have a backup script called backup.py ins…
• I need help fixing the first implementation for switching between tkinter windows, on running I get once it reaches the else clause: “UnboundLocalError: local variable ‘MembershipPage’ referenced befo…
• Implement a number guessing game where a player will get up to seven chances to guess a mystery number in the range of 1 through 100. At the beginning of the game, the program will generate a random n…
• How is a program written, which displays the months containing the letter r? The file months txt. has 12 lines with each line counting one of the months of the year. the program should use a global va…
• Need explanation of how to figure this out….   think I’m messing up the result += a * b  . Input 13 Output stop = int (input () ) result = 0 for a in range (5) : for b in range (4) : result += a+ …
• Write a program that asks the user how many Fibonacci numbers to generate and then generates them. Take this opportunity to think about how you can use functions. Make sure to ask the user to enter th…
• I need to picture of output. #Problem 1 def safeOpen(fileName) : try: infile = open(fileName) return infile except : end #Problem 1 def safeFloat(x) : try: return float (x) except : return 0.0 #Proble…
• Part 3: You will create a simple class Car which will contain: it Fabricanf {Se-tag. HangafwaEttp, Ferd, BMW, etc) in Brnnd {So-tag. ernnmfes: Renegade. Beetle. Mustang, etc) In Fear (String. Examples…
• . PROBLEM # 1 FINITE DIFFERENCES 200 ft 200 ft 200 ft Total length = 1,200 feet (Ax = 200 feet) Pi = 2,000 psi Pm = 1,000 psi Let’s assume Ct = 10 x 1046 psi -1 11 = 1 cp k = 10 1nd db = 0.25 …
• what does this do in this code? def set_make ( self , make) : self .make = make def get_make ( self ) : return self .make def set_model ( self , model) : self .model = model def get_model ( self ) : r…
• Inheritance Revisited – Shape3D In this lab, we will create concrete classes that inherit from an abstract class. The abstract class from which the concrete classes will inherit is called Shape3D. cla…
• A non-governmental organization needs a program to calculate the amount of financial assistance for needy families.  The formula is as follows: 5 pts If the annual household income is between \$30,000…
• Are you guys able to build this python task ?   Please see attached.. Impressed by your programs implemented in Assessment 2, the Subject Coordinator of COMP101 has asked to develop a program solving…
• Largest Element We need to prompt for a string containing integers separated by spaces. Then, we need to load the values into a list. Then, we need to determine the element in the list with the larges…
• (In python). Write a function named random_X that keeps printing lines, where each line contains a random number of x characters between 5 and 20 inclusive, until it prints a line with 16 or more char…
• . StirCom is a telecoms company that has spent the past few years digging up the streets of UK cities to connect people to their network. They are now keen to expand into the 5G market so they have …
• . The table grouped_contribis the entire raw dataset aggregated the same way we did in exercise 0. It will have columns named ZIP_CODE, CMTE_ID, and TRANSACTION_AMT indicating the ZIP code, committee …
• This is an issue I’m trying to find the right answer for! any help? Background Soccer is what Americans call football. The Problem Write a program that plays a soccer game between two teams. A game pl…
• Machine Learning Assignment   Use the Bank.csv in attachment. Use the following estimation models for predicting customer subscription (y in the table). You should print the cross validation score an…
• make a Python code Base In this picture thank you  . SERIES CIRCUIT Input: 1 voltage source N number of resistors Value of each resistor Output: Display total current and display each voltage of each…
• Write a program to play a game blackjack (text only – no graphics). Assume that the computer is the dealer and the player is the user. Overview of the game: First the program selects hands of two card…
• QUESTION 1   Step #1 – Create a JSON file called langs.json that contains the following content.  Note that you do not need to type this content.  You can simply copy and paste this content into …
• I need help with these python questions Question-8 (10 points) in binary search tree, write a function that finds the minimum key, and another function that finds the maximum key stored in the binary …
• Write a function countDigits(string), which returns the number of digits in the input string. For instance: countDigits(&quot;1,.. red, 2, green; ‘x?, 34, Blue&quot;) -&gt; 4.
• Given the following: Importing Python modules statsmodels: used in machine learning; usually aliased as sm seaborn: a visualization library; usually aliased as sns Use an import statement to impor…
• I’m writing Python code for a lab in my CISP 300 class and I’m having trouble debugging it. Specifically on line 28, in getScores   totalScores = totalScores + score UnboundLocalError: local variabl…
• Task 5 Implement the _contains_method for checking if a real value is within the given interval. Task 6 Extend your division function so that it raises appropriate exceptions if the dividing interval …
• There is 2.54 cm in one inch. Write a program to enter the length of a door in inches and output its length in centimeters. Use a constant for the conversion factor. Be sure to prompt for the input an…
• . Write a python script that will do the following: Element 1: Generate three random numbers between 1 and 100 inclusive. Element 2: Ask the user for 3 numbers between 1 and 100 inclusive. Keep aski…
• What is instantiation in Python?   a. It is the process of calling a module mutator method.     b. It is the process of calling a function that returns no object.     c. It is the process of crea…
• To show that you can work with arrays in Python , use NumPy library to convert the following 1D arrays to two 2D diminsional array using Repl.it  then run the operations that  follows: import numpy …
• Question 4 Question 4 The following text is a sample interaction with a revised version of the shoe swap program, a simulation of the program that might be needed for people with different sized feet….
• make changes to the existing code. take input in a function. In the interactive part, you will write the function to input the temperature then return  that temperature to the calling program. b) …
• Create a histogram of the opening price for a stock from the Dow Jones dataset. Define a function called “open_histogram” which takes in a dataframe and the ticker name of a stock and outputs a histog…
• Let’s say 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. In Python, we can depict these ratings as two dictionaries: UserPRatings = {‘Ap…
• PYTHON: The code below generates 1000 fake user records and 1000 sensor records for date, time, outside temperature, outside humidity, room temperature, and room humidity. With the provided code, deve…
• You will use the table names as the keys, and use a list of the foods ordered at each table as values. Google Translate For example your dictionary may look like this: &lt;&gt; {‘t1’ : [‘Vegetarian st…
• Given the following data: Name, MTA, TMA, CA, Final, LGrade, Samir,25,18,0,60,x, Abir,18,13,0,50,x, Fouad,10,2,0,55,x, Najwa,15,14,0,53,x, Dany,10,5,0,40,x, Suzan,27,17,0,80,x, Jamil,16,15,0,33,x, Abd…
• Encuentro una base ortonormal para el conjunto de vectores en K que esta sobre el plano X T = V :2x – v+ 3z=0 Z
• Python program to compute the average quiz grade for a group of five students. Your program should include a list of five names. Using a for loop, it should successively prompt the user for the quiz…
• Please answer the following assignment using Python. Please use unique code and do not copy and past from any other source. Let me know if you have any question. Thanks NEED IT ASAP!! Provided code: i…
• Initials Write program that gets a string containing a person’s first, middle, and last names, and displays their first, middle, and last initials. For example, if the user enters John William Smith, …
• CONTEXT : The purpose is to build a machine learning workflow that will work autonomously irrespective of Data and users can save efforts involved in building workflows for each dataset.   PROJECT OB…
• 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…
• Write 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 all the numb…
• pdf: Problem 4 data.zip: http://web.eecs.utk.edu/~kaisun/Oscillation/2021Contest/2021-OSLContest.zip. After performing PCA. the same timeseries corresponding to just after when the forced oscil…
• A simple method for dealing with small amounts of **missing data** in a numeric variable is to **substitute the mean of the variable in place of each missing datum**. &lt;br&gt; This expression locate…
• # get inputs hours = int(input(“Enter hour: “)) minutes = int(input(“Enter minute: “)) seconds = int(input(“Enter second: “)) am_or_pm = input(“Enter AM or PM: “) # start variabl…
• 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…
• 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…
• Question 3 (3 points) Write the code to open a file named &quot;ideas.txt&quot; for reading, dump the contents of the file (one line per element) into a list, and print the lines to the console in UPP…
• To be done using PySpark Dropbox Link for data: https://www.dropbox.com/s/qbfxpxog58xeqjj/yellow_tripdata_2019-01_short.csv?dl=0 You will be modifying the function day_with_traffic . Sort the days of …
• Please help with code and screenshot the code output too Use a while loop to print all of the numbers from 1 to 10 in descending order.
• Can someone write me a python program that will do the following? Can you please focus on adding If, Elif, and Else. Also, for or while loop.  Thank you.     Write a  program that will ask the use…
• 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…
• When I run the program and hit the number 3 key I am getting this error and I am not understanding why though. This is the assignment instructions: You are in charge of managing a local softball team,…
• please help me program this question In a weighted alphabet, every symbol is assigned a positive real number called a weight. A string formed from a weighted alphabet is called a weighted string, and …
• Assume that the following two classes, which implement the standard stack (last-in first-out) and queue (first-in first-out) data structures, are available. class Stack class Queue void push(Item x)…
• . Define a function called minimize_rnse(x_1ist, y_actua1_1ist, in_start, b_start, m_step, b_step, iterations) . This function must take as parameters: – x_’List =&gt; a list of the x values y_actua…
• Hello, I have been working on this for a long time, and moved things around a lot. I’m hoping you can help, i hope that I havent messed it up so bad that we can’t figure out what it was in the first p…
• (18 points) In a module called hw04 (saved to a hw04.py file), come up witha function named coin_flip_string that takes a parameter of type int, which may be zero or one. 0 represents the tails side o…
• Question-Writing a script in post- commit hook file (Git) Platform -hackerank 2nd last page.Check out for reference https://www.coursehero.com/file/ 88316923/Hands-on-question- Interstellar-Gittxt/. W…
• Evaluate the following models, Please use Google Colab   Evaluate the following models: LR, DT, RF, BT, ANN, transformer-based models). Define the key metric for model performance evaluation and iden…
• Create a program that checks whether a number is even or odd. Console Even or Odd Checker Enter an integer: 33 This is an odd number. Continue? (y/n) y =============================================== …
• Write an address book program that stores your contacts’ names and their email addresses. The names and email addresses are originally stored in a file called phonebook.in, in the format: Harry P..d@h…
• # Calculate the weighted average rating by marital status for restaurant #135085, # assuming marital status for the population are equally distributed # Calculate the weighted average rating by marita…
• Activity 1 – Turn in this one REMINDER: As always, remember that I want you all to work on these in groups! Have somebody share their screen, and work together for a solution. And if you are one of th…
• Complete a program to do the following. Ask user to enter time in the format of hh:mm:ss. For example, 11:07:28. Hour must be a two-digit number between 0 and 23, inclusive. Minute and second must b…
• Replace Substring We need to prompt for a string. And then we need to replace all of the number “1” with “one” and print the result. Enter a string: 1+1=2 one+one=2
• Modify the Student class of problem #4 to compute grade point averages. Methods are needed to add a grade and get the current GPA. Specify grades as elements of a class Grade . Supply a…
• question 1 Question 2 Take your searching and sorting functions and put them into a class. . The constructor should take a list as a parameter use the classes sort method and store the sorted list in …
• please solve using python only !! Write one program that will compute both the Least Common Multiple, and the Greatest Common Factor of two numbers inputted by a user. The program will display all fac…
• Given the following recursively implemented sorting algorithm, 𝑅𝑒𝑐𝑆𝑜𝑟𝑡(𝑖𝑛𝑡[] 𝐴, 𝑖𝑛𝑡 𝑛) , which takes as input an unsorted array 𝐴 of 𝑛 integers and r…
• Using Python, Juypter notebook I’m not sure if did Parts 1-3 right and I can’t figure out Part 6    here’s a link to the instructions https://drive.google.com/file/d/1e-K2uJnjbm_k1DkdTPfhSHBs2jeOMUU…
• how to Python  script  named tryme4.py. Using the IDLE development environment,
• I am writing a script in perl to search a FASTA file for protein sequence. I would like to convert the perl script to python script. Can someone help me convert perl language to python language? I wou…
• Problem #2 – Set Operations with Baltimore Orioles (25 points) Write a program that…. Opens Orioles_2020.txt(below) and stores the words in a set called orioles2020 . Display the set contents to the…
• Buenas tardes, debo elaborar un programa en python don de meje clases (alumno-apoderado), atributos(nombre-rut-direccion) y métodos(mágicos), además indicar que año cursan y las activades extras t…
• Must use recursion and nothing too advance. I need a introductry solutuion using recursion and all test cases must be met as shown in the botton half of the image . 3. Write a function smaller_0f (va…
• . 5 Triforce Draw the following image using turtles:
• Hello! I want to run the same code multi times in a loop without the need to copy-paste the same code everytime. How can I use pandas to read from an excel file and to assign values at each iteration …
• Hi, I need to program this assignment with python. Please help.. Thanks Sudo Mario Bros Assignment 1 CSSE1001I7030 Semester 2, 2019 Version 1.0.0 10 marks Due 23 Aug 19 20:30 Introduction The goal of …
• Sorry I can’t attach other files that’s needed but can you just write the code for me? I really appreciate it! ITP 115 – Programming in Python p. 1 of 12 Assignment 10 – Music Library Goals Practice u…
• _ 1. (20 pts) Complete the class Time, which stores and manipulates times on a 24 hour clock. As specified below, write the required methods, including those needed for overloading operators. Exceptio…
• Modify the recursive Fibonacci function to employ the memoization technique discussed in this chapter. The function creates a dictionary and then defines a nested recursive helper function named memoi…
• Please do these activities using distplot function. Do NOT use displot. Activity 1: Histogram using hist() Function Given a list of random age of 100 individuals in a range between 1 and 91. Write a c…
• Had a very long and complex assignment and had difficulty with most of the questions, please kindly share the solution for the following function, all the important and relevant data is included, i…
• [Coding] Let’s learn how to use Python and data to do approximate quantities that are hard to compute exactly! By the end of this, we’ll see how long it actually takes to “catch’em all”! You…
• Encode following knowledge in Prolog and also write Prolog version of the given queries;   “Asif to play tennis, while Umer and Fahad play football. Kashif regularly plays hockey. Tariq, who is frien…
• Below is the List File Skeleton (beginning of the text editor): # editor list x = “””The world according to Garp””” x_list = list(x) y = x.split(“\n”) line = 1 delta = 3 def print_list_file(y, line, d…
• I suppose to write a code that convert seconds to minutes and add them up using __add__ I’m able to pass all the test cases, but I still didn’t pass the question, I think it’s because I didn’t convert…
• Please let me know how to tackle the question and share the code in R of how to solve it for my reference
• P;LEASE HELP ME! TODAY IS MY DEADLINE Task 1. Draw the flowchart that calculates two totals: the number of left-handed people and the Task 2. Create the pseudocode for a guessing game. A random number…
• Task (15 pts) Subset 10 handwritten images for each digit between 0 and 9 (both inclusive). Oragnize these 100 images into a Python list of 10 items, each being a 10-by-28-by-28 array (with a shape of…
• I’m looking for assistance with question 4 within my screenshots. The question requires answers to previous questions, so I included 3 screenshots that contain all the needed information. I also have …
• Submit a zip file of your source code file(*.py), please name the .py file using the name LNameFnameFinalProject(using your name).  130 points.  Validation testing – 20 points. User manual creation …
• The code has to run on the program “Processing” in python language.. Page 2 of 5 ZOOM + ak Purpose: Practice combining data from lists and writing it to tabular files. Degree of Difficulty: Easy For t…
• The co-lexicographic order between two sequences a and b is defined as follows. Sequence a is co-lexicographically less than a sequence b if : a is a prefix of b, i.e., a == b[:len(a)], or …
• please help me thx!!!!!!!. Exercise 1. [100 pts] Fruits on trees can freeze in Winter time even when the ambient temperature is above 0 °C. This exercise tries to explain this counterintuitive phenom…
• Python code that converts Fahrenheit temperature to Celsius and prints on the screen with user input write. (Including an explanatory text with the value entered in the screen printing process must …
• this is a python programming question, the sequence of my pictures is incorrect, they needed to be reversed (Place your answer to this problem in the &quot;captures.py&quot; file) In chess, a rook can…
• Exploratory Data Analysis . Explore the data using different analysis and visualization techniques and then present the insights that you have gained. Be creative and come up with interesting insig…
• only having trouble with making def isEqual_1_dollar(total_value) a true or false function. so if its true it prints out a statement listed below and if false prints out input is not equal to 1 dollar…
• Brief   You have been tasked with the building of a new piece of software for the computing department. The department is keen to show that it is multi-faceted in its approach to computing, so wou…
• Please makes this in simple form I don’t want this to be hard that I can’t understand. Simple form please and I need every steps explained so I can understand. QUESTION 1 Create a text file with rando…
• – File Input/Output and Data processing   books.txt B123456#The mouse and the motorcycle#Beverly Cleary#10.5 B234587#Charlotte’s Web#Elwyn Brooks White#15 B354759#Matilda#Roald Dahl#15 B654190#Har…
• Write the following functions: letterScore(letter, scorelist) takes as input a single letter string called letter and a list where each element in that list is itself a list of the form [character, va…
• Using python, make a code to display the following issue error provided below. This plugin test is part of a family of tests built to check for process spawning and warn appropriately. Specifically, t…
• Parallel Computing   With regards to the utility of what some may consider the “old” design technique of structured development, do these structured strategies have applicability when developing prog…
• I am working on a python program that keeps getting an exception error, ” builtins.NameError: name ‘ipOBJ’ is not defined”   Can you please help with resolving this error?
• As you approach the docks, you see Captain Jack, clutching a tattered piece of parchment. “Ahoy thar! I did bury our treasure but a wee bit yonder,” he says, pointing over his shoulder with a crooked …
• You are to create a Python application that applies concepts of generators in Python. Scenario: You are to create an application that simulates the functions of an online registration form for a works…
• Consider the following python data structures and write one use case for each of them. string list tuple dictionary set
• Here is a test for extend_partitions(). It prints an application of extend_partitions() to particular parameters, and then prints what the output should be. The user can compare these to be sure that …
• Answer (a) (b) and (c) please! Thank you! 2.5 For each of the following Python programs P and input strings I, give the output P(/), using the formal definition of P(/) given in section 2.5, and emplo…
• CONCEPT: Functions are ideal for use in menu-driven programs. When the user selects an item from a menu, the program can call the appropriate function. Prices: De Anza Burger 5.25 Bacon cheese burger …
• Please do this. Question 6 – De Morgan’s Lawso De Morgan’s Laws https : / /en. wikipedia. org/wiki/De_Morgan\$27s laws are a set of relationships between two Boolean variables where the not, and, and o…
• Hello, I was told I could unlock the answer to this python coding question by uploading my own documents (which I did): I would like the answers to these functions as I’m a new programmer and unsure o…
• Choose an option [1, 2, 3, 4 ]: -1 Choice must be between 1 – 4 inclusive. Choose an option [1, 2, 3, 4 ]: 1 Password: EBF170 * * * Menu * * * 1 Random 2 Encrypted word 3 Password strength checker 4 …
• Part B: Evaluating Booleans Write a program that asks the user to enter True/False values from the keyboard for each of the variables a, b, and c and evaluates the following Boolean expressions. (Add…
• I’m have major trouble with this assignment. Can you help? You recently graduated college and you are applying for a programming job that requires the understanding of loops in Python. The manager you…
• mach each print statement. Match each print statement (if any of them print), to its resulting output based on the starting code provided below. The line numbers are not part of the code. 1 school = &…
• Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, . . . , Write a program using a recursive function that requests the index n as input and then displays the number of the Fibonacci sequence at that index….
• Given a heap T and a key k, give an algorithm to compute all the entries in T having a key less than or equal to k. For example, given the heap of Figure 9.12a and query k = 7, the algorithm should re…
• Hello, I am facing a sorting problem on pyspark. I have a RDD which element inside is like (name, count). Then, I want to use sortBy to sort them with a requirement which is first sort by the count ( …
• Write a PYTHON PROGRAM that ask the user how many pounds their suitcase weighs. Depending on the value entered by the user, the program should print one of the following 3 messages: &quot;Sorry, y…
• Objectives improving the student’s skills in operating with strings; converting strings into lists, and vice versa. Scenario An anagram is a new word formed by rearranging the letters of a word, using…
• Chrome File Edit View History Bookmarks Profiles Tab Window Help O O 49% Q Sat Nov 13 1:58 PM Mail – Shah X M How was yc X WeBWork : X Project 8 – X BULLS at V X CSE 231 X S Quiz Submi X Homework X G …
• From the recent tweet by the LA Dodgers (@Dodgers). Which fields contain: the actual text of a tweet, the time when the tweet was posted, the source (device and app) from which the tweet was posted…
• How would I go about defining this function? I’m not familiar with the python syntax.
• (e) Missing data can be particularly problematic in the context of a data processing pipeline. Explain three strategies for dealing with missing data and identify in each case a potential issue with y…
• How many tests are run, when below code is tested using unittest import unittest def test_sample1(): assert 3 == 3 class SampleTestClass(unittest.TestCase): def test_sample2(self): self.assertEqual(3…
• Understand the Kaggle House price calculation notebook in the link below. https://www.kaggle.com/andrej0marinchenko/house-price-calculation-methods-for-beginnners/notebook (Links to an external site….
• Complete the function definition to output the hours given minutes. Sample output with input: 210.0 3.5 def output_minutes_as_hours(orig_minutes):   ”’ Your solution goes here ”’ minutes = float(i…
• County property taxes in Python County are based on 40% of the assessed property value minus any Homestead Exemption taxpayers may qualify for, the net value of which is multiplied by the 2021 propert…
• Need help with the below please – no need to login to an external site, just need the code and comment out explanations for each function / main: 22. Observation Deﬁne the class Observation which wi…
• In this problem, we will show that if Csuf(L) is finite, then L is regular. Suppose Csuf(L) is finite. Consider a DFA AL=(QL,Σ,δL,sL,FL)where (c1)  QL=Csuf(L) (c2)  δL(L1,a)=suffix(L,xa) for s…
• using python, write program with a function that accepts a string as an argument and returns a copy of the string with the first character of each sentence capitalized. The program should let the user…
• this is the data writing courses ucsd: https://drive.google.com/file/d/1mie5oPNc-YFoOfFQuBpKcbcbRS7JCoNc/view?usp=sharing. In [2] : writing = bpd. read_cav( ‘data/writing_courses_ucsd. cav’, index_col…
• Input File:- dufhadqlhylwzl xcqniythfkgwqw ybzrfvkowgmvag lalvggzvmhgaha uluyopcpfgayeo ejemtipntmbeaw huqrhcumxtxcin vnrykbsftbgtqq aofxxszwtktazk vgnitnuhtszzto lonthkmfkakpus dgznqjtzalxgvs milyjor…
• This is the table for ex 6 that you need to generate the figure
• How to calculate square or rectangle edges and center. I just need one formula for edges and one formula for centers.
• Start with the following Python code.    alphabet = “abcdefghijklmnopqrstuvwxyz”    test_dups = [“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]  test_miss = [“zzz”,”subderm…
• The function area_rect(x, y) returns the area of a rectangle of length x and breadth y. Define a function area_square(x) that: Returns the area of a square of length x. The area_square function …
• In below code block Subtraction, Addition and multiplication are right. For division part the output should be as below. Suppose, I divide 10/2 then the output is 5. But in python it is showing 5.0. i…
• For datasets kindly refer to this link : https://drive.google.com/drive/folders/15O-xUsQIy6KIWYuqGhP63qgR2B2KuDW8?usp=sharing   1. The sales manager at an electronics company wants to study if online…
• use python code script for the problem. 3.21 (Calculate Change Using Fewest Number of Coins) Write a script that inputs a purchase price of a dollar or less for an item. Assume the purchaser pays with…
• update the mailing list by filtering out the users with the flag different from “active”, and write the results back to another csv file. To update the mailing list, there are some requirements: Remov…
• I am working on a project where I have to graph data from my python program into excel. I am exporting the data into a .csv file but my problem is that the data is not separated by commas which…
• I need to decrypt a Caesar Cipher code, using an input of an encrypted message and a decrypted word. This is my code so far mode = “” sentence = “” letter = “” shift  = int() letters = list(sentence…
• I have added the code below please help me get the add function working in simple python code. I have added my previous code below which should help. Any help is greatly appreciated thank you! I only …
• what is the solution of the following questions?    (5 points) Write a function matrix power(A, n) that computes the power An using Boolean arithmetic and returns the result. You may assume that A i…
• range(start,stop)   1.# [ ] using range(start,stop), .append() the numbers 5 to 15 to the list: five_fifteen # [ ] print list five_fifteen   2.# [ ] using range(start,stop) – print the 3rd, 4th and …
• Write a program which repeatedly reads numbers until the user enters “done”. Once “done” is entered, print out the total , count , and average of the numbers. If the user enters anything other than a …
• Write a function mean_grade (stud_id, results ) that accepts as input an integer student id (stud_id) and a table (results) of study results of various students and units and that returns as output th…
• 1st Case – Success Scenario: Here are the months with snowfall data: January February March April May June July August September October November December Enter a month you would like to view: March ?…
• I am unsure how to go about tackling this assignment and I need step by step solutions along with proper code for the answer
• Python code to match the output below in &gt;&gt;&gt;  . A pair of natural numbers (m, n) is a Betrothed pair if: – the sum of the proper divisors of n is one more than m; – the sum of the proper div…
• I submitted this problem earlier, but it’s taking a long time to get this solved.  Please help with this problem.  Please look at what I got and make corrections.  . 3.9 LAB: Input and formatted ou…
• I cannot figure out why my program is not displaying the correct subtotal and total with tax. 0 © 0 proj_4_to_fix_wishes.py – [Users/danielgarcia/Documents/School/Summer 2020lethon/Projects/proj_4_to…
• How to code the following output using only basics such as  importing from a libaray , for loops , while loops and if; if-else; if-elif-else Rock, Paper, Scissors Game =========================== Rul…
• What are the principal components involved in developing a program?
• Can someone please help me continue these 2 python functions? def differentiate(polynomial, order=1):    “”” Returns derivative of the polynomial of given order    Args:        polynomial (dic…
• 12 LAB: Varied amount of input data Statistics are often calculated with varying amounts of input data. Write a program that takes any number of integers as input, and outputs the average and max. …
• You need to write code to process several csv (comma-separate values) files.  Your code reads one of the files using the readlines() method into a list of strings like the following:    states = [‘…
• Graphics in Python using the JES environment Please help, you can attach the link..thanks Long sets of instructions… Example: requestIntegerInRange(“Please enter one of the following … requestInte…
• Modify the Python code below as follows: (i) Pick a sufficiently small n so that convergences take 20 iterations or more (ii) Add an extra line that fits the perceptron on the shuffled data (iii) Plot…
• Hello, my python coding experience is very limited and while the logic of what I need to code is clear to me I am struggling with writing the code in the python language. I am mainly looking for a wel…
• Use python to Program this  and turn in with word document .  Read directions. And start immediately
• csv code below: from keras.models import Sequential from keras.layers import Dense, SimpleRNN import pandas as pd import numpy as np import matplotlib.pyplot as plt def putAsMatr…
• 6.1: Function stubs: Statistics.   Define stubs for the functions get_user_num() and compute_avg(). Each stub should print “FIXME: Finish function_name()” followed by a newline, and should return -…
• need help to write two Python functions   Question 1: Write the code for a Python function called: “loadGenBankData” that accepts the name of a valid GenBank file to read and returns a dictionary suc…
• Import three modules  sklearn.datasets ,  sklearn.cluster , and  sklearn.metrics . Load popular iris dataset from  sklearn.datasets  module and assign it to variable  iris . Cluster  iris.data …
• For this project, you’ll 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…
• . Compute: z = y — v5 1 2 3 4 5 E 7 8 9 import math x = float(input()) y = float(input()) pr’int(r’1:u.|nd(zJ 2)) if This WELL output only 2 decimal. places. Your code goes here Show solution …
• Hi I need help with my computer science project in which we create family trees. The coding language is python , python 3 to be specific, and we cannot use methods such as break, continue, pass, lambd…
• This question about probability Make the python program (code) and solve theis question ! Microprocessing chips are randomly sampled one by one from a large population and tested to determine if they …
• The second exercise (40 points) produces x,y values using Python math functions. The results of these function calls will be used as input to another program of your choice for plotting the results. T…
• I have started creating a Python program that displays a list of customers and their phone and zip. I need to be able to print the data in columns and rows and leaves data out if it is not in the righ…
• I need help with my code. # Create an 8 X3 integer array from a range between 10 to 34 such that the difference between each element is 1 and then Split the array into four equal-sized sub-arrays. # H…
• This is a due assailment that I’m trying to find the right answer for! Write a function that accepts a list as an argument (assume the list contains integers) and returns the total of the values in th…
• need help inserting columns AirQuality , Pop , and Compared to Worst AQ Recorded into the Bik_dataset+colleges_dataset.tsv file.   The only values that will be inserted are those that have state abbr…
• Please help me. Question 5 (10 points) Which of the following is the correct output from the following sequence of statements? halves = [2.0, 1. 0, 0. 5, .25, .125] halves [-5 ] = 0 print (halves [1] …
• so below your see my assignment . You see my work and the errors I got if someone can show me how to fix it that be great. Thanks  a program that reads input from the user and adds or removes items f…
• What is the value of the autocorrelation function of lag order 0?   options are   1 .Above 0.95 2. 1 3. 0
• Problem Specification A university provides inexpensive education to students. The tuition rates are very low and this attracts more students than can be accommodated in the available classes. This ca…
• 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…
• . In this project you will simulate the playing of a simple game of dice. Here is a descrip- tion of this game: 0 The game is played with two 6-sided dice and consists of a number of rolls of the di…
• A database schema consisting of four relations STUDENT, COURSE, STAFF, and  TAKEN is created as follows:  CREATE TABLE STUDENT ( STU_ID CHAR(4),  STUDENT_NAME CHAR(20),  ADDRESS CHAR(20),  BIRTHD…
• Write a code in python Moby Dick We’ve uploaded a copy of Herman Melville’s “Moby-Dick; or The Whale.” in the file moby_dick.txt, and we’ve given you a scaffold that loads in the text to the variable …
• Explain the purpose of inheritance. And then explain why the Circle class can inherit from the Ellipse class.   This question seems pretty straight forward and I understand what inheritance is and…
• Object Orientation in Python  Explain the meaning and the usage of Object Oriented Language in Python environment Provide at least one Python code example.
• I have written a code for AVL tree implementation. The outputs are not exactly as It should be. Please check my code. below is graph. python code: class Node():   def __init__(self, data):     s…
• A Python Programming Language that utilizes on each Engineering Formula provided below (use any formula from any discipline) and all of the following structures: Sequential Structures Decision Structu…
• https://www.nature.com/articles/s41746-018-0029-1   need 1 page summary regarding to this article there are no word count
• 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 …
• How do I print a name from an array without getting the “dtype=’&lt;U16” text at the end of it. Here is my current code: census_2010 = make_array(“White”,”Asian”,”Afrian American”,”Native American”,”…
• I am coding a game in pycharm/python and need help finding the code to save the princess. All items must be collected before saving the princess. . East Red switch palace: Vanilla Dome: Item: Fire fl…
• Using Python To identify the non-linear system y = ( 1 + ( x 1 ​ ) 0 . 5 + ( x 2 ​ ) − 1 + ( x 3 ​ ) − 1 . 5 ) 2 Assign two membership functions to each input variable. Training and testing …
• Hi tutor, this question need to use the radix sort to do with complexity O(TM) (mentioned in 1.3). It need to read the text file first and sort it. the example given in 1.1 input (attracted) and the o…
• I keep having trouble with this code here…I am keep having errors that ‘&lt;=’ is not supported between instances of ‘NoneType’ and ‘NoneType’ on line 35: if minutesUsed &lt;= minutesAllowed:…
• 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…
• help in getting a function that read sequence of coins from file and convert to total dollar amount
• Question 1 Create a function named feet_to_inches(ft) 1.1 Add assert to check ‘ft’ is an int with error message = ‘feet is not an integer’ 1.2 Convert ‘ft’ to ‘inches’ 1.3 Return the value of ‘inches’…
• 1) Can you provide me Python code of below NIM of game :   Rules of the Game is below:    • Number of participating Players: 2 students and 1 computer    • The player who goes first shall d…
• Define a function deduped which – takes an input list as an argument, and – returns a copy of the list with all duplicate values removed but orders of remaining items preserved. For example: Test Resu…
• What is the difference between a high level API and a Lowlevel – isn’t question six answered iin myfirsttopi_lowlevel.py? In creating the simple tree topology was is the difference from the myfirst to…
• write a pyhton program by following the requirements:    D1. The real data will be made available in the future, after the        planned algorithm testing.    D2. The data is fairly larg…
• hello, please help. I am posting this question so many times no-one is helping me. I have completed it, I just need somone to check it make sure I did correct and I am getting an error which is the ye…
• Consider the very simple planning scenario where you are at home and want to get to your university (in this example, UBC). You have the option of going by bike or car. In the AISpace “STRIPS TO CSP C…
• Help complete p1 &amp;2  . Part 1: Linkage Attack (10pts.) Given dataframes pii and census_de_ident, perform a linkange attack to recover the names of as many individuals as you can in census_de_iden…
• Part C: Writing Boolean expressions Extend the program above to include Boolean expressions that meet the criteria in each item below. For these programs, simply ha rd—code the values of the variab…
• Use the Bank.csv in http://archive.ics.uci.edu/ml/machine-learning-databases/00222/ . Use the following estimation models for predicting customer subscription (y in the table). You should print the cr…
• Hi, I am looking at an answer that is present in CourseHero. The question is “Design and implement your own algorithm in PYTHON to perform K-Means clustering. Your algorithm must implement methods for…
• Question 1: Develop this program’s pseudocode Write aa program to calculate the average exam grades of a class. The program will prompt the user for exam grade of a student, the grade must not be ove…
• Use Python tkinter GUI application to develop Student Grade Calculator; this application will help the instructors to calculate the total marks, average marks, and grades of students. It can also mod…
• Store and print the number of elements in each list [ ] : # store the element count of numlist_1 in a variable named count_1 # print the variable [ ] : # store the element count of numlist_2 in a …
• Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Exercise (2) Lab E…
• divers = {      ‘Macie’: {           ‘DD’: 5.0,           ‘Scores’: [1.0, 2.0, 3.0, 4.0, 5.0],           ‘TT’: 9.0,           ‘Final Score’: 45.0 },      ‘Zara’: {       ?…
• The file bikeshare_data.csv in Vocareum contains an extract of the data downloaded from link provided in the description. About the data In any machine learning problem, it is very interesting to get…
• . Given a set of discrete probability distributions represented as a dictionary such as the following, p1 = {’00’:1/2, ’01’:1/4, ’10’:1/4} p2 = {‘0′:1/3, ’01’:1/3, ’10’:1/3} p3 = {’00’:1/8, ’01’:1/4…
• see the attached picture. consider following recursive function. Consider the following recursive function :&quot; HEF my Printing` if n \$ 10* print in&quot; ELSE*\ M = 17 \$6 10 print (‘my my Print ‘n…
• Employee –         empID: String –         firstName: String –         lastName: String –         payRate: Real +     Employee() –         SetEmpID(th…
• how would I execute this script in JES? def mix(file1, file2) :  input1 = makeSound(“C:/Users/User/Desktop/JES/sounds blending/antelope.wav”)  input2 = makeSound(“C:/Users/User/Desktop/JES/sounds bl…
• Python Programmin g: Q1.Move Terms Function I am now writing a mini calculator for solving equations. How can I write a python program to move terms in order to solve complicated equations? I can now …
• QUESTION 27 What is the output? def main(): nbrlist = [10, 20, 30] X = 0.5 processList(nbrlist, x) print(x * nbrlist[0]) def processList(list, a): a = 2.0 for i in range(len(list)): list = list * 10 #…
• Please help me in python homework, take a screenshot of it please Recursion 1. Create a Python recursive function that prints all the integers less than or equal to the value provided in the original …
• Python import os     os.environ[‘MPLCONFIGDIR’] = “matplot-temp” import numpy as np from sklearn.neighbors import KNeighborsClassifier from sklearn.model_selection import train_test_split from sklea…
• on the following code i can have the output correct except for i get an arrow pointing at my 250 output saying there needs to be a space. please see the code and result below: Can you see where I am m…
• How do I create a Python program to import a csv file into the program, count all of the words per row and add that number into a new column using term frequency-inverse document frequency (TF-IDF). C…
• . . . . . access to the files can be found by accessing this URL: shorturl.at/pIS24. A canoe trip consists of paddling across lakes, and hauling gear across portage trails between lakes. In this quest…
• Question 1 This question requires the use of a .csv file (excel sheet) which you can get it from me, if u send me a mail at c..4@gmail.com I can’t upload it here. Now, using the main data set, we want…
• . Q#4 Write a program that reads the contents of filename Cities . txt into a list. (a) The program should ask the user to enter the name of a city, then displays the number of times that city has b…
• tsv: backwards_book_output.tsv: 4. Make a Backwards Phonebook from a Regular Phonebook A. Your function should take 2 parameters: inﬁle and outﬁle l. Inﬁle should be a phon…
• Can somone please assist me with my assignment on programming payroll using python programming. The Assignment is to work on a payroll calculation program.
• how to code this? X File Edit View Project Build Debug Test Analyze Tools Extensions Window Search (Ctri+Q) Assignment1 X 6 – 1 – 1 9 – – Debug * x86 Local Windows Debugger . . = =2 14x Server Explore…
• Examine the following equation:   y=Ax2+Bx+C  Write a program that  determines the x-values to make y = 0 based on the  inputs of A, B, C .  Assume x is an integer and it is greater than 0 and le…
• ASSIGNMENT 3   Contents Contents. 1 Purpose. 2 Assignment Background. 2 Assignment Statement 2 Requirements: 2 What to Deliver 5 Notes. 5 Grading. 6 Purpose Please demonstrate your understanding and …
• This is ungraded problem. Please give me the Python 3 code solution to the following problem: [I have entered some code already, but don’t know if its right] #Write a function called random_marks. ran…
• a python program to do the following:   Create a class of name person that has the following data attributes: First name: First name of person Last name: Last name of person   Create another class o…
• . Module 8 Homework – Global Temperatures The World Meteorological Organization (WMO) has hired you to code a data structure that stores record temperatures across the globe. Incoming temperature re…
• use python snippet 2.11 {SEPARATWG THE HIGHS IN AN INTEGER) Write a script that inputs a ﬁve-digit integer from the user. Separate the number into its individual digits. Print them separated by thre…
• Hello Could you please help me with this assignment? python- pycham  . COMP 216 I Networking for Software Developers Display a Dynamic Line Chart. You will display a line chart of a dynamic dataset. …
• Count the number of characters in string str1. Do not use len(). Save the number in variable numbs. str1 = “I like nonsense, it wakes up the brain cells. Fantasy is a necessary ingredient in living…
• Using the following function, bubble_sort ( ) , as a starting point, use operation counting (like you did in labs) to determine how many comparison operations are made (in terms of the size of the lis…
• Consider the following multilayer neural network with the transfer function for each layer: Using Python and the correspondent libraries, sketch the following responses (plot the indicated variable ve…
• Activity 1: Histogram using hist() Function Given a list of random age of 100 individuals in a range between 1 and 91. Write a code to visualise the values in the list using a histogram. age_list = …
• . 0 © 0 L questions-for—examI Possible questions for Exam1: 1. Write the body of the following function that accepts from the user the radius and length of a cylinder and computes and prints the …
• Write in python ….. Create a class SingaporeNumbers. Part 1 A typical vehicle registration number comes in the format xxx #### y: x – prefixes #### – Numerical series (from 1 to 9999, without leadin…
• Instructions for the program: Your task is to complete the class Deque by providing code for the missing methods. We strongly suggest that you implement the methods one at a time, starting from…
• I downloaded panorama.py code and executed. It is throwing error    mask[-min_xy[1]+edge:-min_xy[1] + image_2.shape[0]-edge,-min_xy[0]+edge:-min_xy[0] + image_2.shape[1]-edge]=1 TypeError: slice ind…
• 1/2 horsepower, 3450 rpm   flow head efficiency   gpm ft %   42 10 10   39 20 35   36 30 50   32 40 55   28 50 40   15 70 20. P2: Write a prog…
• . Fill in the blank Inner = [el outer = [ inner, inner, inner ] outer [0]_- 10 print (outer[=1][0]) so that, the code above produces the output 10). If that is not possible, briefly explain.?
• File concatenation: Many operating systems allow one to concatenate files. a) Design a class called MyDocument that reads the contents of a text file only. b) Create a constructor that takes the path …
• Hi there, I need help with Python. I have attempted the questions below but I am either getting a syntax error and/or there may be a problem with the way I have coded. Q1. For this question, I have co…
• I have these two tables.(table1=output from Python, table2=excel table). I need to keep all the information in table 1 but only for the cusp_id that are contained in table 2. How can I combine the two…
• 1 • Write method named equals that takes another object of class Point as argument and returns True if the x and y coordinates of this points are equal to the x and y coordinates of self, and return…
• Use the file ‘citypouplation.txt’, which contains the population of Australian major cities. The cities’ names are in ascending order with their respective population. Input: Create a Python program t…
• In python, I need help with the add_vertex, add_edge, remove_edge, get_vertices and get_edges method Description of method: add_vertex (self) -&gt; int: This method adds a new vertex to the graph. Ver…
• Python program that does the following: The program will input: The length and width of a rectangle The side of a square The radius of a circle The following input validations will be performed: The u…
• The data in df comes from a Negative Binomial distribution. How do I write a function to compute the log-likelihood?
• Could anyone tell me why it shows ‘None’ in this case?. Lessons = Slides Prev Next 1. Remove Duplicates Challenge Submissions . . . Description + &gt;_ [ Q Quiz main.py 1 def remove_duplicates (numLis…
• Problem 3.1  Purpose: Edit/modify a program that uses if and boolean variables. Modify the program in LeapYear.ipynb to print the correct answer for any year using the following format:   2008 IS a …
• Use the Python script below as a starting point. This script opens a csv (comma separated values) file and reads in each record of the file into a list, where each record is itself a list of values. T…
• CHALLENGE ACTIVITY   10.8.1: Nested loops.   Type the program’s output i = 3  while i &lt; 20: j = 2  while j &lt;= 7:  print(f'{i}{j}’)  j = j + 4 i = i + 9
• The answer I keep get two white spaces after “I am the Walrus, goo goo g’joob”. the answer doesnt have two white space, how can I fix it 3.24 Lab: Song Writer Your task is to write several functions t…
• Complete the following function according to its docstring.   def count_non_digits(s: str) -&gt; int:    “””Return the number of non-digits in s.    &gt;&gt;&gt; count_non_digits(‘abc12d’)    4…
• Machine learning. Question 4 Use the CIFAR10 dataset from the keras package. Perform exploratory data analysis. Show a random set of SIX (6) images from each class in the dataset with their correspond…
• here is programming, I want short explanation for this coding.  Write a function decipher(s) that takes as input an arbitrary string s that has already been enciphered by having its characters “rot…
• I need this python processing question. I have attached a screenshot of what I have. Please provide some assistance.. Now, here is a description of HOW you should write the program: Start by understan…
• So i have a Pi million digits txt and I need to code in python   are going to count how many of each digit (0,1,2,3,4,5,6,7,8,9) occurs for the first 10, then 100, then 1000, then 10_000, 100_000, an…
• Using Python: # 1. Generate 1,000,000 draws from a standard normal distribution # 2. Plot histogram with 30 bins. # 3.  [main question] Write code to count up what proportion …
• Determine the purity of clusters formed by the number of principal components which captured 89% and 99% variances respectively. Plot a line graph of the purity scores against the captured variances. …
• Can use strings, lists, sets, dictionaries, tuples, if elif else statements, for and while loops. And ONLY the following methods: Operational or Non-Destructive methods: count()-, index(), sorted(), r…
• I need help with my questions regarding topic of list and nested loop. Can you show me how to solve the following seperate questions and give me the answer? Question 5 (2 points) If a computer passwor…
• Below is the lab6_adt.py information: Below is the lab6_code.py information A student record contains a tuple of a tag ‘student’ and the student data as a list. The student data contains the id number…
• Consider the following list of student grades. Write a script that will open the file and calculate the average for each student and the grade that the student would receive based on the grade scale f…
• Design a Fuzzy Logic Control Synthesis for An Airplane Antilock-braking System in python?
• . 8. For a binary association rule {a} { b) , show that the o coefficient for the rule’s correlation measure is not invariant under null addition (unchanged with added unrelated data) in terms of ch…
• Write method called print_age that takes a Person object , a dummy value, and Displays the modified age. Requirements: a. Default value: Year=2000, dummy value = 0 b. If dummy value is an integer   ?…
• I am not familiar with Python Class. So I would like to ask that how to combine these two functions into a class The first function would be called by the second one. def toMonthWord (m) :       …
• Use merge sort algorithm to sort a 2-dimensional list based on the second dimension. There are 10,000 elements in each dimension and the elements are random integers between (0,5000). (Python Program)
• Convert Newton’s method for approximating square roots in Project 1 to a recursive function named newton. (Hint: The estimate of the square root should be passed as a second argument to the function.)…
• Mimick the game “Mastermind” using Python with Repl.it By creating a similar game, use numbers instead of colors. It should operate essentially the same way, but the computer will be the “Code Maker” …
• A Cooperative Breakout Game In this project you will develop a breakout game for Games Unlimited. The goal of the game is to remove all bricks with a ball that is hit by the player. A brick is rem…
• can u help me with the python program.i have tried but not getting correct.thanks in advance.i am attaching the file.
• I need help to create a Modularized Pseudocode for this Problem  following the listed perms as needed thanks in advance for your help    Number Analysis Program Design a program that asks the user …
• def charWordList(wordList, char ): ”’ – charWordList takes the parameter wordList the parameter char , and returns a list of all the strings that contain char . – If wordList is not a list type, or i…
• n python Develop a program that follows the rules of Farkle as described. On program start-up, it shall display the rules to the user as read from a text file submitted with the program. The user can …
• I am writing a python program to try to remove all special sentences between &lt;&gt; and all non-alphanumeric characters except space from a folder of txt ‘UTF-16’ encoded book files. however i am en…
• Decimal numbers are based on 10 digits from __________. (6 points)   0-9   0-10   1-9   1-10 2.  (05.01 LC) In Python, output starting with 0b indicates a binary number. (6 points)   True   F…
• Part 1 – Count unique words 1 (G exercise) In Exercise 6 in Assignment 3 you saved all words from the two text files eng_news_100K-sentences.txt and holy_grail.txt in two separate files. (Do it now if…
• 13 LAB: Artwork label (classes/constructors) Define the Artist class with a constructor to initialize an artist’s information and a print_info() method. The constructor should by default initialize …
• Hello,  I am deaf student. I have hard time with this number 1. and 2.  Don’t understand. I am asking for your help.  Great appreciate for your help.  Thank you.  1.  Write a program named  pro…
• Fixed width format DAT file into pandaframe. Suppose I got many dat files with fwf data. Code: SRC_COLS = [ ‘High’ , ‘Volume’ , ‘Close’ , ‘Open’ , ‘Adj Close’ , ‘Date’ , ‘Low’ , ] SRC_COL_DTYPES = { ‘…
• How would I go about this? A Chinese restaurant has two types of dinner combos for customers to choose. A regular dinner combo includes main dish and soup. A deluxe dinner combo includes main dish, …
• Write a Python program to solve the following linear algebra problem: Bob invested \$10,000 on two mutual funds one year ago. After one year, the overall yield rates for these two mutual funds are +2% …
• Machine Learning: (a) Implement the perceptron algorithm for binary classification. Train and test it for classifying digits “1” and “6” in MNIST dataset. Note that we don’t need the data of other dig…
• please solve Goals: Write a computer program to take a set of atomic symbols and Cartesian coordinates for a collection of atoms and determine all possible interatomic distances and bond angles. Assum…
• 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…
• I am trying to make a file manager folder with python So basically the user should be able to create folders and subfolders and should be able to copy and move files to the newly created directories. …
• Here is code for sequential search and binary search, followed by code for calling them. def sequential_search(my_list, target):     index = 0     for index in range(len(my_list)):       ?…
• Thanks in advance. Included is instructions embedded between the two (————)lines followed by source code for ALL classes…. I have not written the application program shopping.py Please r…
• Types and Functions Let us revisit the type function once again! Use the Python Console in PyCharm, or the IDLE shell. &gt;&gt;&gt; type(1) &lt;class ‘int’&gt; &gt;&gt;&gt; type(‘1’) &lt;class ‘str…
• Create a program in python based on incremental development processes of collecting user requirements, designing, coding, testing and debugging to implement the following functionalities. David is loo…
• 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…
• I’m developing an employee directory which will allow me to pull employee information such as name,ssn,email,phone. I’ve take the two codes that I’ve had to build which allowed my values, to display i…
• Define a class named Circle which can be constructed by a radius. The Circle class has a method which can compute the area. Use def methodName(self) to define a method.
• I’m having trouble defining the below function according to the assignment and the restrictions placed. How would I go about this? The link to the example files is also provided. RESTRICTIONS
• Function fileLength(), given to you, takes the name of a file as input and returns the length of the file: &gt;&gt;&gt; fileLength(‘midterm.py’) 284 &gt;&gt;&gt; fileLength(‘idterm.py’) Traceback (mos…
• Problem A: find_password #========================================== # Purpose: #  Given an encrypted file, tries every possible four letter lowercase #  password for that file until one works, …
• . Home x Di Announcements – IT. * I can not figure out he x zy Section 1.22 – IT 140: 1 x v it 140 zybooks 1.22 – x (82) SNHU.edu IT-140 x + &lt; – C learn.zybooks.com/zybook/17-140-H7762-OL-TRAD-UG…
• Create a class with the name Candidate. with the following instance attributes/states: name, Position. To run add class attribute votes to record all the votes of candidates, Create a setVotes method,…
• Hello!     I need assistance Automating an Email. I will provide the details along with what I have (NOTE: I am experiencing issues, and I am not sure how… =( I created a GMail API and Downloaded …
• In PYTHON can someone help me start this project with comments so i can understand it ? http://www.ics.uci.edu/~thornton/ics32a/ProjectGuide/Project3/
• Ask a new Question You are hired by one of the leading news channel CNBE who wants to analyze recent elections. This survey was conducted on 1525 voters with 9 variables. You have to build a model, t…
• Hi Im stuck on this question could anybody help me? This part is about data structures that implement the Map ADT : hash tables and binary search trees (BSTs). It assesses your skills in clear and su…
• Write a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the output is: 3
• Hi, I`m trying to write a program count_numbers.py with two functions count_different(lst) and count_occurrences(lst)  such that: 1. count_different(lst) counts (and returns) the number of different …
• Need help in continuing the code. Missing graphs and models. https://colab.research.google.com/drive/1jNxraPTf6-nJNr7CNLgSIyfV8xldbcC7
• !pip install datascience import numpy as np from datascience import * # These lines set up graphing capabilities. import matplotlib %matplotlib inline import matplotlib.pyplot as plt plt.style.use(‘fi…
• Write 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 year, maximum 10%…
• Hello, may I please get some help as to how to program this code?? I have no clue how to carry out this project, never-mind start it and I am very afraid that my grade may drop. Thank you in advance! …
• Write algorithm in simple English. 1) You have a list of a thousand numbers in front of you. Write down the exact steps you would take to find the highest number in this list. 2)You are at a shelf w…
• What is the type of each element in sys.argv in python?
• Write a function get_cookies() that queries the table containing this user’s cookies  and prints out the host, cookieName, value, domain, path, expiry, and last accessed timestamps.  2) Write a f…
• In python programming, create below design using turtle graphics.
• files in here: https://drive.google.com/file/d/17lYpW6Ymc_7_PfHYUq0tqo-nzBI58Jbu/view?usp=sharing import pandas as pd import numpy as np import datetime import pandas as pd In this final, you will be …
• I encountered a weird problem during programming a function: def is_anagram(s1, s2):   length = len(s1)   if len(s1)==0:     return True   elif s1[0] in s2:     is_anagram(s1[1:],s2)  ?…
• you will be creating a record of file observation from a provided directory of files.  Your record will include the following information: Filename Extension File Path File Size Epoch Value (retrieve…
• Hello, can someone please check it I have meet the requirement?  I am using Jupyter notebook.  I got it rejected.    I will share all the documents through the google drive since course hero doesn…
• dont use internet sources I need help with this implementation of an AVL Tree – INORDER_TRAVERSAL Skeleton code is provided – Must be in Python AVL Tree Implementation Complete the AVL tree implementa…
• The “odd/even factorial” within Python Programming Chapter 12
• Hello,   I need some help. I cant figure out what I’m doing wrong.   Here is the instructions.   Scenario   You have been given three code snippets that need to be completed in order to execute. A…
• i need python code and output If Time Permits 18. Chess Square Color abc cdef 9 1 A CD abcd f g n Each square on a chess board in identified by a letter (a-h) and an integer (1-8). They are typically …
• Draw the 11-entry hash table that results from using the hash function, h(i) = (3i+5) mod 11 , to hash the keys 12, 44, 13, 88, 23, 94, 11, 39, 20, 16, and 5, assuming Collisions are handled by separ…
• The date June 10, 1960, is special because when it is written numerically, the month time the day equals the year: 6/10/60 –&gt; 6*10 = 60 Design a program that asks the user to enter a month (in num…
• Write code that iterates while userNum is less than 10. Each iteration: Put userNum to output. Then, put “/” to output. Then, assign userNum with userNum multiplied by 3.
• In Python, it wants me to print the output of the middle name Andrew and not the full name.. 104. Name Write a program that requests a three-part name and then displays the middle name. See Fig. 2.33….
• The goal of this assignment is to use the Banknote authentication dataset to train a model that can predict if a banknote is genuine or not.    Download Banknote authentication dataset link : https…
• Plot to see the Data after it has been sorted. ENGR 102 Lab #11B [100 Points] Activity: An Interpolation Function – to be done individually. We have encountered the process of interpolation a few t…
• In L ]: # [ ] after days_of week is run above, print the days in the list at odd indexes 1,3,5
• Perform body composition assessments on at least three individuals. Record all measurements and use them to calculate body fat in pounds, total lean body mass, and the percentage of each to total body…
• PLEASE USE PYTHON TO SOLVE!!! NOT JAVA 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 the…
• Create program that asks the user repeatedly to enter a student’s score or enter -1 to stop. When finished entering all the scores, the program should display the number of scores entered, the sum of …
• python code to get the values. Data above third quantile. ROG Rev exp in forex perc 22.926557 Capital exp in forex 19. 380061 ROG Rev earn in forex perc 17.900028 Rev earn in forex 17 . 648701 Rev exp…
• Go to website https://www.cb.cityu.edu.hk/is/people/academic.html, write python program to 1) find all the staff with title of chair professor, professor, associate professor and assistant professor,…
• Hi guys, I need to write a code that takes, id, age and weight of a gym clientes and them print(or returns) the tallest, fatest and oldest with their data associated properly(id,age,weight) of them in…
• need help with this flowchart   hi need help creating this flowchart  thank you ! Proper parameter passing is the key to a correct, complete solution! Design a modular program that allows the user t…
• Q 1. Differentiate between Series and Data Frames.  Q 2. Why there is need to normalize the data?
• Project Details: A short python program needs to be written for a robot. The goal of the program is that when it’s sensors are touched it moves it’s head. *All needed info is included With the followi…
• Write function named repeat_words that takes two string parameters: 1.         in_file : the name of an input file that exists before repeat_words is called 2.         out_file : the n…
• 1- Create a DataFrame called berkeley_admit that contains all of the information in berkeley_admissions_raw, but with columns for ‘AcceptanceRate’ and ‘YieldRate’ and with an index of ‘ID’. Note thi…
• Which of the following statements are the purpose of exploratory data analysis? Build/confirm understanding of the data and its provenance Identify and address potential issues in the data Inform the …
• def exercise03(neighbors,split): ”’ Data set: Iris Split the Iris dataset into a train / test model with the split ratio between the two established by the function parameter split. Fit KNN with the …
• Write a function that outputs the string of three words in reverse lexicographical order in python. The function should take three arguments
• Write a 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 pairs, Write a program …
• Assume that you have a data structure of the following: A list of hockey players.  Each hockey player is a list that includes their Rank (int) Name (String), Team (String), Age (int), Goals (int), As…
• Return a list containing all pairs of distinct elements that satisfy the function fn. We say the pair [a, b] satisfies a function fn when calling fn(a, b) returns True. Also note that the pair [1, 1] …
• Copying files and directories Evaluate your cp command understanding by: Making a copy of the test-website/images/logo-light.png  PNG image file on the same directory and assign it the name: logo…
• In Python* with using OBJECT-ORIENTED PARADIGM write a program that supports a square, rectangle, and a circle. Each shape will be able to calculate its perimeter and area and have a specialized __str…
• Please provide comments along the code :). Using a list of integers (which you may code directly into your program, rather than inputting}, write a program to find and print all pairs of integers in t…
• http://prntscr.com/l5zfsb Really difficult python question I can’t get through, really need help.
• #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…
• On page 1 of Homework 2 provides the guidelines for the entire homework. Under each question, the document provides the guidelines on how the code should be implemented and hints on what we can or can…
• You are a network administrator and need to use a python script to automatically record current TCP/IP set up on your three Linux servers. a. your code can use argparse to accept server name(s) from t…
• Write an expression that evaluates to True if and only if s refers to the str “end”.
• callOn – _ POIIC What is the result of executing the following code? number = 10 While number != 0: print(number) number = number – 2 10 8 64 2 24 68 10 tent 123456 78910 10987654321 Previous Page Nex…
• Credit Transaction data(40 points) This dataset is simulated individual credit card transactions by one company. Please use his dataset to answer following question. Please notice that you may need t…
• A Flowgrithim file is needed. Please provide an explanation, thanks in advanced.   The customer needs to determine the monthly checking account fee charged by Wake Tech Financial.  The fee is base…
• Question 1 1 pts Which of the following statements is not legal? [ &quot;Hello&quot;, &quot;World&quot; ]. lower ( ) O &quot;Hello, World&quot; . lower( ) O [ &quot;Hello&quot;, &quot;World&quot; ]. p…
• I have been trying to solve this issue but it’s not working for me! this is a due assignment. Write a program that simulates a Magic 8 Ball, which is a fortune-telling toy that displays a random respo…
• I am working on a project where I have to graph data from my python program into excel. I am exporting the data into a .csv file but my problem is that the data is not separated by commas which…
• I’ve written this code to answer the problem above but it appears to stop running code after the “return True” part – I cannot figure out how to get it to run through the bottom half of this cod…
• Week 3: Discussion – Scripting 10 10 unread replies. 16 16 replies. In Dave McFarland’s article The Real Reason Why Everyone Should Learn to Code (Links to an external site.), he discusses how useful…
• Using Python, determine the union, intersection and difference of the square and cube of integers ranging from 1 to 100. Sets are clearly the way to go here. You can use Math functions to generate the…
• . PROGRAMMING EXERCISE 1. Ask the user to enter a number and find the number obtained by reversing the order of the digits. 2. Ask the user to enter a four digit number and check whether…
• Dictionary = [‘abate’, ‘abbey’, ‘abet’, ‘abhor’, ‘abide’, ‘able’, ‘ably’, ‘abort’, ‘about’, ‘above’, ‘abuse’, ‘abyss’, ‘ac’, ‘ace’, ‘ache’, ‘achy’, ‘acid’, ‘acne’, ‘acorn’, ‘acre’, ‘acrid’, ‘act’, ‘ac…
• Create a variable in your dataframe called PAYER which should be 1 if a firm has positive dividend (and therefore positive dividend payout ratio) and 0 otherwise. This variable will be the categorical…
• CPSC-503 Algorithms and Data Structures Spring 2022 Midterm Exam   Submit your exam no later than Monday 02/07/2022 midnight   Develop two algorithms using Python language, first method to remove th…
• I have a web server that runs python and uses the flask module to creat HTML tempalts. I have simple web page that i need to creat a login page for. I have no idea were to srart for creating a usernam…
• 21) (25 points)  Lucy’s Lemonade has grown and now wants to do their payroll on the computer. Lucy says the system should handle a maximum of 10 employees.  Lucy has created a simple text file with …
• data found here -&gt;http://lib.stat.cmu.edu/datasets/sleep. Write a function that finds anomalous attribute values for the mammal sleeping dataset. You can use Python, Java or Scala for programming. …
• write this in python language. thanks . Merge Sort is an advanced sorting technique that will be introduced in second programming module. Here, we are not going to explain how merge sort works, bu…
• i need help in coding this functions: I don’ understand what’s its asking for. I attached pictures of the examples as well examples: def dams_by_state(inputfilename) [25pts ] Description: Implement a …
• Description: In volleyball, there are 5 matches in a game. My daughter’s volleyball league would like a program that will accept the number of points that each team scored in the 5 matches and print o…
• please write me for this in python save the information gathered into a text file. Allow user to pick which emails to use both send and from
• I need help with understanding this. Mark all the true statements about what components in the following command do: county_counts = ! cut -d ‘, ‘ -f 1 annual_aqi_by_county_2019. cav \ grep -v ‘State’…
• I need assistance with Python code. I want to create a HeatMap using Seaborn to display the data as it is shown in the image below, but I’ve hit a roadblock.      I tried to display the data but I …
• The code has to be UNIQUE . Please don’t copy it from somewhere on the Internet or else my work will be charged plagiarised. The testing is a thing to test if the programs pass or not so please make s…
• A museum has the following ticket policy:​                    ●    One adult ticket costs \$20 ●    One child ticket costs \$10 ●    If…
• 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…
• Goal: prompt the user for hours and rate per hour to compute gross pay Requirements Using try and except so that your program handles non-numeric input gracefully. Example: Enter Hours: 20 Enter Rate:…
• INCORRECT INPUT : FILL THE PYTHON CODE:   # IMPORT ANY REQUIRED MODULE class MazeError(Exception):    def __init__(self, message):        self.message = message class Maze:    def __init__(se…
• can someone will help me in python programming? i need help in an assignment
• I can’t figure out the bug in this function replace_first. The function list is here: https://ecpyfac.ecornell.com/docs/introcs/strings.html This function has an error in it and you test it to find th…
• In a jupyter notebook, implement a recursive function anagrams() that computes anagrams of a given word. An anagram of word A is word B that can be formed by re-arranging the letters of A. For example…
• Write a script that tracks the unique words in a file and their frequencies. To do so, write a function wordFreq which takes a filename as a parameter and outputs the unique words and their frequencie…
• Create your own Python code examples that demonstrate each of the following. Do not copy examples from the book or any other source. Try to be creative with your examples to demonstrate that you inven…
• This is a graded discussion: 5 points possible due Feb 6 &gt; &gt; 4. If Else Discussion At 18 18 1st Post: Based on the following flowchart, what would your Python code look like? The first submissio…
• Write the pseudocode for the following: If 0 &lt; overspeed &lt;=5, the value assign to fine is \$20.00; if 5 &lt; overspeed &lt;=10, the value assign to fine is \$150.00; if overspeed &gt;15, the v…
• This is for the file, hw5.py. This question was answered by a tutor before, but that answer was incorrect. I think its because the code that my tutor gave me assumed that the columns were already mark…
• from pymongo import MongoClient as mc from pymongo import ASCENDING as asc, DESCENDING as desc def get_coll(): try: server = mc(“localhost”, 27017) moviesdb = server.lab4 return moviesdb.movies except…
• solve #1 solve #2. from.turtle import * def draw_sun_earth(): &quot;’draw sun and earth visualization &gt;)} draw_sun_earth{) [graphical visualization of sun and earth] III # calculate ratio of sun an…
• You’re playing Literary Scrabble where you can only play words extracted from famous stories. You have pulled your letters and there are lots of possibilities but you obviously want to play a hand whi…
• package edu.uwm.cs351; import java.util.Comparator; /** * The class Nondiscrimination. *  * A task priority mechanism that does not discriminate on the basis * of reward or deadline or duration.  Ev…
• may you please kindly assist with explanations included dataset0.txt: [(0.08168263285409672, 0.008953156646549302), (0.30271836438239674, 0.10100949059276589), (0.8397525217898997, 0.6974726932460351)…
• Write a function surprise(l) that takes a list of lists as parameter, and changes the last element in every inner list to an exclamation mark. Inner lists that are empty remain unchanged. Example ou…
• Need some help with getting this to work from graphics import * def lego_brick(window, colors[i], x1, y1, x2, y2): x1, y1 = x2, y2 x2, y2 = x2 + x, y2 + y rec=Rectangle(Point(x1, y1), Point(x2, y2)) r…
• I’m looking for some help to get some code written that will output the longitude and latitude of the International space station to my college longitude and latitude (more info in the instructions) y…
• I want project on python with this I suggested for example, to make Caesar encryption as an education application for students How to add some pleasant features and show it as a game-based program to …
• KSM had been eyeing a large acquisition of another automotive dealer that also had a major service component of the business. Within two weeks of the acquisition, the former operations manager (who wa…
• Connect four is a two player game. Each player make a move (drop a counter) in turn. Counters are dropped through the top of a n x m board and occupy the next available space in each column from the b…
• Please answer these questions. uestion 3 – Project (45 marks) In answering this question, you will benefit from the experience you gained in the previous question. In this question, you will formulate…
• Need help with Part B. Part 1 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://…
• Differentiate between Data Science, Machine Learning, and AI.  How would you transform your organization with these technologies?
• test_update_centroids() at the bottom of kmeans_tests.py and run python kmeans_tests.py in a terminal window to verify your implementation. You have now completed all parts needed to run main()! As a …
• Q3 Divisible by 11 Recursive How to write the program, divisible_by_11(num), to return the divisibility of num by 11. i.e. divisible_by_11(num) should return True is num is divisible by 11, or F…
• 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…
• accompanying python file — py For each of the programming tasks, you are to  • produce the figure as stated in the question using matplotlib.  • report and explain how your Python co…
• Im new to Python and I would like to convert a list of list into string: So as you see in the picture I have a list on the left with 2 elements. The highlighted element (2) on the left displays 6 tupl…
• I wrote a code that searches mulitple text files and returns potention applicants whose applications match a set of specific skills.  My code is mostly doing what I would like it to do.    How do I…
• Make changes to the starter code to resolve the error. def divisible_by_7(lst: List[int]) -&gt; bool:    “””Return True if and only if lst contains an element divisible    by 7. Otherwise, return …
• I am very confused on the difference between these, CIS 1400 Grade Functions Lab Methods and Parameters 50 Points Assignment Purpose: The purpose of this lab assignment is to demonstrate knowledge of …
• def poly_deriv(polylist):     ”’      Parameters     ———-     polylist : a nonempty list that contains floats corresponding to the      coefficients of a polynomial, starti…
• python online  dataset is pima-indians-diabetes.csv it look like  About this file This dataset describes the medical records for Pima Indians and whether or not each patient will have an onset of di…
• Need help with the following python coding questions: 1: 2: 3: Total Price Create a function called GetTotal that will take in to it the price per pound of an item and how much an item weighs. This we…
• Write a program in Python that grabs the string of a mathematical equation and finds the maximum power of the variables in that equation. In order to make is simple we assume that the powers are betwe…
• Task 1 In order to access external REST APIs, for this assignment, you must use the requests package to communicate in the HTTP protocol. Finish the implementation of the class called AccessApi. There…
• Hi I am looking for Question 5 : Reverse engineering def reverse_engineer (seq) : “”” Reverse engineer an input sequence Parameters: seq – list of strings Returns: list of values corresponding to each…
• Write a program which reads in text from the keyboard until an exclamation mark (‘!’) is found. (Note that the exclamation mark might  not  be on the first line of input. It might be many lines down…
• I need help explaining how if __name__ == “__main__”: works
• # RQ1 def cascade(lst): “””Returns the cascade of the given list. &gt;&gt;&gt; cascade([1, 2, 3, 4]) [1, 2, 3, 4, 4, 3, 2, 1] “”” “*** YOUR CODE HERE ***” # RQ2 def maptwice(fn, seq): “””Applies fn tw…
• Draw the outline of only 2 buildings. This is different from the image shown . Each building MUST include at least 2 windows +1 door. Rather than a night scene with stars,your version will be a daytim…
• MODULES/PACKAGES: You may NOT use any Python packages other than random, math and  copy. However, you may use any Python packages you wish as a check of your answer, but they should  not be a part o…
• write function that determines the minimum and the maximum element in an input list of comparable elements. This function should be as efficient as possible in terms of its worst-case computational co…
• . Questions 1. (15 points total) Python polymorphism is the ability to leverage the same name for different underlying forms such as data types, which permits functions to use entities of different …
• Message b’secret message’ has been signed using RSA-PSS using the following code  snippet. backend=default_backend() private_key =  rsa.generate_private_key(public_exponent=3, key_size=512,backend=b…
• PYTHON ONLY PLZ. Write a function called get_hash_value (string, salt ) that takes a string and an integer value as parameters and returns a custom hash value for that string. The hash function will w…
• Write Python code using data “IMDB_data” to                                      Load CSV in R by skipping second row.                       …
• hello, I am creating class that contain all prior functions for python. Can you help me to fix it please? #Mylib class cal:  def __init__ (self,a: ‘cal’, b: ‘cal’):     self.a=a     self.b=b …
• ## # Daniel Sobanjo # 2/5/2022 # Trish’s Bookstore Calculator # # Global Constants PAPERBACK_COST = 2.50 HARDBACK_COST = 7.00 MAGAZINE_COST = 3.95 TAX_RATE = 0.07  # Tax Rate of 7% def main():    #…
• use tkinter also provides screenshots of the output. This assignment should be done in python language thanks create a program that generate a GUI screen as shown below on the left. This program will …
• Problem 1 We learned three methods to copy the elements from one list to another. This program requires you to use all these three methods. Write a program to do the following: (a) Generate 10 rando…
• can anyone have solution file of car crash csv……
• Make pandas series object, called obj, with these values in it, 5,2,7,8,100,−2,−3, an index as defined [′a′,′b′,′c′,′d′,′e′,′f′,′g′] . Print out obj[‘d’] . Change obj[‘…
• PART I:  the python program should ask the user to get a number between 1 and 100. In the main program body:  1. Use a random function to generate a number between 1 and 100.  2. Ask the user to g…
• TOPIC:  Python Programming: Read / Write Data From / To Files Question I am having issues in creating a class with two methods to write the results to a file, and to read the results from a file. Not…
• Please solve using python. All information is below.
• Here’s my code:    total_cost = 0;   print(“Davy’s auto shop services”)   print(‘Oil change — \$35’)   print(‘Tire rotation — \$19’)   print(‘Car wash — \$7’)   print(‘Car wax — \$12\n’)   ser…
• Assistance with the function below that can be used to calculate and return the posterior probability of an event A, given the known outcome of Event B using Bayes Theorem: def bayes (a, b_given_a, b_…
• ***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…
• Task 2: Leap Years &lt;§2.1Conditionals; §3.1 Strings&gt; Part A – Is this a leap year? Implement a function is leap year(year) that calculates whether a given (CE) year is a leap year. The function…
• Lab Purpose: The purpose of this lab is to provide experience with Python and Excel.  Note that this is similar to Lab 7 (the reading/writing with files lab).  Items that differ significantly are hi…
• Coding Assignment [15 points] Create your own Python File in a code editor of choice and begin writing functions as defined below. Your Function names, inputs, and outputs should be exactly as describ…
• . 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…
• please help me to Create the following by using Qt Designer, which aims to benefit a local cat rescue organization. The UI should include two lists.   RESCUE LIST shows the names of the cats curr…
• This question is for CS1101 week 8 Journal and it has to correspond to week 7 Journal which I will post as well. My Week 7 Journal  def invert_dict(d):     inverse = dict()     for key i…
• Block class The Block class inherits from Drawable and it will draw a square with a black outline at its current location. You must implement at the very least, the required methods of the base class…
• 24 LAB: Working with users   Learning Objectives Use the while loop to repeat action an unknown number of times Practice input() statement inside the loop Learn complex string comparison condition …
• Question 5 5 points Which of the following HMM problems uses the Forward-Backward Algorithm to estimate the solution? a) State Estimation b) State Sequence c) Learn an HMM d) None of the above e) All …
• Lab 8.5 — Programming Challenge 1 — Cell Phone Minute Calculator Write the Flowchart and Python code for the following programming problem based on the pseudocode below. Help Video for Raptor: Vi…
• Modify the multi-client chat room application below so that it uses an UDP instead of TCP. Please run the code to make sure it’s working. Below are screenshots of how the code should run: Server outpu…
• You can download the zip file from the link which is given bellow by simply copying and pasting into google.   https://homepage.lnu.se//staff/jlnmsi/python/2021/queue_skeleton.zip     In this exerc…
• hello assist here. need original work can you check my code and give a correct output. and  my python version is 3.9.7(as soon as possible) client.py import socket  # socket library import sys  # i…
• txt     Can you please help me to encounter the sample I/O I’ve provided without copying from another post?. Genre: Novel Author: Jane Joe Stack :5245 Sub-genre: Mystery Search by title[t…
• Hello, I’m stuck on this problem. Can someone solve it please. Thanks for your help.. Task 4 Now that we have the functionality to find an ORF in a DNA sequence and predict the peptide that would be t…
• Assignement #6 1-Read and print the data from the brain.csv file 2-Extraxt the HeadSzie and the BrainWeight into separate arrays (print as column vectors) 3- Find the average, max, and min values for …
• can i get help in coding this function? Implement a function recurse_length that recursively determines the length of a 1D list. Assumptions: . The input list will always be a 1D list. Return value: A…
• Help me with this python question File Edit \ﬁew Insert Cell B+S&lt;QIE+¢&gt;Run Kernel Help IC’» (a) write the function Code 3 5:1. Trusted | Python 3 C Write a function to solve a system of equa…
• 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…
• Simulate a sample of 150,000 months of stock return data with mean 0.61% and standard deviation 5.38% from a normal distribution. What are the chances that simulated monthly returns would be less than…
• Add respective information of office employees in Five list called lst_name, lst_father, lst_cell, lst_house, lst_city by asking complete information of one employee in each iteration of loop. Add Inf…
• Hi, could you please explain how to fix this code? Please don’t copy the answer from other websites. Thank you! 5. A word chain is a list of words such that for each consecutive pair of words, the las…
• Part III  Data analytics functions and methods in Python  Please write the possible python packages (libraries), methods or functions used for the corresponding analysis steps in the third column an…
• Make a list of the unique letters used in a sentence. That is, if the letter “x” is used twice in a sentence, it should only appear once in your list. No punctuation should appear in your list. For th…
• Studen P 5.7 X D2L Quiz LI @ TOTAL Our Hi Rufus pf Downk 10.0.0. Group User M + aeb4c86d87e1f070/assignments/0355f718-3586-437f-a11c-241f87c41692/pages/a6ce6cb 1951754db… 5.7: Introduction to Value-…
• Construct a function that, given two DNA sequences represented by string, returns a way to align them. For alignment you can insert the character (_) only in the second string in order to align it wit…
• Please work with Python Write program that first reads in the name of an input file and then reads the input file using the file.readlines() method. The input file contains an unsorted list of TV show…
• The edge-detection function (detectEdges) described in  Chapter 7  and shown below returns a black and white image. Think of a similar way to transform color values so that the new image is still in…
• Write a code for the program in python for windows only 2. Also write comments with code  3. Pseudocode is must       Ensure all three requirements are fulfilled – code, comments and pseudocode…
• A program must be build to verify the answer of this problem. Below I have provided the answer along with the steps with the required reference to create a PYTHON program.    4.1 Cheapo Electrons ma…
• This week we will work with loops. For this week’s assignment, write program that uses a while loop to determine how long it takes for an investment to double at a given interest rate. The  input  …
• please help thanks Cj j(j-1) = n(n2-1) 3 You have to code this in python. You have to code the LHS and the RHS of the equation above as the following two functions: f(n) = Chi(j -1) 9 (n) = n(n2 -1) 3…
• If i have a dictionary like this {johnny: 5, susie: 7, johnny: -1, abe: 2, abe:3} How could I make it so that the values are added up? I want: {johnny: 4, susie:7, abe:5}
• In this lab assignment, students will demonstrate the abilities to: – Use functions in math module – Generate random floating numbers – Select a random element from a sequence of elements – Select a r…
• TASK 1 The cyber security department for Blooming Cafe wants to know the temperature of Canberra in immutable list for a specific purpose. They have certain criterions to solve this problem. The crite…
• Can someone point me in the right direction on my 5-2 Assignment: Client-Side Authentication ??? Prompt You will be given starter code that implements a preliminary dashboard and prompts the user for …
• Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. Describe each possibility in your words  Define “precondition” and “postcondition” as pa…
• This is the code I have so far but I keep getting a generate too much output error. x = input() while (x != ‘quit’) and (x != ‘q’) and (x != ‘Quit’):   for element in reversed(x):     print(elem…
• Write a program where you ask user to enter a positive integer and then you print table like shown below.  Extend program that your program repeatedly asks the user to enter a number and then prints …
• what is a Python code example that demonstrate each of the following. Do not copy examples from the book or any other source. Try to be creative with your examples to demonstrate that you invented the…
• Here is a suggested set of iterations when building the interactive user interface:  1.Write a while loop that loops a fixed number of times (perhaps two times), prompting the user to enter a string …
• Problem:   Provide flowchart and pseudo code for both problems to do the following:- You are going to modify week 4 assignment (2 problems) to use input() function (no hard coded values) to prompt th…
• Hello, This is a question related to big data, the MapReduce program.   I want to implement a simple text processing program with MapReduce. The input data is partitioned data about books, where each…
• Parts (a) and (b) of this question involve creating drawings or descriptions. You can make your drawings look like this a. Consider the following lines entered on the Python shell:   &gt;&gt;&gt; mod…
• In this documents bill.py 1. Provide a way for a user to enter utility bill details:    utility company, name of the customer, date of the bill,    the amount, and a flag indicating    whether t…
• Question 1. Write a function called count_letter that accepts a string and a letter (string of one character) as parameters and returns how many times the letter appears in the string. For example: ca…
• : A Go Card account maintains a balance that may be spent on public transport. Users may request a statement that shows all transactions. The only transactions are to top up the account with some posi…
• Part 1 make a Python program that does the following.  make 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, anima…
• . fo (za, B) = To) Ba &quot;-exp(-2/B), x&gt; 0 (3) Q * View Source IT where I'(a) = So ro-le-dx is the Gamma function. Given the gamma procen When utilizing the Gamma process to model the performan…
• Write a python program that can open, access and edit a file named students.dat  The file students.dat contains student information. This database contains information about each student saved in a s…
• please write in PYTHON 3. Write a class named XiangqiGame for playing an abstract board game called xiangqi. Please read the &quot;Board&quot;, &quot;Rules&quot;, and &quot;Pieces&quot; sections on th…
• Initialize the US Zipcode dataset as shown below: usZipCodeData = pd.read_csv(‘http://people.bu.edu/kalathur/datasets/uszips.csv’, converters={‘zip’: lambda x: str(x)}) Using Pandas or Numpy I need to…
• How do I concatenate and print a 5 digit number 43562 in a line separated by commas after being asked to enter the number by a prompt? I am using Python programming and chain_format
• Hi,  I need answers to these questions below ASAP by using SQL and python.   Download the Chinook database from the SQLite tutorial (https://www.sqlitetutorial.net/sqlite-sample-database/) PART 1: a…
• You need to create a Python recursive function (i.e, there must be a stopping/base case and the recursive case must present a smaller problem), along with a call to that function.   Trace your funct…
• Hacking Caesar   Use the python skeleton code: import binascii import csv import random from base64 import b64encode ”’ A Set of helper functions. ”’ def binary_to_string(n): # Helper function t…
• The longest ascending subsequence is the longest subsequence for which each element is strictly greater than the previous element. ‘ For a “St L = [1. 2. 3. 2, 3, 2. 3], the longest ascending sub…
• Please, find below the txt file data to use: *This file contains information of precipitation per cell and per time. *For each time, 25 values are provided, corresponding to the 25 cells of the discre…
• Movie actors As a fan of golden age movies, you decide to program movies.py that finds the names of all movies that two actors starred in together. To do so, you make dictionary with the actors’ names…
• Data visualization with Python coding question Please find the Q attached You are working for a firm that provides digital and mobile entertainment platform based services. You are analyzing one of th…
• Hello I have to create a basic Python program that will create multiple triangles with specific sizes for each triangle I am completely stuck please can you help me by showing me the code I need to us…
• Hi i need code for my banking system, so first of all i need change user details which is located in text file so i need to find a user id and change his details in python, please help mee
• i need help with my code: the drive with important data is in the drive in the comments   we can use: False, None, True, and, def, del, elif, else, for, from, if, import, in, not, or, pass, return, w…
• Linux commands consist of a command name following by any command options. The command options are proceeded by _________. a. / b. \ c. -or– d. # 33. You can use the __ command to get detailed in…
• Develop mode Submit mode Run your program as often as you’d like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program’s …
• Compltete the following exercises in Python using https://py3.codeskulptor.org/  . 2. Create a program called &quot;Quiz&quot; o Ask the user a true or false question. o Based on the user’s response,…
• URGENT PLEASE USE BASIC PYTHON LANGUAGE. AS THE CLASS IS AN INTRODUCTION TO COMPUTER SCIENCE  THANK YOU  PLEASE DO EVERY QUESTION AS THEY BELONG TO THE SAME WORKSHEET HELPING ME STUDY FOR MY UPCOMIN…
• Can I get a a step-by-step explanation on how the following code in python works? I know it works I just need an explanation of each line if possible…thank you so much!! highway_number = int(input()…
• Explain in reference to python Programming language Describe the principles of OOPS.
• Instructions Download hw07.zip. Inside the archive, you will find starter files for the questions in this homework, along with a copy of the OK autograder. Submission: When you are done, submit with p…
• Project Instructions   Introduction   The purpose of this project is for you to apply some of the data visualization and analytics techniques that you learned in this course. There are two data file…
• I need to convert an object into an array for filler words and show filler words with no count that will not be shown. Any suggestions? This is written as an object:  filler_word = {‘um’: 9, ‘uh’: 4,…
• Traceback (most recent call last):  File “/Users/sam/Downloads/Carsy045 (10).py”, line 9, in &lt;module&gt;   from playing_cards import * ModuleNotFoundError: No module named ‘playing_cards’ Why do…
• Python Class      . due: March 9th, 11:59 PM – Dataset information: https://archive.ics.uci.edu/ml/datasets/Haberman%27s+Survival 1. Perform Exploratory data analysis. (20) o What can you conclude …
• You are required to find a dataset, formulate a problem you want to address with the dataset (e.g. predict whether a mushroom is poisonous or not based on its characteristics), build and evaluate a ma…
• implement a human vs. human version of Notakto. Notakto is a tic-tac-toe variant. It is played across three 3 x 3 boards: Board A, board B and board C. When you start the game you should output the bo…
• how do you draw a duck using python (the animal)? what is the set of codes you would need when importing turtle?
• this code gives output: I want to a function that arranges the output of def lin_comb_sum2(phones,list) using its last index value (from largest to smallest) and also the function should then remove t…
• Develop a Python program named employee_database that calls 3 functions. The function named  create_table  creates and populates a table named Employee in a database called ZYXCorp. The table’s stru…
• from DecisionTreesYouTryIt.decisionTrees import main main() ____________________________________________________________ import os     os.environ[‘MPLCONFIGDIR’] = “matplot-temp” import numpy as np …
• The application should provide the sum of all sales totals for each entered department and output the totals. The application should also end and display the total when the user enters “none” for the …
• # Loop the Iris data and INSERT into the IRIS_DATA table def load( self, truncate=False) : if truncate: # – – – – – – Place code below here \/ V/ V – – – – – – # – – – – – – Place code above here /\ …
• Python I need help with my coding  Here is some coding set up Here is the question of coding I need help on. How can I fix this? Here is a link to the notebook: https://colab.research.google.com/driv…
• CodeHS Alterations to main program: Alteration 3 Four circles; Top 2 with radius 50, bottom 2 with radius 25
• A ladder put up right against a wall will fall over unless put up at a certain angle less than90degrees.Given variables length and angle storing the length of the ladder and the angle that it forms …
• html? What is the name of an attack that we wanted to prevent by using SECRET_KEY variable and the form.hidden tag( in our a. CSRF O b. Randomware C. Spyware d. DDOS
• Here is the general syntax for a decorator that accepts no arguments: def decorator(decorated_function:callable):    def wrapper_function(*args, **kwargs):        #this is where we make modifica…
• In a file named falldown.py, implement a simplified version of the arcade game falldown   REFERENCE MODULE: (Gamebox) http://cs1110.cs.virginia.edu/gamebox-summary.html ( It kinda weird that I have t…
• Hi Team, I am getting below-mentioned error which is running code to the simulation of a smart home using Python codes and using MQQT as a message broker in the background.  Its code to simulate AC d…
• Write a program that prompts the user for the current US population, and the names and population of five major cities in different states.  Your program will calculate the percentage of each city’s …
• I need help with both the questions. individual war Q7. Points (10) Write python code to count how many a’s are there in the string &quot;banana&quot; Str = &quot;banana&quot; Q8. What is the output f…
• How do you go about implementing the normalized power iteration? And then the Inverse power iteration? All the information on how to set up the problem is in the following images. 3. Then implement (2…
• Can I get answer that looks the same as one in the file and not others please? thank you  . Genre: Novel Author: Jane Joe Stack :S245 Sub-genre: Mystery Search by title[t] Search by author[a] Search …
• Question 1: 1.1   As an avid data scientist and “Among us” Player, you are interested in exploring commonly used words in the chat! You decide to first start this endeavour by splitting up the words…
• have to make a function and the program has to call it.
• Here is the assignment: Develop a class named employee initially set the wage and hours worked to 0 the class should have another function to calculate pay if the hours worked is greater than 40, then…
• I have two python programs which I have to wrote, but I am really confused how to do it: 1) “Write” a function vector_sum(list1, list2) that takes two lists of floats list1 and list2, with the sa…
• The program determines a monthly checking account fee. Input includes an account balance and the number of times the account was overdrawn. The output is the fee, which is 1 percent of the balance m…
• Easy Python question that I am confused with. Need help with formatting the GUI as shown in the Sample Layout. The issue with my code is particularly the gridding of the elements which makes everythin…
• What buisness  insights can be found from the dataset
• think about the bigger picture of Python’s uses and how it serves a broader, multifunctional role. for this post, select one of the industries from the list below and provide a summary of how Python’s…
• Solve the following recurrences (i.e. find a closed form expression for 𝑛).    a) 𝑆(1)=8  𝑓𝑜𝑟𝑛=1   𝑆(𝑛)=𝑆(𝑛−1)+1  𝑓𝑜𝑟 𝑛=2,3,4,⋯   b) 𝑇(1)=3?…
• Write a function ‘rolling_dice()’ which simulates the rolling of two dice (discrete values 1 to 6) and   accepts two input values the number of throws and the face value of the requested double t…
• Answer following three questions in either True or False True or False: The following logic will display the difference of two values and compile without error. Declare   Integer value1, value2   …
• U7_pr02_p_402_MS (Protected View) – Word (Unlicensed Product) Waleed Khan File Home Insert Design Layout References Mailings Review View Help Tell me what you want to do Share i PROTECTED VIEW Be care…
• Following program question and my attempt at the program. I am trying to figure out if either work in O(nlogn) time, though I think the first is n^2 time while the second attempt is n*2 time. I am als…
• please let me know answers of 4,10,13,14 4. The Maclaurin series expansion for 1/(1-x) on an interval from -1 &lt; x &lt; 1 is as follows: M 1 – xn = 1 + x + x2 + x3 + x+ + … + x n=0 Write Python co…
• Computer Science I need help coding/programming this calculus 2 problem in python’s jupyter notebook!! Please doit fast. Math 152 Lab 9 Use Python to solve each problem. 1. A common use of Taylor Poly…
• *****PYTHON LANGUAGE PLEASE***** Required Functions: • build rect(wid,hei) – builds a rectagular grid of the required size. Fills up the grid with characters, as described below. Returns the newly-c…
• Can u print 1000 times *. * * * * * * * * * * * * * * * * * * * * * * * * * I love Python! * * * * * * * * * * * * * * * * * * * * * * * * * I love Python! *******xxxx***** ** ** * ** * * I love Pytho…
• Can someone help me with this python question? Implement the Tic-tac—toe game for variable board sizes, you may assume: 2 &lt; s &lt; 11 , where s is the board size. Before the game starts the progr…
• This problem will only make sense after reading the HW3 writeup. Return the value of the pixel on the last row in the last column of the given pixel_grid. The pixel_grid will always contain at least o…
• Process the XML file below by using the ElementTree libraries. Use the ElementTree online tutorial as reference:   https://docs.python.org/3.4/library/xml.etree.elementtree.html (Links to an externa…
• The popular TV game show “Who wants to be a millionaire” has been found to be both educative and entertaining. In this game, the player is asked a question at each level and given four answers out of …
• -Write function with two output parameters, both output files -The function should get a prompt via an input statement from the user and call the function in Part I to get a paragraph. • The functio…
• My professor says that the number of bits in ^BIOINFO! is 72, but the number of bits in ^NOBIIF!O is 63. Can you prove that in Python by writing a code that calculates the number of bits for any strin…
• What is the output of the following code segment? x = 13 y = 2 while y &gt; x: print(“!”, end=””) y = y + 1 print(“Y is now”, y)
• Chapter 9 — Dictionaries Exercise 2: Write a program that categorizes each mail message by which day of the week the commit was done. To do this look for lines that start with &quot;From&quot;, then…
• 20 pts.) Forward Rotation: Write code to perform forward rotation on an image. Starter code available in directory Tranform/ Transform/geometric.py: Edit the function forward_rotate to implement this …
• Write a function called has_duplicates that takes a string parameter and returns True if the string has any repeated characters. Otherwise, it should return False.   Implement has_duplicates …
• Translate the following pseudocode into a Python program for finding the minimum value and prints it from a set of inputs.  Keep asking user for a number until they enter a sentinel value, storing th…
• Question: Write a single python file to perform the following tasks: (a) Get dataset &quot;from sklearn. datasets import load_iris&quot;. This dataset has 4 features. Split the dataset into two sets: …
• I would like 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, free to choo…
• I do not know how to code using the boolean series in order to determine what unique values from ‘Outcome’ column correspond to the ethnicity called ‘White British”             . Safari F…
• Please develop a program using Python. Only limited to the use of FOR LOOPS, WHILE LOOPS, IF-ELSE STATEMENTS, INPUTS, and any other basic functions. No append data or lists for this one please. Thank …
• LAB: Expression for calories burned during workout The following equations estimate the calories burned when exercising (source): Women: Calories = ( (Age x 0.074) — (Weight x 0.05741) + (Hear…
• Write a simple UDP client and server program and a communication protocol using C or python3 in which the client will send a message or a file to the server. Then, the server will reply with the times…
• In PYTHON 2, I want to calculate the Area and Perimeter for shapes using Functions Implement the missing functions that the code in main calls. You must use math to calculate these values Match the o…
• Place all the code for the program (except the import statement) inside of a function named runZigzag that has a single argument named numOfAsterisks. The first line of the function should look like: …
• how do you code simple multiplication table using nested loops and if statements in Python
• csv: test_data.csv:        . Problem 1 (60 points) X 2 . 0 – 0- Test data -5 -2 Test data Training data Training data Z 20 10 – Test data 0 – Training data 10 20 30 40 50 60 Time (s)…
• Write a simplified quantum tomography simulator. It should be a function that takes as input a quantum state [x,y] and an integer value “numTrials.” Then, it should repeat the following (simulated) ex…
• please help me with the following python code, Thank you very much Python Script Bash Script Task Modify the Bash script to: 1. Create a new directory called SIRmodel datetime&gt; 2. Copy the bash and…
• how to merge the three dataframes into a single dataframe pandas? python
• I cant get this program to save changes and load the save file I create. I need help. class Players: name = &quot;&quot; phone = &quot;&quot; jersey = &quot;&quot; def __init__(self, name, phone, jers…
• [[{ ‘cast_id’ : 9, ‘credit_id’ : ’58e16af192514127e8004028′ , ‘character’ : ‘Narrator’ }, { ‘cast_id’ : 7, ‘credit_id’ : ’58e16a969251412810003bd9′ , ‘character’ : ‘Himself’ }, { ‘cast_id’ : 5, ‘credi…
• Hi, do you have a template how to convert the terms of a linear equation into a python dictionary?
• database canbe found at : (  https://drive.google.com/file/d/1shsgb4to-ifB6QQZQrggnoJVCmMeSdhe/view?usp=sharing   ) which has two tables: names and titles.  titles: (0, ‘tconst’, ‘TEXT’, 0, None, 0…
• I am receiving the below error using this code in Cengage Python 3 sandbox \$ python3 phonebookclient.py Traceback (most recent call last): File “phonebookclient.py”, line 20, in &lt;module&gt; self.st…
• Project 4: Driving a tool from Python: We will be using Python to drive hspice. The goal is to minimize the delay from an initial inverter to a capacitive load, measuring from the midpoint of the risi…
• . Question 1 (5 points) Write a Python function called threeChars(lis) that takes a list of strings as an argument and returns a new list containing all the strings that have length 3. Recall the…
• Can you explain what happens in django in a standard form view, what happens if a POST request is received?
• Write code that uses the string stored in sent and creates an acronym which is assigned to the variable acro. The first two letters of each word should be used, each letter in the acronym should be…
• please help . What is the name of the Python keyword that defines a block where exceptions may he raised? :]
• Question 1:     In VALORANT, each player must select an agent before the start of the game. However, if some player in the team already picked the agent, another player can’t pick the same agent. Wh…
• make a number guessing game. Have the program randomly pick a number between 1 and 100 inclusive. You will need to import random and then use function random.randint(1,100) to select a random integer …
• Example 1: Define a function that takes an argument. Call the function. Identify what code is the argument and what code is the parameter. Example 2: Call your function from Example 1 three times with…
• Where V=2L, W=0.5L are fixed and a, c0,and n are user input. Write a function that returns the concentration after nth breath. Input and output operations are not allowed in the function. Display conc…
• Demonstrate in pseudo-code a loop that does a linear search of an array of colors (colorArray) and display the subscript of the array element holding a value of “blue”.   colorArray (0) “red” (1) “bl…
• . onal Matching Strings: A Biological Perspective String matching is also is very valuable in less obvious settings, such as biology. A common problem in modern biology is to understand the structur…
• We will be extending the Caesar cypher we looked at earlier into a full-fledged password saver. The program will be able to: Lookup passwords for websites Add new passwords for websites (encrypting th…
• You can use a minus sign to make a negative number like -2. What happens for each of the following and why?
• I’m working on a Python project in jupyter notebook and I want to create a line chart or connected scatter plot that shows the YEAR on the x axis and the TIME on the y. I have tried some different thi…
• Note: Question 1 has been done. No need to do question 1. Solution of question 1 is necessary for question 2. please find the solution of question 1 below:   Question 1: Implement the following flowc…
• Python programming   Begin by copying the following program into a new file. # these are the basic arithmetic functions you will be using for this challenge # function:   add # input:      two in…
• I need help figuring out how to write the Python 3 code for this challenge: X to the Y We will pass in 2 values, X and Y. You should calculate X Y XYand output only the final result. You will probabl…
• Please explain the answer – thank you Question 7 5 pts Which of the following results in a syntax error? O &quot;He said, ‘OK! &quot;&quot;’ O ‘He said, &quot;OK! &quot; O ‘2&quot; O ‘2\&quot;
• Problem Statement: Three datasets on an adult literacy program are available with this document. The dataset Tutor.xlsx stores tutor information (tutor ID, certificate date, and tutor status). Before …
• total = 0 for i in range (6) : for j in range (1, i + 2) : total += j O c. total = 0 for i in range(1, 7) : for j in range(1, 7) : total += U.. I d. total = 0 for i in range(1, 7) : for j in range…
• 5.2:   Writ python program that does the following: ·     takes as input from the user a date and time (24-hour clock) as “MM/DD/YYYY HH:mm:SS” o  Assume that everything must be provided w…
• Problem Statement: Design a program that asks the user to enter a string. The string will then be displayed back to the user. This is followed by determining the number of alphabetic characters, nu…
• USE PYTHON TO SOLVE THE PROBLEM!!! A = np.array([[2.65287619, 1.58615494, 1.47170961, 1.40586081],       [1.58615494, 1.17577323, 0.72084593, 0.79382861],       [1.47170961, 0.72084593, 1.181119…
• Using Python                           #Required to use the imshow command within colab from google.colab.patches import cv2_imshow   #Numpy, Matplotlib and OpenCV are req…
• How do i refactor data and check for mismatches between two columns in a dataframe using pandas. DMF assignment 1b
• Python Coding No Imports, Just Basic coding   numPairs Write a function numPairs that accepts two arguments, a target number and a list of numbers. The function then returns the count of pairs of num…
• . Question 1c: Creating New Shapes (12 points) Create two new shapes: Circle and Polygon . Classes Circle and Polygon should inherit from Shape . For circles, at creation the radius has to be specif…
• Krannert Specialty Motors is a unique auto dealer that sells both brand new and “lovingly driven” high-end automobiles.  In addition to car sales, KSM has been experimenting for the year with the ide…
• Which is the correct operator for power(x^y)? a) X^y b) X**y c) X^^y d) None of the mentioned
• i need help coding this:  U need 3 for loops,  First gets all the values for each category into one big list, Second to to over the categories in the dictionary then a for loop to go over books insi…
• Now, consider the kernel  K of: with the input  x   of: (3a) Repeat the computation of K * x.   your answer here    (3b) With y = ij(K*x)[i,j], compute the gradient of y with respect to K. you…
• Need some guidance… Rules of the Game First you must create the characters for the game. El. b. Each character should have a name, and a symbol, which is a single capital letter. There are at most t…
• Represent 72.625 in binary with 12 bits using a fixed-point representation. If needed, pad the number with extra zeros at the most significant side (left side). I 15. Suppose we want to represent …
• How to solve this question in python programming Problem 26: Create a function running_average that returns a function. When the function returned is passed a value, the function returns the current a…
• . 1. (10pts) In printvertical. py write a program that accepts a sentence and prints it vertically. Your program will accept a sentence from the user using the input function, go through the sentenc…
• ) Create a second program named Lab6A2 that will read an unknown number of integers from a text file and add up the digits in each number. o Write a function named addDigits that will accept a string …
• The mathematical constant Pi is an irrational number with value approximately 3.1415928… The precise value of this constant can be obtained from the following inﬁnite sum: Pi2 = 8 + 8/32 + 8/52…
• Can’t use map() Test the code before you submit it It’s Halloween Night again! Michael, as old as he is, is still in love with Halloween. This time around, he’s gone trick-or-treating at Dan’s house. …
• Python — Look at screenshot(s) — Must have correct answer from (*** https://www.prairielearn.org/pl/course_instance/128819/instance_question/163662273/ ***) — BEFORE YOU START: You need to pass …
• 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…
• CSIS 354 File Manipulation with Python   I checked the code for errors and was successful with no errors. For this assignment we are to test the script. I am not sure how to test it? I believe it is …
• For each of these regular expression questions, write exactly to the specification. If it’s a constraint, it has been specified. If something is not specifically stated, it’s not a constraint. You …
• The following expressions (already in the coding box) with open(‘test1. txt’ , ‘w’ ) as test1_file: test1_file. write(&quot;Do you love Python programming?\n&quot;) test1_file.write(&quot;No, I don’t….
• Develop a Python application that incorporates using appropriate data types and provides program output in a logical manner.  Your program should prompt a user to enter a car brand, model, year, star…
• (a) Write a function “paytable” to calculate and print out the pay table for part time staff based on the number of working hours    1st – 3rd hour: \$6 per hour 4th – 6th hour: \$7 per hour 7th hour …
• # Q4 (5 points) # Create a function, exampleFour, with two input parameters. The first input parameter is an array of letters. The second input parameter is an array of words # Populate a dictionary t…
• &quot;Wing 101 Is permitted for this question.&quot; The height (h) of an object is given by the following formulas h = vo * c + 0.5 . a * t2 Where vO Is the initial velocity, t is the time, and a is …
• The energy company in Program 1 now 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 \$…
• For this exercise, take the commands you have done interactively, and create a python program that will create a file, collect data from the user, and write the information to the file.
• Need help with number 4 the odd numbers 9 down to 1
• # I am trying to troubleshoot my code. Please help me clear the error in my np.zeros # TypeError: ‘float’ object cannot be interpreted as an integer import numpy as np import matplotlib.pyplot as plt …
• the total kinetic and potential of an object is a measure of its
• Assume that advertising and promotion can boost sales and the following mathematical formula can be given for their relationship: SALES= -28485+26.95*Advertising+367.89*Promotion. Using loops gener…
• import math angle_elev = 3.8 shadow_len = 17.5 tree_height = 0.0 tree_height = math.floor(3.8 * 17.5) print(‘Tree height:’, tree_height) Value differs. See below. Your value 66 Expected value 13.537…
• Write a script that will print the following list after removing all the duplicate items. li=[12,24,35,24,88,120,155,88,120,155]  b) Write a script that will remove the 0 th, 4 th and 5 th numbers…
• import csv with open(‘Book-Ratings.csv’) as BookRatingfile: BookRatingdata = csv.reader(BookRatingfile, delimiter=’;’) for now in BookRatingdata: print(‘, ‘.join(row)) This code has refused to run . p…
• Implement bubble sort, an inefficient, in-place sort described on Wikipedia. Name your function bubble_sort. wikipedia link : https://en.wikipedia.org/wiki/Bubble_sort   Implement the below code usin…
• In your tarball in the withkey directory, you’ll find five files: ciphertext.txt – A ciphertext encrypted with a Caesar cipher. caesarkey.txt – The key used for the Caesar cipher. juliaplaintext.txt.g…
• Define class Create a class called Rectangular, with two data attributes: length and width. They should be assigned in constructor ( init ()) It should also have two function attributes called are…
• 5.2:   Writ python program that does the following: ·     takes as input from the user a date and time (24-hour clock) as “MM/DD/YYYY HH:mm:SS” o  Assume that everything must be provided w…
• INSTRUCTIONS : 1) Python Programming  2) Use comment out for understanding better understanding. 3) No use of built in function. 4) All these functions done with wrapper functions e) Write a function…
• Given a non-empty list of (x, y) tuples, return the (x, y) tuple with the largest x+y sum. Solve with a lambda 1-liner, not using sorted(). If there are multiple such tuples, return any one of them.
• Based on the CPTAC csv file, I tried to generate a dictionary of dictionaries for some protein data, with the primary key as the “AML Sample” (first column), the secondary key as “Gene” (Second column…
• Computability (10) 1. (5 points) Give a definition and an example for tractable , intractable and unsolvable problems in computing. 2. (2 points) What are decision problems ? 3. (3 points) Decisions p…
• Please provide the code and pictures of the input and output of the code you going to provide. thanks in advance
• . popitem In [29]: d_dict = { ‘se1’: ‘Citi’, ‘502’ : ‘JPM&quot; , 503’ : ‘BofA’ , 508′ : &quot;wells Fargo&quot; ‘504’ : ‘paypal&quot;, 509’ : ‘Capital One’, ‘506’ : &quot;Square’ # Remove one item …
• I am in beginning level of python and need help. I need help writing a Python program that does the following.  making a string that is a long series of words separated by spaces. make it up yourself…
• Create a text-based game where you have nine rooms and eight items and one final boss. You cannot beat the boss until you have all eight items. Make sure to include which direction you must input t…
• How do I compare two lists in python3? I am working on a project that takes a standard Genbank file (accession AB011549.2) as the reference file and compares it to the predicted gene features in GeneM…
• 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 c++, classes and inheritance topic, Fill the parts in the code marked // Your code starts here // Your code ends here So that the main method produces the output A B C Do not modify anything fro…
• Write the recursive function containing_word, which takes as its argument a nested list of sentence strings and a target word, returning a list of sentences that contain the target word. • The funct…
• Submit a zip file of your source code file(*.py), please name the .py file using the name LNameFnameFinalProject(using your name).  130 points. Validation testing – 20 points. User manual creation – …
• I can’t seem to get this challenge right. When i run my code, it only proves one test right and not both, I’m very confused as to what I’m doing wrong and I was hoping you could help explain. . CH…
• At a certain university, passwords for the university’s network must be at least 7 characters long.  Write a program to display the criteria for the password, and ask the user for their password.  P…
• Can you please help me with the PYTHON CODE for BOYER-MOORE ALGORITHM  for string matching. The program has to take the input from the “TEXT FILE”  and it has to be inserted into an array, and the S…
• Please assist python 2.7 programming. b) Consider the following screen capture with 5 threads and a maximum of 8 seconds sleep time. The total time to run the program was about 9 seconds eventhough th…
• Using python how can I make a program to sum of the first n positive integers after accepting the value of n from the user. Below are some sample interactions Enter a positive integer:a You have enter…
• Using your Simpson function (nPoints=50) to integrate the Gaussian PDF combined with your Secant  method for root finding, find the set of x values compatible with your list of 1000 probabilities….
• Document X 5 4COSCO01W_CWK_21_22_V4 (1).| X Homework Help – Q&amp;A from Onl x . AppsAnywhere X + X -) C @ File | C:/Users/talha/Downloads/4COSCO01W_CWK_21_22_V4%20(1).pdf Apps YouTube Google Maps 5 X…
• Python: 4.21 LAB: Leap year – functions 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…
• Remarks: In all algorithm, always explain how and why they work. If not by a proof, at least by a clear explanation. ALWAYS, analyze the running time complexity of your algorithms. In all algorithms, …
• Use Seaborn library wherever it makes sense. address: address of the house price: market price of the house (in thousands of dollars) acres: property size in acres size_sqft: square feet of living sp…
• . 2 Turtle Clock Draw the face of analog clock using a turtle. It should resemble the following picture, but you can be creative! Remember the stamp () function a turtle can use, as well as penup ()…
• Our task is to build an interpreter for a simple Python program with a limited syntax, simulating the computer’s execution. Let us start by interpreting an input text file consisting of a sequence of …
• For the string s = “boston red sox”, what does each of the Python expressions produce? If it would produce an error, specify what type of error. 3A s[11:13] 3B s[11:14] 3C s[11:15]
• For this assignment, you will create flowchart  OR pseudocode for the following exercise. Programming Exercise 3.1  —  Write a program that accepts the lengths of three sides of a triangle as inpu…
• Below I copied my code and the error I am getting can you please help me fix it 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): …
• PYTHON On a two tape machine, explain a program that adds binary numbers. The TM will have two numbers written on its tape, and will replace the two numbers wit their sum, and halt in accept, when the…
• Which statement is true? Thank you Regarding the code cell below, please determine which of the following statements is true. class A: def init (self, collection = None) : self. collection = collectio…
• A little in-between exercise   Next you can check that you have correctly understood how to use the methods and fields of a class. As an example, we use the following simple class representing a back…
• Write a function replace_chars (word, k) that replaces the letters from the kth position with another char. This char is in the position in the alphabet that is the same position as the original chara…
• Requirements: . Update fraud_detection. py so that it will also print out calculations for the United States 2008 presidential election in addition to the 2009 Iranian election. Use the following list…
• The Magic Square is a grid with 3 rows and 3 columns with the following properties: • The grid contains every number from 1 to 9. • The sum of each row, each column, and each diagonal all add up t…
• The lab ten box is the end result, please help.. Lab 10 X Name Age Status O Student O Staff C Both SAVE. indow Help Lab 10 – C:\Users\juboo\Downloads\main.py X main QQ i.py X to mainkay * records.csv …
• i want a answer for this queztions. Design a two-player game module (function] in which a player with a lower number of guess wins the game ( the players play the game separately and results needs to …
• . Question 6 (2 points) You are given Python variables named data and labels as shown in the starter code below. Create a Pandas DataFrame object named df1 using data as data and labels as index….
• def exercise@4(a): # The function exercise04() receives an ndarray matrix (20) of integers. Return the sum of the 2nd column using NumPy. # —————— Place code below here \/ \/ \/ ———…
• You are a systems administration specialist who has been employed by a speculative organization to assess their present organization and propose changes to redesign it. Your responsibility is to make …
• No.1 Code a function called ‘combine’ #ACCEPT two inputs: # The first input is a list. #The second input is either either a list or some other type of object ### IF AND ONLY IF the second input is a…
• Implement a class Address . An address has a house number , a street , a city , a state , and a postal code . Define the constructor such that an object can be created in one of two ways :&quot; W…
• important note I need the answers in each part with explanation ( part 1 , part 3 , part 4, part 5 ) M269: Algorithms, Data Structures and Computability
• Give one common use for each type of transmission and suggest one reason why it is appropriate: [6] Simplex transmission:      Half-duplex transmission:      Full duplex transmission:
• Hello, i create a shapefile in QGIS and read this shapefile in Python on spyder, but i dont know why my shapefile have the title like (le6) where this caming?
• 1) The question screenshot has been attached down below:    . Assignment In this assignment, you will be implementing a simple card game. Please read the gameplay first and fully understand the rule…
• Rewrite your pay computation with time-and-a-half for overtime and create a function called computePay which takes two parameters (hours and rate). Enter Hours: 45 Enter Rate: 10 Pay: 475.0
• Here some work i want to prepare for my exam,these work is from past year,i want it to be done so i can learn 6. ﬁtﬁ’iit’ﬁiaigés Write a class named Patient that has attributes for the followin…
• Consider the following code that uses the Student class:   s1 = Student(“Andy”,”Exley”, 1823204) s2 = Student(“Nate”,”Taylor”, 2413225) s3 = Student(“Maria”, “Tomlin”, 1178392) s1.add_course(“CSCI551…
• Please read the pseudocode and instructions thoroughly. In the pseudocode below: Function Integer fibo_2{Integer n} If n == Then Return 1 Else If n == 2 Then Return 1 Else Return fiho_2{n — 1] + tib…
• # here we initialize a random data matrix X and random numerical labels y import numpy as np X = np.random.randn(10,3) y = np.random.randn(10,1) # we also initialize a hypothetical hyperplane defined …
• Write the following to a script. Only use basic arithmetic including //, %, divmod. (a) Writea function XGCD(a,b) which takes as input 2 non-negative integers a, b and returns the d, s, t, where d = g…
• Task 5 Observe the given code carefully. Try to understand from the given code and the outputs what to write in your class Dolls. Subtasks: 1. Create Doll class. 2. Create the required constructor. 3….
• python, pillow Milestone 1 Lab 2 (P2) It is time to start writing your first image filters. In this lab, your task is to first understand what a &quot;channel&quot; is, and then to divide the work up …
• Write a program called numerals.py to generate all the three-numeral combinations made from the numerals “0”, “1”, “2” and “3”, where the numerals are followed by a specified number of stars. In parti…
• program that creates a dictionary containing the states of the Continental U.S. as keys and their State Birds as values. (Use the Internet to get a list of the states and their birds. If more than one…
• Consider that you have a text file containing comma-separated values for grades. That is, each line of the text file contains a student’s name, a comma, and then their grade on an exam. Assume there a…
• find boolean expression for circuit and print final column of circuit
• Scrape Website using python to get zip code. Then generate csv file with zip code found    Website : https://www.openstreetmap.org/search?query=34.05369%20-118.24277#map=16/34.0537/-118.2428   CSV …
• Hello! I have this python Homework due tonight that I don’t know how to do. Here is a document with the data in the csv file, as I didn’t know how to share it. Thank you very much! https://docs.google…
• Quiz 6   Started: Feb 19 at 8:42pm Quiz Instructions   This is a 20 multiple choice question quiz on the material from Session 6, including the readings, discussion board assignment and the slide pr…
• Question : Using Python Write a method to calculate interest for a savings account. The formula for compound interest is shown below. A = P(1+ 3r”. 71 P = principal amount {initial investment) r = a…
• Problem 1 Write a recursive function called power that does exponentiation. The function accepts two arguments: num and exp. The function takes num and raises to the power exp. The solution does not r…
• Hello I need help with this project, I have to created code to scrape the data needed to start the project but now need to add it all to a csv file. this is my code as follows. import requests from bs…
• Test/run average7. py one by one.  You must run all programs to know how they work!!! Revise files  by ADDING line-by-line explanation/comment . (Using # to add comment/explanation, keep the  SAME …
• Construct AVL Trees by inserting keys 1, 2, …, (2^k)-1 in that order for k=2, 3, and 4. Observe the structure of the resulting trees with the number of nodes 3, 7, and 15. Can you state the property…
• I am writing a python program to try to remove all special sentences between &lt;&gt; and all non-alphanumeric characters except space from a folder of txt book files. however i am encountering proble…
• How can i do this ?. Recall the PEP9 code given in your lecture notes that multiplies two postive integers. The following PEP9 code given below extends this algorithm to handle the multiplicaiton of t…
• code provided: I could only take a screen shot  . In this assignment you must create a Python3 script, with a main ( ) entry point: if _name &quot; main &quot;: main( ) that creates five threads to d…
• creat a list of numbers 0 through 40 and assign this list to the variable numbers. Then, accumulate the total of the list’s values and assign that sum to the variable sum1.
• Below are the instructions and Example. Prease provide an example code that demonstrates the requested output for review        . Part 2: Book management The library needs a program to store books…
• Take the master boot record from this week’s module and use it as a file input for your program. It will be named block.dd and you can assume that it’s in your current directory so you don’t have to p…
• Could someone help me make a code for a pie chart representing the frequency of all the different sports that are listed in the column? I will be coding this in the Jupyter Notebook. You can find the …
• Create two stacks in python which store initial and goal state of block world problem. Display these state to user and then create   a heuristic value which give +1/-1 to each block correct position …
• 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…
• make 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. Write the following functions in the program: ·   …
• I dont know what to do 2.18 LAB: Warm up: Variables, input, and type conversion (1) Prompt the user to input an integer between 32 and 126, a ﬂoat, a character and a string, storing each into separa…
• Solving the n-queens problem with python  Run it with 8 queens and with 50 queens and please show your steps one by one with clear instructions. Also show the complete code and results.
• 1336 Programming Assignment 2: Combat General Statement ‘r’ou must write this assignment starting with Basic template.py. Everything in the template is laid out for you to put the right things in t…
• Dictionary Program The goal of this Project is for you to become more proficient with ﬁle l/O, using functions, and learning to use the dictionary data structure effectively. Dictionaries are very …
• I need help with a flowchart Diagram containing this Python Programming exercise Dictionaries.   Please :]. ercises 1. Course information write a program that creates a dictionary containing course n…
• Write a block of code to implement the following flow chart. Start Prompt the user to input two numbers Store the numbers as num1 and num2 num1 = 0 AND Yes val = 0 num2 = 0 num1 = 1 OR Yes val = 1 num…
• Describe the difference between  objects  and  values  using the terms ” equivalent ” and ” identical “. Illustrate the difference using your own examples with Python lists and the ” is ” operator…
• Please help me with the following questions by using the data analysis modules Pandas, Matplotlib, and Seaborn. Thank you so much! Dataset: The code I have so far: # Import pandas, Matplotlib, and Sea…
• Code must be written in JES.. Exercise #3 0 Write a program wipeDoubleDiagonalAnimation(picture) which takes as input a picture and creates an animation of the provided picture being wiped (black) sim…
• What to submit:  For this section of the project, you will be submitting   a .Rmd file (LastName_FirstName.Rmd) that will contain all the code and written answers for the steps  mentioned below….
• Implement recursive function webdir() that takes as input: a URL (as a string) and non-negative integers depth and indent.
• You have a choice of problems today. You will be filtering the file words.txt, printing words that match some conditions. You may look for words that are in alphabetic order (‘abe’, but not ‘babe’). o…
• UTP FBTO015 STRUCTURED ALGORITHM &amp; PROGRAMMING SEMSEPT 2021 LAB EXERCISE WEEK 9 (LAB 2) Learning Outcomes Upon completion of this lab session, learners will be able to: 1. convert mathematical for…
• Given these functions, determine the value of x.     def f(x) :     return g(x) + h(x)    def g(x) :     return 2 * h(x) // 5   def h(x) :     return x ** 2 + k(x)…
• https://drive.google.com/file/d/1z2luZi6RtoR036a75Uh2vBDDJOBFhF2j/view?usp=sharing  Instructions:  turn the text into a working code using the underlined words and the red words and the information….
• I am having trouble with this code. Can someone please explain how/when to prompt user for their favorite color and print out back as last letter followed by rest of the word. Crazy Color Write a shel…
• I have a indent error and I cannot figure this one out. My code seems fine until I get this indent error per line 11   full_name = str(input()) out = full_name.count(‘ ‘) if out == 1: name_list = ful…
• Code to do: Compress.py :   from __future__ import annotations import time from huffman import HuffmanTree from utils import * # ==================== # Functions for compression def build_frequency_d…
• I’m having trouble with the harvest step, can you help me run?. while choice = 1&quot;: dict_crops = {} 47 48 CROP = input (&quot;Enter crop to plant: &quot;) planted = 49 if CROP in dict_crops, keys …
• . Write program to read a name and the displays it in abbreviated form e.g Dev Karan Singh should be displayed as (a) D.K. Singh.
• In Exercises 37 and 38, assume that the six lines of the file Numbers.txt contain the data 6, 9, 2, 3, 6, and 4. 37. sumEvens = 0 infile = open( “Numbers.txt” , ‘r’ ) for line in infile: if eval (li…
• Hi, how can I correct the code so that I can retrieve coordinates (tuple) from a file? def function(filename):   for line in filename.read():     for i in line:       if i == ‘\n’:   ret…
• If I have a 19*19 binary matrix.Please help me a draft code for 3*3 sliding window and help identify regions where we have 1.
• please help me convert this java code into python import java.util.*; public class Dijkstra{ public static void main(String args[]) { int source,destination,i,j,V; Scanner input=new Scanner(System.in)…
• help with APA Type the statements below into your Python interpreter.  For each statement , copy the output into your Discussion Assignment and  explain the output . Compare it with any similar exam…
• Please describe in long answer also share screenshots if possible. thanks.  . 70% Solve the ODE } + omega0 2*y = 0 given y(0) = 0.1 and y (0) = 0 m = 1; % mass [kg] k = 4; * spring constant [N/m] ome…
• I need help with this The program must be able to do these things below Lookup passwords for websites Add new passwords for websites (encrypting them with the caesar cypher) Store these passwords to a…
• lease follow the following requirements for your project, this shows a detailed breakdown for how the points are distributed:   A working GUI tkinter application with at least two windows.   50 po…
• How many asterisks does this Python code print? (Please explain why choose answer)   a=0 while a &lt; 100:                  print (‘*’, end= ‘  ‘) print()   a. 100 b. there is an error in …
• I put the answer for the question 1 from the document localhost:8888/notebooks/Downloads/Introduction-to-Data-Science-in-Python-main/Assignment_3/assignment3.ipynb 2/13, but return the following error…
• Write a program to calculate the sum of a series of positive numbers. The program should ask the user to enter the numbers one by one. The user should enter a negative number to signal the end of the …
• Design a pseudocode program that ·       Reads the first 20 records from salesFile ·       Loads those 20 amounts into an array named dailySales[ ]. ·       Totals and outputs …
• Hello! i am stumped on this question. I cannot understand it. CHALLENGE ACTIVITY 1.6.1: Read user input and print to output. Assign user_str with a string from user input, with the prompt: ‘Enter a st…
• Need help with this python assignment! I’m confused of how to write the customer’s name, ordering time, orders, and cost to the text file. To be specific I’m stuck on step 5 of this assignment. Please…
• compute the total growth yield of an investment on maturity. The growth yield depends on the amount invested, the duration of the investment (the expected number of years before cashing the growth), a…
• any tips on how to start this would help a great deal. I am currently stuck on swap method, gpa sort, age sort, id sort, searching. class Person(object):   def __init__(self, name, ID, age, gpa):  …
• So this problem is in zybooks using Python. I know that I need to use the split and len functions to work this issue, but I am lost as far as how to go about this. I know that your input would essenti…
• https://drive.google.com/drive/folders/1zwyJLDXibt4O1HMOl5LukDCJv6i9IIhZ?usp=sharing   PART A – Convert ‘classic_books.json’ to Django ‘fixture’ file format    Create Django Fixture file for dat…
• . Use scipy.integrate.quad for both parts! Part 1 Compute the value of the integral: – (ax2 + bx + c)dx where r ranges from 0 to 5 in steps of 0.01, and a, b, and care the constants 2, 3, and 4, res…
• Provided with this code called adventure.py: import loader class Adventure(): # Create rooms and items for the game that was specified at the command line def __init__(self, filename): self._current_r…
• Parsing and Manipulating XML XML is the basis for many interfaces and web services. Consequently, reading and manipulating XML data is a common task in software development. Description An online plan…
• Write a function equation(x, y) that returns the following expression:     |x|y−−−√+ π×cos(x)×sin(y)
• can you demonstrate, I found a different answer. 3.5 (Geometry: area of a regular polygon) A regular polygon is an w-sided polygon in which all sides are of the same length and all angles have the sam…
• https://docs.google.com/document/d/1FacebPOXsWXmbxpqGiXVNtkLqEiFyR5zHyUGWNp4fwU/edit   question 6. I cant find the bug and need help finding it. The code is in this link https://replit.com/@sallenpcc…
• Design a pseudocode that includes start, declaratitions and stop. Input, processing and output. I just need a basic pseudocode for intro to programmig class. Thank you(not python just basic code) Desi…
• Q#5 A quiz contains 10 questions. A quiz’s correct answers are as follows:: Your program should store all these correct answers in a list. The program asks the user to enter an answer for each questio…
• Make a quiz game similar to “Who Wants to be a Millionaire?” Requirements: Your game will include 5 questions. You will ask the user multiple choice questions (in increasing difficulty if possible). E…
• 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…
• Hi could you explain line by the line the explanation behind each code? 12:18 PM Mon Mar 16 49% 88 Q n D MCQs BS1009 ~ 1 + ) X . . . X PLANNER X MCQs BS1009 X Notes Q12: Given the following Python scr…
• The __add__ special method takes in an object, and will ‘override’ the + operator when used by the objects. The following example illustrates the use of the __add__ special method: class Point (…
• How can I rewrite the below python program so that it prints the cities, states, zip code nicely in columns? def main () : mycities = [ ‘Cape Girardeau, MO 63780’ , ‘Columbia, MO 65201’ , ‘Kansas City…
• I am getting error when running this code, can someone help me? import pandas as pd import numpy as np import matplotlib.pyplot as plt def load_csv (filepath) : #loads a csv file csv_file = pd.read_cs…
• Python programming 1. Assume the availability of a function is_prime. Assume a  variable   n has been associated with positive integer. Write the statements needed to find out how many prime num…
• . 3. Given the following transactions: la , b,cl, ta, cl,(b, cl, tal, (b], (c) , with minsup =60% , what itemsets would be frequent? What would be the support s of the association rule: (al= (c) be?…
• X factorial, also written as X! X! , is X∗(X−1)∗(X−2)∗(X−3)….∗(1) X∗(X−1)∗(X−2)∗(X−3)….∗(1). So, 4! is 4*3*2*1 = 24. We provide you with a value N. Calculate N!…
• hi I need help understand how to decrypt this text: SÊßù×ßÜòêŸÔÏÿçöÒÙÏßŒ×ÞÇç÷ÁÇò›Áò·à÷öÒÑò«ì×þãìòCøòŽï•§×Ä»ÏßÃ·”»ÚâÔÓãÌßÚ›™FNÄ?…
• Python program of a stimulation of selecting cards 1000 times on a deck of cards of size 10, 100, 1000, 10000 to calculate the percentage of times each number of fixed points was obtained as well as a…
• . {333 Write a program that reads all of the numbers stored in Numbers . txt file. The following instruction provides details on how you need to perform the task. . Ask the user to enter the number …
• Augment the PositionalList class (see Section 7.4) to support a method named merge with the following behavior. If A and B are PositionalList instances whose elements are sorted, the syntax A.merge(B)…
• program named  civil_speech.py  that opens, reads and closes the Gettysburg text file. Use a  for  loop to read
• Explain how you navigate the ICD-10-CM Official Guidelines. 2. Provide one (1) example of when you referred to the guidelines to select a code. Explain why. 3. Describe how the information in the g…
• can you please help me with the following programming problems? problem 1 problem 2 problem 3 figure 2 image and question continued below  . Using the flowchart, and sample output generate the Python…
• Read in and store the data from the file called “January.txt”.  This file includes the customer’s account number, beginning balance, withdrawals, and deposits (in that order).   NOTE: Make sure yo…
• In this part you will be collecting data from the Twitter stream API. This data will be used for analyses. You will modify and use the class TwitterListener in the provided script. 3.1.1 The Tasks . (…
• There are three possibilities to consider when a function is not working properly:, please give an example of when there is an error within the arguments of a function is getting; Th…
• Write a function cholesky and bandcholesky implementing the Cholesky and the banded Cholesky factorizations respectively. BandCholesky is done in the below Implementation of cholesky is given I need t…
• The dictionary courses is a hypothetical schedule for a semester. The key is the course code and the value is the number of credits. Print the course code along with the number of credits as shown in …
• I’m reviewing problems I wasn’t able to complete first time around and this one seems simple enough and is found online at different locations but I can’t get it to work when its tested with a functio…
• Suppose a list may contain different data types such as lst=[[1,2,3],(4,5,6),2,”2″]. Please calculate the sum of all values in the list objects.  Hint: to check if an object is a list, use type(x)==l…
• This is the second part of a problem. A tutor helped me with the first part as i am new to coding and trying to learn about classes. The class i was shown for problem one is shown below it is this cla…
• Hello, something’s wrong with my code and I try to do the assignment. Please explain what wrong I did in details and what is the correct input to fix my code so that I can learn. Thank you! My Code: i…
• HELP PLEASE WITH THIS PYTHON CODE. URGENT!!! Week 6 Deliverables Unordered list Overview: In this week, you have studied additional Python language syntax for adding HTML tags At least 3 Links to othe…
• please do it in python code. A) Let X = amount of time (in minutes) a ice cream man gets a new customer at his cart. The time is known to have an exponential distribution with the average amount of ti…
• I need to complete the following jupyter notebook..I’ll appreciate your help. CO final.ipynb – Colaboratory N Netflix X Lockdown Sessions Max I X G how to get day of week from X *[Solved] reservation_…
• How do i create a loop that can allow me to loop back to the start point again. For example, A leads to B leads to C leads to D. at the end of D, i want to prompt the user to enter a value (1) which l…
• I’m struggling to get each program to run correctly. CS110 Homework 3 (Control Flow) Swami Iyer Problem 1. (Three Equal Numbers) Write a program equality.py that takes three integers as command-line a…
• Hi – I am having trouble writing python programming code for a “dictionary”. The goal is to use a dictionary to store the frequency count of each letter in a string. The python program must be able to…
• Need help with the FLODE chart from Codio. Not getting the output I need. Hard to use these flode charts. For info on how this is used, see this link: https://vimeo.com/137370835 Cannot figure out why…
• Please help me with question 5, I try to find a way not to print the base case over recursion. All instructions are in photos. Thank you  . 1 Overview In this project, you will be practicing recursio…
• . 5.13 LAB: Perfect Squares Write a program that asks the user to input an integer that is a perfect square. A perfect square is an integer that is equal to the product of another integer w…
• The expected is: I already have the first one completed but I cannot take the logarithmic transform of the data, can you please help for 2. and 3. ? Here is the first part that works: import numpy as …
• . 2/21/22, 2:22 PM Week 5 –Practice (to submit for grade)–Dictionaries Week 5 –Practice (to submit for grade)–Dictionaries Start Assignment Due Monday by 23:59 Points 10 Submitting a file upload…
• Code a Python module with the following function signatures: def create3D(hCount, wCount, bCount, value=None): def write3D(a): def readInt3D(): def readFloat3D(): def readBool3D(): Include an appropr…
• You will need to create three files: Apartment.py – file containing a class definition for an Apartment object lab06.py – file containing mergesort and other functions defined in the lab06.py section …
• I’m not sure how the class example will work for my homework question.. can anyone explain what this is?
• I would like to know if there is something wrong with my flowchart, I made it based on the code below; the user is supposed to enter the balance, and the number of overdraft accounts, and print the re…
• For this question we are not allowed to use the range function python already has. Here is the question: Define and test a function myRange. This function should behave like Python’s standard range?…
• Program should accept a single character of input from the user.  Using a decision structure, determine if the character is: An uppercase vowel An uppercase consonant A lowercase vowel A lowercase co…
• How can a Python program be written that has three functions that do the following:    a. Function: main —- No parameters——Return: None  Processing: Print welcome message. Call ask_for_int…
• Please help can’t figure out will rate! earnings total = 0 for k in earnings: if k &gt;= 0: total += k print(‘Total profit =’, total) 1.20 Exercise: Trace through the values of total and k in your mod…
• I would need some help with my project. Hope to get some guidance of OOP
• Project 11.1 Display Name and Address Write a GUI Program that creates a UI like this:     When the Show Info button is clicked, your name and address will be displayed as     Save your code as in…
• Explain each line with a comment . The why and how it works for each line. Is the if statement correct and why? Which for loop print the columns and which loop prints the rows ? How did you proof you…
• -The data set is the following : International football results from 1872 to 2020 An up-to-date dataset of over 40,000 international football results. I have attached the data as a csv file link. “htt…
• These are my two types of codes. I get the errors,  Test AnimalShelter doesAnimalExist method  Test Failed: ‘NoneType’ object has no attribute ‘upper’   Test AnimalShelter GetSpecies Method Test Fa…
• I want to ask about the listnode in python and what(why) we need to use next and Val for that.
• In python I have my code written. My code is running but it has some problem regarding to rules. (I have did all the other things so you do not have to worry about other functions) 1) fix my scoring …
• Please refer to the attachments below. Code is attached as well. . In this problem, you are given a partially completed program, and you need to update and ﬁll in the rest of the program to produce…
• Please answer this using Python only!   The original U.S. income tax of 1913 was quite simple. The tax was •1 percent on the first \$50,000. •2 percent on the amount over \$50,000 up to \$75,000. ?…
• 3)Rockpaper1 codes winner = None p1_score = 0 p2_score =0 rounds =1 def check_win(win_val,lose_val):  if win_val == “S” and lose_val ==”P”:    return True  if win_val == “P” and lose_val == “R”: …
• write program that asks the user their favorite number. Call the pre-dedined function is_even to determine if the number is old or even. Print the message”Even!” if the number is even.”odd!” if the nu…
• absolute error using  matrix method in linear regression and how to implement it in colab i want .ipynb and .html files
• Hi, can you explain how to how to fix this code? Please provide functions and main, and please don’t copy the answer from other websites. Thank you very much! 3. Write a function flatten 2d that takes…
• Part 2: Well rated and not so well rated movies … In this section, we are providing you with two data files movies . json and ratings . json in JSON data format. The first data file is movie informa…
• Which of the following functions would return the smaller of the two parameters if the first parameter is evenly divisible by three and zero, otherwise? Question 8 options: def smaller(x, y):   if x…
• . Polygon class name init () whoamI () methods howmanysides () area () perimeter () nbr_sides object variables Rectangle Triangle init () init () area () area () perimeter () perimeter () a Figure 1…
• Write a statement that assigns total_coins with the sum of nickel_count and dime_count. Sample output for 100 nickels and 200 dimes is: 300 1 total coins = 0 nickel_count = int(input() ) 4 dime_count…
• My code is not working. How do I get the average in my code for this loop? What am I missing in my code? inp = 0 average = 0 while inp != 48:   inp= int(input(“Please enter an even number from 2 to …
• the terminalplot and queues have already finish only lab6_efficiency.   terminalplot.py ”’ Base code from here : https://github.com/kressi/terminalplot/blob/master/terminalplot/terminalplot.py ”…
• write python program using list comprehension for following list [‘x’, ‘y’, ‘z’, ‘xx’, ‘yy’, ‘zz’, ‘xxx’, ‘yyy’, ‘zzz’, ‘xxxx’, ‘yyyy’, ‘zzzz]
• How do I make an accumulator variable for misses in this program to make it so that it actually works? import random import time user = int(input(“Number of throws: “)) while user &lt;1: print(“Invali…
• Please help write the code based on the instructions and marking checklist below using Python on replit.com. Remember to make sure the code has descriptive comments throughout whenever needed. Make su…
• . To define A = 4 5 6 , which of the following Python code is correct? 7 00 O A = torch . tensor ([1, 2, 3], [4,5,6], [7,8,9]) O A = torch . tensor ( [ [1, 2, 3] , [4,5,6], [7,8,9]]) O A = torch . t…
• Need help with this question. 1.3 Particle Physics Particle physics involves the study of elementary particles at the atomic level. The data we will use consists of measurements of a particle’s positi…
• Need help extracting the following data from a csv file using Python Programming(Wing Python IDE) : Total Sales Total Profit Sales and profit for each category Sales and profit for each state The best…
• This is my python code for my computer science class. I’m having trouble finding errors in my code. Please help.   def main():  endProgram = “no”   totalScores = 0.0  averageScores = 0.0  nu…
• In each of the source codes, there is a comment and corresponding code about “Preparing data”. Find each one of them and explain what each one does as far as data preprocessing before drawing the figu…
• Que 1    Complete the code such that the program will print: 222 111 333 mydict={“B”: 111, “C”: 333, “A”: 222} for j in sorted():     print(, end=” “) B. Complete the code such that the program wi…
• Exercise 6. Rewrite the following “for” loop as a “while” loop   for i in range (5, 20): If I % 2 == 0: Print(i)
• i need help with a Lambda function should be written in Python 3.X to provide the results of the last 5 games in a specific sport for a specific team entered by the user. providing data for at least…
• 13 LAB: Output values in a list below a user defined amount   Write a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that …
• I just need help with understanding what to do or how to approach this problem.  . Q1.[30 points] You are given a xml file with cities. See the attached file for its format. Takeaway from the format …
• Use Microsoft PowerPoint for Pseudocode and the flowchart (You may use a different application if PowerPoint is not available).. Problem 1: Create a list that contains the months of the year…
• 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,…
• Please help me with simple python coding, I need help writing a code as described below. please write it or break down the parts and how to write those individually. I’m very stumped and could use any…
• 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 …
• import random creditcard_number = [] def user_option():     option = input(“Do you want to check your own credit card number [option A] or generate a random credit card number and check it afterward…
• import arithmetic   def calculate(number):       return number + 2    print(calculate(4))  print(arithmetic.calculate(4))
• Question: The Final Project for this course is an accumulation of previous weeks’ assignments in which you will utilize all of the skills you have acquired in this course to develop an employee manage…
• # Import all necessary python packages import numpy as np import os import pandas as pd import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap from sklearn.linear_model import Lo…
• Python plz 6. Let fj = camz), x; = j2%/N for j = 0, 1, …, N -1. Take N = 8. Using your fit package obtain Pg(I) and find a spectral approcimation of the derivative of esin at a; for j = 0, 1, …, N…
• CASE 1: book_category_dictionary_list In this case, the dictionary keys are the generes\categories such as Fiction, Fantasy, Biography, etc. The function will store the dictionary using the following …
• Please I need assistance in how to successfully run the code which is in the below link. I’m getting error while running on my PC   https://medium.com/@yasersakkaf123/realtime-abuse-detection-in-a-ch…
• Give me code plz 2. a. (9 pts) A file named a. txt contains many words, some of which begin with asterisks. Write code which creates a list named nostar which will contain the words from a. txt that d…
• ) You are a manager of a network that has 56 remote site and you have one c B license. What subnet mask would you use with having the max amount of hosts at each site 1000? What is the python code …
• . Rocky_Mountain: Colorado, Idaho, Montana, Utah, Wyoming Southeast: Alabama, Arkansas, Florida, Georgia, Kentucky, Louisiana, Mississippi. North_Garolina, Bouth_Carolina, Tennessee, Virginia, West_…
• make a single dimensional pyspark RDD named bernoulli_rdd that contains 10,000 Bernoulli probability distribution data points consisting of integer 0 or 1. P(0) = P(1) = 0.5. Use only pyspark RDDs to …
• in python, 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 leap year …
• Please use Pandas create a function that allows the user to pass in a temperature and gives an output report for Temperature (C):  Temp Input by User Pressure (MPa): Volume (m^3/kg): Energy (kJ/kg): …
• . LAB 5.5.1: LAB: Exception handling to detect input string vs. int 0 / 10 ACTIVITY main.cpp Load default template… int age; // Set exception mask for cin stream 10 cin. exceptions (ios : : …
• Project: Task 2–Draft Program in a .py File Draft of your program in Github. Submit a link to your repository for this assignment. Submission instructions: Click on the title above to submit your ass…
• using python come up with 5 short programs a program to open a text file for writing, and then write user input to the file via a prompt until the user enters an exit keyword. a program to open a text…
• Hello, I am trying to figure out how to write the print statement and overall answer the whole question: In a comment on the first line gives your full name (first and last).  b. Assigns whatever you…
• Please code in python. 1 TASK Create an Eliza like program. For a description of what Eliza is, look here You should be able to ask Eliza about anything and include feelings, relationships and activit…
• use python incremental development to explain 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. Record …
• python programming Write a user-defined function wordGame() that reads the text file, Pride_and_Prejudice.txt. (Be sure to save Pride_and_Prejudice.txt in the same folder in which you are saving your …
• Code Challenge: Text, Unicode, and Bytes The copyright symbol @ can be represented by the unicode hex value 00A9 . Write a Python program that outputs the following message: The copyright symbol is: 0…
• 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…
• def words_rhyme(word1: str, word2: str, word_to_phonemes: PRONUNCIATION_DICT) \        -&gt; bool:    “””Return True if and only if word1 and word2 rhyme according to    word_to_phonemes.   ?…
• I need to do the following: Read students’ result data from file result.csv, display:  students with exam score &lt; 48. Please also save the students’ records to a file called failedhurdle.csv. ?…
• 7 Write down the explicit form of the first PC (in terms of the eigenvectors. Use values with two places of decimals only). [hint: write the linear equation of PC in terms of eigenvectors and corres…
• defcountdown(n):ifn&lt;=0:print(‘Blastoff!’)else:print(n)countdown(n-1)Ifnis0ornegative,itoutputstheword,”Blastoff!”Otherwise,itoutputsnandthencallsafunctionnamedcountdown—itself—passingn-1asanarg…
• Urgent please answer é/lIIQ Assume the variables starts and ends refer to lists of start and end times of a set of events (given according to some ﬁxed order of the events). Here, the times are giv…
• The program should be modular. For example, you will want to have an add_item(shopping_list) function, a delete_item(shopping_list) function, a display_list(shopping_list) function, a display_menu()…
• Python programming If I have  Arr1 = [1,2,3] Arr2 = [1,2] How could I print this? Expected output:  1 is in Arr1  2 is in Arr1 3 is not in Arr1
• Competencies In this project, you will demonstrate your mastery of the following competencies: Write scripts using syntax and conventions in accordance with industry standard best practices Develop a …
• from PIL import Image   ”’ ————— DO NOT MODIFY THIS FUNCTION —————”’           # Purpose:  Recursive function to draw a snowflake pattern on an image def draw_snowflakes(i…
• Please answer these 3 Questions. Question 1 With x=3 and y=4, compute the following quantity using Python: (3/2)(x^2)*y What is the answer to 3dp? Question 2 With x=3 , compute the following quantity…
• I have a python programming problem that I need help solving
• Using Python only, Do the necessary transformations for input variables for getting better R^2 (R square) value for the model prepared. Build the model and predict for the output variables. Weight.gai…
• Please use Python for this work, and answer the five questions respectively in sentences (included plots), thank you!  . 1 A Discrete Convolution Program (5 pts) Write a discrete convolution function…
• Used Python programming. Let’s think of some creative ideas and implement them in this project. Yes! This project is something that you define yourself and enjoy implementing.   The project needed is…
• Frome the question below, I already imported the file but I don’t know how to plot it in the 2 * 2 subplots, So can you help me figure out how to wtite this code? import matplotlib.pyplot as plt impor…
• 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…
• You should save the solution to this problem in a file called removestring.py  if you wish to use the tester program. write a function called removestring  that takes two input arguments: a string c…
• Please use Python    Background A router forwards a packet by examining its header and then using some of the header values to index into its  forwarding table . The essential functions that router…
• Given a group of tickets, find and print the itinerary in order using those given tickets. The itinerary should show the whole route of the trip in order. Input tickets: “Chennai” → “Banglore” “Bomb…
• Please describe what is the difference between a  chained conditional  and a  nested conditional . Give your own example of each.  Do not copy examples from the textbook. Deeply nested conditional…
• Please help me with #16 and #17: 14. Overview of Image Rotation Rotation is harder than the other two forms of process. That is because rotation changes the dimensions of the image. An image that is 1…
• What is the average number of doors in the data? What is the average number of doors for cars classified as good? How many cars can carry 5 or more people? Split the data into separate dataframes base…
• 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…
• Backspace 9 8 Apply arrays, which are the topic of this chapter, and use loops with them wherever applicable as shown in the material for Unit 6. Solutions that do not apply them will not be accepted,…
• ) Use the ‘diamonds’ dataset from seaborn to plot the Histogram of price by colors.       Solve it using plotly library
• . Celestial objects Create the following objects (all data were obtained from the NASA HORIZON system): earth = Planet (&quot;Earth&quot;, np . array ([9. 978977040419635E-01, 6. 586825681892025E-02…
• How to write a program that reads a list directly from the user, then removes duplicate top-level elements in it and prints out the resulting list. You may  not  use the Python  set  type to do i…
• You have been asked to write a data set showing “wilderness” areas in a national park. These areas are defined as 2,000 feet away from a paved road, 500 feet away from any campsite, and 100 feet away …
• I would like to scrape the table on https://hoopshype.com/salaries/ into a csv file using Beautiful Soup, and get the stats on the table (count ,mean, std ,min, max etc.) Based on the teams.
• . Hospitals usually classify ER patients depending on the severity of their conditions. We try to implement a priority queue based on this classification with 1 being the highest priority and 4 bein…
• [10 marks] Does the following program always print a correct message? If your answer is No, for what values of num the following program always prints a correct message. What would you do to fix it? Y…
• help in code this task in python please. Task 1 — Plane A Plane represents a specific airplane that be parked in a hangar. class Plane: Deﬁne the Book class. def _init_(self, model, manufacturer, …
• Python Programming Create a class named  Employee  which contains an employee name, available to the entire program (public), and an employee ID number and hourly pay rate, available only to the me…
• Implement count_occurrences, which takes in an iterator t and returns the number of times the value x appears in the first n elements of t. A value appears in a sequence of elements if it is equal to …
• what will be the output after the following statements   x=0 y=4 while x+u&lt;10 x+=1 print x,end=”)
• Given the following Python code: discountRate = 0.0 purchase = input (‘Enter the value of the purchase: ‘) if purchase &gt; 1000: discountRate = . 05 else: if purchase &gt; 750: discountRate = .03 …
• An algorithm is a sequence of detailed steps that solve a problem. These steps are what then turn into code for your program. For example, a recipe is an algorithm. It tells the person step by step in…
• How to count last names starting with L in a given list
• Explain the difference between `for` and `while` loops.  2. Describe an example (using a text explanation or pseudocode) of a situation that would make an infinite `while` loop. 3. Describe what y…
• ”’ Super Scramble Challenge Consider this list of lists that encodes three 3-letter words …     [[‘a’,’p’,’r’, 2 ],      [‘n’,’i’, 3 ,’t’],      [‘a’, 1 ,’c’,’e’]] To unscramble this mess, …
• Write a program that takes the first derivative of f(x) = 3×2 + 20x + 5 and prints the values of this derivative at x= -5; x= +5 and x = +10 (10 points) Sym.diff (3*x* *2-20*x=5)
• Ask the user to enter the: NAME (A, B, C, D, E, F, G, H, I, J), AGE, GPA (out of 4) and the MAJOR ( CS, CET, CIS, CE). Then print these information as follows: My name starts with the letter (NAME) an…
• 2. (35%) Using any appropriate methods that we learned in class, solve the following nonlinear equations within at a tolerance of 10—6 within the specified range (please solve both in a sing…
• Hello, I’m a beginner computer science student struggling with some questions. There are some bugs in my code, and I’m not sure how to fix them. For my first question, it reads, “Define a function tha…
• Hello, how can i limit bandwidth in python for a specific destination IP? or for an exit interface? i am working in a linux environnent.
• Prompt the user for a string that contains two strings separated by a comma. (1 pt) Examples of strings that can be accepted: Jill, Allen Jill , Allen Jill,Allen Ex: Enter input string: Jill, Alle…
• Overview This is part 1 of a 2-part project, in which we’ll build a simplified contact list. The contact list has these features: load contacts from a CSV, or comma-separated-values (explained below)…
• Return the sum of the odd ints in the given list. Note: the % &quot;mod&quot; operator computes the remainder, e.g. 5 % 2 is 1. sum_odds( [5, 2, 6, 3, 4]) – 8 sum_odds( [3, 6, 11, 2, 5]) – 19 sum_odds…
• Design a program that asks the user to enter a charge account number. The program should determine whether the number is valid by comparing it to the following list of valid charge account numbers: 56…
• It is a python programming question. The data is from a restaurant that only accepts reservations booked online and hence does not accept walk in customers. Each row in this data corresponds to a book…
• Hi, If possible I’m looking to get some guidance with a game I’m putting together.  I have a human and a robot both making a guess. The human is via an input and the robots is randomised. both guesse…
• i need python code for part 1 which i can copy paste on my ide     . Write the python code to complete the following. Submit by copying the CODE into the answer part. If your code does not compile …
• . 1 def list_is_greater(L, thresh) : &quot;&quot;Return a list with the same length as L, where the value at index i is True if L[i] is greater than thresh, and False otherwise. &gt; &gt;&gt; list_i…
• At a certain university, passwords for the university’s network must be at least 7 characters long.   write a program to display the criteria for the password, and ask the user for their password.  …
• I wrote this code: def write_students():    outfile = open(“students.txt”,’w’)    student_name= input(“Enter student name;enter quit to stop: “)    while student_name!= ‘quit’:        …
• what is a program in python that displays 3 menu options like the picture attached above. Ask the user to input the number of a menu option, then display a print statement relevant to the option selec…
• Mosaic Graph plot   Bar plot     “Does limiting user posts increase 7-day retention when compared to the unlimited posting model?” comment briefly on which plot is more interpretable and better rep…
• Question 3 Part1   As a crewmate in amongus, completing multiple tasks is one of the main objectives that leads to victory, so we want to better schedule these tasks. Suppose we quantify gameplay tim…
• Assume that you have launched the turtlebot3_empty_world.launch from turtlebot3_gazebo package. Please state what is wrong with the following code AND how to fix it in 2 sentences max .(Note that the …
• please help with python Write an accumulator loop that builds a new string by going through the original string one character at a time, and when it finds a letter that is not a vowel, it adds an extr…
• execute the code in python please. This purpose of this assignment Try free 1/19/22 is to reinforce empirical efficiency measurements. Specifically, the assignment is to implement the three god 1/19/2…
• In this question, you are going to implement a human vs. human version of Notakto. Notakto is a tic-tac-toe variant. It is played across three 3 x 3 boards: Board A, board B and board C. When you star…
• Given the pseudocode below: Class Material Private String _type Public Module Material(String type) _type = type End Module Public Module display() Display _type End Module End Class Class Furniture P…
• Lecturers in most Universities are paid on a schedule that provides a salary based on their number of years of teaching experience. For example, a beginning Lecturer in National University might be …
• Given a list of the squares of the first 40 whole numbers (starting with 1,4,9…), consider the last two digits of each number (which one can get by dividing by 100).  What is the largest number cr…
• Help me with the code M TCS CodeVita Season 9 : Importa x TCS: CodeVita – Coding Arena X https://www.tescodevita.com/Op x + X F – C o a tcscodevita.com/main_page.jsp Paused Apps TextNow @ myTemp.email…
• Lab Exercise 5 (Part 2)   Focus   1.    Library functions 2.    User-defined value returning functions 3.    Modules
• Please answer the 1st part of this 7.7.7 question for me.  I need to find where I am missing the point.
• Fill in code at the ……  . 4. +20 (2D-array) Complete the program for playing Game of life. 1) Implement the function numLiveNeighbors() in life.py 2) Implement the function draw() in gameoflife.p…
• Write a function  del_digits(str1).   When called, passing a string as argument  str1 , your function should return a new string that’s  str1 with all digits  0 ,  1, …,  9 removed.  Finall…
• I need you to please write the king county house sales dataset report for my python project
• PLEASE USE SIMPLE CODE NO STRING OR DICTIONARIES OR ENUMERATE OR NEXT. 2. countPeaks(L) [10 pts] A peak element is an element that is strictly greater than its left and right neighbors, i.e., the elem…
• Program anaconda/ notebook / jupyter   Canny Edge Detection   blur = cv.GaussianBlur(imag_Gray,(5,5),0) edges = cv.Canny(blur,250,350,5) cv.namedWindow(‘mywindow’,cv.WINDOW_NORMAL) cv.imshow(‘mywind…
• Smileys Count Add to your smiley/frowny program so that when the user quits, the program tells them how many smileys and how many frownies they printed. (Don’t keep track of invalid choices.) Total Nu…
• Hello, I am currently working on turning a python program into an exe file. When I try to run it, I receive the following error, I am not sure why, I have done everything but I cannot seem to figure o…
• TEST: Force calculation Question 1.) A function  F_gravity(ri, rj, mi, mj)  that calculates the force vector for The function should take vectors (numpy arrays) ri and rj as well as the two mass…
• How to calculate the distance if centre point from the point, using array?
• Checkpoint 1: Representing and Building the Board We will represent the Sudoku board as a list of lists of single character strings. Start by looking at the code in che cki .py. It has an example boar…
• 2 Predict stock price(40 pts) The aim of this problem is to test a data source which claims to be predictive of future returns of the SPSOO index. The &quot;signal” in the table is received at the e…
• TensorFlow machine learning with Calilfornia housing data
• . You are given the following dictionary of medal data: medals = { Canada’: {&quot;Gold&quot;:3, &quot;Silver&quot;:3, &quot;Bronze&quot;:4}, ‘China’: {&quot;Gold&quot;: 13, &quot;Silver&quot;: 14, &q…
• On line 7, change the value of ‘forward_mm_per_step’ from its current value of 1.23 mm to the value of 0.94 mm. On line 8, change the value of ‘distance’ from its current value of 345 mm to 250 mm  t…
• Question – I need help with logic in this code. I want the search program to continue to loop until the user requests to exit. But if the user doesn’t add an input for Subject or CatalogNbr I want it …
• Graphics in python make 6 dice game and roll them up give them points until they reach 10000 points. use below point table for points. 5 = 50 points 1 = 100 points Triple of 1 = 300 points “Example(1,…
• Create a Python function, named sequenceMax, which takes a list of numbers and returns the length of the longest sequence of equal consecutive elements. Return 1 if there is none sequence. In the main…
• dont use any of the built in library. make use of simple commands like count, append, read, w+ etc. 1 Write python program to check the total number of lines/sentences in a text file. Your program wil…
• Geometric approximation: define generator that creates an infinite geometric series: 1, 1/m, 1/m^2, 1/m^3 … where m is given. and with it allow it to perform the following tasks: 1) sums the fir…
• You have received a program implementing a pseudocode of the quicksort algorithm given below. You can run this program but you don’t have access to its code and you are not allowed to modify it. You o…
• Question 2 The relational model of databases is based on a formal foundation using relational algebra, which is called the Relational Model of Data. It is often described as having three related aspec…
• I’m getting invalid syntax due to the colon sign in def payroll_calc:
• Q1 ## Make the image 25% opaque #%% md # ## Solution with for loop pixels = copy . deepcopy (orig_pixels) for index in range (len (pixels ) ) : pixels [index] = ( pixels [index][0], pixels [index] [1]…
• I have a list of cipher text that is as follows: tioxerlo ahcw d agsieknj tz il uohysxsqbfmve i urope drr y eogsot mhuas t kkm ceyera antfeithril aose ntianw sv rvid tfoopyel iiomgo sntmreoefr a msgte…
• Createan application using PyQt. The user must enter the name of an Olympic sport and a single character (e.g ‘a’).The application must read the name of the sport and count the number of occurrences …
• Need a python script called .py that is used to update a machine’s local hostname resolution file.  The details of how it works are on the image      . Need a python script called .py that is used…
• Implement a recursive function  avg_word_length(lst:list,length:int=0,count:int=0)-&gt;float function,  which computes the average word length in a list of words.  Examples:  &gt;&gt;&gt; avg_word…
• Python 3: I need the solution In function make avg pm2 dictionary() create a dictionary to store a computed average PM2 value for each country from all cities and year records in the file air_quality….
• english = [] hindi = [] data = [] try:     with open(‘vocabulary.txt, ‘r’) as file:         lines = file.readlines()         file.close     for a in lines:         a = a[:len(a) – 1 ] …
• How do you develop a graph for Metropolis samplers in python for a normal and t proposals proposals Problem 1: Develop a Metropolis sampler to generate random variable samples from a Cauchy distributi…
• For extra credit my teacher is asking me to submit a OOP i.e. classes. He has also mentioned that i shouldn’t be using stand alone function. (no other information is provided) So, basically you can de…
• 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’ …
• 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…
• Exercise 3.8* This exercise deals with the problem of deciding whether a given degenerate basic feasible solution is optimal and shows that this is essentially as hard as solving a general linear prog…
• program a Matlab function to convert a decimal number to a binary (integer) number. Your function will have one input (a decimal number) and one output (the equivalent binary integer number or a “fail…
• Write a function named right_justify that takes a string named s as a parameter and prints the string with enough leading spaces so that the last letter of the string is in column 70 of the display.
• A “jiffy” is the scientific name for 1/100th of a second. Given an input number of seconds, output the number of “jiffies.” Output each floating-point value with two digits after the decimal point, wh…
• (Use Python code) For the solenoid valve, put down a program to run on the Pico that will wait for a button press from the Pico base, and will continuously run a cycle of: a) energize (turn on) the so…
• You will get data using the iTunes Search API. You will also store the data in a cache file so that you can retrieve the data from the cache instead of requesting data from the API repeatedly. We have…
• If a person is jogging at 5 feet per second, how long will it take them to run the length of a football field?             minute
• Build a 4×1 multiplier in the space provided. This circuit takes five inputs: the 4 bits of the first factor: x3, x2, x1, and x0 the 1 bit of the other factor, y. It will have four outputs (p3, p2, p1…
• Please help Lists, sets, and dictionaries are all mutable. Although we can execute code that changes the length of a list while it is being iterated over ( by calling append or del), Python does not a…
• 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…
• Hi, I am getting below error while execunting python program on hackerrank- python qualis nose test..can you help mytest.test_circle.TestCircleArea.test_circlearea_with_max_radius … ERROR mytest.tes…
• . Financial application: Payroll &amp; Access Code creation For this assignment, you will create a payroll program for a small startup company. You will create a Python program (named: LastnameFirst…
• Instructions: To get started, we suggest implementing ONE (1) SOLO style game only (with several turns) following the sample runs dialog. At this stage, print the board directly printing the 2 dimensi…
• Create a function named find_negatives that takes one parameter: val_list, a list of values. The function should return a list of the indices into val_list where that element at that index is a negati…
• Need help with this python assignment! Please follow the given instructions and have the output be like the sample output shown. Please code in Python! Thank you!    . Learning Outcomes 1. Create a …
• Hi, I wrote this code: import numpy as np import matplotlib.pyplot as plt #np.random.seed(seed=10000) “”” Schelling segregation model example Two types Initial location random within unit cube Agents …
• Please help me correct my code :  Structure of this Question : 1. The Question Given to me 2. My code 1. The Question Part 2a: Pokemon Center Database Pokemon is a series of Japanese video games and …
• To read the rows in a CSV file, you need to a. get a reader object by using the reader() function of the file object b. get a rows object by using the rows() function of the file object c. get a row o…
• Please help me solve this problem in Python. There is a Tree Abstract Data Type in the cheatsheet. The code should pass all the test cases in the doctest. Thanks, I’ll rate. Recursive description: Ro…
• Write a function max_sublist(lists) that receives a list of lists of integers and returns the sublist with the highest sum. For example: Test Result lists = [[0, 19, 4, 14, 9],         [1, 0, 23, …
• Question 18 (2 points)                   Using multiple assignment notation for lists can only be done if the number of variables and the length of the list are the same.   Question 18 optio…
• public static void main (String args) { / / take integer array as an input int arr = (3, 6,2,8,5,9,3,2,0,5,7); // calling method to remove duplicates removeDuplicate (arr) ; Sample code 2 in Python: …
• Python programming.  A marketing company would like to know if varsity (college) swimmers are (on average) taller than their volleyball counterparts. You have been asked to create a data driven solut…
• Lab Assignment #10 – Object Oriented Programming Total Points 0.0 / 60 pts. Lab Assignment #10 Activities 1. Design a class to represent the purchase of an online item: a) Complete the UML diagram for…
• 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…
• Can someone please explain my error in this question. B Codio – IT-140-J3458 Introd Homepage – Southem New Home – &gt; Students 0 Mail – dametres.lopez@snh C Codio – Loops https://codio.com/dlopez//lo…
• You are given a string inputstr containing only the letters w D , and I L . Your task is to construct a new string from the characters of inputstr according to the following algorithm: 1. Begin with a…
• Assume you have just started a job as a sales person in a car dealership that sells new and used cars. Your pay consists of a base salary of \$10,000 plus a commission that is, based on amount of vehic…
• I need help finding the source code for the following 2 questions using jupyter notebook (python)  . Q2. 1. Randomly generate a vector and draw corresponding histogram 2. Randomly generate two vector…
• Part of HW11 involves adding map markers corresponding to Tweet locations. Your task here should help with that. Write function createMarkerString(currentTweetIndex, tweetLatLonList, mapCenterLatLon) …
• 1) Use list to create menu 2) Create function the will return the results of the four operations in a dictionary allInOne(n1,n2)   Sample output   1)      Add two numbers 2)      Mult tw…
• A Moving to another question will save this response. Question 8 What is the purpose of variables? O Automatically format text in IDLE O Store values for later use O Instruct the processor to execute …
• Need help with the below coding questions and how to do them: 1: 2: 3: Exercises ®® @ @ Even or Odd Create a function called EvenOdd that will take in one integer and determine if it is 1 Your code …
• Could you possibly aid with this. Make sure to separate the function and main file, make sure to only use 1 return statement in the function and also , use the .format (format) method for python. eaut…
• Step 1 – I need Console BLACKJACK! Blackjack payout is 3:2 Money: 100.0 Bet amount: 10 DEALER’S SHOW CARD: 9 of Diamonds YOUR CARDS: 5 of Hearts 5 of Clubs Hit or stand? (hit/stand): hit YOUR CARDS: 5…
• Programming languages like Python are formal languages with strict syntax rules. But those rules can change over time with newer versions of the programming language. Your textbook covers Python 3, bu…
• how can I code a stock market program in python that analyse the market with mathematical tools? thank you
• I need help with revising my first project and putting in a steptracker but I dont understand this at all and need help with this trying to solve the problem. Below is what it is asking and further be…
• Hi There, I’m having trouble solving the below task in python, can someone please assist and help me understand how you build the appropriate code? The aim of this task is to familiarize yourself with…
• Need help with CRUD what am i missing? need to add the update function and delete function here is my file. In 121: from Animal Shelter import AnimalShelter #data = (&quot;animal type&quot;: &quot;Bas…
• May you instruct me about how to output json file given .txt file in python?
• Hello! I need some help with this question, here are the data that needs to be used: 1990 7,898,639 1991 7,487,232 1991 7,389,404 1988 6,924,749 1993 6,685,249 1991 5,625,469 1993 5,549,253 1994 5,342…
• In this assignment, we will practice document similarity. First, we are going to scrape philosophers’ biographies from their Wikipedia page and construct a corpus of documents. Then, we’ll match ever…
• Convert this image to grayscale Blur this image Threshold this image You should get something that looks like this: A key difference between photographs and sketches/ cartoons is the number of dist…
• This Question has 3 PARTS: PART A: Recall that a Line is defined by two Points in the (x, y) plane. Write class Line where one object represents a Line; the Line object is stored as two Point objects,…
• A robot machine is going to navigate through a series of cave connected by straight tunnels (Please see image below). It starts navigating from the A to the last cave G. Finding a shorter route is bet…
• Please do this in jupyter lab thank you.. 3. A bacteria culture grows exponentially. After 1 hour, the bacteria count was 200 and after 1.5 hours, the bacteria count was 360. a) Solve a system of equa…
• . 1 . Write a Python program to add ‘ing’ at the end of a given string (length should be at least 3). If the given string already ends with ‘ivnvg’ then add ‘3’ instead. If the string length of t…
• Please use python to solve this. thanks https://www.cdm.depaul.edu/Pages/default.aspx this is the CDM link What are the 25 most common words on the CDM website? Write python code to answer this questi…
• Given Code: #Write a function called pull_records. first_to_last should #have two parameters: a string representing a filename, and a #list of integers. Inside the file, there will be some text on #ea…
• i need some help with to start Writing a function called  savePage  that takes a string representing a URL, and a file name as a parameter and then saves the contents of the web page to the file. py…
• What TWO different python programs can remove all elements that appear more than once from the given my_lst and print out the updated my_lst with elements that was mentioned once only . For Example Gi…
• Write a program that takes as input two opposite corners of a rectangle: the lower left-hand corner (x1, y1) and the upper right-hand corner (x2, y2). Finally, the user is prompted for the coordinates…
• Hi can you help me with this question also I am using python
• Write Python code for the following: 1. First, consider the case of an American Call option with underlying stock trading at \$95, Strike price of \$90 and 1 year maturity. Use the Binomial model with t…
• Please only provide me with the correct code. &lt; &gt; learn.zybooks.com C 6.1. Introduction to graphs 6.10. Tree traversals MAT 230: Discrete Mathematics 6.19. LAB: Replacement words =zyBooks My lib…
• use the reachable function to determine if a graph is connected or not. Complete the connected function and test with test_connected. from collections import defaultdict def make_undirected_graph(edge…
• . MEC311 Dynamics W2022 Project 2 Rigid Body Kinetics Objectives 0 Solve dynamics problem involving rigid bodies I Write and run Matlab code to simulate and model the problem 0 Run the Matlab progra…
• Lambda Functions – Question Two Write a Python program that does the following: 1. accepts a list of strings 2. converts the string to upper case if the length of the string is greater than 3 characte…
• I need help understanding incremental development. I need to make a function called hypotenuse that returns the length of the hypotenuse of a right triangle given the lengths of the other two legs a…
• Using Python 3.x.    Problem 1:  Using python, program that will calculate the problem and stop after the condition has been met.  a=number of loops (start with zero but will increase by 1 after …
• How to do this assignment . From the test harness and the given output, try to deduce the definition of the Pet class. Code this class in a jupyter notebook and copy the test harness to a cell below. …
• Hangman OOP Redesign your Word guessing game (hangman) to use classes and objects A list of words will be hardcoded in your program, out of which the interpreter will choose 1 random word. The user fi…
• I need to desing a code that will read a CSV file and plot a chart for this data. The CSV can be accesed in the last picture. This is what I have done so far. Help please! FILE_LOCATION = ‘mycsvfile.c…
• Using the graphics library, draw a picture of the side view of a car. Make sure to include two tires, an area for windows and the roof. Include a front and rear bumper as well. Use all of the followin…
• Problem 1 : Invoice Create an invoice worksheet for purchased products of your choosing – see partial example below Include the Items sold and their List Prices of your choosing . A Discount of 5% is…
• I need help creating a simple multiplication table using nested loops and if statements with Python. This source code must prompt the user for the size of the multiplication table (from 2×2 to 10×10)….
• This is a python question. I’ve tried everything and cant seem to solve it. Please if you answer paste the code in the answer box. Everytime I press the run button, the characters wont show a space. T…
• Modify the program provided below 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 dictionary item as …
• I need to help with coding for 12 13 14.   The data will be in  https://drive.google.com/file/d/1WcZadRuKujEVd0eotE4aw-_rNawDNgly/view?usp=sharing   I’ve been updated the link that anyone can acces…
• What does the following statement mean?   num1, num2 = get_num()
• I am having a problem figuring out how to do this. I need to use basic python 3. code1 = [[‘a’, ‘n’],[‘b’, ‘o’],[‘c’, ‘p’],[‘d’, ‘q’], [‘e’, ‘r’],[‘f’, ‘s’],[‘g’, ‘t’],[‘h’, ‘u’], [‘i’, ‘v’],[‘j’, ‘w’…
• I am in beginning level of python and need help. I need help writing a Python program that does the following.  making a string that is a long series of words separated by spaces. make it up yourself…
• Iv’e just made a Bibliography ADT using a binary search tree. and I have Implemented functions addReference and removeReference in the code file. (all keys are unique) To output the bibliography, …
• Could you please help me with this R project. The complete question is combination of 5 questions. 1. The above two strategies both rebalance every 5 days. Try to change the days interval and find the…
• . The input will be a list and the output will be a Boolean. We will write a program that helps check whether there are duplicate elements in the given list numbers. Please note that if the length o…
• Thumbnails Document Outline Attachments Find:PreviousNext Highlight allMatch case Presentation ModeOpenPrintDownloadCurrent ViewGo to First PageGo to Last PageRotate ClockwiseRotate CounterclockwiseEn…
• My goal is to scrape emails and phone numbers against the url: https://www.secdaemons.org/ Is there a simpler way to write my code? Also I cant seem to get it running because I keep getting the error …
• Modules a) Create a file user Functions.py: 1. Copy nameFormat(), createUser(), and printUser() from the problems above into the userFunctions.py file. 2. Modify nameFormat () to accept only two pa…
• Question 6 (1 point) What is missing from the following code? W # print only the odd numbers between 1 and 10 for n in range(10,2): 5 6 print(n) It needs if/else statements to check to see if the numb…
• Compute the maximum of the log-likelihood and find the best-fit values of N and p . Make a plot of the best-fit distribution on top of the histogram from part 3. Comment on your results.
• . ApplicationModule.py Application class should contain the following: o run() method will display the following menu options to the user repetitively until user selects to exit. 1. Add Item 2. Edit…
• Question 18 If we wanted to read a file and only print out lines which started with the prefix &quot;From:&quot;, we could use the string method to select only those lines with the desired prefix: O …
• Debug the following bash script # Prompt the user and get input for NAME and store in a variable. Write this information in a file info. txt # Start read -p &quot;Enter your Name &quot; NAME echo \$NAM…
• With python, im trying to use the openpyxl module to load the ClimateData.xlsx workbook (link below) https://drive.google.com/file/d/1HJtDBPSO7eRCf8Kga-7tltp5eV1gcc7W/view?usp=sharing Im wanting to ge…
• Solve the following recurrences (i.e. find a closed form expression for 𝑛).     𝑇(1)=3  𝑓𝑜𝑟𝑛=1   𝑇(𝑛)=3𝑇(𝑛−1)+6  𝑓𝑜𝑟 𝑛=2,3,4,⋯
• Q3  A bug and a fix Consider the following function: def get_index (lst, x) : ”’ Given a list called lst, returns the index of the first occurrence of x in lst. Returns -1 if x is not in lst. ”’ fo…
• Python 4. Number Analysis Program Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in a list and then display the following data: 1. The lowest…
• py) Write a function del_digits(str1). When called, passing a string as argument str1, your  function should return a new string that’s str1 with all digits 0, 1, …, 9 removed. Finall…
• . 3 . Notice that no spaces should appear between commas and artist names or the colon and the last name of the user and the first artist. Please follow this format very carefully and closely. 3….
• Can anyone help coding this question: Stark is a 10 year old kid and he loves stars. So, he decided every day he will capture a picture of a sky. After doing this for many days he found very interesti…
• Case 1 – Fibonacci series This series begins with two numbers 1,1 – these two numbers are added to continue the series giving rise to the following (only the first 8 terms of the series are shown her…
• Written in Python 3, due by November 3 Given a list of pswd_list, identify which of these passwords are valid passwords and which of these passwords are not valid passwords. Valid passwords should sat…
• In python please. Longest Path Problem The longest path problem is the problem of finding a path of maximum length in a given graph. Solve this problem by using both greedy method and dynamic programm…
• I have noticed that some of our customers have not used our service in 12 months. Is it possible to purge those customers from the system to make room for more? (to answer this question write python s…
• Open an output text file called OlympicVenuesByYear.txt Next, read a CSV file called SummerOlympicsData.csv provided with this assignment. This data file has eight fields – City, Year, Sport, Discipli…
• Problem 8 The file three_musketeers. txt contains the contents of the English translation of &quot;The Three Musketeers&quot; by Alexandre Dumas. Write code to assign one_freq to the number of times t…
• Add, Subtract, Multiply and Divide 1. Creat a 4 element NumPy array named C1 with values [4, 8, 5, 9]. 2. Creat a 4 element NumPy array named C2 with values [7, 13, 12, 20]. 3. Print the contents of C…
• A records consists of multiple Group of answer choices fields   files   secondary keys   None of the above
• I want to complete the code for a decision tree. There are three parts missing code I would really appreciate if you can help me with the coding;   Each node, except the leafs, asks a question about …
• from sklearn.datasets import fetch_openml import numpy as np mnist = fetch_openml(‘mnist_784’, version = 1) X = mnist[‘data’] y = mnist[‘target’] y = y.astype(np.uint8)   # each X represents a flatte…
• def master_yoda(string): “””Given a sentence, return a sentence with the words reversed. This function takes a string and returns a string with the words (separated by a space) reversed. You may *not*…
• . from Walk import Walk from Graph import Graph import sys sys . setrecursionlimit(100000) class Euler (Graph) : COPYRIGHT SOPHIE QUIGLEY 2022 THIS FILE IS NOT TO BE CIRCULATED, OR POSTED WITHOUT TH…
• # For your first assignment this semester in PRG550, you are required # write a standalone text-based Python program that allows players # to play the classic board game “BattleShip”! Requirements: # …
• 19 LAB: Max magnitude   Write a function max_magnitude() with three integer parameters that returns the largest magnitude value. Use the function in the main program that takes three integer inputs…
• 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 each temperature in the array should be con…
• # 10 pts – Print all transactions contained by this block def display transactions ( self ) : pass
• How do I write a program where the user of the program will input a string and initialize a list of positions. Assuming that the positions will either be 0 or positive integers. The program must outpu…
• Thank you…… 6.1 (5 pts) Section 3.2 discusses how to use the range function with a loop so that you can cause a variable to take on a sequence of values—the sample code illustrates this by print…
• The Navy is upgrading its submarines to take advantage of commercial off-the-shelf (COTS) components. The sonar system analog-to-digital (A/D) converter is one of the key systems targeted for moderniz…
• What is HTTP and HTTPS? What is a URL? Is an URL different from an URI, if so how? What is a Request and a Response?
• I have a CSV file that contains two columns: the first is a student’s name and the second is a semicolon (;) separated list of student’s test scores. (The first line of the CSV file is the header.) I …
• Need help coding. 1. Your input is a list of list of numbers. Write a function f{x|st, n} that returns the lists whose length is greater than n. It xlst = [[1,2,3],[1,2],[1,2,3,4],[1]] then: 1 print{f…
• Overview Write a program using data structures, functions and reading data from a file to simulate a preferential voting system. Reminders Your code must be done individually. Your code will be graded…
• Read the csv file with addresses, geocode each address, and output the result to a file named “geocode10.csv” using GeoPy – Nominatim geocoding service. Name Address City State ZIP Empire State Buildi…
• Can someone explain what this code does line by line?. 8 def reverse while_loop(s) : string 10 length = len(s) – 1 11 12 while length &gt;= 0: 13 string = string + s[length] 14 length = length – 1 15 …
• I have been struggling with this question for some time now. I think the answer is C…Can you tell me if this is correct and explain it more? Thanks! What is wrong with the following code? def grade(…
• I need help figuring out the values that are in the picture from this list. challenge3 = [56, 69, -2, 31, -54, -40, -82, 23, 43, -82, 51, -97, -113, -138, -16, -113, -42, -41, 18, 34, 57, -42, -47, 68…
• What is the printout of the following pseudocode? Set count to 1 Set product to 1 WHILE ( count &lt; 5) Set product to product * count Set count to count + 1 END WHILE Display &quot;Product is &quot; …
• I have a program that gets the postition of images and puts them into a list. But the thing is it adds almost the same value and i need a way of removing items that are close together (+-1). The list …
• I need help with what i’m missing. The objective of this lab exercise is to give you practice in programming with one of Python’s most widely used “container” data types — the  List  (commonly call…
• When referencing the first index value within a list, in reference to the last element’s position, what index do you begin with?
• Product recommendation (inferred conditions) We will implement a basic machine learning functionality: based on simple binary user feedback on individual products (“like”/”dislike”), our search engine…
• But now the years are numbers and not text strings. Adjust the function merge(A, B, sep) to merge a list of text strings A with a list of numbers B using a separator sep! you to parse the two lists p…
• Please improve script. This is supposed to ping each host twice in a subnet and only print those that are active.   import os network = input (“Enter first 3 numbers of IP network, e.g. 1.2.3: “) pri…
• Hi, Below is my coding generates Name Error. What is the right code? How should I use the Test code as reference to solve the issue? Thanks. Exercise 3 (strcat_list_test: 2 points). Complete the follo…
• The application should provide the sum of all sales totals for each entered department and output the totals. The application should also end and display the total when the user enters “none” for the …
• Given main.py and a Node class in Node.py, complete the LinkedList class (a linked list of nodes) in LinkedList.py by writing the insert_in_ascending_order() method that inserts a new Node into the Li…
• Suppose that the volume of the lung is 𝑉 litres, the amount breathed in and out is 𝑊 litres, and the ambient concentration of a chemical is 𝛼 (mmol/L) . Then the concentration after nth breat…
• Crate a module currency, which includes the following three functions that do currency conversions: to_euro (dollar ): This function receives US Dollar as an argument and converts it to Euro. 1 US Do…
• ####### YOUR CODE HERE ###### #Print out if the user’s item is in the backpack ####### YOUR CODE HERE ######
• x  =  2  y  =  3   def  add (  x  =  10  , y  =  20  )        return  x +  y    z  =  add (  y  =  x  )   what Is the value of z?     Consider the following and cal…
• Given Code: #Create a class called Ticket. Ticket should have three #attributes (instance variables): section, row, and seat. #Make sure the variable names match those words. section #and seat will bo…
• Complete the three programming tasks listed below. Have each in a different .py file. Task #1: Write a program that reads a Celsius degree in a double value from the console, then converts it to Fahre…
• . QUESTIONS 1. Write a script that will: a. Create an output file named test.txt using the w+ mode (w+ means we will first write to the file then read from it). The file should be created in the sam…
• and that is my code: db = {}  # an empty dictionary while True:     print(“””     1.    Prompt user to enter a student info     2.    Print out all the students info     3.    Compute t…
• 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…
• Create a Program that displays repeatedly a menu as shown in the sample run  below. The user will enter 1, 2, 3, 4 or 5 for choosing an addition, substation,  multiplication, division or exit respec…
• when i run this program it’s continue take input. what’s wrong. and send me correct code please
• a=21,b=7.please get the values of a + b, a*b,a/b,a%b,c=a//b and c=a**b respectively
• Use the Zelle graphics.py library, Python code covered in this course and data structures covered in this course to solve the following problem: Billys’s Bagels is a new ‘bagel-sandwiches-to-go’ estab…
• Hello, I am part of a Foundations of Programming class (python) and I’m having a lot of difficulty with this problem. We are working on f-strings. Could you lead me in the right direction please if po…
• Does anyone know how to fix the Hitboxes in my current code for these characters in Pygame? I don’t know how to fix it! I’d like the main character, my christmas tree I created out of shapes, to be ab…
• The program is in python. You need to write a program that prints monthly paycheck for an employee. The program should read the name and salary (hourly rates), as well as the total number of hours wor…
• In number theory, two integers a and b are said to be coprime if the only positive integer that divides both of them is 1.
• I need help with my code. I am doing a hackerrank exercise and the first test case keeps failing. def nbindings(s, t):    complement_length=len(t)     count=0    if(t[0]==”T”):        for i…
• Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Example: #!/usr/bin/en…
• Rstudio Please advise on how to create separate functions that analyze, and plot various metrics related to Covid- 19 between March 2021-August 2021: -State cases per day -State deaths per day -Nation…
• . Create a program that: a. creates a constant dictionary with keys for the characters ‘1234567890-.’ and values that represent these characters as words. . For the decimal point, use ‘point’ as the…
• write function def Infix2Postfix(Infix): 1. Input: Infix is a string of logical operators (Table 1) and alphabet characters from “A” to “Z” express a logic expession.     2. output: Postfix is a str…
• For all programs going forward, whenever you print something, make sure it has a label. Create a program called Lab5A1 that will do the following: • Read a set of integers from the text file, Lab5A1…
• Hey, if anyone can help me get a solution to this problem using the blocks (from the drag from here box) would be amazing!!  . Problem Statement Write a function label_multiplier that mutates the tre…
• Consider the implementation of an unordered list posted on BlackBoard: Please add the following method as a part of the UnorderedList class definition: •print_list: the method prints the elements of…
• convert newton’s method for approximating square roots in project 1 to a recursive function named newton . ( hint : the estimate of the square root should be passed as a second argument to the functio…
• Need help not sure what I am missing to make this run. Also trying to make it so it deals with invalid inputs. Using VScode         def main():     months = [“January”, “February”, “March”, “Apr…
• When I ran this is the Python program, it is saying, “SyntaxError: multiple statements found while compiling a single statement.” Do you know why it is saying this? a = int(input(“Enter First Integer…
• in Python. I need some help in finding out the difference between a chained conditional and a nested conditional. Can you please give an example of each? I have leaned that the deeply nested condition…
• Complete the function  second_half_lower , this function will receive a string as input and must return the second half of the string in upper case. For example: Test Result print(second_half_upper(“…
• I am having trouble writing a function called  display_dice(die1, die2, die3)  that takes the three dice values as parameters and displays them to the screen in the format seen below (attached imag…
• I have this dictionary: {‘bedframe’: (‘150’, ‘B071JGCBH8\n’), ‘box’: (‘5’, ‘B07JH5Q1JF\n’), ‘calculator’: (’40’, ‘B003822IRA\n’), ‘playstation’: (‘299’, ‘B01LOP8EZC’)} How would i be able to access th…
• Write a program that takes the following numbers as input, and outputs the average and max. Input: 15 20 0 5 Output: 2. Sort short names in alphabetic order. short names = [ ‘Jen’, ‘Sal’, ‘Al’, ‘T…
• Given a number n , for each integer i  in the range from 1  to n  inclusive, print one value per line as follows:   If  i  is a multiple of both  3  and  5 , print  FizzBuzz . If  i  is a …
• Direction: Identify whether the following identifiers are VALID or INVALID.. Direction: Identify whether the following identifiers are VALID or INVALID. Indentifie Valid or Invalid 1. Phone# 2. Monthl…
• Write function that given a lists of number calculate and print the mean and standard deviation of the numbers but round the value to the nearest integer. Not allowed to use mean and standard deviatio…
• Take any value as a sample, i will change later on.. Write a python script to do the following tasks. Attach the python script as well as the screen shot of your execution. Before create/remove any di…
• Develop a function findFifthBiggest(array) that returns the fifth biggest element of the array. For example, if the array is [120, 7, 8, 6, 4, 89, 5, 12, 1], then the result should be: 7. You can …
• Stage 1: Data Entry Write a program which requests that the user enters aname for the product, year purchased, name of the person using the product, and where it is being kept. Store that data in a Li…
• Compute the acceleration of gravity for a given distance from the earth’s center, dist_center, assigning the result to accel_gravity. The expression for the acceleration of gravity is:  (G * M) / (d?…
• Solve the following Question Using Inheritance And Without Using (LIST). Incorporate the Built-In functions  and Incorporate the Format function in your code. Make a Person Class that: Accepts First …
• (3 pts) Write a program that computes the number of denomination notes (as bigger as possible) required to be dispensed by an ATM machine for an amount to be paid to a customer. Denominations paid are…
• You have 3 non-empty Stacks, A, B and C. Compose a function add_to_stack (A, B, C) which  places the elements of stack B onto the stack of A, keeping the elements from stack B in the  correct order….
• HELP ME. NO CHEGG Im receiving the following error for the code below: farthest_unlawful_possession_of_handgun_crime_map = folium.Map( location =(41.8781, -87.6298),zoom_start=11) folium.Choropleth(ge…
• Solve the following problem in python. Make separate file for it.           Problems Description:  The following tasks need to be solved using Shortest path algorithms.In graph theory, the short…
• . Problem 3. (5 + 7 + 8 + 5 = 25 points) What’s in a query? If the query cannot be broken down into words, then your solution should return an empty list. The space bar on Amit’s smart phone is anno…
• Peaches! is a guessing game you can play with the computer. The computer will choose a random 3-digit number (no repeating digits!), and you will have to try and guess what the number is. After each g…
• . Create a python program that creates a file named HAL-9000.txt and writes the following text to it: Hello Doctor Name Continue Yesterday Tomorrow There are SIX lines of text, no more, no less. …
• Define a function to analyze a dataset using pandas The dataset “emotion.csv” contains a number of text and ten types of sentiment scores. Define a function named emotion_analysis to do the follows: R…
• Code a Python program to process a data file containing a collection of daily temperatures in Celsius(use random values, range : 0-100, store data in a list). Your program should print the number of h…
• Description: Krannert Specialty Motors is a unique auto dealer that sells both brand new and “lovingly driven” high-end automobiles.  Shipment check-in is an important part of the business operations…
• 1  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 …
• Develop the following simple program using Test Driven Development Meaning, write the tests FIRST and then write the classes In other words, for example: Write a test that creates a new Rectangle with…
• Task 5: Write a function that simulates the above BB84 protocol “numTrials” time. In the skeleton code, AlicePrepare() is already written for you. Take a look at it to see how it works. You will need …
• After your successful development of the reward points and discount calculator, R4S has decided to further employ you to develop an additional system for storing and retrieving customer details. This …
• At first I calculated the BMI score using a text string, from classification BMI range: Underweight less than 18.5 Healthy 18.5 to just under 25.0 Overweight 25.0 to just under 30.0 Obese 30.0 and abo…
• ~GC 202 inloose 3. Write a Python function that takes as a parameter a list, v. Using a while loop, it should list. count and return the number of values in v that are greater than the previous value …
• A problem you are trying to solve has two Python sets A and B as seen in the starter code below.  • Set A: multiples of 2 between 1 and 20.  • Set B: multiples of 5 between 1 and 20.  You have …
• 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…
• AVL Tree Implementation: RESTRICTIONS: You are not allowed to use ANY built-in Python data structures and/or their methods. In case you need ‘helper’ data structures in your solution, skeleton code in…
• This question is about Block 2 Part 5. This question requires you to calculate values using Python functions. There are two approaches you can use. Add suitable code to the provided file, then run it…
• Using python loop. Enter an integer ( the input ends if it is -1) : 5 Enter an integer ( the input ends if it is -1) : 7 Enter an integer ( the input ends if it is -1) : 8 Enter an integer ( the input…
• in this assignment, you will develop a simple graphical simulation that analyzes how forest fires spread and how forests regrow after fires. Each time step of the simulation represents one day. On eac…
• What is an iterator? Give two examples of iterators.
• What would the Python commands be to have a string called errstr that says e.g. “The error is 0.0017”, but where the number 0.0017 is actually the value of a variable called myerror. The display of my…
• Create an object from a class for each name and age that the user enters by storing the full name and age in an object and then saving that object to a list. When the user does not want to enter more …
• 4 Bonus: Uniform Distributed Random Number Gen- erator (20pt) You can not use any random number generators in packages like Numpy, because you are required to build your own generator in this question…
• How to create a 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 …
• Use a for loop to make 10 random numbers between 20 and 30 and store them in a variable  numList  . ( Hint: use  numList.append(number) , where  number  is a  randomint  between 20 and 30 )…
• Please answer the following question and make sure all the answer are unique. ( No COPY AND PAST FROM ANY OTHER SOURCE AND WILL REPORT COPY FROM ANY OTHER SOURCES THANKS) Complete this in Python Langu…
• Question: You as ML expert have to do analysis and modeling to predict number of shares of an article given the input parameters. Domain – Social Media FOCUS -PREDICT NO.OF SHARES OF AN ARTICLE BUSINE…
• Answer and Explanation for each question is needed, Thanks for your help 1. Which of the following is a Python tuple? a) [1, 2, 3] b) (1, 2, 3) c) {1, 2, 3} d) {} 2. Suppose t = (1, 2, 4, 3), which of…
• With the help of Python’s panda, create a program that can read in the same titanic.csv file and find the proportion of passengers surviving for each year of age, properly rounding to whole years only…
• Basic Python, assume import numpy as np a) Write Python to create a tuple maned Tup containing elements 2.1,3,1,4.1 b) What is the fundamental difference between a tuple and a list? c) Exactly what…
• I have an assignment. The code is meant to convert a document containing numbers to 2D list
• How do I make this code make sure user input is 4 UNIQUE integers? def main ():     guess = input ( ‘Enter your guess. Numbers seperated by a space: ‘ )     x = guess.split()     if len (x) == 4…
• What will be the output after the following statements? m = 28 n = 5 print(m // n)
• Write a Python program to check whether a string represent an integer or not.    Example:    Please enter a string: Python # this is user input    This is not an integer. 2. Write a Python f…
• 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…
• Try to write class definition for the Circle class. The class has two instance variables, center and radius. Note that the center is a tuple and contains two values – the x and y values. Use data mang…
• write a program in python which consists of a class Zakat and consists of two data members Ownername and Totalamount , the class should also consist of three constructors i.e. default constructor, one…
• PYTHON PROGRAMMING Please attach a picture of your source code and its proper run after compilation for the following questions. Thanks
• Thanks for the help with the image Also if i may just a question around the removal of HTML Tags (any text between a ‘&lt;’ character and a ‘&gt;’ character ) and JavaScript code (any text that is be…
• Write a Python program to produce a report from an input text file with records (lines) ordered by brand name. Input: shoeFile ( “shoe.txt” ) The comma-separated record fields are brand, model and pri…
• THE CONTENT I AM POSTING HERE IS ONLY ONE QUESTION BUT A PRETTY BIG ONE. i CAN GET THE VERY FIRST PART BUT CAN NOT THE REST OF MY ASSIGNMENT. IF SOMEONE CAN GIVE ME A NICE EXAMPLE OF HOW TO DO THIS ON…
• I’m practicing pandas and I got stuck on a question.   Using the data, I need to find the average balance for white collar and blue collar in England.   This is my code and the result but it shows n…
• [Draw lines using the arrow keys] Write a program that draws line segments using the arrow keys. The line starts from the center of the frame and draws toward east, north, west, or south when the R…
• 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…
• using python. Note : you pick the appropriate parameters in these problems. 1. Let X1,… , X., be iid with population distribution N(/, 1) (so we assumed the population variance is known here) (you c…
• Given the data x: 1.2 1.4 2.1 2.5 y: -3.112 -3.016 -0.349 3.375 Using Python calculate the second-derivative f”(2). Please provide the code.
• testDNA File  &gt;Protein1 TCAAAGGCAGCCATATCATCGTGCCGCGGATGTTTGCGGGCGAGCACAAGGTGGCCTTCATCCTTCAAAATCCCG &gt;Protein2 AGCAAGGCAGCCATATCAAAGGCAGCCAAGTGGGATGTTTGCGGGCGAGCACGCCTTCATCCTTCAAAATCGAGA &gt;Pro…
• ***How to write the code below?*** This program extends the earlier “Online shopping cart” program. (1) Extend the ItemToPurchase class to contain a new attribute. item_description (string) – Set to “…
• I need help with my code. I’m trying to use regex in python to run through each line of code token by token using the re.match() function and it has to print the token in order. For example, if(cresul…
• Exercise 5 (2 points): Now that we have our maps, we can convert our dataframes to coordinate (COO) sparse matrices. Suppose you are given the following inputs: df, an input dataframe with three colum…
• def backwards_alphabet(curr_letter):    if curr_letter == ‘a’:        print(curr_letter)    else:        print(curr_letter)        prev_letter = chr(ord(curr_letter) – 1)        ba…
• Function (requestColors) that asks the user for the name of two primary colors (the primary colors are: red, blue and yellow).   2) Function (mixColors) that displays the following messages accord…
• Can you explain the concept of a confidence interval and how it is connected with the p-value cutoff?
• We know that the probability of rainy days in the month of October is 0.12452. construct a Python program to construct a PMF of the binomial distribution of this data. construct the appropriate ti…
• I need help creating a simple multiplication table using nested loops and if statements with Python. This source code must prompt the user for the size of the multiplication table (from 2×2 to 10×10)….
• My Project 16-1 (Python): Blackjack is working I just need to add the below part where it prints out:   YOUR POINTS:  DEALER’S POINTS:      My Code: import random import sys name_of_card = { 1: ‘…
• Finding Probabilities After a long day of class, Clay decides to go to Crossroads for dinner. Today’s menu has Clay’s four favorite foods: enchiladas, hamburgers, pizza, and spaghetti. However, eac…
• Can I get the True and False ASAP no explanation needed plz. You are working with a custom LinkedList implementation where each Node contains an item of Any type, a next link referencing the following…
• How would a column-major traversal of a grid work?    python
• Create a home inventory class that will be used by a National Builder to maintain inventory of available houses in the country.  The following attributes should be present in your home class: private…
• A simple sales tax calculator. Write a Python program that: 1. Prompts the user for his name. 2. Displays a welcome message using his name. 3. Prompts the price of an item. 4. Computes the sales tax t…
• Can you make a flowchart of this code above, please?. def PackageCharge (weight) : rate per pound = 0 if (weight &lt;= 2) : rate per pound = weight * 1.10 elif (weight &gt; 2 and weight &lt;= 6) : rat…
• Hi, I need a code in python for the inferred conditions function.
• hi, Please help to find standard deviation and mean and variance of a function f(x) = x/3 over [-6,6]. and plotting. Thanks
• . Feel free to import any standard Python libraries you need as far as output and input of functions meet the requirement. Use the provided template to implement the functions. . You must name your fi…
• Install scikit-learn, import the LinearRegression function from the linear_model module and return the docstring of the LinearRegression function¶ In the first cell install the scikit-learn library a…
• The question is complete, please dont say incomplete questions. Why boolean operator “and” doesn’t work in python for for me? for ex: 1 and 2 outputs 2 for me, which is 0 actually. Please help me.
• Make line plot of sin(x) and cos(x + π/2) for -2π &lt; x &lt; 2π where x increases at intervals of π/4. Make the sin(x) graph red and make the cos(x+π/2) graph green Put both lines onto the same …
• Use python programming language to write a program that computes the sentiments of each of the 100 reviews. You will find a zipped file containing 100 reviews from Yelp. There are several ways to do t…
• Hi, I run the IDEL python code is fine, but when I put it in the Visual Studio, it didn’t work, anyone know how to solve it?
• Hello, I need help with Part C. I am unsure how objects with attributes work. Bellow is my code to Part B for reference. Thank you! Here is my code to Part B for reference:   class turbines:   def _…
• Please answer this question. Thank you. 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…
• 911 Calls focus-data analysis and visualization overview: Congratulations!!!! for making it so far. This is the capstone project for Python Programming Course and here we will use all the concepts lea…
• Your boss emails you and has asked you to prepare some maps for an important upcoming meeting. Your boss’ colleague has provided some raster data for two different time periods. Your boss would like y…
• Can someone help me update my code please? Instruction:  1. (50 points) Update your web site to include a password update form and provide additional validation on the password check. Specifically yo…
• Could you please solve this Exercise? What is the Code required to pass?. Exercise 5 (3 points). Complete the function, find_rank(rel_err_target, Sigma) , below. It should take as input the singular v…
• Dataset: Census Income  Source: https://archive.ics.uci.edu/ml/datasets/Adult
• Having an issue getting my code to run correctly.   Project 14-3: Customer Viewer  Create an object-oriented program that reads a list of Customer objects from a CSV file and allows the user to ente…
• . [12} Mr. Tariq Al—Nasri owns a tools design industry in which they are making tools of various shapes. As soon as the order is received, the designer enters the details of the order which …
• Employee Page a. Please define a function that asks the user to get the employees’ information and add that to the list. Whenever the user enters “NO” it will finish getting the employees’ information…
• I need assistance with Python Coding for Finance. I need to complete the Monte Carlo Simulation using Euler Discretization. There are a total of 8 questions or codes I need to write. It is due in two …
• Capture a five-digit US zip code (could be any) as a user input. Print a numbered list in which you use the OpenWeather API to answer the following questions related to the user-specified location.  …
• Create 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…
• The final project contains two parts. The part I of the final project is mandatory for everyone. The objective of this part is for you to write program that simulates the  emergence  behavior in a t…
• Given Code:   #Write a function called most_active. most_active should take #one parameter, a dictionary. The dictionary’s keys will all #be strings representing people’s names. The dictionary’s #val…
• Given two words (start and end), and a dictionary, find the shortest transformation sequence from start to end, such that: Only one letter can be changed at a time Each intermediate word must exist in…
• Data set: Boston Create regression model for MEDV / PTRATIO and display a chart showing the regression line using matplotlib with a backdrop of a scatter plot of MEDV and PTRATIO from exercise06 Use n…
• Need help with this python assignment  Link to the assignment- https://docs.google.com/document/d/1DSurzbabw8pLbcifv6vCohtosBEYnmzKW22bzxwfFTQ/edit?usp=sharing
• Hi, so for my project, I need to design a media lab with different resources, using 3 pieces of code. I am having trouble for the first question, of option 0 and 1, and a tutorial of how to go incorpo…
• Wri te a simple program that outputs a word to the screen according to user input. In particular, the output is shifted to the left or right if the user enters `l’ or `r’, respectively. Your program s…
• Help needed thanks with this    . Lab 7 – Web Scrapers and Spiders v Hide Assignment Information Inst ruction 5 After reading the materials from this week’s topic. research online and find at least …
• Multiple Choice (select one): Which of the following if conditions requires both a to be larger than 10 and b larger than 150? a. if a &gt; 10 or b &gt; 150: b. if a &gt; 10 and b &gt; 150 c. if a…
• 1-&quot; C:\W|NDOWS\py.exe Specifications . Assume the user will enter valid data (Integer/Float). . Declare Global variables, Local variables and Global constants as needed in the program . Write a…
• Please help me out. This is a python quesiton. A function is about movie popularity ranking. (in the csv file, 1means like, 0 means havn’t watch, -1 means dislike) Assuming that people have liked movi…
• . Input Format A single line containing space-separated elements of path Constraints nil Output Format Print the string resolvedpath Sample Input 0 usr . . usr . local Sample Output 0 /usr/ local/
• . Question 3 This question requires you to solve computational problems using structured programming. Use the functions randrange and the built-in function, round in your implementation. random rand…
• # —————————————————————- # Author: # Date: # # This program creates a class registration system. It allows # students to add courses, drop courses and list co…
• . Homogeneous Transformations of an object using pycairo and numpy Instructions: First. I have reviewed the tools that are needed to do the project. The project description starts on page 4. U…
• Use python to implement Binomial Probability Sums. Program should include a user-defined function that should compute Binomial Probability Sums and should plot the corresponding graph. It should consi…
• Please read it carefully and do, as they said PSP_Assignment_2_202003.pdf X Course Hero X . New tab x + X O https://moodle-saibt.axis.navitas.com/pluginfile.php/254371/mod_resource/content/0/PSP_Assig…
• how to write the Python program to compute the solutions(roots or zeros) of a given quadratic equation, A  x 2  + B  x  + C = 0, where A, B, C are integers. As you know, the formula to s…
• Need In Python &lt; &gt; vle.phoenix.edu Facebook (1) Jeff Sessions rips China: We need to reset our relationship – YouTube ( ) eCampus: Home View Assessment Wk 2 – Using Loops in Python – Google Sear…
• so i need help coding in python…. i have broken it down to steps and have already assigned variables. Steps User will input a given strain within the data range of 0 &lt; x &lt; 0.27. Stress and the…
• Build a program to read data stored in “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.?…
• For this assignment, you will complete a random Name and History generator for use in our game. Store this in PlayerGenerator.py I will be checking the following when grading your assignment: Are the …
• Need help  . Use pandas to split the age ranges into a dataframe and make the following boxplot. ages = pd. Series ([&quot;10-25&quot;, &quot;10-25&quot;, &quot;26-35&quot;, &quot;56-85&quot;, &quot;…
• Loading Expressions The Gocargo are automating their testing works of the logistics wing too. They have planned to test if the container loading works correctly or not. Given the process involved in l…
• solve this please just using loops 1. Shape Compose a program trianglopy that reads a positive integer n from the never {nuke sure it is positive Le. repeat asking for it as long as it is negative)…
• Each problem below must be solved using at least one function.  Log file is located in the comments   1. Which node had the most “failed payment” records? Display the node and number of records in t…
• Hi,after fixing all the indentation and syntax problem in this code above,my questions is what kind of sorting algorithm can this code be? Because I can tell it’s a bubble sort algorithm as  I hav…
• Programming Assignment: Homework 3 – Join &amp; Filter Movie &amp; Ratings Data. NameError: name ‘director_with_most’ is not defined [ ] : &quot; &quot; &quot;Q5 : Save all of this director’s movies a…
• Please solve this problem with an executable code. Thank you. Please solve this problem with Rstudio language Once you copy and paste the 2 links in this question, it will take you to the Excel sheet….
• Define a class Student. It should have a private class-level attribute numStudents initialized to zero. Write the constructor for this class. It should have two private attributes, name and GPA. …
• anyone help with sequence diagram? It is the most basic app. It has a home screen to go to the location screen. On the location screen user will click a link to show them their Longitude and Latitude….
• I need this pseudo-code in python-format using this code    . 4. Use one if-elif-else structure to handle the LED/RGBLED functionality without using compound logical statements (and/or keywords). Co…
• I have read a csv file into Python as df and saved it as a new data frame called Master_Clean. The csv file contains information about job listings. I’ve attached a screenshot of part of the csv file …
• Display an appropriate message if the variable, owing contains a number representing at least 100 dollars owing and a different message if it doesn’t.
• hi i need help with pseudocode and flowchart Objective To develop a Menu for Computer Shop and payment system using Python. The application allows users to online order computer. Customer can view lis…
• Looking for help with assignment 3 so I can identify issues with my own code get a better understanding and then write the code myself after. the assignment questions are listed below: page 1 page 2 p…
• could you help me???could you help me???could you help me???could you help me???could you help me??? 3 questions Define a function named volume_ ideal gas . It consumes 3 arguments pressure , num_ mol…
• Can you explain what is the benefit of using convolutional NN  with reference to NN, e.g how does it use less parameters as compared to NN and what is concept of weight sharing in convlutional nn.
• I have read a csv file into Python as df and saved it as a new data frame called Master_Clean. The csv file contains information about job listings. I’ve attached a screenshot of part of the csv file …
• Among the many data sets used in climate change research, the Sea Ice Index, or the area covered by sea ice in the northern hemisphere shows particularly marked changes. There are seasonal variations …
• For question 1.2, I’m not sure why this code is not generating an output? What should I add to fix it? &lt; &gt; hub.ydata123.org Gmail Facebook Quora YouTube Canvas hw05 hw05_solutions.pdf – hw05 4)0…
• so this code is in the split method, how would I re write it in the find/in/endswith method. def isEmailValid(mail):     boolean = 0     x = m..”@”)[0].count(“.”)     if “@” not in mail or x&gt;…
• Write program code that prints only one value — the smallest power of 3 between 1000 and 1000000.   HINT: One of the earlier multiple-choice questions provides a relevant guideline. IMPORTANT NOT…
• Programming Project 5                                           Due Date and Time:___________ You will use your previous programming project as a starting po…
• My question: How to change my ContactList __str__ method to return a value error if wrong. I thought I understood how, but I was wrong. I feel like it should be simple, but I could be wrong like I was…
• Write a program which reads in text from the keyboard until an exclamation mark (‘!’) is found. (Note that the exclamation mark might not be on the first line of input. It might be many lines down!)…
• What method is called just before an object is instantiated? del init create
• The Final Project for this course is an accumulation of previous weeks’ assignments in which you will utilize all of the skills you have acquired in this course to develop an employee management syste…
• A function called clean_one. The function takes as input two strings: the file name for a file to be read (input_filename), and file name for a file to be written (output_filename) respectively. The f…
• I need for the class record and recordmap made as soon as possible IN PYTHON
• code a program in  Python , that reads a CSV-export of your chosen original data-file and applies the process that your  Flatten column headers Reshape data from wide to long format Remove metadat…
• Create a program that computes the average of values that are entered by the user.  The user can enter as many numbers as desired.  The user will end the program by entering the letter q. After the …
• Which of the following command is not used to show or run commands among the commands that you used previously?   A. history     B. [100]     C. fc -l     D. !10
• Link: https://www.dell.com/community/Inspiron/bd-p/Inspiron I need to Scrape all questions from the first five pages for the Inspiron sub-community. Find discussion title, author of the question, time…
• Problem 1: an array that contains the days of the week. days_of_the_week = [“Monday” , “Tuesday” , “Wednesday” , “Thursday” , “Friday” , “Saturday” , “Sunday”] print (days_of_the_week) Output- [“Monda…
• My question: Three variables , x, y and z, supposedly hold strings of digits, suitable for converting to integers. Write code that converts these to integers and print the sum of these three integers….
• . Question 1 Please calculate each of the circuit parameters for the provided circuit. RT(0) = IS(A)= I1(A)= 12(A)= V1(V)= V2(V)= PR1 (W)= PR2(W)= PR3(W)= Is + V1 – R1 50 11 + SR2 12 150 V2 E –
• would you please tell me how to do this questions and what code is it on this question. Thank you   . . Code to calculate an and bn : 5 marks . Summation Implementation: 25 marks . Testing: You have…
• Need help calling 2 different function in python code. the user gets to pick which function is called. and the same function can’t be called twice, with the function that was not called being able to …
• write a single expression/statement that refers to the specified variables   Suppose that we have assigned s1 = ‘-‘ and s2 = ‘+’ . Write an expression that refers to the variables s1 and s2 and that …
• How do i return 0 in python Like in Java, we can write  if(n==0){     return } but how can I write in python like this: if(n==0): return none
• A program that takes a string from the user and then print a new string by changing lowercase letters to uppercase letters and uppercase letters to lowercase letters using string Class
• 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…
• Due in 3 hours. Write code that asks the user for numbers until they say stop Store those numbers in a list (the number 0 is a viable input here) Loop over the numbers and print them out one at a time…
• problem_1_data:. In the attached file, problem_1_data. csv, you’ll find 1000 unlabelled two-dimensional points (Fig. I below). Select only one value for k from the set {2, 3, 4,5, 6} and: 1. Cluster t…
• . This program will output a right triangle based on user specified height triangle_height and symbol triangle_char. (1) The given program outputs a fixed-height triangle using a * character. Modify…
• make a Raptor flowchart for the programming problem described below. Attach your Raptor file when you are done: Stadium Seating There are three seating categories at a stadium. For a tennis match, Cla…
• Welcome to the programming assessment for this unit. By completing this assessment you will: develop one or more algorithms that are used to perform specific software functions understand how a large …
• How to make this code works on my PC? Can you please right me down the steps to do to get the correct output? Question: Need a final program that meets the requirements outlined below. Create an autom…
• Write a Python program does all the following steps: a. Prompt users, as shown in the example below, to enter a three‐digit whole number such that the digits are in ascending order and without dupli…
• Hongchang WangSpring 2020 MIS 6382JSOM, UTDDue by 11:55 pm 05/06/20201MIS 6382Object Oriented Programming in PythonSpring 2020Final ExamThe following guidelines should be followed and will be used to …
• I need to write a final for my software development class that meets these requirements. The theme for the final is joining a swim team or anyone interested in joining a swim team. I have tried to wri…
• It’s a merge sort code, and I want to make a code that shows the process as a result as follows. Either Output 1 or Output 2 is fine. def merge_sort (a) : if len(a) &lt;= 1 : return a left = merge_sor…
• Assignment Please, open the following link.. https://drive.google.com/drive/folders/10rYn96dfX9toFqY96wepWTsXdfeIDg-z?usp=sharing   Find the question in the pdf document: Assignment – Project Transve…
• Write a single statement that assigns avg_sales with the average of num_sales1, num_sales2, and num_sales3. Sample output with inputs: 3 4 8Average sales: 5.00
• Write a python script called todo.py that will prompt the user for tasks to add to their todo list. It will keep prompting them (and adding their responses) until the enter an empty response (by hitti…
• Describe and justify Dijkstra’s algorithm for finding the shortest path between two vertices in a directed graph with non-negative lengths associated with its edges. For the case where the nodes repre…
• Before beginning this milestone, it is important to understand the required functionality for this simplified version of the game. The game should prompt the player to enter commands to either move…
• Write python program that estimates the number of unique words in the text file (/users/qer/ources/urantia.txt)
• Using Python, Juypter Notebooks   The instructions  . Digital Real Estate X M Week 8 | Project 4 X DDE Project 04 Instruc X My Drive – Google X Course Hero X C Using Python, Juy X M Chegg.com – 2nd …
• investigate how well GA performs on one particular problem, the packing of 3 aid trucks to cyclone ravaged Darwin. In the classes supplied there is a list of items that will be loaded onto the 3 truck…
• I have to define this function without any loops. I have to use recursion. I’ve tried this and a lot of my test cases are failing (I have to run it through a tester). How would I go about this? Global…
• Can you explain for me why is it xrange instead of range only. 7. Problem 2. Implement Sage functions that perform affine cipher Encryption / Decryption, given a key that consists of a pair of integer…
• How to write a Python program that calculates the average sales of three sales.
• Do I have to fill the blank bracket in summary_list = []? Somehow the answer for that program to run confuse me.
• Please answer any two problems and submit .py files as well screenshot of the output Problem 1: IngredientAdjuster A cookie recipe calls for the following ingredients: • 1.5 cups of sugar • 1 cup …
• PYTHON A car rental company has three types of cars for customers to choose. SUV: \$55 per day for first 7 days. \$47 per day starting from the 8th day. Minivan: \$49 per day for first 7 days. \$42 per …
• https://www.dropbox.com/s/dvfrj6lxjjs5v1r/owid-covid-data.csv?dl=0 –&gt; csv file. assignment1_notebook.ipynb EXPLORER . .. XJ Get Started assignment1_notebook.ipynb X E owid-covid-data.csv OPEN EDIT…
• Python program that uses a recursive function named NumFactors() to print all the factors of an integer number that is entered by the use into the main program. Required:  Screenshot of the pfxxxxx…
• In regard to  Problem3 , what would happen if the random generator was random.randrange(1)?
• 28 Write pseudocode for cleaning your room using at least five steps.
• 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…
• Can you explain what happens in django in a standard form view, what happens if a POST request is received?
• “”” takes as inputs two lists of numbers, vals1 and vals2, and that uses     recursion to construct and return a new list in which each element is the     sum of the elements at the correspondin…
• 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…
• Computer Science using puthon 3+ amd based excel.csv file above write a program that will print out the following 1)read the data and give output 2) normalized the data and calculate 3) create hierarc…
• a program that reads data from a file into a dictionary containing the names of countries each paired with their current population size in millions. Assume the file is called ‘world.txt’ and its data…
• Activity 2 Level of difficulty Medium Prerequisites Activity 1 Objectives improve the student’s skills in operating with files (reading/writing) using lambdas to change the sort order. Scenario The pr…
• Help set up Python program that fits velocity squared versus distance to a straight line. Plot your points and the straight line. What is the slope of your line? What should it be? Does the slope have…
• Hello how would I do the following function? Thanks for you help! The ﬁ rst parameter represents a list of account balances, the second parameter represents a list of interest rates, and the third p…
• # Question 1 Perform right join to combine values based on the columns ‘MA(Hons)’ and ‘Stud_ID’ in the two dataframes Stud_ID Name MA(Hons) 101 Alex History 102 Amy English 103 Allen Geography 104 Ali…
• Hi there I would love some help with this question.   A farrier was contacted one Sunday and asked to shoe a horse. Because Sunday was his day off, the farrier advised the rider to come back tomorrow…
• what is the out put and is anything wrong with the program def capWord(aWord):   tmp = aWord.upper();   return(tmp) def dupWrd(numTimes,word):   tmp = capWord(word);   result = numTimes * tm…
• Question 1a: Write a function named qla ( ) that accepts one parameter, a String, which will be modified and evaluated as follows: 1. Convert the entire String to lower-case 2. Count the total number…
• My code is error is there anyone can help me out thank you. | &lt;isbn&gt;/Description: &lt;description&gt; I I Search Book by Keyword 0 The user will be prompted for the following information: …
• can you help me with a sample of program Using simple functions which passes on user inputs to a function which performs the operation and returns the result which will be displayed on the console.
• Write the program to complete Problems 1,2,4,5,6,7 on the attached file. Use a function for each problem. The function may be named by you. All functions can be completed within one program. Show two …
• The following python program is supposed to display three radio buttons. But they are not shown in the application window. Please explain and  fix the problems.  import tkinter from tkinter import …
• How would I right the code for t. If my t”s are time delays what would the code be for it.. In [25]: @interact 0.111 seconds 10 def inter (b= (0, 1,0.1) , c=(0, 1, 0.1), d=(0, 1,0.1) , e= (0, 1,0.01) …
• Hi, I am struggling a python question,I tried it with 2 for loop and tried to pull out the element from the list but it does not work, Can you pls. take a look ? My work :  I tried to make it work in…
• I am having trouble printing my parser into the Parser Tree text box. Can someone please help me with this? The code is in Python using the tkinter library.   Output:   My code:   import re from tk…
• Please refer to the attachment to answer this question. This question was created from GHW1_Sytech-Case_Assignment Questions_OM337_S16. Additional comments: “I don’t know hot to set the problem on the
• write a program : 1 .Input a date in numeric format from the user e.g. mm/dd/yy. 2 . Examine the month entered by the user. If it is larger than 12 or smaller than 1 issue an error message and ask for…
• . Problem 6 Write a function named words StartingWith that accepts the string sentence. The function returns a dictionary whose keys are the unique first letter of each word in the string and whose …
• Project – Part 5 – Modules Modify the pseudocode design that you created in ITP 100 Project – Part 4 to include at least the following modules. ·        studentID            – to E…
• . Find the best first split of a decision tree using Gini-Index. Day Weather Temperature Wind Play Sunny Hot Low No Rainy Mild Hish Sunny Cold Lew Rainy Cold Hish No Sunny Cold Hich Overcast Mild Lo…
• What is the time complexity of the following function?   def foo(x)      a,b,c=0,0,0      for xi in x:       a +=xi       for xj in x:          b +=xj **2      for xj in x:     …
• How to conduct/solve python code for both of the prompts below?. Write a while loop that iterates through a list, nums , and determines whether or not it contains a value whose absolute value is great…
• you go walking every morning for a measured distance and time. write a programme that has two variables distance and time. assign integer values to these variables. use the formula speed is distance d…
• Hi, I have to create model which predicts the average traffic speed per hour on a busy road in Hong Kong.. 80% of the data is training data and 20% is testing data. There is some missing data in the t…
• I am running a script that will capture packets from the web and do the following: make a dictionary entry for each unique packet observed Unique Packets combination of SRC-IP, DST-IP, Protocol keep t…
• How do I get the average of the number of vowels per word in a list? For instance, words = [“Beautiful”, “Queen”, “scratched”, “Queueing”] average will be 3.8
• I need help coming up with Python coding function signatures for the following table and I’m stuck on where/how to start. It does not need to be full codes, just the functions with any parameters pass…
• Hello Tutor, Please help me to solve this problem as soon as possible. I would leave good feedback and mark it as helpful😊 Thank you so much. . Using a for loop, write a program that prints out the…
• For this portion of the lab, you must reuse the program you wrote in Lab4A (Lab FOUR part A ) . This means ALL requirements for Lab 4 are also required for this lab, so if you had errors in Lab4 you …
• 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…
• I have what the assignment is looking for and I have included the code I have so far. I need help trying to figure out what I am missing (in bold below). I am no programmer so forgive my stupidity. Cr…
• . m . l m ‘ 5.10.1: Enter the output of break and continue. S?551D.235021S.q152qy? Jump to level 1 Type the program’s output &quot;{ “={ Mi -D Feedback!
• Long ago, children used to entertain themselves with a fortune telling Magic 8 Ball. The Magic 8 Ball was an oversized black pool ball that would allow the user to ask a yes or no question, shake the …
• A dataset contains weight and height features of patients of Lowell General Hospital – which treats patients of all ages. We know that the two features are generally positively correlated. A data poin…
• My lab for this question is below The functions i’m importing are below
• Suppose you are building a Python application for storing the names, birthdates, and addresses of members of an extended family. Describe the strategy that you would use in order to determine the data…
• 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…
• Write a program that uses the Vigenère cipher to encrypt and decrypt messages.  Your program will prompt the user to either encrypt or decrypt a message, the message itself, and the encryption key.?…
• Description: This question requires the creation of an object-oriented Python project to manage the devices at a University. – The project manages information for devices, departments and staff. Text …
• need help with the lambda function part in python I made an AI-powered hotel reservation chatbot using Amazon LEX V2 it has two intents (greeting and reservation), how do I write the lambda function t…
• Print the elements in the `nmrls` list that  have more than or equal to 7 letters and has either the letter ‘o’ or the letter ‘g’. how to program in python
• You will use your previous programming project as a starting point. Be sure to copy and rename your file from that project and edit the internal documentation to reflect the new name and date. Project…
• addition_str is a string with a list of numbers separated by the + sign. Write code that uses the accumulation pattern to take the sum of all of the numbers and assigns it to sum_val (an integer). (Yo…
• Stuck at a question for python have 2 txt files and need to clean the text by:  Removing stopwords using stopwords_en.txt file &amp; the nltk library.  Words shorter than 3 characters All words and …
• clear explanations plz 5. Translation…? By now you should be very familiar with menial tasks such as reversing every letter in a word. Let’s use this to create an ancient foreign language from a sen…
• Please do NOT import any statements (ie. import numpy as num). def get_nearest_station (my_latitude: float, my_longitude: float, stations: List[‘Station’ ]) -&gt; int: &quot;&quot;Return the id of the…
• 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…
• What is the flowchart for this lab (done in python2) according to attached algorithm? Thank you! Algorithm for lab 6 Step 1 Give program description that this program is designed to get a specific wor…
• Suppose we have a dictionary empDict that maps names to salaries. Add “Mary” to the dictionary with a salary of 55000 in one line.   2. Suppose we have a dictionary petDict: petDict = {“dogs”: 3, …
• Write a program to give an opinion survey to several users, and print the average results when all users have completed it. Requirements: • Each question has 1 of 5 possible answers: ◦ “Strongly A…
• python 1.    Help with a recursive function printPattern() that will generate the following patterns. Note that the first argument is always a power of 2 and is the max number of stars appearing i…
• no copying RESTRICTIONS: You are not allowed to use ANY built-in Python data structures and/or their methods. In case you need ‘helper’ data structures in your solution, skeleton code includes prewrit…
• Petals around the rose – Each player rolls three dice. Their score is determined by the number of petals around the rose. Considering the rose being the centre pip on the die; a five scores four point…
• First Place Racing needs some race stats for their race car. Based on track equipment, speed results are provided  by lap. Therefore, the race crew can enter a track lap speed as the car passes the s…
• Could someone please help me with this : how to code , compile and run in python 3. Please write it step by step. Thanks
• I need help understanding how to create linear, logit, decision tree, knn and svm models in python
• The following code generates a random list a import random n=1000 random.seed(27411) a = [ random.randint(1,n) for _ in range(n) ] Write a code that prints the count of unique elements in the list. Fo…
• . 2) scrooge.py Scrooge Mcduck is letting you into his vault full of pennies, nickels, dimes and quarters. He will let you play the following game: you can pick 6 coins at random, and if they sum to…
• Write a Menu Based Interactive program who can input N integer Values and give an option to user to select one of the given selection technique (Bubble, Insertion, Selection)  DO IT IN PYTHON
• start Declarations num balance num rate num tax output “Enter a balance” input balance output “Enter a rate” input rate tax = computeTax(balance, rate) output “Tax: “, tax stop num computeTax(num amou…
• please help, I don’t know if this is the right answer. What does count_words return when called with the input [&quot;yellow&quot;, &quot;green&quot;, &quot;blue&quot;, &quot;purple&quot;]? def count_…
• Question 4 [20 marks] Write program named pluralOfNoun.py that takes a noun from the user and forms its plural on the basis of these rules: a.    If a noun ends in ‘y’, check that the character be…
• Need to build a code to find all possible partitions for a list. Details below Use extend_partitions () (cut and paste it) to write the following function. def all_partitions_of (a_list) :     ”’ …
• Need the answer immediately def solveNQueens(n): n nu Nqueens is a problem that nedds n&gt;=4 as input where it is a problem to put Q in places where no one can beat other in chess you can searrh ﬁ-…
• I need help developing a python program for Metropolis-Hastings sampler for normal and beta proposals Problem 2: Develop a Metropolis-Hastings sampler to generate random variable samples from a normal…
• Q1) Develop a web application which opens the csv file and display all its data/fields in HTML table format.  Use the first row of data in the csv file as your report headings (Table heading) and d…
• This is for CPT 200 class week 5’s assignment 1.   Could you show me how to make it. Also, can you show me step-by-step explanation.    For this interactive assignment, you will create an applicati…
• –Take user input and give corresponding output –User will enter a series of data consists of student name and student GPA. –User can stop input by entering X. –Then the program should store these …
• Is there any one can help me with this challenges? 5.19 LAB: Exact change – functions Write a program with total change amount as an integer input that outputs the change using the fewest coins, one c…
• . Write program that has dictionary of names of five cricketers and a list of their runs in 5 matches. Create another dictionary from this dictionary that has name of the students and their total runs…
• I need help with this python program, its due in 2 days. I have some starter code for you as well. Thank you. import random def spider_web(web_map, starting_place, destination): pass def spider_web_re…
• What is the path to the php.ini file on a default installation of PHP on a LAMP stack? Where would you find the PHP documentation explaining the settings in the php.ini file. List three settings that …
• Trying to code for my CST-111 class and i have been lost since the start and well not getting any help so i would love help on this assignment on  Python: Collage – Looping Arrays, Basic Debugging
• python 2.7 Program must read as the pdf shows for each problem. This is a program called min_max.py the comments are added. CS110 Homework 5 (Input and Output) Swami Iyer Problem 1. (Min Max ) Write a…
• Question: Critical Thinking Question #1 Wendy Patel is entering college and plans to take the necessary classes to obtain a degree in  architecture. Research the programs and apps that Wendy might us…
• Data: video_reviews = [     {         “name”: “Cats doing nothing”,         “number_of_views”: 450743,         “reviews”: [             {“name”: “Jeb”,?…
• Can anyone show me how to reindex the month by the order given?. a + Code Python 3 (ipykernel) O # O [5]: df_fake = pd. DataFrame(fake) df_fake [5] : title text subject date Donald Trump Sends Out Emb…
• I would like to know the code solution for the required problem and instructions to make it into a README.md file. Instructions Write a Python program to solve the following problem. Your solution sho…
• Hello, I have a question on pandas in Python. Given a data frame with a column that looks like the following: 123456_54532123 548973_56562784 4523_12321232 5_45654562 (etc..) type: str How can i extra…
• import pandas as pd STARBUCKS_FILE = “All_Starbucks_Locations_in_the_US.csv” FILTERS = [ “Store Number” , “Name” , “Street Address” , “City” , “State” , “Zip” , “Latitude” , “Longitude” , “Feature-Sta…
• 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…
• hello there original work please Solve this python problem. Provide full code in Python and clear step by step explanation  and the code must pass all the test. (listed below) you can copy it because…
• using python and the data set mtcars Please solve the problem and don’t copy from another tutoring sites please.. What are the mean mpg values for vehicles with 3, 4, 5, 6, and 8 cylinders? Report you…
• In this assignment, continue to use variables, functions, and control structures to improve the “View all Employees” functionality you developed in Week 3 and utilize functions and the passing of par…
• #  A sequence of numbers is called strictly increasing if each number  #  is greater than the previous number in the sequence, and strictly  #  decreasing if each number is less than the previ…
• I need help in sentiment analysis, constructing a code with comparative reviews in a .csv file. This is the textbook chapter I need to follow ‘comparative opinions’  written by Jindal and Liu.    ?…
• Design a simple password manager because their staff are resorting to insecure practices to record login credentials such as writing them down on sticky notes. The password manager will be used to sto…
• Search for the 50 Harry Potter e-books   url = ‘https://itunes.apple.com/search?’ params = {‘term’: ‘harry+potter’, ‘entity’: ‘ebook’ } resp = requests.get(url, params=data) resp.json() …..
• The following code produces a microscopic image of a bacteria that are overlapping shown below after the code &gt;&gt;&gt;import numpy as np &gt;&gt;&gt;import scipy as sp &gt;&gt;&gt;from scipy.ndima…
• Conditionals and if-statements 1.if…else if…else statements may be nested to handle layered decisions. True False For loops 1.A for loop’s () defines the initialization, comparison, and update sec…
• (***IN PYTHON***) highlight: This function takes two string arguments. The first is a filename and the second is a keyword to be searched for in the file. Whenever a line is found that contains the ke…
• Objective: •Use k-means clustering for image segmentation and to identify dominant color in the image. Question: i).Open and display the image “dog.jpeg”. Convert the image in to numpy array, so tha…
• In order for a player to navigate your game, you will need to develop a function or functions using Python script . Your function or functions should do the following: Show the player the different co…
• Hello, i need help with the python 3 programming assignment. I’m completely stuck on the whole thing. Write a program that lets the user play the rock. paper. scissor game againstthe computer. The com…
• Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
• Most of the coding is already done. ToDo 1 needs to print out a grid of the current state of the game. ToDo 2 needs to print out a grid when the game is finished. ToDo 3 is comment out. ToDo 4 needs t…
• Use Jupyter Lab. Question 4 data = { &quot;size’ : [‘XL’ , ‘L’ , ‘M’ , mp. nan, ‘M’ , ‘M’], ‘color’: [‘red’, ‘green&quot;, &quot;blue’, ‘green’, ‘red’ , &quot;green’ ], &quot;gender&quot; : [ ‘female’…
• Computational physics  python  Please provide a correct and well explain code. thank you . Exercise 4.3: Calculating derivatives Suppose we have a function f(x) and we want to calculate its derivat…
• Python help please. I am trying to generate a code that outputs every applicant whose application matches the “Admissions Criteria”. The code is giving me an index error is not listing all of the cand…
• Can you help me figure out why my program will not loop #first comment print ( “Rakran A Mateen” ) #second comment print ( “ENTD200 I004 Fall 18” ) #third comment print ( “Dr. Black” ) #fouorth commen…
• why is this happening to my code? (base) C:\Users\19563&gt;python Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 &gt;&gt;&gt; f = open(“C:/Users/1…
• 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…
• Translator  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 corresp…
• How can I get the below result? CEO Eric Schmidt: &quot;What’s the best way to sort a million 32bit integers?&quot; Obama: I think the bubble sort – would be the wrong way to go. &quot;A think the Bub…
• program in python that calculates the volume of a cylinder. Your program should ask the user to enter the radius and the height of the cylinder. Your program will use the formula π x r2 x h where π …
• This is my code for 1 and 2   import networkx as nx import matplotlib.pyplot as plt file_name = ‘twitter_combined.txt’ graph = nx.DiGraph() with open(file_name, encoding = ‘utf-8’) as f:    lines =…
• Write a python Programming for this All freshmen of ABC College must live on campus. The single room is \$3000 per semester, while a double room is \$2000 per semester. There are also two meal plans t…
• My grocery project script got kicked back as a failed script for my project. I am not sure why though as it works in other platforms but does not work in Codio. So the way I formatted something is not…
• Please just tell me the script   . Lab 4: Canvas Assignment – If Else You are required to create an application as described below using Python. Name your script SortNumbers.py Ask the user to enter…
• Question 2 [10] – Creating a list of events to follow make an application using PyQt. The user must enter the names of ten Olympic sports that should be followed. These sport names must be added to a …
• Q0552 Create the two arrays F1, F2 below and then perform the following operations. F1 [—1l 01 2] F2 [5, -2, 0] (a) Calculate the dot product of F1 and F2 (b) Calculate cross product of F1 and F2 (c…
• In regard to Problem2 , what’s the difference in making the condition of the while loop choice != “quit” vs choice == “quit”?
• Implement function pay() that takes as input two arguments: an hourly wage and the number of hours an employee worked in the last week. Your function should compute and return the employee’s pay. Any …
• Problem 3. Stocks Data (30 Points) rse 1) Download SPY, AIG, AMZN, JPM, F monthly price data from Yahoo! as your test data in .csv format from (2012/12 to 2017/12) for total 61 months. 2) Write a Pyt…
• Hi, I need a Python Code for this and can you also provide an explanation as well. In addition, I need a generalized code that could work for any valid input and the code shouldn’t be specifically Har…
• Consider a two-server queueing system, where the customers arriving into the system join a single queue, wait for their turn, receive service from either one of the two servers and leave the system….
• I am wondering how I can conduct k-fold cross validation for different
• Please i need help with this using 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/…
• Natural Language Processing(nltk) I need to function that converts nationality adjectives like  Canadian ,  Brazilian ,  French , and  Japanese  to their corresponding nouns  Canada ,  Brazil ,…
• Write python program named  EDIT_DATA.py  that asks a person their age. Accepts an int. Uses a custom  exception  to return a message if the number entered is an int that is less than 1 or greate…
• Math Lab : I need help with these problem please. By using Python code
• Good Morning, I can get the first two parts to work. However, I need assistance with using the append/write command to add two more cat names to the catnames.txt file. I’ve tried some examples from th…
• from tkinter import * class MyApp(object):   def __init__(self, parent):     self.width = 600     self.height = 600     self.parent = parent     self.main_frame = Frame(parent)   ?…
• Build the following circuit in Multisim to complete Table 1.   Use Ohm’s Law or KVL to obtain the analytical or hand calculated results.    Use measurement probes in Multisim to obtain the voltage …
• Write Python code that produces an array called epsilon of length 10000 for which plt.acorr(epsilon), the plot of correlation between values, produces a plot with a correlation above 0.25 at lags 0…
• . In [23]: # Do not use any external modules such as itertools or functools to answer this question. # Write a function named flex_cumulative_sum that takes multiple Lists as parameters # and return…
• Please explain the following code example. Also, identify three comments to be inserted, proposed syntax and specify where (line number references) they are to be inserted. Ensure you are precise, de…
• Each line has two fields separated by space: WORD and WORDCOUNT. Print the most searched word, the WORD with highest WORDCOUNT.
• 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….
• i need answer in r.   Load the ISLR package.  View the documentation for the Carseats data set.   ### 1b. Using the Carseats data set, perform linear regression to predict Sales based on Price and …
• #!usr/bin/python3 import random from sklearn.cluster import KMeans as kmeans import numpy as np import matplotlib.pyplot as plot DATAPOINTS = 20 studentno = 1234567 studentno = int(input(‘Please enter…
• (In python). Write for loops to produce the following output: . .. 2. ..3. . 4 . . . 5.
• Given x=’ January 1, 2000′ : Using list comprehension, create a list of all the letters used in x. In one line, add to your list comprehension so the resulting list is sorted.
• I need to calculate the time added for each airline and determine which airline have the lowest time added. Note, you will need to calculate the average flight time for each airline. This is what I h…
• I want to know right answer and why. Question 3 Select-all-that-apply: Select all statements that are compound statements. X Note that if one or more correct answers are not selected, you receive no c…
• Make a Vehicle class. The inputs are make , model , year , price , and color , in that order. The values should be saved in the instance under those names. No defaults should exist for these values; t…
• I am performing some python programming. I have 10 cities of the world such as Mumbai , New york and others. I also have the distance and different modes of transportation from convenient to hard. I n…
• Part 1: Please be sure to read ALL directions before you proceed!! Program Requirements This assignment focuses on the design, implementation and testing of a library of Python functions to manipulate…
• Hi to whom it may concern, I’m currently taking Intro in Python. I was tasked to start a program that could translate my name, Anthony, in upper case letters to Morse code by using if-elif and def fun…
• Prompt For this milestone, you will be submitting a working draft of the code for a simplified version of the text-based game that you are developing for Project Two. You will focus on displaying how …
• Exploring and understanding the data is one of the most important parts in the data wrangling process. You are required to perform both graphical and non-graphical EDA methods to understand the data …
• Strings in Python are modelled as objects. Name and describe at least three of the methods in Python that are available to manipulate strings in Python.
• Create an array, named samples, which contains 100 random samples of a Gaussian distribution. Specify the mean value equal to 10.0, and the standard deviation of 2.0.  6. Create and plot a histogr…
• Copy The following link to google you will get the a zip file with some csv files in it . https://drive.google.com/file/d/1cYj9rsh99eJ1BT39wwqH2Lg2Uic0VfJh/view?usp=sharing   Don’t forget to solve al…
• mylist=[] print(“welcome to the Fruit database!”) want =”??” while want != “E”:    want = input(“Do you want to (A)dd, (D)elete, (S)how the list or (E)xit? “)    print(want)    if want == “A”: ?…
• Create a Python source file named &quot;final_1.py&quot; that will include the following two lines. Be sure to replace [ YourNameHere] with your full name. # Student: Your NameHere # FileName: fina…
• Need help completing the Python Project. Attached document word document for instructions and py file. import re #Paragraph provided for search and replace original_text=”’Lorem ipsum dolor sit-amet,…
• This is for Linux OS. Home – &gt;&gt; Students X B 5-3 Final Project Milestone Two: x | jg.darwish@yahoo.com – Yahoo | x C Codio – Linux Users and Permissic X + X &lt; -&gt; C A codio.com/jdarwish/lin…
• I need help ASAP, I don’t have SQlite and I can not download on work computer, can I use excel? For this assessment, you will continue to use the SQLite3 library to perform common database tasks using…
• Given the following pseudocode: Class Coordinate Private Real _x Private Real _y Public Module set_x(Real value) Set _x = value End Module Public Module set_y(Real value) Set _y = value End Module Pub…
• Need to do python exercises for homework, any help? Input files Contents of rwc.csv New Zealand,46 – 15,Argentina ,01/06/1987,31 France,70 – 12,Zimbabwe ,02/06/1987,58 Wales,40 – 9,Canada ,03/06/1987…
• Please assist – alot of the code is already written and contained in the pdf. Implement the core function knn_classify(k, labeled_points, new_point) for KNN classification algorithm. Implementation …
• This is a program that displays state info, It wont display the list. print( ‘\nThis application will allow you to display all states and their info, Search’ ) print( ‘for a specific state and display…
• The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below 2,000.
• Use the Pythons Pandas to solve. 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/data…
• Please convert the following matlab code to python code.   clearvars; close all; clc; load(‘irf’) irf = IRF; % get block Toeplitz matrix h = IRF; N1 = round(size(h,3)/2)-1; M1 = size(h,2); for oo=1:N…
• A basketball game has four quarters. Indicate program to do the following. Use a for loop to input scores of team A and team B in each of the four quarters. Every time a score is entered, update an…
• what am I doing wrong with this parsons problem. 1. Find the last occurrence of a character in a string Compose a function, last, that satisfies the following: The function last returns the index of t…
• Hello, Can I get assistance with how to code the below in python? Thanks for your help. #create function named exampleOne, that will have 2 input parameters. #return True if they are not equal to each…
• need help help with this code all the information is given above get_last_to_First: (Dict[str, List[str]]) —&gt; DictEstr, ListEstrIl The parameter represents a &quot;person to friends&quot; diction…
• Written in Python 3, due by Thursday, November 11. Use Regular Expressions. I’ve put some comments following the hashtags for how I think it should be structured.   This site can be used to test if t…
• Build a test dataset using test_private_answers_task_1.csv * you can merge the same characteristics from the metadata tables and make test_merged have the same variables as train_merged 2. Calculat…
• function that takes two arguments – a protein sequence and an amino acid residue code – and returns the percentage of the protein that the amino acid makes up. Use the following assertions to test you…
• Show code for how train this model ( min-char-rnn.py https://gist.github.com/karpathy/d4dee566867f8291f086) with different numbers of epochs (ie. 5, 15, etc). in Python.
• “”” UTM: CSC108, Fall 2021 Practical Lab 8 Instructors: Michael Liut, Andrew Petersen, Andi Bergen,              Tingting Zhu, Pooja Vashisth, and Sonya Allin This code is provided solely for t…
• 14 LAB: Count input length without spaces, periods, or commas   Given a line of text as input, output the number of characters excluding spaces, periods, or commas. Ex: If the input is: Listen, Mr….
• Python Coding Basic Intro:   Develop a class Volume that stores the volume for a stereo that has a value between 0 and 11.  Usage of the class is listed below the problem descriptions.  Throughout …
• Write a python script to do the following tasks. Attach the python script as well as the screen shot of your execution. Before create/remove any directory, you need to check if that is already exists …
• Task 1 : The Card Class Implement a class named Card. An instance of this class should have two private properties, face and value. Face is a string and value is an integer. This allows a wild ca…
• Need help with this python assignment! I’m really confused on how to do this assignment. Please follow the given instructions and have the output be the same as the sample output shown. Please code th…
• i need a python code. I have defined a function that gives me the longest Open reading frame of a DNA sequence. Can someone add the functionality that will give the position an length in a tubl…
• ( can you show me another example which is already not uploaded here). This question tests your understanding of Block 3 Part 1. In Activity 1.11 of Part 1 of Block 3, Gloria’s example hash algo…
• I need help with this python question Question-2: {10 points} Consider an array-based binary tree implementation, write a method W that takes in an index i and returns all ancestors of node iocated at…
• 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 not the person had coronary heart d…
• Function search through a list and produce the smallest and largest value in the list, No print statements inside the function, and no input statements within function No Global variables: https://hig…
• Please see attached screenshot everything been provided. (need help on  B,C) on writing the sage code provided it under the text.  sagemath : https://github.com/digitalclickco/sage.git. This questi…
• Write a well-documented (commented) program in Python that computes the interest accrued on an account. You can modify the “futval.py” program given in Chapter 2 to accomplish it. Your program should …
• Need help with A.4. Its in Bold. DATA SCIENCE: Machine Learning TEAM PROJECT  This programming assignment contains 2 independent parts,  creatively called Part A and Part B )  PART A (telco chur…
• Only need help with task 4   here is the docs link for scrabble5 (which is word5Dict after process), it is very long because of dictionary https://docs.google.com/document/d/1zfiuXquxxJpC1JKtdCfiu…
• Hello !! i need help solving this python assignment. Simulate rolling two dice 500 times. Each die has a value from 1 to 6. Calculate the sum of the two values. Print frequency of possible combination…
• What is printed by the following statements? s = “COVID-19” print(s[3:5])
• Using a predefined abstract data class for a QUEUE, such as  ArrayQueue, which we defined in class, write the code to perform the following:   create 2 Queues called Q1 and Q2 that contain character…
• Hi please help code the question below with as much explanation for your steps as possible so I can understand more deeply. I appreciate your help immensely so thank you! Please just show screenshots…
• Dictionary of dictionaries can be used as a simple database. For instance, dictionary in Figure 2 can be used for tracking information about scientists. Assume that the data is provided as a text file…
• Converting and Logging Network Binary Data to Human Readable Format Do the following: Update the code from Part 1 to convert the output to human-readable format. Update the code to save the output to …
• Write the function adjacency matrix(adj lists) that accepts an adjacency list of a graph as input and outputs the adjacency matrix representation of the same graph. For example: &gt;&gt;&gt; lec_graph…
• Use a search cursor on the OTTAWA.gdb\DATA\DA feature class to print the following for each record:   “Total population in private households by visible minority is: ______ in DA ______.”   Where t…
• We will pass in a list of numbers. Your job is to find the largest number in that list and output its index, not the actual value. You will need to use a utility variable to store the maximum value a…
• The second program must accept inputs from a user, repeats a sequence of instructions a certain number of times, or until some specific result is achieved.
• creat a program. O Option 1 – create a program that does the following: 1. Prints welcome message with restaurant name (tip: come up with your own unique name…) 2. Queries customers whether they wou…
• Using the IDLE development environment, creating a Python  script  named tryme4.py. Writing a function in this file called nine_lines that uses the function three_lines (provided below) to prin…
• . Linear algebra 1. Partition matrices: Consider using a partition matrix in OLS. That is, consider X = [X1, X2] and B = [ B1 B 2 where X1 is n x r1, X1 is n x 12, B1 is r1 X 1, B2 is r2 X 1, and r1…
• Using Python Flask create a web app with three routes and three functions that do the following: First function  returns “Hello &lt;name&gt;”  where name is a parameter passed to the function as p…
• Hello Everyone! I have questions which is ı do not understand. İts about python classes and it has test cases please help to solve this question. Part1; Part2; Part3; Part4; Thanks in advance! Quest…
• Please create a python module named homework.py and implement the functions outlined below. Below you will find an explanation for each function you need to implement. When you are done please u…
• Create a program that reads the contents of a names text file into a list. Ask the user to enter a first name to search for.  The program should search the list and display a message that says if t…
• 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…
• Please design a Python program that can encode and decode text message by replacing certain letters using the coding rules specified in the codebook table below   Original Letter (Before Encode) Enco…
• CHALLENGE ACTIVITY 5.2.3: Basic while loop expression. Write a while loop that prints user_num divided by 2 until user_num is less than 1. The value of user_num changes inside of the loop. Sample outp…
• CS160 Computer Science I Program 7 Objectives Work with functions Work with graphics Part 1 Assignment Write each of the following functions using Python. The function header MUST be written as specif…
• this one is not to making the program, yet.   This time what i need is to work on question below lists.   So all i need is a answer rather than the building program.   I have multiple references to…
• Using the python language explain what is Linear Searching. There are three versions to Linear Searching and they are The while Loop Version, The for Loop Version and the Sentinel Search version of Li…
• I was helped in correcting the code I had in exporting and importing. The code works fine but there is no data stored and when running programming again I have to input everything again. Here is the i…
• Abby has always dreamed of having her own ice cream shop. Now as a young entrepreneur she has decided to pursue her dream, but she needs some help in determining the financial viability of her plan. S…
• Split the UCI sonar dataset ( https://archive.ics.uci.edu/ml/machine-learning-databases/undocumented/connectionist-bench/sonar/sonar.all-data (Links to an external site.) ) 80% training, 20% testing….
• Using class Employee ·        Add method calcPay() in Employee class return 0 ·        Remove salary/getSalary/setSalary from Employee and modify str function to reflect this change …
• Let’s look at using some complex SQL queries to find data from a database containing 2 tables : employees and departments.   The employees table will have the following columns and data types: employ…
• Would it be more efficient to write one large program? Why or why not?
• Using the lists a and vowels as defined: a = [ &quot;Euclid&quot;, &quot;Archimedes&quot;, &quot;Newton&quot;, &quot;Descartes&quot;, &quot;Fermat&quot;, &quot;Turing&quot;, &quot;Euler&quot;, &quot;…
• def get_combination(target,index,arr,path=[]): This function should use recursion only where return only a sinle combination else return ‘[]’. For example an input of: arr = [2,3,6,7], target=7, path=…
• Write a class that represents and defines operators for Interval numbers, which are represented by a pair numeric values: int , float or mixed. We use intervals to represent approximate numbers, whose…
• having trouble with  code below. #include &lt;iostream&gt; #include &lt;cstdarg&gt; #include &lt;cstdlib&gt; #include &lt;istream&gt; #include &lt;fstream&gt; #include &lt;ostream&gt; using namespace…
• Activity 1 Level of difficulty Medium Objectives . improving the student’s skills in operating with strings; using built-in Python string methods. Scenario You already know how split ( ) works. Now w…
• This assignment is based on Exercise 7.1 from your textbook.  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 starti…
• Write a program that calculates and outputs the area of a trapezium given the necessary inputs. Check that the inputs are positive numbers and non-zero. Give appropriate message(s) if negative and end…
• Code is working with two warnings in PyCharm 3.8: Warnings are “do not use bare except” and “to board exception clause”. Can you explain or correct why I am getting those warnings. I need code to keep…
• txt 7 4 2 7 3 4 6 7 8 9 7 0 10 7 0 1 7 6 5 7 3 2 7 9 9 8 7. For all programs going forward, whe Create a program called Lab5A1 that will do the following: Read a set of integers from the text f…
• P ython module to periodically scan and parse news from newswire website. (20 Marks) https://www.prnewswire.com/news-releases/news-releases-list/ Keep track of the already parsed news: (20 Marks) For…
• Read in the state name .csv file from the URL below into a dataframe named **abbr** (for “abbreviation”) – make sure to use the read_csv() function from the tidyverse package: &lt;br&gt; https://intro…
• Perform a depth-first search of the graph corresponding to the multiply by 2, divide by 3 (without remainder) game .Start at node 1 and proceed until you have visited node 7. In your search, you must …
• Find the minimum spanning tree (MST) of the graph below using Kruskal’s algorithm. Note that the labels on the edges correspond to the edge weights. Your answer must include the edges that are fou…
• This new code is a re-writing of the code below. However, it will now use functions. There are no changes to logic of the program. In other words, do not modify any of the existing code(see the requir…
• from jupyter_plotly_dash import JupyterDash import dash import dash_leaflet as dl import dash_core_components as dcc import dash_html_components as html import plotly.express as px import dash_table a…
• design a Fuzzy Logic Control Synthesis for An Airplane Antilock-braking System in python?
• You are given a deck containing N cards. While holding the deck facedown: 1. Deal all the cards facedown onto a table into Y piles (i.e. P1, P2, …, PY). 2. Combine all the piles into a deck by plac…
• programmers = Set([Jill’, ‘Chris’, ‘Seth’]) softwareEng = Set([‘Sally’, Jim’, ‘Chris’]) What is the output of students = programmers | softwareEng OfJill’; ‘Chris’, ‘Seth’, ‘Sally’, ‘Jim’, ‘Chris’} Of…
• Hey anyone please help me out with this question. I will be very thankful to you. Note: Please do all parts of the question. Below is the question: Problem 5-2 (*APSP) Let G = (V, E) be an undirected,…
• I have written and attached my current (and functioning) Python program. However, I need it extended to determine the median and mode of the numbers read from a specified file. In addition to this, it…
• PLEASE CODE IN PYTHON   In order to increase your performance on the ABC (Another Buying Contest), you decide that you need a new computer. When determining which computer to buy, you narrow your sea…
• MNIST dataset – The MNIST dataset is divided into two sets – training and test. Each set comprises a series of images (28 x 28-pixel images of handwritten digits) and their respective labels (values f…
• Write a program that computes the net amount of a bank account based a transaction log from console input. The transaction log format is shown as following: D 100 W 200 ¡­ D means deposit while W me…
• For a given string s, return the first reoccuring character in the string. Try to get an approach that is 𝑂(𝑛) O(n), where 𝑛 is the number of characters in the string. If there is no such c…
• Write def  that accepts a single line of comma-separated text, and which effectively splits it into its component parts, using slicing .  The function is to be called chop  and it accepts a single …
• Please complete abcd and label them So no one can do it?? Example. Problem 2) [Paper-based] A dataset was used to train a perceptron. The data samples, the trained perceptron classifier, and the perce…
• 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 his…
• Q2) Difference between Authentication and Authorization in Django explain with example. (Minimum 700 words description with web references)
• Explain how the Error Handling and Logging make the app more secure using Bandit
• Define a function named wordRank that accepts two arguments: a filename and a string. The function should return the frequency rank of the word that is passed in (1 for the most frequent word, 2 …
• Enhancing my coding below: cont = “y” #functions for math operations def add(num1, num2):    add = num1 + num2   return add def sub(num1, num2):   sub = num1 – num2   return sub #add exceptio…
• 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 pr…
• Please provide me a correct solution. i will happily give you a thumbs up. This is a program to fetch song lyrics from a website but it is not running. please remove this program’s error. don’t change…
• By using for loop create the following program which collect an input and print it in a following pattern EX : if the input was * then the out put * * * * * * * * * * * * * * * * * * * * * * * * * ?…
• import unittest import Exam_Module ”’ You must do blackbox testing on a function remove_letters, which can be found in the Exam_Module file, imported above. You do not have access to this module. Thi…
• Pearl’s Pancake Pad is a growing restaurant business, and they’d like to upgrade their existing pen-and-paper system for tracking tickets to a digital point of sale system. They are asking you to desi…
• The following example presents an example of what our text calls single pass in memory indexing.  This indexer has been developed using the Python scripting language.  the assignment will be to use …
• Mod Dates as text       from datetime import *  from calendar import *  def isValidYear(year):  if year.isdigit():  if int(year) &gt;= MINYEAR and int(year) &lt;= MAXYEAR: #constants importe…
• Make a selection structure using  Pseudocode= IPO outline
• I get stuck in save songs method and sort method, could you please help me solve that. Link for full assignment: https://www.coursehero.com/u/file/41847405/CP1404Assignment2-Songs-2018-SP53docx/#doc/q…
• . Write a script that solves the following problems. For each problem, first print the problem number followed by the answer to make it easier to grade. (1) Compute the first 20 positive perfect squar…
• Directions: * Complete the graph algorithm functions given below. Note that it may be helpful to define auxiliary/helper functions that are called from the functions below. Refer to the README.md file…
• . Average Age Write a program to calculate the average age of a group of unknown size. Use the sentinel pattern from above. Hint: you will need to keep track of the total age, and the number of peop…
• Hello, hoping there is someone who can assist me with this. I am really struggling in this class and I am pretty sure I have worn the professor out with tutoring. CIS115 Week 5 Lab Overview Title of L…
• For the given Python code, what is the final value of &quot;result&quot;? def square(n): return n * n def recursive_function(n): if n == 1: return 2 else return n + square(n) result = recursive_functi…
• Question : Analyse various school outcomes in Tennessee using pandas. Suppose you are a public school administrator. Some schools in your state of Tennessee are performing below average academically. …
• The focus of the programing assignment is to develop code for a frequent sequen- tial pattern mining algorithm. Given a sequence database S and a minimum support threshold (minsup), the al…
• Give a FLOWCHART for this code: def test_prime(n): if (n==1): return False elif (n==2): return True; else: for x in range(2,n): if(n % x==0): return False return True print(test_prime(45))
• Design a python program with a loop that asks the user to enter a series of positive numbers. The user should enter a negative number to signal the end of series. Once a user enters a negative number,…
• Write and test a function named sepia that converts a color image to sepia. This function should first call grayscale to convert the color image to grayscale. A code segment for transforming the grays…
• What does EFO error in zybooks python and how can i overcome it?
• Topic – “Infix to Post-fix using Stack” Help me with a stack application that can convert Infix notation to Post-fix notation. In the stack application,use only two stacks, one for a stack that can st…
• I have no idea what they want me to do. They never went over this!! Codio Project File Edit Find View Tools Education Help Configure…. Project Index (static) Configure.. BFEDELL numsearch.py X 3. 4….
• Multiple: if statements: Printing car features. CHALLENGE ACTIVITY 3.3.2: Multiple if statements: Printing car features. Write multiple if statements. If car_year is 1969 or earlier, print &quot…
• write code that accomplishes the following: Program 1: reads the entire contents of a file (‘text.txt’) and writes everything read to an output file (‘Report1.txt’) Program 2: reads from a file of num…
• I need help on the below   Create a script that simulates three monkeys (Lenny, Moe, and Joocems) communicating with their zoo keeper;  they are given a list of words to point at, and will be awarde…
• You are running a bingo game where you want to tweet the winner of each round of the game. You want to announce the name of who won, and how much they won in dollars. Make a function that takes those …
• Write a function called compute_sum, which accepts a list of values, and then returns the sum of all those values in the given list.    Sample function-call outputs are shown below:    For compute…
• int_list1 = [ ‘a’ , ‘b’ , ‘c’ , ‘d’ ] int_list2 = [ 4 , 3 , 2 , 1 ] new_dict={} def list_to_dic ( int_list1,int_list2 ): if len ( int_list1 )! = 0 or len ( int_list2 )! = 0 : for i in range ( len(int_…
• i need help on this programming practice question please. I need help understanding this before my exam please and thank you.. Description Statistics are often calculated with varying amounts of input…
• This exercise uses the provided ‘Automobile_data.csv’ dataset  . c. Find the company name of the most expensive car. d. Print all bmw car details. e. For each company, count the total number of cars …
• Need python help. Chapter 6 Write function week() that takes no arguments. It will repeatedly ask the user to enter an abbreviation for a day of the week (Mo, Tu, We, Th, Fr, Sa, or Su) and then print…
• 13 LAB: Exact change “Write a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes,…
• I have a question about reading a columns of ‘real’ numbers from a file then sorting the numbers then writing the numbers in a different file. I have tried to use this code while sorting them : number…
• Consider a series, S1 = 2 +4 +6+,..+10 and another series \$2=1+3+5+..+9. and Another series \$3 = 1+2+3+…+10. We know that S1+\$2 = S3. Now write a program, where a parent process creates 2 child p…
• I have to make a function that takes a list as an argument and prints the items in a loop. the part I am struggling with is that the function should also optionally save the items to a csv. I was to…
• This is for the file, hw5.py. This question was answered by a tutor before, but that answer was incorrect. This is for the problem, get_series. It reads as the following: XXXXXXXXXXXXXXX get_series: T…
• “”” Please help me with this revised Python program. SortedSetInheritance. A sorted set behaves just like a set, but allows the user to visit its items in ascending order with a for loop.  Define cla…
• Using Python 3 and Mongo DB I am having a problem with pulling in fields to answer questions I want to answer. I read in tweets using MongoDB using the following: C:\Users\vfowl\programsvf&gt;python r…
• A model uses below decision variables. xi,j,t: Number of product i produced in facility j in month t. i=1, …, 20; j=1, …, 5; t=1,…, 12.   Using above variables give algebraic expressions for be…
• library(tidyverse) data(mpg)     Create a scatterplot of highway mpg on the y-axis and displacement on the x-axis. Add a smooth line (without confidence interval shading) to your plot. What can y…
• === Style/convention errors (fix: before submission) ===   C0301 (line-too-long)  Number of occurrences: 1.     [Line 57] This line is 90 characters long, exceeding the lim…
• help me to make a Python code that input the types of emoji and the size of emoji using asterisk     output Input type (A – smiley, B – peace, C – ball): A Input size (S – small, M – medium, L – lar…
• Question 6 a) Identify &amp; describe at least six factors that can be used to evaluate the quality and veracity of a Data Model. (12 marks) b) With the aid of a diagram, distinguish between the Conce…
• python programing Exercise 1 Write a script that calculates the square root of a number with exception handling.
• 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…
• Write a Boolean expression that evaluates whether the age is between 18 and 55 inclusive. Think about a problem solving algorithm with a parameter (DATA), an age, and a Boolean result – true if the ag…
• only need help with execrise 2   dlinkedlist: class DLinkedListNode:    # An instance of this class represents a node in Doubly-Linked List    def __init__(self,initData,initNext,initPrevious): ?…
• how to write Python program to do the following: (a) Use a for loop and a random integer generator to generate 5 random integers in 1 to 9. Store the random integers in a list. Display the list. (b)…
• There are various functions/methods that can be used for both strings and lists. Research this to identify several functions/methods which are useful. Include Lists features such as declaring and acce…
• . Evaluate the following computer code to find the final value of the variable var . Do NOT type your answer in scientific notation. var = 5 while var &lt; 100: if var &gt; 70: var = var + 30 else: …
• Need help with this assignment, this is where I am right now,     def amount(A, S):    return amount_helper(A, S, [], 0) def amount_helper(A, S, arr, index):     if S == 0:         print(“[“…
• Write an if-else statement for the following: If user_tickets is not equal to 6, execute award_points = 10. Else, execute award_points = user_tickets.
• Kindly help with the following python conceptual and programming questions: Linear Algebra Questions Question 1 Define / mathematically ; the following :&quot; 1 . Define a function which takes the sa…
• Implements three functions: # – binary_lunar_addition(number_1, number_2) #   that lunarly (or is it lunatically?) adds number_2 to number_1; # – lunar_addition(*numbers) #   that lunarly adds all a…
• This photo is the question i found the right code for this question , but i cant write the flowchart of this code. I write the code down below. Can u help me? import random L = [] a = random.randint(5…
• Write a program that shows hospital name from Hospital table and doctor name and doctor experience from Doctor table where doctor salary is more than 31000
• Find a dataset that can be used for classification or regression. Explain the dataset (such as what the variables are, what is used for, etc.).
• . Your task is to fix the functions in the template code main. py Each function contains at least one error. These can be errors that make Python fail (sometimes only in edge or corner cases) or the…
• This question is about  Block 2 Part 5 . This question requires you to calculate values using Python functions. There are two approaches you can use:  add suitable code to the provided file, then …
• in python, using this API https://covid-api.mmediagroup.fr/v1/history?&amp;country=Mexico&amp;status=confirmed   the cases for each date are a running total, how would i get the number of new confirm…
• Consider what happens if the loop in the ArrayQueue._resize method at lines 53-55 of Code Fragment 6.7 had been implemented as: for k in range(self._size): self._data[k] = old[k] Give a clear expl…
• What is the McCabe Cyclomatic Complexity for the code below. Use the basic definition of CC. char * strncat(char *dest, const char *src, size_t count) [ char *tmp = dest; if (count) { while (*dest) de…
• What is the value of the variable num3 after the statement in line 3 has been executed? Which message will be output by the if else statement, line 5 or line 7? line 1: num1 = 27 line 2: num2 = 6 …
• You live in a neighborhood of canines. Canines like canines. Canines like yapping considerably more. Be that as it may, in particular, canines lean toward yelping when different canines bark. Each can…
• What are the values of sys . argv [ 1 ] and type( sys . argv [2]) for the command-line input &gt; python prog. py June 16 . V O June, 16 O &lt;code&gt; June, &lt;class ‘str’&gt;&lt;/code&gt; &lt;code&…
• Hi I am trying to start a python project where we have to code the columns game (https://www.ics.uci.edu/~thornton/ics32/ProjectGuide/Project4/). I decided to split it into two modules one having the …
• A: 1241.5 calories intake in aay .5. Also, It lOOKS like this day you’ve been tempted With chocolate and 250 calories have been added! A: 1241.5 calories intake in day 6. Also, it looks like this d…
• Hello, I have question about deep learning and machine learning. I found a three health care related applications which can use machine learning or deep learning. first thing is a Dianosis and second …
• Write Python code using data “IMDB_data” to                                      Load CSV in R by skipping second row.                       …
• 1) The question screenshot has been attached down below:    . Exercise B: &quot;General Store&quot; For this exercise you will design and implement a simple menu inspired Matt’s General Store by the…
• Graphics in Python using the JES environment (PYTHON CODE iN JES ) Display triangle on the Eiffel tower.  Draw a rectangle on the clock-tower.jpg
• Python and C code. Accept the GPA for each person in a class of 10 students. Find and display the average GPA for the class
• PA 11: falldown.py  Task  In a file named falldown.py, implement a simplified version of the arcade game falldown A simplified version of the game and explanation by Prof. McBurney can be seen in th…
• please help me (: 1. [Weight = 3] (Explaining the MCGW solution) You are given a sequence containing a &quot;solution&quot; to the MCGW problem. You are to develop a Python program to print out in Eng…
• Write a function shuffle that takes a list as parameter and returns a new list with the elements shuffled into a random order. The list can contain mixed data types (it’s not a list of just one data t…
• To define “-” operator for a new class, one needs to: a.define __ sub __() method b.It is impossible to define such an operator for user-defined classes.
• Question 1: Raptor flowchart. Pseudocode. Python.  The number N factorial, denoted by N!, is defined to be the product of the first N positive integers:   N! = 1 × 2 × . . . × N For example:   …
• Hi, I’m stuck doing a Python exercise and I would really appreciate any help. The exercise is to Plotting GDP Data on World Map using only three packages (CSV, math, pygal) and it is consist of four p…
• CPSC-51100: Statistical Programming Programming Assignment 5 – Data Preparations and Statistics Introduction The file cps.csv (attached) contains school profile information for Chicago Public Schools….
• Discuss the advantages and disadvantages of AI decision trees and artificial neural networks.
• I need help doing the following assignment:. Overview: This week, you studied additional Flask functionality for creating a secure login form and associated files for a web site. The Lab for this week…
• Given a character, return the capitalized character in the reverse position within the alphabet in the variable output. For example, if the input character is ‘A’ or ‘a’, output would store ‘Z’. If…
• [Programming Problem] Write a program that starts at a given directory and descends the file tree from that point, recording the sizes of all the files it finds. When the traversal is complete, the pr…
• Git Hooks (Write a script in any scripting language in post-commit file such that it automatically triggers push after committing the file ) For reference- 1.https://m.youtube.com/watch?v=3BP5Wx73tHo&…
• how can I make list that contains the days of the week ? (flowchart) Also can u make a loop with the days of the week?
• http://prntscr.com/l5zhcr This is the most difficult question I have for my python homework, help.
• Assignment 2 ops445: Overview: du Improved du is a tool for inspecting directories. It will return the contents of a directory along with how much drive space they are using. However, it can be parse …
• You are to examine the given python file and indicate the errors. The errors can be the following: Syntax Error (missing colon, missing brackets, spelling errors …) Logic Error (certain conditions n…
• How to find independent objects (letters) in the attached black and white image by using the two-pass connected components algorithm (Image Processing) in Python without using the Open CV built functi…
• Implement this Single Server Queue Using Python: A service facility consists of two servers in series (tandem), each with its own FIFO queue. A customer completing service at server 1 proceeds to serv…
• how do i go about this problem? i am not sure how to generate the number so that it is 20 indices long
• Listen Which of the following is true of python strings? A new string is created when strings are concatenated Changes are made to the existing string O’t’ can be used to concatenate strings and ints …
• Using Python to estimate f'(1) and f”(1) from the following data: x: 0.97 1.00 1.05 f(x): 0.85040 0.84147 0.82612 (x, f(x)): (0.97, 0.85040), (1.00, 0.84147), (1.05, 0.82612) Please provide the code.
• Create a function that adds 6 courses to the user’s schedule. Everything should be gotten from the user within the function. • The schedule should begin as an empty tuple. • The courses need to be…
• Program 3 The file “DegreesDict.dat” stores a dictionary where each field of study is a key and each value is a two-tuple of the form (ex. number of degrees in 1981, number of degrees in 2010).  well…
• Question Theme: Design with Inheritance (a) Design and implement a  java class  named  Movie  with following. Instance variables:  title (string), name_of_Director (string). Methods: Specific con…
• How would I go about this? . 1. Type (don’t copy/paste — you’ll remember better if you type it out] that class into your own Python file. and use a for loop to create 5 random points. (Note: you’ll …
• Please help me out with python code. Q. Ask a number from user and add next number to it. The process of addition should be repeated until the sum would become 100 or greater. In the case where user e…
• Calculates what the monthly target would be for each of the 12 months (assuming that the target is the same each month). Assigns the monthly target value to a variable called monthly_target. Uses a Fo…
• what is the answer When the following program is executed, it terminates with an error. Which option best describes the cause of this error? def rat (qq, ee) : uu = int(ee) uu = uu + 3 result = 0 for …
• In an ipython notebook, write a container class called PriorityQueue. The class should support the methods: _init_():initializes empty priority queue insert(): Takes a number an input and add it to th…
• In Python – in this problem you are given a list of rectangles. The rectangles are represented by a 2-tuple containing their width and height, e.g., (5, 10) is a rectangle with size length 5cm and 1…
• Overview This lesson introduces basic list and tuple construction as well as touching upon some key list functions. Instructions The following tasks will either have you interacting with existing file…
• Task 2: Leap Years &lt;§2.1Conditionals; §3.1 Strings&gt; Part A – Is this a leap year? Write a function is leap year(year) that calculates whether a given (CE) year is a leap year. The function mus…
• I need some help creating a program that meets the requirements in the pictures below:        2.   3.   4.   5.. 1. This program will open a file with a list of folders: Home Courin New 17 IT I…
• The program will use urllib to read the HTML from the data files below, extract the href= vaues from the anchor tags, scan for a tag that is in a particular position relative to the first name in the …
• https://drive.google.com/file/d/1vkBAvCHIGZ1kSo3B3vXQxfXP7D1C36B8/view?usp=drivesdk This is the user data file. Exercise 1. Define a function sortTupleList by modifying the above sortList function to …
• 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…
• Question 1. Use your newly defined function to calculate the observed statistic from Emily’s experiment.
• I’m having this issue, am I missing something on this format? LAB ACTIVITY 5.18.1: LAB: Swapping variables 0 / 10 main.py Load default template… def swap_values (user_vall, user_val2) : return user_…
• I am attempting knn and need to make an elbow plot. I am not sure which data to use to plot it however. Do I use X_train, X_test, y_train, y_test, error1, or error2??? error1= [] error2= [] for k in r…
• Write a function timetable(zid) that, given a student number returns the timetable of the student in the format shown in the test cell below. NOTE : Your function should still work if new courses, t…
• this one is not to making the program, yet. This time what i need is to work on question So all i need is a answer rather than the building program. I have multiple references, Including the program t…
• A new product was rolled out and the database (mySQL) was exposed and hacked by an external party. As a cloud service engineer, what are; the immediate measures you would put in place to prevent furth…
• Table of constants and variables (check the assignment question on what to include in this table) 2. Draw flowchart (use draw io online tool) or pseudocode 3. Program source code (with proper comme…
• Please read it carefully and do it do, as they said PSP_Assignment_2_202003.pdf X Course Hero X . New tab x + X O https://moodle-saibt.axis.navitas.com/pluginfile.php/254371/mod_resource/content/0/PSP…
• Title of Lab: Multiplication Table in Python Summary How to simple multiplication table using nested loops and if statements. Prompt the user for the size of the multiplication table (from 2×2 to 10×1…
• Dictionary a) Define a function createUser() with an arbitrary dictionary parameter. This function returns a dictionary based upon input arguments. b) Define a function printUser() with a parameter…
• Compltete the following exercises in Python using https://py3.codeskulptor.org/
• I have read a csv file into Python as df and saved it as a new data frame called Master_Clean. The csv file contains information about job listings. I’ve attached a screenshot of part of the csv file …
• Question 8 1 pts You are writing code in Python that will add together a list of quantities. You need to determine how many elements are in this list. Which Python function allows you to do this? inde…
• Hello, I need help with a python program. References are in the comments. Here are the restrictions: You CANNOT use: recursion break/continue imports (except csv, which has been provided) dictionaries…
• . In this program, we will be working with classes and their various functionalities. This program should: Have three files, modAccount.py, testAccount.py, and modAccount.html. In modAccount.py, cre…
• TOPIC: PYTHON AND SQLITE Database Many different kinds of databases exist. Some are like a dictionary that automatically saves itself on disk, while others store backup copies of the objects in a prog…
• The final exam will provide you a detailed program template to follow. What you need to do is to &quot;fill in the blanks&quot; and submit a completed version of the template. This template splits cod…
• JSON 1. Write code to generate a JSON file from an object and print the output 2. Write code to import JSON data into a object and print the output json_file.txt   Download json_file.txt (https://dr…
• Given the code in the image below, 1. Determine the recurrence relation of the code assuming both appending to a list and string concatenation run in constant time 2. If a has length n, what is the wo…
• can you explantion this question and find correct answear for me. Program 2 – Superhero Results: Learning outcome focus: Decision Structures File name: a1_2_superhero.py This program helps determine t…
• Hello, I’m going to attach all of the questions as a picture. Please also show easy-to-understand steps. Still, if specific problems need a little explanation, then a tiny description would be much ap…
• Please refer to the attachment to answer this question. This question was created from A2TheLaptopShop (4).pdf. Additional comments: “what is the code that we should use ?”
• Written in Python 3. Due as soon as possible. I’m brand new to Python and this question is way above my head. I’ve tried to put comments to explain my thinking in lieu of code since I’m not sure what …
• One problem that arises when naively modeling stock price as a random walk is that simulated prices are not guaranteed to be positive. In the case of a simple random walk, we are assuming stock prices…
• This is the code that should be modified: # name : [age, sex] Club_members = { “John”: [20,”male”], “Elvis”: [21,”male”], “Sarah”: [20,”female”], “Joe”: [23,”male”], “Marwan”: [24,”male”], “Haya”: [36…
• Implement and test the following BST method: def preorder_r(self): “”” ——————————————————- Prints the contents of the tree in preorder order. (Recursive algorithm.)…
• I ran following program, which returned following columns: pretty_print_sql(f””” WITH actors AS ({actors_query}) SELECT      a.nconst,     a.name,     t.startYear – a.born AS age, …
• Create the different data types, data structures and Abstract Data Types  (b) Create the appropriate use of built-in data structures.  (c) Create a tabular form of the differences between the bu…
• I need help editing the starter code below. I’ve attached the screenshots of the python code. The cache data in yelp_data.txt is located in the drive folder below. Please get back to me asap. https://…
• Use the array words and the method join to make two strings: “How is Fortnite, compared to, Apex Legends?” (call this one with_commas) “How is Fortnite compared to Apex Legends?” (call this one…
• Apply Train_Test_Split to the Iris dataset, then apply Chi merge (coding without data split available on https://github.com/raiyan1102006/ChiMerge )
• Create a Python program that meets the requirements outlined below. Create an automobile class that will be used by a dealership as a vehicle inventory program. The following attributes should be pre…
• You will have an error-filled Phthon programs, which you can download by right clicking on the file name then choose Save Link As…. This program assumes that a file containing a series of integers …
• Q 6. Write a program that counts the frequency (or number of the words) used in the string below and also counts how many times the word “know” occurs in the string. (5 pts) I know you know what …
• Please help.. Task 1 LESSER OF TWO EVENS: Write a function that returns the lesser of two given numbers if both numbers are even, but returns the greater if one or both numbers are odd lesser_of_two_e…
• using recursion  and the is_divisible function from Section 6.4. Your program may assume that both arguments to is_power are positive integers. Note that the only positive integer that is a p…
• Introduction This practical work consists of developing a set of function definitions that allow you to generate mazes and draw them with codeBoot. In this work, you have to imagine that you are the p…
• # Q6 (2 points) # Prompt: Please create a function, exampleSix, that will have one input array and one singular int # Isolate the array so that it is only the 2nd, 3rd and 4th elements. Next, add the …
• Made the python code of this scenario: As you get close to graduating MIT, making a decision to little profession making plans. You made a graph of your options in which the start node is M = MIT and …
• Please assist with getting the following code in Python to work.    def update_word_display(word, guess_list): # here is where we take in the word, and the letters a user guessed # return a list dis…
• CHALLENGE ACTIVITY 2.7.2: Compute change. A cashier distributes change using the maximum number of five-dollar bills, followed by one-dollar bills. Ex: 19 yields 3 fives and 4 ones. Write a single sta…
• Plz do it in Python and also show me the output for a program Add code to print a report of average temperatures for each month. Use two lists, day_count and temp_sum if month_number is the number of …
• Lab Assignment #2 – Apply Logistic Regression and Support Vector Machines algorithms to solve various classification problems. Purpose:The purpose of this Lab assignment is to: Design and implem…
• You will create a glossary (dictionary) of technical terms and definitions. It will be set up as a Python dictionary structure. The file glossary_starter.py is a complete starter framework for the ass…
• Given a string as below, write code that uses list comprehension to reverse the words in the string. You need to use the reversed() and join() functions. Albeit, this solution is just one line of code…
• Overview In this assignment, you will gain more practice with designing a program. Specifically, you will create pseudocode for a higher/lower game. This will give you practice designing a more comple…
• **multi_lin_reg.py** import numpy as np import pandas as pd # function name: multivar_linreg # inputs: file_name- name of the train csv file # output: 1xn numpy array [m1, m2, m3, …, b] (row vector …
• Request proper codes to convert dataframes into string to remove stop words. Request you to give a complete end to end code answer for stop words removal after we’ve divided the dataframe into secured…
• Clunker Motors Inc. is recalling all vehicles in its Extravagant line from model years 1999-2002. Given variables modelYear and modelName Write a statement that assigns  True  to recalled if …
• what are the three types of control structures. Describe how any one of these control structures impacts your program flow. Does any of these structures have to follow a specific order
• # Define variable to hold grand total called ‘grand_total’ #Define a ‘for’ loop. for ??????? in ?????????: #Calculate the total cost for the grocery_item. #Add the item_total to the grand_total #ﬂu…
• 1 Briefly explain what a method is and describe the three main parts of a method. (7)   Q.2 By making use of an example , show how method overloading takes place. Also indicate how overloaded meth…
• Part B.1: Computing the Euclidean distance &quot;Euclidean distance&quot; is simply the distance of the straight line that connects two points in Euclidean space. It’s basically the distance &quot;as …
• The script should have a Shebang line The script should have a comment line which contains the word “Author:” and your full name The script should have another comment line which contains the word “Au…
• Please I need help in this question as attached   . Lab 7 – Web Scrapers and Spiders Hide Assignment Information Instructions Lab 7: After reading the materials from this week’s topic, research onli…
• If you have any issue to follow the instructions or read the image , please go directly    https://www.cs.utexas.edu/~byoung/cs303e/hw10.html   Note: Driver code is given at the very end      No…
• PLEASE HELP ME WITH THESE PYTHON PROGRAMMING QUESTIONS USE 1. String Operations 2. Python Dictionary 3. Customised matplotlib Plots Activity 1: Create Customized Line plots. Given the dataset of the a…
• Write a script that inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher and then decrypt the encrypted text and display the original plain text.  The…
• Given the pseudocode below: Function Real getScore(String student, String names[], Real scores[], Integer size) Declare Integer counter = 0 While counter &lt; size If student == names[counter] Then Re…
• USE PYTHON PLEASE: BEFORE DO THIS PLEASE SEE THE EAMPLE: import random #I roll dice. I don’t care if it is for the console #or for a fancy smancy GUI. #I only roll a six sided die. class DiceRoller : …
• Using: from PIL import Image import random AND ONLY What you can use from the Image module: – Image.new(mode, size, color): creates a new image (use ‘RGB’ for mode) – Image.open(filename): opens an ex…
• Problem 2. Functional Programming Write all the code for this problem in a file named p3_Lastname_Firstname.py. a) Write a generator gen_rndtup(m) that creates an infinite sequence of tuples (a, b) wh…
• Can anyone please help me why I have got these warnings? I think Im wrong with the for loop part. Could you please give me any hint to fix it? Thank you so much in advance!. Question 5: /15pts Bootstr…
• Consolidating the number of positive sentiments for all videos For all the videos in the usa_video_comments, help consolidate them into a dictionary, with the video_id being the key, and the value pa…
• Link to Data: https://www.dropbox.com/s/8sgw5bv5kg8nnto/hw3q2-data.zip?dl=0  To be done using scala/apache spark List the top 2 days of the week with the largest number of daily average pick-ups, alo…
• solve the following please use python Global Constant Real CALORIES FROM FAT CALORIES_FROM_CARBS main() getFat setFat (Ref inputFat) [gramsFat, caloriesFat) Display &quot;Enter caloriesFat = gramsFat …
• Peaches! is a guessing game you can play with the computer. The computer will choose a random 3-digit number (no repeating digits!), and you will have to try and guess what the number is. After each g…
• python question   I would like to parse a csv file contains id number and name with it. After that bubble sort it and write the output to a new file.   example of the csv
• How can I build a basic function using slicing to reverse a string? I am having a major brain fart…I know I can use [::-1] to reverse the string, but how can I use it in a function?
• Make 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 Lib…
• I have R code that needs to be done in Python3 code in jupyter notebook. I am just learning both languages. These are the few I’m stuck on. Thanks for any help. PROBLEM A m&lt;-matrix(y,nrow=5) m PROB…
• Q: Write a program and that calculates and displays different suggested tip amounts, much like you see at the bottom of restaurant bills.    Please Include A Program And Two Ways of Output (The same…
• Problem 3: DNA and amino acids (Section 3.3) In this problem, you’ll write several helper functions for manipulating DNA sequences. These functions will be useful in subsequent problems where you’ll a…
• I could use some help with how this would be done You are given a unique RSA public key, but the RNG (random number generator) used in the key generation suffers from a vulnerability described in the …
• 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 …
• . Write an object oriented Python program to analyze the following air standard Otto cycle and output T-s and p-v plots. Specifications for the cycle: compression ratio = 8, v1=0.02ft’, T1=540R, P1=…
• Hi i need help with this code in python #Menu system displays – ask user if they want to guess a number, have computer guess a number, or exit #Random number, loop while true #ask user for number. Che…
• Based on the following  game we designed in the class create two separate two players game!:   def guessing_game():     rand_num = randint(1,100) # we generating a random int 1, 100     counter …
• Use the file stopwords.json to only count uncommon words (words that are  not  represented in the stopwords.json file)
• . Instructions Write a simple Python program which asks the user to input a value for a? and a and then prints the result ofthe following mathematical expression: You should replace \ Requirements ….
• Implement the MYPY Phone Book System in Python as per Figure 3 below which allows users to add, delete, update and lookup phone numbers. The MYPY Phone Book System should store the individual’s Full N…
• the question is described below, exercise 5. it is a beginner python question. Iocalhosl 52.1mm» [w 13 . – – League of Legends [I 13 \pagebreak on.min.)s 201.”an [w 13~ Exercise 5: Python Coding Su…
• Please answer!. 601 40 20- -10 -5 0 5 10 -201 A cubic polynomial is a function of x of the form A x3 + B x2 + Cx + D, where parameters A, B, C, and D are real numbers. Consider three concrete examples…
• Develop a small game called TryYourLuck. This game should be written in a .py file and should do the following:  – It selects a random integer number between 1 and 9 and compares this number with the…
• Included are instructions and current code Part 1 – Implementation Implement a queue using a linked list. Requirements: Your code must be in a class named LinkedListQueue. You must implement these thr…
• Python Code: Generate a function with signature obtain_statistics(filename). the filename is a file within the same directory of this python script with each line in the file as a list of numbers. The…
• Write a program to analyze text provided in the Python shell.  Specifically, your program must count how many times each of the 26 letters in the English alphabet occurs in the provided text.  Upper…
• You will make TWO python programs. Program 1: Class Definition Problem Description: Suppose you are asked to design a class named Publication that tracks information about a publication. The class con…
• Hello, I need help solving this Lab simulation, It uses Concatenating strings for types statements and I am very new at python on so I need help solving it. It is very difficult. It is very confusing …
• Write a function called increment, which adds 1 to its argument. An example call is: n=3 a = Increment(n);
• Task • Import the dataset into QGIS • produce a map that colour-codes the locations based on sensor value A • produce a map that colour-codes the locations based on minimal rainfall and uses mar…
• The volume of a sphere is 4/3πr 3 , where π has the value of “pi” . Write a function called print_volume (r) that takes an argument for the radius of the sphere, and prints the volume of the sph…
• INSTRUCTIONS : 1) Please do it in 20 minutes because I don’t have time. 2) Python Programming  3) No use use of built in libraries and built in functions 4) Use Functions name and parameter name is s…
• Case Study Domain – Education focus – Data analysis Business challenge/requirement You are a data analyst with University of Cal USA (Not a machine learning expert yet as you still have not completed …
• python program to record the details of books in a library (e.g., Book Title, Book ID, Author(s), etc.) in a dictionary as follows: Books = {(Book ID, Book Title): (Subject, Author(s), Edition, Publis…
• A(n) _____ is a set of sell-defined logical steps that must be taken to perform a task.
• In this hw3.zip file include everything needed for this homework. Required some knowledge of math to do this hw,and need to do everything in HW3_python file
• 5A : use the following to create Pandas Series object with State and Year as the index. 5B : choose all values from 2010. index = [( ‘California’ , 2000 ),( ‘California’ , 2010 ), ( ‘New York’ , 2…
• Assignment Goals For this assignment, you will practice manipulating values in lists to make sound effects. Sound Background As described in class, sound is really a continuous wave of pressure change…
• PLEASE DO THIS QUESTION USING PYTHON DICTIONARY OPERARTIONS 3. Existing User The function to get the account details of an existing user from the cust_data dictionary. Name the function as existing_us…
• Write a function to   calculate the Gaussian   f(x)=(1/(sqrt(2*π)*s)*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 yo…
• Develop python GUI Application(Graphical User Interface) for matric 3×3 operation such as addition, subtraction, and multiplication including Translation, Rotation, Scaling, Skewing and Reflection of …
• a figure of size 12 inches in width, and 3 inches in height. Name it as fig. an axis, associated with figure fig, using add_subplot. Name it as ax. a numpy array t with 200 values between 0.0 an…
• This question was created from Data_Team_Developer_Tech_Test Assessment.docx (https://www.coursehero.com/file/33440578/Data-Team-Developer-Tech-Test-Assessmentdocx/?focusQaId=15778904) Question 1 : C…
• no chegg.hello there help The solution allows the client code to choose from three different sorting algorithms. These are (1) PR_Queue sorting algorithm (Heapsort), (2) Selection sort using unsorted …
• 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. Write a function to spilt “E…
• I am confused on how to find the sum of this list. Please help. Codio Project File Edit Find View Tools Education Help &amp; Configure. Project Index (static) Configure. BFEDELL sum.py 3. 1. List sum …
• Write a python 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 floating-point value with …
• scm&gt; (load tree.scm)  scm&gt; ( define b1 (tree 5 (list (tree 6 nil) (tree 7 nil)) ))  -question- scm&gt; (map is-leaf (branches b1))
• python script, I suggest that you use either Python’s csv library or Python’s IO library to open the FirewallFileSpring2022.txt txt file. But, before you do that, take a look at the FirewallFileSpring…
• Can u make sure to separate the function and the main file. Also, can u please make sure to use loops (for loops). Lastly, can u make sure to only use one return statement in the function (at the end …
• Please assist for python 2. Here is the code I have started: import Tkinter import os from Tkinter import * #a class representing ImageBrowser GUI class ImageBrowser:   #constructor   def __init__…
• Write a program to record the details of employees in an organization (e.g., Name, ID, Qualification, Address, etc.) in a dictionary as follows: Employees = {(Name, ID): (Age, Qualification, Address, …
• Chapter 4 complete the following Programming Exercises.   #4 Distance Traveled ( but add an input validation loop to make sure the speed and hours entered by the user is not a negative number ) #8…
• Restructure Newton’s method (Case Study: Approximating Square Roots) by decomposing it into three cooperating functions: newton, limitReached, and improveEstimate. The newton function can use either t…
• How to use python to deal with the sales data in Excel? (Cite sources)
• subtract(image1, image2) how would I convert the result of opencv subtraction to an integer
• Sequential Processing Goal:   Compute student GPAs from student records. Input:   First and last name of desired student; student records for all students, redirected from grade-records.txt. Ente…
• Write a program to determine the length of bursts of zero’s in a list of N numbers stored in an list. the program should record the length of the bursts of zero’s in another list. the program should t…
• pls help me Assume a file named parameters.txt already exists which contains the value of two parameters on two different lines. The first number is an integer number and represents the value for A, w…
• 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…
• . 3. (7 points) To study the log-linear demand model, we fit a log linear demand model and obtain a1 = 15 with a tstat 5, b1 = -2 with a tstat -1, and by = 1 with a tstat 3. log(Q1) = a, + bj x log(…
• Your bank has 1000 accounts – valid account numbers are 1 through 999 (account number 0 is for bank use only – users are not given that number). Assume every account’s opening balance is 500 &amp; …
• A program on the basic of following requirements 1.     Prompt the user for the name of the directory in which they want to save a file. 2.     Prompt the user for the name of the file they …
• what is a Python script that reads the current time and converts it to a time of day in hours, minutes, and seconds, plus the number of days since the epoch.
• please use spyder for the coding thanks. Save Ansy Problem 5 (10 points) Write a program that determines the number of distinct letters in a given string. For example, if the string is &quot;Call me a…
• Write a program that takes as input a number of kilometers and prints the corresponding number of nautical miles. Use the following approximations: A kilometer represents 1/10,000 of the distance betw…
• Describe how tuples can be useful with loops over lists and dictionaries, and give Python code examples. Create your own code examples. Do not copy them from the textbook or any other source. Your de…
• process_row(text)  a. goal: return a list of prepared data, processed from the parameter string, which represents 1 customer record b. parameters i. text – a comma delimited string int format “name,b…
• Use code snippets given, write a function called &quot;def first_20_stock_prices(symbols, prices)&quot;, which will take 2 input arguments, ‘symbols’ and ‘prices’. Prices is list of prices in float…
• Please Get To Me Soon o Create a function that will return a string that contains the SQL statement to find all the names of all exhibits and the names of their associated curators. If an exhibit does…
• Find the number of logs in ranges. This function inputs a list of log lengths and returns a list that contains the numbers of logs within each given range of the lengths. Each range spans 3 length …
• Code was off not sure what i did wrong  Using R in Google Colab  The following vector contains self-reported heights in inches for 20 male students.   [ ]height = c(75, 70, 68, 74, 61, 67, …
• Using Python Use the Bank.csv in attachment. Use the following estimation models for predicting customer subscription (y in the table). You should print the cross validation score and confusion matrix…
• Write Python notebook that generates a file containing the following data:​ ​ Email addresses​. Must have an “@” Phone numbers​ Home Address​ Person’s name​ Year born. Use realistic values…
• PYTHON PROGRAMMING USING JUPYTER NOTEBOOK     Can we experiment with the absolute function abs() that converts a number to its absolute value.   A program that asks the user to enter a number. The…
• Thanksgiving is coming so let’s use regex to find valid coupons. There are two versions of coupons: • The first version starts with the company name, amount of the discount followed by a percent sig…
• Can you please help me with this python program Client and Server I still have problems # For GUI from turtle import Turtle, Screen # For Communication. from socket import socket, AF_INET, SOCK_STREAM…
• PYTHON ONLY  Please be sure to attach your code and output  thank you for your help. #1 – Student Registration [ ‘ ‘ J, Complete a program that allows a student to complete a registration form and d…
• Given the following code: list1 = [ ‘Y’ , ‘o’ , ‘u’ , ‘ ‘ , ‘c’ , ‘a’ , ‘n’ , ‘ ‘ ] list2 = [ ‘d’ , ‘o’ , ‘ ‘ , ‘i’ , ‘t’ , ‘!’ ] Write a program that builds a string from each of the elements of both…
• Create a solution algorithm using pseudocode Create a Raptor program using your  pseudocode In physics, an object that is in motion is said to have kinetic energy. The following formula can be used t…
• Im having trouble solving this code. get_last_to_First: (Dict[str, List[str]]) —&gt; DictEstr, ListEstrIl The parameter represents a &quot;person to friends&quot; dictionary. This function must retu…
• Hello, I have a question about mixed integer linear programming. I will first describe the case: Before answering the question, I have to develop a Mixed Integer Linear Programming model that minimize…
• dodgers_tweets[0] Status(_json={‘created_at’: ‘Thu Oct 21 04:18:58 +0000 2021’, ‘id’: 1451040288957292544, ‘id_str’: ‘1451040288957292544’, ‘text’: ‘RT @DodgerInsider: Roberts said early indication is…
• Consider the multi-line string  zenPython  shown below. We will be using this to solve upcoming exercises. zenPython = ”’ The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is…
• I am doing the assignment of Pandas and Numpy. Here is a problem I stuck in. Please help. For the top 75 populous zip codes in the usZipCodeData, how to show a pie chart with the distribution of the …
• The following program (ignoring time for input) has run time (number of operations) proportional to : n = int(input(&quot;Please enter n&quot;)) Ist = i = 0 while i &lt; n: x = int(input(&quot;Enter a…
• openMP programming : Code a parallel program to find the second largest number in the array. Initialize the array with random numbers. Consider an array size as 10k, 50k and 100k, 1000k. Analyse the r…
• I want to add another step into the following code: remove duplicate URLs. from bs4 import BeautifulSoup from urllib.request import urlopen from urllib.parse import urljoin import csv my_url = ‘https:…
• in the backpropagation step the output node (y) error =0.14764437941 but i think it should be negative -0.14764437941 help plz. O G delta learning rule percept X | perceptron example delta r X Homewor…
• . 1. How to define a function f(@, y) = x + y in Python? O def f(x, y) : return x 2 + y O def f(x, y) : return x* *2 + y O def f(x, y) : return x* *2 + y O def f(x, y) return x* *2 + y
• The database DSCI510 needs to be created. Q1. (5 points) Part A. Creating the table with keys and constraints! We’re going to work with the Database ‘DSC1510.db’. In this database, we will create 2 ta…
• https://www.kaggle.com/jessemostipak/hotel-booking-demand (Make prediction, use Artificial Neural Networks, make statistical analysis(precision, recall, F-measure), make data visulization) Algorithms …
• Define a function count_occurrences that accepts:   lst, a list containing integers that can contain multiple levels of nested lists num, an integer and counts the number of times num appears in lst….
• Modify the file  course_dict_7.py  (found in the google link) to include an edit feature that allows the user to change data (room, time, or instructor) for any existing course found in the course c…
• I am attempting to use python to output a mouse. However, I keep getting an error when I attempt to output saying that I have multiple statements found while compiling a single statement. Not fully su…
• + ebapps/assessment/take/launch.jsp?course_assessment_id=_289318_1&amp;course_id=_356060_1&amp;content_id=_11695012_1&amp;step=null emaining Time: 2 hours, 15 minutes, 40 seconds. Question Completion …
• Coursework Assignment CSC-40044 System Design &amp; Programming Deadline: 1pm, 17th December 2021 Three files have been placed on the KLE, containing information in comma-separated values (CSV) format…
• This assignment is specifically meant to test your understanding of HTTP API requests. Please write code for the following functions in a module named homework.py and submit the module file to Grader…
• Complete the function below that will perform a random move for the given player. The function will return the move (from-piece and to-piece).   The pseudo code is attached below:   # return True?…
• import csv ”’     DATA HANDLING EXERCISE     THE GOAL is to feel comfortable working with data records using         LIST COMPREHENSIONS      YOU MAY consult any *non-human* reference mate…
• Why can’t i get my code to print? Submission Question 1: Recursion with Trees – Depth First Search &amp; Breadth First Search Write a Python program using the Python IDE based on recursion with trees …
• I need a one on one tutorial to help my understanding of the python language.
• Please form a program in Python 3 in which all of the requirements are fulfilled as stated above, with Sonia being the first name used. Thank you so much and if you have any questions, don’t hesitate …
• #Machine Learning with Python, Logestic Regression &amp; SVM, simple It shouldn’t Take Time, all The DataSets and Notebooks are avaliable here https://gofile.io/d/3WzseZ from sklearn.preprocessing imp…
• (5 pts) Deﬁne a recursive function named sort; it is passed any unordered list (in which all the values can be compared, e.g., all int or all str) and it returns a new list (not mutating the arg…
• List of Features 1) Read and initialize the contact book from a file or program 2) Display options to user ( features from 3) to 8) ) Display all contacts 4) Add a new contact (name, phone) 5) Sear…
• The implementation below assumes that at each step, there is a 50% chance of following the greedy search, and a 50% chance of performing a different action by going to one of the k closest nodes. ?…
• For this assignment ( project part 1 ), you will be submitting a pdf, doc or docx file. Must include:  A description of what the program will do. This must be a detailed description and thus be at le…
• Question 6 Question 6: Write a program that uses the turtle library to create a bar graph. The program should take two parameter arguments: a list of bar lengths and a standard width. For example, Fig…
• Write program to read a name and the displays it in abbreviated form e.g Dev  Karan Singh should be displayed as (a) D.K. Singh.
• Write a Python function, called getClip say, which takes as input a sound file, the starting point of a clip from this file’s sound object, in seconds (as a floating-point number, for example 0.3 or 1…
• I have created a few codes, and I wonder that in each line, I need help in explaining in # comments which tells what is happening in that line of codes. Note: these two files need to work together  m…
• I have this list [ 9 , ‘Narrator’ , 0 , ‘Herself – Narrator (voice)’ , 2 , ” , 4 , ‘Herself’ , 11 , ‘Michael Vronsky’ , 2 , ” , 4 , ‘Josephine “Jo” March’ , 0 , ‘Himself’ , 1 , ‘Himself – Performer’…
• i want to solve this problem:   Problem : Object-oriented programming In a simple mortgage one borrows money from a bank and makes a fixed-size payment each month for the life of the mortgage. At the…
• The first exercise (40 points) allows a user to display, sort and update as needed a List of U.S States containing the State Capital and State Bird. The Internet provides multiple references with thes…
• Provide a minimal Linux shell command which will run a program called exam.py , located in your present working directory?   Which Python keyword marks a code block which needs handling of run-time e…
• What are the different statements associated with exceptions? How are exceptions handled from a program standpoint that makes it unique to regular program flow?
• How would i code python program that can check whether a given word is a Python Keyword. The program will read the list of python keyword from file Python-keyword.txt.
• http://prntscr.com/l5zcop Need help with this question, thanks!
• Start Jupyter notebook application, create new Python notebook, and name the notebook as your own full name ·      Below that add a code cell to read-in emp.csv file from your com…
• Hi, I would like your help on these question. And please try to explain as if your explaining to grade 7 student. Am very new to coding and i want to learn all I can from expert tutor like you. Thank …
• Create a word problem that involves calculating the volume and surface area of a three-dimensional object. Choose one of the following: Cube:  surface area 6 s2 , volume s3 Sphere:  surface area 4?…
• Write a recursive function crawl() that takes as input: a URL ‘http://reed.cs.depaul.edu/lperkovic/one.html’ (as a string) and 2 non-negative integers. function should visit every web page reachable f…
• Hi, can anyone explain why the output is 14? def foo(x,y): return lambda a,b: x*y + a*b print([foo(1,2)(3,4)])
• 1)   Ask the user for the salesperson name. 2)   Ask the user to enter the dollar amount of the weekly sales of the salesperson. Any negative dollar amount should be rejected and, using a loop s…
• Hello! I need help trying to figure out how to make this code. I am having a hard time figuring it out. I have to make the code work with bash, and I was using notepad++ to write the code. Any advice …
• Ask the user to enter a name or ‘q’ to quit 2.    While the user has not entered ‘q’ ask the user to enter an amount “account balance” 3.    Ask the user to enter a number “amount” 4…
• In the array declared below the element considered to be in the first row and first column can be accessed by what commandDeclare Integer values[3][4] -values[0][0] -values[1][1] -value[2][3] -value…
• How do I write a function that computes the log-likelihood of the following data that comes from negative binomial distribution in python.
• Part a,b,c. Def functions. Question #3 One of PicoSoft’s projects involves word-search-puzzles. Word-search puzzles are grids of letters in which hidden words (strings) are embedded. For the moment, P…
• Complete the code on lines 4 and 5 so that the function returns the average of a list of integers. Save &amp; Run   def gradeAverage(aList):    sum = 0    for num in aList:      average =   ?…
• use loops for the question dont use map. (c) (Advanced) The program above uses energy data from a specific household that is stored in two arrays (lines 7 and 8). Describe how the code could be modifi…
• Suppose that A is a matrix m × n and that B is a matrix of the same size m × n . The element in row i and column j of A is denoted by aij Let  C = A + B  Thus, C will also be a matrix m × n a…
• Implement a map reduce job to the python code below find how many lines are there for each stock_symbol. To read the individual attributes from a row, split the row on ‘,’ and the output of the spl…
• Write a Python program (IDLE 3.9). The input will be how many credits you have registered for a semester. The output will be the tuition fee. Let’s assume per credit is \$ 300. But if anyone takes 14 o…
• Having trouble with this python assignment. I have attached two files here one is the description of the assignment and the other is the file we have to use to complete the assignment. Please if you h…
• Python Code – numerical method   Shifted QR algorithm   write a function QR(A, tolerance) whose input parameters are an n × n symmetric, tridiagonal matrix A and a desired tolerance for the off-dia…
• enerate a quadratic model with y=x+x**2+e,  x and e are both vectors which are normal mean 0, variance 1.  Generate a monte-carlo sample from this model with length m = 20.   Use the functions  …
• You will write a function that will calculate the cost to ship a package.Define a function named shipcost with TWO arguments named weight and distanceThe function will calculate the cost of the shipme…
• Have my programming in python final exam tomorrow! Thank you in advance!  . To get prepared for Test 1: a Review the presentations on Bb (Chapter 1, Chapter 2, Chapter 3 Part I, Chapter 8, and Binary…
• Please used python code.   Numerologists claim to be able to determine a person’s character traits based on the “numeric value” of a name. The value of a name is deter-mined by summing up the values …
• Overview: This week, you have studied additional Python language syntax including functions The Lab for this week demonstrates your knowledge of this additional Python functionality. Submission requir…
• Need help in python. Chapter 7 . Implement an interactive function inValues() that requests non-zero numbers from the user; when the user enters 0, the sum of the numbers input is printed. The functio…
• Using recursion  and the is_divisible function from Section 6.4. Your program may assume that both arguments to is_power are positive integers. Note that the only positive integer that is a powe…
• . Most application depends on data. In loT data is collected/generate by sensors. Since, we do not have access to sensors, we will have to generate data via code. The plotting a sufficient number of…
• # # Author : Date: # This module calculates and displays billing information # for students in the class registration system. Student and # class records are reviewed and tuition fees are calculated. …
• A python file is to be made to determine for each line in a text file the occurrence frequency of each word that appears in such line, i.e. how many times it is found in the line.  The expected progr…
• Task 4   Create a folder called ‘myfolder’ and inside the folder create a file named ‘myfile.txt’. Now write a Python program that does the following tasks- a.       Asks the user for a new fol…
• QB: String/ List / for loop (string) Complete the program below to print the following output from the nameList. You must use a for loop in your answer. nameList = [&quot;tom&quot;, &quot;jack&quot;, …
• . l|| Exception handling [TOTAL 3o MARKS] o All inputs (input functions) in the code are handled with suitable exceptions, including handlers (not just Try-Except construct) [10 marks] 0 I/O calls t…
• Please answer this assignment. I know this is too long but I am stuck with this question. ”’ Assignment #4 Total Points: 100 Below is a simple implementation of a blockchain called PandasChain. This …
• A fibonacci series is defined as a series where the number at the current index, is the value of the summation of the index preceding it (index -1) and (index-2). Essentially, for a list fibonacci_num…
• A wholesale distributor operating in different regions of Portugal has information on annual spending of several items in their stores across different regions and channels. The data (Wholesale Custom…
• Need help with python implementation, not familiar with coding (Your Code section), the theory and instruction I put in the comments for what im trying to do. Thanks again!. def sync (self ) : print (…
• i need python code for this question  i need code which i can copy paste in my ide . . . .. Example 4 Set weights Wi and nodes so that the approximate formula f(x)da = wif (21) + w2f (12) -7/2 &lt;3….
• annuity is a sequence of equal periodic payments .One type of annuity , is a large amount of money deposited into a bank account and then a fixed amount is withdrawn each month suppose you deposit \$10…
• 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 character and then use the float…
• # Inputs import sys A = float(sys.argv[1]) B = float(sys.argv[2]) C = float(sys.argv[3]) # Write your code here We pass in three inputs, A, B and C. You should output A∗(B+C/3) any tips?
• Hello Pls help to solve this using heuristic and graph using python.      . You want to connect the towns so that any town in the district can be visited from any other town. Devise an algorithm to…
• Finish the program to compute how many gallons of paint are needed to cover the given square feet of walls. Assume 1 gallon can cover 350.0 square feet. So gallons = the square feet divided by 350.0. …
• 2020/7/6 Problem Set 8 (Wenting Liu) In [7] : import re column_names = [&quot; (0:&lt;60} {1: &lt;10}&quot;. format (&quot;Name&quot;, &quot;Distance from NQ&quot;) ] json_file = open (‘ Unit08_umich…
• Generate the bottom half of the triangle so that it looks like an “arrow”. For this part of he shape the numbers should decrease and return back to the  first number.. Number 1: Number 2: 1 * 2 * * 3…
• . Design an OOP System for a Calculator. Your design that you submit should at least 2 classes / entities that you would define. Tips: 1- Think of high-level abstraction of a behavior or functionali…
• what language is best for backend programming? for mobile application?
• Using python: The answer for the first 5 parts are provided, however, i need help with the last part: “Try this procedure again but using three clusters (A, B, C) instead of just two.” The goal is to …
• The output has to be exactly the same with the graph below. python, import Matplotlib as plt has to be used Thx Year Asia China HK India Japan Korea 1952 1649.797 400.4486 3054.421 546.5657 3216.956 1…
• A boolean function implementing is_multiple_of_three with input n might use the following line: *   A. return n%3 == True     B. return n%3 == 0     C. return n//3 == 0     D. return n*3   Usi…
• 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: “` …
• def pattern(n): ##codes pattern(1): #- pattern(2): #-#– pattern(3): #-#–#— pattern(7): #-#–#—#—-#—–#——#——-
• use the IN300_Dataset1.csv  (https://kapextmediassl-a.akamaihd.net/IST/IN300/IN300_1905A/IN300_Dataset1.csv)   Write a Python program that shows the frequency of each individual column below:   ?…
• Overview: In this assignment, you will be analyzing principles of event-driven programming, developing an event-driven application, and how to create animation. Instructions: Answer the following ques…
• Code a function called ‘obj_indicies’ ACCEPT Two Inputs: a list, then some object to search for. RETURN a list of the indicies where that object appears in the list. e.g. ([1,2,2,3], 2) should return …
• Mostrar la informacion de manera en grafica de tipo columnas con el titulo &quot;Influence of &quot;Category&quot; on &quot;Lifetime Post Consumers&quot;.&quot;. Tambien redactar un analisis de la …
• Write an if-else statement for the following: If num_difference is not equal to -16, execute total_difference = -10. Else, execute total_difference = num_difference. 1 2 3 4 5     num_differen…
• asks the user for a file name (assume the file has the format listed above, i.e., an email address, followed by space, followed by a name that includes first and last name). Reads the file and based o…
• Write a function called begins_with(prefix, wordlist) that takes as inputs a string prefix and a list of 0 or more strings wordlist, and that uses a loop to return a list consisting of all words fro…
• Complete the class Misspellings, which should be able to correct the misspelling of attribute names: both for getting the value of an attribute and setting the value of an attribute. See the exact spe…
• i tested my code and i got 6 out of 15. can i get help in fixing my errors? i have 5 functions. i attached the function question so you can refer to. #1 def index(d): new_d = {} for key, values in d.i…
• Make a Python program that performs the followings: 2. Then Defines an array of integers from 1 to 10. The numbers should be filled automatically without the need for user inputs 3. Then Find the s…
• https://onedrive.live.com/view.aspx?resid=7831DBEC268CDBE3!1460&amp;ithint=file%2cxlsx&amp;authkey=!AukqUsoZlvksD_4 This is CSV file.  please help my home work . Lab Exercises Tip: Refer to class sl…
• The following code is an example of which programming construct? x = 10 print(x) Select one: a. Iteration b. Sequence c. Selection
• Please solve correctly.  NOTE: MUST USE FILE  I/O  FOR BOTH INPUT AND OUTPUT. Thank you.. Hint 3: Use adjacency list representation of Graph while reading from input. Hint 4: Try to incorporate wfs…
• Using turtle graphics, write a program that displays your first and last initials. Choose a color and penSize of your choice.You will want to draw your first initial, raise the turtle’s pen with pe…
• Rewrite the following JavaScript statement so that it doesn’t use the += operator but still has the same functionality. z += x – 3 * y;
• Setup your environment to access and download latest stock data. Please see instructions below for different tools you can use to get the data. You can use any of the options provided, either Quandl o…
• What is the output of the scenario?  . ‘ll.What is the output of this scenario? 1. l have an input of an array of integers: int[| arr : {4, 100, 2, 5t}, T, —45, —23, 84, 51, 120, 98, -T2 }. 2. I …
• Please see the attached Final R project instructions and data files .
• Meet Ups   Assume that we want to celebrate our accomplishments on data analysis and visualization. In the following three problems, you need to organize several in-person meet-ups for your hometown …
• Programming language is python This project aims to build one big program that enables a user (fruit vendor) to manage a fruit stand. The project is divided into multiple parts, where each part requir…
• Can you help me with this python assignment?   Can you please add comments explaining the part while solving this assignment?  . Program Requirements Create a simple Python application following the…
• Your task is to create a class hierarchy like the picture below. All the classes except Vegetable, Meat, Mouse, Tiger, Cat &amp; Zebra should be abstract. On the odd lines you will receive information…
• Fit the iris dataset into a KNN model with neighbors=5 and the category of observations passed in predict argument new_observations. Return back the target names of each prediction (and not their enc…
• 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, and by appending “!” to the en…
• Update the program to improve the formatting of the numbers and the strings.   Console   ================================================================                   Baseball…
• Help solve this please.. Question 5: Find Level Implement find_level , which takes a tree t and an integer level and returns a list of all the entries that have depth level . If no such entries exists…
• Someone helped me with this a few days ago but here is the python code: def readAndGetFileContent():   gameLogFile = input(“Enter game log file : “)   f = open(gameLogFile, “r”)   filecontent = …
• &gt;&gt;&gt;a=python &gt;&gt;&gt;while a: print a,a[1:]
• #Recall Coding Problem 4.3.9 (Advanced), the free body #diagram problem. If you were unable to solve that, we’ve #included the sample answer in the dropdown in the top left #– feel free to use that t…
• Can someone make a code using if statements please? I’m just starting out too so nothing to complicated. Thanks!
• Securing a network from attacks means a network administrator is watching traffic and user activity. Change detection (CD) is a method used to track changes in your network. CD can detect files acce…
• In this assignment you will create an Employee Database Application by fulfilling the requirements given below. You must first create the classes as described. Then write a driver program that will…
• Python program that reads an unknown number of scores and determines how many are above or equal to the average and how many are below the average? Enter -1 to signify the end of the input. Assume tha…
• Please attach a picture of your source code and its proper run after compilation for the following questions. Thanks
• 2 * 5 – 10 Answer: 4. Write program to convert the length in feet to centimeter. Centimeter=Feet *30
• PS: Please include the source code file, this is a python programming help me.. . Replicate or improve the Cafe Management System below. The GUI should be able to accept values and calculate costs. . …
• – Lines into a string After finishing Q1, take the resulting line of lines in book and convert it into one long string (separated by spaces) called book_string . 9? YOUR CODE HERE raise NotImplemen…
• Assignment: Define a class called Car with the following attributes: Total Odometer Miles Speed in miles per hour Driver Name Sponsor The total odometer miles and speed should be initialized to zero…
• MAke polygons from vertices in a text file and write the resulting geometries to a shapefile. The text file ut_counties.txt has one line for each county in Utah. You need to read each line in, make a …
• having issues with my code, need help to fix the errors. #!/usr/bin/python3 file = open(‘temps.txt’, ‘r’) maxi = -100 mini = 200 min_date = ” max_date = ” def average_temps(max, min):   return rou…
• Given a list containing prices, how do you find the highest priced item and remove it from the list: 1. find the minimum, remove it from the list 2. find the maximum, remove it from the list 3. f…
• This is the code to write if the number is Happy Prime or Sad Prime but I am getting error HELP ME WITH THIS.   def getNumber():    n = input(“Enter the number”) # asking user to enter a number.  …
• function named even_div, that takes two arguments (you can safely assume that both arguments will always be non-zero integers). When this function is called, it should return how many times the first …
• py from socket import socket, AF_INET, SOCK_DGRAM from sys import argv from common import ip_checksum SEGMENT_SIZE = 200 if __name__ == “__main__”: dest_addr = argv[1] dest_port = int(argv[2]) …
• . Write a program using that (i) takes a simple 5 letter password input from the user as following ‘astT’ and (ii) makes it strong by replacing the input alphabets with the characters provided b…
• Output an eight with asterisks.png – CHALLENGE… in Python
• Python Please:   Complete main() to read dates from input, one date per line. Each date’s format must be as follows: March 1, 1990. Any date not following that format is incorrect and should be ignor…
• 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…
• Help- Need the answer in python, Please You are in charge of managing a local softball team, one in which there is a lot of turnover. While you have a couple of regulars, much of the team members come…
• Can someone help me with these PYTHON programs? There are 7 short programs must include the pseudocode. Thanks!
• please help. The significance of the exponents adding up to 1, Le. a + ﬁ = 1, is that this implies constant returns to scale. If all inputs are scaled by a common non—zero factor, the output will …
• PYTHON Write and test a function that accepts a table (2-dimensional list) and prints the contents of the table in a grid/table-like format. Each column should be 10 characters wide and the contents o…
• // Program lets user input scores on four tests // Average is computed and letter grade is determined // Letter grades are based on 90 for an A, 80 for a B, and so on start string name num score num N…
• just part 3 please. part 1 is completed and code needed for part 3 is below. thanks  #import the numpy module… import numpy as np #set N = 8… N = 8 #set Ts = 0.01… Ts = 0.01 #make an list of va…
• My code:  # 2. clear_data def clear_data(): “”” Takes a CSV filename string and clears all of its data except for the first header row “”” open_file = open(“csv”, “r”) if csv.exists(“csv”): csv.trunc…
• Calculate and print summaries of all the data [20]  Requirements  • Define the function summarize(data:dict) that takes the dictionary returned by  load_data as the data parameter and summariz…
• These exercises focus on creating and using our own functions: l def     – defining a function l parameters l return values l calling a function Q1.  Writing function that takes as an argume…
• program in Python that will:       Read a list of guest names from a file into a list.   Enter from the keyboard a guest name into a variable using the input statement.   Search the list to see …
• Have you ever heard of the game Mastermind? If not, below is a short video on the game: https://www.youtube.com/watch?v=dMHxyulGrEk   You will create a similar game, but with numbers instead of color…
• Opening the source web documents in a web browser (3%). Your program must give the user the ability to select and view the source web documents for any of the four runners-up lists in their computer’…
• . (a) Implement a function getPlayers() that prompts for the number of players. The number must be at least 2. The function returns the players names as a list using letters A, B, C, D etc. dependin…
• Write a Python program that accept an integer n and computes the value n + n *n + n*n*n+n*n*n*n
• .. Assignment Overview You are going to write a Python program that prompts the user for an integer and then determines the additive persistence and corresponding additive root, and the multipli…
• Pls give answers as the question requires. (See the ” insert” or “Todo”) Implement the insert_nth_c method for LinkedList below. NOTE that for maximum marks, you must modify the structure of the Linke…
• Create an array named employees then fill the array of names of employees . let the user enter the names and every time after entering a name , ask the user if wants to enter another name or not, and …
• Write an assignment statement that stores in the variable stars a string consisting of one thousands asterisks(*). Do not hard code a string of 1000 asterisks. Print the length of stars.
• Dahlby Outfitters wishes to introduce packaged trail mix as a new product. The ingredients for the train mix are seeds, raisins, flakes, and two kinds of nuts. Each ingredient contains certain amounts…
• Read into R the median prices for single family homes in selected California counties for July, 2019. The R code is provided. The data object will be a data frame, but can be manipulated like a matr…
• Create a Python Program that outputs this mouse: Assignment Instructions Install Python3 on your computer if you do not have it already installed it. You can download it from this website (Links to …
• Consider a simple random walk strating from 0 with steps of 1, 0 and -1 occuring with probablity 0.5, 0.3 and 0.2 respectively. Then we implement a single random walk with 100 steps using the built-in…
• can someone fix this python code please? 8 9 import numpy 10 import matplotlib as plt 11 def f(alpha, x) : 13 return -alpha*x 14 15 alpha = input( ‘Alpha\n’ ) 16 initials= input( ‘ Initial\n’ ) 17 18 …
• The first assignment involves writing a Python program to compute the weekly pay for a salesperson. Your program should prompt the user for the number of hours worked for that week and the total sales…
• Introduction Artificial Intelligence Machine Problem 3 For this assignment, you will implement a program that uses a Constraint Satisfaction Problem (CSP) formulation to find possible schedules of dai…
• I am trying to use bottle API and GET HTTP command to query my database/collection. My url looks like this: http://localhost:8080/read?name=”MY COMPANY LLC” When I use curl on this, I get &lt;p&gt;Err…
• Need help with this python code. Finding a Maximum Numerically 1pm Consider the following equation. g(x) = sinx — x2 Find the value of x for which f(x*) is maximized, x &gt; 0. Your answer should be…
• Problem 3 Create a Python function called printAsterisks that expects one argument, a non-negative integer, and prints a row of asterisks, where the number of asterisks is given by the value passed…
• Use a search cursor on the OTTAWA.gdb\DATA\DA feature class to print the following (a sum):   “Total population in private households by visible minority is:  ______”   Where ______ is based on th…
• TASK After your successful development of the reward points and discount calculator, R4S has decided to further employ you to develop an additional system for storing and retrieving customer details. …
• Exercise 1:  Given the string variable address, do the following: a) write an expression that returns the position of the first occurrence of the string “Avenue” in address. b) Test your respon…
• Write program that generates a sequence of 20 random values between 0 and 99, stores them in a list, prints the list, sorts the list, and prints the sorted sequence. (I suggest you use the list sort …
• How do I fix the calculations? They aren’t working but I did the code exactly how my professor’s example said to. 45:String concatenation and re.. Submit Details Run Instructions Grades File: work/s22…
• Given a list of health points (containing ints/floats)  from various characters in Overwatch and a sequence of instructions (list of tuples), apply all instructions to the list of health points in th…
• How to solve for abs(x) when abs(x 4 /5) &lt; 10 -6 in python?
• Write a Python program that: 1. Prints the number of security alerts issued by US-CERT in the current year. 2. Prints the number of alerts with ransomware in the title 3. Prints the list of 2021 al…
• Create list of random numbers and then create another list from this one whose elements are divisible by three. Also repeat the experiment a few times (at least ten times) and calculate the arithmetic…
• CS1101 – Programming Assign. Unit 7 – UOP. Start with the following Python code.    alphabet = “abcdefghijklmnopqrstuvwxyz”    test_dups = [“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subderm…
• What is displayed when the pseudo code below is executed? Set X = 5 If X &gt; 0 Then    Display X End If If NOT ((X == 0) OR (X &lt; 0)) Then    Display “Not” End If If ( X 2 &gt;= 0) AND ((2 *…
• Correcting the code: #variables number = int( ) Collapse The Basics product = int() counter = int( ) Review counter = 0 #Get number from user 8 number = input(&quot;Enter a number: &quot; ) To your le…
• Write a function that uses filter to return words from a list of words that starts with a given letter. The function will have an input of a string, and output a list of integers. example: find_word…
• (this question is UML related) Create generic superclass Shoe, which has at least 3 subclasses with attributes as shown below: class Shoe: Attributes: self.color, self.brand class Converse (Shoe): # I…
• Given the cosmopolitan society we live in, many of us speak several different languages. function named greet, that takes in a person’s name and language, and  returns  a different greeting string …
• I need helping to solve 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…
• Hi I am working on a data frame name ‘baseball’, and here is the head of the data frame, since there are many columns, the picture is not showing all columns. Although not all column names are relevan…
• There were four candidates in the 2009 Iranian election: Ahmadinejad, Rezai, Karrubi, and Mousavi. The file election-iran-2009. csV contains data, reported by the Iranian government, for each of the 3…
• Inverting an image makes it look like a photographic negative. Define and test a function named invert. This function expects an image as an argument and resets each RGB component to 255 minus that co…
• simple Python program of Monty Hall of  Let’s Make a Deal , offering the user to keep some quick cash or trade the cash and play for the “Big Deal” by picking what’s behind either Door #1, Door #2, o…
• Please help! The table is the data, insurance.csv   I. Create a linear regression model that uses all features and predicts the charges. Built the model using a training and testing set. User a quart…
• . For the following questions, submit working Python code along with word ﬁle that includes both the code and output. Include .py ﬁle with code that can be executed. 1. Using Python 3 on student…
• Modify the program of Project 4 to compute the area of a triangle. Issue the appropriate prompts for the triangle’s base and height, and change the names of the variables appropriately. Then, use the …
• Can someone get me a working program? The ones I have found on your page don’t work. Programming Essentials Team Management Part Three Until now, you have had to leave your team management program run…
• You are an analyst in the RST soft drink company and you are expected to forecast the sales of the production of the soft drink for the upcoming 12 months from where the data ends. The data for the pr…
• When we create a worksheet model using a spreadsheet program such as Excel, we instruct the computer by providing steps it can take to solve the problem at hand. Problem solving in this context is how…
• I need help with this. I am running in circles with this problem.   Reference/Sources:   *https://www.coursehero.com/u/file/48411440/cmpt140-asn08pdf/#question   *popdata.txt. contents:   Saskatoo…
• Q1) Write a Python program to get a list of 10 elements from the user, by using a function: a) Convert the list to a tuple, then get the 8th element and 8th element from last of a tuple and save the r…
• Add three methods to the Student class that compare twoStudent objects. One method (__eq__) should test for equality. A second method (__lt__) should test for less than. The third method (__ge__) shou…
• The problem has various parts. 1. Create and print a 2D list consisting of nine rows and nine columns, and ﬁll each item with with a generic symbol of your choosing (D, 1r, -, etc.). Use the techniq…
• why does for num in range(6):    for i in range(num):        print (num, end=” “)     print(“\n”) execute as 1 22 333 4444 55555
• Part 1 Section 6.2 of your textbook (Think Python, How to Think Like a Computer Scientist) ( https://www.greenteapress.com/thinkpython/thinkpython.pdf ) the link describes  incremental development . …
• please help me to find solution of this,i have tried to solve myself but not succeeded.Thanks in advance Question 3 File concatenation: Many operating systems allow one to concatenate files. a} Design…
• ————————————————————————————————————– I’d like to know the most efficient way to implement two uniform cost searches and run it…
• Part One: make program to draw a picture by defining functions and using Turtle Graphics. Use the following guidelines to write program. Give your artwork a name. Print the name to the output Draw a p…
• As a contractor, would you ever start building a home without some type of blueprint or plans? Hopefully, your answer would be no. It’s the same idea when it comes to designing a program. Programs mu…
• Q1/  Find the sum of all numbers between 1 and 40 which are not multipes of 3; that is, 1+2+4+5+···+40. use while or loop. Q2/  Write a program which takes as input n and outputs the nth Fibonacc…
• Using python, show docstring if possible. Question 3 (6 points): Given strings A and B. an ordered blend of A and B is created by sprinkling all of the characters of A and B into a new string. keeping…
• The Caesar cypher is an ancient encryption algorithm used by Julius Caesar. It encrypts letters by shifting them over by a certain number of places in the alphabet. We call the length of the shift the…
• Simplified sudoku is only true if and only if each area contains all of the digits from 1 to 9 exactly once. Question: Produce a code that checks NxN square of numbers is a simpilified sudoku or not. …
• Design an OOP System for a Calculator . Your design that you submit should at least 3 classes / entities that you would define. Tips: 1- Think of high-level abstraction of a behavior or functionality …
• A hospital is the most sensitive place from where the COVID case may increase. To maintain the social distancing, you are required to arrange seating of patients at a distance in the waiting area. Pat…
• For datasets kindly refer: https://drive.google.com/drive/folders/1YSQmv-UfHjsK3AoLwSAeXLvQXamBbYxP?usp=sharing   1. Perform the following statistical analysis on the fifa world cup dataset. The data…
• how to use python3.0 (juypiter notedbook ) to Make two pie plots of total worth by each industry, for country 1 and country 2. And Compare the two plots. import pandas as pd import pandas as pd  impo…
• Python programming. Please “fill in the blanks” for the following, based on the comments in the code below. The finished program should show a print statement similar to the second image below: from s…
• Use NumPy  to generate a random number between 1 and 100. Accept int input and ask user to guess number. Inform if high or low. Exit when entered number correct. Tell user how many tries it took to …
• Can anyone explain these 2 problems in python? First problem, cafeday() is a function that process all the orders and return a floating-point number depending on the conditions. Second problem, we’re…
• I have a programming problem and i want to solve it within next 24hours The problem is to find the k-mers of a DNA sequence(which is a string of the letter A,C,G,T). A k-mers is a substring of …
• Please give me a cord that is used with Python 3.9. Thank you very much for your help. 1.Download the files  lecture.py ,  card.py , and  deck.py . 2.Examine the Python code in  lecture.py , then …
• Write a program to print following output using for loop  123321 123321 123321 123321 123321
• Question write python module to periodically scan and parse news from newswire website. https://www.prnewswire.com/news-releases/news-releases-list/ Keep track of the already parsed news For all unpar…
• 036, Spring 2017 – Project 2: Handwritten Digit Recognition Issued: Mon., 3/20 Due: Fri., 4/7 at 9am1 1 . A max pooling layer with size 2 x 2 . A flatten layer . A fully connected layer with 128 neu…
• [10 pts] Display the type of the triangle according to the following restrictions: Equilateral Triangle: If the triangle has three congruent sides. lsosceles Triangle: If the triangle has two equal…
• Sorry, the questions were supposed to read from bottom to top. And some functions are given by the instructor. And below are the picture for the data needed.   this is for car.csv this is for data…
• Need to Write a program in python to find the GCD of three integers and please write explanation of your program.
• CODE BLOCK i   import numpy as np import pandas as pd import matplotlib.pyplot as plt   titanic_df = pd.read_excel(‘d:/python/week13/titanic3.xls’, index_col = None, na_values = [‘NA’])   print (ti…
• I am having trouble getting this code to work in Python. What am I doing wrong?
• Need in Python &lt; &gt; learn.zybooks.com C Facebook Course Hero Introduction to Networks eCampus: Home Content 6.7. LAB: Palindrome + = zyBooks My library &gt; CYB 130: Object-Oriented Scripting Lan…
• How to implement the following questions to the code provided?  Code: https://www.filemail.com/d/lufqmwudzckttgu Required: Newest IntelliJ IDEA Community Edition with default settings   Question Num…
• GUI app that calculates Ontario’s 13% HST (Harmonised Sales Tax)  1. Window title “HST Calculator – Your Name”  2. Window is not resizable  3. Prompt for a dollar amount 1. Positive value, disp…
• For example, we have some people classify the sentiment of a couple of sentences. There are two classes: pos (positive) and neg (negative) The classified sentences are listed below   semantic_data = …
• Task 4: Generating the time stamps Write a function generate_timestamp (components ) which takes an input parameter array (a 3D Python list type (i.e., a nested, nested list)), and does the following…
• I’m looking for some help on question 2 that’s displayed in one of the screenshots. It is a qualitative question based off the results from Question 1, which I included in the other screenshot….
• 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…
• Assignment 05 For this assignment you will be writing a series of short programs. Part 1: 99 Bottles of Beer on the Wall Your assignment is to write a program that sings (i.e. prints) the road trip so…
• # [ ] print the True/False results of testing if msg string equals “Hello” string
• lcs(s,t) Without indexing pls.    a function named LCS(S, T), which will accept two strings, S and T. LCS should return the longest common subsequence (LCS) that S and T share. The LCS will be a str…
• How do I write a Pseudocode and create a flowchart for the following python code? #Create list of months month = [‘January’, ‘February’, ‘March’, ‘April’, ‘May’, ‘June’, ‘July’, ‘August’, ‘September’,…
• Using Python, I have two dicts like below. old = {‘A’: 5, ‘B’:10, ‘C’:15, ‘D’:20, ‘F’:5, ‘Y’:10} new = {‘B’: 30, ‘D’:25, ‘E’:20, ‘F’:80, ‘G’:25, ‘Z’:20}   How can I  make the code to calculate the v…
• PYTHON PROGRAM graphics.py   Create a Python program (IDLE 3.9). The program includes GraphWin (graphics.py), move method, getMouse, and checkKey. Create a window with the same height and width. Make…
• Review Ken French’s Data Library.     • Creat.e a Pandas data frame from the “Fama/French 3 Factors” weekly data using the ‘TXT’ file format  • Creat.e a Pandas data frame from the “Fama/Fr…
• Python: Bokeh-draw an interactive bar chart  with a slider   My data structure is as shown below: I grouped by day_of_week and pickup_hour, and there are 3 variables: number of rides, day of week, p…
• Define a function named  make_line , which takes five arguments, where the first argument is the color of the line to draw, and the last four arguments should each be a number that represent a point …
• [1 points] Using the ‘Neighborhoods’ layer in the OTTAWA.gdb/DATA feature dataset and the field DISSOLVE, create code that uses the Dissolve function on that field.  Your code must check if the layer…
• You are to create a program that does the following: Asks the user to name of employee Ask user to enter number of hours the employee worked this month Ask user to enter employee’s pay rate Evaluate i…
• IShort Description 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…
• Draw an inheritance diagram that shows the inheritance relationships between the classes&quot; a ) Classroom Classes 3 01.5 Person Instructor Employee* Classroom Student 60 ) Traffic simulation Cl…
• We used Python’s sklearn library to calculate the simple linear regression model and then evaluate its performance. I want you to write these functions yourself, without using the functions of this li…
• I am creating a game in my python class, and can’t figure out why my ship is sideways. Instead of the front of my ship flying forward when I press up on my keyboard, it flies to the right. If I turn m…
• Design an algorithm using pseudocode or a flowchart to meet the program specifications. Your algorithm must use appropriate constructs. Algorithm Pseudocode: 1-     Generate a Random Number betwe…
• https://www.tensorflow.org/text/tutorials/text_generation https://arxiv.org/abs/1503.04069    . 3 Recurrent Neural Networks for Languange Modeling [ZDpts] Read “LSTM: A Search Space Udysaey&quot; …
• Using python I am trying to make a class to represent cars (automobiles) and name it Car. This class needs to store the following attributes about each object: ·      Year – What year is the c…
• Task One: Design A Solution For this portion of the lab, you will design the solution to a simple program that simulates a coin machine. You may draw a flowchart or write pseudocode. If you draw a flo…
• In introduction to python programming describe and explain what reading and writing files are and give an example using python 3 program or the following website. https://repl.it/languages/python3.
• What is List Comprehensions feature of Python used for?
• This is computer use online gdb u guys are dumb af Calculator- 1- Ask the user to enter two numbers 2- Display the result of the addition, multiplication, division, subtraction, Modulus, Floor divisio…
• 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 it has any effect (50 neurons)   3-Add one m…
• why is a try-except construction required in this code? Thank you
• Assignment#3 Assignment 3 Assignment 3 (Due in Week 8) 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 b…
• Game play and rules: • The player and computer each start with \$50. An amount of \$10 is already in the pot. • The ante (the amount required to play) starts at \$1 and doubles every five rounds. •…
• Please answer question #1 below:   PYTHON QUESTIONS Implement a function called “sqThirds” that takes in an integer, x, inclusively checks all integers from 1 to x , and saves that integer squared in…
• I’m trying to get this program to keep asking to guess a number until the correct number is guessed but it only asks one time. How would I get it to continue repeating until the correct number is gues…
• Q1 – Creating a Class 1] We can start with a class object to make a ‘schedule book’ for our course Office Hours. Create a class called of f iceI-Iours – Class Attributes: I course , which has the …
• This regards dictionaries. My function name is clist which is supposed to be list of list. It gets random numbers (range 1 to 100) and will add, and and fill a 10 x 10 2d list. Then it will return it….
• Write a python function named modCount that is given a positive integer, n, and a second positive integer, m &lt;= n , and returns how many numbers between 1 and n that are evenly divisible by m.
• I’m working on a python3 coding for Cve-2018-4878. while compiling the code it keeps giving me errors. I’m stuck and do not know how to change the code. Please help   The error message ┌──(root…
• Make an application which takes various questions from a database, picked randomly, and puts together a quiz for students. Each quiz can be different and then reads a key to grade the quizzes.   Incl…
• You must choose at least 10 stocks I will provide you with instructions on using AlphaVantage web JSON API, but you can use another if you like. Your analysis must include 3 strategies.  You can reus…
• Please help I am getting an error code at the end of my python code for a text-based game. If possible is there a way to get the user to enter Q to quit the game after the last room is reached and not…
• Q2: Select a number randomly with probability proportional to its magnitude from the given array of n elements consider an experiment, selecting an element from the list A randomly with probability pr…
• https://drive.google.com/file/d/1z2luZi6RtoR036a75Uh2vBDDJOBFhF2j/view?usp=sharing    . class Employee: def _init_(self, name, salary) : self . name = name self . salary = salary #### Accessor Metho…
• Notifications A key part of an alarm is notifying the user to an event. The smart alarm will use two types of notifications. For alarm notification announcements we will use text-to-speech voice annou…
• Program Description In this project, we are going to simulate using a dictionary as a gradebook. Create dictionary containing student names and test scores with possible values 0-100. Allow the user t…
• A pair of natural numbers (m, n) is a Betrothed pair if: – the sum of the proper divisors of n is one more than m ; – the sum of the proper divisors of m is one more than n . For instance, (48, 75) is…
• Q4: Write a Python program to accept a string and return all words in the string that are enclosed in quotations marks (single quotes or double quotes). Enter a sentence containing a word in quotes: …
• Hi there, I am trying to troubleshoot an assignment with the following guidelines: 1. Read the file 311_data.csv provided and store the data in a dataframe. 2. Have a dataframe containing the colum…
• . In [ ]: from pyspark import SparkContext from pyspark. sql import SparkSession from pyspark. sql . window import Window from pyspark . sql . functions import col, expr when, \ desc, first, last, r…
• . Goal: Practice writing recursive functions. * You can use your editor’s debugger to trace though the recursive function calls on a call stack. ( https://eclass.srv.ualberta.ca/mod/url/view.php?id=…
• Design an OOP System for a Calculator. Your design that you submit should at least 3 classes / entities that you would define.
• Advanced Computer Language – Python and Perl Module 1 – Introduction to Programming in Python 1 Prompt and read input for start value 2 Prompt and read input for stop value 3. Prompt and read input fo…
• Tic-Tac-Toe in python  We all have fond memories of playing Tic-Tac-Toe with our friends in school, don’t we? It is one of the most fun games you can play anywhere – all you need is a pen and paper! …
• Please do assignment in Python Write an program that first reads in the name of an input file and then reads the input file using the file.readlines() method. The input file contains an unsorted list …
• Using the following formula f (i, j) = sin (2 π f (i + j)) where i are j indices of a pixel, draw an image with different frequencies (input from user).
• Two numpy array: filter_arr: [[  0   0] [  1   0] [  2   0] … [146 148] [147 148] [148 148]] vp_arr:  [[  0   0] [  1   0] [  2   0] … [147 149] [148 149] [149 149]]   I would like t…
• How do I code for this?. Lllrygl 20120820b Decimal —&gt; binary conversion Convert a decimal integer to binary format. Example: 156 in binary format: quotient remainder 156/2=78 0 78 /2=39 0 39 /2=1…
• Can anyone help me explain how to execute get_threshold ?. o get_country ( ) Function purpose: prompt user for country name Function parameters: prompt Function return: country name Function body Prom…
• I need of a function named sumList and add that in the placeholder. ####sum It should sum all the numbers in the list. I have come up with the code as follows. import random import math def fList(coun…
• consider an affine of aes key expansion. emagin that we have w[22]=01 32 45 76(in hex) w[25]=89 BA CD FE (in hex) Calculate w[26]and express your answer as 8 HEXcharacters.
• When I run this, there’s no error, however when I run the line df[‘month’]=df[‘date’].apply(extract_month) it gives me this error Is there a way to fix it?. a + Code Python 3 (ipykernel) O # O [5]: df…
• 5 Celestial Bodies O This lab will be available until February 12th, 11:59 PM MST A simulation of the solar system would contain many different celestial bodies such as stars, planets, or moons. We…
• Aim and scope Classification of selected image data  2. Dataset a) The dataset can be freely selected from any open source (any image domain is allowed, e.g.  satellite or airborne, daily life, b…
• Hi! Please form a program that does everything as stated below! Please answer as quick as possible!. NFLPlayers = [ &quot;Kupp&quot;, &quot;Humphrey&quot;, &quot;Jones&quot;, &quot;Brady&quot;, &quot;…
• How do I capitalize the first letter in a user input in my code?  I want to use the upper() function but not sure if I need to put it under the userIn and write it as capitalize_answer = userIn[0].up…
• Python Programming Develop a class Meal Card that keeps track of a student’s food purchases at the campus cafeteria. A meal card is assigned to an individual student. When a meal card is first issued,…
• 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…
• need for 5b only .. 5a is there Question 5a [4 marks) Provide code to deﬁne a class movie to represent individual movie objects. movie should include title, year, rating, director(s), quotes list an…
• Trading Outage On a given day, Akuna makes at least one trade each second. However, there is a blip – a temporary outage – on the exchange side such that some trades are m issing. You will be given…
• Design and implement a backtracking algorithm in Python that outputs all subsets of {1, 2, . . ., n} and a count of the total number of subsets. Show the results of your algorithm for n=3, n=5, and …
• I am getting an eof error for the python code I have written. Can anyone help? from datetime import datetime, date import time def diff_dates(date1, date2):  # function to return number of days betwe…
• dont copy from internet pretty_print_sql(f””” WITH actors AS ({actors_query}) SELECT     a.nconst,    a.name,    t.startYear – a.born AS age,    t.startYear,    t.primaryTitle,    a.profe…
• How would you do the following using Python code: This lab consists of two parts. The first exercise (40 points) allows a user to display, sort and update as needed a List of U.S States containing the…
• create a 5-minute video showing the following: Three (different) samples of what your program does. These must be the same as what you laid out in part 1 of the project Pull up your code and show at l…
• How do i make a loop that removes pairs of characters that are the same in a list? Just like below   &gt;&gt;&gt;remove_pairs ([‘9 ♠’, ‘5 ♠’, ‘K ♢’, ‘A ♣’, ‘K ♣’, ‘K ♡’, ‘2 ♠’, ‘Q ♠’,…
• How would you write this in the Python Language? [10 points] Write a function that implements a substitution cipher. In a substitution cipher one letter is substituted for another to garble the messag…
• HELP PLEASE. &quot;four task. is to design the power interface between the FMdE and a heater. like that for the nozzle of a 3D printer. You can think of the heater like a simple resistor. The design s…
• def master_yoda(string): “””Given a sentence, return a sentence with the words reversed. This function takes a string and returns a string with the words (separated by a space) reversed. You may *not*…
• After the following statements are executed, what are the values of m and n? m = 15 n = 5 n = m a.n = m is False b.m is 15 and n is 15 c.m is 15 and n is 5 d.m is 5 and n is 15  e.m is 5 and n is 5
• *Jupyter notebook/Pyhton 1) Perform LDA. Your dataset should have just one dimension. Visualize this training data  2) Fit a logistic regression model on this dataset. What is the model accuracy on t…
• def loopy_madness(string1, string2): # finding length of both strings len1 = len(string1) len2 = len(string2) # finding maximum length between two strings # now the target will be to match the size of…
• Hello, I have R programming questions. I need your help. Thank you so much.   Note: Reference below  ( Filename:   AdmissionPredict.csv      )       Note: Reference below  ( Filename:   Adm…
• Which of the following time-series models are stationary: (There may be more than one answer) A. Linear trend B. AR(1) model C. White noise D. Random walk E. ARMA(1,2) model F. ARIMA(1,1,1) model
• Let’s start by taking the contents of the page above (some_page) and asking Beautiful Soup to process it. Let’s store the result in object named soup, and then explore its contents: In [2]: from bs4 i…
• Code and include the following for satisfies, selection and linearly ranked functions. A one line short summary of what the function is computing, input/output specification of the function , explain …
• The management of your team wants you to run descriptive statistics on the relative skill of your team from 2013-2015. In this project, you will use the variable elo_n’ to respresent the relative skil…
• Some tablet PCs can be connected to a keyboard and a fullsize______________
• I only need part d and e in Python regardless of net_util_data.m, just give the code is ok!! HELPPP! Here are the solutions for part a-c: 1. We consider a network with m edges, labeled 1, …, m, and …
• Implement the design of the Laptop and Store classes so that the following  code generates the output below: print(“Total Laptop Created:”,Laptop.total_laptop) print(“1.==============================…
• The Gutenberg file can be found in this link below: https://www.gutenberg.org/ebooks/1513. In the preceding code, snippets [1] -[3] get a web page. The get function receives a URL as an argument and r…
• Develop two learning algorithms from the scratch: batch and stochastic gradient descent for this problem on the Auto dataset given in (Library ISLR). Compare and contrast the performance among your ba…
• There are various selection structures that can be used in programming.  What are the different relational operators used in selection structures in the Python programming language?  Also, explain w…
• python solution- Read two numbers N1 and N2 from the user,and in one line of code interchange values of the variable and print it. You are NOT supposed to use conditional statement for this project.
• I’m missing some steps in this I’m trying to fix the function to properly output. Could you give me some explanation to how to complete the steps of this function with errors funtion called 50 20.0 3….
• . Unpacking a list In [6]: # use range and List comprehension to produce the List below print (f&quot; {nums=}&quot;) nums=[ ’10’, ’12’, ’14’, ’16’, ’18’, &quot;20′, &quot;22′, ’24’] In [7]: # unpac…
• Grep command Test your grep command skills by completing the following tasks: Create a file named diff.txt inside your ~/workspace/project-log/ directory with the following format: Version : 2.0…
• Overview: You will write 1 Python program in JES that uses a command line argument passed to a main function named mainFn() that you have written. This mainFn() takes 1 argument that is a string. The …
• 27 – Python Activity 10 coding python core def sort_ascii (filepath): Read all lines from file in ‘filepath&quot; and return a list of all lines in case-insensitive ASCII order. Remove all linebreaks …
• The formula that calculates roots for a quadratic equation ax 2 + bx + c is the quadratic formula . Because the square root of a negative is imaginary, one can use the expression under the square root…
• please answer. Question 22 (2 points) Given that the following code has executed, what is the value of mystery? linel = ‘I ate the cake’ line2 = ‘2 Fast 2 Furious’ mystery = (line2 [7] + line1 […
• Do a flowchart of the algorithm for the following problems: A company is giving out bonus to the employees relative to the number of years worked. For example, if the person is employed for 1 year or …
• I am suppose to write as simple as I can in python and follow directions for problem 2   import rsa import stdio import sys # Entry point. def main():    def keygen(lo, hi):    # Accept lo and hi…
• I was given an assignment on Image Processing with Python and I am stumped on the final two steps. No matter how much I fiddle with the code, I cannot get it to produce what I need. I have completed t…
• Problem Description You are required to develop a banking system in which a customer can deposit cash to a checking account, withdraw cash from the account, query the balance of an account, or tran…
• Look below for the attachment. The goal of this assignment is to practice reading and parsing through files on the web. In order to complete this task, students will need to have an understanding of …
• Given a sequence of numbers, determine if  the next number has already been encountered. For each  number, print the word YES (in a separate line) if this  number has already been encountered, and …
• Need help with this python assignment! I’m really confused on how to do this assignment. Please follow the given instructions and have the output be the same as the sample output shown. Please code th…
• . 1H: Verﬂylbefooﬁnuﬂyofoﬂnﬂiooﬂoﬁnl A. necessary, but not sufﬁcient. condition for a function to he differen— tiable at a point is that it must be continuous at that point. That i…
• Perform all the steps using git commands Git Hooks handson(Write a script in post-commit). Your local repository is test Step1: List all the files in current directory, go to the .git folder and go to…
• I am at my wit’s end! This is what I am trying to create, and I am leagues from it. I just need to be pointed in the right direction as I am clearly off task. Thank you!     # Program will calculate…
• Write an Python script to read a text file of phone numbers in international format. Display the name of the country based on each phone number. Must use function with argument to do the task. [You ha…
• please help code! B. The Royal Montreal Dominion Bank has a fee schedule for different types of bank transactions, depending upon the initial balance in a person’s account: Transaction Fee Initial Bal…
• Here’s the question, the skeleton code, and the required class/imported methods. from a1_include import * def is_sorted (arr: StaticArray) -&gt; int: “”” TODO: Write this implementation “”” return 0 #…
• . Assignment Specification and Requirement The table booking system allows table bookings, table allocations and relevant status checking. The customer who requests a booking needs to provide their …
• In python. Write a function remove_shorter_strings that takes a list of strings as a parameter and that removes from each successive pair of values the shorter string in the pair. For example, suppose…
• Thank you, 1,First and second drop down both( user, cpu, complier, screen) 4.drop downs( more Complex, much simpler, shorter, longer, harder, easier) 5 drop downs(Correct Syntax Name or …
• INSTRUCTIONS: Complete the following Python program that computes for the histogram of a given image. The image is read from a file “image.txt” and the output is a list containing the image histogram….
• Code these Parallel Computing questions as soon as possible: 1. Develop a parallel program to find a given element in an unsorted array (a large number of elements starting from 10K can range to 1 lak…
• Your program will be evaluated using the inputs &quot;happy&quot; and &quot;sad&quot; for the Thesaurus and Corpus we have provided, along with other test inputs as well. Keep in mind that you can pri…
• Python Programming 1- Please write a function called ends() that takes a list and returns a new list that contains only the first and last elements of the list passed to it. For example: 2-Trace the f…
• Matrix multiplication py code as shown in the pictures(5 times).Thank you
• Finite State Transducer for Swahili numbers Based on Table 1 given above, build an FST that receives any given number in Swahili as input and outputs the equivalent transliteration of the number in En…
• what is the answer What would be the output of the following program? aa = [‘c’ &quot;t’ ] aa = [‘p’ ‘ch’]+ aa aa [1] = aa [6] aa = aa[ :2] + aa [2:4] + aa[3: ] print(&quot;&quot;. join(aa) ) Select o…
• prints a table showing the integers from 1 through 10 and their squares . Your output should be formatted neatly in columns as shown. When the table ends, the program should display the total of the s…
• Can someone explain how to do this? Missed this one on a test! Will give a thumbs up Thank you Given the following challenges, use append(), extend(), pop(), and insert()to change the contents of the …
• I have a question. I have written the below code and works fine. In the code there is a class named Procedure. One of their attributes is charges (self.__charges). I had to create three object…
• . STOR 120 – Take Home Midt X STOR 120 – Take Home Midt( X code-eirb4asd.ipynb X Which_Justin_120.csv + C H Code Python 3 (ipykernel) O Question 2.1 How similar or different do we expect the attribu…
• 1) The question screenshot has been attached down below:    . 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 00 01 02 03 04 05 06 07 08 09 10 11. 12 13 14 For this question, you will use two pairs of …
• Q9 File I/O 6 Points 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 b…
• v = [19, 3, 5, 5, 17, 7, 11, 13, 2, 23, 17, 13]   Create a function mean ( v , axis = None ) which returns the mean of v . The return value depends on the value of axis as follows: 0: returns the mea…
• Escreva um programa em linguagem Python que pede ao utilizador para introduzir um número inteiro e que posteriormente escreve uma mensagem a indicar se o número é ou não primo. Um número primo é…
• I am trying to define a dictionary entry for each unique packet observed Unique Packets combination of SRC-IP, DST-IP, Protocol you will keep track of the count of each unique packet in the dictionary…
• California 1973 20,601,000 9 Colorado 1973 2,437,000 7.9 Connecticut 1973 3,076,000 3.3 Delaware 1973 576,000 5.9 Florida 1973 7,678,000 15.4 Georgia 1973 4,786,000 17.4 Idaho 1973 770,000 2.6 … (34…
• This is a Jupyter Notebook assignment for Python. You will be reading in 14 csv COVID-19 files which I will provide, I also have additional files as well to help you with the code, but I will provide …
• What is wrong in this code? import math A = float(input(‘ Enter the Initial Displacement of object: ‘) G = float(input(‘Enter the Spring Constant (N/m): ‘) M = float(input(‘ Enter the Mass of suspende…
• can i get help in coding this function? capitalization(d) [20pts] Description: It takes a dictionary d that has the structure you see below, and modifies it in-place by replacing the first character i…
• The following code needs to be edited with the following instructions, and the attached text is the txt file needed for it. &gt;NC_045512.2 Severe acute respiratory syndrome coronavirus 2 isolate Wuha…
• Can Tutors help me with Task 2 to discover the plaintext password behind the hash? What python command to discover this password?   By now we’ve learned that hashes are one-way functions. Because …
• Problem Statement Businesses or companies can fall prey to default if they are not able to keep up their debt obligations. Defaults will lead to a lower credit rating for the company which in turn red…
• I need python code based on this question. Make sure you run it through sample as well 2. Write a program that lets the user solve random quotient problems: Import the random module to implement the f…
• fill in the binary values for each of your controller commands. These codes will represent the digital instructions to make the Fabio character move. Indicate how each binary sequence is mapped to a c…
• You are going to create the classes for an online shopping cart.  Part 1:  1. Create an ItemToPurchase class.  a. An ItemToPurchase should be initialized with a name (string), and a price  (float)…
• the file : https://easyupload.io/5ik5gb. 3. (25%) On Moodle, you have been given a data set that is saved as a CSV file. The data set contains the signal intensity f(t) ofa fluorescent drug as it d…
• PLEASE HELP THIS IS PYTHON CODE Coding problem: circular array-backed queue `drop` Implement the circular, array-backed queue method drop, which takes an integer n as an argument and removes and retur…
• Fill in blanks so that the following code will make label visible for each feature layer in the first dataframe of the map document. import arcpy mdoc = arcpy.mapping.MapDocument(r&quot;C:\Data\test.m…
• please don’t copy from chegg and course hero. My Error: from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.PhantomJS() driver.get(‘{{localhost}}/cg_regis…
• could you help me Suppose a reactor normally contains 12 units of dissolved oxygen in a fixed volume of water. Suppose at t = 0 (minute) a quantity of organic waste is introduced, then the oxygen conc…
• Please use Python (py.) to answer the following question(s). Please provide the code/screenshots of the code as well. Please let me know how i can submit the data file, i am unable to attach it here s…
• “”” PROGRAMMING ASSIGNMENT 06 Filename: ‘exercise1.py’ Suppose we have two text files file1.txt and file2.txt in the same folder as your python program (you can download the sample files on NYU Classe…
• A prime number (or a prime) is a natural number greater than 1 that cannot be formed by multiplying two smaller natural numbers. “Happy” has many definitions (even in mathematics). For our purposes, a…
• Please find attached Problem Statement and the Question.
• GUI-based program that allows the user to convert temperature values between degrees Fahrenheit and degrees Celsius. The interface should have labeled entry fields for these two values. These componen…
• The online education company Statistics.com segments its customers and prospects into three main categories: IT professionals (IT), statisticians (Stat), and other(Other). It also tracks, for each cus…
• Python Please do not use break or continue in the programs Write programs as easy as possible to understand.       . This assignment will give you more experience on the use of: 1. integers (int) …
• How do I have the below outcome in ascending order(Python) –    import glob2 dengue_files = glob2.glob(‘./dengue/*.tiff’) dengue_files   Outcomes –  ‘./dengue/image_2021-02-13.tiff’, ‘./dengue/ima…
• Take the master boot record from this week’s module and use it as a file input for your program. It will be named block.dd and you can assume that it’s in your current directory so you don’t have to p…
• Can someone please help with the SyntaxError on line 10? I have tried so many variations, to no avail.   Thank you!! ~Concetta Cook. LAB ACTIVITY 1.22.1: LAB: Expression for calories burned during wo…
• How do I code with specific locations designed for specific shapes picked by the user. Also, I need help with coding specific “user picked” pencolors assigned to specific fill colors. 12:05 B coursehe…
• What will be the output of the following program? What will be the output of the following program def x(y) : print (y ) y += 1 z (y ) print (&quot;ok&quot;) def z(y) : print (y)| x(5)
• sender: The sender of each email message. Represented as a string. . receiver: The receiver of each email message. Represented as a string. . body: The body message of each email message. Represented …
• A number n is said to be abundant number if the sum of all the proper divisors of the number denoted by sum (n ) is greater than the value of the number n. For instance the number 12 is an abundant nu…

### 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!