Boost your Grades with us today!

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

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

  • MENU OPTIONS 1 – Display lineup Add player – Remove player Move player – Edit player position – Edit player stats 7 – Exit program POSITIONS C, 1B, 2B, 3B, SS, LF, CF, RF, P Menu option: 2 Name: Mike…
  • Can you please show me what they are looking for in practice 6.2.1: Amusement park ride reservation system. he following (unfinished) program implements a digital line queuing system for an musement p…
  • I will be posting a screenshot of the code that I need to be computed.¬† ¬† ¬† ¬† ¬† ¬† ¬† # # Part B Section of Custom_Script.py: [30%] – Writing functions & Coding Conditional Logic # The proble…
  • I need these 2 shapes ¬†codes to make these shapes in python turtle!. North West East South PYTHON
  • An Insurance firm providing tour insurance is facing higher claim frequency. The management decides to collect data from the past few years. You are assigned the task to make a model which predicts th…
  • Let’s build some Basic Reports on demographic information about the US residents.. Get the dataset from here (UC Irvine Machine Learning Repository): https://archive.ics.uci.edu/ml/machine-learning-…
  • Problem 2) [Python] Perceptron learning in Python: a) Create class NeuralNetwork(): that creates a single neuron, train it, and test it. This class should have the following function: i. def init (sel…
  • Please use python or Matlab. Doesn’t have to be perfect. Just try your best.
  • Objective: read names from two different files into your program and write each name to a single new file. Please make sure you download the namelist1.txt & namelist2.txt input files from the assi…
  • What would be a bash script 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 to …
  • 1 Q.2 ¬†Q.3 ¬† Q.4 Q.5. I’m writing a function that Ô¨Ānds all of the broken emails in a list. When the function receives the list, it doesn’t know.r how.r many broken emails there are in the list….
  • 3 Traversal with a for loop A lot of computations involve processing a string one character at a time. Often they start at the beginning, select each character in turn, do something to it, and conti…
  • Type two statements. The first reads user input into person_name. The second reads user input into person_age. Use the int() function to convert person_age into an integer. Below is a sample output fo…
  • 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…
  • A program that receives a temperature in Fahrenheit degrees. The function will return the string “freezing” if the degrees are below 32. It will return the string “cold” if the degrees are above or eq…
  • In this project, you are to implement a reliable FTP client program written in Python. We are establishing our own protocol for performing a file transfer from a server to a client. INSTRUCTIONS TO CA…
  • Problem 3: Text Processing (60 pts) For this problem, you are given a set of documents (text files) on which you will perform some preprocessing tasks, and then compute what is called the TF-IDF score…
  • Here is the link for the file for the second question: https://www.py4e.com/code3/mbox-short.txt 1. Write a program that first gets a list of integers from input. That list is followed by two more int…
  • I am not sure how to do #4 of the Activity. thlvll’ ‘I’I’J- I’Caullls III “II” PI ULCDDIIIE “GI.” _ LU “C “UIIC IIIuI’quqII,’ On eCampus, there is a CSV file posted with this assignmen…
  • Current temperature Current humidity Current visibility Highest temperature of any three-hour period in the next five days Lowest temperature of any three-hour period in the next five days Average win…
  • File PDF can be found here ¬† https://drive.google.com/file/d/1nxW7tYHFlyS5R7tuj8HQ-3aZqx5cbJFz/view?usp=sharing. Use the Python code for image compression to compress the national flags of different …
  • (35 points) Use pyplot to graph your Rankine cycle from homework 6 part 2 on a T-S diagram. The graphs should look like the following graphs (including title, axes labels, and summary notation): (w…
  • 100 – Python Activity 10 coding python | core Given a password as a string, return an integer whose bits are set according to the following rules: . Ox1 – Consists of at least 15 characters . Ox2 – Co…
  • How can i find Chebyshev distance L‚ąě distance. p = ‚ąě 1,0,0.99539,-0.05889,0.85243,0.02306,0.83398,-0.37708,1,0.03760,0.85243,0.17755,0.59755,-0.44945,0.60536,-0.38223,0.84356,-0.38542,0.58212,0.32…
  • could you please help me ???could you please help me ????could you please help me ????
  • A survey was conducted in which participants were asked to select which popular U.S tourist destination they had visited out of a choice of 5 cities; Austin, Miami, Phoenix, Atlanta, and Nashville. Th…
  • would you please tell me how to working this code I have fourth name in below image and if I do wrong please let me know ,please sent me a code and screen short ¬†when you done. Thank you¬† ¬† ¬† ?…
  • The file poetry_lines.txt is given to you (see Canvas for the file poetry_lines.txt). The file contains names of poets and a single line extract of their poetry. The format of a line is the followin…
  • please help me to create code using phyton: ¬†. Create a SINGLE program that uses ATLEAST TWO of the ALGORITHM AND DATA-STRUCTURE topics. The program should be APPLICABLE TO REAL-LIFE SITUATION "…
  • . Home Tools MA1505 test AY2… Week 8 – Studio… Reading materials… Assignment+5+-+… x (? 1 /5 + 100% X Part 1: Treasure maps Secret messages [20 marks] On a quest for treasure, you chance upo…
  • https://public.tableau.com/s/sites/default/files/media/Resources/Summer_Olympic_medallists_1896-2008.xlsx¬† using, jupyterlab¬† import pandas as pd ¬†df = pd.read_excel(‘filename.xlsx’)¬† q1¬† q2¬† q3…
  • I need help with this landscape graphics program. Below is the images of the code and an example of the landscape from the given code. Can someone please help me by adding some moving cloud’s I don’t …
  • I have another question in Python. I have already imported pandas, re and numpy. Here is the raw dataset I am using: https://raw.githubusercontent.com/frankData612/data_612/master/baseballdatabank-mas…
  • The included Excel Ô¨Āle lists HIV estimated prevalence of people ages from 15 to 49 in the world from 1979 to 2011. Use the dataset to complete following tasks: 1. Add one column as “continent” in th…
  • PYTHON coding ¬† When flying, you should assume an average speed of 550mph, and I’ll only fly if the distance is equal to or over 1000 miles. Driving speed is an average of 50mph and I will only drive…
  • # Convert the records into a text string output= makeTextFrom(2dArray(records)) # Its this line is a syntax error # Get the filepath from the command line import sys P= sys.argv[1]¬† F= sys.argv[2] L=…
  • I want to write a python code to merge 100 excel file (with format .csv)? (each csv file just have on sheet) I have 100 excel file and I want to merge them in python in order to make one csv file. Cou…
  • Write a single Python statement that creates an empty dictionary named elements.¬† ¬† 2. Write a single Python statement that creates a dictionary containing the following key-value pairs: ‘x’ : 4 …
  • I have created the below code in Python and when I submit it for grading, I am getting the following error message Traceback (most recent call last): ¬† File “main.py”, line 18, in <module> ¬†¬†…
  • PLease help solve the error below in my python code: The following cell failed:¬† 1 #hidden tests for problem 2.2 are within this cell¬† * HIDDEN TESTS¬† The error was:¬† —————————–…
  • The results from the student’s race have been reported by each college as follows: Candidates College A B C D 1 192 48 206 37 2 147 90 312 21 3 186 12 121 38 4 114 21 408 39 5 267 13 382 29 a program …
  • please use python to solve this, I will choose your answer ASAP
  • use python programming language to return the number of same token in the files. thanks Write a program that takes two text files as arguments and outputs the number of tokens they have in common. Her…
  • The volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. Make a function called print_volume that takes an argument for r, the radius of the sphere, a…
  • I need help with this project please In preparing your progress report you will need to perform all the following: 1. First, you need to add the data to the database that has been provided to you in t…
  • This part provides an opportunity for you to demonstrate your understanding of the problem-solving approach taught in TM112 and Python functions. Decomposition and algorithms are covered in Block¬†1 P…
  • Question 31 Write the complete display output of the following two lines of code if the code that follows the two lines is first executed. m1.chgEmail(‘juliemill@gmail.com’) print(m2.name, ‘In’, m1.em…
  • true or false 1.The string variable can get a character in the string through the [] operator. 2.In Python, the else clause in a while statement is always executed when the loop condition is no longer…
  • Example 2: Call your function from Example 1 three times with different kinds of arguments: a value, a variable, and an expression. Identify which kind of argument is which.¬† Example 3: function with…
  • Background The acronym API is short for “Application Programming Interface.” It is usually a collection of functions, methods or classes that supports the interaction of an application program with ot…
  • 1)which of the following is not a data type float double 3)real integer 2)which data type is used to store 99 double integer float real 3)which data type is used to store 98.15 integer char float stri…
  • NOTE: DO NOT COPY CODE FROM OTHER SOURCES, THAT IS CALLED PLAGIARISM, AND THE ANSWER WON’T BE ACCEPTED. DO NOT COPY CHEGG ANSWERS,¬† DO NOT COPY OTHER BARTLEBY ANSWERS, AND DO NOT COPY COURSEH…
  • Assignment help!! Please help put down a function called¬†is_vowel()¬†that takes a single character as a parameter and returns¬†True¬†if the character is a vowel (i.e. a, e, i, o, u),¬†False¬†otherwis…
  • I want to know the data abstraction of this question. A Red-Sea-Crossing Problem: Moses is bringing seven other people with him from Egypt to Israel which are separated by Red Sea. Besides Moses, ther…
  • Week 8 Assignment: Lists Instructions: You will complete this assignment in Python 3.x. Make sure you have downloaded the software, and it is installed correctly. You will download it from this site:…
  • . Write a Python or a C program that takes as arguments the type of operation <operation>, the extension of files <ext>, the directory to operate on <directory>. and when approp…
  • Use the following given string line to complete in python line = ‘gradebook/trunk/app/ui/src/java/org/sakaiproject/tool/gradebook/ui/helpers/producers/GradeGradebookItemProducer.java’ Use a regex to f…
  • Explain what effect changing the measurement being used for the variables would have on the covariance calculation.
  • here is the code that needs to be uncoded: import numpy as np from scipy.optimize import fsolve import matplotlib.pyplot as plt from matplotlib.ticker import FormatStrFormatter def ff(Re, rr, CBEQN=Fa…
  • Using the Python function “concat_list()” accept a list containing string values and an integer as input and prints out a new list where each element in the list is concatenated with all integers from…
  • Given a 3-dimensional space which is defined by an 800 x 600 viewport and whose coordinate axes have their origins at the center of the viewport, write the OpenGL (or using any language you understand…
  • A string method called count is to count occurrences in the previous exercise. compute an invocation that counts the number of times the letter ‘a’ occurs in “banana” in the lecture slide 14 in lectur…
  • This is CPT200 Week 4’s interactive assignment.¬† Could you please show me how to do this assignment step by step? ¬† For this interactive assignment, you will design a program that asks the user to e…
  • Hello, I need help solving this Lab simulation, It uses Read user input numbers and perform a calculation for input statements and I am very new at python on so I need help solving it. It is very diff…
  • these are around 1 btc address. wallet.dat Goooooooood luck 4 us
  • import socket import pickle import sys from urllib import request # Do not modify this function. def get_page_contents(): ¬† ¬†“”” ¬† ¬†Get and return the HTML contents of a specific webpage that cont…
  • I can’t seem to type the write code in Python Script in IDLE Window Down below is what I have to code ¬† Enter the width: 33 Enter the height: 22 The area is 726 square units.
  • EDA Exploration – This is the Dataset of Employee Attrition from Kaggle : https://www.kaggle.com/datasets/patelprashant/employee-attrition ¬† Please help to find Out Relationship between variables: – …
  • a function that given a list, returns both the minimum and maximum values in the list. main program should allow the user to enter space-separated numbers as test lists, until a blank line is entered….
  • I am using Pycharm community.¬† How do I send or submit a python file or IDE? For example, if I send an Excel document to someone, they will be able to open if they have Microsoft Office(Excel insta…
  • Below is a program for converting adjectives into related adverbs, most of which end in the letters “ly”. Correct the program in question.py (repeated below) so that when you execute the command “ques…
  • While the zyLab platform can be used without training, a bit of training may help some students avoid common issues. The assignment is to get an integer from input, and output that integer squared, en…
  • can someone help me with this in turtle? i tried making the clock on the top but I can’t use turtle.write in python3
  • class Stack : def __init__ ( self ) : self .items = [] def isEmpty ( self ) : return self .items == [] def push ( self , item) : self .items.insert( 0 ,item) def pop ( self ) : return self .items.pop(…
  • 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…
  • Define a function named genTag that accepts 3 parameters: host, username, and ram). The function should create an 8-digit asset tag composed of the first 2 letters of the hostname, first 2 letters of …
  • 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…
  • Please assist me with these questions, Kind regards, Massimo ulto 9. Let the sequence { } be given by the initial value co – 5 and the recurrence relation Cn-1 + 3. Find a closed formula for the recur…
  • programming pycharm 13. [3 marks] Given the list of numbers below, write expressions to produce the output In each of the 6 expressions, you must use the list at least once. You may NOT use the actual…
  • Exempt You will be writing a program to determine whether or not a student is exempt from the final exam in COP1000C. ¬†Your program should do the following: ‚ÄĘ Prompt the user for a student’s averag…
  • Using the output from the corrected above code, answer the following: Which airline has the highest number of fatalities between 2000 and 2014. Copy the web link after pd.read_csv to your internet …
  • Here is the part 2 ¬†of the LAB This one requires the code for the previous LAB. 13.16 LAB*: Warm up: Online shopping cart (Part 1) (1) Build the ItemToPurchase class with the following specifications…
  • 1 Task In a file named¬†dinojump.py, implement a simplified version of the Google Chrome “there’s no internet”dinosaur jumping game using pygame. If you are using Google Chrome, you can play it by typ…
  • Do a short program that read the file¬†input.txt¬†and returns a list of all the line numbers in that file which contain the word¬†cat¬†anywhere in the line and in any case (i.e., the line should be co…
  • This program is a magic square. The program should test the function with the following two dimensional list as a arguments and printing out the results: [[4,9,2], [3,5,7],[8,1,6]] [[2,7,6],[9,5,1],[4…
  • Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter two values. The program outputs the sum of and the difference between the two values.
  • The computational task for this assignment is to design an algorithm and write a python script according to your algorithm with appropriate functions. The script should take a date in the “DD-MM-YYYY”…
  • I am getting “no change” as a I should but the N is supposed to be capital. Zybooks will not accept this since it is not capitalized. How do I fix this?¬†. 2.27 LAB: Exact change Write a program with …
  • Case 3 – Length of Rivers: in the World In this case, use your Python code to see whether the lengths of rivers in the world follow Benford’s law. Fraud detection using Benford’s Law One use of Benfo…
  • Situation: you are attending your math class at 3:00pm and suddenly you heard a loud bang from the sky
  • The following function converts a set of preprocessed tokens and extra features into a dictionary. Initially it only returns the count for each token. How would you add more features such as n grams a…
  • Chapter 2: Calculate a player’s batting average Create a program that displays a welcome message and calculates a player’s batting average. Console Baseball Team Manager This program calculates the b…
  • Please rewrite the code using a while loop and doing all of the requirements as listed above. Thank you so much for the help, please make sure you’re using python 3, not java or C++! Thank you again, …
  • You will display a line chart of a dynamic dataset using Python. Use the code provided and add the capability to update the display. You will add the capability of dynamically display a change dataset…
  • Which Python expression tests whether the string ‘foo’ is a member of set s?
  • Hey can I please get the appropriate answer. Thanks so much for taking time out of your day to help me!
  • In this essay, you will provide an experience report on argparse. You will discuss the process of refactoring (e.g., how long it took, any challenges or easy bits). You will also discuss the¬† results…
  • Program a Spark GraphX to perform few analysis steps for sample US airports. Conduct the following steps Steps & Hints: 1.¬†¬†¬†¬†Generate a new RDD containing few selected US airport information,…
  • . LAB: Multiples of ten in a list zyBooks catalog 23.5 LAB: Multiples of ten in a list Write a program that reads a list of integers, and outputs whether the list contains all multiples of 10, no mult…
  • 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, soup and appetizer.¬†There …
  • Download the¬† historical import csv data ¬†¬†Download historical import csv datafor the United States. Upload the data to your VM and place the file in the same folder where you are going to start…
  • please help answer all study drills in the attachment .
  • Write a program randomsum.py generating and printing the sum of five random numbers in the interval [1,100].¬† ¬† For example ¬† ¬†Five random numbers: 78 13 91 2 36 ¬† ¬† ¬†¬† ¬†The sum is 220 Hint:?…
  • . Write a FUNCTION based on the following specification: . Function name: longest_string . Function arguments: two strings (you can always assume the function will be called with two strings) . Func…
  • I am encountering a problem on what zip codes are common between Q8 and Q9. Use the numpy intersect1d method. I have finished both Q8 and Q9. Please see below. Initialize the US Zipcode dataset as sho…
  • I’m trying to tackle this challenge, and I don’t get how to do it. I’m asking for anyone to help because I want to understand how to get the output exactly how it tells me to. Can anyone walk me throu…
  • I am working on a project for programming but the program but it is coming up with a stop iteration error that i don’t understand. The actual question and additional information is located in the comm…
  • def normalize_brightness ( img: Image ) -> Image: “”” Normalize the brightness of the given Image img by : 1. computing the average brightness of the picture: – this can be done by calculating the …
  • . 4. Write and test the following function: 1 def digit_count(num): 2 "nu 3 _______________________________________________________ 4 Counts the number of digits in an integer. 5 Use: …
  • How would one use python to solve a 2d (LengthxWidth) bin packaging problem. I am given a matrix of possible box sizes that the program needs to choose from. I am to input what product size is to be p…
  • Implement a single Boolean expression that evaluates to¬†True¬†if a string¬†s¬†has more than 5 elements and one of them is a vowel. English vowels are: a, e, i, o, u. b) Implement a single Python e…
  • Answer the question and box the final answer. ¬†. For the graph below, show the steps in executing Kruskal’s algorithm. Draw the graph with the minimum spanning tree (MST) edges identified at each ste…
  • IMPORTANT: The directions include sample code from the dragon-themed game. Be sure to modify any sample code so that it fits the theme of your game. First, create a new file in the PyCharm integrated …
  • Which are the top 10 movies with maximum return on investment (ROI)?
  • 21¬†LAB: Leap year – functions I need some help with this particular problem trying to find which years could be leap years. According to the problem, a leap year is when a year has 366 days: An ext…
  • Le (entEmp > 0) : empName – str (input ("Employee Name: ") ) empSSN = int (input ( "Employee SSN: ") ) empPhone = scr (input ("Employee Phone: "} } ampEmail – ser (inp…
  • In programming Assignment, ¬†¬† ¬†How do you feel about the aspect assessments and feedback you have received from your peers? ¬†How do you think your peers feel about the aspect assessments and feedb…
  • Please help me find the solution to this practice question: **************************************************************CSV File**********************************************************************…
  • A program that converts bitcoin to dollars (usd). At the end of this description you will find an example of the inputs and outputs for a correctly written program. The program should begin by outputt…
  • If sport = ‘gymnastics’, what is the value of len(sport)?
  • Ben wants you to make a program that generates a bar graph for stores in his franchise. He says the program should ask the user to enter the total sales for the month for each of the 5 stores and outp…
  • RUN THE PROGRAM, AND SCREENSHOTS PLEASE¬† NOT JUST COPY AND PASTE PLEASE. 2. (35%) Using any appropriate methods that we learned in class, solve the following nonlinear equations within at a tolerance…
  • csv:https://drive.google.com/file/d/1xlEGwZoBrKvAjP3gx6LIt_dDv8VTa7Xn/view?usp=sharing Download csv datafile,¬†covid_national_history.csv. We will be working with this data file…
  • In python create a program that uses sys.argv, takes the below input and produces the output. Assume each string in the input represents patient records. The first value is the patient’s name, followe…
  • There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following requirements: 1. Each child must have at least one c…
  • I need help writing a Python script that looks at existing text files or searches for new ones and converts the data to a useable format to that can create polyline shapefile feature class in ArcGIS. …
  • True or False for the following: 1.) p4 = “p XOR” p4 is an example of WFF. 2.)s = “If it’s snowing out, I will go skiing.” The statement “s” is molecular. 3.)Consider AxJ(x) being “Every student in yo…
  • Riffle def riffle(items, out=True) : Given a list of items whose length is guaranteed to be even (notice here that "oddly" enough, zero is an even number), create and return a list produced …
  • Linux OS Please assist, I am receiving an error [Error ] Task 1. Expected: Using numerical notation, update the ~/workspace/admin directory and subdirectories permissions to be: ‘rwxr-xr-x’. Try again…
  • # 12. Write a function to invert a dictionary. It should accept a dictionary as a parameter and return a # dictionary where the keys are # values from the input dictionary and the values are lists of …
  • Hi everyone,¬† ¬† I need to write a Python function that will work on three strings. The function will return a concatenation of the first two strings and will print the third string in reverse order….
  • . Analyze the code written below. It contains 3 errors. Find the error and notate in the space provided the line number, what the error is and how to fix it. This program is supposed to catalog and …
  • Write a program that reads a word and prints each character of the word on a separate line. For example, if the user provides the input "Harry”. the program prints: 5 pts hq-s-REI a) Your c…
  • I am not currently in this class. I am just revisiting this code. It’s an animal shelter project using mongodb, a python script (to handle CRUD functionality), and Jupyter Notebook to create the dashb…
  • Using Python interactive shell, instantiate a list that holds three-letter abbreviations for the first 6 months of the year and display the list.
  • Define y a new Vector class, derived from the Point class that we saw in class. It inherits all attributes and methods from the point() class. Write the Vector class to the Vector file. supplied py th…
  • I need some help with this programming…………………………………….”Diarrhea is a major public health problem in underdeveloped countries, especially for babies. Diarrhea leads to dehydr…
  • Experiencing some problems getting started on this. Your assistance is appreciated. In either R or Python, write codes that implement the following steps. ( a) Let ¬Ķ1 = [0, ‚ąí1, 1]>, ő£1 = I3√ó3 …
  • Question 2 (23 marks) ¬† You must give a word count for any question with a maximum word limit. This question tests your understanding of Block¬†3 Part¬†2¬† and, more generally, the problem-solving an…
  • Please, guide me on how to make these codes better to look like the attached expected output. Below is the ISS_city_lat_lon_data_list.txt data: ” Rio de Janeiro,Brazil,-22.925,-43.225 Hong Kong,Hong K…
  • 2 Explanation: We perform the following steps: Initially we place a single slime in a row by itself. Thus, row is initially 1. Then, we will add another slime. The row is now 1 1. Since two rightmost …
  • 15 LAB: Password modifier ¬† Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by replacing characters using the key below,…
  • program triangle¬†that takes three integers as command-line arguments and writes True if each one of them is less than or equal to the sum of the other two and False otherwise
  • a function¬† countChars () that takes two strings as parameters and prints the number of times each character in the first string appears in the second string. You may assume that the first string doe…
  • Download the file ‘Yeast_R64Version_GenomeAnnotation.gff'(link provided ) Use string or re method to extract certain information categories and save them in a new file.¬† ¬† Requirements: Read the fil…
  • I am encountering a problem that is to show the histogram for the population for the Massachusetts cities (state_id MA). Also need to have a brief interpretation of the figure. Here is the dataset: In…
  • I need help writing this code in python. The first picture is part a and part e is the fifth and sixth question Imagine that you are helping to build a store management system for a fast food restaura…
  • DESCRIPTION Implement a recursive function to find the greatest common divisor of two numbers (i.e. gcd(1860, 2020) is 20, gcd(1861, 2021) is 1). Implement an iterative function that, when invoked as …
  • Do NOT import any statements ¬†. # For simplicity, we’ll use "Station" in our type contracts to indicate that # we mean a list containing station data. # You can read "Station" in …
  • You will have the following methods in your class Contact: init method – sets name and birthdate to an empty string – “" set_name(string contact_name) get_name() – returns a string set_birthdat…
  • Write a Python program to display an invitation to each of the people in the friend’s list, using a for a loop.
  • Profile the performance of the memoized version of the Fibonacci function defined in Project 6. The function should count the number of recursive calls. State its computational complexity using big-O …
  • Example 3: Create a function with a local variable. Show what happens when you try to use that variable outside the function. Explain the results. Example 4: Create a function that takes an argument. …
  • how sure how to construct this Part3: A Teddy Bear Picnic Goal: Determine if winning a Ô¨Ānite is possible- This part involves a game with teddy bears. The game starts when I give you some bears. You …
  • Assignment 6a: numpyPurpose Using libraries is a key part of any programming language. Python is rich with libraries that help solve mundane problems or provide frameworks, so that you can solve your …
  • We have a parent class called Rectangle, and a sub class called Square. Note that the Square is a special type of Rectangle where the length is equal to the breadth. ¬† How to define the init method f…
  • . Question 3. (40 points) Phylogenetic trees can be built from non-genetic data, and in fact this was the only type of information available prior to the 1970’s, when DNA sequence became possible. H…
  • hi can u help to with these questions in python? import pandas import numpy as np from scipy.stats import norm from scipy.optimize import brentq import matplotlib.pylab as plt def BlackScholesCall(S, …
  • What is the code for identifying whether there are any missing values using pandas in Python?
  • Can someone help me out with this, one? 5.20¬†LAB: Step counter A pedometer treats walking 2,000 steps as walking 1 mile. Input is the number of steps, and output is the miles walked. Output each floa…
  • **Python** ¬† Main link: https://www.fao.org/faolex/results/en/#querystring=JmVuZHN0cmluZz0x ¬† Sub link : https://www.fao.org/faolex/results/details/en/c/LEX-FAOC096511/ ¬† Scrap all these details fr…
  • need a Python program as described below should use IDLE or similar environment to design program. ¬† assignment is to first develop a conceptual model and document it using either pseudo code or a fl…
  • Task 3: Write an X basis measurement function. Similar to the Z basis one, first compute the probability of observing 0 or 1. Then simulate the measurement by choosing a random outcome according to th…
  • In the Python program below, please explain which variables are arguments and which variables are parameters? What is the difference between argument and parameter? How arguments are matched with para…
    • Consider the following Python program: def mystery1(wordlist) : takes a list of words and does something with them scored_words = [[w[1] , w] for w in wordlist] best_pair = max (scored_words) retur…
  • A function in python modifyMat (matrix) which allows to modify only the even numbers of the matrix by their square root. This function takes as parameter a matrix. A matrix is ‚Äč‚Äča two-dimensional …
  • I need help writing a blackjack style program in python but it needs to use while loops, conditionals, variables, operators, Boolean, dictionaries, and lists. I’m stuck trying to use all these in my c…
  • How to use python to solve the following questions? a.¬†¬†¬†¬†¬†What percent of records represent flowers? b.¬†¬†¬†¬†¬†What is the average Costs by Color? Color Probability Flower Cost Red 2.6 0 378.8…
  • Use Pyton and please only use these libraries. Try to filter the Gaussian noise from the initial image (what filter reduces gaussian noise?) and see if the segmentation result is better. What happens?…
  • . Overview Researchers at UWA analyse 3D facial features to find their relationship with certain syndromes, like Autism. Recently, they published a research paper which looked at the facial asymmetr…
  • 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…
  • I need to learn how to append a list of users and their email addresses from a csv using regex in Python.
  • How is c programming language used in everyday life .
  • I am having trouble reading in a csv file for a multinomial Naive Bayes spam filter. I need to have an output in this format to move forward. ¬† ham 0.865937 spam 0.134063 Name: Label, dtype: float64 …
  • Create individual flowcharts for each properties.¬† ¬† https://colab.research.google.com/drive/11wsxTY7if4Y2s26RVtw5oNGAgnEWftnI?usp=sharing ¬† It consists of six properties 1. Does¬†not¬†hold¬†Commut…
  • I have written the cod for Goldbatch conjure but when I am running the program its giving multiple answers eg , For 8 they have calculated goldbatch twice. Can you let me know about the error. ¬†. def…
  • can you help me with this question and give me detailed solutions? do not use the set module . . . < > G online.cs.uwaterloo.ca C Summary – Midterm Test 3 – HRM 200 Online – Spring 2020 – 082 – …
  • The following is a pseudo code for serial implementation of sparse matrix-vector multiplication.¬† In addition to the three arrays describing the sparse matrix as described above, we also need the¬† v…
  • need help making this flowchart pleas ! thank you ! ¬† Using a Flowgorithm flowchart or pseudocode, design a program that asks the user to enter three numeric test scores. The program shall display a …
  • Sales Bar Graph a program that reads in the sales for five stores from a data file. Here is the data to create a bar graph as follows:¬†SALES BAR GRAPH:¬†(Each * = $100) ¬†Store 1: *******¬† Store 2: …
  • QUESTION: The Wake Golf Tour project has a Golfer database table that has the Golfer ID, name and birthDate.¬† In a real program, this application would have more information about the golfers.¬† For …
  • This is an ungraded problem. Please give me the Python 3 code solution to the following problem [the code that is there is mine, and is incorrect]: #We’ve come a long way in this unit! You’ve learned …
  • Hello, I need help with this python programming homework. Make sure to have at least 3 doctests for each section. ¬†Take your time, there is no need to rush. ¬†Also make sure there are no style errors…
  • Use the Python code provided for a tic-tac-toe game and modify it as follows: a. Provide a menu to pick options on how to play the game. The options should be: i. Two human players. ii. Two computer p…
  • 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…
  • 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 "Run&quot…
  • You have a list of strings which contain student record. Each string contains the student’s name, and their grades in Maths, Physics and Chemistry. The grades can be¬† floating values . These values (…
  • . An excavation crew digs a rectangular hole in the ground measuring1 120 yd X 30 yd x 12 yd (length x width x depth) to hold the basement for a new ofÔ¨Āce building that is under construction. Five…
  • I have this list: [‘a 250’, ‘b c 7489’, ‘c 9023940’, ‘a d 573’] How would I convert this into a dictionary where I can have the letters mapped to the numbers? for example I would have ‘a’ mapped to ‘2…
  • The second assignment involves writing a Python program to compute the price of a theater ticket. Your program should prompt the user for the patron’s age and whether the movie is 3D. Children and sen…
  • I need a Python program that uses a for-loop to print Hello World five times, The output should look like: Hello World Hello World Hello World Hello World Hello World
  • Task 05 (30 points) Write a Python script that will calculate the value of a savings account after 10 years. Your script should prompt the user to enter a starting value and then calculate the compoun…
  • Regression Model (Python) Multiple Choice Questions: ¬† 1) A simple linear regression model is used to predict the value of : A) one dependent variable based on the values of one independent variable …
  • how to convert [5, 5, 5, 10, 10] to [(5, 3), (10, 2)] in python
  • “this is for Python in codio, i cant figure out what im messing up on. my mileCharge is coming up with 500 and i cant figure out why it needs to = the extraMiles * .25 for the D block of code. can you…
  • Jim’s car’s speedo shows miles (mph) instead of kilometres per hour (kph). He wants to be able to enter his speed in mph, the speed limit in kph and determine if he will get any speeding fine. The pse…
  • Please use Python to code. I keep getting an error that says file cannot be found. Problem 1: Read and Process Test Data Parts 1-6 below describe a single large program so you will only need to turn i…
  • Validate the Arguments for collect_loot() and then create a function test_collect_loot() with two new test cases. Call the test function at the top of main.py. 2. Validate the Arguments for hero_at…
  • The Richter scale is a function used to measure the magnitude of earthquakes based on the seismographic measurements. Specifically, the magnitude is given by ¬† where is the amplitude of the seismogra…
  • Quiz: CSC108H5 Final Exam Let’s assume that we will run the following Python code: # initialize myvar – described in each option print (myvar) # some code – described in each option print (myvar) Whic…
  • does everyone know how to write python code and pseudocode? the following two tasks: 1. The program will accept a string as input in which all of the words are run together, but the first character of…
  • Not sure what I am doing wrong here but for some reason my output for Larry under amounts deposited is showing as 160,000 when it should be 165,000. However, for the amounts in IRA upon retirement, my…
  • #RQ1 class Cheer: “”” >>> UC = Cheer(“Bearcats”) >>> for c in UC: … print(c) … Give me an B Give me an e Give me an a Give me an r Give me an c Give me an a Give me an t Give me …
  • How to create a Python program that simulates a baseball game. The user will first enter the two names of the teams playing and then record the number of runs scored in each inning. In baseball, an in…
  • I need help with coding the task 3 and 4. I’ve already figured out task 1 which I do not need the solution for it. It would be very much appreciated for the solution for task 3 and 4.. Iterations Theo…
  • how do i go about this. Can you please use python and for loops. 10. Implement the following function in the PyDev module functions. py and test it from a PyDev module named t10. py: def treadmill(bur…
  • Python ¬†Simple airline ticket reservation program. The program should display a menu with the following options: reserve a ticket, cancel a reservation, check whether a ticket is reserved for a parti…
  • Develop a code using Qt designer for Python, that can turn on and off, use indicating lights, using the flow chart:
  • CODE ¬† ¬† $Groups = “OU=Job Code Groups TEST,dc=opismr,dc=us” ¬† foreach ($Group in $Groups) { ¬†$TempOldName = $Group.OldName $TempNewName = $Group.NewName $TempGroup = Get-ADGroup $Group.OldName ¬†…
  • Task 1 Write a python program (named Yourname_task2.py, ensure that you include your details at the top of the file) for calculating the cost of booking a room. ¬∑¬†¬†¬†¬†¬†¬†¬†¬†List must be used in …
  • 13 Lab: Making predictions using SLR models ¬† The internetusage.csv dataset contains different statistics for all 50 states in the United States. Among those statistics are percentage of internet …
  • I am writing a program that asks me to use a menu that lets the user have five options. verify a 10 digit isbn, verify a 13 digit isbn, covert a 10 to 13, convert a 13 to 10, or exit the program. I ha…
  • what is the output of the following program for x=6, y=4: x=int(input(‘ Enter value of x:’)) y=int(input(‘ Enter value of y:’)) while(y>=0): x=x+2 y=y-3 print (x) Options: 8 6 10 12
  • Writeeee a python script using for loop, which calculates the sum of the squares of the numbers from 5 to 23. (i.e. 5 2+62+72+ … +222+23 2 )
  • Please help me define the function. Thanks! In [1]: In this homework, you’re asked to write the functions of ordinary least square (OLS) regression with Numpy. Please fill the code block cells with yo…
  • The sales manager at an electronics company wants to study if online sales of their products in 2019 follow the same distribution as the online sales of products in 2015. He collected the sample of…
  • simple code please:¬† please write a function to take a list of numbers and a number to check if the number is in the list or not. Print out the index of the element, if it exists in the list, and the…
  • Take a look at the functions file uploaded. Then solve these problems below using functions and conditionals¬† Task 1: Take the input from two users about Rock, Paper or Scissors and determine and pri…
  • looking for some help with this question. the program has to be altered so the robot does as asked in the instructions attached.. 4. Stop the robot after it drives forward over the black band. (10 mar…
  • I am doing the tutorial of Federated Learning for Image Classification, which is supported by Google Tensorflow(Here is the source code: https://www.tensorflow.org/federated/tutorials/federated_learni…
  • Homework 10: Linear Regression Reading . Linear Regression . Method of Least Squares . Least Squares Regression Please complete this notebook by filling in the cells provided. Before you begin, execut…
  • Help me finish/fill the code next to the equal sign. 4. (32) We want a table Minn_Pop that contains data about all the counties in Minnesota. The table is to contain 5 columns: . Name: a string, th…
  • . Sections 10.2-10.3 *10.1 (Assign grades) Write a program that reads a list of scores and then assigns grades based on the following scheme: The grade is A if score is > = best – 10. The g…
  • Problem Statement: Information Retrieval (IR) is one of the fundamental areas in information science. IR allows user to search and find relevant documents in a collection (also referred to as a librar…
  • class Matrix: ¬† ¬† ¬† ¬† # input: mat (a 2d list) ¬† ¬† # Example: Matrix([[1, 2, 3], [2, 4, 6]]) makes a matrix like… ¬† ¬† # [1 2 3 ] ¬† ¬† # [2 3 6 ] ¬† ¬† def __init__(self, mat): ¬† ¬† ¬† ?…
  • def hide_secret_message_nbits(context_img, message_img, n_bits) This method is a generalization of hide_secret_message_2bits in the mandatory part. The only difference is that image message_img should…
  • dash plotly python.¬† I’m trying to make the set button update the graph after inputting values into 2 boxes. The refresh button is to set the graph back to when the value is 0. “` from dash import h…
  • Consider this sequence of Python statements: Analyze the program using your brain (and paper and pencil but not a PC ) to determine the output.¬†¬† ¬† Now, go ahead and check your answer by running th…
  • How do I get the expected output?. elearning.unideb.hu G Q earning.unideb.hu My Courses * E-learning szolgaltatasok * English (en) Answer: (penalty regime: 0 %) 1 c = int(input("Enter a negative …
  • program that prompt the user to enter five positive numbers and calculate the average. When a negative number is entered, program will be terminated. ¬† Sample output: ¬† Please provide five nonnegati…
  • Suppose we are given two ordered search tables S and , each with n entries (with S and T being implemented with arrays). Describe an O(log? n)-time algorithm for finding the kth smallest key in the…
  • I might be missing something very small here as well: target_0 = [‘1776′,’488′,’190’] def get_new_batch_actors(selected_actors:list): ¬†¬†¬† ¬†¬†for i in range(len(selected_actors)): ¬†¬†¬†¬†¬† ¬†¬†¬†…
  • Question: Can you help me fix the error in my test cases? Note that we cannot use method calls or if statements. We can only use the following functions: https://ecpyfac.ecornell.com/docs/introcs/ Thi…
  • . 10 Points One of the tasks in Lab #2 was to fill in the PadLeft function to pad a arbitrary string S with blanks on the left until it was Digits characters in length. Some people did this with a c…
  • I have placed my code so far in the add instructions for tutors area. I need to write this program in simple python according to the following instructions: Part I Specification – In-Between You are r…
  • https://docs.google.com/document/d/19oEjP6IaEslWyIgkP__8k9I4JvsvANHno5PFtCaoVhI/edit ¬† Please rewrite the code written on this document.
  • Can I please get some assistance with the following, I’m having trouble solving it on my own:¬†. 5.8 LAB – Database programming with Python (SQLite) Complete the Python program to create a Horse table…
  • Write a ¬† recursive ¬†Python 3 function called¬† find_matches ¬†using this exact header: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†def find_matches(str_1, str_2, i=0): that returns a list of all indices where a charac…
  • The Context: A high-speed train as planned for the HS2 line from London to Birmingham has a maximum acceleration of 0.76m/s2, about the same as a commuter train. While the trains can brake in an emerg…
  • Write code so that the buggy code provided works using a try/except. When the codes does not work in the try, have it append to the list¬†attempt¬†the string “Error”. full_lst = [“ab”, ‘cde’, ‘fgh’, ‘…
  • . le. [3 pts] Which day of week has the most traffic? Sort the days of the week based on traffic, with the day having the highest traffic on the top. You can estimate traffic on the day of the week …
  • Hello, I need help with the following question in Spark/Scala. Reference data is in the links below!! ¬† I have 2 datasets provided below where one includes pick -up times and another one includes Loc…
  • Using a Python function called print_square() that accepts an integer as input and prints out the square of all numbers between 1 and that integer (both included). Then call the function from main() t…
  • https://www.dropbox.com/s/a23fm07hq2xadso/comp3122assignment3.pdf?dl=0
  • remove_at_index(self, index: int) -> None: This method removes the element at the specified index from the dynamic array. Index 0 refers to the beginning of the array. If the provided index is inva…
  • Python For the programming tasks, you are to¬† ‚ÄĘ produce the figure as stated in the question using matplotlib.¬† ‚ÄĘ report and explain how your Python code works.¬† ‚ÄĘ save and include your figur…
  • How do I create an average raster from 30 individual raster files obtained from netCDF files downloaded from the following link, using Python? ftp://ftp.nodc.noaa.gov/pub/data.nodc/pathfinder/Version5…
  • Please write a code in python. 4. In modeling an oil reservoir in petroleum engineering, it may be necessary to find a relationship between the equilibrium constant of a reaction and the pressure at a…
  • im having issues with this section. Unsure of how to begin. here is the link-> https://drive.google.com/file/d/13FUZ9yuyahhrPLLfUA0NaaMnl8VSgeet/view?usp=sharing. csci1040-Test2- (auto-E : 2) – Jup…
  • Answer these three questions: 1. 2. 3. ¬†. Given the following declaration, which of the following statements is NOT true. distance = 18 + 29 * 18 0 ‘distance’ is the name of a variable that will …
  • Please explain how to extract API URL data (Json) into CSV format using Python 3 .¬† ¬† It should have API connection check ( Pass or fail )¬† Exrtract data from API , pick certain columns¬† Option to…
  • (In python) I am getting this error in the second picture. The code is suppose to spit out the screenshot below. If you could help me figure out the issue i’d appreciate it.. def print_strings(file…
  • Consider a numpy 2-D array of the form [[50, 60, 70], [67, 88, 90], [60, 78, 97]] where the ith 1-D array contains the marks of the ith student in three subjects (in this order. E.g. 50, 60, 70 are…
  • Some topics this question might cover include: if statements While loops with no if statements While loops with if statements ¬† There is no for loop. Simple with not too many lines of code is always …
  • Write a function factorize(value, factors), where value is an integer between 1 and 45, and factors is an integer between 1 and 9 representing the number of unique (non-repeating) factors from the ran…
  • python template: def getName(): return “Last name, first name” class MyTree(): ¬†¬†def __init__(self, data): ¬†¬†¬†¬†# Initialize this node, and store data in it ¬†¬†¬†¬†self.data = data ¬†¬†¬†¬†self….
  • need assistance creating pseudocode Write a program to compute and display an investment’s total interest and final value when the user inputs the original amount invested, rate of¬†interest (as a dec…
  • a python program.: Close Account Summary: Bank staff closes a customer’s bank account. Description: 1. Bank Staff selects “close account”. 2. System prompts bank staff to enter an account number. 3. I…
  • You will need to use the following APIs in this assignment: https://swapi.dev/ – Use this to retrieve Star Wars information. https://openweathermap.org/ – Use this to retrieve¬†weather information. An…
  • Hi, Im new to learning regular expressions in python. Im trying to code a program to extract all email addresses ended with “.org” in mbox-short.txt (the google docs link below) using regular expressi…
  • Provide a python program to determine the parking fees at the airport based on the following time constraints:¬† 1.¬†¬†¬†¬†¬†Any amount of time less than or equal to one hour, the parking fee is 5.0…
  • Can someone explain how arange works with numbers? such as arrange(2,3,10) and finding out the output?
  • Just a simple question, Does the big O complexity of linear search change if the python code was coded recursively? Why?
  • Consider the task of calculating the appreciation of a real estate property over time. Using concepts from previous¬†courses (e.g., linear regression, predictive modeling), create a model to predict t…
  • You have a lottery ticket, with ints “a”, “b”, and “c” on it. If the numbers are all different from each other, the result is 0. If all of the numbers are the same, the result is 20. If two of the num…
  • Write the program in python Pretend your $US ATM contains $20, $10, $5, and $1 bills. Write a program that will ask for how much to withdraw and then compute the minimum number of each type of bill. F…
  • You must ensure that the application you submit meets all the technical/grading requirements. Your grade will be based on how well your application follows these requirements: The name of your applica…
  • How do I use a GridSearchCV and Pipeline to tune hyper-parameters for 3 different classifiers including KNeighborsClassifier, LogisticRegression and svm.SVC and report the corresponding AUC values on …
  • In late 2013, the taxi company Yourcabs.com in Bangalore, India was¬† facing a problem with the drivers using their platform-not all¬† drivers were showing up for their scheduled calls. Drivers would?…
  • [3 points] Write python code that uses the workspace class to change the workspace to the Ottawa geodatabase feature dataset OTTAWADATA.¬† Then, print output describing the shapeType of each feature c…
  • Use python or google colab to do the following. Just need the code here. The MNIST dataset can be found and downloaded from: ¬† ¬† ¬† ¬† ¬†http://yann.lecun.com/exdb/mnist/ Question: Load the Fashion …
  • Assume that the class Winter has been defined properly and that it contains the following method. ¬† class Winter: ¬† ¬† ¬† ¬†#Assume __init__ is defined properly ¬† ¬† ¬† ¬† ¬† def get_snow_type(self…
  • Which of the following is right about scikit-learn? ( choose all that apply) A. For a model, attributes ending with an underscore(_) means they are only accessible after running the fit method. B.¬†¬†…
  • help me solve a python program to calculate the average for each month of every year, using the template below: #name: get_data_list #param: FILE_NAME – the file’s name you saved for the stock’s price…
  • I am so confused. if anyone can offer help, I would appreciate it. This is what i am given to do: We will provide you with a number N. Output the times table for that number from 1 to 12. So, if we pa…
  • What is an important requirement of Secure Programming? Group of answer choices ¬† Focus on making the program work and let the anti-virus software handle security. ¬† Develop programs that handle val…
  • You are required to perform a literature search on the internet (e.g. Google, AOU e-library etc.) and find the relevant technical articles, reports or publications dealing with the below topic and wri…
  • 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,…
  • Set up the project files and intitial values 1. Open pi.txt in read mode, the file has a single line of text "3.14….". 2. Get user name as input and say "hi". 3. Use the length o…
  • I am trying to define functions in my python code. I have started coding and got 2 of the functions to work. I need help defining and have the code print out like in the output1.txt file. Scoring_per_…
  • Implement a code with this problem using iteration for factorial : (Problem: Probability without replacement) ¬† A box contains 6 white balls and 4 black balls. Three balls are taken at random from th…
  • [25 points] Classification with PCA vs. FISHER using k-NN – Dataset: https://www.kaggle.com/c/digit-recognizer – Apply 9-dimensional PCA – Call it the Digits-PCA dataset. – Apply 9-dimensional FISHER …
  • Case Study Domain – HR focus – Insights from data Business challenge/requirement SFO Public Department – referred to as SFO has captured all the salary data of its employees from year 2011 – 2014. Now…
  • Please help in below python Program: ¬† In this dataset, ‘id’ is the first and ‘class’ the column. We do not consider these two columns for kmeans computation. Use columns a2 to 10 for k-means computa…
  • Python Programming Language. Problem 1 Write a 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 the series. Af…
  • I need python code for #7,8,9,10. 9. Sort the list names and display the median name Do not use constants as 8 or 9 use integer division with the n = len(names) 10. Display the number of vowels in nam…
  • The following incomplete script has been provided to you: q2-groups.py ¬† ¬† Take a moment to download the script and note the contents. You will find a test string and a list. Both contain entries fr…
  • Dan has a list of problems suitable for Assignment 4. The difficulties of these problems are stored in a list of integers a. The i th problem’s difficulty is represented by a[i] (the higher the intege…
  • 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…
  • Prompt the user for the size of the multiplication table ( from 2 X 2 to 10 * 10 ) . Use a validation loop to display a warning if the number is less than 2 or greater than 10 and prompt the user to …
  • I am trying to write a program on notepad++ to run on cygwin but I keep getting errors. I can’t see where I’ve gone wrong: ¬† dognames = “C:\cygwin64\cpt180Stuff\pets\cats\catnames.txt” catnames = “C:…
  • The Syracuse (also called the Collatz Hailstone) sequence is generated by starting with a natural number and repeatedly applying the following function: ¬†function: syr(x) = x/2, if x is even syr(x) =…
  • Any help. Which of the following is the syntactically correct definition of a function to print the string program started? Odef started () : print (‘program started’) O defun begin: print (‘program s…
  • Trying to write a program in python to calculate grades for the semester. ¬†I want to prompt a user to enter a score for a problem that reads like this: ¬† What is your grade for Vocareum assignments …
  • I am writing a program in Python and at line 6 the result appear in bracket. Any help on writing the line 6 requirements: “Subtract line 5 from line 4. If line 5 is larger than 4, enter -0-. This is y…
  • I was able to do that bit. this is a code for earth orbiting the sun. I want to add the sun’s orbit too, but I don’t know how. I calculated the gravity earth has on the sun and its 3.56e22 N. now I wa…
  • Your task is to prepare a simple code able to evaluate the end time of a period of time, given as a number of minutes (it could be arbitrarily large). The start time is given as a pair of hours (0..23…
  • All the answer has to be done in Python 1.¬†¬†¬†¬†DO Python program that prompts the user to enter a number. In one calculation, take that number, add 2, multiply by 3, subtract 6, and divide by 3.¬†U…
  • Can some one show me how to solve it? Thank you. Problem 12 Suppose we have a text file, records.txt, of people’s names and their weights. Each line of the file contains one name and one weight, separ…
  • Everything looks great but when I go to run it , I am told there is an error with line “If num>=90: ” the error states that the name “num” is not defined print() num- int ()0 Week 2 labe part 2.py …
  • In Python, write a program that interviews users with 10 questions (invent some questions). Implement the program in a way that list named “questions ” keeps the questions. list named “constraints ” k…
  • I am having trouble starting my assignment in python Ask the user for a csv data file to analyze. After the analysis and display of the report for one file, the user is to be prompted if they want to …
  • Hi, I have this code: import csv myfile = open(“h11.csv”) myreader = csv.reader(myfile) mydata = list(myreader) mydict = {} for i in mydata: ¬†¬†a = (i[0:2]) ¬†¬†b = (i[2:]) ¬†¬†print(a) ¬†¬†print(b) …
  • 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…
  • Convert the following Binary number to Decimal a. 11001101 2. Convert text to binary a. Use any five-letter word of your choice to calculate the ASCII and binary values for each character in the w…
  • The Final project for DS700 simulates a real-world scenario. There are two parts to the Final Project- ¬† Part-A: Students will utilize the SQL skills they have acquired in the course to generate the …
  • TQSA2: Estimate Probabilities from Data Develop file named game02-selecting-data. ipynb, produce a Python commands and add…
  • You Programming Assign. Unit 7 Instructions for submission Start with the following Python code. alphabet = "abcdefghijklmnopqrstuvwxyz" test_dups = ["zzz","dog","b…
  • Python Please don’t use other tutor work as yours please be original¬†. Spacing(separate each section of codes with a blank line) but separate each function with 2 blank lines Indentation Style (prope…
  • Tax laws are incredibly complicated. In order to help cope, you will write program to do some of the heavy lifting. Your program should accept as input the amount of income made by the user in the pas…
  • I get this error when trying to concatenate two tensors but I dont know how to fix it Any help here would be appreciated¬†. ipython-input-11-cfbeb1760ege> in <module>( ) Traceback (most recen…
  • Python Programming Please someone solve this question for my assignment. I don’t know how to do it!!! NO PLAGIARISM PLEASE. ¬†. Question 1 For companies resuming operations after the eireuil breaker p…
  • Hello My program is running an error when I type in the word quit. The assignment is: Your program should prompt the user to enter a number and tell them if the number they entered is even or odd. The…
  • There is a set of N men and N women. Each of them is numbered from 1 to N. They have been married off in pairs. However complete information about the pairs is not available. Some specific clues about…
  • Go to http://www.stern.nyu.edu/faculty/search_name_form/ and write script to parse all of the email address. There may be a few email address with spelling errors – you want your regular expression to…
  • Consider only the below columns and prepare a prediction model for predicting Price. Corolla<- Corolla [c("Price", "Age_08_04", "KM", "HP", "cc", …
  • 16¬†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…
  • Answer is not found online anywhere. Suppose we have a regularized linear regression model: arguinw "Y ‚ÄĒXw”: +11||w||: . What is the effect of increasing p (p 2 1) on bias and variance if the…
  • CSD_1233 Lab Nine Required Time: 90 Minutes 1. Create a file and name it "module.py" and implement the following functions in it: a. Develop function factorial(n) that calculates the factor…
  • Programming Assignment 2 You are provided with a dataset that includes data of people who are interviewed for the Data Scientist job. The data is below and the fields are; each candidate’s level, th…
  • Q4 (7 points): Use Pandas to read the data in the excel file in Q3. Then use matplotlib to plot the three IPR curves. Requirements: All the curves should be on one graph. The components of the plots s…
  • Update this code so that it:import random #allow game to run first time #Note booleans in python are capitalised play = True games_count = 0 def asking_username(): ¬† ¬† ¬† ¬†print(“What’s your name? …
  • You will create a project which uses the skills you’ve learned this semester.¬†Your project must contain a¬†searchable, writable data source. This can be¬†a text file or a SQL database. You must creat…
  • Write a bash script called reread.bash. It takes on command line option (-s) that allows the user to provide the service to restart. If the user does not provide the -s option, print a generic error m…
  • . Home x Discussion x zy Section 3.16 – CYB 130T: Object-( x zy Section 3.10 – CYB 130T: Object-( X + V X – -> C @ learn.zybooks.com/zybook/CYB_130T_55317551/chapter/3/section/10 =zyBooks My libr…
  • Can you help me to do an Series Parallel Circuits application using PysimpleGUI that solves problem in the field of ¬†Physics and Engineering? ¬† Topic: Series Parallel Circuits application ¬† Use the…
  • CSV files : https://onedrive.live.com/view.aspx?resid=7831DBEC268CDBE3!1487&ithint=file%2cxlsx&authkey=!AhQMQIqJhz88GWk https://onedrive.live.com/view.aspx?resid=7831DBEC268CDBE3!1485&ithi…
  • Please help, thank you. Codes are in Python Numpy, use the cheat sheet for reference. 3. (26 points) Choosing shirts Chidi has 4 white shirts, 9 blue shirts, and 2 gold shirts. Each day, he chooses on…
  • If possible, please help correct and improve the code written on the right side. Alternatively, please help write a new correct code entirely. Thank you so much. Below, I have included the test cases….
  • Write a function less_columns(np_list, width) which takes a NumPy array¬†np_list¬†and¬†width¬†(type integer) as¬†the inputs, and returns a new NumPy array reshaped to have the least (e.g., minimum) nu…
  • I want to flip half of an image vertically in Python. This is my code but I’m only able to flip the whole image ūüôĀ def mirror_vert(filename): ¬†¬†img = load_image(filename) ¬†¬†height = img.get_height…
  • convery the existing FOR LOOP into WHILE LOOP convert the existing FOR LOOP into WHILE LOOP es Google X Invention/Pre-writing – x INVENTION/PRE W bapps/blackboard/content/listContent.jsp?course_id=_78…
  • I need help figuring out the #TODO: define get_win_percentage(): It is highlighted blue in the image that I have attached that’s all I need help with. Thank You!! 8.10¬†LAB: Winning team (classes) Com…
  • Exercise # 1 . Complete the code below to produce a working Pandas Chain . Hints are* provided wherever feasible .
  • Which of the following statements is the correct way to open a text file named quotes.txt for reading? Group of answer choices open quotes_file as (“quotes.txt”, “rt”): ¬† with open(“quotes.txt”, “rt”…
  • Consider the following modifications to the NaiveSort algorithm. – As an input, the algorithm should take a dictionary, with keys being any data type (e.g., string or oat) and values being floats. – T…
  • The popular TV gameshow “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 w…
  • explain the problem we face when we have input phase inside a class list out the class names for swiggy app(syntactically) using python
  • Good afternoon! Can someone please review the pseudocode for a game I created for my 5-4 Project One assignment?. START in Courtyard INPUT direction from user IF user is in Courtyard IF direction is N…
  • 1-Show each intermediate step of adding 1 to the following heap: [20, 27, 30, 41, 42, 83, 66, 91, 74, 63]. 2-Show each intermediate step of removing an item (20) from the following heap: [20, 27, 30, …
  • Write ¬†python program 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, …
  • Write PYTHON a program to input names and 2 test scores (each in 0.0 to 100.0 range) for several students from an input file.( input the file name in the program) Calculate weighted score, then grade …
  • Hi need help with the followin in Python ¬† Using simple code. Do not use menus or functions. ¬† ¬† ¬† ¬† ¬† ¬†Produce the following: Hello, my name is {put your name} Create 3 variables and print the…
  • Question 1 The ¬†FILTER function can be used to extract specific: 1 point Rows from the data frame ¬† Columns from the data frame ¬† Both rows and columns ¬† Neither rows nor columns 2. Question 2 …
  • I need help with my program I can’t get menu option 2,3 or 4 to work correctly attached is my program: I am having trouble with option 2 is I can get it to call the URL up and print the image. For opt…
  • Question 2) 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 head…
  • Q8: Find the probabilities</h3> You will be given a list of lists, each sublist will be of length 2 i.e. [[x,y],[p,q],[l,m]..[r,s]] consider its like a martrix of n rows and two columns 1. The f…
  • Make the python interactive text game that is exciting, boring, interesting, or adventurous.¬† You can write your game about traveling to distant planets, exploring the forest, making sandwiches, or l…
  • Objective: Using Python, utilizing the following pandas df, create an animated choropleth plot using plotly that analyzes a seven-day moving average of cases for the USA and states. Then create a seco…
  • The file:¬† TestBinaryTree.py: import sys class Node (object): ¬† # constructor ¬† def __init__(self, data): ¬† ¬† ¬† self.data = data ¬† ¬† ¬† self.lChild = None ¬† ¬† ¬† self.rChild = None ¬† def…
  • Create a python program with suitable comments Create a list called strList where strList = [‘the’, ‘quick’, ‘brown’, ‘python’, ‘jumps’, ‘over’, ‘the’, ‘lazy’, ‘dog’]. Print strList with a suitable me…
  • Sniffing Bluetooth with the Raspberry Pi 1) Take note of the MAC address (and if available the name) of some discovered Bluetooth devices: _____________________________________________________________…
  • Problem 3 – thue_morse() in thue_morse.py: Thue-Morse sequence [20 points] Re-implement the construction of Thue-Morse sequences, but as a function. Specifically, you should define a function called t…
  • There is a correct solution at geeksforgeeks.org/box-stacking-problem-dp-22 for stacking problem but there is an important difference I want each Box once, no need multiple instances of box example In…
  • Use python !!!! Ask the user for a number between 3 and 10 (inclusive). Using a loop, calculate the product of the numbers between 2 and that number. For example, if the user chooses 5, the result wou…
  • 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….
  • Anyone please Exercise 3.16: Implement a Gaussian function Make a Python function gauss (x, m=0, s=1) for computing the Gaus- sian function f(x)- Write out a nicely formatted table of a and f(x) value…
  • Given the sample call data in the attached CSV file, use Python to solve the following problems. Share the code for each problem. You can also share a Jupyter notebook with both solutions.¬†Problem 1?…
  • “INSTRUCTIONS” All coding is on python and Codes with comments . (MUST) ‚ÄĘ Make sure that function names must be similar as asked in the assignment. ‚ÄĘ Make sure that signature of methods must match…
  • I attached the question down below please help it is python programming 1318′? .. ‘ LTE CD 9 elearning.uh.edu Objective Write a simple program to demonstrate input, computation, and output using sev…
  • Define a class ‘MobileInventory’ with the following specifications: Define the class method ‘__init__’, which initializes an instance of ‘MobileInventory’ and accepts an input through the argument ‘in…
  • Write a function called check_positive_zero_negative. The function should take one parameter as an input, and perform the following operation:¬† ¬† If the number is positive, the function should print…
  • Write a program that will ¬† ¬† ¬† ¬† ¬† ¬† ¬†– ask the user for five of his favourite activities from most preferred to least¬†¬†¬†¬† preferred (e.g., ¬†¬†¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†…
  • Can anyone help me debug these psuedocodes? ¬†. // This pseudocode is intended to determine whether students have // passed or failed a course; student needs to average 60 or / / more on two tests….
  • fb_data = { ¬†“data”: [ ¬†{ ¬†¬†“id”: “2253324325325123432madeup”,¬† ¬†¬†“from”: { ¬†¬†¬†“id”: “23243152523425madeup”,¬† ¬†¬†¬†“name”: “Jane Smith” ¬†¬†},¬† ¬†¬†“to”: { ¬†¬†¬†“data”: [ ¬†¬†¬†¬†{ ¬†¬†?…
  • In python, how do you connect the sakila database and add a record to the database?
  • Create the schema shown below (screenshot) in SQLite and populate it with data of at least 6 students, 4 courses, and 11 enrollments (at least one of the students should not be enrolled in any courses…
  • no importing anything doctests and method headers below ¬† ¬† ¬† ¬† We will be implementing various classes relating to cooking and the cost associated with each ingredient and tool used in a recipe.?…
  • # 15 points def exercise32(new_observations): Data set: Iris Fit the Iris dataset into a KNN model with neighbors=5 and predict the category of observations passed in argument new_ohservations. Retur…
  • I need slove a = triangular( ‘data_1.dat’, ord ) d = triangular( ‘data_4. dat’, ord ) a. data = a. data[ : 4] d. data = d. data[ :4] print( a. data ) print( d. data ) student_answer = a + d #print( st…
  • Tasks: You will create a program called processUpdates.py, that will use the information in one file (the “updates” file) to update information in a master file (data.txt) and produce a new file with …
  • RF module configuration failed alarm with Nikia RRH fzhn and FXJB..what is renedy
  • Print the FTP username and password. (a). Hint: pkt.load will provide protocol payload data. Print the number of packets with port 21 in the entire packet capture. (a). Should match Wireshark ‘Display…
  • Do Exercise 6.4 from your textbook¬† using recursion ¬†and the¬†is_divisible¬†function from Section 6.4.¬†Your program may assume that both arguments to¬†is_power¬†are positive integers. Note that the…
  • 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…
  • Friday is my due. Unit AUSTRALIAN INSTITUTE OF HIGHER EDUCATION |SY1003 Foundations of Programming Assessment Type Practical Assessment Number Assessment Weighting Alignment with Unit and Course Due D…
  • An example of pseudo code with the months of the year in a list format and a flowchart is what I am having difficulty understanding. Like a pseudo code and a flowchart example of the months in a list …
  • Hi I need help in one of my assignemnts in mining big data CSC 555 Implement query 0.3 using Hadoop streaming with python. You don’t need to implement other queries. –Q0.3 SELECT lo_quantity, SUM(lo_…
    • Describe three types of visualisations you can use in Python. Provide example codes to produce each. (b) Identify two cases where a 2D visualisation might be preferable over 3D visualisation and e…
  • Please assist Wikipedia has a Webpage: List of countries by past and future population. On this page, there are three tables containing the estimated populations from 1950 to 2050 for all the countrie…
  • SPECIFICATION Description: This program uses the marketingdatatxt data to print totals and create a bar and pie charts showing the number of men and women at the mail, by social class. See the descri…
  • 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…
  • Hello, I was wondering if you could help me with a Python assignment. I’m currently in a beginner level programming course and I have been stuck on this question. ūüôĀ Here are the problem instructions:…
  • Try to come up with a python program to check whether or not a list has a sublist Ex. X=[2,4,3,5,7] Y= [4,3] The output should be: b is a sublist of a
  • In this problem, you are given a partially completed program, and you need to update and fill in the rest of the program to produce the desired output. ¬† This problem performs a simple numerical anal…
  • For this problem, you will load and perform some cleaning steps on a dataset in the provided BankData.csv, which is data about loan approvals from a bank in Japan (it has been modified from the origin…
  • The question is below # Replace the ” with an expression that evaluates to a string with # the following pattern: # factoids = ‘<name> has <number of letters>. It starts with <letter&g…
  • Make a function that take in four arguments: lst1, lst2, str1, str2, and returns a pandas DataFrame that has the first column labeled str1 and the second column labaled str2, that have values lst1 and…
  • 3.2: Bidding example. CHALLENGE ACTIVITY 4.3.2: Bidding example. Write an expression that continues to bid until the user enters ‘n’. Sample output with inputs: "y" y’ ‘n’ I’ll bid $7! Con…
  • Define the Artist class in Artist.py with a constructor to initialize an artist’s information. The constructor should by default initialize the artist’s name to “None” and the years of birth and death…
  • To better address the lower number of customers, Tom wishes to optimize his restaurant ordering decisions. In particular, Vijay has focused on restairants most popular drink, “Amour du jour”‚ÄĒa blend…
  • 4) Two cars are not equivalent if either the prices or conditions don’t match. def ne (self, other) : if return True return False
  • Given the xml data base of movies below, how do you parse out specific sub-category. For instance, I want to pull a list all the movies that are rated PG (Enemy Behind and Ishtar). <collection shel…
  • C++ Or python I need help with an assignment which is¬†to implement a Dictionary Attack with and without Password Salt program in¬†C++ / Python .Check the slides “OS Security II,” pg. 4-8.¬† f you are…
  • . Number 2 Function Description Write a function word_hist that takes a string of words. and that returns a dictionary where the keys are the unique words in the string, and the values are the frequ…
  • 1- , correctly define “sequential control structure”: ¬†¬†¬† 2- , correctly define “branching”: ¬†¬†¬† ¬† ¬† 3- , correctly define “looping”: ¬†¬†¬† 4- When does code repetition stop in a while True: …
  • . 1. Why are variables so important to programming? (3 pts) 2. What are some of the Python rules for naming a variable? (2.5 pts) 3. Why do programming languages have rules for naming variables? (2….
  • 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. Ques…
  • Given the following string, write a program that counts how many times each letter has been used in the string. Use a dictionary to store your results. phrase = “The lazy dog jumped over the curious c…
  • #NAME?
  • How many women have their ‘BloodPressure’ equal to the median of ‘BloodPressure’
  • So my group has do do this for our python class and I have no clue how to go about this, any explanations and examples given on how to construct a code that can accomplish this would be enormously app…
  • Sorry, the information is complete. This is all we are given in this problem. Please show me the correct Python 3 code to answer the following problem: rating = “R” age = 15 #You may modify the lines …
  • Please show code for this question The CNN Money’s Market Movers website (https://money.cnn.com/data/hotstocks/ ) tracks the most active stocks on a real time basis. Specifically, the most active, the…
  • Python # * Question 14 – #________ are special objects that help your programs respond to errors in appropriate ways. # * Question 15 #This method in the json module is used to write to a file: ______…
  • Based on the network below, what is the basic PR of node C at step k = 1? 1 point B A D 0.625 0.25 0.5 0.375 0.125
  • I am unsure on how to approach and answer this question. Please provide insightful answer with comments explaining code. Please demonstrate using screenshots that your answer satisfies all doc-test, T…
  • Python Programming Someone please help to solve this python lists assignment. ¬† ¬†. Develop some code that can examine the portfolio, and for each block, multiply the number of shares by the purchase…
  • csv: https://www.mediafire.com/file/5cux9ndbw5tsqya/sample_data.csv/file Restrictions, don’t use imports, dictionaries or dictionary methods, try-excepts. Language: Python. def get_elevati…
  • Please explain Copy and paste the code in Problem 3, and change it to implement SARSA. Once you’re done implementing, run a few experiments to determine whether the original Q learning in Problem 3 wo…
  • I need help refactoring this code!!! Thanks import time import pandas as pd import numpy as np CITY_DATA = {‘Chicago’: ‘chicago.csv’, ¬† ¬† ¬† ¬† ¬† ¬† ‘New York City’: ‘new_york_city.csv’, ¬† ¬† ¬† ?…
  • need help with this python question: Practice 2020-11-25 1- Write a class called Book with 3 attributes title, author, and pages and two methods returning its information and number of pages. 2- Write…
  • Build matric (2×2) operation such as addition, subtraction and multiplication using python tkinter. The diagram shown.. Calculator X Matrix A Results Matrix B Addition Substraction Multiply BACK Cir
  • Please explain and solve the following (10 pts) Answer the following question on Dijkstra algorithm running on the weighted graph below, where each edge is labelled with its cost: Assume we run Dijkst…
  • 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 give example of a function called¬†…
  • . R (PDF) Design of pro. K ML with PySpark Pr. Microsoft Word – In.. Submit this as a Markdown file (no Word documents, no PDFs) named outline.md in your preexisting paper/ directory. Keep in mind t…
  • A python program that reads two lists of numbers ūĚĎč=[ūĚĎ•0,ūĚĎ•1,‚čĮ,ūĚĎ•ūĚĎõ‚ąí1] and ūĚĎĆ=[ūĚ϶0,ūĚ϶1,‚čĮ,ūĚ϶ūĚĎõ‚ąí1] and calls a function that computes the distance of the two lists defined as…
  • Use GENETIC ALGORITHM in Python to complete this task ¬† The traveling salesman problem is an optimization problem where there is a finite number of cities, and the cost of travel between each city is…
  • Write a python program in Jupytr that calculates a factorial: n! = n*(n-1)*(n-2)* … *(1) using a: – while loop – for loop
  • HELP PLEASE. I NEED ORIGINAL WORK PYTHON. I ran following program, which returned following columns: pretty_print_sql(f””” WITH actors AS ({actors_query}) SELECT¬† ¬† ¬†a.nconst, ¬† ¬†a.name, ¬† ¬†t.s…
  • Design a Python function that returns the sum of multiples of 3 and 5 between 0 and limit (parameter). For example, if limit is 20, it should return the sum of 3, 5, 6, 9, 10, 12, 15, 18, 20.
  • 6 Extra Credit (a) create the recursive function BinaryGCD(ab) based on the following pseudo code: def BinaryG R(a h) : # recursive pseudo-code arrange order so a s b if a==0: done, b is GCD if a a…
  • QUESTION 4 1Write Python programs to implement each of the following Ô¨āowcharts:
  • Hello! I am starting a project in python that has to do with creating graphs in python and looking at a dataset and creating a graph from that. The dataset is a csv file that will be opened and read b…
  • from sentences import get_determiner, get_noun, get_verb, get_preposition, get_prepositional_phrase from random import randint import pytest # all words single_determiners = [“the”, “one”, “a”] plural…
  • Write a program that first gets a list of integers from input. The last value of the input represents a threshold. Output all integers less than or equal to that threshold value. Do not include the th…
  • Question: Use the dataset SeaPlaneTravel.csv to build a model to forecast the demand (passenger traffic) of traffic using time series algorithms. The data is classified in date/time and the passengers…
  • GUI (graphic User Interface) App Using Python Pysimplegui 2. Object-Oriented Programming (OOP) 3. Solves problem in the field of Mathematics, Physics, Sciences and Engineering. here are the choices…
  • Could you give me the code for the answer to this question? The input to output results should be the same as shown from the example below.. Exercise 4.3 Check perfect number Write a program to read a…
  • compare and contrast object-oriented programming with the structured programming you did in previous classes.
  • Calculate Charges – Part 1 Calculate the base charge Set the base charge for the rental type equal to the variable baseCharge. The base charge is the rental period * the appropriate rate: For example:…
  • Explanation of Basic output with variables? How and where would you put the answer? user_num = int(input(‘Enter integer:\n’)) user_num = int(input(‘Enter integer:\n’))
  • Implementation Details This application must be implemented using the Object-Oriented features of Python. I will provide the main template for the assignment as a Python file. Your solution MUST inclu…
  • 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 a. …
  • Flowchart question. 7. [15 points] Maxflow Consider the following flow network and initial flow f, Each edge (u, v) is labeled by f (u, v): c(u, v). We will perform one iteration of the Edmonds-Karp a…
  • how to clear a form that has a combo box, check boxed, and radio buttons in GUI
  • Using Code Block application Write C code that has three variables named first, second, and third. Assign the value of 1 to first, 2 to second, and 3 to third (example first = 1). A fourth variable na…
  • Hello, I need some help with creating this program that will output this result ***************** Welcome to the Python Matrix Application*********** Do you want to play the Matrix Game? Enter Y for Y…
  • python program that will load a list of A with 15 random numbers (Range 35-50). Display List A in ascending order. Then get a number x. Compare x to each element of A, if list element is less than x, …
  • PYTHON Create and test a function that accepts a list of digits and returns a new list containing the word for each of the digits found. For instance, if sent the list [2,2,3,1,8,9], then the list ret…
  • Question 2: ¬† Continuing with concept of complexity, 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…
  • A sentence starts with a capital letter and ends in a full stop, an exclamation mark, or a question mark, possibly followed by closing double quotes. Sir, Sirs, Sir names, Knight and Knave always star…
  • Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Pay should be the normal rate for hours up to 40 and time-and-a-half for the hourly rate for all hours …
  • Within your 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 Fire…
  • def test_q10_determinant () : Im = [[8, 4, 2], [2, -3, 5], [1, 4, 9]] assert py_cw. matrixdeterminant (m) == -406. Gdef matrixtranspose (m) : pass Odef matrixsub (m, p, q) : pass Odef matrixdeterminan…
  • Note: The output should match the output given in the prompt below. Please use the txt files given by the 2 links below. Script¬†that asks for a filename (to which mbox.txt and mbox-short.txt will be …
  • IUsing Excel, based on the attached processed.cleveland.data file. In your response include results, plots, screenshots. Show frequency distribution of “num” column based on patient sex? Create a bar …
  • Every time I go and start my code it does not run any list. How would I go about creating a list that run in python. Attached is the assignment I have to complete. ¬†¬†¬†¬†Create a¬† comment block ¬†(…
  • 18 LAB: Miles to track laps ¬† Instructor note: Note: this section of your textbook contains activities that you will complete for points. To ensure your work is scored, please access this page from…
  • ** RESTRICTIONS: You are NOT allowed to use ANY built-in Python data structures and/or their methods in any of your solutions. This includes built-in Python lists, dictionaries, or anything else. Vari…
  • Don’t copy paste from internet. 1. Implement gradient descent algorithm in Python and hence find the mini- mum of the following functions: a.f(x) = x2+1 b.f(a) = (x2 -1)2 Also, plot the function and i…
  • . Task 3 (1%) Write a program that prompts the user to read a filename and reads the words from the file and reports whether the words in the files are stored in ascending order. If the words are no…
  • I need to develop a self-service student registration program using Python and Object-oriented programming this system shall include the following options: Student registration, Module selection and v…
  • Please help me with this question I need an answer for it and not a copy answer from another program, and thank you ,Please add a screenshot for the code results.. Question 1: (30 Marks) 1 2 17 Consid…
  • . EXILLDILOJQLQQRS 1. In a while loop, what is the first action? Check the condition or execute the code? Check the condition 2. What is the minimum number of times that a while loop will execute? E…
  • 1) ¬†Use the following data to plot a pie chart and annotate the percentage sales. Location Sale Delhi 42500 Bangalore 44500 Chennai 48300 Pune 52400 Kolkata 61800 ¬† Q.2) Jake’s monthly expenditure…
  • Need to pass all test calls and returning the correct type
  • What will be the output of the following code snippet? def addone (index ) : if index in fruit: fruit [ index ] += 1 else : fruit [ index ] = 1 fruit = {} addone ( ‘ Apple’ ) addone ( ‘ Banana’ ) addo…
  • Need help with following 2 tasks: Task 01 The arbitrary arguments paradigms (eg,¬†*args¬†and¬†**kwargs) have many uses but none so-common as when interfacing parent classes or component parts. The is-…
  • I need help with Python Programming Code for assignment to find significant temperature change e¬†in time series data. Steps to follow are below. Here are the required files: https://drive.google.co…
  • INSTRUCTIONS: ¬† ¬†YOU ARE NOT ALLOWED TO USE ANY LIBRARIES OR¬† ¬† ¬†METHODS NOT YET DISCUSSED IN CLASS. Tips: ¬† ¬†Some of these problems build from each other. Consider the use of Helper ¬† ¬†Funct…
  • Q3 – Root Finding [30 points] Filename: rocket . py The speed v of a Saturn V rocket in vertical flight near the surface of the earth can be approximated by the following formula: v = u . In Mo Mo – i…
  • Homework help, Thanks!! Q1: Write a function that Will accept one integer as an argument. It should randomly pick an integer between 1 and that integer (inclusive), and return its square root If the i…
  • Taking a pre-ordered list of numbers, create the BinaryTree and the AVLTree. ¬† ¬† Calculate the height of each tree using its height method and display the results. ¬† ¬† Calculate the breadthF…
  • Simulate a tally counter that can be used to admit a limited number of people.¬†First, the limit is set with a call ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†def setlimit(self, maximum) if the cou…
  • I need help with using range based loops. I need to use it for this assignment. J Part 2 ‚ÄĒ D20 Dice Game [Range-Based For Loops) 0 Background 0 20-sided dice were used as early as 300 BC in Ancient …
  • The following database project will create¬† educational attainment “demand” forecast for the state of California for years greater than 2010. The demand forecast is the expected number of population …
  • Make a Binary Search Tree based on the elements given below: ¬†¬†¬†65, 75, 45, 18, 55, 66, 30, 48, 58, 62, 72, 43, 60, 64 2.¬†Out from the BST in item no. 1, what are the leaf nodes? 3. Give the re…
  • Please disregard: ” do this ” issue, just a direction. Please give me the Python 3 code to solve the following problem: mystery_int = 50 #You may modify the lines of code above, but don’t move them! #…
  • 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…
  • 9 LAB: Max magnitude ¬† Write a function max_magnitude() with two integer input parameters that returns the largest magnitude value. Use the function in a program that takes two integer inputs, and …
  • Write a complete Python program that does the following: Sam¬†HouseFlipper¬†purchased a house on Cesar Chavez street on August 1, 2016. The following were the details of the purchase: Purchase price o…
  • Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– L…
  • GRADED ### Count the number of times the lower-case letter “s”, and upper-case letter “T” appears in test_string. ### Assign to ans1. ### YOUR ANSWER BELOW test_string = “The quick Brown Fox Jumped ov…
  • can you please help me create .yml file Assume you have just installed the latest version of CentOS 7.x on a VM with GNOME Desktop. You need to configure it so that you can use it for doing the Labs f…
  • Design¬†a¬†program¬†that¬†generates¬†a¬†7-digit¬†lottery¬†number.¬†The¬†program¬†should¬†have¬†an¬†integer¬†array¬†with¬†7¬†elements.¬†Write¬†a¬†loop¬†that¬†steps¬†through¬†the¬†array,¬†randomly¬†gene…
  • I hate you that you post the solutions to my tests.
  • Data Wrangling Project Your second project will be to write a python script *from scratch*. You will develop a script in a file named process_grades.py that will read in some grade data, process it, a…
  • Perform the following operations using python: The measured signals were first sampled at 833 Hz, upon down-sampling from 1666 Hz, and thereafter low-pass filtered with a cut-off frequency of 380 Hz, …
  • Write the python main program and a function that accepts a string as an argument which is a¬†series of single-digit numbers with nothing separating them. The function should return the sum of all the…
  • ¬† 1.¬†¬†¬†¬†Both Exercises # 1 and #2.¬†Enter the required attributes to your code (Flowgorithm Menu Guidance for identifying your code and giving it attributes in Course Resources).¬† …
  • . CHALLENGE ACTIVITY 4.4.3: Relational expressions. 375510.2350218.qx3zqy7 V Jump to level 1 1 Complete the expression so that user_points is assigned with 0 if user_bonus is less than 25 (second br…
  • Error in eval(expr, envir, enclos): object ‘tbCan’ not found ¬† ¬†Traceback: Write a comment describing how that statement works.
  • Find the biggest change from opening price to closing¬† price for each group. Also list the corresponding date, opening price, and closing¬† price. Note that the change should be an absolute value. US…
  • can I get some help please. What is written down is my code, that I have on idle, I need help though please I keep getting error. ¬† the picture at the very bottom is the result of the code. There is …
  • Write 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 invented them y…
  • MORE LISTS Perform each of the following tasks: Create a list called names with the following values, ‘Cathy’, ‘Ben’, ‘Jorge’, ‘Wanda’, ‘Freddie’. Create a list called balance with the following value…
  • Game Time How do you create python code game? For examples: Movie Trivia, Guess a number between 1-10, Dice, etc. Note: Avoid games with lots of complex combinations like card games, i.e. poker, unles…
  • Step-1 Popularity-based Ranking Step-1.1 Compute the ranking of most popular movies Your next task is to take the movie preference dataframe and computes the popular ranking of movies from the most po…
  • The text viewer1.txt marina,1,10,25 elvy,2,0,8 marina,1,0,10 ¬† Part 1 Given a¬† filepath¬† to a¬†.txt file,¬†write a function that parses the file and returns a dictionary with a tuple¬†(username, us…
  • def func(x): f= Enter your function here return f import numpy as np import matplotlib.pyplot as plt import math X0=1;¬† X_1=0;¬† Iteration=8 d= np.zeros(Iteration) S=(Iteration,2) X = np.array(np….
  • You can USE C-H-E-G-G solution just give the code in the box (actually text). Just try to change it up by a bit.(words). Thank you universe ¬† Goal: For this lab, we will look at Natural Language Proc…
  • 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…
  • . CHALLENGE ACTIVITY 5.8.1: Nested loops. 375510.2350218.qx3zqy7 Jump to level 1 1 Type the program’s output 2 i = 2 a while i < 17: j = 5 while j <= 9: print (f’ {i}{jb") 4 j =j+4 i=it 1…
  • Submit one .py file for the entire homework (filename is specified below).¬† ¬† Your code must be organized into functions. We won’t tell you what functions to create, but we expect each function to…..
  • For this assignment, you will be writing unit tests based on the following specifications/requirements. You will write a series of unit tests to test a function called credit_card_validator (written f…
  • URGENT need this done within the hour. thanks so much!
  • . a. Consider the following lines entered on the Python shell: >>> module = ‘TM112’ > >> id(module) 1342828641072 >>> type(module) <class ‘str’> > > > modul…
  • Hello I am in serious need of help. My project is due tonight at 11:59 and I am pretty much stuck. I’ve gotten this far with my project and just need help to finish it off. Please I have attached the …
  • 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…
  • LAB RESTRICTIONS, PLEASE READ: Do not add any imports, the ones that you need will be given to you. You may not use any dictionaries or dictionary methods. Do not use try-except statements, you should…
  • This is not the full problem because i was not able to upload full screenshot. My question was that i need picture of output.. #Problem 1 def safeOpen(fileName ) : try: infile = open(fileName) return …
  • Q1 ¬† We have to write a program that allows a company to sell 10 tickets. A buyer can buy no more than 5 tickets in each transaction. The program should track the total number of tickets left. The pr…
  • Write a Python script which receives a number as input parameter and loops from 1 till the given number and displays all the odd numbers and prime number in that range.¬† *Example:-*¬† *Input:-*¬† ¬†?…
  • are the wave patterns for various values of őīŌČ and őīk same.if not why?
  • Please answer the question provided, Thanks! Goal In this assignment you will develop an interactive program which lets its users select from several ranked lists of competitors to see who is the curr…
  • file get weather .py file test weather parser .py ¬† file weather parser .py Please I want to write docstring for each function >> ¬†please short question and so clear. thanks ¬†. import request…
  • In this assignment, you are asked to demonstrate a program which uses the concept of encapsulation, inheritance, and polymorphism and the technique of operator overloading in OOP to automatically gene…
  • Programming exercises: Question 3b Open a new file with IDLE. Write a program that has two functions one called is divisible and the other called is divisible23n8 .The function is divisible is the sa…
  • Please do it accordingly as they said. Group problem ‚ÄĒ Frequency Analysis Frequency Analysis In Cryptanalysis (code breaking), a useful tool is frequency analysis. This method uses the frequency of …
  • Assume the following code has executed: dog = ‘Violet’ age = 11 weight = 37.5 beautiful = True time = ’11:14′ Odd-numbered questions present expressions. Your answer to a given expression question sho…
  • Bulls and Cows In this assignment you will create an application in Python that allows a user to play the game Bulls and Cows against a computer. The game works as follows: The computer chooses a 4-di…
  • Exercise 5 Modify the chaos Program so that the number of values to print is determined by the user. Have to add line … I don’t know how to change this loop. I added below script and run, “How many …
  • MGMT 58600 Programming for Business Applications Lab 4 ¬† 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 l…
  • In mathematics, the notation n! represents the factorial of the nonnegative integer n. The factorial of n is the product of all the non-negative integers from 1 to n. For example: 7! = 1 √ó 2 √ó 3 √ó …
  • Execute the following program and analyse the outputs obtained. Add comments in the program. ¬† class¬†Employee: ¬† ¬†‘Common base class for all employees’ ¬† ¬†empCount¬†=¬†0 ¬† ¬† ¬†def __init__(sel…
  • 1 In [3]: import numpy as np import pandas as pd data = pd.read_csv( ‘/home/user/Data/all_stocks_5yr.csv’ ) data = data[[ ‘date’ , ‘open’ , ‘high’ , ‘low’ , ‘close’ , ‘volume’ , ‘Name’ ]] data.sort_va…
  • . In [43]: # Profits = Revenues – Variable Costs – Fixed costs # Compute profits under various revenue scenarios for a given fixed cost # Redo this computation for various fixed cost scenarios # Sto…
  • Complete the function last_by_type_v0 so it behaves as described in the docstring. Keep in mind that your function should produce the correct output for any data frame that meets the conditions specif…
  • A list of unsorted elements is [21 6 3 57 13 9 14 18 2¬†]. Arrange the element in ascending order using Deque(Python ).
  • Write a function ¬†filter_patients(patients, age) ¬† that receives a list of tuples where each tuple contains the name and ages of patients at a hospital and a target age .¬† The function should filte…
  • Python programming: . Pretend you’re on a team of engineers designing a program to calculate the reaction forces and shear and moment diagrams on a simply supported beam, using singularity functions ….
  • I need help with Task 5, it needs to be in python 123 # TASK 5 124 125 # DO NOT modify this function 126 def AlicePrepare() : 127 128 Alice prepares a qubit using this function. 129 First, she chooses…
  • hi please help. i want to double check with you, make sure I did correct and I am going to send you the data though the google drive, it will make easier for you. here is the questions: https://docs.g…
  • ## Q3. i got column of ‘open_date’ and ‘close_date’ in a csv file, ## both date column with format eg. 2015-10-02T23:59:59-07:00 ## i want to create new variable ‘delta_days’ to count day only = ‘clos…
  • Not sure how to code the S_eff equation in python/anaconda/jupyter notebook, so my attempted code is below, let me know if you need anymore information You will use python to extract data from stellar…
  • Can anyone help me with a python assignment to make a tic tac toe game? Requirements: A program that uses functions to simulate a two player game of Tic Tac Toe. The program will allow the two players…
  • The Business: Smart-Mart is a convenient that is located in Toronto, Canada. The store needs an application to use it in its daily business. The application will be written by your company for the sto…
  • I need the answer in latex software Inis coursework Is tne second or two courseworks (plus a mastery component ror MtichHesmtn year MSCI students). Your submission, which must arrive before the deadli…
  • where alphabet is any string and output has to be a string def createCipherAlphabet ( alphabet ) : Given the input plaintext alphabet, reverse the input and then replace the beginning of the result wi…
  • please I need this to be solved correctly. Thanks. The problem Write a function show_value ( ) that takes two arguments: 1. a potential key and 2. a dictionary name. If the potential key is in the dic…
  • The Jupyter notebook for this assignment is linked¬†here. l analyze a large public data set in an effort to answer one of the burning qustions of our time:Who isn’t paying their parking tickets? The w…
  • EXTRA CREDIT: Print to the screen each sequence in reverse so your output should be: TAAGACTTA TGAATGT GCGCTATGT ATCTCTGTA For full credit include both the pseudo code and the python code.
  • Make use of the alpha vantage module to download the prices of stock from start_dt to end_dt ¬† ¬† How do I specify a specific timeframe? ¬† start_dt = 01-01-2020 end dt = 31-12-2021. from alpha_vanta…
  • Could anyone help with my python hw? If you could explain it as well that would be helpful. Thank you! ### Exercise #1 “”” def exercise_1(a): ¬†¬†“”” ¬†¬†Assume `a` is either an int or a float ¬†¬†Ret…
  • Write a program that asks the user to enter the weight of a package and then displays the shipping charges and the total charges based on the weight and the rate per pound. Make sure your program outp…
  • Provide a summary analysis of the predictive performance of the CART model outlined in pictures below, and an analysis of which variables contributed most to the model’s predictive power. Interpret th…
  • You can access the data from here https://docs.google.com/spreadsheets/d/1qkaFavHtqrSSZnCTy8qyHwXECI5WeLyR/edit?usp=sharing&ouid=104971339489862921302&rtpof=true&sd=true – Calculate traini…
  • This is file1.txt: basketball 50 B0009KMXWY candy-bar 5 B00E3K3UX2 chair 100 B01N2M6ZTK Music-player 240 B07SD95QCP pocket-knife 60 B0009VCA0I shampoo 3 B01N97PCBH toilet 320 B07H781NMC How would I st…
  • Here are all the files you need to fill in for this task https://ufile.io/f/qqlef and the example input files. These tasks require you to read from the standard input. Do not read directly from the ex…
  • def print_tax(tax_type, tax_amt ) : # Call the main main ( )
  • any help the bottom pictures are the code I wrote and I need help.¬† ¬† pls and thank you ¬† ¬† a Python program that creates a new database named XYZSoftware.db and calls 4 functions. The function na…
  • Case Study 1. Extract data from the given SalaryGender CSV file and store the data from each column in a separate NumPy array 2. Find: 1. The number of men with a PhD 2. The number of women with a PhD…
  • [Bb Week 4 – Object-Oriented Comp X Zy Section 4.5 – CIS261: Python Proc X X < – C @ learn.zybooks.com/zybook/Strayer_-_CIS261Winter2022/chapter/4/section/5?content_resource_id=27309573 = zyBooks M…
  • Given a JSON string person, use the json library to parse the string into a dictionary and then return the languages spoken by the person. input to function : json string – person. expected output : l…
  • when useing this code i get invalid synthraxs on Chevy_wins = Chevy_wins + 1
  • The question is that we downloaded several stock’s daily level data for you in ./data/stock_data/. You will write code that takes stock tickers as inputs and output one dictinoary. The dictionary uses…
  • Write recursive function BrainSearch that takes three parameters: an array, starting position, and the number to search. It returns the location of a number if exists in the array, otherwise returns -…
  • rite a python script called hoster-toaster.py that is sed to update a machine’s local hostname resolution e. The details of how it works are below: t requires one argument on the command line: the oso…
  • Naive Bayes has a parameter őľ, which we set to 1 in question 2.2. |D| Create a function that calculates the average accuracy for 5-fold cross validation given a single parameter for őľ. data can be f…
  • Add It Up! Function Name: add() Parameters: list of ints ( list ) Returns: total ( int ) Description: Given a list of integers, use recursion to add up the numbers and return the sum. If you’re given …
  • In the cell below is a list of tuples, where each tuple is of the form (year, midyear-population) or (int, int). The data contained in the list is based on estimates made by StatsCan of the Canadian p…
  • 23 LAB: Warm up: Variables, input, and type conversion ¬† (1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate variables. Then, …
  • py: import¬†time import¬†random #¬†Reads¬†words¬†from¬†a¬†text¬†file,¬†stores¬†them¬†in¬†a¬†list¬†and¬†returns¬†the¬†list def¬†read_words(filename): ¬†¬†¬†¬†with¬†open(filename,¬†“r”)¬†…
  • Can somone please help me with this assignment ASAP would appricaite alot. I put the python code below just copy that and past it in Python than you can start after that Thanks
  • Need some help with Python code for the Diabetes dataset (can be loaded from the datasets library in Python) Load the data set, and read the DESCR, features, keys, ..etc. Select 3 numerical features (…
  • 3f) Masking the Zip Codes In this part, create a for loop, updating the¬†df_users¬†dataframe. Go through each user, and update their zip code, to Safe Harbor specifications: If the user is from a zip …
  • Please help me find the solution to these practice question:. Download Wireshark, and open file above in Wireshark. Upload images showing the filtering and result of port 5555; ensure image(s) show ap…
  • Program Specifications ¬† Your program will prompt the user for the description of the product, the quantity and the price of 3 items. ¬†The data will be stored into three separate parallel lists (one…
  • Code for Part A def merge(lst1, lst2): ¬†¬†New_list = [] ¬†¬†while len(lst1) > 0 and len(lst2) > 0: ¬†¬†¬†¬†if lst1[0] < lst2[0]: ¬†¬†¬†¬†¬†¬†New_list.append(lst1.pop(0)) ¬†¬†¬†¬†else: ¬†¬†¬†…
  • Design a recursive function that accepts an argument into the parameters n . The function should return the value of n! (n factorial) . The definition of factorial is: n! = n x (n-1) x (n-2) x … dow…
  • I am doing my python beginner exercise now. Can you explain me two this questions please? . n…- .u a… m… "’"’"D"" u. …………. 8. What are the escape sequences in Py…
  • Q1 – Polynomial Division [30 points] Filename: polynomial_division.py A polynomial of noth degree with coefficients do, 41,…, , is given by P(x) = an" +an-12" – ] + .. . +ajr + do If r is …
  • . edef digit_count(s): e H u u Counts the number of digits in a string. Use: count = digit_count(s) Parameters: f s – a string (str) Returns: count – the number of digits in s (int) 1! u I!…
  • 1- Given a constant list of integers in the range 1 to 10 inclusive, use list comprehension (no explicit loops) to: ¬∑¬†¬†¬†find the sum of the even integers in list L. ¬∑¬†¬†¬†find the sum of the odd…
  • I need a code that multiplies two 30 digit numbers not using multiplication or math functions or libraries in python. Multiply two Boidigit numbers not using simple multiplication or math functions or…
  • Need help with the below questions. Please answer with clarity – and any code-organization problems, help explain any indents in the order and why they’re essential (I am still very confused on when t…
  • use python to solve this and also use NUMPY in that question and please do it ASAP . A new movie has just been released " Interstellar"! There are a lot of people at the cinema box office st…
  • This is a practice question intended to help with a course who’s grade break down is 5 quizes. this is not to be submitted, and is for my own education benefit. i have no idea how to do it and was won…
  • 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…
  • Write a recursive function that reads a string of 3 up to 7 characters and then generates all its permutations. Example, if the user enters ABC then the program should print the values: ABC, ACB, BAC,…
  • Given a string S and a string T, find the minimum window in S which will contain all the characters in T in linear time complexity. Note that when the count of a character C in T is N, then the count …
  • write a program that displays “Hello World!”. P2.¬†write a program that receives two integers as input and displays their product.¬† The program may not hardcode the values of these two integers. …
  • I can’t figure out how to add an exception error if someone was to enter a number outside the range of 1 to 50. I need it to error and say “Your number is invalid, Please enter a number between 1 and …
  • In this lab the completed program should print the numbers 0 through 10, along with their values multiplied by 2 and by 10. You should accomplish this using a for loop instead of a counter-controlled …
  • https://drive.google.com/file/d/1ICEfwzlDRmb9LGPBTJbWtRjQ65YLSDsa/view?usp=sharing. Background Object oriented programming languages are often used when designing and developing complex systems such a…
  • Start code given Data for mamal_sleep_1.txt given Answer must be in Python Language Do not use “chegg” (answers incorrect) ¬† ¬†. One simple way to detect anomalies is to find out how different the at…
  • what is the answer Which of the following Python expressions returns True if the value of x is an even number and returns False if the value of x is an odd number? Select one: (x / / 2) * (2 / / x) = …
  • . Citizenship: Permanent Resident Number of properties currently owned: 1 BSD is $33,886.96 ABSD is $397,599.99 Output For citizenship should be Singaporean, Permanent Resident or Foreigner. This qu…
  • 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 scorin…
  • 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…
  • Day of the Week write a program that asks the user for a number in the range of 1 through 7. The program should display the corresponding day of the week, where 1 = Monday, 2 = Tuesday, 3 = Wednesd…
  • 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…
  • I need Help to complete my python assignment. I have attempted it but did not get it. Thank you
  • Implement function q1(numerator, denominator) that uses the greedy strategy presented in slides 7 and 8 of Lecture 32 (Nov. 5) to determine a set of distinct (i.e. all different) Egyptian fractions th…
  • I need help displaying this code using python 3 Python Programming I – Honors 40460 #Unit 1, Module 4 Lab: PracticeB ~‚ÄĒ Conditionals, Type, and Mathematics Extended Student will be able to: Create n…
  • .14 LAB: Input and formatted output: Caffeine levels ¬† 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 hou…
  • Could someone write this program in Python? ¬†. Lab 4: Bit Stuffing Introduction: This lab you will write a program which duplicates the work of the data link layer. When data is send from the network…
  • Using python, Above is what will be printed on shell: Write a function separate() that takes a string fname representing a file name as a parameter. You may asssume that the file associated with fname…
  • A regular deck contains 52 cards. There are 4 suits: Hearts, Diamonds, Spades and Clubs There are 13 ranks: Ace, King, Queen, Jack, 10, 9, 8, 7, 6, 5, 4, 3, 2. Create two classes, Card and Deck . Clas…
  • Consider the function selection_sort() that we looked at in lecture. def selection_sort (unsorted) : “”” Purpose: To order the values in increasing order. Pre-conditions: :param unsorted: a list of nu…
  • Which of the following about the relationship between class and its instances is true? a.Class is the design of a type of objects b.Once the class is defined, we can use it to build as many instances …
  • import angr ¬†2 import sys ¬†3 import os ¬†4 ¬†5 def load_trace(trace_log): ¬†6 ¬† ¬† trace = [] ¬†7 ¬† ¬† with open(trace_log, ‘rb’) as fr: ¬†8 ¬† ¬† ¬† ¬† for line in fr: ¬†9 ¬† ¬† ¬† ¬† ¬† ¬† addr,…
  • Write a Python function called finalgrade to calculate the final grade for the class. The function takes 5 variables as input (values ‚Äč‚Äčup to 100) and returns as a result the final grade. The type…
  • For the following exercises, work with the¬† adult ¬†data set. Use Python to solve each problem. Partition the data set into a training set and a test set, each containing about half of the records. R…
  • a Python program to read in the temperatures for ten consecutive days in Celsius and store them into an array. The entire array should then be displayed. Next each temperature in the array should be c…
  • Please create a python¬†module named¬†homework.py¬†and implement the¬†classes and methods¬†outlined below.¬†Below you will find an explanation for each class and methods you need to implement. When yo…
  • Hello, I have tried to do this one and had no luck, can you do this before 1am Thank You Write a function named uniqueWordsthat counts how many different words there are in each line of an input file …
  • Write a Python program to find the median of three numbers provided by a user.
  • Hello, I need help solving this Lab simulation, It uses Multi-branch if-else statements: Print century for if-else statements and I am very new at python on so I need help solving it. It is very diffi…
  • Note : Assert statements are not required for this question. You may use loops for this question. ¬† A lot of games nowadays have a competitive system in which players can play to increase their skill…
  • Dynamic Programing – City Planning. (10 points): A city planner is asked to organize grocery shops in a new city. The city has a straight line main street that goes throughout the city. The city plann…
  • Come up with a function called matches that takes two strings as arguments and returns how many matches there are between the strings. A match is where the two strings have the same character at the s…
  • 11 LAB: Largest number Write a program whose inputs are three integers, and whose output is the largest of the three values. Ex: If the input is: 7 . 15 3 the output is: 15 376628.2015284 qx3zay7 LA…
  • Please answer this question as soon as possible thanks Question 3 (10 pts) Disco Systems hire you as their new software security expert. Their definition of a valid password is a string of characters …
  • for TASK-1, —> Try to get F1-score = 0.9950248756218906at threshold 0.5. —> Try to get Accuray = 0.9900990099009901at threshold 0.5. —> Your AUC score is not upto the mark. Try to ge…
  • Using jupyter notebook: Part 3 – Assume we have a random Poisson process where the arrival rate varies linearly from 1 to 10 arrivals per second over the course of three hours. Generate one random num…
  • 5 People’s weights (Java) (1) Prompt the user to enter five numbers, being five people’s weights. Store the numbers in an array of doubles. Output the array’s numbers on one line, each number follow…
  • Would you help with this? I am not sure how to do it. Thank you. ¬†. Activiy #1: Checkers Moves‚ÄĒ Team Activity [htt s: The purpose of this activity is to get you used to using lists of lists in a 2-…
  • Problem #2 is down below ‚¨áÔłŹ (Need help with #3) ¬†. 3. In this program, the task is the same as in problem 2. The run time will also look identical to the user. The difference is how you must exec…
  • I need to write python code for the question in below 2.7 Task 7: Programming using the Crypto Library This task is mainly designed for students in Computer Science/Engineering or related fields, wher…
  • ¬† Question 1 ¬† Which of the following list comprehensions will extract the number of square miles that a city covers as a float? Select as many as apply. ¬† ¬† city_data¬†=¬†[(“New¬†York”,¬†“New?…
  • I need help completing a program in Python Language with two inputs, current price and last month’s price (both integers). Then, output a summary listing the price, the change since last month, and th…
  • Write ¬†function¬†moreOdds that accepts one argument, a list of integers. ¬† The function then returns a bool that indicates whether the list contains(strictly) more odd numbers than even numbers. ¬† …
  • Write a function ‘lorentz_test()’ which ¬† expects a 2D numpy matrix as input and ¬† tests whether the matrix represents a Lorentz transformation, see below. ¬† Return the boolean True or False accord…
  • can I get help in coding this function? Create a class, Point(), with some methods that help you move the point, calculate the distance from another point, and Ô¨Ānd the closer point. Given: 0 Constru…
  • Hi, I’m trying to create this text adventure game and am having a hard time with the code for navigating through the rooms. The user will start at home go through all the rooms (go north, go south, go…
  • Create a student database program.¬† This program will allow the following: Add a new student to the database 3pts Remove a student from the database 5pts Display details about a student 3pts Display …
  • Lambda Function in Higher Order Functions Given a list of points L = [(1,2), (3,4), (5,6), (7,8), (9,10)] and a reference point p0 = (4,2) Print out the distance of each point in¬†L¬†to¬†p0 Sort¬†L¬†a…
  • I don’t know how to solve this¬† remove_tags ¬† ¬† Similar to the make_tags exercise you completed earlier, this function should do the reverse. It should remove every HTML tag from the text it is giv…
  • Flatten the Curve! A virus has hit COD and our class is being called on to assist in flattening the curve! The key to this will be tracking who has been tested and what their test results are so that …
  • Completely stuck, not sure how to figure this question out. Create a program that first gets a list of integers from input. That list is followed by two more integers representing lower and upper boun…
  • 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…
  • Python 3: ¬†Assistance with code ¬† Dem Data (dem.img): ¬† How would I obtain the elevation values at the following 3 locations. ‚ÄĘ Home: (-117.149033, 32.735362) ‚ÄĘ Work: (-117.240978, 32.671992) ?…
  • Can you please help me to code this one by using Python? Thank you so much!
  • I need help in webots I dont know to make the robot stay in a place until one of its internal variables get fully recharged
  • 1) The question screenshot has been attached down below: ¬† ¬†. Exercise A: "Letter Grades" For this exercise you will design and implement a program that will receive numerical grades as us…
  • # TODO Name: What is your Name? # TODO Date: What day is today? # App Name: Student Registration # App Description: Program that prompts and validates student information ¬† from os import system ?…
  • https://github.com/UO-CIS211/Agenda This is weblink that includes questions and instruction. Please help me
  • Hi ! Im having trouble with splitting the data to meet the conditions and then converting to a list and would love some help to solve this! This is the question. ¬† The datatype of the array created b…
  • I am needing help with getting this python code to work here is the link https://trinket.io/python/2dbc3ebba6 I have made s start just need you to alter it for it to run This is the activty : This is …
  • I just want to know where did i wrong as I tried to follow all the step to store the loop and it did not give out the right answer. We will use these to simulate whether the person stopped is "Wh…
  • Code and output for 3 loop programs in a doc file.
  • I need help refactoring this code!!! Thanks import time import pandas as pd import numpy as np CITY_DATA = {‘Chicago’: ‘chicago.csv’, ¬† ¬† ¬† ¬† ¬† ¬† ‘New York City’: ‘new_york_city.csv’, ¬† ¬† ¬† ?…
  • Please send python code as soon as possible. Assume that a square matrix ‘A’ is of size mxn (Size of the square matrix should be greater than 2X2). Write a PAC, algorithm/pseudocode and a python code …
  • ou m Cc = La & Ki D N X G SU C SC = G = G 4 St = lariu FI (2489809/quizzes/5155491/take Question 10 8 pts #A program is given below in Python. Analyze the program and explain what the function isF…
  • Python problem: Please read the instructions and write the code by python3 1 Part 2: Gradanator This interactive program focuses on if/else statements, input, and returning values. Turn in a file name…
  • Overview: For your final project, you will be creating four small scripts. Collectively, the four scripts will demonstrate your ability to engage in the fundamental scripting and problem-solving appro…
  • Hi, do you have a template how to convert the terms of a linear equation into a python dictionary?
  • Implement an algorithm that counts the number of occurrences of each l-mer in a string of length n. Run it over a bacterial genome and construct the distribution of l-mer frequencies. Compare this dis…
  • MUST BE DONE IN PYTHON Eratosthenes of Cyrene¬†lived approximately 275-195 BC. He was the first to accurately estimate the diameter of the earth. For several decades he served as the director and chie…
  • Please complete This in 30 min Question 1 5 Not yet answered Marked out of 8.00 P Flag question The following function called flip simulates the tossing of one coin. The function Ô¨āip takes no parame…
  • Python MRjob mapReduce I have a file consist of both numeric and alphabetical words using MRjob in python, how do I output top twenty and bottom twenty words lowercase and only find alphabetical word …
  • Run below program in Python and explain 1. F = raw_input(“Enter a temperature in Fahrenheit:\n”) F = float(F) C = 5 / 9. * (F – 32) print “%g Fahrenheit = %g Celsius” % (F, C) 2. import sys F = float(…
  • Need help with this python programming homework project please. import nltk import pronouncing import random # This uses the King James Bible as the corpus # Use: nltk.corpus.gutenberg.fileids() # to …
  • For the list: (prices = (10.00, 15.50, 13.25, 20.15]|, what value is contained in prices ? 1. the location of the list 2. the first value in the list 3. the size of the list 4. the number of elem…
  • import turtle #import modules import random wn = turtle.Screen() #create screen and set color wn.bgcolor( “lightblue” ) faith = turtle.Turtle() #create two turtles and set color jaz = turtle.Turtle() …
  • Write code and Screenshot Construct an array with 12 single-integer digits using your student number (9 digits) followed by your class section (3 digits). Name the array N. Print N with proper labels….
  • Dictionary = [‘abate’, ‘abbey’, ‘abet’, ‘abhor’, ‘abide’, ‘able’, ‘ably’, ‘abort’, ‘about’, ‘above’, ‘abuse’, ‘abyss’, ‘ac’, ‘ace’, ‘ache’, ‘achy’, ‘acid’, ‘acne’, ‘acorn’, ‘acre’, ‘acrid’, ‘act’, ‘ac…
  • i want the checklist , flowchart and code in python of netflix functionnality “select a movie to watch”. Code should work
  • Using the previous Assignment 4, set up your code to use classes. In this Assignment 5, however, all of the class methods can be included as a part of the main program – without importing any external…
  • Dice Simulation Commands 1) Dice number from (2 to 5) for simulation, i.e., Dice 5 2) Confirm number of dice used in simulation, i.e., Confirm 3) Roll simulation dice a number of times, i.e., Roll 16…
  • Please refer to the attachments below.¬†. Write a program for course registration. Students can use this program to add and drop courses. There should be a loop in the program that tells the user to e…
  • Please use Python to solve them, totally incorrect or copied answers will be send back to tutors, thank you! Plz let me know if there are something missing.. 1 A Notch Digital Filter (6 marks, 3/2/1) …
  • Here is my dataframe ID Tell Number 0 1 Yes 2 1 1 Yes 6 2 1 No 9 3 2 Yes 4 4 2 Ye 7 5 2 No 8 6 3 Ye 15 7 3 Yes 2 8 3 No 6 9 3 Yes 2 # Creating the dictionary dic = { ‘ID’ : [1,1,1,2,2,2,3,3,3,3], ‘Tel…
  • I have a problem more with writing a piece of python code, it is very hard to explain here but is a Boundary Value Problem and we have to create a matrix and graph that is 33×33.
  • In this homework problem we will learn to stamp components from a circuit into a matrix describing that circuit using the methods from nodal analysis in Circuits 1. Then we will apply this to a simple…
  • Use Python and solve this problem. Provide Code with explanation Code should be work on jupyter notebook This problem needs to explain in front of professor so give exact explanation with code outputs…
  • import os def set_env () : FILE_NAME = os.getenv( “FILE_NAME” ) os.environ[ “FILE_NAME” ] = os.getenv( “PWD” ) + FILE_NAME FILE_POINTER = os.getenv( “FILE_POINTER” ) os.environ[ “FILE_POINTER” ] = FIL…
  • Follow the instructions (with provided code) from How To Web Scrape Wikipedia to complete PART A ¬† URL: https://alanhylands.com/how-to-web-scrape-wikipedia-python-urllib-beautiful-soup-pandas/ ¬† # I…
  • 1- Rewrite the following postfix expression in the infix form¬† a b + c d + 8* e / f – = ¬† 2-Using Big-O notation, what’s the overall worst case performance of the following fragment¬† ¬† ¬†i = j ¬†=…
  • Could you help me out with the question I am attaching ? I have answers of different programs that are similar to the one I am attaching if you want to see them.¬† File names: battleship.py, ReadMe.tx…
  • Create an test a function called input_float that accepts a prompt¬† string, and uses the given prompt string to ask the user for a floating¬† point value. The function should return the floating poin…
  • Does anyone know how to resolve this problem? Im having a hard time figuring this out…
  • A Metric/English Length Converter In this assignment, you’ll build a simple utility that allows converting from English length units (miles, feet, inches) to metric length units (kilometers, meters, c…
  • points You are allowed to use Wing 101 for this question Page 6 of 9 Given the following incomplete function definition: – Write the function body. You do not have to rewrite the part above. Just writ…
  • http://www.nltk.org/book/ch01.html#sec-a-closer-look-at-python-texts-as-lists-of-words 1) Define a string and assign it to a variable, e.g.,my_string =¬†‘My String'(but put something more interesting …
  • Can you please help me solve these Python questions. Thank you very much! ¬† Please find the link to the CSV file. https://1drv.ms/x/s!Aj8gaYUBq2ytbgo0fP0QgR5F8Hc?e=gB2msc ¬† 1. Which cluster label do…
  • Write a turtle graphics function that uses a loop to draw 10 circles, to create the design shown below.
  • The function fib1 takes in the parameter and prints the first elements of the Fibonacci sequence.¬† The function fib2 takes n and returns a list of the first elements of the Fibonacci sequence.¬† Thes…
  • Given a linear regression parameter (theta), complete the function 1r predictor to meet these requirements. Return a function which takes one parameter (a data matrix as a Numpy array). This function …
  • Answer this question following + 40 You are given a number N. You are required to convert it into a binary palindromic number. A binary palindromic number is a number whose binary representation is a …
  • Hello! I need to make a Python Testing Script- Creates a Python testing script that imports a CRUD Python module to call and test the creat.e and read instances of CRUD functionality THIS IS MY CODE f…
  • Just true and false can someone help me real quick please. You are now given the full implementation of the function from the previous question: def func(1: list[ int], d: dict[ int, str], number: int…
  • I am not good with csv files, anything helps!¬†. The first two lines of your code must look like this: E import sys, csv test file =/ sys.argv[1] This allows for different text files to be sent to you…
  • Complete the blank in the program below so that when the lines are executed, the f-string is printed as in the example below. Make sure to display the same number of decimal places as in the sample pr…
  • 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. Item Ratings of User P Ratings of User Q In Python, we can depict these ratings…
  • Using Python (any modules you wish) code a web scraper to capture the advanced stats table for each team of the Preliminary Rounds that have already taken place (Days 1-5) from this site: https://cham…
  • The Cars dataset has three columns giving the quality, machining angle, and machining speed of 18 cars. Write a program that performs the following tasks: . Load the data Cars.csv into a data frame ca…
  • I Need assistance completing this lab Complete lab and create one WORD or¬† OpenOffice ¬†Writer document to record your answers ¬†(you can use another application to create your report document as lon…
  • I am confused about how to express this function in python I tried to use math functions to compute it but it gives me the incorrect answer… . compute_and_display_change: This function takes as inpu…
  • def menu(menuItem): prices = { ‘pumpkin spice latte’: 4.78, ‘apple crisp macchiato’: 5.23, ‘iced apple crisp macchiato’: 4.33, ‘pumpkin cream cold brew’: 6.18, ‘vanilla sweet cream nitro cold brew’: 4…
  • 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…
  • Create a program to take in a numeric grade (e.g., 99) and output the letter grade (“A”). Specifications : Use standard A, B, C, D, and F ranges. A = 100-90%, B = 89-80%, … F = 59% and below. Bonus …
  • 14¬†LAB: Leap year A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a …
  • I really need help with this ASAP!!!! This program will requires me to make a basic parser for an input string that is somewhat like Python. Python has an older parser module and a newer ast module to…
  • QUESTION 8 ¬† What makes a graph complete? ¬† ¬† a. when there is an edge from each vertex to all other vertices ¬† ¬† b. when there is a path between at least half the vertices ¬† ¬† c. when there is…
  • class Block :" # 5 pts for constructor def_ init_ ( self , seq_ id , prev hash ) : self . sea id = # Set to what’s passed in from constructor self ._ prev_ hash = # From constructor* self . col …
  • Complete the partial function declaration below. ¬† ¬† ¬† ¬†. Problem 3 Complete the partial function declaration below. In [4]: def problem3(ml, n1, m2, n2) : (int, int, int, int) -> int Given fou…
  • The purpose of my code so far is to take the two arguments from dbda() and delegate the calculations to the tomorrow function and based on the n number of days. n gets added to the ‘DD’ in ‘YYYYMMDD’ …
  • 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=(p,q) your task is to find 5 …
  • SQLite ¬† have a database Gas with data ¬†https://drive.google.com/file/d/1sl8JhIBp-EImKYGr-5b6hbOkUbwNbC4M/view?usp=sharing Have a class that holds a connection with DB and have a method (or function…
  • 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 + …
  • How do I do this? This is a Pok√©mon simulator. I have to finish the functionality of the simulator using CSV file processing dictionaries in a clean program decomposition for a more complex project. …
  • Make a Python program to¬†calculate the average miles per gallon obtained on a trip. Input the amount of gas used and the number of miles driven. (The formula to calculate miles per gallon is miles pe…
  • Define a function named email() that accepts one (1) argument ( string) 1. Divide the String into separate words 2. Form a new String containing the first character of the 1st (possibly 2nd) word in t…
  • Write a Bash Shell Script to do the following:¬† ¬† Get input from the user regarding student information and marks, then validate and display the results. First prompt the user to get student informa…
  • Hi I need help on this Python question! def nestedRemoval(text: str, leftPattern: str, rightPattern: str) -> str You will be given three strings, the first string is a sentence known¬†as text that …
  • Can you fix the indentation of my code so the program works: ¬† import cards ¬† initial= int(input(‘Enter initial rounds: ‘ ))¬† def oneGame(initial): ¬† ¬†countFlips = 0 ¬† ¬†bankroll = initial ¬† ¬†…
  • Unix/Linux basic commands assignment1 note: for this assignment, each question you need to list all the commands and also the screenshot. ¬† 1.Create a file called month containing the current month. …
  • #¬†Import¬†the¬†Circle¬†class¬†from¬†the¬†circle¬†module¬†using¬†the¬†expression¬†from¬†proj.circle¬†import¬†Circle #¬†Import¬†assert_raises¬†from¬†nose.tools¬†using¬†the¬†expression¬†from¬†nose.tools…
  • Assuming a list named¬† data ¬†is defined, produce code to display the location (index) of the first odd value (only one answer displayed). Full credit answers may not use the break statement; parti…
  • Please help me modify the below code so that it can parse the text file here: https://drive.google.com/file/d/1Zps0YssoJbZHrn6iLte2RDLlgruhAX1s/view ¬† import io import os import pandas as pd def read…
  • I need assistance with the script. Theres are several steps. 1. Part I: Descriptive Statistics (Scenario A) Scenario A: National Weather Service Imagine you are a data analyst working at the National …
  • Hi, I don’t understand these, please provide explanations with “#”comments and not just the coding solution . 3. Write a function that takes a list as an argument and returns a list that only contains…
  • I have to simulate a carwash using python and Simpy. Cars that arrive to the car wash can be classified as one of 3 types: clean, average, or dirty. There is no past data on what percentage of cars ar…
  • Anagram An anagram is a type of word play, the result of rearranging the letters of a word or phrase to produce a new word or phrase, using all the original letters exactly once. Examples: listen = si…
  • 1a)¬† Implement and test a Python program that determines if all parenthesis in an entered line of code form matching pairs. Note: Pairs of parenthesis may be nested. The output should be true(parenth…
  • Create csv file from the data below and read in pandas data frame Phase 1 -Reading Data Phase 2 – Describe the data Describe the data on the unit price Phase 3 – filter the data Create new dataframe h…
  • Two numbers a and b are called pythagorean pair if both a and b are integers and there exists an integer c such that a^2 + b^2 = c^2. Write the function pythagorean_pair(a,b) that takes two integers a…
  • Pyton Please help. Question 3 (5 points): Purpose: Practice using the mouse handler to interact with the canvas. Degree of Difficulty: Moderate Sometimes in motion pictures, a special animation is use…
  • Edit the function special_nums so that it returns a generator that yields , in order, the numbers from 1 through 300 that are divisible by both 6 and 10. Use a list comprehension or generator expressi…
  • develop a function problem1(A,b) that returns True if the linear equation system ūĚźÄūĚźĪ=ūĚźõAx=b has a unique solution and False otherwise. ¬† Python program
  • Description: For project 5 we are going to build a menu-driven application that will allow a user to maintain their collections. For example, I might have a coin collection, or a record collection, or…
  • How do you calculate the values of p0, p1, p2, p3? I need the value of p3 to calculate server utilization.. 3.3. Consider a two-server system with exponentially distributed inter-arrival and service t…
  • Please see attached question. Min Price 9 13 13 14 17 18 21 29 33 67 68 69 73 73 74 77 78 79 79 82 84 sb 84 84 85 87 87 91 92 94 104 105 108 109 114 114 115 119 124 128 129 133 134 134 136 gg 138 142 …
  • 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 …
  • can i get help with python prog with this qns, This is the full question
  • Use Jupyter Lab. Question 3 data = { ‘size’ : [‘XL’ , ‘L’ , "M’ , mp. nan, ‘M’ , ‘M’], "color’: [‘red’, ‘green’, "blue’, ‘green’, ‘red’, "green’ ], ‘gender’: [ ‘female’, ‘male’, mp…
  • Wheel of Fortune is a popular game show where players take turns guessing letters of a word or phrase. The ultimate goal is to “solve the puzzle” by correctly guessing every letter of the word or phra…
  • Python: You will multiply elements in a list. Steps Create a file named multiply.py and create a function inside called multiply_list() multiply_list() should take in as input a list The function mult…
  • . OL m CC = LE & Ki D N N X G SI C St G< = G | st = lal TU FI| LE C Si C S G s/2489809/quizzes/5155491/take Question 15 O pis This is a Bonus Question: 10 points Write a general python functi…
  • Paul is a big fan of football. There are numerous teams across the globe and out of those only 50 teams make it to the fantasy champions league. Paul follows many teams and today teams will be announc…
  • ITP 150 Fall 2020 IPv4 Address Checker (Phase 1) 80 Points For Programming Assignment 1, we are going to code Phase 1 of an IPv4 Address Checker based on examples we have covered in class up through M…
  • Modify the attached program so that it produces a menu like this when it starts: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†============================== ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†…
  • Describe a nonreeursive method for Ô¨Ānding, by link hopping, the middle: node of a doubly linked list with header and trailer sentinels. In the case of an even number of nodes, report the node slight…
  • def alg_moving_average(filename): “””This function implements the moving average stock trading algorithm. The CSV stock data should be loaded into your program; use that data to make decisions using t…
  • Hi, Would you please help me with the below Python 3 code? I am trying to get an output like this; Jack,¬† Kack, Lack,¬† Mack,¬† Nack,¬† Ouack,¬† Pack, and¬† Quack #I have entered ; but when I have tr…
  • I cant get this program to work as per instructions. My instructor is not helpful. What am I missing? # initializer to new initialized object class PlayersClass: name = "" phone = "&quo…
  • Download snp500.csv file and locate it into data folder. The file contains ticker symbols of companies that consist S&P500 index. It has slightly more than 500 symbols. Follow below guidelines and…
  • QUESTION 11 Write ¬†if statement with all optional clauses to follow the pseudocode as provided below: Note: Use 3 spaces for indenlation for programming style as show. Single space between key words …
  • Help me understand the specific criteria needed in order to write a user-defined function/method in Python. Can an example of code with at least three criteria be provided to help better understand?
  • Sorry if this is under the wrong category but I didn’t know which category to put this question under. 1. Proof by exhaustion. Prove each statement using a proof by exhaustion. a) For every integer n …
  • Hello, I need some help with this question. If you please help me understand the question, that would be amazing. Thank You.¬† ¬†. f) The expected output is given below: (Hint: use ljustO function to …
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Exercise (2) Lab E…
  • linked lists 1. (4 pts) Examine the mystery method and hand simulate the call mystery (x) ; using the linked list below. Lightly cross out ALL references that are replaced and Write in new references:…
  • This is about gillesipe algorithm 1. Explore the behaviour of the system when considering suitably chosen scenar ios, i.e., focus on the limit cases (e.g., small R 0, large R 0 and R 0 = 1; small N , …
  • WARM-UP: Write a COUNTING LOOP that prints out the numbers 7, 6, 5, 4, 3, 2, 1, 0, -1, -2, -3, with each number on a separate line.¬† You can do this using a ‘while’ loop or a ‘for’ loop, but do this …
  • Need help writing a Python program: A major application of artificial intelligence is natural language processing (NLP), where we train a computer to be able to “understand” human language. The approa…
  • to( ‘cuda’ ) i= 0 epochs = 3 for epoch in range ( epochs ): model. train () if i % 40 == 0 : model.eval() accuracy = 0 test_loss = 0 for images, data in test_loader: inputs = Variable(images, vo…
  • How do you make this python game where a card will be an object of class Card. The Card class has two string variables (value and color). The class CardGame has a variable named package of type list o…
  • def entropy(Approval): ¬†elements,counts=np.unique(Approval,return_counts=True) ¬†entropy=np.sum([(-counts[i]/np.sum(counts))*np.log2(counts[i]/np.sum(counts))for i in range(len(elements))]) ¬†return …
  • I have a list of video URLs in an excel file. The number of the video URLs is more than 10000. I want to download the video files and save as mp4 format in a folder. Could you please help me to write …
  • Using Python code for the following data.¬† ¬† ID x y 1150 -8.66733 41.14964 1151 -8.66603 41.15306 1152 -8.66928 41.15273 1153 -8.66424 41.15046 1154 -8.66327 41.15289 1155 -8.66164 41.15062 1156 -8….
  • . Download the Movielens dataset 1 (the 100K dataset) from http://www.grouplens.org/node/73 Build a simple user-based and item-based recommender system (papers have been provided). The dataset will …
  • Perform all following tasks using an R notebook. Create an R Notebook and name it using the following convention: mod3_peer_review_your first name_your last name.RMD. Add a heading in the notebook to …
  • Why is this telling me list is out of range and also giving me a syntax error at line 17?
  • 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 analyst in t…
  • Could you please help me with my HW. Thank you very much. Q2. Write a program wk10_q2.py that requests a sentence as input and then displays the letters in the sentence along with their frequencies. P…
  • Unable to get my functions to operate after went from a using a list to changing to a class. Create a class that +, – ,* , / functions Code below import myModule class Calc: ¬†¬†def functions (self,nu…
  • In this exercise your task is to write code that will produce a table of weights in both kilograms (kg) and pounds (lb). You should use the following conversion /( 1 kg = 2.20462 lb /) You are given a…
  • Task 1. Suppose we have customer usage data from a streaming service with three predic- tors, X1 = Age, X2 = HoursUsed_PreV14Days, X3 = HasKids, where X3 = 1 indicates that the subscriber has a kids?…
  • Attached Files: ¬†Numpy_Python_Cheat_Sheet.pdf¬†Numpy_Python_Cheat_Sheet.pdf – Alternative Formats¬†(649.441 KB) ¬† To show that you can work with arrays in Python , use NumPy library to convert the f…
  • this is compiler construction question please solve this asap Final-Paper-Fall-2020.pdf Problem: consider the following grammar along its semantic rules and its Parsing Table. 1.E E+T { add value of E…
  • Can any one help me with writing a code to find, the most daily transaction volume and its date from the excel file in python programming.
  • I am having difficulty writing a program to conversate with the user. How do I go about that? The program must ask for both strings and numbers as input. The program must ask for at least 4 different …
  • Can I get some help with data pre-processing? I’m trying to encode the categorical data, Missing data imputation, Data normalization and standardization, Split train and test datasets train = pd.read_…
  • # First, read about Look-And-Say Sequences here: # https://en.wikipedia.org/wiki/Look-and-say_sequence # Now, write a non-destructive function lookAndSay(lst) # that takes a list of numbers and return…
  • Python has many built-in functions, and if you do not know how to use it, you can read document online or find some books. But Python has a built-in document function for every built-in functions. ¬†?…
  • Text Mining Python Code Question is in attached screenshot. Please help to see. Link attached again – Python Relevant Files accessible via this link, please check :¬† https://drive.google.com/drive/fo…
  • . * Course Hero X Content X Written Assign X + X W AutoSave ( Off) CS19… – S… Toaiva Lester TL X a https://content.gr. G G File Home Insert |Draw Design |Layout Referer Mailing Review |View Help…
  • ¬†¬†¬† Diagnose errors in the following pseudocode? There are at least three errors in the program. // This program displays the highest value in the array ¬†¬†¬†¬†¬†¬†¬†¬†¬† Declare integer¬†SIZE…
  • I dont know what to do 3.24 Lab: Song Writer Your task is to write several functions that print the lyrics of one of the best songs of all time to standard output. Rock-n-roll songs typically follow a…
  • Could anyone solve this question?. Description main.py > _ 1 def cal_price (prices) : 2 if prices [0] == min(prices) : 1. Digital Currency 3 profit = max (prices) – min(prices) 4 return profit Prob…
  • Question 15 [4 points} What will be the output. if we evaluate the following postfix expression using stacks? 510-10!10+
  • i need python code for part 6 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 …
  • Can you please help me fix the syntax error on the “else:” ? Line 67 ¬† def main(): ¬† def main(): ¬† #Declares the variables endProgram, minutesAllowed, minutesUsed, totalDue, minutesOver = declareVa…
  • Write a function¬† sequence(n) ¬†which takes any positive integer n, if n is even, divide it by 2 to get n/2. If n is odd, multiply it by 3 and add 1 to obtain 3n + 1. Store the results in a list and …
  • Hi, i’ve got an ERD which I have to follow to develop data base, populate the database. I have 3 tables STUDENT, COURSE and ENROLMENT which contains a PK and 2 FK’s. I am using Visual Studio Code to d…
  • I am trying to write an object oriented Python script that connects to sakila db and to add a record.also how can we retrieve the data?Could someone please help this out. any sample would work
  • (20 points, implementation) Suppose you are given an array A with n entries, with each entry holding a distinct number. You are told that the sequence of values A [1], A[2], . . . , A[n] is unimoda…
  • Help explain why the python code works. Write a Python class that has two methods: getString and printString. The getString method should accept a string from the user, and the printString method will…
  • A Python program: Add an¬† _ _init_ _¬† method in this class. In the method, define a new member variable to hold the digital value of this pin and set it to 0. Use whatever variable name you think is…
  • Evaluating the Solutions for the Knapsack Competition generate the 500 random knapsack sizes and write the results to a csv import numpy as np import pandas as pd f = open(“Knap_Sizes.csv”, “w”) knap_…
  • I have this python program: msg = ” total = 0 count= 1 while count <= 4: ¬†¬†¬†print(“Salesman” , count) ¬†¬†¬†count += 1 ¬†¬†¬†item = int(input(“Enter item number; must be between 1,2,3,4: “)) ¬†…
  • How can I do a Chi-square test like the one shown in the picture in python? I can use pd.crosstab to create a contingency table, but beyond that I have to do the calculations myself in code without us…
  • 05 – 50ccs of multiples, stat! 10 coding | python Given an integer and limit, return a list of even multiples of the integer up to and including the limit. For example, if integer = 3 and limit = 30, …
  • Use python to develop A working tic tac toe simulation A minimal interface A simple AI ¬†. Part 1: Simulating the Game # Part 1 def _init_[self): # Initialize the simulation # Set up board as a 2D lis…
  • the programme code for it¬† o¬†¬† Ask the user to type in a sentence that is at least 5 words long. o¬†¬† Print the number of characters in the sentence along with an appropriate message – ( Example…
  • 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…
  • Python project fly_drone.¬†Add a Python file drone.py to this project.¬†Define a class Drone in this file.¬†This class has the following five methods: (a) __init__ : Create two instance variables to s…
  • Question 1 (Mandatory) (1.5 points) Listen Question 1 str_1 = ‘5’ X = ‘6’ y = str_1 + str(x) print(y) A/ Question 2 (Mandatory) (1.5 points) Listen mixed_list = ["hello", 2.0, 5*2, [10, 20],…
  • Write a function called overlap that takes a set of integers and a list of integers as parameters and that returns a new set containing values that appear in both structures. For example, given set an…
  • I have an array = [1,2,3,4] and other sub_array = [1,3] , how do i get the values from array that are not in my sub_array, that is to say [2,4] . How can i do it in python? can you provide script?
  • Create a Jupyter Notebook that solves, and plots the E-fields, for exercises 83, 84, and 89 from Chapter 5 of our text. My teacher always has us copy and paste the code, so I don’t know how to do abou…
  • I am trying to modify this code to return the following in the console: If I enter Dice between 2 and 5 the console should return: You have selected Dice 5 If I enter any other number other than numbe…
  • Hi I would like this program to be writing in python please, use this link to access the doc: https://drive.google.com/file/d/1Zi0zYVSgkVQXoJ3aVPqw_K63fBjYSzqr/view?usp=sharing
  • answer this You must submit your own work. For each of the following programs, start your code with three comment lines explaining what your program does, your name as the author, and today’s date. 1….
  • Write a function that satisfies the following: A bicycle shop sells bikes and helmets. Some people already own helmets, so on average the shop sells one helmet for every six bicycles. Helmets cost $65…
  • Please assist with python 2.7 program code Here is what is required: Create a GUI-based program that implements an image browser for your computer’s hard disk. At start-up, the program should load a s…
  • Discrete Math with Python (3.7) Question # Question 1: Decode Linux Permissions (2 marks) q1 = {} #a dictionary of answers to Question 1; do not modify this initialisation def sid2permissions(sid): ¬†…
  • part 1-¬† “”” UTM: CSC108, Fall 2021 Practical Lab 10 Instructors: Michael Liut, Andrew Petersen, Andi Bergen, ¬† ¬† ¬† ¬† ¬† ¬† ¬†Tingting Zhu, Pooja Vashisth, and Sonya Allin This code is prov…
  • I’m stuck at few questions please need help 1 .How are lambda functions useful? Select all that apply: A) They can be useful as quick,¬† throwaway ¬†single line functions. B) Lambda functions make it …
  • please help resolve this assignment Home X Launch X zy 2.13. zyLab training: Interleaved i * * Course Hero X + X < > C A learn.zybooks.com/zybook/CYB_130_54164954/chapter/2/section/13 = zyBooks …
  • I am stuck on making the loop part of the code for the menu creation and using integer with variables in the loop for the list of food items, i also can’t find any good examples online for this modu…
  • Use python to generate a function that will generate the ith row of pascal’s triangle (using recursion ) The method signature should be pascal(row).¬† ¬† It should return a list of elements that …
  • Python is a popular programming language and has been labeled as having a safe core. However; specific code implementation can lead to risky and vulnerable applications. Bandit is a tool that can be u…
  • Please answer this question as soon as possible thanks Question 3 (10 pts) Disco Systems hire you as their new software security expert. Their definition of a valid password is a string of characters …
  • Task 1: Your first task is to create a function, pascal_row, that outputs a list of elements found in a certain row of Pascal’s Triangle. The pascal_row function should take a single integer as input,…
  • Fill in the blank so that the output is a count of how many negative values are in temperatures?¬† ¬† temperatures = [-2, 8, 4, -7, 18, 3, -1] count = 0 for t in temperatures: if _____: count = count …
  • Guidance writing a Python program that simulates a dice game. The number of sides on each die, the number of dice, and the number of simulations to perform will all be taken from user input. After eac…
  • The world population reached 7 billion people on Oct. 21.2011, and was growing at the rate of 1.1% each year . Assuming that the population continues to grow at the same rate, approx. when will the po…
  • TASK This system has two main programs and a module that contains the common functions used in the two programs. Program 1: Write Customers The first program will allow the user to enter the details f…
  • In this exercise we will practice using loops to handle collections/containers. Your job is to write a program that asks the user to enter a sentence, then it counts and displays the occurrence of eac…
  • Question: 1.Scikit learn comes with pre-loaded dataset, load the digits dataset from that collection and write a helper function to plot the image using matplotlib. [Hint:Explore datasets module from …
  • Write a function cotDelEvenIndexItems(s) that deletes all even index items from a list s. You may use the del statement or the cotDel function (whichever you prefer). Test your code with x = [F’, …
  • I want to do video processing with microsoft Azure and get emotion of the videos. Could anyone please help me to write a code to get emotion of the videos using Microfoft Azure? I have video urls.
  • pleae help 4) In the Tombala game, each of the players owns a card with 15 numbers on it. During the game, coins numbered between 1 and 99 (including 1 and 99) are drawn one by one from a bag and each…
  • write answer. Write a Python program related to Python list: O Write one statement to name a variable with your surname, and assign it a list of & int of your student ID digits. o E.g use list ele…
  • How can I make a Python program that lets me enter any three numbers, and displays the numbers in ascending order?
  • how to write pythonic¬†generator¬† that accepts a list of numbers and yields the difference between the subsequent elements in seq.¬†¬† ex: list(delta([1, 2, 4, 7, 11])) == [1, 2, 3, 4] because 2-1 ==…
  • import sys ”’ Section 1: Collect customer input ##1) Request Rental code: rentalCode = input(“(B)udget , (D)aily or (W)eekly rental?\n”) while rentalCode != “B” and rentalCode != “D” and rentalCode !…
  • Define a function¬† has_digit ¬†that takes a string and returns True if a numerical digit is contained within the string argument, and False if not. Define a function¬† add_positives ¬†that takes a tu…
  • . You are given a string that has several words concatenated into a single string, but the first letter of each word is capitalized. Using this input create another string that: 1) separates the wor…
  • Python codes, thank you. Question 14 Write a function mean_fours that takes a list of numbers as a parameter and returns the average of the numbers in the list that are multiples of four. Example call…
  • I’m not super familiar with python, so any help with this would be greatly appreciated Using Python Part 1 – Convert to seconds 1. Add a comment section to your program 2. Prompt the user to enter thr…
  • no chegg Even though you already know what you did to exploit the target, analyzing the logs is still valuable. It will teach you: What your attack looks like from a defender’s perspective. How stealt…
  • Please explain your thoughts on nested conditional statements.¬† List at least one instance where nested conditional statements make sense.
  • Use Python to build K NN classification models using TrainingDataToyotaCorolla.csv file with k = 5 and K=10. Determine which K gives a better prediction accuracy and use it to predict the prices of th…
  • 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…
  • Struggling with the game I’m trying to build I don’t even think it makes sense. but I need to code them in python programming. The game should prompt the player to enter commands to either move betwee…
  • Part 5: Identify the Most Viral People We will define the most viral people as the people who likely infected the greatest number of other organisms in the data set. Identify and display all of the mo…
  • Hey tutors,please help me out. It is a Python Programming problem. You and¬†K‚ąí1 friends want to buy¬†N different pieces of candy. Candy piece¬†i costs¬†pi. The candy shop owner is greedy and wants t…
  • How would I plot this on python? Like what would the equations be?
  • Write a program that accepts the lengths of three sides of a triangle as inputs. The program output should indicate whether or not the triangle is an equilateral triangle. Use The triangle is equilate…
  • A Python program that converts binary data to human readable format using the Python struct module. Your program should pack the following numbers in byte format using the struct.pack function: 100, 2…
  • write a python code. Q1. (a) Write down the functions that one needs to import and a single Python command to store the matrix 26- 1 (V6+1)2 2 sing cos 3+4i as an array of floats in a variable A. (2.5…
  • Assume a dataset A of n points in a metric space with distance metric d(¬∑, ¬∑). Let c be a constant greater than 1. Then, the (c, őĽ)-Approximate Near Neighbor (ANN) problem is defined as follows: Gi…
  • The dataset contains a year’s worth of temperature data as measured by a weather station at the Charlotte/Douglas International Airport. Complete the following tasks: Write function that can take as i…
  • Question 8 – Let’s revisit the game of rock-paper-scissors (yup again]! The following exercise builds on the program written in practical 6 (game of rock, paper and scissors) (if you have not complete…
  • please help me fix the following python code or you could show your own solution of question 12 by using python. This python code of the question 12 shows error in result, which is No module named ‘mi…
  • Data Source: https://www.kaggle.com/uciml/restaurant-data-with-consumer-ratings. Restaurant #135076, marital status # Calculate the number of single customers for restaurant #135076 # Calculate the…
  • Hello, I need help doing this section of my homework. Any help would be appreciated! I put all the files needed in a google drive link.¬†thanks! https://drive.google.com/drive/folders/1-JIsY1nTse7l8EX…
  • Write a single command that will cause the dhcpd service to automatically run when the machine boots.
  • Write a function clean that when is given a string and returns the string with the leading and trailing space characters removed. Details: you must use while loop(s) you must not use the strip method …
  • my code is not following the loop and only printing directions than it is exiting def show_instructions(): ¬† ¬† # for starting gameplay to output to user ¬† ¬† print(“Welcome to Brother Hockey War”) …
  • In English , describe how you would optimize the suspension of the quarter car model using:¬† scipy.optimize.minimize.¬† Your discussion should be sufficiently explicit to translate into an object-ori…
  • Write a program that determines the month of the ear based on the value of a variable called month. The variable will be a number from 1 to 12 (1 is January, 2 is February, etc). Use a print statement…
  • Python Write two regular expressions, 1) accepts any valid street address, ex. “123 Fake Street”, 2) accepts any state abbreviation of two capital letters, ex. “OH”, “KY”, “IN”.
  • python question 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 refe…
  • need help here ..Create a dictionary that contains a list of prime numbers up to each key where the highest value of the key would be N(N>=1) (User defined) and print the dictionary. Input will con…
  • It should pass these assertions:. Task 1 Write a function linear_regression that fits a linear regression model, and takes the following two arguments as input: 1. x : A numpy array of the shape (N, d…
  • Complete the function so that it returns 1 if index¬† i of num is a 1 and 0 if index i of num is a 0. Indexing begins at 0. python def check_bit(num, i): ¬† ¬†return 1 # index i is a 1 ¬† ¬†return 0 #…
  • I need help with this assignment I can’t seem to get it correct. Option #1: Creating a Program to Calculate the Value of a Ferrari Assignment Instructions Implement a program that reads in a year and …
  • python programming 2. Write a program to construct a binary Search tree (BST) to perform searching in BST 3. Write a Program to construct the following Binary Tree *(A node should contain the informat…
  • In Python: ¬† Write a program that converts Celsius temperatures to Fahrenheit temperatures. The formula is as follows: F=(9/5)C+32. ¬† ¬† In Python
  • Here is the prompt I need help with: ¬†I’m not sure how to add a 2 keypress event. ¬† Sammy’s Seashore Supplies rents beach equipment such as kayaks, canoes, beach chairs, and umbrellas to tourists. M…
  • Please answer all the parts. Use the google link to assess the data and the question https://drive.google.com/drive/folders/1GOFsAsU6x9VJrH0-qHRHgliPpllQ75qh?usp=sharing %matplotlib inline %config Inl…
  • I’m stuck again and cannot get my program to run. The following code is the unedited version without my additions (that didn’t work). Please help. Thank you in advance. I need to improve this Trivia C…
  • I already completed this function but am not getting the correct output¬† ¬† FUNCTION : def multivar_linreg(file_name): ¬† here is my code¬† ¬† file_read = pd.read_csv(file_name) total_cols=len(file_r…
  • Cyclops numbers def is_cyclops (n) : A nonnegative integer is said to be a cyclops number if it consists of an odd number of digits so that the middle (more poetically, the "eye") digit is a…
  • Python: Interactive chart with slider The code generated an error as shown below: ¬† from bokeh.layouts import column, row from bokeh.models import CustomJS, Slider from bokeh.plotting import ColumnDa…
  • Help please Python 3: I have this txt file, the structure of this file is. 30000001 = Account B A0000001= Account A xa = value in hex I am writing a program in python that needs to read the contents o…
  • 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:…
  • 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…
  • The Coding Structure should be similar to this:¬† Here are copies of grimlins.txt and grimlinSim.py: ¬† grimlins.txt:¬† ¬† water:19,2:18,2:17,2:16,2:2,27:3,27:4,27:5,27 light:19,0:18,0:17,0:16,0:19,25…
  • I need help with a Tic Tac Toe game using functions. I am confused on how to use functions. Requirements You will create a program that uses functions to simulate a two player game of Tic Tac Toe. The…
  • The AUC metric does not follow the standard pattern in scikit-learn, as it requires¬†y_pred¬†to be a vector of shape¬†(N)¬†instead of a matrix of shape¬†(N,2). Write wrapper function for AUC that will…
  • . Assignment Module 1 Part 1 A) Write a python function that will accept a name of a text file containing multiple rows with comma separated numbers (for example “5, 6, 12, 56, l”) and return…
  • please help me to Create an application using PyQt.¬†The user must enter the name of a UNISA Community Engagement Project. Please consult the UNISA website for a list of all these projects. The user m…
  • python code. 3.’http://data.pr4e.org/romeo.txt’ After counting how many times the words appear in the file "romeo.txt", print the words in upper .
  • Problem: Write a function that given two lists, returns the list of all the elements in the first list that do not occur in the second list. Your main program will allow the user enter two lists of nu…
  • I am new to Python, and I saw this practice question which I found would be useful for understanding python. Please help me with the question, thank you! This year, company’s revenue was $3,500,425 an…
  • We will pass in 2 values, X and Y. You should calculate¬† X Y XY¬†and output only the final result. You will probably know that¬† X Y XY¬†can be calculated as X times itself Y times. # Get X and Y fro…
  • list=[ ‘”Gala”‘ , ‘”HalonJ.”‘ , ‘”Hayes,aM.”‘ , ‘”RhoyaJ.”‘ , ‘”Zxu”‘ , ‘”Alth”‘ , ‘”AniniK.”‘ ] Enter a variable, which is the number of teams to generate. For example, 3, the elements in the list ne…
  • Hi, I would like help in solving this program in Python. The current code on the pic is not wielding the correct output for me. ¬†. Problem 1: Create a function modinv(a,m} that returns the smallest, …
  • I am not sure what to do. I keep getting it wrong. This is Basic While Loop processes.. File: work/s47.py Saved Files O README & Terminal Source Look at the README for details on this problem Writ…
  • Someone please help me to write this function in python. Just one function¬† Cousin Degree ¬†needs to be written,¬† all other functions are already done. Link to ¬†hobbit-family.txt¬† file ¬†——&gt…
  • Function name: sim_dice Parameters: None Return: A dictionary with 6 elements: keys are integers 1 to 6, values are corresponding number of occurrence Description: You roll the dice 10,000 times. Each…
  • 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…
  • INT 1111 Programming Project 2¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Due Date and Time:___________ This project is a follow up to your first project. If …
  • please solve it and provide python code also ¬† ¬† ¬†. 3. RSA encryption [10 points] You’re going to send me an encrypted message using RSA. In other words, you’re Alice and I’m Bob. You will use my p…
  • Why is the larger the value of sum using “numpy.sum” gives a short time to calculate but gives a big absolute and relative error results in python?
  • The Iris dataset is in a CSV format.¬†Using the Pandas library, translate this data to a file in a JSON format.¬†Please submit your code in a Python file. Here is the data: https://archive.ics.uci.edu…
  • Python: Employee and Production Worker Classes Write an Employee class that keeps data attributes for the following pieces of information: Employee name Employee number Next, write a class named Produ…
  • Machine Learning. whether scaling the data improves the performance. (20 marks) Question 3 Download the MAGIC gamma telescope data 2004 dataset available in Kaggle (https://www.kaggle.com/abhinand05/m…
  • In Python, why are seperate trees necessary for encoding and decoding?
  • Using python I am trying to make class named Employee that holds the following data about an employee in private attributes: name, ID number, department, and job title. The class should include an acc…
  • In Python language: ¬† 1. Write a program that displays the following information: Your name Your address, with city, state, and ZIP Your telephone number Your college major ¬† 2. A company has determ…
  • For the given problem definition, provide a structured solution: Customers paying by cash often do not have the correct money. If they pay more than the price of the item, then they need to be given t…
  • import unittest from typing import List def contains_even(values: List[int]) -> bool: ¬† ¬†“””Return True if and only if values contains at least one even number. ¬† ¬†“”” ¬† ¬†for item in values: …
  • Create a function using only what is provided that takes in a linked list and returns a reversed version of that linked list (with elements in the opposite order). It should not mutate the original li…
  • Is Any tutor Free around 6pm today, I need help for my exam in Python, I am a non programmer and my professor will fail me if my code does not run.
  • class Logger: def __init__(self, v): assert isinstance(v, Vector) self.v = v self._logs = [] ## Internal variable to hold logs ¬† def _log_get(self, msg, val): ”’Utility Method: Adds entry to the log…
  • I need help with my programming assignment that I am confused with. Here are the following instructions. Complete the function asn2_1() so it prints the sum of its arguments Complete the function asn2…
  • how should i code this without using any of the list functions? ¬†. def cycle(ist: list) -> None: """Rearrange the elements of ist by shifting every element one spot to the right. Th…
  • //sorry, i found the error, i didn’t writte well one of the variable in a before. but i still need help this is the next excercise using the code that this question was made is about the next excercis…
  • Lesson 10 Final Project: Task manager200 pointsDirections Welcome to the Final Project for Programming Foundations in Python! Great job making it this far! This Final Project will be different from th…
  • I uploaded the Python Lab (Lab 3 Part 1) which is from the online course for UC Berkeley Data 8.2x – . I looked through the labs on course here and I was unable to find this lab. I know the numbering …
  • I am stuck in this . I am trying to wrt a program that show Celsius to Fahrenheit table. Table should range from -50 to 50 degree Celsius with increment of 5 degrees. please help
  • D Question 5 1.5 pts Consider the code below: for i in range(1000000): print(i) Which of the following give(s) the same output as the code in the above? Please choose All correct answer(s). Note: At l…
  • Can you provide python code for this :¬† ¬† ‚ÄĘ Create an inventory list¬† ¬† ‚ÄĘ Insert the items when they arrive and delete when sold or damaged. ¬† ‚ÄĘ Location (shelf, warehouse, display etc) of …
  • Chapter 6 complete the following Programming Exercises.¬†¬† ¬† #3 Line Numbers #6 Average of Numbers #7 Random Number File Writer #9 Exception Handling (this one is just a revised version of #6 above)…
  • Extend your following python program written for week 14 by running the simulation 1000 times on a deck of size 10 and counting the number of fixed points in each. Report the percentage of ti…
  • DEVELOP PYTHON CODE: You have been employed to develop a program, titled marksCalculator.py, which calculates student’s marks for a subject at the university. There are 3 assessments in the subject: a…
  • . D Question 1 1 pts Will the body of the template function in_for_lop include a call to the template function fn_for_piano? (Don’t forget to read the introduction above before solving these problem…
  • Task Write a file named higher_lower_player . py that plays a simple guessing game with you. The game is the same as the previous assignment (w06-higher-lower.html), but the roles are reversed: yo…
  • Need assistance on a challenge. failing to complete.. ¬†. CHALLENGE ACTIVITY 4.3.3: While loop: Insect growth. Given positive integer num_insects, write a while loop that prints that number doubled up…
  • Task B Airport Conveyer Belt: After the Vaccination process is over, all the passengers are allowed to travel. The attached input file contains the data about the luggage of passengers. Depending upon…
  • (count_alice2.py). Continue refining your [L9-8] count_alice.py code, which should¬† read the file alice.txt, then process and print in alphabetical order the words found therein. Extend this program …
  • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
  • 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. The trace of robot movement is shown as the following: UP 5 DOWN…
  • Describe the difference between a¬† chained conditional ¬†and a¬† nested conditional . Give your own example of each.¬† Deeply nested conditionals can become difficult to read. Describe a strategy for…
  • . Sometimes Bootstrap may fail and this question provide a simulation study. Suppose our data X; are i.i.d. from X; ~ Unif(0, 0) and we want to estimate 0 from the data. Suppose 0 = 1 is the true va…
  • A class of students consists of 8 boys and 12 girls. a. How many ways can a committee of 6 be selected? b. How many ways can a committee of 6 be selected if an equal number of boys and girls are se…
  • In python , write a program that creates a login name for a user, given the user’s first name, last name, and a four-digit integer as input. Output the login name, which is made up of the first five l…
  • Help please This programming assignment is designed to show how Python functions can define other Python code ( in this case , a class ) in an unexpected way: the function can build a huge string that…
  • Task 2: Task 3: I need help 47 # TASKZ 48 # Complete this Function 49 def ZBasisMeasureCstate): 50 """ 51 This function performs a simulated 2 Basis measurement. 52 53 Parameters: 54 A …
  • I’m having trouble with the following. I’m not use to classes, and am not sure how to go about this. I have to keep in mind the guidelines. I will be running it through a tester. What is below is only…
  • I’m looking for help finishing this password saver import csv import sys #The password list – We start with it populated for testing purposes passwords = [[ “yahoo” , “XqffoZeo” ],[ “google” , “CoIush…
  • Python code needed. HINTÔľö In the function pyramid(n), first write the docstring. The code between lines 9 and 19 will move to the body of the function pyramid(n). Do not forget to indent it. In part…
  • Can someone please explain how to solve this I keep making errors and this is my 2nd time asking for help for this problem ūüôĀ ¬† import numpy as np A1=np.array([[1,2],[2,1],[0,5],[-2,-1]]) A2=np.array…
  • Write program that creates a dictionary containing name of the majors, the major id and the name of the chair person for each major. Major ID ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ?…
  • split the data into a test/train split. # Create Logistic regression and knn variables and Loop over them # Inside the Loop: Train the models. # Display the accuracy and ROC/AUC for Lr and knn. # Use …
  • -a python code for the given problem. a program to mark a point on 2 D coordinate system. The point (whole numbers, not float) will be given by user between – 10 and 10 . It means that the coordinate …
  • write answer. Give Record Data Formet Each sale record cornis’s of a string live feeds with a newlist) as COP "caale_Codes, <male_Items, <sale Prices\s’ E.g. " =2020, PC But ONE, 1009\…
  • OOP Homework 3 On page 1 provides general guidelines for the whole assignment. Each question contains its own guidelines on how the code needs to be implemented and hints on what we can or cannot use …
  • INT 1111¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Professor Ali ¬† Programming Project 3¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • filename: ‘google_books_dataset.csv’ filename with functions Txxx_P3_sorting_fun.py MUST WORK IN WING USE WHILE LOOP https://docs.google.com/spreadsheets/d/1k_9EGjCsUB4jl3OI_NVF4pKOYAAar0GwliJ7FPO6n60…
  • I cannot figure out how to do these programs. I’ve been working for a few hours but either get invalid syntax messages or just have the program fail completely. Here is what I need to do: Devise a new…
  • i have a question regarding 3 variables in a data set which are object DTYPE wanted to confirm which is the best data that can those 3 variables can be converted to : Security GICS Sector GICS Sub Ind…
  • Write a program that opens the student_scores.txt file. HINT: Remember to use rstrip(‘lrln’) when getting each line from the file. The file contains information for 4 Students. All values are …
  • Hello, I need to write the code for these exercises: ¬† 1) I wrote this code but it is not working: import numpy as np from scipy import optimize import matplotlib.pyplot as plt a=np.random.uniform(si…
  • Write a die rolling class that contains the following methods: –¬†A constructor that accepts an integer representing the number of sides on the die. – A get_sides method that will return the number of…
    • Exercise 8 (G) Write a program random_number5 .py that reads a positive integer n from the keyboard and then: – Generates and prints (in a single line) n random numbers in the interval [1,100] – Pri…
  • In Python calculate the following 1) A simple calculator to accept two numbers and print the addition, subtraction, multiplication and division of the two numbers. You are required to store each input…
  • Soccer team roster (Dictionaries) (Python 3) 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…
  • Python Programming 1 Write 2 functions squareQuads(n), squareDiagonals[n). Each function is based on the ‘hollow’ square we discussed. The modifications are small but require analysis of the request t…
  • Search for an item by description Please enter a selection: 4 Enter item’s description: Desk Description Category Value Amount Desk Antique 250.60 1 If the provided item description does not exist…
  • I wrote most of them but I am struggling with debugging. All instructions are in photos. And here’s the TreeNode class: class TreeNode: ¬† ¬†def __init__(self, val): ¬† ¬† ¬† ¬†self.val ¬† = val ¬† ¬†…
  • Using Python, Juypter Notebooks ¬† The instructions ¬†. Digital Real Estate (2022): Be X M Week 8 | Homework 8: Line: X PRE HW 08 Instructions.pdf * *Course Hero X PDE HW 07 Instructions.pdf X My Driv…
  • Plot the bar chart for the given data and label the x-axis and y-axis properly: For Honda X1 = [10.25, 10.5, 20.75, 40.0, 50.25]¬†¬†¬†¬†¬†¬†¬†¬†Y1 = [10, 20, 30, 100, 120]¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Color =…
  • 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 …
  • Computer Science Python: A star has a measured flux f= -0.4 +/- 0.5 mJy. Use the bayesian method find a 95% upper limit to the true flux.
  • Problem 5: Multiple factorials Write code to print the first 10 factorials, in reverse order. In other words, write code that prints 10!, then prints 9!, then prints 8!, …, then prints 1!. Its liter…
  • Get creative and write your own, unique quiz program. The quiz must pose¬† three questions ¬†that you make up. Question 1 should require a¬† string answer, question 2 should require an integer ¬†(int)…
  • OMDB_API_Key = ‘7637104b’ How would I define a function¬†getOMDBData¬†that accepts a title and calls the OMDB API (described here:¬†http://www.omdbapi.com) to get the data about that movie. I’d like t…
    • Write a class SpecialList that can hold only strings. Users of the class should be able to instantiate an object of the SpecialList class with a list of strings. Name the list as items . Ensure you…
  • 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 …
  • How would you to determine the image that matches this problem in Python using dark pixels count?. Basic Problem C-06 A B C D E F N 6 G H # 4 8
  • Which of the following are threat agents? [ d) Black-hat hacker ( ) White-hat hacker [ a) Script kiddy [ c) Phone phreak [ b) Cracker
  • How many comparisons in total would have been performed by the selection sort algorithm while sorting a list of 10 data elements to the end of the fourth pass? How many exchanges in total would have b…
    • Create a function which takes a tuple and returns a dictionary which is a histogram to count how many times each number exists in the tuple: ‚ÄĘ The main program must take the dictionary, transfor…
  • the following question is based on 2018 FIFA football players.¬† ¬† I need help writing the code for the following question:¬† ¬† 3.¬†Which type of offensive player tends to get paid the most: the str…
  • Hi, I am preparing for my upcoming Exam and i want this beginner level python project to be solved please comment all the working, As this is beginner level work so please make it simple as simple you…
  • can show me how to remove the slice operator from in the implementation of the mergeSort function. needs two modifications to the code. will need to pass pointers for the beginning and end of the subl…
  • Which distance is a generalization of euclidean and manhattan distances:
  • Use a built-in function, range(), to iterate K-Means clustering for each dataset.¬† Run K-Means clustering with k=10, 15, and 20.
  • Many studies have been conducted to describe the relationship between the trade activity(volume) and the price change. Ask (Sell) and Bid (Buy) orders on the border book might signal the direction …
  • Which one of the following is not a benefit of using a with statement to open a file? a. The file is automatically closed. b. This file is closed even if an exception occurs while the file is being pr…
  • ¬†Knights in chess move in an L shape.¬†They go 2 in one direction then one space at a 90 angle, as the diagram shows. Creyate a function called knightMove that takes in the current location (row,…
  • This is a natural language processing project, and the goal is to analyze the movie subtitle’s sentiment 007 NO TIME TO DIE.¬† ¬† The movie subtitle can be found here: ¬†https://moviesubtitlesrt.com/h…
  • I have an algorithm for an assignment but i do not know how to start the actual script part, is there anyway where someone can walk me through how do start and work through my script?
  • How to Program sqlLite database that contains an employee table?¬†¬†The table should contain the following fields: EmployeeID, FirstName, LastName, Salary, YearStarted, DOB, Archived ¬† The name of th…
  • Some invalid whole number constants: 2.3, .235, $76, 3 ^6, and so forth Other than addressing the whole numbers in decimal, they can likewise be addressed in octal or hexadecimal number framework in l…
  • Create a random array of 3 rows and 3 columns and sort it according to 1st column, 2nd column or 3rd column.
  • . Q3. Create a program to generate and output the Fibonacci sequence. Your program should ask the user to input the number of Fibonacci number to be printed. O n = 0 Fibonacci number F(n) = 1 for n …
  • Assignment1= 89 Assignment2=90 Assignment3=89 Assignment4=100 Assignment5=99 Assignment6=100 Assignment7=90 Assignment8=100 Assignment9=89 Assignment10=100 quiz1 = 60/70 quiz2=30/40 project1 =89 proje…
  • Use python code to analyze the following four classes with k-binary and softmax regression: class 1 is centered at (2,2) with standard deviation of 2 class 2 is centered at (10,10) with standard devia…
  • In which of the following problems would a for loop be appropriate? Select all that apply. ¬† 1.Loop exactly 5 times. ¬† ¬† 2.Iterate over each character in a string, starting at index 0. ¬† ¬† 3.Coun…
  • Write a program that takes the radius of a sphere (a floating-point number) as input and then outputs the sphere’s: Diameter (2 √ó radius) Circumference (diameter √ó ŌÄ) Surface area (4 √ó ŌÄ √ó radiu…
  • You have been provided a Python file, heap.py, which constructs a min-heap structure with a list. Using that code as a guide: Develop a LinkedHeap data structure in a file named LinkedHeap with the ex…
  • Hello I need assistance writing the login html and registration html. I also need assistance with verifying that my app.py code is written properly to make it do the following: ¬† This exercise uses y…
  • Write a function negate_last(n, values) that takes as inputs an integer n and an arbitrary list of integers values and that uses recursion to create and return a version of values in which only the la…
  • Compose a function mirror(Q) that accepts a queue of integers as a parameter and appends a copy to itself in the reverse order. Q = [1, 2, 3] Becomes Q = [1, 2, 3, 3, 2, 1] Hint: another queue and a s…
  • . This question focuses on Part 3 {seiection} and Part 4 (repetition). As inspiration for this question you might iike to revisit Activity 4.8 of Part 4, which uses a iist of specifi. characters. Th…
  • Jack just completed the program for the Flesch text analysis from this chapter’s case study. His supervisor, Jill, has discovered an error in his code. The error causes the program to count a syllable…
  • https://drive.google.com/drive/folders/1G3k_OwZbUNel-orweTLG1Uc9Rx2p3Dfp?usp=sharing https://drive.google.com/drive/folders/1akQ7pOrFb4pjjS7f6efHmrfWk0McqJSG?usp=sharing ¬† The two folders are in one …
  • def main()¬† 1. Call open_file to open an input file for reading¬† 2. Call read_file to read the desired data into a dictionary¬† 3. Loop prompting for a region to display the options; ‘q’ or ‘Q’ to q…
  • Create a program that will read an input file and write a report. Name the program in the format: lab7read.py Use the template to include your name etc at the top of the program. Use comments when nec…
  • What is the code of “def first_nest” and “def year_dates”?. first nest This problem involves dict nesting. Given a list of non-empty strings. Not Correct X m0000 Create and return a "firsts"…
  • A bathroom floor needs to be tiled. Each tile is a 2¬†√ó¬†1 rectangle. However, the floor contains obstructions like the drain, sink, toilet, bath and cupboard that cannot be tiled over. Suppose you a…
  • The following code produces a microscopic image of a bacteria that are overlapping shown below after the code >>>import numpy as np >>>import scipy as sp >>>from scipy.ndima…
  • . Write a program that first reads in the name of an input file and then reads the file using the csv.reader() method. The file contains a list of words separated by commas. Your program should outp…
  • Please complete the TODO’s thanks. ¬† “””Assignment 2: Society Hierarchy (all tasks) === Module description === This module contains all of the classes necessary to model the entities in a society’s h…
  • . Assignment 1 latest (1) (Protected View) – Word yout References Mailings Review View Help Tell me what you want to do temet can contain viruses. Unless you need to edit. it’s safer to stay in Prot…
  • What would be the best way to write the code using Python? Variables Assignment: Instructions: Write a computer program that stores and tracks information about US voters. There are four pieces of inf…
  • Big-O Coding¬† pls answer only if u know Big-O!!¬† ¬† CLUE: ¬† First code (left side):¬† T(n-1) is NOT the answer.¬† Second code (right side)¬† T (n/2) and T(x, y/2) is NOT the answer. O(n), O(1), O(b…
  • https://www.cs.rutgers.edu/courses/210/classes/spring_2022_venugopal/hw2/hw2.html ¬† answers for the following QUESTION 1: 2,4 ¬† QUESTION 2: 1,3,5 ¬† QUESTION 3: PART 2
  • . 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 …
  • What does print(os.geteuid()) print in python language?
  • Using for loops and using the same techniques as the pyramid function, make text triangle function that takes in two values as input: the character to use in making the triangle, and the size of the…
  • Attached is a copy of my assignment. Please can you help me do my assignment?¬†I tried all my effort in doing it but I¬†still got errors in my code and the form is not working as well. Assignment Spec…
  • Hello I need help to reimplement and write python code for Hawk Program : The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts , there are parts of code in the attachment file i…
  • Write a Python (or Java) program, implementing encryption/decryption without using any special security packages. The program should ask the user for an encryption method if you want to perform encryp…
  • This is the original code that has to be modify for the shape not to leave the screen in any direction, using the logic expressed in the original code if button_down?(Gosu::KbDown) if @shape_y != (HEI…
  • function in python that takes in two numbers and returns the difference.
  • Question 5 Create a python window containing a grid of 2×2 buttons. In that window, place 4 buttons that has 4 different functionalities: 1. Button 1: Pressing Button 1 will print a random integer num…
  • Using Monte Carlo sampling estimate the value of R ŌÄ 0 sin(x)dx. Use a uniform distribution on [0, ŌÄ].
  • I am using zeppelin python interpreter and imported holoiews chart libraries and all dependencies.but Not able to show holoviews chord chart in zeppelin notebook.
  • Can You Please Perform in r programming language¬† The data has been split into training and test sets¬† a) Run a multiple regression of NEWPOL using the following as independent variables: PCT-MINOR,…
  • Emulate the stack behaviour using the list data structure. a) ¬†Complete the methods of the following¬†Stack¬†class according to their description In¬†[¬†]: class Stack: def __init__(self): “”” Initia…
  • I would be very pleased if you could help me to write a python code for me. I need a python code with the correct results please. The question is complete. The question starts from here: Implementing …
  • Python Programming Hello, can someone please solve these 2 basic python tasks? And Please add comments so that I can study the code and learn. Thank you.. PART B – ADDING UNARY OPERATORS (10 MARKS) Ch…
  • Problem: Prompt the user for his/her weight in pounds and then report the weight in kilograms. Use a properly named constant. ¬† Write pseudocode only with ordered steps
  • can someone help me with part 2?. Question 7 In the following question, we will take a closer look at the Roof Material feature of the dataset and examine how we can incorporate categorical features i…
  • I need help with implementing this function inferred_conditions(pos_ex, neg_ex) Criteria: -Accepts as input two product tables based on the same feature columns One containing¬†positive examples (prod…
  • Write Python code in jupyter : Rock, paper, scissors is a game where two players each choose a symbol simultaneously. The winner of game is determined by: -Rock beats scissors (smashed them) -Scissors…
  • Hi, so I completed the first 5 Questions of this assignment, and here is the code that answers it. I really just needed the functions and defs, not making a full program. class BankAccount : def __ini…
  • I have problem creating a directory from text fiel. Outputs The program will list positive cases in each state and for the country as a whole in the following form: COVE‚ÄĒ19 POSITIVE RESULTS ‚ÄĒ 5 DA…
  • 1)A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. Write a program that takes a positive integer bigger than or equal to 2 from th…
  • please see below 4. (30) Consider a chain of stores that ship products to customers that are residing in either houses or apart- ments. The distances between the stores and the residences are given in…
  • Please don’t copy from chegg and course hero¬† ¬† ¬†. WQ- 1 Report Error Single File Programming Question Marks : 10 Negative Marks : 0 Implement priority scheduling algorithm ( least priority value i…
  • Your code should expect one input. All you need to do is add 12 to it and output the result. #Below is what’s given to solve, I’m really confused what they’re looking for import sys N = int(sys.argv[1…
  • Please I need help with this question¬† ¬† ¬†. Lab 7 – Web Scrapers and Spiders Hide Assignment Information Instructions Lab 7: After reading the materials from this week’s topic, research online and …
  • Python Basics 3 – [If statement] Objectives 1. Write and read Python programming language codes for textual and sentiment analysis.¬† 2. Identify contemporary issues in financial reporting and data an…
  • Write a text-based restaurant management system with the following features: A text file with an existing or starting menu including item names,¬† wholesale and retail prices for each item on the menu…
  • Challenge of giving and receiving feedback in peer assessment
    • LAB: Simple statistics Given 3 floating-point numbers. Use a string formatting expression with conversion specifiers to output their average and their product as integers, then as floating-point …
  • 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…
  • how to parse the csv file and read into student ID and student name into Object. After that use bubble sort to sort it and output to a new csv file . Python3 only. Do not use csv module, dictionary or…
  • . BEGIN BUILD BASE GRAPH: Find all of Laurence Fishburne’s movie credits that have a vote average >= # # 8.8 # FDR each movie credit: # | get the movie cast members having an ‘order’ value betwee…
  • i would like to be guided on how to develop a python key logger that captures every key press and key release. The time of every key press and release is to be recorded basing on system time and it sh…
  • Shipping Program This program should let the user enter any number of items into the program and then calculate and output the Subtotal, Tax (if CA), Shipping and Handling, and Total Due. ¬† Use at le…
  • I’ve been trying to get the hang of Booleans but I’ve struggling so I was looking for help on this problem ###### #### Part A ########## Part A: Inputting Boolean values from the keyboard Write a simp…
  • 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 …
  • Please help answer the questions below, thank you.¬† ¬† Read and answer the questions using the context of the provided code. Words and code/line references are required to explain the¬†answers.¬† For…
  • create a new column named jobMF to indicate the most frequent job category – Identify the most frequent job category based on the frequency table of the job column. (manual task) – Add a new column jo…
  • Using pandas Click on the following link and download the dataset. The dataset contains information about more than 37000 bank accounts.¬† https://www.dropbox.com/s/j41kxvjc6uraurn/Banking%20Dataset.c…
  • In this particular project, we are going to work on the inaugural corpora from the nltk in Python. We will be looking at the following speeches of the Presidents of the United States of America: Presi…
  • Give a missing statement to validate variable ¬† marks.¬† ¬† The program should validate that the marks¬†must be between 0 and 100. marks= float(input(“Enter your marks”)) ———————: ¬†…
  • I am trying to solve this question. Looking for the solution¬† When¬†the¬†program¬†starts,¬†it¬†loads¬†the¬†database from¬†the¬†file¬†named¬†musicrecplus.txt,¬†if¬†it¬†exists.¬†Otherwise¬†it¬†creat…
  • Assuming the ocean’s level is currently rising at about 1.6 millimeters per year, create an application that displays the number of millimeters that the ocean will have risen each year for the next 25…
  • 2 Python programs¬†based on week 5 flowcharts and requirements. compulsory to use loops, do not use function call Problem1: >>> flag = 1 >>> while(flag == 1): hourlyRate = float(inpu…
  • FUNCTION I NEED HELP IMPLEMENTING (DOCSTRING EXPLAINS REQUIREMENTS): ¬† from typing import Iterator, Iterable, Tuple, Text, Union import numpy as np from scipy.sparse import spmatrix NDArray = Union[n…
  • I want to check this code in another computer, but can’t install/run ‘numPy’, can you check if code is correct, and if you can run this code on python? ¬†. import numpy as np customer_details : np.loa…
  • Stochastic gradient descent does not run the whole data set at once, but instead input by input. Describe the process involved and, using pseudocode, show the algorithm
  • Python language. help with question 5 boston data: https://www.dropbox.com/s/dhuccab4wm2vrt6/boston.csv?raw=1 manilla data: https://www.dropbox.com/s/p3hpq7hr3603bkg/manila.csv?raw=1. In [6] : # don’t…
  • Task description: Get an integer from user, draw a square of "*" based on the value of the input. If the input is not a positive integer, prompt error and require a new input. (Sample output…
  • Gets the suggested path, decides if it is a valid path (each location is a neighbor of the next), and then calculates the total downward elevation change and the total upward elevation change. For …
  • Hi, tutor.¬† I need to make the below in python. Could you please let me know how to make it? ¬† —————————- Mike Smith —————————– SSN: 123123123 Phone: (111)222-33…
  • 7.1: Function with branch: Popcorn. ¬† Define function print_popcorn_time() with parameter bag_ounces. If bag_ounces is less than 3, print “Too small”. If greater than 10, print “Too large”. Otherwi…
  • Please find attached Problem Statement and Questions with below drive link for file data. https://drive.google.com/file/d/1qo08sJsKsvOF1Gd3mEJA1NezlVLB59Am/view?usp=sharing
  • Calculate the **average population** in the dataframe. Why is using mean() directly not working? Find a way to correct the data type of this variable so you can calculate the average (and then calcula…
  • . Problems Write a function called print_dir_contents that takes a string representing a path to a directory and prints the following: – the total number of ordinary files (i.e. non-directories) con…
  • can someone help me correct this program, it supposed to be a ATM machine class program,¬† Question :¬†Write a simple class and the data attributes. Once you have written the class, write a program th…
  • how would i go about solving this one? Im confused as to how to get started on the assignment, any code or staring explanation would be extremely helpful! S python Question.py Enter two numbers, low t…
  • Python question: In the¬†population¬†table, the¬†geo¬†column contains three-letter codes established by the¬†International Organization for Standardization¬†(ISO) in the¬†Alpha-3standard. We will begi…
  • 1.1:¬†A basic computer program. Start 2x speed Input (keyboard) Output (screen) x = Get next input y = Get next input z = x + y Put z to output 2 5 7 Computer program 2 5 7 x: y: z: 2 5 Captions key…
  • solve the following please use python Q2) Write a program to calculate property tax using the flowchart below, please use functions? Global Constant Real ASSESS_PERCENT PROPERTY_TAX_PERCENT showProper…
  • PYTHON HOMEWORK on Neural Network ¬† Include all codes and explanation This homework involves designing a neural network based on Feed Forward Neural Network architecture using the backpropagation tra…
  • Using the ALE.txt file, I’m trying to create a new output text file containing the information in descending order accordingly to the picture in Table 5.7. But the output is blank on my part. My code:…
  • . Instructions: You will be expected to have an understanding of the material coveredin the chapters so it is important that you complete the readings each and every week in this course. Take tim…
  • The highway distance between 7 cities named (A … G) are shown in the figure below: ¬† a)¬†¬†¬†Does this graph possess a Euler path or Euler circuit? why? (4 marks) b)¬†¬†¬†List the right sequence of…
  • This exercise focuses on some simple Selection and Loops While and for . counters, accumulators Selection statement Write a program that calculates the weekly payroll for your employees. Your program …
  • Read the following program to complete it in a modularized form (using functions). USE PASS BY VALUE ONLY ¬†¬† A retail company in U.S. must file a monthly sales tax report listing the total sales for…
  • The VGSA elections at USC are open and there are multiple candidates contesting the election. The votes cast by the student population at USC Viterbi are all collected in a list where each element of …
  • 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…
  • Yelp Crawling (zipcode:10023 you can choose any restaurant near ‘10023 zip code’ ) BeautifulSoup is a useful tool to crawling structured web content such as Yelp, Amazon, TripAdvisor. In this assignme…
  • I need help to have my code match the following task= this is my code: import matplotlib.pyplot as plt import numpy as np import pandas as pd from sklearn.datasets import load_breast_cancer cancer=loa…
  • def comparison_total(bst): “”” ——————————————————- Sums the comparison values of all Letter objects in bst. ——————————————————- …
  • using procedural programming and this ¬†json api : https://covid-api.mmediagroup.fr/v1/history?country=Mexico&status=confirmed ¬† Note: the API returns a running total.¬† You will need to calculat…
  • You are writing a program to help analyze data breaches and records exposed between 2005 and 2018 in the United States. The input requires you to read 2 different text files which are the DataBreaches…
  • For the below, my answer works on test cell #1, however it needs to also work with empty rows. How can I adjust my answer so that it works with empty rows as well? ¬† Exercise 8 (3 points). Complete t…
  • How to Generate 100 synthetic data points (x, y) as follows: x is uniform over [0, 1]10 and y = P10 i=1 i ‚ąó xi + 0.1 ‚ąó N(0, 1) where N(0, 1) is the standard normal distribution. How to Implement f…
  • . Faded Parsons Problems add_in_range returns the sum of all integers between start and stop (inclusive) >>> add_in_range (3, 5) # 3 + 4 + 5 12 >>> add_in_range (1, 10) # 1 + 2 + 3…
  • import sys import string # read file and words fhand = open( ‘text.txt’ ) counts = {} words = fhand.read().split() # create a dictionary if len(words) == 0 : fhand.close() else : for word in words: tr…
  • URGENT PLEASE NEED HELP. PLEASE USE BASIC PYTHON LANGUAGE AS THE CLASS IS AN INTRO TO CS. THANK YOU PLEASE USE BASIC LANGUAGE. THANK YOU FOR YOUR TIME WHILE, FOR¬† ¬†. Note: Do not use any language co…
  • what patterns in the essential coding concepts did you see in blocks and in text?
  • Git (hooks post commit write a script). 1 Gmail YouTube Maps Your local repository is test Step1: List all the files in current directory, go to the .git folder and go to hooks folder. Step2: Create a…
  • Create a module called "volume.py" that will calculate the volume of a cube and a rectangular cuboid. In the "main.py" script, import the module that you created "volume.py…
  • Help ! Q.1 Which function from the options given below can read the dataset from a large text file? read_json read_pickle read_hdf read_csv Q.2 This function in the library of Pandas allows you to man…
  • Write an algorithm to settle the following question: A bank account starts out with $10,000. Interest is compounded monthly at 0.5 percent per month. Every month, $500 is withdrawn to meet college exp…
  • def percentile(): ¬† ¬†string_list = input(“Please enter a list of numbers: “).split() ¬† ¬†num_list ¬†= [] ¬† ¬†for n in string_list: ¬† ¬† ¬† ¬†num_list.append(int(n)) ¬† ¬†num_list = sorted(num_lis…
  • I am able to run this Java program but I am not able to get the expected output from corresponding test input we were 6 files of output and input , I have attached one as sample ? Can someone write th…
  • Write a complete Python program which uses turtle graphics to draw a single line, anywhere on the screen.
  • This has to be done in Coral Language I tried it but I keep getting errors. Write a program whose inputs are three integers, and whose output is the largest of the three values. Ex: If the input is 7 …
  • A well-known technology company wants you to help visually interpret sales mined from the Sales.csv . They want to quickly get insight into the most prominent items sold. Below are the guidelines for …
  • The sinc function is one of the commonly used datasets for testing nonlinear regression algorithms. This function is given by the following equation: ¬† ¬† Familiarize yourself with the SVM tools in P…
  • Write assignment statement that perform the following operation with the variables a and b a. Add 2 to a and store the results in b b.multiply b times 4 and store the results in a
  • The function cross_sum_back takes two input tuples ŌĄ1 and ŌĄ2 (of numbers and of the same length) to compute the sum of products of their terms as follows: cross_sum_back(ŌĄ1, ŌĄ2) = ŌĄ1(0) ‚ąó ŌĄ2(n…
  • this class represents cars (automobiles) called Car.¬†The class needs to store the following attributes about each object: ¬∑¬†¬†¬†¬†¬†¬†Year – What year is the car (2015, 1965, 2001, etc.)? …
  • i need help with this assignment Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphic…
  • I need help creating a fraction calculator based on the following python templates. import equation def main(): ¬†¬†equ = equation.Equation() ¬†¬†again = ‘y’ ¬†¬†while again != ‘q’: ¬†¬†¬†¬†equ.read_e…
  • CSC105 Intro to Programming¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Repetition Structures Lab Pseudocode / Flow Charts This lab accompanies Chapter 5 of Starting Out with Programming Logic & Design. You will subm…
  • Write a program that uses a while loop to store goals and assists for Lightning players in a text file. The program should prompt the user for player names, goals, and assists as shown below. Enter da…
  • My training and test data for a neural network consists of a list of tuples, where each tuple consists of a list of tensors and thier labels. Im trying to feed this into a neural network. I have creat…
  • use python code ¬†. 2. (50 points) Consider the definite integral I(cos(x2)) = So 2 cosx’dx We cannot calcu- late its exact value but we can compute accurate approximations to it using Th(cos x2). Let…
  • . m I 5.10.1: Enter the output of break and continue. 3?551U.235021B.qxazqy? Jump to level 1 *1" Type the program’s output 1″ Input 2" “If Output E] I: 3 i 4 Fadbaek’!
  • Conversion Program¬† Write a Python program that asks the user to enter a distance in miles. The program will then present the following menu of selections:¬† 1. Convert to kilometers¬† 2. Convert to …
  • #### Hello! I have been working on this for days and I’m trying to figure out how to write a regex for the following problem ### #2) # On your pen test, you were able to compromise a webserver and dum…
  • please help. Write a Python main function that asks the user to enter the width and length of a rectangle and then display the rectangle’s area. The main function calls the following functions: getL…
  • The Home2016MensBasketBall.csv records the game results of the 2016 Men’s Basketball. Implement Python code to load the exact data into a data frame df2016. Q2. Column Names (10pts): Assign column…
  • create a Python function unit propagate in a single argument clause set which outputs a new clause set after iteratively applying unit propagation until it cannot be applied further. [10 marks]
  • Question 3 , 4 , 5 . Thank you Question 3. Write a function called compute_calories . It should take 4 arguments, the amounts of time (in minutes) spent on yoga, walking, sprinting, and volleyball, re…
  • Can you provide answers to this section. 2.1) Data Ingestion: Read the dataset. Do the descriptive statistics and do null value condition check, write an inference on it. Perform Univariate and Bivari…
  • QUESTION: ¬† Modify Colab2A_LSH_withtoydata.ipynb so that the program become more general; means that instead of only can accept three documents: ¬† [ ¬†] ¬† ¬† a = “ICS574 Big Data Analytics is one o…
  • The first image is the instructions, the second image is what I have, the last image is showing what is wrong with the code. I have the outputs right, but I don’t know how to format it the way the pro…
  • . Write a Python program that asks the user for two numbers then outputs the difference between those two numbers (subtraction). You may assume the user enters whole numbers only (no decimals). Your…
  • Python: N-glycosylation Write a regular expression that identifies the N-glycosylation motif. Recall, that motif is asparagine (N) followed by any amino acid but proline (P), followed by serine (S) or…
  • I’am trying to get the hang of writing python classes. Here I have typed up a company class class Company : def __init__ ( self , name, address, phone_number) : self .name = name self .address = addre…
  • When we run a simulation for A/B testing, we resample by shuffling the labels of the original sample. If the null hypothesis is true and the star baker award distributions are the same, we expect that…
  • This is just a home work question I need help with it. I’m not tutoring or using for other staff. I want to know how to solve this. a News Ô¨ā Translate in Library Genesis Q REL333 Buddhism S… a Con…
  • Write a python Function for finding a given number prime or not and do Unit Testing on it using PyLint & Unit test Library
  • I need some help with #TODO section.¬† I have another code for Server side. This is using python flask. Whenever client sends private key and userID, server side check its privatekey and user ID and c…
  • Write a feature called fibonacci(n) that calculates the n terms of Fibonacci’s suite. The Suite of Fibonacci makes it possible to illustrate the recursive mathematical expressions, that is, a term of …
  • Please make sure the program at the end is something a user can use in order to get the correct result. Also provide a UML diagram which is commented and user-friendly.. Write a program that wil…
  • Create a home inventory class that will be used by a National Builder to maintain inventory of available houses.¬† The following attributes should be present in your home class: private int squarefeet…
  • This is my questions I am getting this message Exception in Tkinter callback TypeError: ‘str’ object is not callable How do I fix this This is the code # Import the required modules. import tkinter im…
  • I need to write. a python that implements a dictionary and uses the split function 1.¬† ¬†Ask the user for a string and create the following dictionary: The values are the letters in the string, with …
  • I need help with writing this program in Python. 3.5 Problem 4 (1 mark) This problem might be a little harder. Hint: do you need a loop? Problem: A rugby team has 15 players. A bus company has big bus…
  • . Extra Credit Problem B: e2ECpB.py Write a function named Ô¨Ālter_out(). The function must have two parameters. The Ô¨Ārst is a list of data values. The second is a list of values that are to be ?…
  • WIDGET SALE COMPANY:¬†PHASE 1 In this phase you will be analyzing the project from several different roles: Project Manager, Database Analyst, and Python Developer.¬†For each of these roles provide: A…
  • . 2 Introduction to Data Analysis (DATA 1200) Final Project (30% of Final Grade) Appendix A: PowerPoint Detail Requirements Professor: Sam Plati Cover Slide The illnessstudy.csy dataset contains the…
  • How to write a python project like a university exam project
  • The script should take a date in the “DD-MM-YYYY” format as well as a number of days, and return the date when that number of days is applied to the date. That is, if the user enters “18-06-2020” an…
  • [1] Write program that sort the dictionary by value Example: d = {‘a’:10, ‘b’:1, ‘c’:22} Output: 1 b ¬†or ¬† ¬† ¬†[(1, ‘b’),(10, ‘a’), (22, ‘c’)] ¬† ¬†or ¬†…… 10 a 22 c Use the following data to t…
  • Write a Python file that: Draws a green circle centered at (120, 120) and with a radius of 50 Put a textual label inside the circle that has the words, “Green Circle” Draw a rectangle with coordinates…
  • Leckie Delivery Service (LDS) is a delivery truck service that picks up a delivery from one location and drops it off at another location. Each such delivery job can be called a¬† move . Each¬† move ?…
  • def sizes(input): ¬†¬†”’Returns a dictionary with the same keys as input but with¬† ¬†¬†¬†¬†list values replaced with their lengths.”’ ¬†¬†# TODO: Implement # DO NOT MODIFY BELOW THIS LINE test1 = s…
  • The Requests module ¬† Python’s Requests module to download a web page. For instance, here is a code fragment to download the Georgia Tech home page and print the first 250 characters. You might also …
  • use relative path as, infile=open(“..data/file.csv/”,”r”) consider below is csv file:
  • Using Python ONLY!! Create a code that can perform the following using python. You MUST use functions. No scripts. The number of functions is up to you but even your top level code must be a function….
  • The answer needs to utilize integer programming in Python.
  • I need help writing the code for to make a list that contains the months of the year. Then I want making a list that will loop and will print the Month and Month number next to each other.
  • Write a Python program that converts an input file in FASTA format, called “fasta.txt”, to an output file in PHYLIP format called “phylip.txt”.
  • Please help me with my programming (python) homework help. Thank you so much. Here is the information in the files to use for this assignment: PS. I do not know how to upload the files countsByName an…
  • A python function that accepts a pair of coordinates ( two variables) and returns either:¬† geographic¬† UTM60S¬† FMG¬† depending on which system the coordinates are based in.
  • Steal or Deal? We will be writing a program that implements a variation of the Prisoner’s Dilemma problem called Steal or Deal .¬† Prisoner’s Dilemma is a popular problem that has been extensively exp…
  • Create a Game Application with Documentation ¬† ¬† ¬†Use Python (tkinter) ¬† ¬† ¬†Don’t copy on the internet because my prof will know it ¬† ¬† ¬†The documentation must have the (source code,screensho…
  • I am studying math for life sciences majors and I need this answered as easily as possible. We use sagemath in cocalc Remember that Euler’s method provides an approximate solution to differ- ential eq…
  • Assume that the variable¬† amount ¬†refers to 24.325. Write the outputs of the following statements:
  • Could someone advise what im doing wrong Scenario It’s the year 2017. You’re working for an electronics company and have been tasked with modeling out the software for a cutting-edge tablet that will …
  • Im trying code this. Say that a “clump” in a list is a series of 2 or more adjacent elements of the same value. Print the number of clumps in the given list.¬† The output should look like below: Input…
  • . 305671 Jones Bob Electrical Engineering 987621 Wong Chen Computer Science 323232 Rubio Marco Computer Information Systems 564321 Awful Student Computer Sc Y 769889 Boy Sili Compu…
  • I need the code please 3.26 LAB: Seasons Write a program that takes a date as input and outputs the date’s season. The input is a string to represent the month and an int to represent the day Ex: If t…
  • Please Answer in python! Only ‘class Plan’ phone line if the line is either its caller or callee. Return zero if the given phone is not included in this plan. Hint: Make sure your Phone class’s _eq_ m…
  • I need the code please 2.30 LAB: Driving costs 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 20 miles, 75 m…
  • . The fence looks like the following: 6 3 2 When looking from left to right, the individual areas of the pieces of wood are 10 = 4.(2+3) /2, 1.5 = 1 . (3 +6)/2, and 4 = 1 . (6 + 2) /2, for a tota…
  • FROM QUESTION 1 – Connect four is a connection game in which two players take turns dropping discs into a (6 x 7) board, i.e., 6 rows x 7 columns. The pieces fall straight down, occupying the lowest a…
  • I need to do this exact thing in Python. I get stuck right after designing the first function.. Please write Map-Reduce functions using both MongoDB and Python that find the following: 2.1 (30 points:…
  • Develop a small clinical decision support system (CDSS) in Python. E.g.: you can write conditional statements and develop risk assessment CDSS for the myocardial infarction. You could also develop a C…
  • Simplify the above 2 lines of code: in python.Only using def function and loops star_names = [star for stars in star_pairs for star in stars] ¬†# Now get the coordinates of stars using map and filter …
  • What python code could take two opposite corners of a rectangle: (x1,y1) and (x2,y2). The user is then prompted for the coordinates of a third point (x,y). What python program could print Boolean valu…
  • Select a variable(s) that relates to creditworthiness of a customer and derive a method to score each customer based on whether they are Excellent Credit Risk (i.e. highly likely to pay back a loan) v…
  • I am unsure how to include a certain segment of code. For an OOP text-based adventure game I am coding, I am not sure how to include the code surrounding items that the user should be able to locate i…
  • . import random import os courses = class Course: # class variables semester = ‘Fall 2025′ def init_(self, name=’ ‘, categories={}) : ""Create a course object. self refers to the object&qu…
  • i need python code for part 4 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 …
  • Take your payroll program from chapter 2 and make it better. Remember to start with a comment with your name, date, and title of the program Add an if-else conditional structure to calculate overtime …
  • Create a program that outputs every multiple of 4, from 4 through 100 along with its value squared and cubed, e.g., The next number: 4 Squared: 16 Cubed: 64 The next number: 8 Squared: 64 Cubed: 512 ?…
  • using python Think of a recursive version of the function f(n) = 3 * n, i.e. the multiples of 3. a program using recursion to implement it. ¬† 2.¬†¬†¬† a recursive Python function that returns the ¬† …
  • Create a Class called Association. Ôā∑ Create Public Properties (getters and setters) for the mandatory (not nullable) columns on your Associations table. All the member variables should be private an…
  • Give flowchart for this code. #Month Name to number of Days# W N – print("List of months: January, February, March, April, May, June, July, August, September, October, November, December") 4…
  • please help me with 2nd part answer. Define a class ‘MobileInventory’ with the following specifications: Define the class method ‘__init__’, which initializes an instance of ‘MobileInventory’ and …
  • Using IDLE IDLE is a particular Integrated Development Environment (IDE) that is typically included in a Python installation. An IDE will enable you to use a text editor to create programs (in the cas…
  • 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 choose the best answer: ¬† Some Python built-in datatypes are implemented using hashtables. These data types are suited for applications where we prioritize: ¬† A) User input and output ¬† B) m…
  • Design a SavingAccount class data attributes: account_num, interest_rate, and balance attributes : account_num, interest_rate, and balance methods : get_account_num, check_balance, apply_interest, dep…
    • (20 points) Compare the theoretical and empirical collision probabilities as follows: a: At the beginning of your code, only once, set the numpy’s random number generator’s seed to the last 4 …
  • Larger than n. in a program, write a function that accepts two arguments: a list, and a number n. Assume that the list contains numbers. The function should display all of the numbers in the list that…
  • In the past, there have been viral disease epidemics (including the 1918 influenza pandemic) which have got out of hand. We would like to simulate the way such diseases spread, to better understand ho…
  • Write PYTHON PROGRAM a function called parseOctal() which should take an octal string and return a decimal number. Octal numbers are numbers in base 8 (which means the characters should be 0-7). The c…
    • Prompt the user for a title for data. Output the title. (1 pt) Ex: Enter a title for the data: Number of Novels Authored You entered: Number of Novels Authored (2) Prompt the user for the headers …
  • I need help. 1. 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…
  • I need help solving this in python3: ¬† This is the third of a series of PEs that will arm you with the skills to build components of what will become a complete program. By the end of the series, you…
  • Write a code to prevent segregation for the problem below. A building has a yard and two rooms. All tenants are gathered in the yard and each person has a cellphone where his preference to green color…
  • How do I actually import all the files into my code.
  • hello, I’m new to python and would like some assistance on the following code def drawLsystem(aTurtle, instructions, angle, distance): ¬†¬†for cmd in instructions: ¬†¬†¬†¬†if cmd == ‘F’: ¬†¬†¬†¬†¬†¬†a…
  • A clique of size k in a graph g is a complete subgraph with k vertices. Write a program that will find and output the number of cliques of size k (3 ‚ȧ k ‚ȧ number of vertices) in an undirected grap…
  • Write a python program that display the menu of restaurant. Ask the user to choose the item from the menu list and keep choosing until user press N or enter no. If user chose burger category print all…
  • How to create or implement a python program that lists 2 pre-set books to search, or accept user data. For example we want we to pre-populate a list of test examples in pre-defined array. We’ll want t…
  • I wrote my python script to scrape data into a CSV file. How do I open the CSV file? Where does it save?
  • Solve this question using python, please show the python code as well as the detailed explanation 4. a) The minimum of the function f defined by f(x) := x1+x2-21202-3×1 for x E R2 can instantly be cal…
  • Question #1 Points : 5 One lap around a running track is exactly 0.25 miles. Write the function miles_to_laps() that takes a number of miles as an argument and returns the number of laps. Complete the…
  • Write a class named Car that uses the following data attributes: An attribute variable named __year_model that holds the car’s year model An attribute variable named __make that holds the make of the …
  • Lab Assignment 6: File Reading and Writing Hide Assignment Information Instructions 1. Complete an algorithm, code and compile the following program. Save the program as¬† albums.py. Greatest Hits For…
  • The following code is suppose to open a text document from my computer and read them but it kept saying Traceback (most recent call last): ¬†File “<module1>”, line 43, in <module> ModuleNo…
  • Use R or SAS please to solve this question : Using the data on the time to relapse of 6-MP patients found in KM section 1.2,¬† a) Estimate the hazard rate at 12 months using the Epanechnikov kernel ¬†…
  • I have added some points to the map below, I want to name these points and show them on the map. I would be glad if you could help.You can access (‘ReportSample.xlsx’) and (‘gadm36_TUR_2.shp) data fro…
  • Fill out the function extract_games(raw_data)…. View Insert Cell Kernel Navigate Widgets Help Not Trusted K C Markdown The first thing we need to do in our analysis is get the data in a more structu…
  • Hi, I have completed these two bar graphs using this spreadsheet .csv file in juypter notebook: https://covid.ourworldindata.org/data/owid-covid-data.csv ¬† Can you please help with the last question,…
  • Part 1 The volume of a sphere is 4/3ŌÄr3, where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. What is a function called print_volume (r) that takes an argument for the radius of the …
    • Problem 1 Problem:¬†The Unix tool¬†head¬†prints only the top few lines of a file. Create a version of¬†head¬†that prompts for the name of the file to read, and the number of lines to print. For ex…
  • My midterm is due at 11:59pm tonight May 12th. My professor has done a terrible job teaching and I am completely lost. I would like if you’d kindly help me solve it, I will send the pdf. thank you
  • Hello, this is a machine learning class on python and tensor flow. Please need help to find the expected value of f. I am not sure if I have the right value
  • . TINST 310: Assignment 3 . Winning (game ending) conditions: Deal or No Deal? o The user takes a ‘deal The game should end, and the user is congratulated for winning the deal (200 points) amo…
  • The Fibonacci sequence begins with 0 and then 1 follows. All subsequent values are the sum of the previous two, ex: 0, 1, 1, 2, 3, 5, 8, 13. Complete the fibonacci() function, which has an index n as …
  • Use matplotlib to draw bar chart based on data from a dataframe with 3 columns dataframe columns are [‘Year’, ‘SeaLevel’, ‘Co2] Bar chart should have x=’Year’, SeaLevel bars should be blue, Co2 red. T…
  • Please write class named Employee that holds the following data about an employee in attributes: name , ID_number, department, and job title. ( employee.py ) 2.¬†¬†¬†¬†please create UML diag…
  • 6 . 1 . 5 . Function append Parity Column This function accepts a frame ( a list of bit lists ) and a desired parity . It appends a parity bit to each list in the frame . Use the append Parity functi…
  • Need help with this please help. Hard-Coding a Network In this problem, you need to find a set of weights and biases for a multilayer perceptron which determines ifa list of length 4 is in sorted orde…
  • In Python, how would I create code where I have a list of passwords and I am trying to find the password with the right key to test if it will decrypt a ciphertext. The list of passwords is too long t…
  • trying to get this code working correctly def display_welcome(): ¬†¬†print(“This program is a wish list for the user.”) ¬†¬†print(“Enter as many items as you like, with their costs”) ¬†¬†print(“and th…
  • Project: Tweet Analytics CS Focus: Data Analysis / Machine Learning Description: given a dataset containing the text tweets of politicians, analyze the positive or negative sentiment of tweets based o…
  • You are given¬†N n-vectors¬†x1,…,xN (they are assigned as a nested numpy array¬†X¬†in the cell below) and an¬†n-vector¬†a (assigned as¬†a¬†in the cell below). Your task is to identify which vector i…
  • please help me with these questions 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 ver…
  • program in python based on incremental development processes of collecting user requirements, designing, coding, testing and debugging to implement the following functionalities of a shopping cart: ?…
  • . Question 4.1 We can use np. random. choice to simulate multiple trials. After finishing the Data 8 project, Stephanie decides to spend the rest of her night rolling a standard six-sided die. She w…
  • Python Programming Can someone please only need to do Q2 and Q3 . Q1 has already been done.¬† Q3 is an extension of Q2 , that is why posting them together. ¬† Link to Question 1 Solution code —> …
  • Prompt the user to enter a measurement in miles at the console (float). Use a separate function to convert the measurement from miles to kilometers. The conversion function should do only the conversi…
  • Write a function¬† takePoll ()¬†that takes a list of strings as a parameter and polls the user to build a dictionary out of the options in the list. The function builds the dictionary by repeatedly as…
  • Question 1 You are asked to develop a student enrolment system. Using the object-oriented programming concept, can you create a student enrolment system using a python window containing a grid of 2×2 …
  • Make a two-player Rock-Paper-Scissors game. ¬†(Hint: Ask for player plays (using input), compare them, print out a message of congratulations to the winner, and ask if the players want to start a new …
  • # Example test assert collectOddValues ( [1, 2, 3, 4, 5] ) == [1,3,5] . countInts ( listOfInt, num) – The parameter listOfInt is a list containing integer values and num is an integer. This function w…
  • Consider the following code: int function(int a, int b) { ¬† ¬†int result = 1; ¬† ¬†if (a + b > 0 ) ¬† ¬†{ ¬† ¬† ¬† ¬†return -1; ¬† ¬†} ¬† ¬†if( a < 0 ) ¬†return 0; ¬† ¬† ¬† return result; } Ple…
  • Please help me with this practice question regarding classes Complete the class Misspellings, which should be able to correct the misspelling of attribute names: both for getting the value of an attri…
  • It’s do today please help me 1. For m=4 bits. , using the signed two’s complement representation, (neatly) construct a table consisting of all possible 4 bit sequences along with their base 10 values….
  • 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…
  • I dont know what to do 2.22 Chapter 2 Heroic: Iterating through strings In this lab we are going to be using some advanced techniques that show up in later chapters. But don’t worry, we fill out the…
  • Define a subclass of Book called PaperBook . Since Paperbook is a subclass of Books, it automatically inherits the attributes and methods of the class Book. The PaperBook class has the following chara…
  • Assign square to be a lambda function that accepts one argument (an integer) and returns that argument squared (its value multiplied by itself). (5 points) In [ ] : your code for problem 9 Problem …
  • Simulating Gravity To get you started, we’ll give some pretty detailed instructions for the first few steps of the project: hopefully you can extrapolate from those steps to figure out how to proceed …
  • Dear Python Tutor: Please complete the following Python problem. Make sure to read the directions properly and make sure your program contains the require concepts and methods. Please refer to the bac…
  • Please complete in Python: biggest: (8 points) This function returns the largest value in its sole argument, a matrix. indices_biggest: (7 points) This function returns a list of 2-tuples that contain…
  • Hello, the question is: Build a flowchart that will calculate what each person owes if you evenly split the price of dinner among the number of people present. (The formula to calculate what each pers…
  • import unittest from¬†typing¬†import¬†List,¬†Optional,¬†Any def¬†remove_vowels(string:¬†str)¬†->¬†str: ¬†¬†¬†¬†“””¬†a¬†function¬†that¬†returns¬†a¬†copy¬†of¬†the¬†string¬†with¬†no¬†vowels¬†“”” ¬†¬†?…
  • 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 input…
  • Motion of a charge through a charged ring Write down the formula for the electric field along the axis of a charged ring of radius R that carries a total charge ‚ÄĒQ. Imagine that a charge Q = 1 uC of…
  • 3¬†Write a program to prompt for a score between 0.0 and 1.0. If the score is out of range, print an error. If the score is between 0.0 and 1.0, print a grade using the following table: Score Grade …
  • 1 Consider the following directory structure. A statement to import the cow module would be __________. ASCIIArt\ Top-level package __init__.py canvas.py figures\ Subpackage for figures art __init__.p…
  • I need help in solving this python problems, I have includes the items the task needs. 1.7 section is this right here 2.3.3 section is below 2.3.3 section is the code class Vector : “””Represent a vec…
  • Created a pygame that would bounce a ball around the screen. ¬† import pygame, sys pygame.init ¬† size = width,height = 600,400 vel = [1,1] sand = 255, 200, 137 ¬† screen = pygame.display.set_mode(siz…
  • Select all that apply Networks with a power law distribution have many nodes with large degree and a few nodes with very small degree. If we draw a power law distribution in log-log scale, the dist…
  • 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. Question:- Use given belo…
  • please help me to get this question done :)) Use python scripting language to write code to conduct a passive attack on the network associated with the local organization that you have carried out rec…
  • A pedometer treats walking 1 step as walking 2.5 feet. Define a function named feet_to_steps that takes a float as a parameter, representing the number of feet walked, and returns an integer that repr…
  • Following the instructions & example above, store the appropriate boolean in the variable provided for each of the following statements: function_names¬†|¬†basetball_game¬†is a better function nam…
  • . Criteria Level 1 Level 2 Level 3 Level 4 Score Functions/methods: |Function does not execute when Function executes, but output is Program executes and is correct 12 Program Execution called (e.g….
  • Using python define a function called explode(S) that takes a string as input and returns a list of all characters in the string.. For example: Here is the explode function in action; >>> exp…
  • def radix_string_sort(strings): ¬† ¬† ¬† ¬†“”” ¬† ¬† ¬† ¬†——————————————————- ¬† ¬† ¬† ¬†Performs a string radix sort. ¬† ¬† ¬† ¬†Use: Sorts.radix_string_sort(str…
  • We downloaded several stock’s daily level data for you in ./data/hw2_data/stock_data/. You will write code that takes stock tickers as inputs and output one dictinoary. The dictionary uses the stock t…
  • Complete the function definition so it returns the square of the product of the parameters, so sqrProd(2, 5) returns (2*5)*(2*5) = 100. def sqrProd(x, y): 26. Complete the function definition so it re…
  • Write a function to compute the nth number of the following series: Given a value x , multiply all the non-zero digits of x together and then add that value to x to get the next number in the series. …
  • FOR ALL WORK FROM WEEK 6 ONWARDS, YOU WILL NEED ADD-ON PYTHON MODULES SUCH AS pandas, numpy, re, and csv, among others. BEFORE ATTEMPTING ANY OF THIS WEEK’S WORK, FIRST REVIEW THE DETAILED NOTE ON ALL…
  • . Homework/Assignments – 2021F X *Homework Help – Q&A from Onl x + X -> C A faytechcc.blackboard.com/webapps/blackboard/content/listContent.jsp?course_id=_35066_1&content_id=_5907330_1…
  • In Python, create a program that that asks a user to enter between 1 and 5 student records. Then ask the user for the first students ID, name, and GPA, the second …up to fifth student.Print a column…
  • All the information required to complete the problem is included in the screenshot, I made sure nothing else important was cut out.. Task#2: Employee Class 10 points 1. Write a class called ‘Employee,…
  • CHALLENGE ACTIVITY 3.6.1 : Type casting: Computing average owls per zoo. Assign avg_owls with the average owls per zoo. Print avg_owls as an integer. Sample output for inputs: 1 2 4 Average owls per z…
  • Write a program to analyze word usage in a file.¬† Specifically, write a program that prompts the user for a filename, opens that file, and counts how many times each word appears in the file.¬† The p…
  • What is the python code for question Q3 parts b & c from Case 2 Toyota.docx? The answer provided jumps from In[15] to In[30]. The missing code in these lines my prevent the error message I get whe…
  • i need answer in r. data file link is here=https://drive.google.com/file/d/1jux28Irx8FEKVUhZwvSPIpGUhE6SQnJ9/view?usp=sharing ¬† part c=**Use control flow** to print a list of airports at which the nu…
  • I want to make a program creating-handling multiple processes. Each process is to sort an integer list in an increasing order. The list is a shared variable (global) among all processes; it is initial…
  • Write a Python program that prompts the user for a measurement in inches. Convert the user input into the equivalent measurement in centimeters (1 inch = 2.54 cm). Print the converted value.
  • Please write me a function for this this is the python programme def main(): ¬†¬†# using keyword global allows to use the ip_List created outside of function to ¬†¬†global ip_List ¬†¬†¬† ¬†¬†”’ ¬†¬†U…
  • . Due date About 031/2021. 23:MTU.C45:30 This second assignment is a continuation of "Data science group project 1" and must be completed in the same team. Grade category In this assignmen…
  • Consider the diagram on Slide 14: . How many times do you see: . The value 3 circled? Squared? . The value 2 circled? Squared? . Draw a Fibonacci tree for n = 7 showing memoization when it occurs. Ho…
  • I need help with this. It’s for a discussion board Create a scenario that incorporates data that would use lists or dictionaries. Explain why a list or a dictionary would be more appropriate for this …
  • . Course Hero * Assignment #7: Interactive Drawi X G how to screenshot on windows – x + X <- D uwpks.instructure.com/courses/453070/assignments/4486649 : Library Links M Gmail [28] Google C…
  • Omondi is starting a new business, a car renting business. Omondi starts with five different Cars. Each car has a model, a year when it was released, a year when Omondi acquired it, the money made fro…
  • Having a hard time with the loop if then """ Latoya Hopson ENTD200 1001 SPR20 Ahmed Abaza Week 6 June 16, 20 """ hours=input("Enter hours") float(hours) rate= i…
  • I have developed the code for this prompt but it is telling me that it’s undefined for year_born. what am I doing wrong? is there a trick to using PyCharm with the user input? EJ<> @ Module Two …
  • An identifier (variable name)¬†can all be¬†an uppercase letters. (True/False) 2.Which of the following is a valid identifier? A.variable name B.first_name C.09 D.9x 3.What is the EXACT output of the f…
  • Programming Assignment Using IDLE IDLE is a particular Integrated Development Environment (IDE) that is typically included in a Python installation. An IDE will enable you to use a text editor to crea…
  • How to solve problems that ask how many asterisks does the following code print or any loop or mainly nested loop count questions. ¬† Ôā∑ Define each loop variant o The initial value o How it is updat…
  • We’re designing a class representing recipes, and we want to choose a data structure that could store the recipe ingredients. For each recipe, we want to store both the ingredient and the amount for e…
  • Activity 1: Annotate bars in the count plot Create a gender wise annotated count plot using the below link which has the dataset of Tips taken on the total bill amount in restaurants in the CSV format…
  • Read the following program requirements: A retail company must file a monthly sales tax report listing the total sales for the month and the amount of state and county sales tax collected. The state s…
  • hour = int (input( “Enter hour: ” )) min = int (input( “Enter Minutes: ” )) sec = int (input( “Enter Seconds: ” )) ampm = int (input( “Enter 1 for AM and 0 for PM: ” )) seconds = 0 if ampm == 0 : seco…
  • per attached Write a python script that is going to create your tables and populate them with data automatically from data_module4_part2.txt (file attached). You do not have to use executemany, your p…
  • 17 LAB: Input: Mad Lib ¬† 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. Complete the progr…
  • Homework help, Thanks!! Ql: Write a function that will accept one integer as an argument. It should randomly pick an integer between 1 and that integer (inclusive), and return its square root If the i…
  • 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…
  • Write in python and Make sure the include correct output and code Question: Using class ArrayStack, write a function that duplicates a given stack. For example, if the s = [10,4,5] where top of s = 0,…
  • 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…
  • This problem is a variation of a previous problem using the function computeScrabbleScore . You may reuse that function here. Write the function bestScrabbleWords that accepts two parameters: words_, …
  • For your final programming project, you are to design, and implement a Python Project that is interesting to you . You have a great deal of freedom in choosing what to program for this project. Howeve…
  • Given is a Python program that connects to a sqlite database and has one table called¬† writers ¬†with two columnns: name¬†– the name of a writer num¬†– the number of works the writer has written The?…
  • Indicate which lake is the coldest and which one is the warmest, based on the average yearly temperatures calculated in step #1. Also indicate which lakes have average temperatures above the averag…
  • create python program has the same result please . ===============
  • . Write a function that accepts a string and returns a dictionary with each unique character in the string as key and its corresponding number of occurrences as value. As a reference, see Question 5…
  • Program in python ¬† below is all the txt file 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#Ha…
  • could u also explain the answer for me? Because i did some process, but i got error somehow. Microsoft Word – Guided-Exercis X + X < -> C @ File | C:/Users/melih/Downloads/Guided-Exercise-2%20(1…
  • Use the provided Jupyter notebook and add the python code and output cells for the following. All the solutions for the questions below should only user basic Python constructs. Any image library fun…
  • I am having trouble understanding question 4 of my assignment. I believe I have completed 1-3 correctly. Am i supppose to re-write the section of my code to re-calculate or just add in another functio…
  • what code would i use for this? Question Question 3: Write function that computes your test statistic. It should take a table with two columns, TOTCHOL (total serum cholesterol) and ANYCHD (whether or…
  • num = 2 while num < 12: ¬†¬†¬†print(“Hi, there!”) ¬†¬†¬†num += 2 ¬† Please rewrite the code using a for loop to display “Hi, there!” five times on the console. The output should look as follow: Hi,…
  • I need help turning this client side script into pseudocode var slideIndex,slides,dots,captionText; function initGallery(){ ¬†¬†slideIndex = 0; ¬†¬†slides=document.getElementsByClassName(“imageHolder”…
  • My code isn’t showing JFK on the print and it seems Lyndon B. Johnson isn’t getting the right amount? Can anyone see why it is doing this?¬† def Parse_President(File): ¬† ¬†”’ ¬† ¬†Description: Takes…
  • we will follow up on our card functions from card1.py . card1.py file provided to you at the end of decription. The file contains the solution to the Card problem. You will need to import the global v…
  • Return a list of club recommendations for person based on the “person to friends” dictionary person_to_friends and the “person to clubs” dictionary person_to_clubs using the specified recommendation s…
  • Use Python, the dataset, and the ‘datatime’ module. This is the link to view the CSV file: https://drive.google.com/file/d/1OZi-yjXVCJCsKdiYehUAYow3Mo1pkD22/view?usp=sharing
  • 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…
  • Summing nested dictionaries (6.5 points Write a function sum_nested that takes a dictionary d and sums up every int and float inside it, including those in nested dictionaries. You should ignore neste…
  • How would you solve this in the easiest way possible? ¬†¬†In the same module/file, implement a class TempConverter that that provides a GUI for converting temperatures. TempConverter should be a usabl…
  • How would I define a function¬†update()¬†which takes two arguments:¬†x¬†(a list), and¬†el¬†(a variable with data to be added to the list).
  • . Declaring sets In [1]: # Declare a set named set1 with the following elements 1, 2, 4, 8, 11 using the curly bracket notation set1 = {1, 2, 4, 8, 11} # Create an empty set2 using the set function …
  • Based on code and data below how produce a table that shows DBA Name, number of violations a nd number of licenses issued for every DBA Name ¬†. list_of_LAT_LONG_pairs = for dba_bucket in results [&qu…
  • Hello I have ¬†a final output here in my zip file. I just needed some changes from what my professor said. Zip file:¬† https://drive.google.com/file/d/16E-ePWZCm4hV9SGAUmonK6qSw0_yeUlD/view?usp=sharin…
  • Hi, could you please help me with this question. I have attempted it on my own, but I am getting an error. Could you also explain your code to that I can get a good grasp. Below the question I have al…
  • Kindly create a correct flowchart for task number 2. I badly need it right now. Thank you! ¬† Link: https://colab.research.google.com/drive/1zA_s-Srb0uxXz6QuIBOfU5LdpABKrskq?usp=sharing
  • The imdb.db database is available # From https://www.imdb.com/interfaces/ fetch_and_cache(‘https://datasets.imdbws.com/title.basics.tsv.gz’, ‘titles.tsv.gz’) fetch_and_cache(‘https://datasets.imdbws.c…
  • QUESTION 20 Given the following code, which methods can use the variable x? def main(): X = 3 y =2 z = calcData(x, y) w = doStuff(x, y) print(z, " ", w) def calcData(a, b): c= a**b return c …
  • Problem #3 Introduction: Be sure to spend time reviewing and practicing with the final versions of the Student and Account classes discussed in lecture. This problem requires you to demonstrate simila…
  • Write a class named car that has the following data attributes: ¬† _ _ year _model (for the car’s year model) _ _ make (for the make of the car) _ _ speed (for the car’s current speed) ¬† The Car clas…
  • import unittest from fluffy_functions import all_fluffy # Do not change this import statement. class TestAllFluffy (unittest . TestCase) : def test_empty_string (self) -> None: """Te…
  • This is a daily challenge and my code that ive come up with isn’t working.¬†. example/CSCI104 – JupyterLab X X C hub.science.ontariotechu.ca/user/100820459/lab/tree/example/CSCI1040U%20-%20Challenge%2…
  • I need help with these two programs (three_shapes.py and bouncing_balls.py). These two programs involves the use of graphics, which is a graphics file that I am going to provide. These two programs al…
  • Error Detection Suppose you create 14-digit credit card number into a Web site, but mistype one of the digits or inadvertently interchange two adjacent digits. The Web site will perform a validatio…
  • The 2 problems are in the attachment. I need HW help, please. ¬†It is due Wednesday. I am using python version 3.5¬† Programming Assignment 5 All solutions are to be written using Python 3. Make sure …
  • –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. Q-Is the…
  • Hi, can you please help me with my graph below. ¬†My code and output is below. ¬† import numpy as np import matplotlib.pyplot as plt xy = plt.subplot() x = np.arange(0.00, 50.0, 0.25) y1 = np.sin(0.32…
  • After executing the following statements, will pp0 refer to a class or an instance? import pprint pp0 = pprint.PrettyPrinter
  • A set of symbols is commonly used to express logical representation. Let’s define the semantics of each propositional symbol: P means “It is hot” Q means “It is humid” R means “It is raining” Examples…
  • Add a command to this chapter’s case study program that allows the user to view the contents of a file in the current working directory. When the command is selected, the program should display a list…
  • I have never been trying to solve this issue but I’m a little confuse on how to get it right. Write a program that uses nested loops to draw this pattern: ******* ****** ***** **** *** ** * The progra…
  • Create function valid_entry(grid, num, r, c) that determines whether a particular value can be entered¬† at a particular location in a valid grid, while maintaining validity.¬† Input: a nested list gr…
  • Please give me the correct Python 3 code to answer the following problem: hour = 3 minute = 45 #You may modify the lines of code above, but don’t move them! #When you Submit your code, we’ll change th…
  • Galileo was an unmanned NASA spacecraft which studied the planet Jupiter and its moons, as well as several other solar system bodies. It was launched on October 18, 1989, and arrived at Jupiter on Dec…
  • Write a program that reads in numbers separated by a space in one line and displays distinct numbers (i.e., if a number appears multiple times, it is displayed only once). (Hint: Read all the numbers …
  • Variable Length Record Load the pipe-delimited file¬†P. It is organized with 3 fields on each line:¬†firstname|lastname|birthday. Search for the firstname¬†Fand lastname¬†L, replacing the birthday wit…
  • in python ¬† 4.17 LAB: Flip a coin ¬† Write 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 …
  • Hello, would you help with this python code? I got part a, but parts b and c are confusing me. The second picture shows part a. I am confused on where to begin for parts b and c. Thanks in advance for…
  • ”¬† In this homework you will scrape a table from a webpage and store the results in a data frame. (Let’s call it DF1.) This table must have at least 30 records. ¬† ¬† ¬† ¬† ¬† ¬†¬† I would like to s…
  • Need help solving this, Thank you ¬† Aim ¬† We have recently walked through a simple if statement block that results to a value based on the input given. The script is shown again in Snippet 3.11 : py…
  • Hello, I’m currently having an issue with my coding homework / assignment and would really like some help with it. This is the code I have written: def check_section(state: str, section_num: int) -&gt…
  • How we write this assignment as a program in Python? ¬†In an effort to better assess your spending habits, you have decided to write a program that will determine if you have stayed within your monthl…
  • Here is my code: def function14 () : ¬† ¬† # Create an 8X3 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…
  • Create a program and explain how it works Question for Group 2, 4, 6, 8, 10 PROBLEM NO. 2 Drinking Problem Description Bob has a drinking problem … not that kind of a problem. Bob drinks Gatorade, b…
  • Chat: In certain chat programs or messaging applications, there is a limit on the number of characters that you can send in a message. Write a function that takes as input the message (a string) and c…
  • In Python Programming, 45.5 % 15 gives 0.5, but -45.5 % 15 gives 14.5. How does it calculate. please explain in details? How to calculate remainder in Python Programming?
  • Objective: will have experienced the entire problem-solving process through designing and implementing a program to solve a relatively complex river-crossing puzzle. In particular, will learn¬† ¬∑¬†¬†…
  • #More.py from Queue import Queue from Stack import Stack class More(): def __init__(self, book): self.q = Queue() # TODO: Read the book into the Queue def display(self, lines): # TODO: Use a queue to …
  • [{“metadata”:{“editable”:false,”deletable”:false,”nbgrader”:{“schema_version”:1,”solution”:false,”grade_id”:”cell-556d0c072a973073″,”locked”:true,”grade”:false},”trusted”:true},”cell_type”:”code”,”sou…
  • Answer must be Python language Do not use “chegg” (incorrect). One simple way to detect anomalies is to find out how different the attribute value of a given data point is from the attribute values of…
  • “DC Characters” : [“Batman”, “Catwoman”, “Clayface”] ¬† How to covert each input string into a dictionary item. How to format each item of your inverted dictionary as a text string in the output file.
  • I need this code written in python so I can copy it please and thank you!
  • Download the file ‘citypopulation.txt’, which contains the population of Australian major cities. The cities’ names are in ascending order with their respective population. write a python program that…
  • song_as_dict(filename) Description: Transforms a song from a file into a dictionary. The information it stores is the number of notes (separated by octaves) and note types that appear in the given son…
  • How do I turn the code to make it the minimum range x=[-100,0]. 11. Modify Class Example: 13 to find the MINIMUM value in the range x=[-100,0]. New min: -0.9876883405951378 at x: -99 or rad: -1.727875…
  • FILL OUT THE CODE WHERE IT IS ASKED THANKS¬† Implement LU Decomposition in Python with matrices. Fill out the matrix class, which should work for square two dimensional matrix of any size, where the n…
  • Week 8 Assignment: Lists Instructions: You will complete this assignment in Python 3.x. Make sure you have downloaded the software, and it is installed correctly. You will download it from this site:…
  • I wrote a simple reservation code in python and i need to convert it into tkinter version. but also, i want to upgrade the codes with allowing customers to pick dates from calendar and rooms from a cr…
  • start with code that has several lists that contain data pertaining to student grades in a class. Your job is program that will write the data in these lists to a tabular text le in a format as specie…
  • Respond to the following ¬† You are working on an address book database with a table called Contacts and fields for first name, last name, address, and phone number. Describe how you would implement a…
  • Write a Python function which takes a list as an argument. The function moves all items in the list one position to the right, with the rightmost item moved to the leftmost position. Print the result….
  • ## Objectives ¬†– Review working with list methods to perform common manipulations, such as searching for items, sorting a list, inserting items and removing items. ¬†– Review working with additional …
  • text = " Celebrate National Pet Day with our puppy playlist : https / / 4 . co / BHHEP WOZ 7 https : 1 / t . col Mix SAY 2 FFQ Sa href – " http : / / msande , stanford . edu " > Man…
  • def getDigit (number): ¬†¬†i = 0 ¬†¬†digit = 0 ¬†¬†while (i < len (number)): ¬†¬†¬†¬†digit = int (number [i]) // 10 + int (number [i]) % 10 ¬†¬†¬†¬†i = i + 2 ¬†¬†return digit def sumOfDoubleEvenPla…
  • Suppose grades = [9, 7, 7, 10, 3, 9, 6, 6, 2] Write a)¬†¬†¬†An expression that evaluates to the number of 7 grades b)¬†¬†A statement that changes the last grade to 4 c)¬†¬†¬†An expression th…
  • Data set: The Abalone Data Set (Source: https://archive.ics.uci.edu/ml/datasets/abalone) ¬†. Data set information These data consisted of 4,177 observations of 9 attributes, detailed as follows. Name …
  • Dear tutors, 10.1. Write a function called nested_sum that takes a list of lists of integers and adds upthe elements from all of the nested lists. For example:>>> t = [[1, 2], [3], [4, 5, 6]]…
  • Objective The purpose of this assignment is to implement a reliable File Transfer Protocol (FTP) service over UDP. This project will help you understand some of the important issues in implementing re…
  • Given the customer_data dictionary below, I need to come up with a function greet_customer that takes in a similar dictionary and a name. Given that name, return a greeting based on how many times tha…
    • In this section you will run an implementation of the page rank algorithm. Unfortunately, newer versions of Mahout (machine learning library that runs on Hadoop and Spark, which we will use fo…
  • Write the configuration (i.e. commands run, files edited, parameters modified) to allow the ann.brown account to run the /usr/bin/chmod, and /usr/bin/systemctl commands with elevated privileges.(4 mar…
  • how to write the custom function to calculate the area under the normal distribution: $$ f(x) = \frac {1}{\sigma \sqrt{2 \pie}}e^{- \frac{1}{2} ( frac{x – \mu}{sigma\})^2} $$ Compare its accur…
  • voici d6Q2: ¬† voici d6P2 :. from d6q2 import #Exemple d’execution #Ce programme ne doit pas etre modifie def exemple de testl () : fl = Felin (4) f1 . set type ("Cougar") fl . set vitesse (…
  • Sentence, Word, and Character count program. a program that reads in any given text file and displays the number of lines, words, and total number of characters there are in a file, including spaces a…
  • Suppose you are working in a well-known IT company as a software developer. Since educational institutions are opening and students are coming back to their hall after a long vacation. Your company go…
  • A hunter takes¬†n¬†bullets to hunt. On a sunny day, his accuracy is high so it only takes 1 bullet to hunt a rabbit, and 2 bullets to hunt a deer. But on a rainy day, his accuracy drops and takes 2 bu…
  • Question 1) 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 head…
  • Make a program in python that stores and uses a series of weather values (low temperature, high temperature, probability of precipitation) with a named tuple: ‚ÄĘ Define a named tuple. ‚ÄĘDo the fol…
  • 6.3 Write a python program that does the following: Prompts the user for three numbers in one request. Be sure to specify the “delimiter” by which a user enters those three numbers. Divides the…
  • Using the dataset dataset_hw02.csv to estimate in Python the őĪ and ő≤ for the returns “r1” and “r2” using the CAPM as you saw in class. Some clarifications ¬† I just need the code necessary to perfor…
  • from dataclasses import dataclass from typing import List ¬† @dataclass class HashSet: ¬† ¬† buckets: List[List] = None ¬† ¬† size: int = 0 ¬† ¬† ¬† def init(self): ¬† ¬† ¬† ¬† self.size = 0 ¬† ¬† ¬† …
  • Lab Exercise 6 ¬† Focus ¬† 1. Batch input and output with files 2. Exception handling
  • I’m currently working on this project for my class, I have completed parts 1 and 2, but I am stuck on part 3 and creating the Hasmap.py ADT, please help me create this code in Python3… ¬† Part 3¬† A…
  • Write the function common(a, b) as described below. Write a function common (a, b) that computes the list of elements common to two input lists a and b in worst- case time O(nlog(n)) in terms of the c…
  • coding | python Given a string of multiple words separated by single spaces, return a new string with the sentence reversed. The words themselves should remain as they are. For example, given ‘it is a…
  • Im getting the wrong answer. Please explain Provide Explanation along with solution for reference Question 32 (3 points) Write a function that calculates the total number of blocks used to construct a…
  • Question : The question has 3 stages 1 and 2 stages I have completed (refer screenshot attached to it) Now I am stuck in 3 stage and question is mentioned below: Fit multiple K nearest neighbors model…
  • Implementing a rainbow table ¬† Word file: https://gofile.io/d/ucx3Vl ¬† You are to write a program, in Python , that should run using the following instruction: ¬† ¬† ¬† ¬† ¬† ¬† ¬†. 4. Output the li…
  • Write a def ¬†for a function called get_name_email ¬†that takes, as its parameter, a single line of text, and returns two values (separated by a comma) representing the name, and the e-mail address as…
  • I cant figure out what i am missing can you help. Using VScode ¬† def main(): ¬† ¬† ¬† ¬† print(“This program builds acronyms”) ¬† ¬† # get input from user ¬† ¬† phrase=str(input(“Enter a phrase: “)) …
  • Hi, I’m getting an error in python code.¬† ¬† here, run_test() is a function which shouldnt be changed. get_count_freq() is a method of class matrix and S is matrix¬†. File "C: \Users\rrish\ . sp…
  • Question 1 a)¬†¬†Write program that will calculate and print bills for the city power company. The rates vary depending on whether the use is residential, commercial, or industrial. A code of R means …
  • I have xml data of the form <corpus lang=”english”> <lexelt item=”ring”> <instance id=”1″> <answer instance=”1″ senseid=”jewelry”/> <context> Pull off your gloves, lay yo…
  • how I can achieve 80% accuracy on a¬† validation ¬†set within 20 epochs for cifar10 dataset?
  • I’m Stuck! I’ve been stuck with this code since I started with this home work on Wednesday. I have been struggling to keep up with my intro to python course and if someone could provide some guidance …
  • This is the question Extracting Data from JSON A Python program somewhat similar to¬†http://www.py4e.com/code3/json2.py. The program will prompt for a URL, read the JSON data from that URL using¬† url…
  • csv dataset-‘bankloan’ a. Display a summary of the data set (bankloan’s) basic information b. Return the first ten rows of the data frame. shows the use of iloc[] and head() to retrieve the f…
  • . Suppose you have some data consisting of several sequences of numbers, and you’d like to know whether each sequence is: . monotonically increasing, which means that the values along the sequence n…
  • The Pinewood Derby rules require that the cars be raced on all lanes to ensure that no lane provides and unfair advantage. The cars are raced four times and the slowest recorded time is dropped. So pr…
  • python,¬† use this photo ¬† ¬† similar to this: ¬† —————————————————————————————– import pygame ¬† w = 80 h = 80 ¬† drawing_window = pygam…
  • 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. Obviously the earl…
  • help writing python code l Dice robahili distribution simulation 30 oints Function name: sim_dice Parameters: None Return: A dictionary 1with 6 elements: keys are integers l to ‘5 , values are corresp…
  • I’m doing a study on the many different ways to code the same result. What is a different way to type the bellow code? Please provide your answer as a text file for me to view. Please don’t type it ou…
  • Program that creates a shopping list of at least 5 items using user input. The user must be able to add to the list and view the updated list as a comma-separated group of items after adding to it. ¬†…
  • Pyramid make a Python with Turtle program that draws a diagram similar to the figure shown below. Read the requirements carefully. Requirements make a¬† function¬† that draws a rectangle with paramete…
  • 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…
  • write a python function¬†traffic_light()that displays a version of a stop light, similar to the image below, in a window 150×300 pixels. The image consists of an orange rectangle and three stacked…
  • hi guys Please answer 1a. ¬†I have a python script. you need to edit in order to solve the question. – loading the matrix/vectors into your program¬† – code performing the needed row operations. – cal…
  • Given the following code, which of the following statements will cause an error? first_name = “Clark” last_name = “Kent” species = “Kryptonian” age = 34 height = 1.9 ¬† Select one or more: print(“His?…
  • I need help, something’s wrong with my code: def NutriFacts(n):¬†#def. of 1 servings Nutritional facts for Parmesan Crisps ¬†¬†print (str(n*1.28) + ‘grams Total fat’) ¬†¬†print (str(n*0.86) + ‘grams S…
  • Query: Find the flight and seat information for a customer. Please enter the customer’s name: Result: The flight number is $FlightNumber, and the seat number is $SeatNumber.
  • Must be done in Python using Spark ¬† Link to data – https://drive.google.com/file/d/1733D19owj9pP74C22krxqpXLWzsRThcX/view?usp=sharing. Option 2: K-means Data The Iris data set consists of 50 samp…
  • Start by defining how many guesses you want to make. For the sake of this experiment, choose guesses = 5000. Here, you only need a single loop as opposed to the double for loop from last time, and …
  • In this assignment you make improvements to the A8 Python program that processed Amazin.com orders. The enhanced program will include the following features:¬† 1. Clear the screen before displaying ea…
  • Need help the the questions listed in this screenshot: Arrays Warm Up Problem 1 How do we keep track of the elements in an array? Problem 2 What are some of the rules when using arrays in your code? P…
  • Download the data for week 1 and unzip it: ¬† Traffic_Collision_Data.zip ¬†¬†Download Traffic_Collision_Data.zip¬† Download the Jupyter Notebook .ipynb file for week 1:¬† Exercise 0 Clean and Prep v.1…
  • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
    • Prompt the user to input a wall’s height and width. Calculate and output the wall’s area (integer).¬† Enter wall height (feet): 12 Enter wall width (feet): 15 Wall area: 180 square feet (2) Extend…
  • part 1 and 2 are solved, answer part 3 only : 2.1¬†Experimental Analysis (Part 1) solved: A very common loop that appears is programming problems is a partial double loop. for (i= 0 ; i < n; i++) {…
  • Hi, I want your help on this question. How do I go about it? ¬†Define a function that takes an argument. Call the function. Identify what code is the argument and what code is the parameter.
  • import array as arr numbers_array = arr.array( ‘i’ , [ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ]) for i in range( 20 ): numbers_array[i] = int(input( “Enter 20 in…
  • A palindrome is a string that’s spelled the same way forward and backward. Some examples of palindromes are: “radar,” “able was i ere i saw elba”. Write a function testPalindrome that returns 1 if the…
  • Using the prepared block of code at the bottom of this question, complete the argparse code to allow this script (createtable.py) to take the following information on the command line: The type of woo…
  • 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…
  • I’m receiving some errors. I’m trying to get this to flow so that when I print I can see everything correctly. I have been thus far unable to get assettag to print with everything else and including t…
  • Which of the following is true? A function must have exactly one return statement, or no statement at all. A function must always have at least one return statement. A function can have any number of …
  • Question -Based on Privacy and Security in Online Social Media. Jupyter Notebooks / Google Colab is strongly recommended for doing this Question and showing analysis, graphs, and code. Link for Parler…
  • Python program that asks the user for an integer (number) greater than 1. Once the user enters an integer, it should then allow the user to choose between the following two options: If 1 is entered, a…
  • Programming in Python:¬† i am requesting help on problem #4. I am struggling to determine how to create one main function to test the above 3 functions. When creating a recursive function that’s the m…
  • get data: Use the data in N_seaice_extent_daily_v3 . 0. csv to create and return a Series object. I suggest using read_csv, https://pandas.pydata.org/pandas- docs/stable/reference/api/pandas.read csv….
  • Please help write the code using Python on replit.com based on the instructions and marking checklist/rubric given in the screenshot files.¬†Be sure to write descriptive comments, and follow the rubri…
  • This i python 3. Can you help me? X File Edit Selection View Go Run Terminal Help backend.py – Untitled (Workspace) – Visual Studio Code X EXPLORER backend.py X frontend.py D . .. OPEN EDITORS python_…
  • Look at the following list of Spanish words and their meanings. Spanish ¬†¬†¬†¬†¬†¬†¬†¬† English uno¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†one dos¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†two tres¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • How to print a program that simulates throwing a 9-sided die and a 9000-sided die, once each, and indicates whether or not the sum of the results is a multiple of three (python)
  • How would i clean this code below to make a clean csv file, .. in this case, means¬†eliminating unwanted characters like extra spaces, commas, and newlines. url = “https://top500.org/lists/top500/list…
  • Help in python.. Newtons Method. def newton (funcdf, x0, ftol=1e-12, xtola=le-7, maxiter=100) : funcdf is a Python function that takes in x and returns f(x) and f (x) in that order. For example, f, df…
  • 1 – The sliding-tile puzzle consists of three red tiles and three green tiles and an empty space as shown below: R R R G G G The puzzle has two legal moves with associated costs: A tile may do the fol…
  • Can I get this ASAP no explanation needed plz, these are the options. You are given the following class names: OlympicGames OlympicSport – Bobsled Skiing OlympicAthlete Without seeing the implementati…
  • Which is a reason to NOT write code with modules? O Writing code with modules helps when debugging. O Writing code with modules is how code is developed in industry. O Writing code with modules does n…
  • For the following functions,¬† you must use concepts from the lecture on writing your own search and optimization loops. You may not use Python functions such as min(), max(), in (as used to test for …
  • Using Python 1.¬†¬†¬†¬†DO program that calculated and prints all the leap years from 1900 to 2020 (inclusive). Perform this calculation twice. First using a ‘for loop’ and then using a ‘while loop’. 2…
  • 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 6hours in humans. Given caffeine amount (in mg) as input, out…
  • 283 row_d, col_d = dest_img . shape[ :2] 284 print (‘row_d, col_d’ row_d, col_d) 285 u = p[0] . reshape (row_d, col_d) 286 v = p[1] . reshape (row_d, col_d) 287 print (‘u, v shape’, np . shape (), np …
  • https://drive.google.com/drive/folders/1wsE5LWeBETFw_JzTBFWoaQpReEzejlnS?usp=sharing ¬† Above link is of a folder ‘hw04’ which has further folders of ‘code’ and ‘data’ We need to open the code folder,…
  • The BMI is often used to determine whether a person is overweight or underweight for their height. A person’s BMI is calculated with the formula BMI = weight √ó 703 / (height)^2¬† ¬† where weight is m…
  • Question 2 (2 points) Why do we wrap most regular expressions between the ^ and $ characters? Provide an example.
  • made simple Simpson’s 1/3 rule program (code) using pythjon
  • zipfile: https://blackboard.umbc.edu/bbcswebdav/pid-3911136-dt-content-rid-34923842_1/xid-34923842_1 the zipfile containing .txt and .docx files‚Äč Extract the .zip contents and use “glob” module to g…
  • Essay Analyzer Many websites out there allow you to upload your essay and give you a general analysis of it that may help you improve your essay or see where it stands (An example of this is: www.expr…
  • I am in the python computer coding class and I cannot figure out how to get my redo function to work and I cannot figure out how to show the sum of odd (OR) evens…. I do not want to display both at …
  • You will complete this assignment in Python 3.x. Make sure you have downloaded the software and it is installed correctly. You will download it from this site:https://www.python.org/downloads/. You wi…
  • How do I use List to Create Menu. is there anyway you can help me on that on this same codes I have . the python files are below mini_calc_new is the import file main file import mini_calc_new def cal…
  • U:3 A: Day 6: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number. U:3 A: Day 7: were your meals very unhealthy (1), unhealthy (2), hea…
  • Please code it using Git Bash ¬† Task 3: Find the numbers that can be expressed as the product of two nonnegative integers in succession and print them in increasing order. For each number found the p…
  • Please write a Python Code for the given tasks. They all take as Input a Fasta File. Example is given. Thank you.. Task 1: Finding the longest open reading frame Task 2: Translating DNA Write a…
  • 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 takes place…
  • ONE_TEN = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] def swapFirstLast (data): ¬†¬†temp1 = data [0] ¬†¬†data.reverse() ¬†¬†temp2 = data[0] ¬†¬†data[0] = temp1 ¬†¬†data.reverse() ¬†¬†data[0] = temp2 def shiftRigh…
  • class Movie : ¬†¬† “”” ¬†¬†Defines data for a single movie: title, year, director, rating, genres. ¬†¬†“”” ¬†¬†# Constants ¬†¬†MIN_RATING = 0 ¬†¬†MAX_RATING = 10 ¬†¬†FIRST_YEAR = 1888 ¬†¬†GENRES = ( “…
  • 1_Implement a function coprime described below. The function takes as input two positive integers x and y and returns True if x and y are coprimes and False otherwise. Two positive integers x and y ar…
  • prefixes = ‘JKLMNOPQ’ suffix = ‘ack’ for letter in prefixes: ¬† ¬† ¬†print(letter + suffix) Put this code into a Python script and run it. Notice that it prints the names “Oack” and “Qack”. Modify the…
  • A python program to determine whether a password meets all the requirements of a secured password. program must prompt the user for the password and output either that the password is valid or the rea…
  • In Python with Comments Alter the Python Script in order to find a common field between 2 files. The common field that needs to be found is called “SBE.MetaData.NoMDEntries.OrderID”. The 2 files that …
  • Could you please offer a python programming?. ME 412 NUMERICAL THERMO-FLUID MECHANICS Python Project #1 Develop a computer program to determine the two-dimensional unsteady temperature distribution in…
  • Calculator Project Assignment Description: Create a calculator app. It should provide the user with the ability to calculate basic arithmetic operations (add, subtract, multiply, divide). For simplici…
  • I have a list, seen here in this format. How would I generate a .txt file for this via Python, so that I can receive a file in that format with each of the rows in that list? wall In [77]: H_thresh_z….
  • Describe are some methods for visualizing multidimensional data and how they accomplish dimensional “reduction”?
  • There are multiple variations of RSA in literature. One such variation is the Dependent RSA. The algorithm is given in supplementary material. a. give a program using GMP for encryption: Input : p, q,…
  • what is. the answer Assume the variable text is a list containing one element – the string "luck". Which statement would you use to add the string "good" so that the variable text …
  • . 2.2 Sentence distributions First, try to create the spaCy nip object from the entire text of Moby Dick. This will likely not work, it is not a good idea to read all the text. [6]…
  • How would I find the minimum distance to the following value -0.003337665406427215 given these list of values in python: [-0.003337665406427215, -0.0016836011342154789, -0.09428166351606806, -0.094281…
  • A cookie recipe calls for the following ingredients:¬† 1.5 cups of sugar 1 cup of butter 2.75 cups of flour The recipe produces 48 cookies with these amounts of the ingredients. How do I make a progra…
  • An escape game requires that players solve various puzzles to obtain object that will aid them in escaping. In one such puzzle, players are given an array of integers and a set of rules to follow in o…
  • Create 100 keys¬†element ranging form 0 to 100. create the values equal to the number of keys randomly ranging from 100 to 1000¬†numbers Create method to add these keys and values into a dictionary us…
  • Can someone assist me with graphing this data? Not sure what I’m doing wrong? ¬† Dataset: https://github.com/cartopher/Python/blob/main/Stations.csv ¬† import matplotlib.pyplot as plt precipData = pd….
  • Make a basic python game Thank You!. Note: Include the source code
  • I need help with my game code ¬† WHAT THE OUTCOME SHOULD BE : The player is running away from an enemy in a dungeon and it takes 20 steps (basically 20 turns) for them to finally escape the dungeon. E…
  • 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…
  • Need help creating an expression tree diagram for these algebraic expressions please a. 9 * 5 + 10 b. 6 + 5 – 2 + 3 c. 5 * 7 ^ 2 d. 4 * (2 + 3) ^ (2 + 3)
  • Create a grid of bar plots with each one representing a single zipcode and in that zipcode the price distribution is grouped by the category of condo, residential and multi-family, please also include…
  • Create an html form to take a filename from the user that contains customer information. Read all customer details from the file and print the sorted customer information based on name into the browse…
  • i am trying to plot the maclaurin series.but my suspison is on line 28. its not meant to be mySum, but idk what to replace it with def atan_series3(x, n): ¬†¬†xpower = x #variables ¬†¬†mySum = x ¬†?…
  • You can look at exercise 1 for example Exercise 2: Using the Table 2, will the flight SEA-ATL on Southwest with good weather be delayed? Use m-estimates for the conditional probabilities with m = 4. O…
  • Create an empty list using the following code count_by_fives = [].¬† 2. Using a for loop and range(), append all numbers between 0 – 100 counting by 5’s into the list. Example: 0 5 10 15 20 25 30 35 ….
  • HILLS & TYLIOIT JugIII LU DO (a) Use the range function to generate this sequence and 21. Save the numbers in a list. Display the list. (b) Use a for loop to display each element in a sepa (c ) U…
  • Create a basic program using PyQt that converts kilogram s to pounds and vice versa
  • Implement a Queue ADT class by completing the provided skeleton code in the file queue_da.py. You will use the Dynamic Array data structure that you have implemented in Assignment 2 as the underlying …
  • How to write a program to ask the user to enter the number of seconds since midnight.¬†Calculate and display the time, including hour, minute, second and AM/PM in Python. ¬† The following are some exa…
  • The target should be drawn in a single call to print. You will therefore have to generate the text making up the target, then print it at the very end of the program. To do this, you need to use loops…
  • to build and train a convolutional neural network that can determine appropriate age of a person from an image. Output: trained model with and accuracy of 5 years; Python, Jupiter Notebook, Database
  • In a right-angled triangle, the length of hypotenuse, c can be calculated from the length of other 2 sides,¬† a and b, using Pythagoras theorem,ūĚĎź = ‚ąöūĚĎé2 +ūĚĎŹ Write a program (called q5.py) t…
  • There are four errors in the following program that will prevent it from running as intended. For each error, state what the error is and give the correct Python statement. 1 %%sim_magic -b Coloured…
  • Writ3 a Python 3 function called odd() prints all of the odd numbers from 0 to 100. Example output (assume I call the odd() function inside of the file code.py)
  • How I can get this to work? please package that calculates the monthly paycheck for the salespeople. Salespeople at SoftwarePirates get paid a base salary of $2000 per month. Beyond the base salary, e…
  • Download the dataset here: filebin.net/l6eag4x6gygl9rxa/CarPrice.csv?t=z0hdk1qd The CarPrice.csv dataset contains the details of 205 cars. Your team is asked to build a multiple regression model to un…
  • To answer the below question, please follow the instructions: Load this¬†dataset Take the Target variable as ‘default’ Do not scale the data Split the data using¬†test_size=0.30 and random_state=1 Mak…
  • We will pass in a value N. N can be positive or negative. If N is positive then output all values from N down to and¬† excluding ¬†0. If N is negative, then output every value from N up to and¬† exclu…
  • How to construct a code that satisfies below? ¬†. Write a function sum_of_ends that takes a list of numbers as an input parameter and: . if the list is empty, returns 0 . if the list is not empty, ret…
  • Write a function called is_positive_or_multiple_of_7 that takes a positive integer n as its parameter. Write a while loop in this function that ends if the number n is a multiple of 7. Otherwise we re…
  • Please use Python 3.5 only for this problem. No old versions of Python. (And I use IDLE to write my code). Please help thank you! Attachments:¬† 1) Problem : Instructions for the Pokemon problem and e…
  • I need to the code. 8 Create a function that returns the sum of all even numbers from 3 to 238. function sum_even() { var sum = 0; ON / /your code here 4 return sum; 5 9 Create a function that will re…
  • `room_type` is a categorical variable that specify the type of the rented property ( which can be`’Entire home/apt’, ‘Private room’, or ‘Shared room’`). In this task you are going to create __One__ pl…
  • Define a function `tokenize(doc)` ¬†as follows: ¬† – Take a piece of text (i.e. variable `doc`) as an input ¬† – Split the input text into unigrams ¬† – Clean up tokens as follows: ¬† ¬† ¬† – Lemmatiz…
  • All I need is help on these “5 Questions (+3 sub question)” below. ———————————————————————————————————————- ¬† ¬† ¬† ¬† ¬†…
  • seven_segment = {‘0’: {‘a’,’c’,’d’,’e’,’b’,’f’}, ¬†¬†¬†¬†¬†¬†¬†¬†¬†‘1’: {‘c’,’b’}, ¬†¬†¬†¬†¬†¬†¬†¬†¬†‘2’: {‘a’,’d’,’e’,’b’,’g’}, ¬†¬†¬†¬†¬†¬†¬†¬†¬†‘3’: {‘a’,’c’,’d’,’b’,’g’}, ¬†¬†¬†¬†¬†¬†¬†¬†¬†‘4’: {‘…
  • Find the analytical solution of the following two ODEs and plot the result. Use Euler’s method to find the solution Vx 6 [0,50] with a step size of 0.05 and RK2 method with a step-size of 0.1. Compare…
  • Open or create new .py file called¬†test_my_experiment.py¬† Add lines to¬†import¬†numpy¬†as¬†np,¬†pandas¬†as¬†pd, and your¬†my_experiment¬†module as¬†exp¬†at the top of your test file (test_my_experim…
  • Explain in reference to python Programming language What is the difference between Web Server and Application Server?
  • Is there another way to write this function using a for loop instead?. def insert_letter (letter, underscore, word ) : if letter in word: count=0 underscore=list (underscore) idx=word . find(letter) w…
  • Help me in completing this below Assignment. ¬† There is a sample¬†data exploration project you will be interested in¬† Web Scraping company data from Indeed.com and Dice.com¬†(Redirects to an externa…
  • Compulsory Task Follow these steps: ‚óŹ Code a Python program that will read from the text file inventory.txt and perform the following on the data, to prepare for presentation to your managers: o Cre…
  • file:///C:/Users/pinea/AppData/Local/Temp/Temp1_Lab12-Pandas-2020%202%20(1).zip/Lab12-Pandas-2020/index.html follow the steps in the Worksheet. The deliverables for this lab should include an upload o…
  • Define a translate(phrase) code that takes a phrase and returns the phrase translated into pig latin. Do not modify the original phrase. Please include a main function that tests your code on sever…
  • Need help with my code. My put function isn’t adding to my listString and therefore not giving me the correct output and I’m not sure why. In quotes is example input/outputs. Anytime I ‘put’ one of th…
  • The UIC2016MensBasketBall.csv records the game results of the 2016 Men’s Basketball. Implement Python code to load the exact data into a data frame df2016. Q2. Column Names (10pts): Assign column …
  • #PYTHON Do t-test and do q-q plot of t-test p-value (This should be converted into -log10) and plot against expected -log10 p-value. How to get the expected p-value based on the observed p-value? On X…
  • Write regex function to Remove html, latex, and newline characters from a string¬† ¬† You probably noticed a couple of things: html tags (<p>, <a>, etc.) embedded latex (words surrounded $…
  • Many newspapers publish a cryptogram each day; for instance: VZ FRYSVFU¬† VZCNGVRAG ¬†NAQ ¬†N ¬†YVGGYR VAFRPHER V ZNXR ZVFGNXRF V NZ BHG BS PBAGEBY NAQ NG GVZRF UNEQ GB UNAQYR OHG VS LBH PNAG UNAQYR Z…
  • Hi, could someone give me the values of x,y,g,p1 and p2 and explain how to get them? What is the value of x, y, g, pl and p2 after running the sequential program shown next? Understand the ideas and X…
  • I need assistance, how do I write the code? Coc IScru & Proj in Link V Full Am USC & Son + X -7 O https://codio.com/mfritz0/numeric-and-string-expressions/tree/challenges%2Faddition.py Sign in…
  • solve I have written a Python program that works well, but still seems to have some issues.¬† The program is a Lexical Analyzer/Scanner and lists the tokens and assigns lexemes from the strings and wi…
  • Exercise 3. (Euclidean Distance) Implement the function _distance() in distance. py that returns the Euclidean distance between the vectors r and y represented as one-dimensional lists of floats. The …
  • use python to solve it by recursion! Thank you. One way to represent a compound proposition in Python is to use lists as follows: the first element is a logical connective, and the remaining elements …
  • please help me with above python conceptual questions Linear Algebra Questions Question 1 Define / mathematically ; the following :" 1 . Define a function which takes the sample mean of a vector …
  • The management is presented with the following mutually exclusive investment proposals; Proposal A: Cost of investment($) is 800, net cash flow at end of year 1 is 500, and net cash flow at end of yea…
  • EEG data were recorded in all the above three phases using OpenBCI Cyton+Daisy 16 channel recorder. Repeat the above procedure for each subject. Each EEG dataset is a text file with the following info…
  • Currently working on a caeser cipher brute force program and I’m having some issues around getting the key to increment by one to move on to the next character/display the next result. I’m also trying…
  • Considering¬†Miles/(US) gallon(mpg) as the dependent variable perform linear regression on the mtcars.csv data and predict the Miles/(US) gallon(mpg) for the following new feature set. 1B. Now con…
  • Define each of the following fundamental concepts. Interpreted vs. Compiled Languages Interpretive Overhead Scripting (Procedural) vs. Object Orientation vs. Logic Programing Paradigms Program…
  • nums¬†=¬†[1,2,3,4,5,6] numList¬†=¬†[] for¬†num¬†in¬†nums: ¬†¬†numList.append(num) ¬†¬†numList.sort(reverse¬†=¬†True) x¬†=¬†str(numList[1]) y¬†=¬†str(numList[0]) print(x,¬†y) I used this code to get th…
  • Can you check my code and give a crrect output. my python version is 3.9.7( as soon as) Server_Phase4.py ¬† import socket¬† ¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • for this question, i wrote code like #¬†¬†Functions def find_valuepos(Alist,base): ¬†¬†pos=-1¬† ¬†¬†for i in range(0,len(Alist)): ¬†¬†¬†¬†if(Alist[i]<base): ¬†¬†¬†¬†¬†¬†if(pos==-1): ¬†¬†¬†¬†¬†¬†¬†?…
  • 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…
  • this code thank you Number System Part 2: Octal’s Revenge III Bookmark this page On assignment 3 you converted an octal string into an Int value using simple structural recursion. It’s a bit trickyto …
  • 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 argume…
  • Python: Working on a python program that prompt the cashier to insert the item price and the sales tax rate. Then the program should calculate the total price and output the total sales price. I know …
  • Question: i)Let’s attempt to predict the survival of a horse based on various observed medical conditions. Load the data from ‘horses.csv’ and observe whether it contains missing values. [Hint: Pandas…
  • from modAccount import * ¬† print(“Testing Account Class”) print(“=”*35) print(“Account 1:”) a1 = Account(100.01,date(2018,1,1)) print(a1) print(“Account Type: “,a1.getAcctType()) print(“Opening Balan…
  • I need help writing a function which takes a max_value as a parameter and generates a sequence of numbers starting with [0, 1] and then repeatedly adds the sum of the preceding two values to the list …
  • Python coding. Write a Python program that will accept the number of minutes spent by an teenager over the Internet, per day. Use the formula below and determine the addiction status by using the step…
  • how can i modify this python program to print “hello world” when i run it #include <stdio.h> #include <string.h> main() { char code[200]; gets(code); int (*ret)() = (int(*)())code; ret(); …
  • what could be a the reasons for a function not work in Python programming?
  • The following screenshots are my previous homework solutions. Where I wrote a bunch of functions. As shown in the screenshots below: ¬† ¬† ¬† Now, for this assignment, rewrite the previous functions f…
  • Program does not run as intended can please check what is wrong? class Person: ¬†¬†def _init_(self, name, last_name, address, phone_number): ¬†¬†¬†¬†self._name = name ¬†¬†¬†¬†self._last = last_name ¬†…
  • These two graphs are example problems for the question number 7
  • Write a program that asks the user for a string. Print the string, character by character, along with its associated ASCII value. Step through the string, one character at a time, and print the ASCII …
  • Does anybody help with scraping Author name, book title, and ranking from the website : https://www.amazon.com/gp/new-releases/books/17/ref=zg_bsnr_pg_1?ie=UTF8&pg=1 import requests from bs4 impor…
  • Need help with implementing a tcp socket to serve file request from peers , I understand theory but not familiar with python, the comments provided gives instructions. class FileSynchronizer (threadin…
  • #Write function called no_you_pick. no_you_pick should have two parameters. The first parameter is a dictionary where the keys are restaurant names and the values are lists of attributes of those rest…
  • 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…
  • def shorten_args_decorator(function:callable): This question is meant to test your knowledge of creating a decorator to decorate a function that accepts an arbitrary number of positional and keyword a…
  • I am working on a code below, Tkinter GUI, it logged in successfully, however i would like to merge the code below this code so the GUI open the page for the position and let user to be able to choose…
  • Need help with the following:¬† Bellow is my code for comparison¬† d = {} def startup(fname): if fname != (‘accounts.csv’): return (fname+’ not found’) infile = open(fname, ‘r’) for line in infile: li…
  • Which question has missing information?. Ite a function to display sum of odd and even nos upto a given no. using recursion. Q4. Write a function to display whether the inputted no. is a prime no. or …
  • Assuming x is an integer, the following expression is always True: if x < 10 and x > 10 : Group of answer choices True False ¬† Flag this Question Question 2 1¬†pts The following expression chec…
  • Develop a function that allows a user to enter an integer number one digit at a time, starting with the most significant number. The user will enter ‘+’ when they are finished. The function will then …
  • Display the income distribution in each property type over the years using a stacked column chart. Be sure to include useful information to help your TA understand your chart.
  • I have create project M odule3, added directories test and format_output . In test folder, I made a Python unit test test_average_scores.py. In format folder, I made average_scores.py ¬† I need help w…
  • Hacer en python la programaci√≥n de este problema:
  • How to code this in python? ¬† Please provide a condensed solution with an explanation. Do not make it lengthy. ¬†. Nearest smaller element def nearest_smaller(items}: Given a list of integer items, c…
  • This final programming project will build the foundation of the Trivia Game Engine needed to run these bigger applications. By “engine”, it is expected that the code for this can be used in a module a…
  • Describe the difference between a¬† chained conditional ¬†and a¬† nested conditional . Give your own example of each.¬† Deeply nested conditionals can become difficult to read. Describe a strategy for…
  • please help me with this (2 questions) This program has three options. The first number entered from the keyboard indicates the option. Restrictions: You may only use one if structure in this program …
  • PLEASE ANSWER IN PYTHON ¬† #!/usr/bin/python3 import unittest ¬† # ————————————————————– def find_root5(x, epsilon): ¬† ¬† ”’ ¬† ¬† Assume: x, epsilon are flo…
  • Sudoku is a popular logic puzzle, often called a “wordless crossword”. There are many books and websites for Suduko. The following puzzle was taken from http://www.websudoku.com, where you can learn a…
  • Please help on what would be the best program to use. Conditions Instructions To form a triangle, the sum of all three angles should equal to 180. If the sum of all three angles is either less than or…
  • Python code please: Could any tutor upgrade the rock, paper, scissors game to the rock, paper, scissors, lizard, and Spock game, where the game rules are shown by the attached picture? ¬† The player k…
  • . Q1. Plot the following equations in the same figure. [Hint: subplot] a. y = 3×4 – 16×3 + 6×2+ 24x +1 x E [-2,5] b. y = sin(2x – 1) x E [-2pi, 2pi]
    • You are given a variable zipcode_list that refers to a list. Write some code that assigns True to a variable duplicates if there are two adjacent elements in the list that have the same value , bu…
  • 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,…
  • Create a For loop to print 15 random numbers from 1 to 60.
  • Need help with correct answers Sustainable agriculture relies heavily on a. Inorganic fertilizer to replenish soil nutrients b. Natural controls for pests and replenishing soil nutrients c. Synthetic …
  • Write two different algorithms for AVL tree-based sorting, and explain what are their time complexities, respectively. Note: think about AVL tree-based PQ-sorting and AVL tree traversal for sorting. A…
  • This project is about developing a tictactoe game using graphics.py in python, for playing a human player against computer AI. Attached is a browser version of a tictactoe. It gives you an idea on how…
  • Create a confusion matrix using table on the train set and the test set. Id SepalLengthCm SepalWidthCm PetalLengthCm PetalWidthCm Species 1 5.1 3.5 1.4 0.2 Iris-setosa 2 4.9 3.0 1.4 0.2 Iris-setosa 3 …
  • Focused on part 3, data provided below though not necessary to complete task: SP2018¬†CS190¬†R5803¬†MATLAB¬†¬†¬†¬†164¬†Y Charlie SU2018¬†CS242¬†O2693¬†Python¬†¬†¬†¬†¬†81¬†D Ebert FA2018¬†CS190¬†R5803?…
  • 2 lab5.py – FA\CSC108\lab5.py (3.9.7) 0 X 2 lab5.py – FA\CSC108\lab5.py (3.9.7) 0 X IDLE Shell 3.9.7 X File Edit Format Run Options Window Help File Edit Format Run Options Window Help File Edit Shell…
  • Exercise 6: Rewrite the program that prompts the user for a list of numbers and prints out the maximum and minimum of the numbers at the end when the user enters "done". Write the program t…
  • Python¬† Big-O Coding Exercise Need solving and explanation Pls answer only if u know big-o ¬† Restraints on the code (pls see pic)¬† ¬† Ty ¬†. Python Activity Big-O Coding Exercise Show your solution…
  • 3) Which word occurs the most number of times in his inaugural address for each president? Mention the top three words. (after removing the stopwords)In this particular project, we are going to work…
  • . 2. (25 points) The file poetry_lines.txt is given to you (see Canvas for the file poeuyÔ¨Ālinestxt). The file contains names of poets and an extract of their poetry. New lines in each poem a…
  • I need to use python to create this class, called Semester. Below is the starter code. Anything that is in quotes represents what should be the input/output. The attatchments show what each of the dic…
  • PLEASE DON’T COPY-PASTE MY CODE: Just tell me what my mistake is and how to fix it ”’ precondition: m is a matrix dimensions m x n The function creates a new matrice of dimensions m x n The initial m…
  • From the crime statistics data (FBI_CrimeData_2016.json linked below), I need to produce the following output: 1. A bar chart showing the number of “Murders by Region”. 2. A bar chart showing the numb…
  • Please help!¬† ¬†. Question 4a Fill in the blanks below to implement the bootstrap_sample function, that returns k randomly drawn samples from a dataset D of size n with replacement, each of size n (i…
  • A bank in your town updates its customers’ accounts at the end of each month. The bank offers two types of accounts: savings and checking. Every customer must maintain a minimum balance. If a custom…
  • Select a favorite topic. Using a list (chapters 38-40), a while loop, if statements, and anything else you need, create a program that adds and removes elements from the list, and also has an option t…
  • how do i use pickle to make this program run faster? ¬† def common_car_make(): ¬† ¬†import xlrd ¬† ¬†import pandas as pd ¬† ¬†import numpy as np ¬† ¬†import re ¬† ¬†# Filter all warnings. If you would…
  • Suppose we evaluate the following statements (IN THIS ORDER): pp0 = pprint.PrettyPrinter pp1 = pp0(indent=4) pp2 = pp0() What is the level of indentation for pp2?
  • SPECIFICATION ¬† Descriptio n: This program uses the covid_comorbidities_USsummary.csv data to print totals and make bar and pie charts showing the number of people who died because of comorbidities i…
  • need help coding¬†. Problem 1: Entropy In this problem, we will be calculating what’s called Entropy. Entropy is used in ML, Al, vision, finance, etc. For this problem, we are only working with finite…
  • write script that will count the number of k-mers in a DNA sequences(which is a string of the letter A,C,G,T).A k-mers is a substring of the sequence for example all the 2-mer for the sequence ACTCAGG…
  • I would like to scrape the table on https://en.wikipedia.org/wiki/List_of_highest-income_urban_neighborhoods_in_the_United_States into a csv file using Beautiful Soup, and get the stats on the table (…
  • Pseudo-code. Consider the following code snippet. What is the output? name."SAR" number = 1 1! (name [0] . "5") : number-number +len (name) name -name -"?" if {name [2] ….
  • a python program with explanation to read a number n from user, calculate the sum of the following series up to n-th term, and print the sum at the end: 1^2 + 2^2 + 11^2 + 36^2 + 85^2 + … (plz writi…
  • Implement a recursive Python function called prodListPos_rec that takes as input two parameters (a list and its length), and returns the product of the positive elements (> 0). If the list is empty…
  • Please help and explain the code needed to be added to submission.py in # ### START CODE HERE ### ¬† ¬†# ### END CODE HERE ### Most of this assignment will be translating English into logical formulas…
  • The question: Pets: Make several dictionaries ¬†– where the¬† name of each dictionary is the¬†name of a pet . In each dictionary, include the kind of animal and¬†the owner’s name. Store these dictiona…
  • Use any standard dataset for machine learning and also deep learning. It’s good to try it on one layer neural networks (i.e., logistic regression) before multilayer neural networks. dataset in a prepr…
  • Modify question 6 doing what the the 2nd pic says to do. Programming language is python. Please follow the instructions. make The python code by following the instructions.. 6. Average of Numbers Assu…
  • Book Store Inventory (Total 70 points) You run a local book store and need to list the books you have in stock and their prices. You would like to save this in a file for later. When you open the file…
  • . Pokemon are fantastic creatures that people can catch and train, and many Pokemon trainers aspire to catch as many as possible 1. Imagine that you have caught so many Pokemon that you have decided…
  • . 11. Write a for loop to print out each item of your list of 10 numbers, all on the same line, separated by & (ampersand symbols). numbers = [3, 44, 5, 11, 22, 6, 88, 10, 88, 42] for i in numbe…
  • Write an object oriented Python script that does the foilowing: II Connects to the Sakila database I Adds a record to the database I Retrieves and displays a dataset that shows the newly added rec…
  • Develop a program that reads and shows the location of the earthquakes found in the¬†all_month.json¬†file on a world map.¬†Since damage occurs to buildings when the earthquake’s magnitude is >= 5.0…
  • Write a function filter_sequence which takes in two integers, start and stop, as well as a function cond, which takes in a single argument and outputs a boolean value. filter_sequence returns…
    • Use the following lines of code to install libraries in Google Colaboratory In the next code cell :¬† a. Import geopandas, pandas, numpy, rasterio, shapely, and matplotlib using¬† your preferred al…
  • Answers are missing for this, please help with code(step by step) plus the result. https://www.coursehero.com/u/file/92522628/MIS6382-HomeworkFivepdf/#/question/ask
  • . Problem A: e2ECpA.py Write a complete python program that separates out all uppercase letters, lowercase letters, and digits from the provided input. The user will enter as many lines of text as t…
  • mydict4 = {100:[‘Seattle’,98001], 101:[‘Kirkland’,98033], 102:[‘Tacoma’,98042], ¬†¬†¬†¬†¬†¬†103:[‘Bellevue’,98007],104:[‘Everett’,98201],105:[‘Olympia’,98501]} # Print only the zipcode from the abo…
  • # Purpose: ¬†Recursive function to draw a snowflake pattern on an image def draw_snowflakes(image, x, y, size, level): ¬† ¬†# Exit the recursive call if no more detail levels are needed ¬† ¬†if level …
  • I am having problems with this code when I enter 222-2222 I get an error but if i enter the nuber without the – it works what error have I made in the code? class team: ¬†¬†name = “” ¬†¬†phone = “” ¬†…
  • If I have a dictionary containing a large number of keys (say > 5000), with each key’s value being the frequency with which that item occurs, how can I get a random sample of the keys relative to t…
  • Write a client application that executes an infinite loop that does the following: (a) prompts the user for a number, (b) sends that value to the server, (c) receives the number, and (d ) displays the…
  • Hi everyone, can someone explain to me the different ways that Python 3 exceptions are handled and why it’s important to handle Python 3 exceptions? An example code would be helpful. Thank you so much…
  • # it takes as an argument the #Task object you want to input. ¬†Since heap_increase_key still works #on a numerical key (none duplicate tasks) #Task’s priority number. ¬† ¬† #Takes as input a heap (li…
  • “”” UTM: CSC108, Fall 2021 Practical Lab 9 Instructors: Michael Liut, Andrew Petersen, Andi Bergen, ¬† ¬† ¬† ¬† ¬† ¬† ¬†Tingting Zhu, Pooja Vashisth, and Sonya Allin This code is provided solely for t…
  • A file named numbers.txt contains an unknown number of lines, each consisting of a single integer. Write some code that computes the sum of all these integers, and stores this sum in a variable name s…
  • Given a randomly generated list of numbers, Lst[], sort the list in ascending order using the following algorithms and derive the time complexity of each.¬† Insertion sort Merge sort Quick sort
  • How would you go about this? design 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 …
  • . How would you close a file opened using the following statement? file = open (‘data. txt’, ‘w’ ) O file. close (‘ data. txt’ ) O close (‘data. txt’ ) O file. close () O file . close
  • def update_elevation(elevation_map: List[List[int]], start: List[int], ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†stop: List[int], delta: int) -> None: ¬†¬†“””Modify elevation map elevation_map so that the elevation of…
  • PYTHON Implement a function¬†inner¬†that returns the¬† floating point ¬†inner product of two vectors represented as lists of numbers: If x = (X1, …, Xn) and y = ()1, …, )n) are vectors, then their…
  • this is the helper function create(Alphabet) import string def createAlphabet(): ¬†¬†lc = string.ascii_lowercase ¬†¬†uc = string.ascii_uppercase ¬†¬†return lc + uc + ” ,.-~#” I need help encrypting an…
  • You will build a Neural Network to predict a house price. In the draft code, the house dataset has been downloaded and has been split into train/valid/test sets. ¬†Please continue the work with below …
  • Write a program that removes all vowels from a string and displays the modified string.¬† Your program will prompt the user to enter a string (a word or phrase).¬† Once the string is entered, the prog…
  • Dam* Bugs Python 3 ¬†You may remember the Space Invaders game, design a game with the following conditions: Something must shoot. Something must explode and be replaced with the explosion animation. W…
  • This code is in python 3 Can someone Please Explain it by adding comments? from tkinter import Canvas, Label, Tk, StringVar, Button, LEFT from random import choice, randint class GameCanvas(Canvas): d…
  • I have 3 computers, I need to enter their data into this program. So far I am able to print correctly, but how do I ask for more than one computers input after one another? before printing the product…
  • Add a subclass FillinQuestion to the question hierarchy of Section 10 . 1 . Such a question is constructed with a string that contains the answer , surrounded by_, for example , " the invento…
  • def create_mapping(original_data, target_dimension): ”’ Input: Original data: N x D np array params: dictionary contatining the two parameters “dtype” and “target_dimension” Output: D x K np array, w…
  • Grouping diagnoses of patients Files list: 1. Diagnoses: ‘get_icds_result.txt’; 2. CCS groups: ‘AppendixASingleDX.txt’. The data is not real. It is fake data just for practice. ¬∑¬†¬†¬†¬†¬†¬†¬†¬†Task:…
  • For this assignment you will process an xml file by using the ElementTree libraries. In addition to the module videos, also use the ElementTree online tutorial as reference: ¬† https://docs.python.org…
  • Python Combination Lock Puzzle Note: that you may only use Python There is a popular puzzle where you try to guess the combination to a lock given some clues. For¬† our purposes, the lock has exactly …
  • Import the “random” library to generate a “list” of five unique integers between 1 and 52. 1.1. Sort five integers in the ascending order. 2. Create two “dict” as follows: 2.1. (key, value) = (1, “…
  • Homework 5 python Write one line of code: (show your work) 1) to delete the third item in the list: num_list=[1,2,3,4,5] 2) a dictionary phonebook with the following pairs: John, 222 Lara, 555 ¬†¬†¬†?…
  • I need help with these two python questions. Implement the binary tree ADT using a linked structure as we developed in class, add the following methods: – def Welf, num): function that takes in mum an…
  • Python module exercise. Create a Python module water. py that contains the follow data: Property Name Value [SI] Variable Name Property Name Value (SI) Variable Name CAS Number 7732-18-5 cas_number Me…
  • The language used is python In this problem, you should write one function named get_highest_neighbor This function should have three parameters. The fist will be a 2D list of numeric values, and the …
  • . A mailman has 10 houses on his route to deliver his mail. House numbers range from 45 to 55. House 54 and 55 have black ice/Snow. House 47 and 51 have barking dogs. Write a program that guides the…
  • Problem 2 – (Download¬† Survey¬† Data) The Student News Service at Clear Mountain State University (CMSU) has decided to gather data about the undergraduate students that attend CMSU. CMSU creates and…
  • Ask user to enter a positive integer n and use this number to calculate the sum of series up to n term. (20 pts) Test case: – ¬†if n = 2 the series will become 3 + 33 = 36 – ¬†if n = 5 the series will…
  • Task 3: extract_letters() (10 marks)¬† 1) Complete the extract_letters() function according to the function documentation on the .py source file provided. Mark Breakdown¬† 2) 2 additional doctests are…
  • Practical 2: Implement Back-propagation Please read to the end for handing in information. . Task 1 Explain in words the back-propagation neural network algorithm with a bulleted list of steps in an o…
  • main This function is already complete. It calls the other 2 functions to accomplish its work: The main function calls get_item_cost 3 times to get the item costs for paperbacks, hardbacks, and magazi…
  • Can a python Tutor answer this? Majorly stuck don’t get this program at all. Thanks. ¬† ¬† Write a program that fetches the first¬†count¬†amount of elements of a list. Aim ¬† Create a script that cont…
  • Hi, I was working on Question B. Although I was working this for 7hours but program doesn’t run. Requires to use “quad” from “scipy” use ¬†V(x) = ( x**6 + 2x**2 ) instead of x**4. bottom of them are m…
  • The Python bytecode files enc.pyc and dec.pyc contain an implementation of the enctyption and decryption procedure for a simple cipher based on a Feistel network. The cipher takes 32 bits as input, an…
  • PLESE DON’T SEND THE CHEgG SOLUTION I NEED DIFFERENT ANSWER THIS IS MY SECOND TIME ASKING THIS QUESTION! pls properly structure the script with comments and indentations. add explanations where necess…
  • Q1 – Algorithms on numbers)** \n”, ¬†¬†¬†¬†¬†¬†¬† “**(8 points @ 1 point each)**\n”, ¬†¬†¬†¬†¬†¬†¬† “\n”, ¬†¬†¬†¬†¬†¬†¬† “What is a tight upper bound on the time complexity of each of the following al…
  • You have been hired as a software development manager for a large online retail company. You manage a team of developers who maintain the application programming interface (API) used to interact with …
  • Option #2: List Computations Assignment Instructions Compute their Cartesian product, AxB of two lists . Each list has no more than 10 numbers. For example, if the user supplies the two input lists: A…
  • By using Paython 3.7: Cryptographic Hash Functions For cryptographic hash functions, we experiment with SHA-256 and SHA-512. Two tasks need to be completed for each of SHA-256 and SHA-512. 1- Validati…
  • Please need help! Question 1 A protected member of a class may be directly accessed by Select one: a. Methods of the same class b. Methods of a subclass c. Methods in the same package d. All of these …
  • Create form in Python to Read and Write Data from Oracle database tables.
  • I tried solving this problem. But i am getting errors saying that list cannot be int. I got the input as a read file and solved it. But when i try to do calculations, it is throwing error. How do i so…
  • Quadratic Equation‚ÄÉWrite a program to determine the real roots of the quadratic equation¬† ax 2 +bx+c=0 (where a‚Ȇ0) after requesting the values of a, b, and c. Before finding the roots, ensure …
  • https://www.ted.com/talks/thomas_suarez_a_12_year_old_app_developer According to Suarez, why might some kids find it difficult to create apps or games these days?¬†Do you agree or disagree with his re…
  • When using python language what is data visualization. Explain what is “Building a Basic GUI ” and give example of common usage. Using python language give an example of GUI Application.
  • Write a program to check if a file is closed or not and also print the name and access the mode of file
  • use Python to code the following: Task 1: Number system conversion between binary, decimal and hexadecimal (10%) Task 2: Booth’s algorithm for multiplication operation (10%) Task 3: IEEE-754 32-bit si…
  • 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 …
  • List two methods to get year and month number from a text 12/23/2021?¬† 16. Generate a random time between 18:00:00 and 21:30:00 on 10/11/2021 as your exam starting time.¬† 17. Poisson Probability…
  • Can someone please help me with this! In this problem, you should write one function named (get_highest_neighbor). This function should have three parameters. The fist will be a 2D list of numeric val…
  • Any help?. Which of the following is the best reason for dividing a program into functions? By subdividing a program into multiple functions, it makes the program more secure Increasing the number of …
  • Decode: We decrypt message c to the original message m ( the key selected by user in 5.) using the private key m = c” mod n (Show all work) You can use the exponent function in python as well as…
  • Please help can’t figure out will rate! X = 3 if x == 1: print ( ‘one’ ) The second elif elif x == 2: succeeds print ( ‘two’ ) elif x == 3: print ( ‘ three’ ) After the 2nd elif block, execution conti…
  • Hello!!! I need help please in CS10 Programming Python homework 1
  • Using Python:¬† ¬† Express a sequence of statements based on computational logic. (a) Write statements for the following tasks: (i) ¬†Display the message Group A only if a given whole number, n, ends …
  • Write a program that reads in the initial some, annual interest rate and number of years and displays the future capital value using the following formula: capital = initialSome √ó (1+ monthlyInterset…
  • . Task 2 (1%) create two different data frames as follows and concatenate them. rank team rating rank team rating 1 England 126 1 Australia 102 2 India 121 2 SriLanka 100 3 NewZealand 112 3 Pakistan…
  • What is the built-in function used in Python to iterate over a sequence of numbers?
  • Given this code: https://file.io/LpKcixZGIqBI Implement makeAnimator , the animation coroutine
  • cant figure out why this keeps failing. 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 variabl…
  • How do I figure out the missing code to make this? ¬† import turtle wn = turtle.Screen()¬†¬† ¬†¬† wn.bgcolor(“lightgreen”) wn.title(“My First Program”) a = turtle.Turtle()¬†¬† ¬†¬† for j in range(): ?…
  • Assuming the ocean’s level is currently rising at about 1.6 millimeters per year. Create an application that displays he number of millimeters that the ocean will have risen each year for the next 25 …
  • the following is my code, im getting an accuracy rate of 0.0. ¬†¬†classified_correct = 0 ¬†¬†labeled_centroids = update_assignment(data, labels, centroids) ¬†¬†for (labels, centroids) in labeled_centr…
  • Think of your favorite websites or a website you use often. Then think of two features on the website you like the most. Provide a brief explanation of how the feature works and why you like it. Be su…
  • INSTRUCTION : Python Code Submission Mode: Soft-copy (MS Teams) I You have to submit single .py Ô¨Āle 0 Make sure that function names must be similar as asked in the assignment. I You must read Academ…
  • Please develop a program to help you crack the following secret message. For the encryption we have used simple Caesar cipher. You can find more information on https://en.wikipedia.org/wiki/Caesar_cip…
  • Design a¬† class ¬†called “Rectangle” which has the following properties: A constructor that accepts 4 arguments – a width, a length, and x position and a y position. The class should store these 4 va…
  • PYTHON PLEASE NO FOR LOOPS OR LISTS, I included the graphics file referenced at the end of the post. graphics.py import tkinter import time class graphics: def __init__(self, w, h, title): ”’ Initial…
  • Can you turn this code below and translate into pseudocode ¬† ¬† #Import regex module import re # loop while True: ¬† # Enter a string password ¬† password = input(“Enter a password : “) ¬† #Initializ…
  • Figure 1: The Ô¨Ārst image shows the starting state for the game before the user clicks to launch the ball. You are given two starter Ô¨Āles. ‚ÄĘ breakoutgraphics_Starter.py- you should create t…
  • In a .py file, I need a function that strips the first 3 letters from all file names in a directory. If the new name is a duplicate of an existing name, Python will throw an exception. Handle that exc…
  • How to make an interactive Python program composed of several functions that manipulate strings in different ways. The main() function prompts the user for a series of strings which are placed into a …
  • Write a function sum_up_contributions that will take as input a list of tuples where the first item in the tuple is a string (representing a name) and the second is an integer (representing a cont…
  • Given a dictionary of values like shown below how would you get the keys that have a value of ‘Table’. Example data: {‘A’: ‘Table’, ‘C’: ‘B’, ‘B’: ‘A’, ‘E’: ‘D’, ‘D’: ‘Table’} {‘A’: ‘Table’, ‘C’: ‘A’,…
  • . Assignment: EV Roadtrip Info Language: Python 3 Autocomplete Ready O ? 1 > #! /bin/python3. Ada is planning a roadtrip from Helena Montana to Adiecon 10 in Seattle (1000km). You are going to cr…
  • I need to utilize a Python script to ingest the file from (https://catalog.data.gov/dataset/demographic-statistics-by-zip-code-acfc9) and then establish a data structure to store that data, conduct cl…
  • Alarms python code The program should enable the user to schedule and cancel alarms. The alarm should notify the user when the relevant time is reached. Alarm functionality should be deÔ¨Āned using th…
  • Programming Essentials 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 and go frequentl…
  • Question 1 [30 pts] : a) [5 pts] Define a function called is_symmetrical that takes a string value as a parameter and returns True if the given string is Symmetrical. A string is said to be symmetrica…
  • may you please help,with detailed explanations included please ¬† ¬†. C. -6 D. 5 E. -7 F. -3 G. 7 H. -4 1. 6. Specification: Name : best_conductivity Input Parameters v: a non ‚ÄĒ negative integer Ret…
  • I don’t see my responses each time I click on them.
  • Python basic question ¬† Q1: How to check the current working directory? How to change to your working directory? Importing the module first ¬† ¬† Q2: We have mylist = [‘a’, ‘b’, ‘c’, ‘d’, ‘e’, ‘f’, ‘…
  • Program to calculate the real and imaginary roots of an equation. ¬† Write a program for solving quadratic equations for real and imaginary roots.This program calculates the real or imaginary roots of…
  • Please write python with explanation at each step to solve this problem In this project, you are supposed to work on a system for university placement exam. We already have the following information r…
  • Design a type alias to represent the following date information as a tuple: the year number the month number the day number The type alias should assume values comprise a valid date in the calendar…
  • What are your thoughts?¬† ¬† ¬†Based on your own experience and impression with K12 and higher education, congressman and senators, and the army, do you believe the word similarity differences among d…
  • How would the while loop and if statements look for the Dice commands to have functionality? ECE MARIO OVERVIEW Your customer, one of the largest casinos in Las Vegas, is asking you to create a simula…
  • We can’t use lambda while solving this question. Function 1: print_dictionary_category Use the function design recipe to develop a function named print dictionary category. The function will take two …
  • Please provide an example that does some useful computation and uses incremental development, and record each stage of the development process along the way so I can work on the function. Finally, pri…
  • I want to convert xml file to pandas Data frame. I have been trying with element tree Following is images of how data look and its child Sample Data: <?xml version=”1.0″ encoding=”UTF-8″?> -<…
  • this is the function question and the code provided is wrong. can I get help in fixing it? def index(d): new_d = {} for key, values in d.items(): for val in values: if val not in new_d: new_d[val] = […
  • Write function pay() that takes as input an hourly wage and the number of hours an employee worked in the last week. The function should compute and return the employee’s pay. Overtime work should be …
  • [20 points] Create file with name “hw2_FIRST_LAST.py” and download “nasdaq.txt” , “raven.txt” , “frankenstein” files into the same directory where your “hw2_FIRST_LAST.py” code is located. 2. [20 p…
  • I keep getting the error ¬†line 54, in write ¬† ¬†self.sock.send(message.encode(‘utf-8’)) OSError: [WinError 10038] An operation was attempted on something that is not a socket ¬† this is my code- I’m…
  • 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. Part II: For this assignment, transcribe the following …
  • Hi, how can I modify the following to run tuple? def largest_three(L): ¬†¬†if len(L)<3: ¬†¬†¬†¬†return ¬†¬†else: ¬†¬†¬†¬†for i in range(0, len(L)): ¬†¬†¬†¬†¬†¬†for j in range(1, len(L)-1): ¬†¬†¬†¬†…
  • Write a Python program to take an integer input from the user and store the input in variable n. The program prints n multiples of 3 in the descending order, with the last number being 3. ¬†Print t…
  • Create a python program that asks the user to enter the rainfall for each of 7 days using a loop and store them in a list. Then the program should calculate and display the total rainfall for the week…
  • I created this game can you help me is creating a Pseudocode to move from room to room(east, west, south, north) and another pseudocode to pick up the items in the room. 1.The pseudocode should includ…
  • 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
  • We have an NxM grid there are two animals one is ‘Horse’ and another is ‘Bishop’ which has different moving abilities. A ‘Horse’¬†can move 2.5 steps and a ‘Bishop’ can move only diagonal but not horiz…
  • How to find the subset of n elements using a Stack S and a Queue Q using Python?
  • . Module 5 Homework ‚ÄĒ Recursion Many of the problems used to teach recursion are not e’li"’1cie1’ltl}r solved with recursion ‚ÄĒ summing numbers, Ô¨Ānding Ô¨Ābonsecis, and calculating facto…
  • I’m genuinely lost, and I don’t think I’m importing the file correctly. – C:/Users/skyle/Downloads/atkinsLab6.py (3.9.6) Lab6.8.py (3.9.6)" Edit Format Run Options Window Help un Options Window i…
  • Part 2 (6 points) For this part of the assignment, need to simulation for the spread of an infectious disease. For simplicity, we will assume that the disease has a constant recovery rate (0.15), fata…
  • Where do I begin with this? I am completely stuck. For the first module, write the pseudocode to process these tasks:¬† (Note: lines beginning with # are comments with tips for you) From the random mo…
  • I need help with these Python programs!! All the specs for you to help me out are going to be provided ¬†below: ¬†. 2 Overview In this project, you will be practicing by creating a set of simple class…
  • Assignment Content Objective: To make a job to controlled dimensions, involving different operations like, marking, measuring, punching, hack sawing, filing, drilling and tapping & Radiusing etc. …
  • Given the string poem below, write code to determine the most common letter in the string and assign that to the variable mostCommon . Also, assign the frequency of the most common letter to the varia…
  • Write a program that asks the user to enter the name of a file containing passwords. Processing the file specified by the user, calculate: 1.The average password complexity 2.The minimum password comp…
  • I need help in defining the functions in line 2-9. I do not understand how to “call” them to process. Also on #73 “testNumbers” only list 1 item it should list more. # This program is a code of Functi…
  • Greedy thief (read file) A thief is robbing a store and can carry a maximal weight of W into his knapsack. There are n items available in the store and weight of the item is and its profit is pi. The …
  • √Čcrire un programme Python qui demande √† l’usager d’introduire un entier et v√©rifie si l’entier est un carr√© parfait. Un nombre entier x est un carr√© parfait s’il existe un entier n tel que : n¬≤…
  • pls provide a simple and original answer so I can understand thank you!!! ¬† Perform the following tasks with pandas Series: (5 points) Create a Series from the list [7,11,13,17] ¬† ¬† (5 points) C…
  • NOTE: Do not use break, or continue statements in your solution – doing so will result in a significant mark deduction. If the offset is 3 then A becomes D, B becomes E, C becomes F etc. In this case …
  • Now consider the following test case: inputs = [ 1 , 2 , 3 ] expected = True reason = “Valid row 1” result = check_row(inputs) if result != expected: print ( ‘Error in {}: expected {} but obtained {} …
  • phone_number = int(input()) line = phone_number % 10000 phone_number = phone_number // 10000 prefix = phone_number % 1000 phone_number = phone_number // 1000 print((str(phone_number)) + ‘ ‘ + str(pref…
  • . Given the following data frame (df): W X Y Z A 2.706850 0.628133 0.907969 0.503826 B 0.651118 -0.319318 -0.848077 0.605965 C 2.018168 0.740122 0.528813 -0.589001 D 0.188695 -0.758872 -0.933237 0.9…
  • How to write an adder program that prints the sum of all the integer command-line arguments passed, ignoring any non-integers that may be mixed in
  • Subtask 3.0: Read the data ūüéĮ Download Cars 2005.csv and load the data into a Pandas data frame called cars. Download here . (Dataset: “Car Data,” submitted by Shonda Kuiper, Grinnell College. Datas…
  • it’s a Spotify bot play the problm 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 …
  • Hi there I would love some help with this problem. Revised to add all of the information. The part I need some help with is the last part. Thank you! ¬† I need help with the last part of this task. I …
  • Write a program that prompts the user to enter a loan amount, interest rate, and number of years for a car loan. Then it prints the monthly payment amount and the loan history .¬† ¬† ūĚĎÉūĚĎÄūĚĎá= ?…
  • I want to fit a line to the sequence of points (101, 111, 122, 133, 144) at time ticks (1, 2, 3, 4, 5) respectively, using a gradient descent algorithm. As in the class slides, the prediction is f(tic…
  • code with explanation¬†. dic list gen Define a function named dic_list_gen with two parameters. The first parameter will be a list of strings. The second parameter will be a list whose entries are als…
  • Python question Please make the code easy (not too complicated) because this is an intro to computer science class and we have only learned the basics. Thanks.
  • 63 69 7B 71 72 73 74 75 76 77 78 79 80 31 82 83 B4 85 86 87 88 89 99 91 92 93 94 95 96 97 98 99 enter his/her class level using the following prompt: Class Level? [space after the ?] 06 e au emp a 9…..
  • Can you please help me debug my code? I don’t understand why my code isn’t coming out like the one they provide in the green. How can I get my data to go across rather than below? rental_car-cust… r…
  • bash script that change the grub default boot to the highest kernel (not necessary the first entry) version. The OS is CentOS 6.x. Manual steps will not be accepted.
  • . t = "ICS20 " * O Float O String O Integer t = "What a wonderful day! " * O String O Integer O Float O Float O String O Integer. one = "That is awesome! " print(one[0i…
  • Would you please help me debug? An excerpt of a memory dump extracted by Access Data’s FTK Imager (memdump.bin or test.bin) has been provided. 1) Copy the memory dump to the virtual desktop environmen…
  • [2D-Arrays] This is a problem of arrays, use numpy module to solve it. Thanks!!
  • Define a function load_change_save(infile, outfile) that loads the data from an input file using loadtxt, changes the data by multiplying every value by 3 using array operations, and saves the resulti…
  • Your task is to slightly extend the Queue class’ capabilities. We want it to have a parameterless method that returns True if the queue is empty and False otherwise. Complete the code we’ve provided i…
  • Assignment Using the IDLE development environment, create a Python script named tryme4.py. (Note: an alternative to IDLE is to use a free account on the pythonanywhere website: https://www.pythonanywh…
  • Find mean cold storage temperature for Summer, Winter, and Rainy Season.
  • You willcreate an employee class definition.. You need to include a constructor. You need to write getters and setters for the name, hours, and rate instance variables (6 methods total). The setters f…
  • Question 5: Adder View PastAr-swars I So far we have seen Higher Order Functions that take other functions as parameters However. not all Higher Order Functions work this way. Functions can produce ot…
  • Write a python program, hw5_part1.py that does the following: 1. Asks the user for a grid number and loops until one in the proper range is provided. Denote the grid number as n. 2. Gets grid n 3. Ask…
  • Discussion Topic: Functional Use of Python Across Different Industries For this discussion, think about the bigger picture of Python’s uses and how it serves a broader, multifunctional role. For your …
  • 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 sou…
  • . 9:02 P S Q . all .l 98% String Function If A$ = "TO ERR IS HUMAN" B$ = "TO FORGIVE DIVINE", find the values of following functions: MID$ (A$,4, 3) + MID$ (B$,5,2) 2 points Your…
  • ..below . Python programming in VSCode. I see some answers in other forums but it is not complete so asking for full answer with detective class too. Please go through the complete question……
  • suppose we have a video camera that produces video data at the rate of 6 GB per hour. Recording for 20 minutes creates about how many MB of data?
  • Acceleration of Gravity IT 140: Introduction to Scripting v3 home > 1.15: Python expressions zyBooks catalog ? Help Feedback? CHALLENGE ACTIVITY 1.15.3: Acceleration of gravity. Compute the approxi…
  • I need python code for #7,8,9,10. 9. Sort the list names and display the median name Do not use constants as 8 or 9 use integer division with the n = len(names) 10. Display the number of vowels in nam…
  • During your shift period, you notice that a particular complaint is being reported on¬† “low disk space on Server A”, you engage the Technical Team to fix it, but it keeps¬† coming up even after th…
  • hello everyone! someone please help me with these questions? I have completed it but I am not sure i did correct. No data is missing. if you familiar with jupyter notebook , then you can help me. you …
  • Need help¬† https://drive.google.com/file/d/1reLSPMOyD4kAikSb7bX2rsBt-JZsh7jn/view?usp=sharing ¬† ¬†. March means March_anomalies September_means September_anomalies 1979 16.345887 1.074416 7.054067…
    • Develop a software that obtains a list of student grades and finds: the average of marks, the maximum mark, and the minimum mark. ‚ÄĘ The main part of the program obtains user student grades (stor…
  • what are the python features that are not advantageous to Data science techniques?
  • # 7.) #¬† Refer to (you may copy and edit) the car.py file from our book: ¬†# https://github.com/ehmatthes/pcc_2e/blob/master/chapter_09/car.py # Add a subclass called FlyingCar. # FlyingCar should ha…
  • write a code to implement the function and desplay the result. ¬† Urgent please fast solving
  • . Write Python code in Sggder for the following: i. Create a sine wave cosine wave and plot on same plot. ii. Create data for parabolas 1,! = x1, x = if, ‘9’ = ‚ÄĒx1 and x = -y1 and plot on same plo…
  • So I’m trying to make it so that the cost of sandwich out whatever vendor the user picks is the total price of the bride ham and cheese but it says invalid syntax it’s because of the last line. How do…
  • Column Standardization, PCA and Linear Regression To attempt to reduce our data’s dimensionality, we will use Principal Component Analysis. However, PCA works best when each data column is “standardiz…
  • 25 LAB: Print Grid Pattern ¬† Learning Objective Use nested loops to achieve numerous repeating actions for each repeating action Practive print() function inside the loop Work with specific `end=”?…
  • Pleae use Python prgramming to answer below. Twenty (20) mature wood samples of slash pine cross sections were prepared, 30ūĚúáūĚúáūĚúáūĚúá in thickness. These sections were stained jet-black in Chlor…
  • The volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. Write a function called¬†print_volume (r)¬†that takes an argument for the radius of the spher…
  • please tell me the best way i can present this problem and i don’t mind getting the answer by Saturday ¬†. In this assignment, you are going to explore different search strategies by developing an int…
  • # Problem statement 2. b # Update this else section to find the owner using get_assigned_node function in _vnode_map # and set the value in the correct node. Use direct assignment if its the current n…
  • Hello, I need help with this python programming homework. Make sure to have at least 3 doctests for each section. ¬†Take your time, there is no need to rush. ¬†Also make sure there are no style errors…
  • Having a secure password is a very important practice, when much of our information is stored online.¬†Write a program that validates a new password, following these rules: A)¬†¬†¬†¬†The p…
  • I am struggling to program in Python.¬† I am working on IT 140 Final Project Scripts Rental Car.¬† Are tutors available to walk me through this?
  • How to maneveur vertically in python? How to Get past 1st line of code in python? I am new to python and ¬†I am stuck on the 1st line, ¬†when i press enter to go below that it runs my txt instead of d…
  • The Week¬†6 portion of your Course Project is due this week. Please refer to the Course Project Overview in the Introduction and Resources module for full details. Use this¬†report¬†(Links to an exter…
  • There is a Ô¨Āle called “words.txt” in the current directory that contains a list of words, one word on each line. formulate a program that makes a few lines of code to compute the percentage of those…
  • All specifications can be found in the photo above, im having trouble coding it. the second photo is reference to what it should look like in the python shell.. tally_votes (candidates, votes) : Pr…
  • design a simple text file in which you will store the numbers 0 through 10, each on a separate line. the program should do the following: Open numbers.txt¬†in append mode Read the numbers into a list …
  • 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 …
  • How would this be written using functions and not using lists? ¬† # take the low and high integer input from the user low = int(input(“Enter the low number: “)) high = int(input(“Enter the high number…
  • DataFrame Slicing & Indexing The DataFrame objects can be sliced to retrieve specific rows using implicit indexing. Entire rows from a DataFrame can be retrieved using its .loc (explicit index) an…
  • Sometimes when programmers get bored or want to have a bit of fun, they add a harmless Easter Egg to their program Modify the program that prompts the user for the file name so that it prints a funny …
  • The¬† TidBit Computer Store ¬†( Chapter 3, Project 10 ) has a credit plan for computer purchases. Inputs are the annual interest rate and the purchase price. Monthly payments are 5% of the listed purc…
  • make a Python code Base In this picture thank you ¬†. GIVE ME MY DETAILS Input: Firstname Middle Initial Last Name Age Year Level Height Output: Display self-introduction message using the inputs Exam…
  • Question 2 . Dans le fichier d5q2.py : Ecrivez une fonction Python appelee fonctionSelective. Cette fonction prend une matrice de nombres entiers (pas besoin de le verifier) en parametre. La fonction …
  • Debugging #4: Debugging Lists ¬† ¬† General Instructions ¬† Debugging is an incredible skill and one that needs constant development. ¬†The better you are at debugging, the better the programmer you w…
  • USING PYTHON -Tree Age Counting the growth rings of a tree is a good way to tell the age of a tree. Each growth ring counts as one year. Use a Canvas widget to draw how the growth rings of a 5-year-ol…
  • The question was answered here but not correctly ¬†https://www.coursehero.com/tutors-problems/Python-Programming/31208929-Python-program-that-accepts-a-list-of-marks-then-prints-the-letter-gra/ ¬† Cod…
  • Hello, I’ve created a program that reads a list of words and then the program outputs those words and their frequencies. The problem I’m having is that the word a is counted as a letter throughout my …
  • Use python programming to answer questions below: Question 2 Each individual question below is worth 1 point. In the variable paragraph_str defined below, all sentences end with an exclamation …
  • Hello I’m just trying python alone I want to know how these works. Class Vector with basic vector operation. such as addition (+) , subtraction( -) and product (*) by vector scalar. dot product result…
  • Similarly, we can convert data represented as dictionary-of-dictionaries into a list-of-lists! Implement a function unpivot(pivoted_data) that takes in a dictionary-of-dictionaries data¬†and returns 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” a…
  • Here we want to figure out how many times a complete word appears in a quote (a string). 80 if our quote was “there are known knowns ‚ÄĒ there are things we know we know" (Donald Rumsfeld) and …
  • Write a f1mction called start_codon which accepts a DNA sequence as its argument and returns the first codon as a string. Assume the sequence is in frame. :1. Find the following file ‘t’homefjorvi…
  • write python code to¬† Test of randomness of stock prices vs. its day-to-day price movements Ôľą1st difference) 10%¬† Choose 1 US ¬†stock, from a separate industry sector for this project¬† data sourc…
  • Write a Python program does all the following steps: a. Read a file located in the same directory as the program named: cs521_3_4_input.txt¬† ¬† o Print a clear error message and end the program if th…
  • How would I complete a python program that takes the length, width of a rectangle and displays the area of the rectangle? (using python 3.8)
  • Part 2 of 2 CSC 212 – Data Structures Tree- Sorting Assignment 4-¬†¬†¬†¬†Before performing the Tree sort, you need to generate the list to be sorted randomly. Your tree sort will do the following: a.?…
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Example: #!/usr/bin/en…
  • Implement the following function in the PyDev module functions.py and test it from a PyDev module named t01.py: ***Use While Loop*** def sum_squares(target): “”” ————————————–…
  • The number of workplace fatalities as reported to the federal and state OSHA at https://www.osha.gov/fatalities. Count only those in fiscal year 2020, Oct. 1, 2019 – Sept. 30, 2020. Try using pd.to_da…
  • Hi, I have an assignment which is download the SNAP Social Circle dataset for Facebook from the following link: https://snap.stanford.edu/data/egonets-Facebook.html – and use facebook_combined.txt.gz …
  • Using Python use a program that will calculate the total cost of purchasing thumb drives. An 8-gigabyte (GB) thumb drive costs $6.99, and a 32-GB thumb drive costs $12.99 if purchased in quantities of…
  • I need help with this python coding question.¬† This is the prompt:¬† ¬† You will design a program that manages the inventory of an electronics store. You will need to use a number of concepts that yo…
  • I am fresh to spark, I am practicing it: Because I can’t run this code in pycharm. Then, I try to run it on terminal: but it shows error: could anyone help me on that? : Command Prompt – pyspark 0 X M…
  • Write GUI program that simulates drawing names out of a hat. In this drawing, the number of hat entries each person gets may vary. Allow the user to input a list of names and a list of how many entrie…
  • I am having trouble figuring out this error. Any ideas what I am doing wrong? Recycle Bin Malwarebytared_Watts.. Anti-Malware JES – HTML and Python.py X Browse paint.net Microsoft File Edit Watcher Me…
  • Please help me with the question below: You are required to submit the flowchart for the following program segment: procedure TfrmRectangle. btnProcessClick(Sender: TObject) ; var iLength, breadth: in…
  • In this assignment, you will implement an online banking system. Users can sign-up with the system, log in to the system, change their password, and delete their account. They can also update their ba…
  • I need help in the third part of the assignment. Using python 3.3. I will upload the file and the coding standard of the course. Please see the coding standard. in the code use function and I need it …
  • #Modules and strings ¬†Add the following function into¬†python Example:¬†¬†¬† scalc(p1) ¬†¬†¬†p1 will be a string like this “N1, N2, operator” ¬†¬†¬†¬†examples ¬†¬†¬†scalc(“20,30,*”) ¬†¬†¬†the result …
  • 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…
  • Draw pie chart with Plotly read data from CSV to a pandas data frame, and draw a pie chart Country Percent China 29.34% United States 13.77% EU 9.57% India 6.62% Russia 4.76% Japan 3.56% Germany 2.15%…
  • 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…
  • I need help with a python script with the following specifications: Define a class called CollegeReg with three instance variables: 1) student’s name; 2) Major; 3) DOB. Create the following 5 instance…
  • Python program to create Desktop Software for helping flood affected people to be used at Flood relief camp .(The desktop should contain the details to be registered by affected people by themselves t…
  • Given the following S-Boxes:¬† S1=[15 ¬†10 ¬†2¬†¬†5 ¬†¬†¬†¬†¬† 8¬†¬†4 ¬†11¬†¬†6 ¬†¬†¬†¬†¬† 1 ¬†¬†0 ¬†14 ¬†7 ¬†¬†¬†¬†¬† 9¬†¬†3 ¬†12 ¬†13 ]; S2=[ 4 ¬†0 ¬†15 ¬†10 ¬†¬†¬†¬† 8 ¬†9¬†¬†7 ¬† 13 ¬†¬†¬†¬† ¬†5¬†…
  • Write a function locate_list(L, rows, cols) that takes a 2D list L ; a non-empty string rows ; a non-empty string cols as input and return a 2D list of the selected rows and columns. Here, rows and co…
  • Please tutor with the following. I want to develop a Python function¬†build_map(list1, list2)¬†which takes two lists as input and creates a map which uses the first list as the keys and second list as…
  • Give flowchart for this code. #Multuplication Table# for i in range(0, 11): if i = = 0: S = else: s = str(i) print(‘ {:>4} ‘ .format(s), end=’ ‘) 10 print() 11 12 for row in range(1, 11): 13 print(…
  • How do I fix this it says i get 5/10? text = input()[::-1] while text not in (‘quit’, ‘q’, ‘Quit’): ¬†¬†¬†¬†print(text) text = input()[::-1] if text not in (‘quit’, ‘q’, ‘Quit’): ¬†¬†¬†¬†print(text) T…
  • Based on the code you created in this Unit, propose a way to re-use most of the code (with different information in the variables like “city” and “rates”) for a part of a similar app that isn’t relate…
  • Can you explain the Python code for this UML using the OOP?¬†. Account -accountNumber – accountHolderName – currentBalance * init () Program Bank – bankName +getAccountHolderNameD accounts #showMainMe…
  • Question 3.3. Define a function named avg_name_length that returns the average length of an individual’s first and last name. It should take as an input the name of an individual, as a string in the f…
  • How can I modify this code so that it does the same process but without using try, except, finally, raise? Customer Requirements: The user should be allowed to re-enter adult tickets and dates in even…
  • Also needed computations and commands used in python: Practice exercise 5: 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 independ…
  • A python program where: a) Movie class containing following attributes: movie title, director, year, genre, runtime (in minutes). Since movies are typically categorised in more than one genre, the gen…
  • . moodle.cestarcollege.com/mc x | in 2022W_CSD 1233_1: Assignm X PRE Assignment3 and 4 (2) (2).pdf x coursehero.login – Search X CSD 1233 : 1233 – Lambton ( X + X -> O File | C:/Users/Mehakdeep%2…
  • I need help with this program using at least three functions. I have completed the program,but the results I am getting show all the answers to be incorrect and just need help determining what I am do…
  • My entire question is attached: number 4 Create a function called morseCode which expects no parameters. This function will get its input entirely from the keyboard. The purpose of the function is to …
  • Use the binary tree implementation we discussed in lecture recording and build a decision tree similar to the one we used, come up with a unique application to you Create a Python project, download th…
  • def drop_below(adict,limit): ¬† ¬†“”” ¬† ¬†Deletes all students in the dictionary with grades below limit. ¬† ¬† ¬† ¬†The dictionary adict has netids for keys and numbers 0-100 for values. These ¬† ¬†…
  • Derive a recurrence for the average number L(n), of rounds needed to elect a leader in a city¬† with n people. Compute and plot L(n) vs n.
  • Import data from the two files:¬†station_information.csv and station_status.csv into Python Pandas. (10 points)
  • . 1.8 Exercise 5 (3 points) Our next task is to write some functionality to determine each player’s expected tournament score. Fill in the function expected_tournament_score (player_results, player_…
  • Consider an adiabatic well-stirred reactor (WSR) operating at a constant pressure of 1 atm, where the incoming gases are a stoichiometric mixture of CO and air at 298 K. Here you are to consider moist…
  • I’m working on the following task: ¬† I think I have a good solution for get_factors( ), but I can’t seem to get the correct answer for get_private_key_from_p_q_e( ). I get a positive answer for the i…
  • Note : Read the course textbook chapter 6 and 7 ( Data Science Using Python and R, Chantal D. Larose, Daniel T. Larose: ISBN: 978-1-119-52681-0 April 2019),¬† lecture notes posted in week 8 folder….
  • Output a welcome message describing the application for the user and any/all instructions 2.At each step, give them the option to quit the game (i.e. In instructions, inform the players they may qui…
  • The msleep data set contains the sleep times and weights for various mammals. a. Import the csv data from the following website: https://raw.githubusercontent.com/genomicsclass/dagdata/master/inst/ext…
  • Using python how would I create a third column that gets the delivery time ie. ¬†subtract delivered_at column from ordered_at column ?¬† ¬† ¬† ¬† ¬† ordered_at delivered_at 8/19/2018 22:01 8/19/2018 2…
  • implement LDA for supreme court cases for finding similar cases.
  • Section 5.1 – CSCI 160: Co… F21 Accountability – Googl… AIMS | Department of Avia.. Required Functions def readParts (fileName ) – Creates a dictionary in the function and fills the dictionary wit…
  • UsingtheLinkedListclass,nowwriteaPythonprogramnamed linkedListTest.py to test all the methods (old and new) to show that your LinkedList class works correctly. For each test, add a comment to document…
  • The following question is for the code below. Make a Python program that asks the user for an integer (number) greater than 1. Once the user enters an integer, it should then allow the user to choose …
  • How do I convert an integer to a string in python recursively? ¬† Recursion is so annoying and ive been stuck on this question for so long
  • E xample of a function that modifies a list passed in as an argument. Describe what your function does in terms of¬† arguments ,¬† parameters ,¬† objects , and¬† references .
  • Open the files Do the task in google docs. https://docs.google.com/document/d/1FZFBrhWaus50LQw3DQKttu3jNiWC3RC9E-DFO2vgun8/edit?fbclid=IwAR1hxaUVNgmj7X1kMIRQdjSoOPjhIT2j_3pjMNTMRuKqiyqC0JZThC8Q7z8 ¬† …
  • I am not receiving the desire outcome with creating a csv.file and I am not sure how to append $500. I included a snapshot of the source code that I have created thus far. My code doesn’t generate the…
  • Question 2. (4 points) Combien de pi√®ces? Supposons qu’un caissier doit rendre la monnaie √† un client et qu’il a seulement de la petite monnaie: des pi√®ces de 25 cents, 10 cents, 5 cents, et 1 cent…
  • Total Sales Design program that asks the user to enter a store’s sales for each day of the week. The amounts should be stored in a list. Use a loop to calculate the total sales for the week and displa…
  • Class state variables (attributes) are initialized in the constructor: True or false?
  • This is for Linux OS I am receiving this error, please help [ Error ] Task 2. Expected: Find all the .txt files while being in the ~ /workspace/ project-log directory. Try again. Codio – Linux Searchi…
  • what is the python code for this? please structure the code with comments and indentations. Write a python code to compute the minimum of the following quadratic function. y = 5×2 + 5x ‚ÄĒ 5 Then plot…
  • Define the Clustering problem. Explain what is meant by it being an “unsupervised-learning” activity. What is the difference between Hierarchical vs Partitional Clustering? What is the difference betw…
    • Write a python3 script which prints only odd lines from an input file provided as a cmd-line argument. assume the first line is line 1. (2) Write a python3 script which prompts the user for their …
  • draw the train using python 10. (2 points) Write a function draw_train() that draws, with Turtle graphics, the train from the image below If you are imaginative, you may choose to draw a more complex …
  • PYTHON Write program that reads the student information from a tab separated values (tsv) file. The program then creates a text file that records the course grades of the students. Each row of the tsv…
  • Question number 1 Write function called¬†add_2d_list¬†that take two 2d-lists of numbers as parameters and returns their sum(a matrix/2d-list). Here is an example of how to add two 2d-lists/matrices: S…
  • using graphics.py file on this problem. Question 5 (20 points) Write a program that creates a circle at a random point in a window. If the user clicks within the circle, it will disappear and the prog…
  • Consider the following multidimensional arrays: A = [[3,2,1], [4,5,6], [8,9,10] B = [[3,2,4,5],[6,5,4,3]] C = [[3,2,1,4],[6,5,3,4],[8,7,8,9],[7,6,5,4]] Make an RECURSIVE python algorithm to find the m…
  • For this interactive assignment, you will make 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¬†…
  • Problem 1: A research laboratory was developing a new compound for the relief of severe cases of hay fever. In an experiment with 36 volunteers, the amounts of the two active ingredients (A & B) i…
  • Given infromation: SIGN_GROUPS = ‘[ARI,LEO,SAG],[TAU,VIR,CAP],[GEM,LIB,AQU],[PIS,SCO,CAN]’ SIGNS = ‘ARI:03,21–04,19;TAU:04,20–05,20;GEM:05,21–06,21;CAN:06,22–07,22;’ + \ ‘LEO:07,23–08,22;VIR:08,2…
  • Project 8 Write a python program that will : Validate a password ¬† The program will have the user input a password Check to see if all requirements are met At least 6 characters long Must have at lea…
  • Your program should prompt the user for the width and length in feet of the room and the quality of carpet to be used. A choice between three grades of carpeting should be given. You should decide on …
  • Using this Online IDE , perform the following. (2 items x 25 points) 1. Convert one (1) sample Python script in 02 Handout 1 into Java code. The first letter of your first name will be the basis of yo…
  • 5.2 For Loop: Printing a dictionary CHALLENGE ACTIVITY 4.5.2: For loop: Printing a dictionary Write a for loop to print each contact in contact_emails. Sample output with inputs: ‘Alf ‘alf1@hmail.co…
  • http://www.utsc.utoronto.ca/~bharrington/csca08/assignments/a2.html I wonder if I write a method in class Table called add_column(self, column_name, column_items) which the column_name is a string and…
  • Here is the link to the data set I am using: https://files.catbox.moe/8rj2hu.csv Just copy and paste the link into your browser and it will download the csv dataset file. The second image is just to t…
  • How can I solve this problem ? Instructions his assessment has two parts: recursive functions and Mathematical Induction. You are to create a well-formed Python recursive function (i.e, there must be …
  • Homework #1 Finding the Optimal State-Value Function Problem Description The game DieN is played in the following way: You will be given a die with ‚Äč N ‚Äč sides. You will know the size of ‚Äč N ‚Äč…
  • I need program that uses functions and mainline logic which prompts the user to enter a number.¬†The number must be¬† at least 5 ¬†and¬† at most 20 .¬†(In other words, between 5 and 20, inclusive.)¬†T…
  • Code under below link downloads excel files correctly except cases when there is a space between the two strings, For example for state ‘West Virginia’ it doesn’t download although the link itself wor…
  • (Reverse string) Function that reverses string. The header of the function: def reverse(s) : Test program that prompts the user to enter a string. invokes the reverse function, and displays the revers…
  • make a function jiffies(hours) ¬†that converts hours to jiffies. There are 100 jiffies in a second. Returns a numerical value ¬† Examples: jiffies(1)¬†¬†¬†¬†¬†¬†¬†¬†->¬†¬†¬†360000 jiffies(0.2)¬†¬†?…
  • I need help with number 8, but the wording is confusing me because I already asked my professor about the objective of the assignment and the professors says to only do #8. I need help understanding h…
  • 1) The question screenshot has been attached down below and skeleton.py file is copy-pasted down below: ¬† ¬† Skeleton.py file has been copy-pasted down below: ¬† import random¬† ¬† ¬† def createProbl…
  • computer program that stores and tracks information about high school students. The first piece of information is what grade the student is in. Since this is for high school, the available values are …
  • Write a program that generates the entire calendar for one year.¬† The program must get two values from the user to do this.¬† First, you will need the year in order to check for leap years.¬† The yea…
  • 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 …
  • 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 complex program and allow you to se…
  • Take the first 10 reviews texts. Perform word tokenization, lemmatization, part-of-speech tagging. Use Spacy. Each line should have review ID (i.e., line number from the file), token (i.e. word), lemm…
  • Convert this for loop, which traverses by element, into a for loop that traverses by index . Then convert it into a while loop. n is an integer of your choice and word is a variable assigned to a stri…
  • Given boolean variables p6a and p6b, assign the result of the logical expression “p6a is not true and p6b is” to problem6
  • ..I have to write atleast 4 lines of explanation of what the coder has done in this code..what function or statement has been used, everything in details. def print_zodiac_sign(day, month): if mont…
  • Python program to create Desktop Software for helping flood affected people to be used at Flood relief camp
  • “DC Characters” : [“Batman”, “Catwoman”, “Clayface”] ¬† How to format each dictionary item as a text string in the input file.
  • Given the following statement: “%4d” % var1, which of the following is accurate? Group of answer choices The variable var1 must be an integer value. The variable var1 must be a string value. The varia…
  • Part 1 We will use a full day worth of tweets as an input (there are total of 4.4M tweets in this file, but we will intentionally use fewer tweets): http://rasinsrv07.cstcis.cti.depaul.edu/CSC455/OneD…
  • 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 …
  • 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…
  • Note: ¬†your d notation for gaming. 3d6, for instance, would mean roll a 6-sided die 3 times. For this assignment, you will create your GenPlayer function. This function will create your player name, …
  • Please answer this question as soon as possible thanks Question 7 (10 pts) Write a function unique and filter that takes a list of only strings as argument and returns a new list, which is a filtered …
  • A Java game designer wishes to store all the game preferences (e.g., player name, screen size, music volume, etc.) within a custom Preference class. (i) Assuming each preference is stored as a unique …
  • def chocolate(x): if x == 0: return 0 else : return x + chocolate(x – 1) def strawberry(x): if x == 0: return 0 else : return chocolate(x) + strawberry(x – 1) a) What is time & space complexity fo…
  • Python Programming Please show step by step solutions. Thank you. python program that takes any text file and displays the top¬† N¬† number of words in descending order of occurrences ( case insensiti…
  • . Pandas Another common way of organizing code is with the Pandas library. Pandas represents data as DataFrames and Series, where Series are vectors of dara and DataFrames represent labeled sets of …
  • s = 0 for i in range(10): if (i % 2 == 0): i = i+1 if (i % 3 == 0): i = i-1 else: i = 0 s += i print(s) ¬† Hi may I know how to evaluate this this using pen and paper
  • SCENARIO OVERVIEW Your customer, one of the largest casinos in Las Vegas, is asking you to create a simulation of customers playing Dice. This simulation will be used as part of a larger system, to i…
  • In Coral Language, please Summary: Given integer values for red, green, and blue, subtract the gray from each value. Computers represent color by combining the sub-colors red, green, and blue (rgb). E…
  • In this lab assignment, students will demonstrate the abilities to: – (create) and use strings – Use string methods – Write code to read data from a text file – Write code to write output to a text fi…
  • I need help with program One program is required. In the program: Start with a comment that includes your name and course number. Include pseudocode that describes all steps required to solve the prob…
  • what is a single command that will determine if the package called octavo is installed on our machine
  • Write Python program that gives following result Sample output: Enter a positive number: 12345 sum of all digits in 12345 = 15 sum of all digits in 15 = 6 The final single digit number we got is 6
  • I have a simple question in my data science Lab. The programming language is python, ‘ type the expected of it and my solution where it only passed 1 out of the 3 tests. Write a that takes in an integ…
    • Show each step of turning list [42, 35, 71, 34, 76, 39, 77, 47, 6, 20] into a min heap. 2-Show each step of turning list [42, 35, 71, 34, 76, 39, 77, 47, 6, 20] into a max heap. 3-Show each interme…
  • Give code ideas to solve this : This function is the starting point of the entire code. It includes all functions above and can call them as many times as the user likes. You should have an infinite l…
  • Hi, I need to finish the following hw in Python. Really need the answers as soon as possible. ¬† 1. Download the Titanic Dataset from here: https://www.kaggle.com/brendan45774/test-file¬† 2. Import th…
  • Can please someone explain how Dictionaries and Tuples works in python
  • For the program below, what Python expression is nee to make the program produce the output shown on the right? There may be non than one correct answer. letters = [ "a", "bc", &qu…
  • def hasMultiplesOf(x, listOfNums): ¬†¬†¬†”’ ¬†¬†¬†– Returns True if ALL items in listOfNums are multiples of x. ¬†¬†¬†– theList can have elements of any type. ¬†¬†¬†– If listOfNums is not a list type…
  • draw your triangle using Turtle Graphics. Triangles should use the following pen colors based on their type: Scalene: Red Isosceles: Blue Equilateral: Green what should I add on the code to achieve th…
  • py The Manager of the Bot Company askss you to write a Python program to calculate the total invoice based on the user inputs: item price and quantity, taking into consideration the discount given…
  • Hello, Please I need help with my code. I have this code below but I help adding more python code to be able to filter Security-group, EC2 and Users. How do I do that. Kindly help with detail explanat…
  • COSC 1336 – Programming Fundamentals I Program 9 – Functions, Lists, and Strings Please write a program that read the total rainfall for each of the 12 months into a list. The program should calculate…
  • computer science 100: Perform each of the following tasks: Create a list named X with the following values: 8, 4, 5, 21, 7, 9, 18, 2, and 100. Print the length of the list X using print() and len(). P…
  • Python Programming Can someone please help me fill in these answers in python. Images of the required output can also be seen. ¬† Link to csv files ——>> https://gofile.io/d/N0a3WO. Question …
  • UFOs, a business, has malls in 4 states (S1, S2, S3 , S4). Below are what the business owns:¬† 1 Truck Store rooms in each state. Each State has a: fridge for keeping fruits D fridge for keeping froze…
  • can someone help me please and solve this question with steps thanks for your time <3. 3. For the each one of the following transformation matrices, Draw the coordinate systems then Find To Graphic…
  • Please show all your work. If there is any missing information or problem, please let me know. appreciate,. Activity 2: f-string Exercise 1: Use input function and ask user to enter an integer number,…
  • Make a program that ask how much is your salary and deduct the 10% tax. 2. Electrified. The public utilities commission has decided that the electric company¬† overcharged its customers for two mon…
  • Descirbe a course project based on this one. We have to make it on python codes.Using the python programming language you are to develop a simple computer game of your choice .The code must be easy …
  • Use python Exercise 2. Let’s assume that an A matrix (consisting of the left side of the demand and supply constraints); a b vector (consisting of the demands and supplies); and a c vector (consisting…
  • There are two files a.txt and b.txt I need to make a python code that can be run through idle to do the following: read file a.txt line by line and change constant values to that in b.txt (if values a…
  • I need help with couples of program, can someone help with this homework. coding; Problem 1: Song Lyric Analysis Part 1: Choose a song, save as lowercase choosing a song lyrics. You can pick any song …
  • python code with line by line explanation using comments. explain the code thoroughly. ¬† ¬†. Q5. Placement Season is about to start at IIITD. You have to design an application to simplify the procedu…
  • Assessing Remodeling Prices – Design and execute an exercise manual answer for the issue depicted underneath. Make sure to make the new exercise manual by first sending off Microsoft Office Excel 2007…
  • Activity: Look at the following code segment. We have hardcoded some values for you in the list "values’ and created a loop through the values in the list. If the value is a string raise a ValueE…
  • (For Problems , no other package except numpy and matplotlib should be used for the programming questions. And use Python). Problem 2. (Numerically Solving Logistic Regression} In general, there is…
  • Using turtle graphics and the range() function, draw a multi-sided snowflake. Start by creating a N-sided polygon (range(N) ) and then add code to add “flakes” to the sides of the polygon. ¬† Use pyth…
  • in python programming what is the most difficult question? ¬† provide examples
  • Suppose the input is 2 3 9 5 4 0 (one number per line). What is the task and the¬†output of the following code? number = int(input(“Enter an integer: “))x ¬≠= number¬≠ ¬† ¬≠while¬≠ number ¬≠!= ¬≠0: ¬†…
  • An algorithm that is given three numbers corresponding to the number of times a race car driver has finished first, second, and third. The algorithm computes and displays how many points that driver h…
  • First NameLast Name Major Degree GPA Credit HoursTA Advisor Glen Robinson Computer SciencePhD 3.14 12 No Bruce Wayne File Operations¬† Read the students_database.csv file and develop the necessary fun…
  • 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 …
  • PYTHON CODERS In this lab, we will utilize advanced features of the Python unittest framework (mocks) to develop automated integration tests. You will work on developing integration tests for a weathe…
  • . DRL AS W HI: | hitt | ht:| zy SE|6 4. SE X DRL 2- | ht |DEL Re| E SP| @ De * Cc| 4.1/ 13 Po/ 1 py/ E Py/ 13 se/ 1 ge/ by ne | ) Ni| # Ni/ 13 sy/ a pyl + X G n & https://learn.zybooks.com/zyboo…
  • (01.05 HC) Write pseudocode for making a bowl of cereal using at least five steps.
  • Summary: Given integer values for red, green, and blue, subtract the gray from each value. Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color’s value can …
  • … Write the equivalent of the following python code using while command instead of for. for i in range (7) : a = i * 2 for j in range(i + 2) : print(j + a) print(a)
  • )Using item similarity based on actors in the movies, what are the top 10 movies recommended to you? 2.)Using item similarity based on Genre and IMDB rating, what are the top 10 movies recommended 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…
  • (You will need to submit a full set of pseudocode for the above scenario) Python 2.(The program should be well commented, have self documenting identifiers, and easy for someone reading the code to…
  • I’m trying to set the blue dot with TMCC txt onto the arch 45 degrees not away from the arch.¬† Code: import turtle my_pen = turtle.Turtle() #function to write the heading def heading(): ¬† # get head…
  • The code is giving 128 and it should be 138. How do you fix that? . I found this document and thought you might like it:¬†https://www.coursehero.com/file/84988592/ . there is a separate JSON file.
  • the second line of this code comes back as invalid syntax, why is that?
  • What are the codes of the def draw_name(canvas, names, name, color) and def draw_names(canvas, names, lookups)? There are more instructions on this webpage (Part d, part e, and part f): https://web.st…
  • We have a fuction called ‘fac’ that takes an input of number N and output N!. Print the result as N! is result.\n”, ¬†¬†“For example, N = 5, N! = 5 * 4 * 3 * 2 * 1 = 120. Print ‘5! is 120′”
  • maze import random from itertools import chain import math import numpy as np import colorama from colorama import init, Fore init() ¬†# colorama needs to be initialized in order to be used # this fun…
  • In Chapter 4, we developed an algorithm for converting from binary to decimal. You can generalize this algorithm to work for a representation in any base. Instead of using a power of 2, you will write…
  • OWASP is an online community that is focused on improving the security of software. In particular, they have concentrated on “Injection flaws”. Explain what an Injection flaw is. By using WebGoat, how…
  • Solve p,r,c,d #python programming 0 n= "stevens is awesome !! $ # split variable n on a delimited space into a list of substrings . P = ? # Get all the itemus except the first of the third substr…
  • Create a struct describing a car engine. The variables will be current_rpms, max_rpms, num_cylinders, and displacement. Choose reasonable data types as we did in class.¬† Create a function which retur…
  • 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
  • The following is my project that i am working on. I am not going to lie I am struggling terribly in this class. I have decided to switch my degree to business management and organizational. But I need…
  • Utilizing the best trained linear regression model (so far), predict the target for each of the samples in the judge_dataset. I believe you will not forget to do the following before call in the predi…
  • 1] Write a program that satisfies the goal with some requirements. Goal: prompt the user for a string and return the reversed string Example: ¬† input: stop ¬† output: pots REQUIREMENTS: a:¬† Reversed…
  • For the following exercises, work with the¬† adult ¬†data set. Use Python to solve each problem. Partition the data set into a training set and a test set, each containing about half of the records. R…
  • Sensory neglect is a disorder that involves lesions to which brain region?
  • hi can somone help me with these question? i want to check my answer with you, so I would be confirmed. if you familiar with jupyter notebook , then you can help me. you have to use jupyter notebook. …
  • Create a list variable and initialize it with the first 10 of the top 25 most used passwords in 2019, per the following link¬† https://en.wikipedia.org/wiki/List_of_the_most_common_passwords ¬†. USE T…
  • Data Source: https://www.kaggle.com/uciml/restaurant-data-with-consumer-ratings. Restaurant #135085, marital status # Calculate the number of single customers for restaurant #135085 # Calculate the…
  • Write class called Person that has two¬† private ¬†data members – the person’s name and age. It should have an init method that takes two values and uses them to initialize the data members. It should…
  • Print a calendar as a list of weeks, where each week has several days ¬† You also must implement this list of lists in Python and present it, including a sample output of your program running.
  • 3 diagrams, a database design document, a data dictionary, table definitions, cybersecurity plan, source code, and a software test plan (see template below). ¬† Project implementation is arguably the …
  • Age prediction from facial images we are going to develop a program (in python) that would be able to guess age of a person given his/her photo. It is expected that you will first do the principal com…
  • 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…
  • Could someone review and correct my code? I can’t figure out what I did wrong. My functions for viewing all members, and editing members is not working. Thanks def addemp(): ¬† employeeName = input(“\…
  • Question 3 Convert the following inÔ¨Āx notation to its postÔ¨Āx notation. You must Show the stack contents in your simulation. [a*7 -{(3+b>9)8:8:(ylÔ¨Ā<=2)}==(8!n!=4)]||(5+m!=t) Priority: *J,% …
  • Machine-learning Jupiter-notebook Model: I am currently working on the bank marketing dataset in the Jupyter notebook and I encounter an error below after typing the code below. Can anyone guide me on…
  • (MULTIPLE OPTIONS ALLOWED, ANSWER ONLY IF YOU ARE SURE) 1) What are the best practices for building out good unit tests? a) Write a test function to check for implementation given all parameters. b) T…
  • I need a solution to this assignment. ¬† 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 a …
  • def create_student () : #you will need to decide the input variables for all the functions student = {} # TODO: Fill me in return student def create_class_dictionary () : class_dictionary = {} # TODO:…
  • Define a class ‘MobileInventory’ with the following specifications: Define the class method ‘ init ‘, which initializes an instance of ‘MobileInventory’ and accepts an input through the argument ‘inve…
  • def exercise13(n): Create a pandas Series, s, with n random integers between 0 and n, for n days starting from 1/1/2010 and plot the cumulative sum on a chart. The data range should be an index.
  • Hi, can you explain how to fix this code? Please do not copy the result from other websites and please do not use “break”. Thanks! 3. Write a function called largest_odd that takes a list of integers …
  • i want to paraphrase so i can use it without copying it In [5] : # TODO: Build and train your network model = models . densenet121 (pretrained = True) #Need to Freeze Parameters for parameter in m…
  • I am not sure how to approach the problem following. Please give an orientation. Create an in-script function code which applies filter to model how a deuteranope might see any image. knowing that a d…
  • In this program, I am writing classes in python.. blue component. For example, if the color is (0,255,64), the proper return value would be: #0OFF40 But you don’t need to know how hexdecimal works! (U…
  • While identifying your tasks in the Cybersecurity Lifecycle, some of your PROTECT tasks may have come after DETECT. Does this mean the task¬†should be a RESPOND or RECOVER task? In general, how does t…
  • #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 #values will be int…
  • What are some of the programming pitfalls you need to avoid that may lead to vulnerabilities in your programs?
  • Please write a program to output a random number, which is divisible by 5 and 7, between 0 and 10 inclusive using random module and list comprehension.
  • How can we devise an algorithm to determine the minimum cost of performing an exhaustive search along all possible paths between two points where this cost is proportional to ground covered?
  • https://drive.google.com/drive/folders/15xUOen81Fw6YuBewbdSvMuo_SyHGc72T?usp=sharing. 1. Communication in a ring: – Write a MP1 program where each rank sends a message to its right neighbour. – The me…
  • Another admin (anne.admin) has just used gunzip to restore a virtual machine from a backup, but now the backup file is gone. Ôā∑ Explain a possible reason for this issue. Ôā∑ Describe how you could pr…
  • # RQ1 def cascade(lst): “””Returns the cascade of the given list. >>> cascade([1, 2, 3, 4]) [1, 2, 3, 4, 4, 3, 2, 1] “”” “*** YOUR CODE HERE ***” # RQ2 def maptwice(fn, seq): “””Applies fn tw…
  • design a ¬†Fuzzy Logic¬†Control Synthesis for An Airplane Antilock-braking System in python?
  • Boby mass index is a measure of weight. It is calculated by taking your weight in kilograms and dividing iy by the square of your height meters. The interpretation for people of 16 years or and older …
  • In this lab you will practice creating programs that use lists. Each question is worth 1 mark.¬† ¬† In this assignment, initialize a list in the program by assigning values rather than using input to …
  • Define a function called Report2 with three input arguments x1, x2, x3 and one output argument – y. The input variables specify how many liters need to be produced in each reactor. The output variable…
  • Write a program to change picture colors according to the following criteria: ¬† Each function in your program must state it purpose in comments. Ensure you group your code into logical blocks and use…
  • I keep getting this error on all math operators. Can anyone help please? Error: line 142, in <module> ¬†¬†¬†main() line 87, in main ¬†¬†¬†print(“the difference of:”, var1, “-“, var2, “=”, mylib….
  • Define the BankAccount class which has attributes for checking and savings. Use the Python convention to make these attributes private. Create the getters get_checking and get_savings, and create the …
  • Answer for above coding question. PREP_Python_AS_Data Types WQ -6 Report Error Single File Programming Question Marks : 10 Negative Marks : 0 Bala distribute C chocolates to school N students every Fr…
  • One of the most important concepts of programming is handling input and output. The following activity will allow you to get familiar with this concept, specifically when using Python.¬† ¬†¬†¬† Write …
  • You will write a function that will calculate the price of a ride that uses a Pacers Bikeshare bike.Define a function named ridecost with one parameter named minutesThe function will calculate the cos…
  • ”’ 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, …
  • Contact Manager COMMAND MENU list – Display all contacts view – View a contact add – Add a contact del – Delete a contact exit – Exit program Command: list 1. Guido van Rossum 2. Eric Idle Command: vi…
  • Compulsory Task 1 In this task, we’re going to be demonstrating your understanding of inheritance. Make a copy of the task1_instructions.py file named compulsory_task1.py and follow the instructions. …
  • Retype the statements, correcting the syntax error in each print statement. print ( ‘Predictions are hard.”) print(Especially about the future.) user_num = 5 print(‘ user_num is: ‘ user_num)
  • Most programming languages come with a library of functions that have already been written. These functions, known as library functions are built into the programming language, and you can call them a…
  • . 3. (20 points) Write a function named sum_some that returns the sum of all positive numbers in a given list. However, if 0 occurs in the list, all subsequent values are not counted toward the sum….
  • class DynamicArrayException(Exception): “”” Custom exception class to be used by Dynamic Array DO NOT CHANGE THIS CLASS IN ANY WAY “”” pass class DynamicArray: def __init__(self, start_array=None): “”…
  • # 15 points def exercise32(new_observations): Data set: Iris Fit the Iris dataset into a KNN model with neighbors=5 and predict the category of observations passed in argument new_ohservations. Retur…
  • Below is a program that’s incomplete. complete the program with the following tasks. See the comments inserted in the program to guide on what to do. Design a program to input three numbers from the u…
  • Given a string S and a string T, find the minimum window in S which will contain all the characters in T in linear time complexity. Note that when the count of a character C in T is N, then the count …
  • . 2. Bayes Classifier (15 pts) Here, we want to learn: 1. A simple Bayesian classifier 2. Prior impact on the classifier 3. ROC curve and error rate (a) Class 1: Draw 1000 samples from a Gaussian di…
  • Write a script that calculates the 3 shortest words of a text stored in a file and print them from the smaller to the longest of the 3. Please note: The name of the file is word_list.csv and it doesn’…
  • The question says to Create a list of tuples of first name, last name, and age for your friends and colleagues. If you don’t know the age, put in None. Calculate the average age, skipping over any Non…
  • Problem 4 (All-in-one: list + string + file read): We downloaded several stock’s daily level data for you in ./data/hw2_data/stock_data/. You will write code that takes stock tickers as inputs and out…
  • Divide by x Attempting to run a program using integers user_num and x as input, and output user_num divided by x three times. Ex: If the input is 2000 2 Then the output is 1000 500 250 Note: In Python…
  • Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. Note: There are 12 inches in a foot. Sample output with inputs: 5 8Total inches: …
  • not sure what means sumresult. Help me format this whole question. Question 2 Question Grade Points: 0.25 Assign any values you like to two new integer objects and one float object to three variable n…
  • se provide the program Python A local biologist needs population growth. The inputs organisms (m), the rate of grow than 0), the number of hours it and a number of hours during The population after &q…
    • Edit the file lab7a. py and modify the function sum_times (). Add code to check the values of the time object ‘s three attributes. If the value of the minute attribute is more than 60, carry it ove…
  • Set¬†department_ranges¬†to a table containing departments as the rows, and the position as the columns. The values in the rows should correspond to a salary range, where range is defined as the¬† diff…
  • Implement a method to perform basic string compression using the counts of repeated characters. (This is called run-length encoding.) For example, the string “aabcccccaaa” would become a2b1c5a3. If th…
  • The cvs file can be found in the last picture. Thanks Pie Chart Plotter For this homework you need to write a program that will read a CSV file a plot a pie chart for this data The CSV file is located…
  • Checkpoint 3: Checkpoint 3: A di‚ÜĶerent layout for wallpaper Here is a bit of challenge for you. We will change the wallpaper layout so that you put 6 images in a line (using images named 1.jpg,..,6….
  • Good Afternoon, Please help, my return function is not working, what am I doing wrong? import sys ¬† account_balance = float(500.25) def print_balance(): ¬†print(“Available Account Balance is:\n $ %.2…
  • EXAMPLE: ¬† Yahoo Finance¬† ¬† import yfinance as yf yf.Ticker(‘PFE’)¬†¬† # Pfizer ¬† pfizer.info pfizer.info[‘dividendRate’] ¬† #action details about the Dividends and Splits the company has given to…
  • I need help creating a calculator program, which receives inputs from the user and depending on the selected operation, it will calculate Addition, Subtraction, multiplication,¬†and division(the sampl…
  • Python pycharm 1. Make a function that can accept two arguments name and age and print its value. 2.¬†Write ¬†function calculation() with two parameters and calculate the addition and subtraction of i…
  • Can you turn this code below and translate into pseudocode ¬† ¬† #Import regex module import re # loop while True: ¬† # Enter a string password ¬† password = input(“Enter a password : “) ¬† #Initializ…
  • 1¬†Consider an application that can be used by customers to book for a bus ticket. Come up with a pseudocode and a flowchart to represent the program¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • Hi, I am trying to make a python code that will create complex punnet square cross. I am trying to make sure it identifies a female vs male(Y), and I am trying to itertools but I am struggling. Assist…
  • I have a dataframe, and a list of numbers(ages). I want to print the rows of my dataframe, only if the ages are contained in my list. Here is my dataframe as df Sex Age 0 male 22 1 female 38 2 female …
  • “In the previous assignment “A Card Object”, if your code asked for a new Card in this way: c = Card (‘c’, 7) there is no Error raised, everything seems fine. But then when you call the bjValue() meth…
  • According to the dendrogram shown below, what is the number of clusters assuming the cutoff distance is 0.5. Please note that every singleton is one cluster. ¬† ¬† ¬† a)3 ¬† b)4 ¬† c)5 ¬† d)6 ¬† e)7 ?…
  • Write full correct Python program to solve the following problem: Write program for Professor at College that allows him to keep a record of the students’ average grade in his class. The program must …
  • I need help writing this code in python Part 3a Write a program that prompts the user for the name of an image file (i.e. "image1", "image?", etc). Then attempt to download the dat…
  • Exercise 2: Use a while loop with a counter that asks the user to enter 5 numbers and calculates the sum. Print out a message displaying the sum. The sum is 44.
  • Credit cards Usually,¬†credit card numbers follow¬†a¬†certain¬†pattern. A credit card number is between 13¬†and 16 digits.¬†The¬†number¬†starts¬†with: 4 for Visa Cards 5 for Master Cards 37 for Americ…
  • solve this ASAP Question 3: (5) Write a function that create a list that contains the atomic numbers of the six alkaline earth metals: beryllium (4), magnesium (12), calcium (20), strontium (38), bari…
  • 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…
  • # Don’t forget to name this file Complex.py and place it in the same # folder as the provided ComplexTest.py file so that they can # automatically find and use each other. ¬† class Complex: ¬† ¬†# A c…
  • Please help me understand what the answer is and why with these following questions: Assume X = True, Y = False, Z = True What will the following evaluate to (True or False): >>> X = True &gt…
  • (1) Output a menu of automotive services and the corresponding cost of each service. (2 pts) Ex: Davy’s auto shop services Oil change — $35 Tire rotation — $19 Car wash — $7 Car wax — $12 ¬† (2) P…
  • I am not sure if I’m doing this right, can someone help me? def backup_file(): ¬†¬†“””Makes a backup of a file. Your program should ¬†¬†prompt the user for the name of the file to copy and then write …
  • Consider the table employee given below Table: employee E101 E102 E103 E104 E105 Ann Maria Paul Kristina Ross Graphic Designer Web Developer General Manager Editor Technical Writer E103 E104 NULL E101…
  • I need help writing this code in a flowchart that includes a looping activity def findLastOccurance ( char , string ): occuranceIndex = -1 for i in range ( 0 ,len( string )): if ( string [i] == char )…
  • The Fibonacci sequence starts 1, 1, 2, 3, 5, 8, . . .. Each number in the sequence (after the first two) is the sum of the previous two. Write program that computes and outputs the nth Fibonacci numbe…
  • Learning Objectives Create a function with the required parameter and return values Use for loops to get access to each object in the list Use different counters to calculate multiple results in one l…
    • What is main purpose of the function? (b) What is the type of the object “time_tp” created in line 8? (c) What does the value of the object “time_s” in line 9 represent? (d) What does the value of…
  • Write a program that accepts the values of 3 resistors and the choice of series / parallel from the user. The program reports the equivalent resistance per the user choice (either series or paralle…
  • 12¬†LAB: Print string in reverse 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 “Quit”, “quit”, or …
  • please send code for making free vpn app in windows (.exe) in python if cant send code please say me guide me in making give reference links for this project
  • PLEASE HELP WITH PYTHON LANGUAGE an application will retrieve weather data from the service https://wttr.in/london?format=j1. ¬† the program will need three parts: A module named weather_parser.py tha…
  • Pick a web service to containerize in Docker. Containerize it. Publish it to Github¬† Deliverables¬† 1. Publish your docker container to Github and furnish it to me in your report. I will be testing¬†…
  • hi, why we can’t access the files which are uploaded in the website even though where are the members.
  • Please help me out. This is a python quesiton. The function gets the cosine similarity beween movies and users.(1:like, 0 haven’t watch,-1:dislike). In that case, each person is represented by a vecto…
  • Question #3: A bowling ball is dropped from a balloon 1500 feet above the desert. Regardless of the mass of the bowling ball, when it landed, the ball was traveling at 100 miles per hour but the size…
  • Part 1: loops and lists (Arithmetic)¬† ¬† In this section we are going to use the pseudo-random number generator to¬† generate a certain set of numbers between the size of 10 to 200 integer numbers.¬†…
    • Write a program to validate CSU subject codes. Suppose a variable subject contains the subject code (e.g., subject = ‘ITE524’). Your program should analyse that variable and print just a True or Fa…
  • Convert the slring to single words as list. 2. if a token starts with or ends with a punctuation. remove the punctuation, e.g. "world!” to "world". "’hellomto "hello&q…
  • Please solve this for me? Write program that reads a sentence then uses a function that returns a count of all letter “e"s (whether it’s upper or lower case) in that sentence. For example: En…
  • For this program, you will process an¬† existing data file ¬†¬†Download existing data file. Using Python, add a line to the Performance Assessment5_5DataFile.csv. file programmatically, which contains…
  • What will be the output of the following snippet of code after it executes? #>>> denote indention because blackboard editor does not have indentation. box = 0 while box < 5: ¬†¬†>>&g…
  • Module 4 Assignment 2: Pseudocode & Python with Lists Overview Module 4 Assignment 2 features designing a program using pseudocode and then completing the program in Python using a list. M4Lab2 as…
  • You to write an algorithm in pseudocode to count how many of five fish are 15 inches or more long. Here is an example of what someone using the algorithm would see: Enter fish length: 12 Enter fish le…
  • Python Please: ¬† Define the Artist module in Artist.py with a constructor to initialize an artist’s information. The constructor should by default initialize the artist’s name to “None” and the years…
  • Question 6 (2 points) Create a function called get favortiel words() that asks the user for three of their favorite words, and returns the keyboard entered input as a tuple Paragraph BI UA +
  • Give a FLOWCHART for this code:¬† def addition(num1, num2): ¬† ¬†return num1 + num2 def subtraction(num1, num2): ¬† ¬†return num1 – num2 def multiplication(num1, num2): ¬† ¬†return num1 * num2 def div…
  • Ayuda Por favor 1. Deber√°n crear un programa que permita leer 3 archivos diferentes y luego generar un nuevo archivo con la lista de todas las palabras encontradas y el n√ļmero de veces que se repite…
  • Please answer this question with Python code. Thank you! It’s ok if you only complete some of the tasks. 1. Principal Component Analysis 0. Let’s say we have Data Matrix X with N rows (i.e., data poin…
  • def accept_array (list) : n = int(input( “Enter the element : ” )) for i in range( 0 ,n): x = int(input()) list.append(x) def show_array (list) : print( “Array : ” , list) def ternary_search (l,r,key,…
  • # code will compute and return the convex hull of a sorted list of Points # convex hull is a list of Point objects starting at the extreme # left point and going clockwise in order def convex_hull (so…
  • a 5 dof robot arm using servo motors is to be controlled using a raspberry pi 3. outline a code that can be used to carry out the task. ( this involves a code that can be used to run 5 servo motors at…
  • Task 10: I need a Python code which can read any number of images from a folder that consists of many similar images, generate a feature spaces, and generate a spreadsheets for the feature spaces! ÔÉė…
  • How do I make a program that takes in a car’s miles/gallon and gas dollars/gallon (both floats) as input, and outputs the gas cost for 10 miles, 50 miles, and 400 miles. Output each floating-point val…
  • . tems home > 6.19: LAB: Max magnitude 6.19 LAB: Max magnitude Write a function max_magnitude() with three integer parameters that returns the largest magnitude value. Use the function in the mai…
  • 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…
  • In this question, you will implement a class called¬†DataTable¬†that will represent 2-dimensional data. You will also implement a class called¬†row¬†to represent each row in a data table, and a class …
  • I have logical problem it keeps coming out as 0 dollars and not right amount def main(): custType, kWh = getUserInput() billCalculator(customerType1=custType, kwh1= kWh) totalCharge = billCalculator(c…
  • Give an example of an evaluation function ( looks at a given board position and returns a value that predicts the goodness of the position without considering future possibilities) for chess using the…
  • Hi, the requirements is below. First time using Python so I’m not familiar with both the dataset and Python. Please assist or provide examples on how to do a technical report. thanks!! +++++++++++++++…
  • reference: https://www.coursehero.com/u/file/83350383/data100-fa20-lab08-Jupyter-Notebookpdf/#/doc/qa On page6, the code is not completed. What is after x0=np.random?
  • Week 7 Assignment – Game Time¬† CS192 Grantham University i want to¬†create simple game. Utilize the design tools that you have learned this week to design and program a very simple game like Guess a …
  • Create a program that asks the user for a number and then prints out a list of all the divisors of that number. (If you don’t know what a divisor is, it is a number that divides evenly into another…
  • difference vector rij and rij . rij = ;; is the inner product (or dot product, see below) of the vector with itself. For example, if we want to calculate the force on the Earth E due to the Sun S wher…
  • Using PYTHON , please answer the following questions with all relevant assumptions, explanations and details. ¬† Question : Please refer the table below to answer below questions:¬† Planned to purchas…
  • What are the three basic structures when using programming?
  • Which of the following is a reason to use built-in functions? (5 points) They decrease compile time. They have fewer lines of code. They increase efficiency. They have shorter code.
  • Please provide the code (with explanation) for Task A def slope(x, y): , Task B def line(x, y): , Task C def best_single_predictor(data, y): and solve Task D Here is the life expectancy data: Overview…
  • There is no reference provided. This is a complete question¬† ¬† Infix expression example: 3+4*5/6 (operators are between numbers) Infix expression evaluation: 6.3333 Postfix version of the infix expr…
  • I need help with my python coding. I’m trying to get the object called “enemy” to fall randomly from the top of the screen in my pygame. I’ve got it to fall down but I can’t seem to get it to randomly…
  • ——————–Make it into python programming—————————– ¬† ¬† ‚óŹ ¬†this menu ¬† ¬† ¬† ¬† ¬† ¬† 1 – Create user | | ¬† ¬† ¬† ¬† ¬† ¬† 2 – Create expense | ¬† ¬† ¬† ¬† ¬† | 3 -…
  • Use appropriate command(s) to find the total number of “NaN” in “my_rating” column. Show your command and result. Okay so im trying to find total number “NaN” in “my_rating column, this is what I have…
  • PLEASE 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 numbe…
  • Here are the notes that go along with Step 5 (module 4, notebook 2): ¬† Managing Projections ¬† http://geopandas.org/projections.html Coordinate Reference Systems ¬† CRS are important because the geom…
  • hello . Implement SGD Classifier with Logloss and L2 regularization Using SGD without using sklearn There will be some functions that start with the word “grader” ex: grader_weights(), grader_sigmoid(…
  • No idea what I did wrong can you show me how this is done? Thanks. GI’IALLBIGE m I 4.2.3zBasio while loop expression. U Write a while loop that prints user_num divided by 2 until user_num is less than…
  • Your task in this stage is to design and implement a Graphical User interface (GUI) using buttons and labels for the Astronaut Allowance Calculator that provides an easy to use interface. This GUI…
  • use python ¬†. (Sum elements column by column) Write a function that returns the sum of all the elements in a specified column in a matrix using the following header: def sumColumn(m, columnindex): Wr…
  • Visualize 2 import¬†matplotlib.pyplot¬†as¬†plt #¬†Histogram¬†of¬†seats ____(kind=____) plt.show()
  • Read the drinkingWater.csv file and compute access Start by removing the print statement in makePopDictionary and adding a call to readDWdata in main(). Your test program will now be printing out In t…
  • . Content X zy Section 10.16 – CTI 110: Web, Pro X MindTap – Cengage Learning X * Course Hero X C faytechcc.blackboard.com/ultra/courses/_35066_1/cl/outline P3HW2- Salary Calculator X Intro…
  • Content X zy Section 9.14 – CTI 110: Web, Prog X * Homework Help – Q&LA from Onl x + X A learn.zybooks.com/zybook/FAYTECHCCCTI1 10Fall2021/chapter/9/section/14 = zyBooks My library > CTI 110: W…
  • please give all the step to step python program for ticket and check out.
  • I have two columns; one is age group(30 to 40, or 40 to 50, so on) and another is hobby. I want to know how can I choose one age group to make a bar chart to show the rank of hobby. such as, I may cho…
  • PYTHON PROGRAMMING: 1.¬†Given a file object named¬†output,¬†associate it with a file named¬†yearsummary.txt¬†by opening the file for appending 2.¬†Using the file object¬†input,¬†write code that read a…
  • Hello, I need help with my code for Homework 2 part 3.¬† I have the base of my code but I’m unsure what I can add to my code, so it counts the number of happy and sad words for the output for “Sentime…
  • Assignment on strings reports. I was wondering if you could help out with it InfoTc 1040 Introduction to Problem Solving and Programming String Report In this programming assignment you are going to u…
  • Please solve questions 2 to 5 by constructing RECURSIVE functions. Thank you! ¬†. Question 2: Remove Last from Sequence Complete the recursive function remove_last which creates a new list identical t…
  • This question is from hackerrank.com. Need help with this code. The output has to be the same exact as what the question is asking for. Thank you.. me youtube HBO Max Cengage Home FSW Login o Outlook …
  • Write a loop over the strings in list test_miss and call missing_letters with each string. Print a line for each string listing the missing letters. For example, for the string "aaa", the o…
  • The factorial of ¬†n , denoted¬† n! , is the product of all positive integers less than or equal to¬† n : n! = n x (n – 1) x (n – 2) x (n – 3) x … x 3 x 2 x 1 examples could include: 5! = 5 x 4 x 3 …
  • Mary Ruarez owns a business, named Just Throw Me, which sells handcrafted specialty pillows. She currently sells at craft fairs and local gift shops make sample wireframe page layouts for the Just Thr…
  • Re-read the last two paragraphs of the 1917 speech. Why do you think Wilson added these paragraphs? How do you think these words made Americans feel?
  • Add comments on whats happening for output results 1. from datetime import * today = datetime.today() print( ‘Today Is:’ , today ) for attr in \ [ ‘year’,’month’,’day’,’hour’,’minute’,’second’,’micros…
  • Create a function that convert a vector of times into another vector with “Day” or “Evening values” depending on whether each time is between 8AM and 6PM or not.¬† ¬† 2. Create a function to test i…
  • When I remove brackets the review is gone. Only leaves Warning:Spoilers. How can I keep review? In 1 291 1 ūüėź dEZ [ ‘ review ‘ I = dEZ [ ‘ review ‘ ] . Str [ 0 ] dEZ . head 1 21 Out [ 291 1. movie tit…
  • please help¬†. Question 14 (5 points) a. Open a file for writing. Write the days of the week, one per line, to the file. Do this in one single write() statement. Close the file. b. Open the same file …
  • create a list of integers from 0 through 52 and assign that list to the variable¬†numbers. You should use a special Python function – do not type out the whole list yourself.
  • 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)
  • Write a Python program to deal with a paragraph of text, The program has the basic features: 1) Count and print the number of words, using a list [Note] “high-level” is considered one word. 2) …
  • I am using linux bash and I would like to generate the target code as follow: $ ./type2.py The new salary is 13333.3 The codes typed by me are as follow: #!/usr/bin/python salary = 10000 increase =4/3…
  • I have written some codes for my assignment – it’s related to hyperparameter tuning, feature selection, training and fitting a model. However, I have written my codes on a Jupyter Notebook. but I need…
  • This is the second part to a question I am working on. TipTop Output The tiptop.py program takes a posts file as its one command line argument, reads it into the tags dict, and prints a report of all …
  • The bus company “la curva loca” requires determining the cost of a single trip ticket, based on the kilometers traveled and the cost per kilometer. Make a flowchart and pseudocode that represent the a…
  • Hello, please see attached. Thanks. Which one of the following statements about Python dictionaries is true? u You cannot use a list as the value of a dictionary because a list can be changed at any t…
  • def get_elevation_maps(maps_file: TextIO) -> list[list[list[int]]]: “”” Given an open csv file <maps_file>, read the file according to the specification and return all the elevation maps stor…
  • https://www.universityofcalifornia.edu/infocenter/admissions-source-school ¬† 3.1- Below, complete the implementation of the function in_cali, which takes in the name of a region and returns True if t…
  • It is well known that for any instance of the stable matching problem, a stable matching exists, and the Gale-Shapley algorithm returns one such matching. However, the Gale-Shapley algorithm does not …
    • The tripadvisor web page Day Trips in Yellowstone National Park lists the top things to do in the park. For your convenience the code to retrieve the contents of the first page of this list is pro…
  • Human resources analysis dataset : https://www.kaggle.com/pavansubhasht/ibm-hr-analytics-attrition-dataset Business problem for above dataset: Why are your best and most experienced employees leavi…
  • Please describe how¬† tuples ¬†can be useful with loops over¬† lists ¬†and¬† dictionaries in python. What is the value and examples of how it is valueable. Give me a give Python code example to learn …
  • This is a question I already asked but I was missing the pseudocode, it’s attached with this one. I have working code for this program, the only problem is that it’s not outputting any numbers after i…
  • Before you can help me with this, please make sure you have the right software: https://www.anaconda.com/distribution/. You also need the following file: https://www.dropbox.com/s/c9ajvj0zd2b5j8p/MIS5…
  • Write a Python script that will take in two separate lists and return all of the possible combinations of the elements in those lists.¬† ¬† Input string Expected output of script Enter first list: blu…
  • Write python script code to look up retail company customer data by age, address, date of birth, Social Security number, Phone number, Male or Female.
  • I need the correct code answer to the assignment in the attachment. The answer given in Course hero question unlock gave error message. Please try to answer ASAP. Following Links in Python In this ass…
  • Another Python work!¬† Will be simple also. Thanks ony need to finish activity work Python From this point on in the semester we will be working with Python. A great resource for learning Python is, ?…
  • please use the template I attached and output also be like one that attached
  • Got one task that I would like to get some help with
  • Find all the people in a list of customers that have an “X” in their name. Use the regular expression module to determine who all in the following customers has an “X” in their name. Xander Harris, Je…
  • is there a way I can loop print statement instead of being repetitive ?¬† ¬† ¬† all_df =[create_dataframe(names_list[i],heights_list[i]) for i in range(len(categories))] ¬† ¬† men_swimming = pd.concat…
  • Please use PYTHON to answer this question. Thank You very much
  • Write a python program that does the following: Prompt for a file name of text words. Words can be on many lines with multiple words per line. Read the file and convert the words to a list. Call a fun…
  • Create a 3D list in Python3 with random values [0-1000] (size user defined ‘n x n x n’, hence a cube). Then based on the dimensions of the 3D list, create m-number of ran- domly generated 2D lists …
  • how can I create a basic Boolean logic puzzle using “if else and or not” with this information provided CodingBat code practice Java Python Logic-1 > near_ten prev | next | chance Given a non-negat…
  • This program should involve the use of dictionaries. Can you assist me in designing this program and for the code to be as short as possible. Question Problem: Constructing a programming language name…
  • write a short program to help your instructor gather information about midterm marks (this will be fictional). Your program will use loops and conditionals to count the number of each grade letter (…
  • 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…
  • https://raw.githubusercontent.com/vega/vega-datasets/master/data/movies.json I attached the link.¬† This is numPy
  • Please what does this problem means. I keep getting the same error. Traceback (most recent call last): File “main.py”, line 52, in <module> file = open_file_write(FILENAME) File “main.py”, line …
  • How do i get the total netpay in $ def getInput(s): while True: ¬†try: ¬† value = float(input(s)) ¬† return value ¬†except ValueError: ¬† print(“Input is not a number”) ¬† ¬† ¬† ¬† ¬† ¬† def calculate…
  • Create a file with name "hw2.py" and download "last.txt" file into the same directory, where "hw2.py" is located. (5)
  • Use the input function and ask the user for the path to the input file. ¬†If they enter “C:\folder\file.txt” you will need to convert to a valid format for python. ¬†If they do not enter the correct f…
  • Please Have a look at my coding according to this question there is some mistakes help me with that. question is… Write a Python program, implementing encryption/decryption without using any special…
  • In 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…
  • . Q2. Analyze Document Sentiment . Define a function named get_sentiment (doc, positives, negatives) as follows: . take three input arguments: doc (a string) as an input positives : a list of positi…
  • . You have graduated and decided to save up to buy your dream house. In Part A, you are going to determine how long it will take you to save enough money to make the down payment given the following…
  • Hubert the Turtle Python. 1. You were introduced to Hubert the Turtle in one of the labs. This is your oppurtunity to help Hubert figure how to avoid getting eaten by the Big, Mean, Monster of the San…
  • Write a function named text_count that takes in a directory and a filename. It should then read this file from the directory and return the number of words which are in this file. Modify the functio…
  • Loop : prefixes = ‘JKLMNOPQ’ suffix = ‘ack’ for letter in prefixes: ¬†¬†¬†print(letter + suffix) running this code into a Python script prints the names “Oack” and “Qack”. i need to Modify the program…
  • write a program that takes a sentence with two adjectives describing an animal and reverses the adjectives , using regular expressions , and then outputs the new sentence . The sentence that it must …
  • #Backpropagation using Python Consider the following 3-layer feed-forward network. Use back propagation to find updated values for weights w3 and w4 given the input and desired output shown.. Assume E…
  • Suppose there is a graph of n nodes. In this graph, there may exist one node that all other n-1 ¬†nodes have “into” (->) edge to that particular node, but this node does not have any into edge towa…
  • This program helps hikers keep track of how far they have walked per day. Hikers will be asked for the number of days they hiked, then the distance hiked for each of those days. When this is entered, …
  • 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. What is(are) the outcome of X in this game?
  • Apply forward elimination to this system of linear equations to put it into the upper triangular form. Write each row operation you make to solve the problem. Write the matrix and the right-hand side …
  • Provide a Python code for Lexical analyzer that takes in a source file ( extension for your language optional ) and tokenizes all lexemes that fit in your created language Identifiers Key words operat…
  • For datasets kindly refer: https://drive.google.com/file/d/1XPX-8JIgf270GXbzrZS5QfYOTrrLuXjV/view?usp=sharing https://drive.google.com/file/d/1fDi5B-3JQqGz7hRVGBSBaboFAYMSgOQa/view?usp=sharing ¬† 1. P…
  • What are some of the best practices and techniques of which you need to be aware when developing secure programs?
  • In this assignment, start with a sqlite3 database named tech_stocks.db . The database has a table named dow_stocks , which contains data on 9 of the 30 stocks that make up the Dow Jones Industrial …
  • Name Cleanup Quite often, data that is entered into an application needs to be fixed or cleanup. In this application, we need to read in a fullname that has a first name, one or more spaces, a middle …
  • I take a course which name is Artificial Neural Network. I have a question it related with Batch Gradient Descent(Block adaptive) and Stochactic Gradient descent(pattern mode). I have a training set ….
  • Can you help me in making any animation for python. Here is the graphics.py code to make animation import tkinter import time import sys class graphics: def __init__(self, w, h, title): ”’ Initialize…
  • In this program you will create a BlackJack Card Game in Python. Below are the requirements: ¬† Requirements: create a simple text-based BlackJack game(no need to have graphical data). You may refer t…
  • Design Code Based On Whats listen down Below ‚ÄĘ Design constraints – On design or implementation – Programming language, platforms etc. objectives –¬†¬† Requirements ‚ÄĘ User Friendly Interface ‚ÄĘ C…
  • import csv from openpyxl.workbook.workbook import Workbook from openpyxl.styles import PatternFill def sum_list (l) : res = 0 for x in l: res += x return res def min_list (l) : min = l[ 0 ] for x in l…
  • Hello, I need code to draw the letters H, X, M, and X uppercase or lowercase using the block painter module in python. I am given code for block_paint.py which is included below along with screenshots…
  • Here are some hints to get you started: The treasure should be randomly placed on the board, and every time the game starts a new location should be selected. Random numbers may be helpful in doing th…
  • Need source code in R and Python for bank loan default urgently using concepts of data science.
  • For this program you will be translating the following flowchart into an interactive Python program that will help you to determine your ideal Toy Story character based on your personality type: In th…
  • A prime number is a number that is only divisible by one and by itself. Write a program that lists all prime numbers between 1 and 100, using the following method: ‚ÄĘ Create a list named myList of 10…
  • PLEASE MAKE THIS PYTHON PROGRAM USING OOP APPROACH IN THE INSTRUCTION BELOW. THANK YOU! ¬† Stack – Basket Case 1. The python program output shall: 1.1 ask the user to input the number of fruits s/he w…
  • 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…
  • i need help writing a code that displays this. the most basic program you can do but it need to include functions and lists welcome to Carmine’s Italian Restaurant! Here is our menu of the day: 1. Fri…
  • Please help me fix this errors If I run my code in Python3 IDLE, it runs perfectly but on my school unix platform returns this errors ./ex23.py: line 5: days: command not found ./ex23.py: line 6: days…
  • . def read_poetry_form_descriptions (poetry_forms_file: TextIO) \ -> POETRY FORMS DICT : Return a dictionary of poetry form name to poetry form description for the poetry forms in poetry_forms_fi…
  • Could anyone pls solve this question with both recursion and iteration method?. Description + main.py 2 You may define your own functions 1. Permutation 4 Problem Description def main() : 6 You will b…
  • Please code in Python. In this exercise we will practice using nested loops. You will write s program that prompts the user to enter an integer between 1 and 9 and displays a pyramid of numbers, as sh…
  • Create original programs for these in PYTHON ¬† Question #6:¬† #!/usr/bin/python3 import unittest # ————————————————————–e133 # REVIEW: condition, loop, approx…
  • Summary In this lab, write a while loop that uses a sentinel value to control a loop in a Python program. You also write the statements that make up the body of the loop. The source code file already …
  • How can I code this in python: ¬† Use loops to input a list of employee names and salaries and store them in parallel arrays.¬† End the input with a sentinel value. The salaries should be floating poi…
  • COSC 1336 – Programming Fundamentals I Program 12 – Classes and Object-Oriented Programming #Pyhton Programming¬† The owners of the Annan Supermarket would like to have a program that computes the wee…
  • def count_non_digits(s: str) -> int: ¬† ¬†“””Return the number of non-digits in s. ¬† ¬†>>> count_non_digits(‘abc12d’) ¬† ¬†4 ¬† ¬†>>> count_non_digits(‘135’) ¬† ¬†0 ¬† ¬†>>…
  • I can not use the median in-built function in python. Must create custom function that calculates the median. I know the formula to do that in a custom function but am having trouble with the syntax P…
  • I have my working code now need to edit to a GUI using sqlite and tkinter and I’m lost. Looking to store money and users name in DB with start time stop time and duration played. Code below: #########…
  • I need help creating a frequency histogram for the following ciphertext paragraph.(using turtle) tioxerlo ahcw d agsieknj tz il uohysxsqbfmve i urope drr y eogsot mhuas t kkm ceyera antfeithril aose n…
  • What are the solutions to Questions 2, 3, and 4 on this document?
  • 1 in, 2 out Here is a more challenging one to finish with. We are passing in a list of numbers. You need to create 2 new lists in your chart, then put all odd numbers in one list put all even nu…
  • Students in a course need to do lab assignments and take tests.¬†Course grade is calculated from these scores.¬†Help with creating a program to calculate course grade.¬†You must Help create and use th…
  • 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…
  • I need help to write a code that fits the requirements below. The theme of the code is joining a swim team or anyone interested in joining a swim team. I tried to type this out myself but I got stuck …
  • will give high rating if correct! Python Activity:¬† Given: (see pic)¬† Code for copy (Template – see below the picture)¬† class FileNode: ¬† ¬†def __init__(self, filename, depth=0): ¬† ¬† ¬† ¬†“””Thi…
  • My SSU | Salem S… Java Visualizer Salem State Com Perform an analysis of the given data to determine how different features are related to the app popularity. Build a machine learning model that can…
  • a Having a secure password is very important practice, when much of our information is stored online. Write a program that validates a new password, following these rules: I The password must be at …
  • Write a python script called numbers.py that will ask the user for the magic number.¬† It will keep asking them the magic number until they answer ’42’. Once they finally enter ’42’, the script will t…
  • would you please help me write that part code I have file about machineCode.txt and pythonStatements.txt code in that image you can create that two file file in JUPYTER or python before you start writ…
  • (USING PYTHON) Consider the optimization problem min Consider the optimization problem min e^(x_1‚ąíx_2‚ąí0.4) + e^(x_1+x_2‚ąí0.4) + (x_1 ‚ąí 1)^2 + (x_2 + 1)^2 ¬†please implement ¬†code that implemen…
  • I need to develop a web links scraper program in Python that extracts¬† all ¬†of the unique web links that point out to other web pages from the HTML code of the “Current Estimates” web link,¬† both ?…
  • I just stuck on how to find_element, I cannot run,let me know if you know. actions = ActionChains (driver) A3 X1 A actions . click() blow = driver . find_element(id, by, "click") blow_count …
  • INTRODUCTIONThe goal of this programming assignment is to enable you to practice programming using lists.PROBLEM DEFINITION:Write a program that has three functions that do the following (identify par…
  • I’m practicing pandas¬† ¬† Using the data, I want to find the average balance for males and females.¬† ^ this is the data ¬† What I got is¬† I want to show only Balance columns but I don’t know how to…
  • Your application should be able to accept Student data from the user and add the information in a new text file or updates the current file . User can choose the name of file. ¬† 2. Student Data sh…
  • I have designed the following Type Alias / Tuple: ¬† ¬† please kindly share and explain the solution to the following function specification, note that I WASN’T ALLOWED to use list comprehension. ¬† C…
  • This program is supposed to print all odd numbers between 1 and 99 (including 99). However, the program contains a bug. Which single line number in the program can you rewrite to eliminate the bug? 01…
  • [1 point] Write code that checks if a given feature class exists.¬† You can use any feature class to test your code. ¬† [1 point] The syntax for the buffer tool is the following: ¬† Buffer_analysis(in…
  • Can you please right me down the steps to follow to get this code working? Step by step please.¬† Question: Need a final program that meets the requirements outlined below. Need an automobile class th…
  • import math #current_shares = int(input(“What is the current number of shares in the account? “)) #purchase_price = float(input(“What was the original price (per share) paid? “)) #market_price = float…
  • . Corporations generally issue stock dividends on some days. The total dividend you get on such a day is the stock dividend times your shares if you have shares of this stock on the dividend day. if y…
  • Question 1 (60 pts) Sentiment Analysis helps data scientists to analyze any kind of data i.e., Business, Politics, Social Media, etc., For example, the IMDb dataset "movie_data.csv" file con…
  • Ask the user for the operation code (opCode). If integer variable opCode has the value 1, as the user for the double values for X and Y and calculate and print their sum.
  • Write a program that does the following in order: 1.¬†¬†¬†¬† Asks the user to enter a name 2.¬†¬†¬†¬† Asks the user to enter a number ” gross income ” 3.¬†¬†¬†¬† Asks the user to enter a number ” stat…
  • Assignment Part A: Define a python function called ‘make_ip_num’ with one parameter. The parameter is for passing the IP address as a string Convert the string passed into an integer (3232243325) ¬† R…
  • I need help with fill out under else part in def dp_kmeans. This is based on python. There are 3 todo part. So basically I need answers for those 3 todo parts. ¬† The data is in¬† https://drive.google…
  • PLEASE USE RECURSIVE FUNCTION!!. Exercise 8.4 Digit calculator Try to implement func(n, digit) to calculate the times that the digit (0 <= digit <=9) shown in the interval [1, n]. For instance, …
  • Please help with these exception python ¬†questions on this website¬† ¬† https://firas.moosvi.com/courses/2020_WT1/data531/practice/12_exceptions_exercise.html
  • Please Answer all the questions with explanation: 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 QUEST…
  • write a generator fibonacci that returns a generator object that can be used to produce the Fibo. sequence. The function should be able to generate the 10000th fibonacci number in under a few seconds….
  • The purpose of this project is to re-affirm the atomic nature of matter by tracking the motion of particles undergoing Brownian motion, fitting this data to Einstein’s model, and estimating Avogadro’s…
  • **Action:** Iterate over `lionsData` to achieve the following output dynamically. ¬†The order of the Lions does not matter. ————————— Example output _——————-¬† `Blue Lion…
  • how to work that questions codes and runs ? please show me a screen short and runs when you are done ,thank you help me.¬†. Question 3: Working with Dictionaries [5.0 marks] a. Write a code that merge…
  • is_valid_python_variable_name Between one and 32 characters total: all characters must be lowercase letters or underscores, but not more than one underscore in a row Example matches: first_name X a go…
  • How many unique patients exist in the data? Consider categorizing any numerical variable. For example, age can be categorized as¬† ¬† ¬† ¬† ¬† ¬† ¬†[0-18)->Kids, [18-37)->Young Adults, [37-65)-&…
  • Understand a text corpus for domain-specific text classification. Download the dataset from the following link: https://osf.io/8mjcy/ . Conduct EDA of the dataset from the following aspects: (1) How m…
  • In the Array class of the arrays.py file complete the following: Add preconditions to the methods __getitem__ and __setitem__. The precondition of each method is 0 <= index < size(). Be sure to …
  • Pratice questions need answers to understand the questions thank you!¬†. Question 34 (1 point) Equality is checked in Python using the ___ symbol. It produces a boolean value of either True or False. …
  • Can you explain what¬† gencomp ¬†is in the code below?¬† In [6]: my list = [1, 2,3,4,5] gencomp = (item for item in my list if item > 3) for item in gencomp: print (item) Hint: Google generator com…
  • 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…
  • # code will compute and return the convex hull of a sorted list of Points # convex hull is a list of Point objects starting at the extreme # left point and going clockwise in order def convex_hull (so…
  • Please explain the output of the following 2 code. ¬†. def Mystery(n): z = 0 for i in range(1,n): z += n%10 n = n/ 10 return 2 What is output by the following invocation: >>> Mystery(3294). d…
  • I need someone to rewrite the following code with list comprehension: list1 = [4, 7, 12, 8, 25] list2 = [] for x in list1: ¬†¬†if x > 10: ¬†¬†¬†¬†list2.append(x*2) Thanks.
  • 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 …
  • Project 1 In video game culture, an¬† adventure game ¬†is a video game in which the player assumes the role of a protagonist in an interactive story driven by exploration and puzzle-solving. Early adv…
  • For the below given question, solve this in complete steps and then code a PYTHON program to run the same. _____________________________________________________________________________________________…
  • Explain how an algorithm solves a general class of problems and how¬†function¬†definition can support this property of an algorithm. (2 marks)
  • Creating Classes and Inheriting from a Parent Class Suppose you are writing a computer game where the graphics are made up of various types of shapes. Each shape has certain properties, such as the nu…
  • use basic operation 1. Increasing Numbers in List Write a function numIncreasing that takes as input a tuple of numbers and returns the first sequence within the tuple that is increasing order and has…
  • The Programmer uses the following values to evaluate the equation: A = 4, B = 2, C = True and D = False What will be the result in F after the following right-hand side (RHS) expression is evaluated? …
  • Python help! Write a program that prints in alphabetical order the unique command-line arguments, out of all those it receives
  • Build a regression model to predict the change in price of the stock overtime. It can either be linear regression or non-linear regression. Write your codes. Note: I have posted this question once but…
  • takes a piece of text (in the format of shown below) as an input extracts these columns: Symbol, Name, Last Price, % Change, Volume, Market Cap as a list of tuples saves the list of tuples as a Dat…
  • some test cases and def enigma message code. #%% Project Option 2: Build Your Own Enigma Machine III Explain and justify your choice of test cases in this documentation comment. You may wish to define…
  • Problem 2: Decipher this ASCII message {-} In this problem, we have given you a coded message that needs to be deciphered! The coded message was stored using ASCII encoded characters. ASCII stands for…
  • What is the python code to create this widget?. Task In this task, we will write a program test9.py, which uses classes and objects to deal a hand of cards, score it according to the number of pairs, …
  • How do I put the abc’s in a line, not printed downward in python 3
  • tackle every question here (a) A Moore machine is required which produces the counting sequence 0,1,2,3,4,5,0. Give a minimum sum-of-products for each of the next state variables for an implementation…
  • Task 7 Complete the function to remove the word WGU from the given string ONLY if it’s not the first word and return the new string # Complete the function to remove the word WGU from the given string…
  • Assignment¬†#1¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†…
  • I’ve been stuck on this for a while. I’m trying to print the acronym for “local area network” in python but my code is not working. Can anyone help identify what I’m doing wrong?
  • 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 i…
  • Write a function named xplace that accepts a string and returns the same string with the first letter replaced by an ‘x’ (5 points) In [ ] : # your code for problem 10 Problem 10 Tests: In [ ] : a…
  • I need help with this question please Figure 1: Sample Bar Graph Question 6: Write a program that uses the turtle library to create a bar graph. The program should take two parameter arguments: a list…
  • part 2 of assignment on this link.¬† http://cs.nyu.edu/courses/fall16/CSCI-UA.0002-007/hw9.html
  • . PL MEHPPV – Notepad File Edit View 648 . 686 0. 2063009573592 648 . 883 0. 2185733359848 649 . 08 0. 2028919632965 649. 277 0. 2288287264566 649 . 474 0 . 2162154484248 649 . 671 0. 2391693417801 …
  • How do i intepret this code? while True: ¬†¬†try: ¬†¬†¬†¬†plant_name = next(plant_file).rstrip() ¬†¬†¬†¬†all_plants[plant_name] = list(l.rstrip() for l in it.takewhile(lambda line: line != ‘\n’, plant…
  • How do I complete step on python programming? 4. Function Two: simpleInterest Specification: The second function you will write should be called ‘simpleInterest’. Your function should take three (3) a…
  • My code produced the game board. I am unable to see the pieces and play the game. I have missed something. Also I need all the variables of the specified in the attachments. . Please adjust the button…
  • A customer comes into a grocery store and buys 8 items. PYTHON program that prompts the user for the name of the item AND the price of each item, and then simply displays whatever the user typed in on…
  • produce a program that reads in a string and prints whether it: Input string = ‘This is the python 2.’ Output: ¬†if each case returns true, print the statement as ‘String contains only the case’ ¬∑¬†?…
  • Define a function called draw_color_pinwheel(size, color1, color2) which creates a pinwheel with alternating colors.
  • Make a Python program that reads an integer that gives the number of integers to be read and then reads these integers into a list. Print the total of these integers except that if an integer appears …
  • Define the¬†Artist¬†class in Artist.py with a constructor to initialize an artist’s information. The constructor should by default initialize the artist’s name to “None” and the years of birth and dea…
  • Write a program that calculates a bearing and distance from 2 sets of UTM coordinates. Here are the coordinates to use as an example in the report; Calculate bearing and distance between these campuse…
  • 1. What are different types of Loops supported in Python, explain with examples.
  • INSTRUCTIONS : 1) Python Programming¬† 2) No use use of built in libraries and built in functions 3) Use Functions name and parameter name is same as given in question. Class Graph: def init_(self) : …
  • A program is required to compare three numbers to see if any of them is equal to double the sum of the others. The program will take three integers, between 1 and 100 inclusive. The program should out…
  • Python Plot please! Observation: 1.6- 1.2- 0.8- 0.4- KCBS -0.092- 1.6 1.2- 0.4 0.289 B 2.025- 1.9 1.7 1.5- 1.3- 1.1 0.7- 0.5 – – – – – – – – . . . . . . .L . . . …… . .– 120m 140n 160m 20n 6On BO…
  • for i in range(10): print(”.join(map(lambda x:’ ‘*(5-len(str(x)))+str(x),range(i*15+1,(i+1)*15+1)))) ¬† ¬† It prints out: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29…
  • Question 1 coding in python please. 1. Setup Run the two cells below to load the packages and data necessary for this exam. The dataset CPS85 contains data on 534 individuals surveyed in the year 1985…
  • “The CreditCard class which is mentioned below initializes the balance of a new account to zero. Modify that class so that a new account can be given a nonzero balance using an optional fifth paramete…
  • Hello! How do I get in touch with someone for my homework assistance? I am taking a Python Programming class taught online from India. I am in the US.
  • I need to create a counter class that takes a string and can produce (via a method named¬†count) a¬†dict¬†containing each word in the string as its keys and the counts of each word in the string as it…
  • 8 The key purpose of splitting the dataset into training and test sets is: O To reduce the number of features we need to consider as input to the learning algorithm O To reduce the amount of labelled…
  • Dictionary reader Writes a function dictionary reader that takes a string argument containing a filename. The function should open the relevant file, iterate through each line to form a list of the wo…
  • python: Given dict = {‘a’: 1, ‘b’: 2, ‘c’: 3} , how do you access the second element of the dictionary?
  • How can I find students who have same gender? The following screenshot is what I have done so far. Please show me the detailed codes. D data_collection = { "student2": {"gender": &…
  • PYTHON CODE PRGRAMMING ONLY! DO NOT SUBMIT YOUR SOLUTION TWICE IF YOU HAVE RESPONDED TO THIS BEFORE Here is a link to a folder that has two files which will be needed in order to form a response: http…
  • Could I please get some help writing this program in Python in the SIMPLEST way possible? Thank you! My task is to form a program that incorporates a list of integers.¬†The program will have th…
  • write code of this problem using pandas in python Write Code in mhon You have a Eco-hotel Data Set (https://archive.ics.uci.edu/ml/datasets/Eco-hoteI) in the format of comma separated file (dataset-Ca…
  • 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 to generat…
  • Given a n √ó n matrix A and a positive integer k, compute S = A k . The input contains the following ‚ÄĘ A matrix A containing n * n nonnegative integers (each less than 100). You can assume that n ?…
  • Evaluate the output and error message of the following code at a shell prompt: print (“My name is”, name) Then assign name an appropriate value, and evaluate the output again.
  • Write a program in Python that would generate a phone number if the user enters the number as 1-ASU-HOLIDAY (which is 1-278-4654339) using the keypad below as a reference.
  • Assume that the stock market has an annual mean return of 10% with a standard deviation of 20%, and that the annual risk-free rate is 4%. Assume that the annual market return follows a normal distribu…
  • Create a linear regression analysis with R to predict the size of the population for the state you live in for 2020 based on the ‘Current Estimates Data’ dataset.
  • #RQ1 class Cheer: “”” >>> UC = Cheer(“Bearcats”) >>> for c in UC: … print(c) … Give me an B Give me an e Give me an a Give me an r Give me an c Give me an a Give me an t Give me …
  • How to create music symbol of frequencies.¬† Example:¬† b = 220 c = 240 d = 270 a = 300 b1 = 337.5 c1 = 360¬† d1 = 400 a1 = 450 b2 = 480 c2 = 224 d2 = 256 a2 = 288 b3 = 320 c3 = 384
  • Answer and explain the following problem. There is an example below. ¬†. Example: Pattern . Write a Python program to print alphabet pattern ‘A’. * * * * * * * * result str="" for row in ran…
  • Describe your experience so far with peer assessment of¬† Discussion Assignments . ¬∑¬†¬†¬†¬†¬†¬†How do you feel about the feedback and ratings you have received from your peers? ¬∑¬†¬†¬†¬†¬†¬†How…
  • In this question, you must design and implement two programs in Python, one for Dijkstra’s algorithm and one Floyd’s algorithm, to compute all-pair shortest paths in any given graph. Each program must…
  • Improve the code documentation and naming of the City class. The current variable naming, commenting and code structure in the City class is terrible. Perhaps the author was rushing to finish it, or g…
  • For this project1.pdf, question 2.1 how would you go about solving that code? GIVEN CODE: population = Table.read_table(‘population.csv’) countries = Table.read_table(‘countries.csv’).where(‘country’,…
  • LAB RESTRICTIONS, PLEASE READ: Do not add any imports, the ones that you need will be given to you. You may not use any dictionaries or dictionary methods. Do not use try-except statements, you should…
  • ( I am Stuck In this ). Create two list (lst_a and lst_b) of 10 integers each. Items should be added in the list by getting the input from users by using a single Loop (use while Loop). user shouldn’t…
  • Code a Book class where each book has attributes corresponding to title, author, publisher, year (of publication), and page_count. Some sample books are provided in the list below. Make sure you use g…
  • This assignment will extend Unit 3 Lab 1. You will develop a new class, ArtistTurtle, that extends the turtle class to include a new method, draw_smiley. The draw_smiley method should have a size para…
  • Function DelMeeting¬† This command removes an existing meeting. The system asks the user for the day of the week and the start time of the meeting. Then, it removes the meeting from the weekly timetab…
  • Python¬†3.6 Part 1: a Parser with a Positional Argument: The positional arguments are required when you run your program. If you design your parser that have a positional argument, you have to use tha…
  • Using Word, Visio,¬†draw.io¬†(Links to an external site.) ¬†or another digital tool – or neatly by hand and scanned in – draw and submit a complete UML diagram for the “In the Spotlight” item in Cha…
  • . Preparing the dataset We will next perform 3 preprocessing steps before running the classifier: . Split the datset into training and testing sets . Scale the training and test set . For step 1, we…
  • Write a program whose input is two integers. Output the first integer and subsequent increments of 10 as long as the value is less than or equal to the second integer. Ex: If the input is: -15 30 the …
  • 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…
  • 2.2: Basic function call. ¬† Complete the function definition to output the hours given minutes. Sample output with input: 210.03.5
  • Task 4: Remove Outliers <¬ß2.2 Loops; ¬ß4.1 Tables> ¬† Implement a function remove outliers(table) that takes as input an n √ó m table of numbers. The function replaces every instance of the max…
  • Let us build two predictive models on the following dataset: (http://archive.ics.uci.edu/ml/datasets/breast+cancer+wisconsin+%28original%29) ¬† # load the breast cancer Wisconsin dataset from sklearn….
  • Please write your program in python. ¬† In this lab, you will implement a DNS client that can query an existing DNS server for domain name to IP address translation. We discussed in class the operatio…
  • getting error OSError: [Errno 22] and also need help on how to get label on images that say “hot dog” and “not hot dog” image helpers import requests def get_image_from_url (imgurl) : “”” Loads and re…
  • 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 …
  • the following function, hasFourHs is supposed to return to True if there are at least 4 ‘H’s in the parameter astring. There are three logic errors in the code. Explain what each error is,then show ho…
  • implement decision tree method.¬† import csv import numpy as np¬† # http://www.numpy.org import ast from datetime import datetime from math import log, floor, ceil class Utility(object): ¬† ¬† # This …
  • Complete the following steps for this assignment: 1. Review how to design flowcharts from your textbook beginning at pg. 34 and the¬† Flowchart Resources ¬†¬†Download Flowchart Resourcesfor using draw…
  • can u help me of this 1.) These exercises will have us compute the decimal approximations of three very important irrational numbers – V2 , 4 = 1 + v5 2 7 . V2 = 1.414213562373095048801688724209698078…
  • Here is the link to the data set: https://files.catbox.moe/8rj2hu.csv Just copy and paste the link into your browser and it will download the csv dataset file. The bottom part is just code to test you…
  • outcome = {‘Progress’: 0, ‘Trailing’: 0, ‘Retriever’: 0, ‘Exclude’: 0} while True: valid = [0, 20, 40, 60, 80, 100, 120] try: PASS = int(input(‘Please enter your pass: ‘)) if not PASS in valid: print(…
  • Given Code ¬† #Write a function called clean_data. clean_data takes one #parameter, a dictionary. The dictionary represents the #observed rainfall in inches on a particular calendar day #at a particul…
  • I need python code pleass code in pycharm and then send code and output screenshot 17. Short Name Write a program shortname.py, reading a first name and a last name (given name and family name) as two…
  • Exercise 2 Now let’s work with tuples and lists together You are given a list of triples that consist of an actor’s name , the actor’s birth year , and the actors death year (which is the special valu…
  • . Question 4: (5 points) Implement a recursive Python function called prodListPos rec that takes as input two parameters (a list and its length), and returns the product of the positive elements …
  • a python code based on pseudocode¬† // Local variables Declare String str Declare Integer index ¬† // Get a string from the user. Display “Enter a string.” Input str ¬† // Step through each character …
  • 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 Transver…
  • Need help on this python program. All of the files and instructions are attached.
  • print a python function that, given a list of pairs (a, b), returns the list of all of the original tuples where a <= b.
  • Final Project Description: ¬†Write a program called¬† cryptostat.py ¬†that provides summary statistics based on the data about a cryptocurrency (Bitcoin, Cosmos, Dogecoin, Ethereum, etc.) contained in…
  • help with python hw As usual, let’s investigate our data visually before analyzing it numerically. The first relationship we will analyze is the relationship between a player’s Pick Number and their C…
  • . aded Parsons Problems A number has a digit-position match if the ith-to-last digit is i. For example, 980 has the last oth-to=last digit as 0. Or 98276 has the 2nd-to-last digit as a 2. Write a fu…
  • Need to answer with the information already given. Thanks. errank.com/contests/150 / challenges/arithmetic-exponent h Hulu | Home youtube ( HBO Max Cengage Home FSW Login @ Outlook cengage My lab Stat…
  • What does these lines mean in R code? ibrary(tidyverse) load(“../data/mydata-2020-cleaned.Rda”) reg <- lm(drivers ~ date, data = df) summary(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 not …
  • please see the attached picture. consider the function poweroftwo shown below: Consider the function power of Two shown below :" 1 . HEF powerOfTwoing* 2 . If 17 = = 1 !` return TRUE 4 . ELIF 1 $…
  • Task 1: Simulate the radioactive decay of a large initial number of atoms (N0 at time t = 0), by using a random number to test whether or not an atom has decayed in a time step. For the initial sample…
  • I need help with couples of program, can someone help with this homework. coding; Problem 1: Song Lyric Analysis Part 1: Choose a song, save as lowercase choosing a song lyrics. You can pick any song …
  • Write a program that prompts for a file name, then opens that file and reads through the file, and print the contents of the file in upper case. Use the file¬† words . txt to produce the output below.
  • Objective: I need help creating a text-based Shopping Catalogue that lets you navigate, and add items to a shopping cart, from different categories of items, before taking your list to cash out and ge…
  • The input will be in the form of list of strings. The size of that list could be anything from 1 byte to 1TB. Therefore, your solution should be robust enough to handle any size. 2. Task: Search an…
  • Using python please. X Bb 7874046 x 9 New Tab X kboardcdn.com/5e017c6ea5a61/7918650?X-Blackboard-Expiration=16465356000008X-Blackboard-Signature… 1/1 – 100% + 1. (25 pts) Computing the volume of a c…
  • It’s advising time! Time to start thinking about classes for the Fall! It can be tough to search through the course listings to find the classes you want. So let’s write a program to help you out!…
  • You’ll create the following classes using inheritance: A base class called Pet A mix-in class called Jumper A Dog class and a Cat class that each inherit from Pet and jumper Two classes that inherit…
  • For this assessment, you will be answering questions derived from the ‘ Chinook ‘ database. You should download a copy of the database(opens in new window) and load it into a Python script before atte…
  • psudocode this for me please def print_factors(x): print(“\nFactors of”,x,”are”) for i in range(1, x): if x % i == 0: print(i,end=” “) print_factors(15)
  • I’m trying to make a program called “tabs_to_commas.py” that when run on the command line, takes the name of a CSV file that uses tabs as delimiters and converts it to one using commas as delimiters w…
  • Write a program to prompt the user for hours and rate per hour to compute gross pay. Enter Hours: 35 Enter Rate: 2.75 Lab Exercise 1 Change the socket program socket1.py to prompt the user for the URL…
  • 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…
  • Please provide me only with the correct code and nothing else. I have attached the downloaded file. < >O learn.zybooks.com C zyBooks My library > IT 140: Introduction to Scripting v3 home &gt…
  • Write Python GUI program to accept a number n and check whether it is Prime, Perfect or Armstrong number or not. Specify three radio buttons. [using Tkinter]
  • Question: There are two datasets TwADR-L (from Twitter) and AskAPatient (Link: https://zenodo.org/record/55013#.YgU2NN-ZO4T) for medical concept normalization. However, the two datasets have serious d…
  • 5 Problem 4 (1 mark) This problem might be a little harder. Hint: do you need a loop? Problem: A rugby team has 15 players. A bus company has big buses that can carry 48 passengers and small buses t…
  • 2 pts Question 12 Examine the pseudocode listed below. It is free of syntax errors. Assume main is being called. What will be the output once this is translated into a language? Module Main( ) Declare…
  • you just accepted a position at nyu’s its department and your first task is to write a program that generates student net ids for all incoming freshmen. the first two characters of a student’s first n…
  • I have this project I am working on and it seems relatively easy, but I am struggling to figure out how to do it. Here it is: Parsing and Manipulating XML Data XML is the basis for many interfaces and…
  • Your company is a non-profit whose purpose is to advocate for equity in handling and providing long term solutions to city maintenance problems (trash collection, potholes, etc.) in Kansas City, MO.¬†…
  • . Problem 2 (KNN for simple data). There are 40 2-dimension training data and corresponding labels (0"3) have been saved in the "knn_minitrain.npy" and "knn_minitrain_label.npy&q…
  • Python 3 question, please answer as soon as possible. A regular deck contains 52 cards. There are 4 suits: Hearts, Diamonds, Spades and Clubs There are 13 ranks: Ace, King, Queen, Jack, 10, 9, 8, 7, 6…
  • def compute(n): ¬† ¬†i = 2 ¬† ¬†sum = 0 ¬† ¬†while i <= n: ¬† ¬† ¬† ¬†sum = sum + i ¬† ¬† ¬† ¬†i = i + 1 ¬† ¬† ¬† ¬†return sum
  • Need help with Python Code. I tried to follow online tutorial for code, but was getting errors Data here: https://www.cs.toronto.edu/~kriz/cifar.html. 1 Multi-Layer Perceptron [20pts] In class we disc…
  • Question: Can you help me fix my error in the test cases for function service_response? Additional information: We CANNOT use if statements or method calls. We can only use functions from here: https:…
  • I’m not sure if I’m writing this code correctly. The output is right but its not spaced out. Please give the write code or explain how to fix this. < > learn.zybooks.com Homepage – Southern New …
  • A variable like userNum can store a value like an integer. Extend the given program to print userNum values as indicated. (Submit for 2 points). (1) Output the user’s input. Enter integer : 4 You ente…
  • How do i write a class that implements the Adaboost algorithm. Your class should be similar to sklearn’s in that it should have a fit and predict method to train and test the classifier, respectively….
  • python, TCP, server socket, fill in the code # don’t modify this imports. import socket import pickle from threading import Thread class Server(object): ¬†¬†“”” ¬†¬†The server class implements a serve…
  • Decrypting when you are not given the key Two files: secretfile.txt.gz.enc – A ciphertext encrypted with Julia’s cipher ¬† cse365encrypt.py : import argparse import os import time #import socket impor…
  • How do i write a Python program that defines a ‘my_greatest’ function. I want the function to be able to calculate and print an average of three values accompanied by a message/statement. I would like…
  • Use Jupyter notebook to solve this using sklearn package or scikitlearn.. 3. (12 points) In this problem, you are asked to use decision trees for regression with two different target loss functions: m…
  • Hi, how do i code this in python? #Here’s the grph to look at- # import networkx as nx # G = nx.Graph() # nodes = [‘Newport Pkwy’, ‘Lafayette Park’, ‘JCBS Depot’, ‘Fairmount Ave’, #¬†¬†¬†¬†¬†‘Liberty …
  • 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 remove spaces from being counted. It is currently counting t…
  • Thank you for your help Exercise Description: Write Gerkin test scenarios (Given, When, Then statements)¬† describing ¬†tests for the file below. Grading Elements Scenarios are written according to th…
  • ConSIderIng the ability to drwde a program’s various functions up Into smaller blocks or reusable code, how might this change your way of thinking when designing a program with multiple functions? Ho…
  • A Python program to take a string as input from the user and print that character which has the highest number of occurrences in that string. *** if more than one character has the highest number of o…
  • Hello, i wanted to ask you a Question? How much will you take from me to ¬†do my next assignment for Python Programming? COMP 3140 Assignment#4 Due on or before 6/28/2016 at 11:59PM All programs shoul…
  • You are hired by a company Gem Stones co ltd, which is a cubic zirconia manufacturer. You are provided with the dataset containing the prices and other attributes of almost 27,000 cubic zirconia (whic…
  • We use Inheritance to group classes under some common Class for reducing complexity. In our application, many exhibitions and Stage show may happen. Since they have common attributes like name, Addres…
  • In introduction to python programming explain what is reading and writing files are and give an example using python 3 program or the following website. https://repl.it/languages/python3
  • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
  • Task You are to write two source files as described below: ¬∑¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†The first file named stockApp.py , should contain the following two classes: ¬∑¬†¬†¬†¬†The first is a class called St…
  • GitHub and its use for code developers. You will be required to use 3 sources. One of them can be the following video, which explains the main idea behind GitHub. Raval, S. (2018, July 2). ¬†How to …
  • . Assignment 4: Comparing frequency content of a signal Many interesting time signals have changing frequency content. Music is one example, since different notes have different fundamental frequenc…
  • Hello! I am starting a project in python that has to do with creating graphs in python and looking at a dataset and creating a graph from that. The dataset is a csv file that will be opened and read b…
  • 01 – Spherical Surface Area 10 coding python Given the radius of a sphere, calculate and return its surface area. Surface area is given by the following: A = 4*PI* (r**2) where PI is the constant 3.14…
  • please help me to create class Qualification with public member variables: Qualification name and number of modules required.¬†¬†The following specifications are required: Ôā∑ Add init() method of the…
  • Consider the following interaction with Python (1) Consider the following interaction with Python: x= [1 , 2,34 ,5 ,6 , mp . nan] y= (10 .1,2,5, ‘Missing’ ,6.3) (‘a’: 0.1, ‘b’: 1.2. ‘c’ : np . nan , ‘…
  • Need help in coding below problem in python. Description read_input(fileName): This function is to take one argument which will be the name of a CSV file with the data values we wish to process. This …
  • Can someone help me figure out what I’m doing wrong?
  • I can’t figure out to create a Apriori algorithm using python with a SQL import. I can send the data set. Transaction ID Transaction Trans1 A Beginner’s Guide, Java: The Complete Reference, Java For D…
  • wrte a program to output the screenshot for the website : eg: https://www.homedepot.com/p/Energizer-MAX-Alkaline-AAA-Battery-30-Pack-E92SBP30H/302292202 website shout be user input and may contain mul…
  • do the following using python pandas # In this exercise you will be required to calculated the inflation-adjusted values for SP500 # 1. Download “Consumer Price Index for All Urban Consumers: All Item…
  • Please answer correct and fast as fast you can. You are given an array A of size N. You have to choose a number K between 1 and N (inclusive) . Your score will be the sum of all the elements Ai such t…
  • Good afternoon. Could you help me write the following code in python? I am new to this language and I would like to have an example code. Could you incorporate some classes? Thank you in advance. This…
  • Below is is the code for a text based game. I am having trouble figuring out how to get my directional commands of “go North/South/East/West” to allow the player to move between rooms. If you run the …
  • . 4. Morse Code Converter Morse code is a code where each letter of the English alphabet, each digit, and vari Punctuation characters are represented by a series of dots and dashes. Table 8-4 shows …
  • . Ask the user for their favourite ice cream flavour, according to the following example: Inlha’l: is your favourite flavour? Pickle The text in bold is to be the prom pt. The text in red is a sa…
  • . def _shift_left(self, parent) : shifts the parent node to its left around its right child. Updates the heights of the shifted nodes. Use: parent = self._shift_left(parent) Parameters: . . . parent…
  • Linear Regression problem with excel sheet provided by google drive link: https://drive.google.com/file/d/1vtVhQYksWqcbEaQKRH19iJx63IfNtz4H/view?usp=sharing Question 1: The historical relationship bet…
  • Write a function optimisel_lds (plan, start, capacity) that takes a plan as a list of moves, an initial start location of our truck, and the (integer) capacity of our truck, and returns an integer cor…
  • PLEASE IMPORT SYS AND ARGV MUST BE USED TO RUN PYTHON PLEASE IMPORT SYS AND ARGV MUST BE USED PYTHON PLEASE IMPORT SYS AND ARGV MUST BE USED PYTHON Use the sacramento.csv file to complete the followin…
  • How can we approach a fizzbuzz queston without loops in Python? fizzbuzz: ¬†method that prints the number you put in except print “fizz” if the number is dividable by 3, and “buzz” if it is dividable …
  • userNum = int(input()) userNumSquared = userNum + userNum ¬† # Bug here; fix it when instructed ¬†¬† print(userNumSquared, end=”) ¬†# Output formatting issue here; fix it when instructed print()
  • . Task 3 (1%) Copy and paste the above data in the sheet 1 of an excel file "input.xIsx’. Copy and paste the following data as the sheet 2 data of the same excel file: i) Read the sheet 1 data …
  • Create a Python program that computes the average grade for each of a group of four students . Your program should include a list of four student names. ¬†You decide on the names of the four students….
  • Please help me answers this. 2. According to the Center for Disease Control https :/ /www. cdc. gov/salmonella/, the bacteria Salmonella causes about 20K hospitalizations and nearly 400 deaths a year….
  • https://www.cs.bu.edu/courses/cs111/problem_sets/ps7.shtml ¬† ¬† Q3,4
  • Create a flowchart for this: Create a flowchart for this: Create a flowchart for this: ¬† Use the Bash shell for the completion of this project. Develop a shell scripting application that allows the u…
  • Calculate the concentration profile in the isothermal spherical catalyst pellet for the first-order reaction taking into account the mass transfer at the pellet external surface. 1. Write the dimensio…
  • What command is used to extract the configuration from a particular module? A: logging.StreamHandler B: logging.getLogger C: yaml.safe_load D: logging.config.fileConfig
  • solve this using python3/anaconda/ jupiter notebook. also. add commnents
  • A programmer gets a response from the youtube API and saves it as a file called ‘‚Äč youtuberesponse.txt‚Äč ‘. In a single python script which prints the following: Note: quoted values are from the js…
  • 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 …
  • write the state of the elements of the list below after the first 3 passes of the outer loop of the selection sort algorithm. Recall the sorting lecture, write the state of the elements of the list be…
  • FLODE Question! Please only answer this if you know how to diagram in FLODE: 1: 2: quare H>0I9900¬ģ challenges @ G 2. 3. Squared ¬ę Create a program In Flode that Will accept a value. Store this va…
  • The second image represents the small_reviews CSV file. The third image shows the book_names CSV file. ¬† With these two CSV files provided, how should I implement the code? (Description shown on the …
  • 4. Main function This function ties it all together. Do this: 1 . ‘59535’ Define three variables: errorProb = 0.01 desiredParity = 0 # even fillChar = "~" # tilde Get a string from the …
  • USE PYTHON TO SOLVE THE QUESTION. Question 3: How long does it take to compute (X X)"X ‘ y? What about if you multiply m by 3 (but leave n the same)? What about if you multiply n by 3 (but leave …
  • Probability and random processes using python: You are waiting for a bus to take you home. There are two buses you can take to get home: red buses arrive at an average rate of 4 per hour, and blue bus…
  • I have a skeleton code here for this project but do not know exactly where to start. My task is to¬†implement a reliable File Transfer Protocol (FTP) service over UDP.¬† ¬†I need help to write the rel…
  • import requests import json Ann_Arbor = {“term”: “Ann+Arbor”} page = requests.get(“https://itunes.apple.com/search”, params = Ann_Arbor) itunes_data = page.json() print(type(itunes_data)) print(sorted…
  • Hello again! Recently you completed a project for me, I now have one similar to the exact same one you did, except the due date isn’t until Weds of next week. I can attache the sample outline to give …
  • Id like to iterate that this is written in python and, to stress the two main function definitions that it states. Def simulate() with three parameters as shown, and def plot() that takes no par…
  • python 3. Write a function digit_index_factory which takes in two inputs, num and k, and returns a function. The returned function takes no arguments, and outputs the offset between k and the rightmos…
  • My program isn’t performing the calculation please help. Below is the assignment and the program I am working on. Im hoping that the program I included can be fixed rather than a brand new program. Bu…
  • Please code this in Python or show it step by step, thank you! Consider the following linear system – 202 -4 4×1 -01 +4×2 -3 – 2 +4×3 = 6 +4×4 -05 -1 +4×5 -6 = -2 -2 -04 +4×6 = 6 . Apply SOR (w = 1.2)…
  • python language on processing. Page 2 of 5 ZOOM + ak Purpose: Practice combining data from lists and writing it to tabular files. Degree of Difficulty: Easy For this problem, you will write a program …
  • I am trying to make a class named Student which holds the following data about a student as Name, Student ID number , GPA , Expected grade in this course , Full time or part time Than trying to create…
  • how to Write a program in python that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are …
  • Please show each detailed step. Part 2. [10 pts] Implement the Uniform Cost search where you can use the trip distances as the edge costs. The program should input two node ids from the user and outpu…
  • : 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…
  • I just need help with the task, all of the instructions are on the cropped picture should read a year number from the keyboard and print out the list of CPI values for that year. After that, it should…
  • 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 these lists. For example: https://w…
  • Use Jupyter NotebookÔľĆ Show the coding progress Load the Iris dataset (the objective is to predict 3 different types of iris flowers) from scikit-learn https://scikit-learn.org/stable/modules…
  • HERE ARE SOME LINKS TO DOCUMENTS YOU WILL NEED TO COMPLETE THE WORK: click_sep.csv : https://drive.google.com/file/d/1GjhqPIrvOU6bkuc4cH7iwAxUdbzpqiRp/view?usp=sharing buy_sep.csv : https://drive.goog…
  • Write a Python program to calculate the total order cost of drink can packs. Each pack contain a varying number of cans. Each order incur a standard service charge of $1, irrespective of the number of…
  • I keep getting out of range errors, and the the program tries to default input to the Salc function in mylib line 66, in <module> ¬†¬†¬†scalc(p1) line 46, in scalc ¬†¬†¬†if astring[2] == “+”: In…
  • Userequestslibrary to get the content of webpagehttp://example.com ‚ÄĘUse BeautifulSoup to parse the page content, name itpage1‚ÄĘDisplay the<body>portion of the content ‚ÄĘPrint the first pla…
  • Example CODE: INT, FLOAT, ID, SEMICOLON, ASSIGNMENTOP, EOI, INVALID = 1, 2, 3, 4, 5, 6, 7 def typeToString (tp): ¬† ¬†if (tp == INT): return “Int” ¬† ¬†elif (tp == FLOAT): return “Float” ¬† ¬†elif (tp…
  • Write a program that takes an integer as a parameter and displays the number with its digits¬† reversed. For example, the value of 12345 is 54321
  • 1.1:¬†A basic computer program. Start 2x speed Input (keyboard) Output (screen) x = Get next input y = Get next input z = x + y Put z to output 2 5 7 Computer program 2 5 7 x: y: z: 2 5 Captions key…
  • 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…
  • Create a list, mylist. Add 5 values of your choice in it. Demonstrate your knowledge of how you will create a. A dictionary, mydictionary, which has this list as a value. b. Access the second membe…
  • Write a Python program that will repeatedly ask a user to input a person’s age. The program should continue to ask for input until a negative number is entered, indicating that the user is done inputt…
  • The csv file Unit04_wnvhumancases.csv is identical to the text file used in the previous proble, with the exception that it contains a header line and all fields are delimited by double-quotes. The co…
  • Function Two: sumNumbers Specification: The second function you will write should be called ‘sumNumbers’. Your function should take three (3) arguments: each one an integer between 0 and 100. The f…
  • Some topics this question might cover include: if statements While loops with no if statements While loops with if statements ¬† There is no for loop. Simple with not too many lines of code is always …
  • Python program that accepts a string as input. It should analyze some characteristic of that string and display the result of that analysis. The program must use at least one of the following: string …
  • make a program that calculates the cost of going to a school ¬†prompting the user to specify these things how many credits they are taking(each credit is $94 per hour) if they are in-state students or…
  • http://prntscr.com/l95xfz I don’t understand how to take a list of numbers and how to return the longest run. I’d appreciate any help.
  • Programming Assignment 4 ¬† For remote access, it’s often better to use a Command Line Interface (CLI), rather than a Graphical User Interface (GUI). A CLI does not use a mouse. However, a program can…
  • I don’t understand how to create an excel and insert information from other function. # https: //xlsxwriter.readthedocs.io/tutorial01.html # https: //xlsxwriter.readthedocs.io/worksheet.html # https: …
  • In this lab, you suggest a¬†while¬†loop that uses a¬† sentinel ¬†value to control a loop in a Python program. You also write the statements that make up the body of the loop. The source code file alre…
  • There are three basic structures in programming – sequence, selection, and loops. Discuss the use of each structure. As part of your discussion, include an example of each. Your example may be draw…
  • n= int(input(“Please enter a number from 5 to 15: “)) print(n) m= int(input(“Please enter a number from 5 to 15 (again): “)) print(m) for c in range (n): ¬†¬†for e in r..6@runweb6:~$¬†¬†[¬†Executing¬†…
  • Faults and errors are two different words that mean the same thing. Select one: True False
  • 05 – Get the most frequent words Find the top 10 most frequent words counted in word_count , and save them (in order from most to least frequent) in a list called top_10 Hints: – import itemgetter (se…
  • One of the philosophies behind Unix is the motto do one thing and do it well. In this spirit, each shell command usually has a very specific purpose. More complicated commands can be constructed by co…
  • python – write a function filterwords that takes a list of words and a letter and returns the list of words that contain a letter ex: wordlist = filterwords(“this”, “is “,”a”,”long”,”word”) contain an…
  • I need help correctly answering these questions. Exercise ‘3. {a} Generate a multi‚ÄĒsig transaction imrolying four parties such that the transaction can be redeemed by the Ô¨Ārst party {hank} combine…
  • enter a function that will ask the user for an integer and continue to prompt them until a valid integer is given. The function should take a prompt to display to the user as an argument, and return t…
  • Can you kindly help me answer this question? 1. Bangladesh In the population table, the geo column contains three-letter codes established by the International Organization for Standardization (ISO) i…
  • Thank you!!!!!!!!!!!!! (2 pts each) As discussed in Section 2.4, the type () function returns the type of a Python alue. We are using the definition of the variable week from Question 1. When you pass…
  • Find the values of x 1 , x 2 , and x 3 for the following systems. Write down each step (e.g. Row Operation/Back Substitution) you take to solve the problem. Find the values of x1, 12 and x3 for the fo…
  • Write functions solve and bandsolve to solve the linear system Ax = b with bi = n j=1 a ij . To verify the accuracy of the results, compute the norm of the error kxňú ‚ąí xk where ňúx is the numerical…
  • Problem 8 You are to write a password generator. You code needs to do the following:1.Prompt the user for a password length.2.Use a while loop to iterate up to the password length.3.In the loop genera…
  • 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…
  • Module 2 Required Coding Activity Introduction to Python Unit 1 This Activity is intended to be completed in the jupyter notebook, Required_Code_MOD2_IntroPy.ipynb and then pasted into the assessment…
  • Greetings, I am trying to debug my code below and cannot fix the error listed. I’ve included my code as well. Thanks for your help! AttributeError: ‘list’ object has no attribute ‘addNewHome’ Tracebac…
  • I have a code but my professor said I should write it in a different way. can someone please help me? def find_Battleship(lst, guess): ¬† ¬† ship = guess[0].lower() ¬† ¬† if lst[ guess[1 ]][guess[2]] …
  • Welcome to the Adder REPL. ??? a gets 1 ??? input b Enter a value for b: 2 ??? c gets a ??? c adds b ??? print a a equals 1 ??? print b b equals 2 ??? print c c equals 3 ??? print z z is undefined. ?…
  • . values. b) From this electric potential, calculate the electric field in both the x-direction Ex =- av ax and the y- direction By = -ay of this charge distribution using the central difference app…
  • PART A: Write the code for a Python function named "extractAndConvert" that removes the Nth occurrence of a given word in a list and returns the a dictionary such that all remaining words ar…
  • Using Artificial Intelligence learning concepts, specifically Reinforcement Learning (RL). Using First-Visit MC Method to solve the following (q-learning) Consider the following episode from a RL prob…
  • yfinance Stock downloader We will now make our simple yfinance stock downloader more useful. The program in main.py should do the following: When requesting data for a new ticker, download stock price…
  • 23 LAB: Warm up: Variables, input, and type conversion ¬† (1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate variables. The…
  • There is a python problem, so could you please help me out? For the korean language in content, it literally means “Line”. E.g. “Line1” The ‘subway_info_samples.txt’ file contains some of the entire s…
  • I am coding in Python. I am trying to create a ride share simulator assignment. In this particular function, I am trying to create a list of the drivers in a Driver Class that are currently listed as …
  • Using Python¬† Consider the data on used cars ( Toyota Corolla Dataset ) with 1436 records and details on 38 attributes, including Price, Age, KM, HP, and other specifications. The goal is to predict …
  • Database Design and Analysis The following database project will create an educational attainment “demand” forecast for the state of California for years greater than 2010. The demand forecast is the …
  • Write code given information below.It is finite difference method for partial diffential equation in a semicurcilar boundary. Figure 1 shows a semicircle of radius r=1.2 meters. Find the temperature d…
  • What does contains_ubc return when called with the input ["McGill", "SFU"]? def contains_ubc(unis) : for u in unis: if u = = "UBC" : return True return False It’s impossi…
  • Coding Problem 2: Analyzing DNS Cache Information in the dns_analysis.py script ¬† For Task 1 , read the dns_cache.txt file and create the list with the DNS Record Name (Record Name), Time To Live (TT…
  • Print either “Fruit” or “Drink” (followed by a newline) depending on the value of userItem. For example, if userItem is GR_APPLES, output should be:Fruit
    • Create a small data frame representing a database of films. It should contain the fields title, director, year, country, and at least three films. (b) Create a second data frame of the same format…
  • Question 2a Write a function add_total_bathrooms(data) that returns a copy of data with an additional column called TotalBathrooms computed by the formula above. Treat missing values as zeros. Remembe…
  • 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…
  • + Description main.py 1 l = ["Fairfield", 2 "Fairfield East", Code Challenge: Loops (5) 3 "Fairfield Heights", 4 "Fairfield West", 5 Using the provided list 1 ,…
  • This is the full question¬† ”¬† In this homework you will scrape a table from a webpage and store the results in a data frame. (Let’s call it DF1.) This table must have at least 30 records. You will …
  • Corrupted/tampered file checker!¬†This activity will have need script that checks which files can and can’t be successfully opened for reading.¬†Then the script will report the results in two output f…
  • . Unicorn vs Pegasus is a simple dice game for one player. The aim is to collect all the body parts of either a Unicorn or a Pegasus (both mythical horse-like creatures). Rolling an unbiased eight-s…
  • What will the following code print? width = 4 height = 12 perimeter = width * 2 + height * 2 print (perimeter)
  • can I get help in coding this function? clearable(locations, report_location) [15pts ] Description: There was a murder at report_location! Every player in the game has determined the location where th…
  • 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. …
  • get_month_stats(list_of_lists,date) In this function, the program should take in two inputs: 1) the list of lists generated by get_data_list, 2) a month/year timestamp (such as 06/2014). The program s…
  • Dataset is open source can download at:¬† https://drive.google.com/file/d/1oq1sYV-Ez9_kKhl3ejbCfEWUMDQS9rrt/view?usp=sharing ¬† Using Google Colab to run the code following the request below: ¬† Quest…
  • I am looking for a python code that solves my below query, to Perform PCA and export the data of the Principal Component (eigenvectors) into a data frame with the original features. ¬† I partially hav…
  • Hey, if anyone can help me get a solution to this probrem using the blocks (from the drag from here box) would be amazing!! ¬†. Parsons Problems Problem Statement Calling hop returns a curried version…
  • Design a logic program that will allow user to enter 12 numbers and displays all of the numbers, the largest and the smallest.
  • EBNF allows us to name rules and then build complex descriptions whose right-hand sides use these names. But Regular Expression (RE) patterns are not named, so they cannot contain the names of other p…
  • Problem 2:¬† Rolling dice Now that we can roll a single die, we want to see the probabilities of rolling any possible number when we have n dice rolled simultaneously. To Do: Modify your file called m…
  • hello there help me kindly. dont use chegg In the attached file, I implement the structure of a solution based on a strategy pattern. The solution allows the client code to choose from three different…
  • I do not know how to do the 5.2 section… Please help me and type the code for me…. please. Course Hero X _ HKUST – myPo X HKUST Canvas X Microsoft Wor X COMP1021 La X *amaziograph.py – C:WUsers…
  • Could someone show me this in python code? Number Analysis Program (Specific Design Specifications) Design a Python program that asks the user to enter a series of 20 numbers. The program should store…
  • . 4. Problem 4. (30 points) A manufacturer produces two types of helmet for bicycles, see Helmet A and Helmet B in sheet “problem 4”. For n=10 quarters, the company has recorded the wholesale pr…
  • . Q2: Here, I’m looking for the ability to add a column to the dataframe and add a row to the dataframe. Add a column to dfincome, with just O’s for values. Print or output the first 5 rows. 5 point…
  • def calcTotalByYear(expenditures, ayear):¬†¬†¬† Function¬†def calcTotalByYear takes two parameters: the list containing the read data. It computes the total expenditures for the given year…
  • I am supposed to return maximum of three numbers below but my code isnt working I need to return the number of times that the string “code” appears anywhere in the given string
  • I need some help on code. I have uploaded my code and csv file on mediafire. https://www.mediafire.com/file/l4m1oef2nkacgvn/Q2_SQL.py/file https://www.mediafire.com/file/xihgomn8d2w5y5x/movie_cast.csv…
    • The Fibonacci sequence starts 1, 1, 2, 3, 5, 8, . . .. Each number in the sequence (after the first two) is the sum of the previous two. Write program that computes and outputs the nth Fibonacci nu…
  • Please write a python file with mat plot lib to displace the resulting curves. Remember do two curves of Euler’s method at step size .5 and .25.. Write a Python script to solve problem 25.1 in your te…
  • I also got this error. I am assuming that it is not adding or subtracting from the balance correctly Program Output Your program output did not match the expected output. Your output: 1000 1234 10000 …
  • < > readme (new).md E0 1+ readme (new).md > Problem Specification 37 ## class MazeSolver (in MazeSolver . py ): 38 39 1. draw_maze (self ) : Randomly generate maze. See above for more details…
  • .. 1. Using Gauss Jacobi method, Find the initial guesses that will converge the equation. Solve the real roots of the given equation/s Perform 4 iterations only The equation must be CONVERGENT/ CONVE…
  • Practical 04 – Repetition Structures Submit your prac work via LearnJCU each week by the due date. Quick Questions 1. What is the PyCharm keyboard shortcut for commenting (out/in) a selection of code?…
  • Write a VERY SIMPLE program in python of a guessing game where the user has to guess a secret number. After every guess the program tells the user whether his number was too large or too small. At the…
  • The following dictionary of dates and stock prices is defined in the scaffold below: prc_dic = { ¬† ‘3000-01-15’: 7.0400, ¬† ‘2020-01-14’: 7.1100, ¬† ‘2020-01-13’: 7.0200, ¬† ‘2020-01-02’: 7.1600,¬† ?…
  • This is python. Please let me know how to make python programming for this. Activity #1 : Writing and testing a larger program – To be done as a team In engineering and science, it is common that we w…
  • Hi, I need a bit of help with completing this task. More specifically, I am struggling to draw the red vertical lines between the predicted and actual values in the scatter plot. Could you please prov…
  • We have a function that outputs “Welcome, user” as it is called. We want to make it more personalized, so redesign the given function so that it will take the name of the user as input and output the …
  • Python ¬† Due to the limitation of uploading the dataset to the course hero questions, I uploaded the dataset on google drive. Dataset Link : https://drive.google.com/drive/folders/1bXzRLc2qjGBLbK-8Gz…
  • Hello, I stuck on this python problem, help me please… The file ‘samples.txt’ contains English sentences. Read the file and write a program that changes the case of each sentence to lowercase. **The…
  • What is the output for the following pseudocode? Given a set of data, show the steps that lead you to the end result.¬† Given.¬† while r<s ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† output “Hello” ¬†¬†¬†¬†¬†¬†¬†¬†…
  • I would like assistance with these study questions, using Gephi to open the file to visualize the nodes. Reference for the file to be used in Gephi: https://dl.dropboxusercontent.com/s/aw6075i8q27t1o3…
  • Find the following using TextBlot # ¬† ¬†5 most negative sentences including polarity and subjectivity # ¬† ¬†5 most positive sentences including polarity and subjectivity # ¬† ¬†5 most subjective sen…
  • Can u aid with these 4 questions. Please use while loops and also separate the function and the main file. As well use the .format python standard. Thank you in advance for the help. 1. Implement the …
  • Convert the below flowchart to Python Code Start fw = open("golf.dat","w") while True True input name input score False w.write(name+"\"+score+"\") fw.close() f…
  • Input a list of integers print True if 6 appears as either the first or last in the list. The list will be length 1 or more
  • Python files¬† ¬† ¬†develop a Python application that meets the requirements described below: ¬† File manager : the user should be able to create folders and subfolders and should be able to copy and …
  • Task 3 What tried to apply some masks to a list of numerical values. Please read the following function description carefully and complete it. Please provide a one-line solution using the "inline…
  • Ask the user if it is raining and convert their answer to lower case so it doesn’t matter what case they type it in. If they answer yes” ask if it is windy. If they answer “yes” to this second questio…
  • Can you help with this function: def¬†return_name()->str: ¬†¬†¬†¬†“”” ¬†¬†¬†¬†Return¬†a¬†string¬†containing¬†your¬†GT¬†Username ¬†¬†¬†¬†e.g.,¬†gburdell3 ¬†¬†¬†¬†Do¬†not¬†return¬†your¬†9¬†digit¬†GTI…
  • How would I complete a Python program that calculates total cost of gas. It prompts the user for two numbers: price of gas per gallon and gallons of gas used, calculate the total cost, and then prints…
  • ANSWER IN PYTHON AND DONT TAKE LONG ¬† 1.¬† #!/usr/bin/python3 import unittest ¬† def func3(lis): ¬† ¬† ”’ ¬† ¬† Assume lis is a list of integers and characters. ¬† ¬† Return (cha, i) where cha is th…
  • I have these two functions: def best_shoes(df, title): ¬†¬†loc_total = sales.groupby([‘type’,’color’])[‘type’].count() ¬†¬†print(title) ¬†¬†sales.groupby([‘type’,’color’])[‘type’].count() ¬†¬†loc_tota…
  • Drag a word to fill in each of the missing words in these sentences. A word may be used more than once, or not at all. A RISC instruction set generally has ¬†blank instructions than a CISC instruction…
  • The following code is an example of which programming construct? ¬† x = 10 print(x) Group of answer choices Sequence Selection Iteration
  • R-3.24 Give a big-Oh characterization, in terms of n, of the running time of the example2 function shown in Code Fragment 3.10. ¬† C-3.36 Describe an efficient algorithm for finding the ten largest el…
  • def closest_power_2 (x) : “”” Returns the closest power of 2 that is less than x >>> closest_power_2(6) 4 >>> closest_power_2(32) 16 >>> closest_power_2(87) 64 >>> …
  • using python I need help creating dictionaries: one that allows me to get the Description based on the gene ID, and another one that allows me to get the summary based on the gene ID.. Gene ID = ortho…
  • Exercise 4 (3 points). Suppose we want to look at the number of complaints by type and by city for only the top cities , i.e., those in the list TOP_CITIES computed above. Execute an SQL query to prod…
  • Please assist with incorporating a Pandas DataFrame from the data attached below I am requesting assistance trying to find out how many unique countries are listed in this dataset as the Nobel Prize l…
  • Please help me follow the sample to do test_int function fo my code: #Exercise4 def blackjack(a : int, b : int) -> int: ¬†¬†“”” ¬†¬†The function returns whichever value is closest to 21 without bei…
  • https://drive.google.com/file/d/1urFRJ7eCKsdyycKTXIPmyqPnT_GRfiss/view?usp=sharing. In this assignment you will be implementing a portion of a Geographic Information System (GIS). A GIS is a computer …
  • The input will be in the form of list of strings. The size of that list could be anything from 1 byte to 1TB. Therefore, your solution should be robust enough to handle any size. 2. Task: Search an…
  • Explain the difference between the logic of the following two code snippets: Code 1: for letter in s: if letter in "aeiou": return True return False vs Code 2: for letter in 5: if letter not…
  • Need to finish implementing the classes below. The code must use¬†super()¬†in your¬†describe()¬†methods. class¬†Shape: ¬†¬†¬†¬†def¬†__init__(self,¬†number_of_sides,¬†color): ¬†¬†¬†¬†¬†¬†¬†¬†self.numbe…
  • AM STUCKED¬† import loader class Adventure(): ¬† ¬†def __init__(self, filename): ¬† ¬† ¬† ¬†”’Initializes rooms as well as the inventory.”’ ¬† ¬† ¬† ¬†self._current_room = loader.load_room_graph(fil…
  • I am having trouble developing codes for this Battleship Game using python. the requirement of the game are defined as follows: The mission of the player is to eliminate the battleship of their oppone…
  • Write a program that reads a list of integers into a list as long as the integers are greater than zero, then outputs the smallest and largest integers in the list. Ex: If the input is: 10 5 3 21 2 -6…
  • What do I need to fix on this to make it correct? Thank you.¬†. Some example leap years are 1600, 1712, and 2016. Write a program that takes in a year and determines whether that year is a leap year. …
  • It’s should be a brief code. Write code to fill a list with 50 random numbers, where each number is a float between 24.0 and 42.0 (including 24.0 but excluding 42.0). Assume the statement import rando…
  • My code isnt working, could someone review it and correct? Final Script Final Project 5.py – U:/Final Project 5.py (3.8.3) File Edit Format Run Options Window Help employees = count = 0 def export ( )…
  • 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…
  • How do I do this? I have to write a simple Python class called DNA. The class should have:¬†. a. init_ The _init_constructor method will take a DNA sequence string comprised of nucleotide bases ‘A’ , …
  • add line numbers (input-file, output file) the parameters represent file objects, opened for reading (the input-file) and for writing (the output-file). the function will read each line of the input f…
  • Complete the blank in the following code def cs2(p): if len(p) < 2: return p return [p[0], p[0] + p[1]] a = [10] b = cs2(a) b += cs2(____) print(a) # Note: *not* print(b) so that it prints [10, 20]…
  • # Expected knowledge to resolve the assignment: # objected oriented programming in Python # classes # composition # Inheritance # polymorphism # 1. Implement a class named “MyClass” # This class shoul…
  • Describe how tuples can be useful with loops over lists and dictionaries , and give Python code examples.
  • My teacher wants us to add a dictionary and replace the list functions in our Yahtzee game and I am having a bit of trouble on where to start. Thank you so much for your help. ¬† ¬† ¬†. upperScore …
  • Question ¬† ¬† Question: ¬† Develop bus booking system using object-oriented approach . This bus booking system is for a travel agency which delivers bus services from Melbourne to other destinations …
  • how do I Draw the flowchart and pseudocode for a program allowing the user to enter a value for one edge of a cube(A box-shaped solid object that has six identical square faces)The program¬†should cal…
  • Question 1. Study the example below carefully and write program that works exactly like the example. The text in bold indicates the user input. How many numbers to put into lists? 7 Here are the 2 lis…
  • Problem 1 – Color Channels(25 points) ¬† (5 points) define function onechannel(img, rgb) displays only red, green or blue channel rgb = 0, display red rgb = 1, display green rgb = 2 display blue see e…
  • import cv2 import sqlite3 import numpy as np import requests import imutils from imutils.object_detection import non_max_suppression import smtplib import time from datetime import datetime from email…
  • [While loop, 10 pts] 1Write a function nurnLoopsU that requests a positive integer from the user and executes the following algorithm. lfthe number is even, divide it by 2; otherwise, multiply the…
  • Python classes are everyday life objects. Think of an object that you use in everyday life, possibly a bank account, ATM machine. Write a simple class and the data attributes. Once you have written th…
  • 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…
  • Please help me with this assignment. We are supposed to use a python Jupyter notebook. Please provide the codes and explanation. Thank you so much in advance for your help!¬† ¬† Using a new Jupyter no…
  • Hi ūüôā I am trying to Get user guesses by writing a loop that will populate the list, user_guesses with a specific number of guesses. Each guess would be an integer, and it would read the integers usin…
  • This is a Python programming question. Please explain your answer step by step. I know the final answer and I know that “i in range (3,5)” is 3 and 4. But I don’t understand the answer and this part “…
  • JamEx Limited requires a program to calculate and print the commission received by a salesperson. The program should process an undetermined number of salespersons and appropriately terminate by a pre…
  • I have a dataset of 111 examples regarding the amount of production & yield of a certain crop, during the period 1979-2015. I need to apply several data imputation techniques to the dataset compar…
  • basically i want to learn Python programming CEIS 100 week 4 lab
  • please provide explanations Programming #1 0 Filename: upc .py O test_upc . py ‚ÄĒ is included in the homework as code for your reference. This is a program we’ll use to test your code as part of yo…
  • Implement a tkinter-based GUI program for a simple math game. Your program should present randomly generated simple math problems involving addition, subtraction, multiplication, and division of whole…
  • please its urgent abhighmr10@g X JB Thank you for downloading Pyc X G A list is a sequence of data value x moodle.aih.hsw.edu.au/mod/quiz/attempt.php?attempt=50170&cmid=50281&page=5 f . Facebo…
  • # 1. How many employees above 50 age smoke, what is their average expenditure on health management? 2. How many female employees did not consume alcohol daily. What is their proportion with respect to…
  • Pseudo-code. Previous Page Next Page Question 18 (4 points) Consider the following code snippet. What is the output? count=3 if (count <= 0): count-count+1 ellf (count>=]) : count count+ 1 elif …
  • I need help answering these questions Thank you in advance for your assistance. ¬† 1. Describe how Python differs from Java. 2. Describe how you can create a Python program that calculates the exact a…
  • QUESTION: Now we will study senders.¬†The idea here will be to collect email send times for each sender.¬†Which two senders in this email archive exhibit the most similar email sending pattern?
  • Please see the attached pictures. add 2 classes to the point class. Class Rectangle represents a 2D (axis-parallel) rectangle that a user can draw on a computer screen. Think of a computer screen as a…
  • Define a class Person and its two child classes: Male and Female. All classes have a method “getGender” which can print “Male” for Male class and “Female” for Female class.
  • what is the answer? #1 – Dictionary Keys and Values – 15pts Given the following set of code: d = { “snow” : 7, "rain" : 4, “sun" : 10 } d["fog”] = d["rain"] – 1 f…
  • 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…
  • An excerpt of a memory dump extracted by Access Data’s FTK Imager (memdump.bin or test.bin) has been provided. 1) Copy the memory dump to the virtual desktop environment persistent storage area. 2) De…
  • i need help creating code which will function this way. Please tell me what i have to adjust to the code you provide To calculates sin(x) using Taylor series, use the following definition: The functio…
  • create website program using tkinter with python Nike Shoes 1) Men Shoes (Sub menu like., Running shoes, football shoes, walking shoes) select submenu in frame1 change the images and items in only fra…
  • The Business: Smart-Mart is a convenient that is located in Toronto, Canada. The store needs an application to use it in its daily business. The application will be written by your company for the sto…
  • . File Edit View Insert Cell Kemel Widgets Help Trusted Python 3 Run C H Markdown DTSC670: Foundations of Machine Learning Models Module 4 Assignment 7: Polynomial Regression I Name: The purpose of …
  • Decision Tree Q1 0/25 points (graded) X1 X2 X3 y 1 1 1 +1 0 -1 0 1 -1 O 0 +1 Consider the above sample dataset. "x1", "x2", "x3" represent features, whereas "y"…
  • #The line below will open a file containing information #about every pokemon through Generation 7: pokedex = open(‘../resource/lib/public/pokedex.csv’, ‘r’) #We’ve also provided a sample subset of the…
  • I need help writing a code for the last slide. I have gotten started a little but i need more help…¬† ¬† CSV FILE and code : https://drive.google.com/drive/folders/1GfpKZ8t0gkjhYO5yNfsCIlAxnQeIxmji?…
  • Write a function to compute the nth Fibonacci number. Use your function to solve the problem. First, prompt the user to enter which ‘nth’ Fibonacci number it wishes to generate. (20 pts) Hint: The…
  • Hello I am having a difficult time understanding the following to be implemented into my previous weeks work here is the proposed topic: Here is the Previous assignment I submitted and where it wants …
  • question 1 Can someone explain what this parameter tof=True means? ALSO please update the function so that this parameter is not used. I want to see how this can be done without it since I am unfamili…
  • # This is a useful data structure for implementing # a counter that counts the time. class DFSTimeCounter: def __init__(self): self.count = 0 def reset(self): self.count = 0 def increment(self): self….
  • Unsure how to write this code: “Ask the use to enter a power of 5.¬† Till the user has not entered a power of 5 keep asking the user to enter new numbers.” ¬† Sample input: Please enter a power of 5: …
  • Exercise 3 Write a program that asks the user to enter their name and year of birth (ex: 1990). Make sure the user entry for name is composed of more than 2 characters, and the user entry for year of …
  • I need help on this. 4. Write the code below that uses list methods to modify content in the list. Save the code as PE4_4.py. a) Create an empty list called n. b) Add 2 and 4 into the list. Example Ou…
  • How do I solve this question using both recursive and iterative method?
  • . Safari File Edit View History Bookmarks Window Help Q Thu Nov 18 6:39 PM . . . E V < > learn-us-east-1-prod-fleet02-xythos.content.blackboardcdn.com C 88 JJ DeltaMath A ALEKS – Jonathan Rodr…
  • #declare the variables fullprice=0 discountrate=0 discountamount=0 totalamount=0 Retail_price=99 quantity=0 #get the input from the user quantity = int(input(“Enter the quantity: “)) ¬† #calculate the…
    • 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…
  • How could i convert this pseudo code to python: 1(0 ) = 1; for m = 1 : n for j = 0:m – 1 I (m ) = 1( m – 1 ) end c j -Cm (m) = 1 m-1 II(I’m – Ik) k=0 end If we want to add one more point (@n+1, fn+1) …
  • This is my code i have for problem 3 and im running into assertion errors. Please help me modify this code instead of sending a new one. ¬†. Problem 3: You’ve arrived at the Saturday morning Farmer…
  • # BEGIN Problem 12 class QueenAnt(ScubaThrower): ¬† # END Problem 12 ¬† “””The Queen of the colony. The game is over if a bee enters her place.””” ¬† name = ‘Queen’ ¬† food_cost = 7 ¬† # OVERRIDE C…
  • Hello, a guide on these questions would be great. Please not just an answer but also an explanation, thanks so much :). 15 Points Throughout this semester we looked at a number of cases where there we…
  • Loan Project: Buying a House¬† For this assignment, you will analyze a home mortgage loan Please chose an address located in the United States. Please run the address by me first before proceeding.¬† …
  • 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 ¬†…
  • find the Pearson Correlation between these two lists. In Python, we can depict these ratings as two dictionaries: UserPRatings = {‘Apple’:1, ‘Samsung’:6, ‘Nokia’:7, ‘Motorola’:8, ‘LG’:6, ‘Sony’:1, ‘Bl…
  • pseudo-code is not a real computer language but "false" code, it is action statements in your own works, complete sentences are not required 2. completed using a word or text document 3. …
  • Looking for some help setting up this python code, it has to be able to take info from two files that I have to make and place the info on the screen for the user. There is an example of what it shoul…
  • Problem #2 This problem requires you to use a nested loop as part of a multidimensional list. However, we will not get too complicated with it. In fact, it will be a relatively straight-forward modifi…
  • Using ArcPy or ModelBuilder, what is the sequence of steps I need to take in order to design a dataset showing “wilderness” areas in a national park? The defined distances are 2,000 feet away from a p…
  • Just make me an Abstract and Introduction and Conclusion of this.. 1. Assessment classifications First Class (>= 70%) The coursework demonstrates: Sound knowledge of the principles of object recogn…
  • What is the output for the following pseudocode? Given a set of data, show the steps that lead you to the end result.¬† Given.¬† while a<b ¬†¬† while c<d ¬†¬†¬†¬†¬†¬†¬† output “Hello” ¬†¬†…
  • Question – For Python code to work with files, only a single value per line is allowed.¬† Group of answer choices True False Question – Files Python creates¬†by opening the file for writing and using …
  • Please help answer the following questions 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 obj…
  • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
  • program from Learning Journal Unit 7 def invert_dict_given(d): ¬†¬†inverse = dict() ¬†¬†for key in d: ¬†¬†¬†¬†val = d[key] ¬†¬†¬†¬†if val not in inverse: ¬†¬†¬†¬†¬†¬†inverse[val] = [key] ¬†¬†¬†¬†else:…
  • write a program that allows the user to draw a simple house using five mouse-clicks (see the diagram). – Comment sections of your code to explain what each section does. – The first two clicks will be…
  • Need help to write 3 functions to get the output in python def getRecord(fileName, date)¬† def def largestVolume(fileName)¬† def def averageDailyClose(fileName, year, month = -1)¬† ¬† Question #1¬† de…
  • I need some assistance putting some validation logic into the below.¬†When a user does not enter a correct state (either in the search state or update population) if it is not in the dictionary it sho…
  • Write a function negate_last(n, values) that takes as inputs an integer n and an arbitrary list of integers values and that uses recursion to create and return a version of values in which only the la…
  • . Question 8 (1 point) Consider the following line of code. var = x >= 2 and y != 0 and (x / y) > 2 Give two examples of x and y that will result in "var" being True, and two example…
  • # Complete the function to add 90 days to the given date and return the new date import datetime def add90Days (someDate) : # expected output: 2018-12-30 print(add90Days(datetime.date( 2018 , 10 , 1 )…
  • I am uploading homework 8 for this semester and answersheet of homework8 from last semester(the questions from last semester and this semester are very similar but slightly different, therefore change…
  • Restrictions You will need to implement two sorting functions. You are **NOT** allowed to use any of the builtin sorting functions/methods in Python (e.g. `sorted()` or `.sort()`). Using any builtin s…
  • All instructions are in photos Test case: Input: PronunciationDictionary.txt difficult reader however Output: Rhymes for:¬† DIFFICULT ¬† — none found — ¬† Rhymes for: ¬†READER ¬† CEDAR ¬† CEDER ¬† F…
  • Can you help with the develop of battleship on python language? Please, see instructions below. I really need help. 1. Develop a Python program that tells the user to enter the number of rows and colu…
  • QUESTION 22 Given the following table, identify the events and the probabilities requested in terms of those events (e.g., F: Female and R: Gray, P(F n G) = 10f167) m as 30 1o 15 10 m 25 1s 12 20 1o 8…
  • I need to add to my current code a way to move the characters as shown in the example below one position to the left keeping space in-between.¬† Use the strategy of the decimal to binary conversion an…
  • (PYTHON/ IDLE) Math Tutor You will be creating a math tutor program that can be used for young children to practice their math skills.¬†The program will be driven by the following menu: See Rules Prac…
  • 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 …
  • “””Q5:¬† Create a Pivot Table that shows the median rating for each director, grouped by their respective countries. Name your variable ‘pivot_agg’ “”” # your code here ¬† “””Q6: How long did the movi…
  • Hello! I need to make a Python Testing Script- Creates a Python testing script that imports a CRUD Python module to call and test the creat.e and read instances of CRUD functionality THIS IS MY CODE f…
  • Can you help me out with this problem: Use the functions from a and b to implement a function that given a phrase, it reverses the words in that phrase (and returns it) For example, given ‘the quick b…
  • The princess of Grindlewald is being kidnapped. The kidnappers has kept her on a warehouse which is surrounded by N gunmen represented from 1 to N. The rescue task has assigned to the Robot. He will b…
  • . 4. [4 marks] Write a Python program that, using the turtle module, draws a "block" of dirt with "grass" on top. The block should be a brown square (filled in) with a green semi…
  • Let’s look at how to perform some fundamental analysis on an address book JSON dataset. The dataset in question can be found here : https://www.kaggle.com/datasets/ahmedshahriarsakib/list-of-real-usa-…
  • Building a Set ¬† ¬† Scenario ¬† Imagine that you have some data in a list that contains a lot of duplicates that you want to remove, but for simplicity’s sake, you want to avoid writing a for loop an…
  • This is my programming problem. I keep getting errors and I do not know why. I would appreciate some help please. I also included the errors that I am receiving. 1.9¬†LAB: Input: Mad Lib Mad Libs are …
  • Dataset- https://drive.google.com/file/d/1i_4hwKKz_jucKWMvBCDoN2Xh2CtHBpsr/view?usp=drivesdk
  • Exercise 2 ( grade_lists_test : 1 point). Write some code to compute a new dictionary, named grade_lists , that maps names of students to Ô¨Āsts of their exam grades. The grades should be converted f…
  • Hometown City USA is analyzing traffic patterns to determine whether traffic lights are necessary at tracked intersections. Each tracked intersection has a data file where each line contains the numbe…
  • QUESTION ONE Circle the correct answer. 1. Which of the following Python programs has a syntax error: a) print( “10”) b) prlnt(“4) c) print(“c”!=”c”) d) print(“Python is a high level language.”) 2. Wh…
  • I have no idea how to code this, anyone help?. Last update: 20 Sep, 7am Connect four is a connection game in which two players take turns dropping discs into a (6 x 7) board, i.e., 6 rows x 7 columns….
  • How will you reverse and sort a list in python language?
  • I’ve completed the majority of this python code, but I’m stuck at the end where I cannot seem to get the new cat names from repeating in the last column . I run the program once, and everything is fin…
  • The outer loop will start each new row. The inner loop will control the display of each column in the row. Note that to keep the numbers right-aligned, there are different amounts of space before sin…
  • Use Python programming to count all unique words across all files in a given directory. The output must be words and their corresponding frequency. Each line should look like: word, frequency Note: ?…
  • Hi, i’m looking for the python codes (jupyter notebook)for the Predictive modeling project submitted for Data Science & Business Analytics course
  • Can you please give exact code for the question “If, ~ CP1401 SP12017Assessment 2 :3; WI‚ā¨¬ß¬ßS3¬ß¬ß Implementing the Tropical Golf Game AUSTRALIA Task You are to implement a golf game program as o…
  • What is the value of the autocorrelation function of lag order 0? ¬† options are ¬† 1 .Above 0.95 2. 1 3. 0
  • I don’t quite understand how to get Clair by using list index slicing. My answer is kept getting WHITE, Clair, not Clair. Someone suggested to use ¬†¬†print(student_lists[n].split()[1].replace(“,”,””)…
  • Load the following data that diagnoses normal and abnormal (two classes) behavior of the heart given a set of integer features collected by a SPECT machine. Train with SPECTF.train and test with SPECT…
  • . Write a program which calculates amount of Ô¨Ānancial assistance for needy families. The rules are as follows: I If the annual household income is between $40,000 and $50,000 and the household has…
  • 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…
  • Write a program to simulate a simple inventory system.¬† The program will support 5 commands from the user:¬† new ,¬† add ,¬† remove ,¬† list , and¬† quit .¬† The program should continue prompting the…
  • Write a Python function named irtysh. The irtysh function takes an integer as input, n where n is 1 or n is a positive integer with 5 digits. Your function will only be tested with such integers n. We…
  • idk why it shows erro from typing import List, Tuple, Dict, TextIO # Sample Data (Used by Doctringales) P2F = {‘ Jesse Katsopolis’ : [‘Danny R Tanner’ , ‘Joey Gladstone’ ‘Rebecca Donaldson-Katsopolis’…
  • Create a script that examines a string for the occurrence of a particular letter in the string “Geographic Information Systems.” If the letter occurs in the text (for example, the letter Z), the strin…
  • I would like to have code in Python where it allows users input to check against the dictionary. I already have an existing .txt file (myplants.txt) with the following contents. 1st Line: Plant Name, …
  • Consider a data frame¬†df¬†with columns¬†[‘A’, ‘B’, ‘C’, ‘D’]¬†and rows¬†[‘r1’, ‘r2’, ‘r3’]. Which of the following expression is used to extract columns ‘C’ and ‘D’?
  • Use the following sentence below to create a code that resembles it as closely as possible. Create the python code that creates a class with those attributes and functions. This doesn’t have to be per…
  • The file format in¬†index.txt¬†is an unusual one. It has three fields — name, scores, and ID — that are comma separated but the scores column consists of “bar” (i.e.,¬†|) separated scores. Further…
  • please help me with these questions (3 different questions) Note: . The first two options from this program are the same as in the first phrases program. Try to do them first without looking at the or…
  • Please find the attachment and please dont cancel my question this time. The given screenshot have a equation which need to be converted into python codes. We need to write code to solve that equation…
  • this is the ipynb file: hello, this is the ipynb file: http://localhost:8888/notebooks/Downloads/Counting%20for%20Probability.ipynb ¬† please complete the text that says ” # your code here” in artific…
  • Please see attachment for details.¬† ¬†. . Upon the creation of buildings, create one or more sensors via the createSensors(…) method. This method is a member of the Building class below. Building C…
  • I really need help coding this assignment coding: Problem 1: Song Lyric Analysis (20 points, +2 extra credit) Part 1: Choose a song, save as lowercase (2 points) Go to¬†https://www.lyrics.com choose a…
  • Water consumption is charged as follows: ¬† Consumption (m3 ) Pesos/ m3 First 100 =5 From 101 to 500 =7 From 501 to 1000= 11 More than 1000 =16 ¬† Write a program that asks for the cubic meters consum…
  • 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. …
  • In this lab, implement a multithreaded sum application in Python. Your program will sum up all the numbers from 1 to 500,000,000. The result should be 125,000,000,250,000,000. You should define a func…
  • python code with line by line explanation.¬† explain the code thoroughly. ¬† ¬†. – finalDetails(): This function will call customerDetails() and calculateCharge() functions within itself. Furthermore,…
  • Question 1: Emulate the stack behaviour using the list data structure. a) ¬†Complete the methods of the following¬†Stack¬†class according to their description class Stack : def __init__ (self) : “”” I…
  • Using VSCode create a car class. Start by defining a class named Car. Define the constructor method. Remember that this belongs to the class, so it should be indented from the class definition line. T…
  • how to conduct a python code for above?. Below is a code snippet which reads two lists from the user one after the other. You will define a function combined_list_len that takes two parameters, both o…
  • Study the following function. def truth_value(integer): ¬†¬†¬† “””Convert an integer into a truth value.””” ¬†¬†¬† # Convert 0 into False and all other integers, ¬†¬†¬† # including 1, into True ¬†¬†¬†…
  • Exercise 1 (2 points) The next bit of information we will need in our analysis is the outcome of each player’s games paired with their opponent. Fill out the function extract_player_results(games) in …
  • please use PYTHON to solve this. thanks a lot. ASAP
  • Solve the problem with pseudocode ¬†(FIRST) Code it in Python A person is eligible to be a US senator if they are at least 30 years old and have been a US citizen for at least 9 years.¬†To be a US rep…
  • ### GRADED ### Code a function called ‘length_times_largest’ ### ACCEPT a list as input ### RETURN the length of the list times the largest integer (not float) in the list ### HOWEVER if the list does…
  • 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…
  • What two fields(columns) required you to parse the text within the <a>…</a> tags? a) Kit manufacturer¬† b) Manager ¬† c) Team d) Shirt Sponsor e) Captain
  • Class Project For your class project we will be creating an application to interact with a webservice in order to obtain data. Your program will use all of the information you’ve learned in the class …
  • Markov chains Implementation in python. I am implementing markov chains to find and replace the corrupted character in a string with the most probable character from the markov model of order k. I hav…
  • Data management contains multiple steps, including data cleaning and exploratory analysis. In this project, Showcase skill in data management using Pandas . Data You will use publicly available files….
  • Part 2: You will need to describe a soenario of your interest. For example, you can write a scenario about how an Amazon user places an order to end a shopping session (see the illustrated scenario in…
  • Q3: The dataset in question can be found here : https://www.kaggle.com/datasets/ahmedshahriarsakib/list-of-real-usa-addresses – You are highly encouraged to check out the data, the notebook thats’ bee…
  • Please implement this game in python according to the instructions which are given below in the question part: The question is complete. The question starts from here: Implementing Mini-Max to play a …
  • code a function : – subset(group, total) Description : Creates and returns the smallest subset of group that has a sum larger than total. If there are more than one subsets of equal size that satisfy …
  • Come up with a program in which you have a list that contains seven integers that can be 0 or 1. Find the first nonzero entry in the list and change it to a 1. If there are no nonzero entries, print a…
  • General Requirements: Create a python application that inputs, processes and stores student data using menu-driven programing Specifications: 1. Your application should be able to accept Student data …
  • Reference: https://archive.ics.uci.edu/ml/datasets/Auto+MPG ¬† Use the Auto MPG dataset auto-mpg.data, available at https://archive.ics.uci.edu/ml/datasets/Auto+MPG a) [Marks: 0%] Drop the car name at…
  • . Task 3 (1%) Copy and paste the above data in the sheet 1 of an excel file "input.xIsx’. Copy and paste the following data as the sheet 2 data of the same excel file: i) Read the sheet 1 data …
  • Please show how to code this in python. b. The program shall take names of players as input o Player names shall be entered at the console with a space between each name. Example: Input of 5 players: …
  • Make a finite state machine (sketch/drawing) that accepts an input string if and only if that input string has an odd number of 0’s and at least two 1’s. Accepted: 101 101010 Rejected: 01 111 1010
  • Simple Smart Home Introduction¬† In this example, we’ll design and implement a simple Smart Home setup. The main focus is on designing communic…
  • . 5. Perceptron algorithm: (a) Implement the perceptron algorithm for binary classiÔ¨Ācation. Train and test it for classifying digits “1” and “6” in MNIST dataset. Note that we don’t need…
  • there are two other parts to this question uploaded seperately.. please also see them and answer completely .. thanks … 1. Modify the random walk program we have already developed so that it sim- ul…
  • What is an Operating System? A.¬†¬†¬†It coordinates hardware resources among applications B.¬†¬†¬†¬†It is a¬†programming language to code C.¬†¬†¬†¬†It manages conflicting request of har…
  • The chapter on **linear models** (“Lining Up Our Models”) introduces **linear predictive modeling** using the tool known as **multiple regression**. The term “multiple regression” has an odd history, …
  • Currently there is a string called¬†str1. Write code to create a list called¬†chars¬†which should contain the characters from¬†str1. Each character in¬†str1¬†should be its own element in the list¬†cha…
  • Python Programming: Using Numpy, Accept ints from user until the user enters a 0. Then calculate mean, median and standard deviations of all¬†entered values. Display stats.
  • ita finally reaches Fun Mall in her Audi and she gets down in the entrance and she asks the driver to park the car in the 1st¬†freely available slot in the mall’s parking lot (if it is available) or i…
  • . Read the problem below and write the correct code using the provided template with instructions.. In this problem, you are going to implement a filesystem using a tree data structure. Similar to a…
  • def unscramble ( img: Image ) -> Image: “”” Unscramble the pixels in the image by re-assigning each color intensity value to its original value based on the information in file named “key.txt”. If …
  • Hi, How do I translate the following code into a flowchart? import random print( ”’ Welcome to Tom’s Password Generator =================================== ”’ ) list_password= [] #create a list for …
  • Turn in your answers (Python codes and corresponding outputs) through Blackboard. Q1. DataFrame from CSV (10pts) The UIC2016MensBasketBall.csv records the game results of the 2016 Men’s Basketball. Im…
  • How would you write this program in PyCharm? Discuss any difficulties you were faced with.¬†. Problem 2: Workout Stats ‘0 ‘0 00000 Create an empty list called workout. Now using a loop take 5 numbers …
  • Download the file containing all of the #SuperBowlLIII tweets (superbowltweets.json file) Make a python script called process_tweets.py to process the data Process the data within the json file based …
  • I need code in python (Jupyter Notebook) 4. (4 pts) Finally, like the bisection method, Newton’s method is a well-known root-finding method, and is defined by the formula: Ent1 = In f(In ) f’ (In ) In…
  • 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…
  • I have to this code in Idle Python 5.0¬†. Page 3 of 5 Task 2: Rule-Based Modification 3 Create a function that accepts any 2D List of Integers (Matrix) as a parameter and returns a 2D List (Matrix) in…
  • Hello, please how can i fix this error in python AttributeError : module ‘graphviz.backend’ has no attribute ‘ENCODING’ ¬† ¬†. In [26]: H from sklearn. tree import export_graphviz import graphviz dot_…
  • Assuming that I have the following clusters: Cluster 1 = {{1,0}, {1,1} {0,1}} and Cluster 2 = {{1,2}, {2,3}, {2,2}}. Estimate the silhouette coefficient of cluster 2?
  • Australian coin denominations are:¬†5c,¬†10c,¬†20c,¬†50c,¬†$1¬†and¬†$2. Write a program that generates all possible ways of generating the sum¬† $1.40 ¬†with these coins. You should output one solutio…
  • The code below is written in python and it works. However, I need it to print the output so it shows two decimal places and I am not sure how to do that. Please help so the output prints two decimal p…
  • To complete this question, you will develop a python program that will determine how many years until retirement and how much is still needed to save. To complete this program successfully the program…
  • Please, using an output point or message box, alter this program in Python 3 utilizing the above program to emulate the same programming process however from Celsius to Fahrenheit , instead of Fahrenh…
  • Python Programming I need help with the assignment to find significant temperature changes in a 12-hr time frame¬†in time series data. Steps to follow are below. Here are the required files: https://d…
  • The monthly payments for a given loan are divided into amounts that apply to the principal and to the interest. ¬†For example: if you make a monthly payment of $500, only a portion of the $500 goes to…
  • What are the steps by step procedures to writing a Pseudo code in python using the attached flow chart. Question 1 Start Pseudo code loop Get yName Get hours work V Get pay per hour Total=hr x per hr …
  • 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…
  • How can I get the below result? You are preparing an activity for the orientation camp, and you are interested to develop it with reference to a number guessing game (18:RAMP][=) from a popular TV sho…
    • Complete the following script so that it will open the text.txt file to read and print each line. In the end the file will be closed.¬† fn = ___________ (r”D:\data\test.txt”_____________, ¬†) for__…
  • Any help on this would be appreciated Project: Instruction: You have been hired by the city to visualize some simple weather data. The data provides the average daily minimum and maximum temperature f…
  • define a function outlierDetectionZ that returns the string literal ‘low’ if the z-score of the input parameter is less than -3 and return the string literal ‘high’ if the z-score value is greater tha…
  • Exercise 5: What will the following Python program print out? def fred(): print(“Zap”) def jane(): print(“ABC”) jane() fred() jane()
  • Romans numbers contain symbols M, D, C, X, V and their equivalent decimal values are M = 1000, D = 500, C = 100, X = 10, V = 5, I = 1. For instance, the roman MDCXVII corresponds to 1000+500+100+10+5+…
  • Using argparse to implement CLI.. I am trying to figure out how to make an optional argument -c flag, that will print input strings combined in a continuous string with spaces between them. the positi…
  • Beside the standard 3 √ó3 √ó3 Rubik’s cube, there are other cubes where each side is divided into n pieces (n = 3 for the standard Rubik’s cube). Ignoring the colors, the small squares on each surface…
  • Write some pseudocode that describes a program that for five students, calculates and displays the average of an unknown number of test scores which are all within the range 0 to 100. The user will en…
  • Write script in Eclipse on Pydev …………. I could not upload the brewster.dat file on course hero. Brewster’s Used Cars, Inc. employs several salespeople. Brewster, the owner of the company, ha…
  • Write class called Converter. The user will pass a length and a unit when declaring an object from the class‚ÄĒfor example, c = Converter (9,’inches’). The possible units are inches, feet, yards, mile…
  • Let data be a list of n unique real numbers, where n is an even number. Furthermore, suppose that each number in data is assigned a color – it is either ‘red’ or ‘blue’. Let colors be a list of n stri…
  • Hi, i need help with this problem. so i have to do this program in Python, i have it in C and i dont know how to do it with python. ¬† Problem: Write a program that shows the reading and writing of a …
  • Which of the following changes to my program would fix it, without changing anything else? Select one: O a. On the 1st line, change 3 to 9. O b. On the 5th line, change animalg2 to animals O c. …
  • Write a class SpecialList that can hold only strings. Note. Only Python built-in functions are allowed to be used in this question. Do not use a third-party library for any part of the code. Importing…
  • Having a secure password is a very important practice, when much of our information is stored online.¬†write the program that validates a new password, following these rules: (Python preog…
  • Task 5 Complete the function that takes an integer as input, multiplies by e, and returns result rounded up from math import e,ceil def mathCalculation (x) : # Student code goes here #expected outcome…
  • Hi – I’ve got the following Python assignment: C. ¬†Convert your program from lab assignment 1 to use 6 functions. (200pts total) ¬†¬†¬†¬†Separate the existing lines of code into functions and modify …
  • 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 ¬† ¬† Code for the previous lab…
  • 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. Obviously …
  • In python I have my code written and I want just 4 funtions to be fix in my code according to rule. My code is running but it has some problem regarding to rules. (I have did all the other things so y…
  • please answer in python. Write a Python program that converts an input file in FASTA format, called “fasta.txt”, to an output file in PHYLIP format called “phylip.txt”.
  • # Program Name: Wk6_Mcgraw_Kasen.py # Student Name: Kasen McGraw # Instructor: Cain # Date: 07/9/2020 # Copy Wrong: This is my work # This program is a code of Functions for addition, subtraction, mul…
  • (“Debugging”) lists three possibilities to consider if a function is not working. 1. if Precondition is violated 2. if Postcondition is violated 3. if Wrong placement of return value Describe each p…
  • What is the base 2 representation of the decimal number: 12? A.00001101 B.none of the options presented C.11010000 D.00000110 E.00001100 Which of the following statements produces an error? Assume str…
  • . Taxi ID: 777 Operator: Bob Charges: $0.00 Num Tickets: 5 Cost Per Ticket: $1.50 Destination: D5 Total Fares Collected: $166.38. A local taxi company has decided to expand and not only have taxis t…
  • Problem 1: (30 points) a) Write a program to add 2 numbers. b) Write a program to swap 2 variable values. c) Write a Python program to compute the perimeter and area of a rectangle.
  • 18¬† ¬† Write a program that reads a list of words. Then, the program outputs those words and their frequencies. Ex: If the input is: hey hi Mark hi mark the output is: hey 1 hi 2 Mark 1 hi 2 mark 1…
  • Terrain Visualization ¬† In this activity, you will work with creating and manipulating 3D surface meshes using PyVista , a Python interface for the Visualization Toolkit (VTK) . VTK is a powerful ope…
  • in given project we have to make tic-tac-toe game using GUI(Tkinter). below program is done but I have to add 7 sec timer to this program as side in the box .If any player is unable to tick his option…
  • i need help staring this problem once i can start it i feel like i can do it, so far i was able to print out all 20 lines in the list but not able to remove the last two items being color and “y” or “…
  • I just need part a solved I already have somone helping me with part b
  • Find real world raw data set: show me to confirm before you start working with data set Apply all necessary data reprocessing techniques scaling, cleaning, imputing missing values, encoding,¬† visuali…
  • Write A Python Function, Make_array For Generate And Return A Random Numpy Array Filled With Random Integers. This Function Can Accpet The Following Arguments: Length: The Default Value Of This Argume…
  • For this Python programming project I am having trouble getting my outputs to match the textbook example for amount in IRA upon retirement. What am I doing wrong? Here is the problem: Individual Retir…
  • I want to make a linear regression line with ‘age’ and ‘job’. I converted the name of jobs into the number.¬† Each job has its own color. Please help me to make a linear regression line.¬†. In [93]: d…
  • You will practice handling tabular data with tabel .¬†. Dataset is extracted from the databases available at http://data.worldbank.org . DATA SET FORMAT WILL BE SHOWN IN PICTURE. As the filename indic…
  • I was able to the the 110, but can’t seem to get the others. What am I doing wrong (with code)!?!?¬†. 6.21 LAB: Convert to binary – functions Write a program that takes in a positive integer as inp…
  • “”” Q4: Who is the director with the most movies? First get the number of movies per “director_name”, then save the director’s name and count as a series of length 1 called “director_with_most” “””
  • https://drive.google.com/file/d/17QIBaPGzeKu4LZyBoV_4RyE03JWXDbfO/view?usp=sharing Write Python module, solver.py, to find the roots of functions of one variable. In class, we implemented the Secant M…
  • ENGG1003 – Programming Assignment 1 GPS Data Analysis
  • 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 …
  • Create a Python dictionary that returns a list of values for each key. The key can be 1whatever type you want. Design the dictionary so that it could be useful for something meaningful to you. Create…
  • please help me solve this python problem. I am unable to code this program. Please help me solve it. Requirements: Structure of the Code Your application can be programmed as a single class including …
  • In this assignment, you will again modify your Quiz program from the previous assignment. You will replace the text based dialog boxes with button-based dialog boxes specialized for multiplechoice and…
  • def f2c(f): ¬†¬†¬†¬†“”” ¬†¬†¬†¬†converts temperature from F to C ¬†¬†¬†¬†input:¬†¬†f, degrees Fahrenheit ¬†¬†¬†¬†output: c, degrees Celsius ¬†¬†¬†¬†“”” ¬†¬†¬†¬†#print(”¬†¬†¬†¬†f2c beg:¬†¬†input f =”, …
  • Please help with the following question: please only use python
  • 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
  • Calculate the total number of orders per product category per Delivery Zip Code per month ¬† cursor.execute(“””SELECT count(orderid) as cursor.execute(“””SELECT count(orderid) as total_orders,category…
  • program that asks the user to enter a temperature value in degrees Fahrenheit. Print whether water is liquid, solid or gaseous at the given temperature at sea level. The date June 10, 1960 is special,…
  • Write a program to draw a quiz score histogram.¬† ¬† Your program should read data from a text file named “histogram.txt”, where each line of the file contains one number in the range 0 to 10. ¬† Your…
  • A program includes a dictionary of stocks. Your dictionary should include at least 10 ticker symbols. The key should be the stock ticker symbol and the value should be the current price of the stock (…
  • A graph needs to be made that represents what is shown in the picture. Using matplotlib to create the most detailed graph.
  • https://github.com/dsc-courses/dsc10-2021-fa/blob/main/labs/07-center_spread_normal/lab.ipynb ¬† Can I get an answer to the first question, please¬† ¬† Question 0.1. Fill in the missing code to comple…
  • Without importing the packages Goldbach’s Conjecture is one of the oldest and best-known unsolved problems in number theory and all of mathematics. It states that every even integer greater than 2 can…
  • Need solution for the problem in the link: https://www.coursehero.com/tutors-problems/Python-Programming/20844595-Text-Mining-Python-Code-Question-is-in-attached-screenshot-Please-hel/ Not able to fin…
  • This activity concentrates on the effect of forceful methods to take advantage of guidance level parallelism in the processor when utilized in the plan of shared-memory multiprocessor frameworks. Cons…
  • 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…
  • . Task 4 (1%) Copy and paste the data below and save the file as ‘input.json’. i) Read the json file into a pandas DataFrame with variable name ‘data’; ii) Print the data and then dump the data into…
  • Python Coding: Do task from 1 – 4. Question: Write the functionalities of 2 of the 4 string methods¬† lower(), replace(old,new),¬† startswith(substring), isdigit(). ¬† Do not write functions nor metho…
  • Q1)Without using the available list method reverse , write a function, called myReverse ,¬†that takes a list and reverse the elements of the list. ¬†Use an additional list. (hint: using for, append ) …
  • Please do in Python 3, sklearn The data is the sample input. Given the hourly temperature data for each 24 hour period in p prior days spanning from startDate to endDate inclusive, predict the hourly …
  • in a python program wrote a function find_highest(listA,listB)…….. full question in images. Create a main function where you initialize the following two lists (classA & classB) with the follo…
  • Create a class called GymMembership that takes in the number of Gym Memberships and the type. Using a constructor, assign two attributes to the number of memberships and type. Within this class add th…
  • There are two .py files. One is the main.py listed below and then followed by pendulum.py. Even initial starter directions would be helpful for this assignment. ————-main.py—————– i…
  • Consider 10 assets, each defaults with probability p, independent of each other. These assets are bundled into one asset, and this asset defaults if two or more of the original assets default. a) Calc…
    • (10 points) Write a Python function named map that takes a positive integer n = d1d2d3 …dk , whereO 5 d3; 5 9 isthe ith digit of the number n and returns the smallest digit d,- that divides :1. I…
  • In an expression tree, non leaf nodes represent: ¬† a. operands b. operators c. parentheses d. tokens
  • Hello i am really stuck on this one. Picture will be at top with what final code output should look like. I also have link for files of code I have written so far. Link – https://we.tl/t-z61yngtPOG Li…
  • Type your name, and select enter: Traceback (most recent call last ): File “main.py” , line 3 , in < module > first_name = input ( “Type your name, and select enter: ” ) EOFError: EOF when readi…
  • u # Calculate the weighted average rating by marital status for restaurant #135076, # assuming marital status for the population are equally distributed # Calculate the weighted average rating by mari…
  • Question 1: Given the PEP9 CPU architecture, assume that the CPU registers, flags and memory locations are in the following initial state: CPU: A-reg 0x0000 X-reg 0x0000 N 0 Z 0 V 0 C 0 Memory: Addres…
  • Imagine you are the IT manager for Site 3 that had annual IT expenses of $42,500. Your site was above the target of $35,500 and you want to review your monthly expenses for each month of that year to …
  • Project 11.2 Lee’s Automotive Service Lee’s Automotive offers the following routine maintenance services: ¬† Oil change ¬†¬†¬†¬†¬† $30.00 Lube job ¬†¬†¬†¬†¬†¬†¬†¬† $20.00 Radiator flush ¬†$40.00 Trans…
  • I wrote recursive function to simulate a calculator. I need to input ‘+’ or ‘-‘ or ‘*’ or ‘/’ then followed by two numbers. Then, the function will print out the steps. In addition, I need to add () f…
  • In python: Encrypt and Decrypt from a File 1.¬†¬†Using w+ generate text file of following text. “Any text can be used.” 2.¬†¬†¬†¬†¬†¬†Choose a number (slicing number) for the constant to use to store …
  • Hello, I need help fixing my code. Now my code runs but there are some style errors I’m unsure on how to fix. This is my code: And these are the style errors:. \DmH-IOWU’I-PILHNH WWWMMMMMNNMMMHHHHHHHH…
  • In mathematics, a positive integer greater than 1, which has no other factors except 1 and the number itself, is called a prime number. 2, 3, 5, 7 etc. are prime numbers as they can only be divided by…
  • Anyone please help me with my assignment. I will thankful to him/her. Here is the snaps of assignments. I will attached all the required snaps. So, please don’t say it is incomplete.
  • Thank you so muchÔľĀ Which statements are correct about functions in Python? Select one or more: D a. A function must have an input argument. D b. A function may not return any value. D c. A function …
  • . The fifteen town council members of Clownville take the process of selecting new clown cars, for its Clown Emergency Fleet, very seriously. Each clown on the Clownville town council test drives se…
  • …Design a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. Then, get the last value from the input, which…
  • Please answer IN PYTHON and image is bit blurrly for kind information 1$=100 cent ,quarter is 1/4 of 100,dime is 1/10,nikel is 1/5 and penny is 1 cent ramming I home > 2 40 LAB Exact change zyBooks…
  • Please help with this according to asked This is assignment
  • Can you show a function reverse(s) that takes a string input s and returns a string in which the characters of s have been reversed. For example: >> > reverse( ‘abcdef’ ) ‘fedcba’ >> &g…
  • def display_receipt (self ) : Displays a receipt in the format. ! !I print (f’Order: {self. id}’ ) for product in self . products: product . display() print (f ‘Subtotal: $ self . get_subtotal( ) : ….
  • This one is just math Pythagorean method on python with using class. I understand I can get distance and slope with using Pythagorean triangle rule. Just stuck with using class, self and __init__ code…
  • To import text file into python as dictionary First line of every paragraph as a key and lines under the plant name as values (Python) – Separated by \n and \n\n (Do not hardcode by using increment me…
  • Python problem I have please help. 2 _ Q7. Find each root (solution) of x _ 4 ‚ÄĒ 2}: Using the Newton-Raphson method in the range =-10 to 10.
  • #2 Average a list # Write function that given a list of integers, discard the largest and smallest numbers and then find the average (via integer or floor division). # Have the function print that ave…
  • HELLO THERE, The following code produces a microscopic image of a bacteria that are overlapping shown below after the code >>>import numpy as np >>>import scipy as sp >>>fro…
  • hello tutors,¬† In each case, write a program implemented using Spark (on Databricks), to: Find the 5 most frequent and 5 least frequent (but present)t ¬†bi-grams for your dataset (only digits, not th…
  • Use the NCBIXML module to read in the BLAST result file, ‘blast_output.xml’. For each hit in the BLAST report calculate the total length of the query sequence that is covered in the high scoring pair …
  • Use for and range to sum the even integers from 2 through 100, then display the sum.¬† 2.Assume that the tax on a restaurant bill is 6.25% and that the bill amount is $37.45. Use type Decimal to cal…
    • 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…
  • question 1¬† OMDB_API_KEY = ‘f2cbd864’ The link: http://www.omdbapi.com/?i=tt3896198&apikey=f2cbd864& ¬† Define the function getOMDBData that accepts a title and calls the OMDB API (described …
  • Write in pseudo code a recursive algorithm for finding the maximum element in a sequence, S, of n 6 elements. What is your running time and space usage?
  • We store cargo in some location identified with 3 different numbers (x, y, and height) in the format of a tuple. For the example, the cargo variable looks like this: ¬† Cargo={(30,23,12): {“a”:12,”b”:…
  • https://www.cs.rutgers.edu/courses/210/classes/spring_2022_venugopal/hw2/hw2.html ¬† QUESTION 1: 2,4 ¬† QUESTION 2: 1,3,5 ¬† QUESTION 3: PART 2
  • 18 LAB: Swap two numbers ¬† PYTHON¬† ¬† Complete the swap() method to exchange the values of the num attribute of two Number objects, num1 and num2. Hint: Refer to the given Number class to see the…
  • Each student of a degree in Computer Science has grades corresponding to eight different subjects and may not have a grade in any subject. Each subject corresponds to a certain coefficient. Design a p…
  • 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, valid_numbers. The…
  • Problem 2: Quadratic We saw, and also know from basic algebra that for ax? + br + c = 0 the roots (values that make the equation zero) are given by: -b vb2 – 4ac (23) 2a The expression b2 – 4ac is cal…
  • (In python) ¬† while true: ¬† ¬†try: ¬† ¬† ¬† ¬†age=int(input(“Type your age:”)) ¬† ¬†except ValueError: ¬† ¬† ¬† ¬†continue ¬† ¬†else: ¬† ¬† ¬† ¬†print(‘Age is:’,age) ¬† ¬† ¬† ¬†break while True: ¬† …
  • The programs you will be writing for Part B build on one another. You will want to attempt these parts in order but you will submit your work in one file at the end. Imagine that you are helping to bu…
  • I would also like Merge sort to print the time it took for python to run this function. Thanks ūüôā
  • please use pycharm Requirements ‚ÄĒ Write a program that will calculate the: 1) area 2) surface area and 3) volume of a cylinder. ** Be sure to apply formatting logic so that all answers show two deci…
  • Use the turtle graphics library to write programs that reproduce each of the designs
  • Hi Im having some trouble getting my python code to work properly. Can someone please help me work out why this is not working as it should and how to fix it. ¬† These are the links to the output Im g…
  • This is based on Exercise 8.4 from this textbook Book Link : https://williams-cs.github.io/cs134-s20-www/thinkpython2.pdf Book Name : (Think Python, How to Think Like a Computer Scientist)¬† Each of t…
  • write a simple regular expression that will match a date in the format of “Month Day, Year” but will not match anything else. An example of this would “March 20th, 2021” not matching with the string “…
  • Please Help! Instructions Deliverables: You must submit your .py file and movies.txt file. Name the py file: lastname_firstname_lab13.py. Example: bond_josh_lab13.py Perform the following steps in the…
  • Selection04: Smallest Number Complete the smallest() function so that it takes 4 numbers and returns the smallest one. Assume all values are unique (no duplicate numbers). Examples: smallest(35, 32, 1…
  • Below is the UnsortedPriorityQueue class that min method executes in O(n) time. Give a simple modification to the class so that min runs in O(1) time. Explain modifications to other methods of the cla…
    • LAB: Swapping variables. 5.18 LAB: Swapping variables Write a program whose input is two integers and whose output is the two integers swapped. Ex: If the input is: 0O W the output is: 8 3 Your p…
  • what would i do to align them?? what would i do to align them?? what would i do to align them?? output-[float(values[0]), float(values [1]), float(values [2]), float(values_sum)] print(str(key). forma…
  • no chegg The contents of the file mentioned in the question are below stance,hip angle,knee angle ,ankle angle 0,37.14871979,6.875712395,-20.74449348 1,37.40672188,9.019633293,-23.24953575 2,37.459365…
  • Write a function called is_increasing that returns True if the values in the list it is passed are in increasing order and False otherwise. Use a for loop and indexing to accomplish this. Test the fun…
  • Design a program that prompts the user to enter a string.¬† the program should then display the number of vowels and the number of consonants in a string. ¬† ¬† Python code
  • How can I add headers “Minute”, “Arrivals”, “Departures”, “Waiting” to the following function? def sim_line(time, arrive, depart, curr_wait) : ¬†¬†return ‘{0:^10d}{1:^10d}{2:^10d}{3:^10d}’ .format(tim…
  • How many twelve-digit numbers are divisible by 12? Write a function that prints a list with all twelve-digit numbers divisible by 12.
  • https://drive.google.com/file/d/17sVyuAe9Ux3ThZd4Dw3pbOF-Fu_s0UX0/view?usp=sharing Above is the csv for the penguins. Please help me out 2.5 to 2.8. # Please don’t change this cell, but do make sure t…
  • In this investigation you will write a python script that will prompt a user for a directory to archive, ask them if they want the archive compressed, and (only if they do want compression) what type …
  • Need help for below questions? 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 …
  • Write a Python program that prompts the user for a restaurant bill amount and the number of people in the party. If the party has 8 or more people, add an automatic gratuity of 18%, otherwise no extra…
  • make a python project using GUI : Payroll Management System.
  • Scenario Given a word, write a function that will output a dictionary that will give each character of the word and its frequency. Aim Due to its key-value pair format, dictionaries can be used to pre…
  • 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…
  • I need help In the following, you will be using the cats dataframe: name = [‘ zoe’, ‘sadie’, ‘linus’, ‘sophie’, ‘heidi’, ‘tobey’, ‘jasper’] sex = [‘ female’, ‘female’, ‘male’, ‘female’, ‘female’, ‘mal…
  • Need a python script that count number of unique odd integers in a input file. It also must skip over element of data are not numbers Count number of distinct odd integers in the input file – e.g., {1…
  • Please sir, how do i design and implement at least five functions that will compute the similarity scores between two csv files
  • 8:49 C all 5G O N i = 2 for i in range (1, 5) : while (i < 10) : for j in range (i) : 2 print (i, end=’ ‘) :(j <= (i/j)) : 4 of 4 print () : not (isj) : break = j + 1 J > i/j) : print i, &quo…
  • a Python program that represents a command line version of a hexadecimal editor. This program will be similar to the Linux built-in command line hexadecimal editors such as xxd and hexdump .¬† The pro…
  • Dataset: The Secondary Mushroom Dataset Source: https://archive.ics.uci.edu/ml/datasets/Secondary+Mushroom+Dataset ¬†. This dataset includes 61,069 hypothetical mushroom. Each mushroom is identified a…
  • https://colab.research.google.com/drive/1eixSI22F5V4DDolbEtpfgCdrUNGQjqqs#scrollTo=U24uLcqX9Psu
  • make a Python program (that uses sequential code) that someone could run that share the features of your new network. Your network proposal should 1 Identify various networking applications and protoc…
  • How do I code in Python for the Let’s Make a Deal game? I need to do the following in the problem: If¬†the user picks¬†the¬†“Big Deal,”¬†prompt¬†the user¬†to pick a door. After¬†the user picks¬†a door…
  • Please provide the correct code only. < > O learn.zybooks.com 4.4. Expectation of a random variable 4.5. Linearity of expectations 4.16. LAB: Warm up: Drawing a right triangle Course Hero =zyBoo…
  • # this script takes a date in yyyy-mm-dd format e.g. 2018-5-18 # displays it in US format May 18, 2018 # 1. read a date in yyyy-mm-dd format # add your Python code here ¬† # 2. Split it into yyyy mm d…
  • When using ROracle to connect a database, what does the following command do, where r = dbSendQuery(con, “select * from emp”)) df = fetch(r, n=-1)¬† A) fetch all the pending records in r¬† B) fetch…
  • Imagine that you work for a large hospital, and you’ve been asked to build a system to keep track of every medical device in the building. Each device is identified by its type, name, and serial numbe…
  • Help on this question. I am stuck. Thanks // add_observation – add a new observation by submitting a request // to the server API // formdata is a FormData object containing all fields in the observat…
  • Hello, I need help solving this Lab simulation, It uses Function call in expression 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…
  • Create Lists In [ ] : # [ ] create and populate list called days_of week then print it
  • python-What is output? ¬† time = 0 distance = 0 try: if time <= 0: raise ValueError(‘Invalid Time!’) if distance <= 0: raise ValueError(‘Speed: 0’) speed = distance / time print(f’Speed: {speed}…
  • Computer Science 1 ‚ÄĒ CSci 1100 Lab 9 ‚ÄĒ Date class Lab Overview This lab investigates Python classes and their user The particular focus is a Date Class It builds heavily on the material covered in…
  • Part I: Understanding the Model Parameters We will use a Support Vector Machine Classifier in this lab. This classifier has many parameters that can be fine tuned. The full list of parameters is found…
  • Hello, I need help with this program. Write a program that reads a sentence/phrase and, keeping the order of the words you have written, write each of these words backwards. INDICATIONS: -Use a pointe…
  • Please answer question according to following code, which is using the PYTHON language. All you have to do is answer question, now coding required. What is the code to convert the for loop shown below…
  • I’ve tried counter=counter – 1 and counter= counter + 1 But both are coming up as incorrect? 3. 2. Count from N to O # Get N’ from the command line import 5/5 N = int ( sys. aTEv [ 1] ) COUNTER = 14 w…
  • Need help with the Python / Flode chart (From CODIO) – to help, I presented an EXAMPLE question similiar to the one I am asking, explaining the diagram and what each symbol represents, etc – to give a…
  • I would appreciate it if someone can help me out with this.. Task 2 – Routes Problem Description The execution of ip route command produces this output: 0.0.0.0/1 via 10.8.0.1 dev tun0 default via 192…
  • 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…
  • CP1401/CP5639 Practical Prac 8 – Python lists, tuples, and dictionaries ¬† Aims Today we will be practising using lists, tuples and dictionaries. ¬† solution to each task in a separate Python code fil…
  • I need to learn please work each individual and explain the code in detail as simple as possible. a. A program that reads dates from input, one date per line. Each date’s format must be as follows: Ju…
  • Python program to print out the multiplication-table.
  • I’m having difficulty putting the finishing touches onto my Python Program. The meat of my code works, in that it’s supposed to print and write formatted values from a csv file into a text and print s…
  • Lab Assignment #Sa Writing the Python Code: Write the code including the features listed below. Before developing your code, your team should come up with at least four (4) test cases. Test cases sho…
  • In Python- create a class Qualification with public member variables: Qualification name and number of modules required.Add init( ) method of the class that initializes string member variables to empt…
  • can someone let me know if this is correct Problem 1: an array that contains the days of the week.and chart The storyboard is the basic type of the prototype. It is a paper form of the interface showi…
  • For problem size n , algorithms A and B perform n 2 and ¬Ĺ n 2 + ¬Ĺ n instructions, respectively. Which algorithm does more work? Are there particular problem sizes for which one algorithm performs si…
  • can I get help in this function please? i attached picture of the question knowing that: cannot use sort function in this function not allowed to import anything. ‚ÄĘnot allowed to use sets and dictio…
  • Hi There , i am working on a project assignment where we need to read and aggregate the data in a Dynamo db table the Dynamo db table is loaded using Bedsidemonitor.py code. While i am able to read da…
  • Python Question on the following: Inputs:¬† Item Name Item Cost Life in Years Depreciation Method (SL or DDB) If SL is chosen, depreciation must be by 1/n of original value if DDB is chosen, depreciat…
  • Using the “Computational Thinking” approach to problem solving: 1. Define the process for the online tool. 2. Develop the necessary pseudo code and a flowchart that illustrate and communicate the defi…
    • Read the data and do exploratory data analysis. Describe the data briefly. (Check the null values, Data types, shape, EDA, duplicate values). Perform Univariate and Bivariate Analysis. 1.2 Impute…
  • I need some help writing a program in python 3. Thank you¬† ¬† 1.29 LAB: Divide by x ¬† Instructor note: Note: this section of your textbook contains activities that you will complete for points. To e…
  • Chapter 7 complete the following Programming Exercises from the chapter.¬†¬† #2¬†Lottery Number Generator #3¬†Rainfall Statistics #4¬†Number Analysis¬†program (optional 5pts¬†Extra Credit)¬† – #11 Lo …
  • Question 1 (4 points) What does the following regular expression mean in plain English? if research("([aeiou] [^aeiou])[4,6]$", s, re.IGNORECASE):
  • Problem Statement: The “Gottcha Anti-Theft” Machine There are many anti-theft devices on the market that attempt to foil a would-be robber from starting your car and driving off with it. One popular i…
  • import numpy as np from scipy import signal import cv2 as cv imag_BGR = cv.imread(‘chess.jpg’) cv.namedWindow(‘part2’,cv.WINDOW_NORMAL) cv.imshow(‘part2’,imag_BGR) cv.waitKey(0) cv.destroyAllWindows()…
  • # Try to decrypt this text. The secret key is between 0 and 26 secret_message = “DFCVFPAAXBVOXGOUIB”¬† ¬†Use the function caesar_decrypt(encrypted_text,key). Try every key from 0 to 26, most of your o…
  • Find the Valedictorian Assume that you are the teacher and you need to identify which student is the valedictorian in the given list of grades. The list of grades returns 10 scores of the students. Th…
  • #18-1 Right Triangle Calculator import tkinter as tk from tkinter import ttk def main(): ¬†¬†def click_calcbutton(): ¬†¬†¬†¬†a = float(a.get()) ¬†¬†¬†¬†b = float(b.get()) ¬†¬†¬†¬†num1 = a^2 + b^2 ¬†¬†…
  • Hi could you please help me with this question using ONlY regex (regular expressions) no other functions such as index are to be used. phone numbers are in the format “(area code) 555 555 55 e.g. “(04…
  • Please, don’t copy and submit the same code from another similar problem and post the code which will output similar sample which I have posted. ¬†. Topics: class, object, instantiation, methods, inhe…
  • py class LinkedListNode : def __init__(self, initialHead = None, initialTail = None) : self.setHead(initialHead) self.setTail(initialTail) def setHead(self, other) : self.__myHead = …
  • hi i have questions about this code instruction, here is the question and the code of¬†create_scrabble_dict(w) . is_valid_word: This function takes as input a string and a dictionary. The dictionary h…
  • Write a program that accepts a comma separated sequence of words as input and prints the words in a comma-separated sequence after sorting them alphabetically. Suppose the following input is supplied …
  • With the help of Python panda, create a program that can read in titanic.csv file and find the proportion of passengers surviving for each year of age. Survived,Pclass,Name,Sex,Age,Siblings/Spouses Ab…
  • PYTHON I do not know how to approach this question. I know I need to create an empty list first but I do not know how. I would really appreciate it if someone could help me and show me the steps. You …
  • BookShelf class Functionality This class stores the index for words in books as they are provided. ¬† Attributes index: a dictionary representing an index of the words of a book where the keys are the…
  • M5 Lab: Computing Pairwise Correlations se Spark ML Library to process connections between’s the traits (segments) of a dataset. Dataset Files These are the records that you will use to test your code…
  • Test/run average5.py and average6.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, k…
  • would you please tell me a codes and tell me what is questions 3 codes going to work on JUPYTER notebook? questions two i’m also make you just need ¬†tell me what is codes for question3 all questions …
  • . Lab 6: Temperature Conversion (GUI & Functions) – Intro to Programming General Requirements 1. Analyse the problem. 2. Code a very well documented (comments) Python app following the PEPS Styl…
  • Sort short_names in reverse alphabetic order. Sample output with input: ‘Jan Sam Ann Joe Tod’ [‘Tod’, ‘Sam’, ‘Joe’, ‘Jan’, ‘Ann’] ¬† ¬† user_input = input()¬† short_names = user_input.split() ¬† print…
  • . zy Section 4.10 – IT 140: Introduction X Course Hero X + V X C A learn.zybooks.com/zybook/SNHUIT140v3/chapter/4/section/10 it Apps ) mySNHU Login y! Yahoo @ Homepage – South… ) Mail – Syjud, Mic…
  • Station master of Codington railway station is working on automation of trains to platform allocation. This allocation will not only prevent manual errors but also bring about a consistency in train t…
  • WP1 Implement the method roll as part of the linked stack data structure. With an argument n ‚Č• 2, the method moves the top of the stack to the n th position, shifting all intervening elements toward…
  • Answer the discuss questions(1,2,3,4,5,6,7) ¬† Discuss: What is the value of `drink[-3]`? What code would allow you to print every other letter in `drink` (i.e. print “gne er”)? What code would allow …
  • Write your answers for the early non-coding questions in a simple text file called questions. txt . By now you should be able to use PyCharm easily enough to edit text files. Get started straight away…
  • Question 3: 10 points In this question, we will create predictions from the observed majority class at each node. Define a function called pred_from_split that accepts four inputs: A numpy array of ob…
  • the full question is here (b) (10 points) Carry out your method using the price and demandndata in the matrices Prices and Demands, found in Homework6.ipynb. Give your estimate E in the same Ô¨Āle and…
  • google docs link ¬† ¬†https://drive.google.com/file/d/1OUYoUAFjlH6UjVcTpO6RTf5y665SqB0I/view?usp=sharing ¬† Do you have a solution for this? ¬† ¬† Part 1 – Main Version Outcomes 1. The program should …
  • . HW10.30. Return a list of three largest numbers from a list Homework 10 The function below takes a single parameter: a list of numbers called the_numbe rs. Assessment Return a new list containing …
  • Implement a Bayes Classification for the dataset RidingMowers. The probability for target class “owner” is computed as follows: P(C_owner|X)/P(C_owner|X) + P(C_non- owner|X). Construct a ROC curve by …
  • Make the following string correct, storing it in a variable named ‘q12’: q12 = “4 % 2 = ” + (4 % 2))
  • ”’ Using¬†this¬†script¬†provide¬†as¬†a¬†baseline. Expand¬†the¬†script¬†as¬†follows: ¬† 1)¬†Allow¬†the¬†user¬†to¬†enter¬†a¬†path¬†to¬†a¬†directory¬†containing¬†jpeg¬†files. 2)¬†Using¬†that¬†path,¬†pro…
  • Can you explain to me what this error is saying and how I could resolve it? Please see my current code and screenshot of terminal. My code is as follows: #!/usr/bin/env python #The os library allows f…
  • Write a function called calculate_total(products) which receives a list of products, where each product is represented by a tuple.¬† Each tuple contains two numeric values indicating the quantity and …
  • Consider the situation where there are 5 possibilities for rockets. Each rocket has a different launch velocity and angle. Your program must identify the velocity/angle combination that results in …
  • This is the second part of the question in this link: (https://www.coursehero.com/qa/wait/35106175/) where Parts 1-7 are needed to be answered:¬† For this question, please answer parts 8-14. ¬† ¬†You …
  • 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, …
  • Help write a program that: a. Prompts the user to enter a distance in kilometers b. Uses an internal function that you create to convert kilometers to miles with: Miles = Kilometers * 0.6214 c. Displa…
  • JUST NEED TO FILL IN THE CHESSBOARD SECTION Can someone please fill in these python functions in this Jupyter notebook file (link to file given below). There’s alot of pseudo code to help fill in the …
  • Assignment 8 (50 pts): Screen scraping: Extracting data from Web sites ¬† Demo code: ScrapeBooks.p y (see Code and Data folder on Blackboard) ¬† Assignment data:¬† https://top500.org/¬† https://top500…
  • Write a python program to accept a user’s name, age, and favorite color and print out a welcome message
  • I need help with my homework assignment for my python class please. ¬†. Project 11-2: Arrival Time Estimator Create a program that calculates the estimated duration of a trip in hours and minutes. Thi…
  • import json #lets just concentrate all functions in the top of the code # mean reversion strategy def meanReversionStrategy(prices): i = 0 buy = 0 total_profit = 0 trade_profit = 0 first_buy = 0 for p…
  • 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…
  • First, write the code to create a single DataFrame object in a function called load_ticket_data(). This function should return the full dataframe and take no parameters (you can assume the ticket file…
  • A square with height size and width size: ***** ***** ***** ***** ***** 2. A rectangle with height size and width 3√ósize: *************** *************** *************** *************** **********…
  • Use only phyton and has to work on coderunner. Question 4 In Statistics, Standard Deviation is calculated as follows: Not complete 10 Marked out of 2.00 Standard Deviation = 1 Finish atte P Flag n-1 q…
  • what I the answer Suppose that the average age of a Python programmer at Google is 30 and the average age of a Java programmer at Oracle is 39, and then consider an app where a programmer can check hi…
  • CSC 212 – Data Structures Sorting Algorithms Assignment ¬† You are to create a program that enables you to measure the execution times of various sorting algorithms to better understand their efficien…
  • The Spearman rank correlation is used to evaluate if the relationship between two variables, X and Y is monotonic. The rank correlation measures how closely related the ordering of one variable to the…
  • Question is on pic2.jpeg where it’s states as :- “Design and develop a Python script that creates and delivers information displayed in the format given in Figure 2. State clearly, any assumptions you…
  • Longest palindrome substring def longest_palindrome (text) : A string is said to be a palindrome if it reads the same both forward and backward, for example ‘ racecar’ . Given text, find and return th…
  • import webbrowser import tkinter # function to be called on click def onClick(url): ¬† ¬†# open the url x in new browser window ¬† ¬†webbrowser.open(url, new=1) if _name_ == ‘_main_’: ¬† ¬†# main wind…
  • I need help with a program that requests the price and weight of an item in pounds¬†and ounces, and then determines the price per ounce. Here’s what I put into the input that was provided to me. price…
  • . from turtle import * def draw sun earth () : "draw sun and earth visualization >>> draw sun earth () [graphical visualization of sun and earth] # calculate ratio of sun and …
  • # Sample function showing the goal of the game and move commands def game_instructions(): ¬†# game intro ¬† ¬†# print a main menu and the commands ¬† ¬†print(“Cyclops Hunt”) ¬† ¬†print(“Collect 6 item…
  • https://1drv.ms/x/s!AsJmq4RS6w5ulGcUukP7BLRHadDA?e=YNVK6o. Lab 5H Using the LabData.csv dataframe: 0 Display the data frame 0 Display a data frame that shows true for each data point that is VNVaVNm -…
  • Write a program that updates and displays game stats for football players (Defense) at a local high school. ¬† Your program will read a file containing the names and ids of the defensive players.¬†…
  • In this exercise, you are given a file called NYSE . cav that include data about New York Stock Exchange. The following figure is a screenshot of a part of the file. NYSE, GRT, 4/27/2006, 16.87, 17, 1…
  • 1 Description In this assignment, you will be implementing a k NN classifier to classify text documents. The imple-mentation will be in Python, on top of Spark.You will be asked to perform three subta…
  • What is the difference between these two snippets of code?¬† ¬† Code Snippet 1¬† try:¬† value1 = int(input())¬† value2 = int(input())¬† except ValueError:¬† print(‘Invalid Input’)¬† ¬† Code Snippet 2?…
  • Quick Paragraph Styles .Shape Er Drawing Exercise 1 Develop a security system that works with the caeser cipher. .Let the given string be "Python" and the key is 3 letters away from each let…
  • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
  • I have a skeleton code here for this project but do not know exactly where to start. My task is to implement a reliable File Transfer Protocol (FTP) service over UDP.¬†¬†I need help to write the relia…
  • database=https://github.com/gauravjain2/heart-failure-prediction/blob/main/heart_failure_clinical_records_dataset.csv ¬† Flag question: Question 1 Question 1 ¬† Compute the proportion of patients in t…
  • "What’s wrong? while( (i < 10) & & (i > 24)) // some statements a. the logical operator & & cannot be used in a test condition b. the while loop is an exit condition loop c….
  • can you please help me to create the following program?¬† required steps in image below some hints for the program below thx in advance heres link to the testlogin.out file https://drive.google.com/fi…
  • ***************************************************************************PSET_8 — DESCRIPTION***************************************************************************Write a program in python 3 t…
  • 3a) Write the expression that would create the numpy array ax below¬† [[ 1, 2], [ 3, 4], [ 5, 6], [ 7, 8], [ 9, 10], [11, 12]] 3b) Use array indexing to find the corners of the array in 3a 3c) Use bro…
  • Hi, how do I write a python function that will accept a list of integers and return the mode (the integer that occurs most frequently in the list), or None if the list is empty? The use of dictionary …
  • Question 2 ¬† ¬† Using the learned slope and intercept from the squarefeet model, what is the RSS for the simple linear regression using squarefeet to predict prices on TRAINING data? ¬† 1 point ¬† Be…
  • (In Python). Write for loops to produce the following output: 22 333 4444 55555
  • Car Loan‚ÄÉ Write a program to analyze a car loan. See¬† Fig.¬†3.79 . The user should enter the amount of the loan, the annual percentage rate of interest, and the duration of the loan in months. Afte…
  • From the list of top 200 most popular names for babies born in the US in the 2010s. We are interested in the names that start with ‘C’ or contain a letter ‘X’ or ‘x’. Create a DataFrame with the names…
  • 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…
  • Function to write #3: jscore(S, T): ¬†¬† Jotto scoring Write a function named jscore(S, T), which will accept two strings, S and T. Then, jscore returns the “jotto score” of S compared with T. This jo…
  • CP1401/CP5639 Assignment 1 ¬© Information Technology @ James Cook University 1/11 For this assessment, you are to plan and then code a medium-sized console-based program in Python 3. This assignment i…
  • Hi, can anyone help me with these two python functions? I just got into recursive functions and would like to see examples of these two! Thanks! Part A: Euclid’s Algorithm Re-implement Euclid’s algori…
  • (create) a Python project manage_course.¬†Add a Python file course.py to this project.¬†Define a class Course in this file.¬†This class has three publicly accessible instance variables to store course…
  • . 5. Suppose that we have data points (an, 3,1,) for i e [N], where :3, 6 R” are feature vectors and y, 6 {i1} are binary outputs. The linear classiÔ¨Ācation problem aims to Ô¨Ānd a linear functio…
  • 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 hitting enter…
  • Write code that outputs variable numYears as follows. End with a newline. Ex: If the input is: 3 the output is: Years: 3
  • Problem Summary: Define a class named¬†Check_Annotation¬†that decorates a function, such that when the decorated function is called, the decorator class check ‘s the decorated function’ s annotation, …
  • What is the basic characteristics of Machine learning?
  • from a list of lists, how do you convert the strings in the list to intergers? for example L=[ [ ‘2’ , ‘6’] [ ‘3’ , ‘8’] [ ‘9’ , ‘5’] [ ‘1’ , ‘4’] [ ‘6’ , ‘6’] [ ‘7’ , ‘2’] ] to L= [ [ 2 , 6] [ 3 , 8]…
  • Hello, I am writing a program has two lists: 1) a list of integers from input 2) list of two more integers that represent lower and upper bounds of range (inclusive). I then need to output all integer…
  • Could you please help me with this? It is required that i cannot use while or for loop. Q4: Repeated, repeated In Homework 2 you encountered the repeated function, which takes arguments f and n and re…
  • how to test the dataset is unique or not in the jupyter notebook . Are there any missing or invalid values in the data? . Is the scale of the different attributes approximately equal? If necessary, pe…
  • Computational physics¬† python¬† Please provide a correct and well explain code. thank you¬†. 5.21: Electric field of a charge distribution: Suppose we have a distribution of charges and we want to ca…
  • Answer those Python question. Problem 2 Given a string p2s , assign to problem2 a new string resulting from first capitalizing the first letter and then swapping the case of all the characters in p2s …
  • “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 (European U…
  • write just part of the program that explains the interface. When the half finished is run all widgets appearing as shown but with no text inside the Entry widgets or list boxes Reindeer Oceanis Comel …
  • 5.2: ¬†¬†Write a 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 provide…
  • In paython language. Question 1 (1 point) What is the output of the following statement word = coOL’ print (word [-1] +word [-2]+word [-4]+word [-3])
  • Submit the python code for the following¬†problem : Show all apple variety names Get the variety that user wants to know more about. List out the characteristics of that variety. Sample input :¬† gran…
  • Instructions Your job is to develop algorithms for identifying five different attributes that are found on business cards. The following attributes are a few examples: First name Last name Company Job…
  • Objectives: a. Scraping of the data and show sample data. (Scrape New York Times article with the keyword “COVID” within the month) b. Use the API to gather the data and show sample data. (Print ou…
  • describe how tuples can be useful with loops over lists and dictionaries and give python example.descriptions and examples should include zip function, enumerate function and items method.
  • USING RECURSION (no iteration i.e. while/for loops) finish this function ¬† def remove_dups(thelist): ¬† ¬†“”” ¬† ¬†Returns a COPY of thelist with adjacent duplicates removed. ¬† ¬†Example: for thelis…
  • Please refer to the photos below, Thank you. ¬† ¬†. Provide a python code that solves the following conditions: 1. There will be a set of inputs in a grid that has the same n number of rows and column…
  • what is one way of making a program that determines which of the following three ingredients the user has and based on the availability of those ingredients, displays which of the seven options are av…
  • Hi, could anyone explain how the following code would give output of 6? ans = 1 for i in range(0,10,5): ¬†¬†ans += i print(ans)
  • A 6×6 black-and-white image is represented as a Numpy array¬†x¬†as in the following, >>> import numpy as np >>> x = np.eye( 6 ) Note that this is not a grayscale or color image for w…
  • Imagine that you work with the form that has fields like Education and Age. We will assume that our data will come from these types of forms. You will be given a list of lists in the following format:…
  • Task 1 Complete the function that takes an integer as input and returns the factorial of that integer from math import factorial def calculate(x): # Student code goes here print(calculate(3)) #expecte…
  • Task 3 What tried to apply some masks to a list of numerical values. Please read the following function description carefully and complete it. Please provide a one-line solution using the "inline…
  • I’m terrible at Python programming (The class was required for my college studies) and I pretty much know nothing so if I could get some help and answers for these problems I would appreciate it very …
  • please help me with the first assignment (move-maker) Programming Assignments 6 and 7 – miniChess ECS 10 – Winter 2017 All solutions are to be written using Python 3. Make sure you provide comments in…
  • Write a code that accepts any number from user input. Then display if the number is Odd or Even. The program must ask the user if he wants to input another number. The program terminates when the user…
  • A graph needs to be made that represents what is shown in the picture. Using matplotlib to create the most detailed graph.
  • 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 a….
  • how do you turn a sequence of 1234567890 into a list (so it looks like: [1,2,3,4,5,6,7,8,9,0])
  • The top 3 most popular male names of 2017 are Oliver, Declan, and Henry according to babynames.com. Assume that the newly popular name Atlas continues its meteoric rise to the top of the charts in 201…
  • Need help creating a trie with the attached functions. Node ADT: -_contains_(letter) – returns true if the Node has a child corresponding to the letter -_getitem_(letter) – returns the child node corr…
  • I need help with this homework question, I’ve been attempting it for a while but could not code it correctly.¬† As mentioned, a run is a sequence of consecutive repeated values. Implement a Python fun…
  • Hi, can anyone explain how the input is derived from the following code? x = 5 y = 6 def f(x): y = 4 return x*y def g(y): x = 7 return f(x-y) print(g(x))
  • Tips Per Hour Calculator Write 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 th…
  • Which store has maximum standard deviation i.e., the sales vary a lot. Also, find out the coefficient of mean to standard deviation by using SAS.. There is maximum std devn need to select across the 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 …
  • For a binary classifier, the threshold can be modified, and modifying the threshold will affect the True Positive Rate and the False Positive Rate. If you change the threshold of the classifier so tha…
  • hour = int(input(“Starting time (hours): “)) mins = int(input(“Starting time (minutes): “)) dura = int(input(“Event duration (minutes): “)) # put your code here
  • Create a python for the Magic 8 ball. AutoSave O Off) H . () = OPS445 – Assignment #2(1) – Protected View – Saved to this PC Search (Alt+Q) Tuan Huy Tran TH & X File Home Insert Draw Design Layout…
  • Python program with the following characteristics: ¬† Menu driven program* Properly commented Read data from a file the user supplies For our example use¬† crime.csv as your sample file Options to i…
  • Question 1 Here is a table of 1-5 star ratings for Ô¨Āve movies (M, N, P. Q. R) by three raters (A. B, C). MNPQR A12345 B23253 C55532 Normalize the ratings by subtracting the average for each row and…
  • I have a homework assignment where I have to paste one picture on top of another in python without using any image libraries so I cannot use opencv or pillow. And then find the pasted pictures x,y coo…
  • Programming Project # 5¬†¬†¬†¬†¬†¬†¬†¬†¬† //NOTE: not all of the pseudocode is here // main module Function ¬†main() // Local variables Declare numbers[] // declare array & initialize Declare high…
  • Need help with the below: Q1: Options for each – a. instance b. Instantiation c. object d. class : 2: 3: 4: 5: Fill in the blanks below. A Select an answer v is the blueprint used to create object. An…
  • The data tables can be found in this link. Please use the data tables found in the link.¬† airbnb_toClean.csv – required for Task 8.1 onwards salariesMessy.csv – required for Task 8.3 ¬† Link https://…
  • Write the definition of an __init__ method that requires the parameters x and y.
  • Hello, I need help solving this Lab simulation, It uses Largest number for if-else statements and I am very new at python on so I need help solving it. It is very difficult. It is very confusing since…
  • Hi! I don’t know what I am doing wrong when entering my code into the main.py file. I am trying to pass all of the tasks.¬† ¬† Thank you! ¬† Using Variables and Assign Statements ¬† Scenario You are c…
  • #FIX the PYTHON CODE to make it work import random # userPick function gets a valid choice from the user and returns it def userPick(): ¬†¬†userChoice = input(“Enter a (1) for rock, (2) for paper, (3)…
  • Hi! Please form a code that does as stated below! In Python 3 please, and do it as quickly as possible please!. You are given a list called myname ( use your first name ) which has 3 elements. Write a…
  • def get_us_sector_performance(): ¬† ¬†output_list = list() ¬† ¬†url = “https://eresearch.fidelity.com/eresearch/goto/markets_sectors/landing.jhtml” ¬† ¬† ¬† ¬†**** Your code goes here **** ¬† ¬† ¬† ¬†…
  • test = { ‘name’: ‘q1_3’, ‘points’: None, ‘suites’: [ { ‘cases’: [ {‘code’: ‘>>> type(accidents_observed_statistic) == float\nTrue’, ‘hidden’: False, ‘locked’: False}, {‘code’: ‘>>> r…
  • Need help with this while loop question: The output needs to look like this: ¬†. Ô¨ā, .. _ __- u “v . using a while True loop that: Prompts the user to enter a word; may use only one input statement…
  • 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. The testing code must print the foll…
  • Using Math function, a. Generate x, sin(x) for x values ranging from -2PI -> 2PI with an increment of PI/64 b. Generate x, cos(x) for x values ranging from -2PI -> 2PI with an increment of PI/64…
  • I need help creating a system flowchart based on this scenario Entering information about the contestants and the school they belong to will also become difficult. ¬†The system is expected to allow da…
  • Can you please help me figure this out? I can’t seem to find it in my notes, book or anywhere else.
  • what’s the problem here? I print out different number in second one. numString = Safe Decoder avg = 0.0 return avg else: Function Name: safeDecoder() for t in numString: sum_num = sum_num + int(t) Par…
  • Topics 1. Constraint Satisfaction Problem in Python 2. Logic Design and Inferencing in Prolog Instructions for submission: Follow IST time zone for due time of submission uploads Only one submission p…
  • Problem 1: ¬†make a list (or tuple only, no dictionary) that contains the months of the year. ( do not hardcode the month number) ¬†¬†¬†¬† Problem 2: ¬†make a loop to print the number and the…
  • **BAYESIAN TEXT CLASSIFICATION** I have 3 different authors writings which are divided into test and train data and mapped as shown in the screenshots. Step1: I need a Python function to load the trai…
  • Reinforcement Learning: Policy Gradient implement the REINFORCE policy gradient algorithm to optimize on a stochastic policy that solves a simple gridded environment. The Environment In this proble…
  • 13LAB: Exact change Write a program with total change amount as… ¬† 3.13 LAB: Exact change ¬† Write a program with total change amount as an integer input, and output the change using the fewest c…
  • need help on how to go about this question, thanks. This program records the domain name (instead of the address) where the message was sent from instead of who the mail came from (ie. the whole e- ma…
  • What is the 3 bit representation of the decimal number 10?
  • how to use python to solve this question 6 Test file for Question 3 8 9# Test case 0 10list_of_lists_0 = [ [4, 7] ] 11 expected_output_0 = [11] # [4 + 7] 12 13# Test case 1 14 list_of_lists_1 = [ [2, …
  • Question 1 What may be a function that computes and returns the sum of the digits for any integer that is between 1 and 999, inclusive. Use the following function header: def sum_digits (number) : Onc…
  • improve the code written in python for any possible Exception and input validation ( Avoid all the scenarios which may crash your program) Note the path validation is already placed using the os packa…
  • program that reads an integer value and prints to the user whether that value is negative, zero, or positive. Program 2 ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† a program that reads three floating-point numbers and pri…
  • Python: Tutorial File Operation Modes Before we start working with any file using a computer program, either we need to create a new file if it does not exist or open an already existing file. In eith…
  • Case Study III Domain – Telecom focus – Optimization Business challenge/requirement LifeTel Telecom is the latest entrant in the highly competitive Telecom market of Singapore. It issues SIM to the ve…
  • QU ESTI D N 34 which of the following statements is false? C) Python has separate string and character types. Q You can use string method isdigit when validating user input that must contain only digi…
  • Find three bugs and explain in one sentence each what problem they cause: (6)¬† target = 5¬† number_of_guesses = 10¬† result = “Wrong.” while number_of_guesses > 0:¬† ¬† ¬† guess = input (“Enter…
  • . Problem 1 – Poisson Probability Suppose you’re sitting in a restaurant counting the number of people who come in. and after an hour you’ve determined that on average 5 people enter the restaurant …
  • Write the function, strongest_pokemon(pokemon_list) , which takes in a list of dictionaries and returns a new dictionary representing the strongest Pok√©mon for each attribute. Each of the dictionarie…
  • Creative Randomness and Repetition Use Python’s Processing Mode You will create 2 sketches for this assignment. 1) In class we created a sketch that incorporated elements of randomness.¬†¬† Ellipses o…
  • BUFFER_SIZE = 2048 port=4632 host=”127.0.0.1″ print “Connecting to port ” + str(port) # Create a TCP/IP socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: # Connect the socket to the…
  • Create a class called GymMembership that takes in the number of Gym Memberships and the type. Using a constructor, assign two attributes to the number of memberships and type. Within this class add th…
  • I would really like some advice or help with some python code please. I am learning and writing functions and then calling them to menu options but my code is not displaying as it should to the screen…
  • Exercise 2: Student’s Choice (solve either Exercise 2A or 2B) Exercise 2A: Create a Python program that reads the data stored in the provided rainfall.txt, where each line in the text file contains th…
  • I am having an issue with this assignment: The rules for Python names are: A variable name must start with a letter or the underscore character. A variable name cannot start with a number. A variable …
  • 2: 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….
  • Given a list of percentages (for example [4, -3, 75, 100, 105, 25]), answre Python function called out_of_range that takes the input list of numbers and returns how many of the numbers are out of rang…
  • 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%…
  • Can you help me to Construct an empty Bayes net according to the below structure Here is the code given. ¬†. Ghost 0 Pacman Ghost, 1 Obs 0 Obs 1. def constructBayesNet ( gameState: hunters . GameState…
  • What are the beneÔ¨Āts to create a tool from a Python script? D Can incorporate into model or run from command line or Python Window CI with a dialog box, browse for inputs and have SQL buttons [I Can…
  • modularize your program. Design your own hierarchy chart for your food truck problem. Rather than trying to create all the boxes, use a Word table similar to the following: main( )
  • need help to write a function in python. Write a function called "changePermissions" that accepts a string containing the absolute path and name of a file on the Raspberry Pi (eg. /home/pi/f…
  • Final Code In your final code, you will extend your Checkpoint B code in the following ways: Clean up the main function by moving the code corresponding to human’s play in a different function. This w…
  • Initiate a program to list all the inflammation csv files in the ‘inflammation-data’ directory and count the number of such files. An inflammation csv file has a name containing ‘inflammation’ and wit…
  • Template¬† ¬† “””Create routes between cities on a map.””” import sys import argparse # Your implementation of City, Map, bfs, and main go here. def parse_args(args_list): ¬† ¬†“””Takes a list of stri…
  • Navigate back to the cell containing the Book class and add the methods described below. There is no need to modify PaperBook or ElectronicBook. Don’t forget to re-run both the Book class and PaperBoo…
  • ****PLEASE USE PYTHON TO ANSWER**** Write a program to simulate motion of electrons in the 2D classical helium atom. 1. Study the effect of interaction between electrons on their orbits. 2. Are there …
  • Hi, I need help with implementing a function relevant(products, preferences) . Please show me a step by step guide and explanations on the methods you used . I am at straws on trying to solve this so …
  • I need a program in Python that flips a coin 1000¬†times and then lists how many heads and tails. The program needs to be written to allow me to repeat¬†the coin flips¬†¬†–¬†in other words the entire …
  • Solve the problem in an algorithm Code it using pseudocode Problem: Cookie Calories A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10 “servings” in the bag…
  • f= open ( “CityStateData.txt” , “r” ) lst=[] for c in f: # extract the city name from the element of the list cityname = c. split ( “,” )[ 0 ].strip() # after extracting the city name, extract the sta…
  • Re-write the code below to produce the same result import pandas import glob import numpy #1 The data meant for individual files are combined below # twADR-L dataset twitter_df = []; twitter_data_file…
  • Write a function execute2_lds (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 return…
  • IDK HOW BUT IF ITS TOO MUCH I CAN SPLIT IT INTO TWO QUESTIONS, JUST LET ME KNOW HOW PLEASE, I NEED THE HELP………………………….GIVEN INFORMATION FOR DATA SET FOR PYTHON:::::::::::::::::::::…
  • . SCIT, University of Wollongong CSIT110 2022 Session 2 Assignment 1 (10%) due on Friday 15" Apr 2022 at 11:59AM Objectives Able to write clear code with comments and follow coding convention A…
  • . Q2.[1 point] Given a dictionary person, use the helper function to add some extra information about the person to the dictionary and then write the dictionary to a json file. After writing the dic…
  • Task This is an individual assignment that requires you to participate in a machine learning competition on Kaggle. Specifically, you will participate in the competition Titanic: Machine Learning from…
  • Candidate Generation (20 pts) You will need to complete the generate_candidate_3_itemsets function, which takes in a list of frequent 2-itemsets and returns a list of the candidate 3-itemsets (“candid…
  • Essay Analyzer Many websites out there allow you to upload your essay and give you a general analysis of it that may help you improve your essay or see where it stands (An example of this is: www.expr…
  • A Caesar Cipher in cryptography is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter so…
  • All coding is on python and Codes with comments to understand better . “INSTRUCTIONS” You cannot use builtin libraries¬†. ‚ÄĘ You have to submit single .py file ‚ÄĘ Make sure that function names must …
  • . edge_has_city (self , edge) asks a simple question: does the edge have a city on it, or not? It returns a boolean value. Your implementation should do something like this: def edge_has_ci…
  • Do Exercise 6.4 from your textbook¬† using recursion ¬†and the¬†is_divisible¬†function from Section 6.4.¬†Your program may assume that both arguments to¬†is_power¬†are positive integers. Note that the…
  • Do not add import statements ¬†. # For simplicity, we’ll use "Station" in our type contracts to indicate that # we mean a list containing station data. # You can read "Station" in …
  • Please don’t copy from chegg and course hero¬† ¬† import tkinter as tk import time import random WIN_W = 520 WIN_H = 520 CELL_W = 40 GRIDSIZE = int(WIN_W/CELL_W) – 2 def initial_grid(gridsize): : def …
  • The Fibonacci Sequence is computed based on the following formula: f(n)=0 if n=0 f(n)=1 if n=1 f(n)=f(n-1)+f(n-2) if n>1 Please write a program to compute the value of f(n) with a given n input by …
  • Sprint 6 Please fill in the (…) near the end of the code as for this sprint it must make an alarm sound. import bitmex import json import threading from datetime import datetime import os os.system(…
  • The programming language is python 3.7, using PIL to import the image. The attatched image of a goat (goat.jpg) is the picture to be modified according to the questions parameters. change_colour (file…
  • . I am setting up a healthcare clinic and need to determine FTE stafÔ¨Āng requirements for the providers. I can take fractional FTEs. I will be choosing from primary care physicians (M Ds) who avera…
  • Choosing a Data File: You are permitted to choose any publicly-available CSV (comma-separated values) formatted data file. The minimum requirements for this data are: 1. The data should have at least …
  • Make a Dictionary A script that prints a dictionary where the key numbers are 1, 2, 3, 4, and 5 and the values are the key number times 2. Be sure to use an appropriate loop to iterate through the dic…
  • 11 LAB: Confidence intervals for population proportions Load the titanic dataset. Find the proportion of passengers who embarked from Southampton whose age is greater than the user defined age. Calc…
  • 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…
  • %%capture ########################################################### ### EXECUTE THIS CELL BEFORE YOU TO TEST YOUR SOLUTIONS ### ########################################################### import imp…
  • 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…
  • MCIS5313_029211S: Data Structures and Algorithms, Assignment#3: Linked List A linked list is an object that creates, references and manipulates node objects. In this assignment, you are asked to write…
  • I have to write a program that allows the user to entre a list of numbers and to return the same list but with the numbers inverse ex [1,2,3,4] [4,3,2,1] now with the program i wrote below its returns…
  • Students will be tasked with creating a basic calculator in Python, with a fully functional GUI, using any library they see fit to help implement the GUI . Tutorials explaining how to implement Tkinte…
  • # 10 pts – This is the interface for how transactions are added def add transaction ( self , s , r , V ) : Is = # Get current timestamp tx hash = # Hash of timestamp , sender , receiver , value* new …

 

Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!

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

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

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

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

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