# 👋 Cheap Assignment Help Services 💲👍

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

• I need help with the following assignment: Task 01 The goal of this particular exercise is to open and read a CSV file found on the local filesystem. You’ll be creating a function that takes a filenam…
• The question is about Python functions that can return multiple results. If I define the function in the way below, the two results of 9 and 27 will be returned in a tuple (9, 27) def sqrTrip(x):   …
• function count_word that accepts a word to be searched within file word.txt and returns the number of times the given word appears in the file.  Your main function will ask the user for the word to s…
• Given two strings str1 and str2, return the shortest string that has both str1 and str2 as subsequences . If there are multiple valid strings, return any of them. A string s is a subsequence of string…
• What’s the code for project 3: Rabbits, Rabbits, Rabbits in CS 1400 Fall 2021? How to get all the points for submission? https://codio.com/shuntsman/rabbits–rabbits–rabbits/filetree
• Create a function timetable(zid) that, given a student number returns the timetable of the student in the format shown in the test cell below. NOTE : Your function should still work if new courses, …
• How do I write the body of this function? def add_mention_exclusive(tweet: str, tweetword: str) -&gt; str:    “”” Add the ‘@’ symbol to tweetword contained in tweet. If   tweetword already has a …
• Hey, this is an unsolved challenge in a CTF and I would like to see if anyone could solve it for me and get the flag and write on how you did it.   The code is in the block below and the challenge de…
• ALL IN PYTHON! –need to use mapquest API to get directions from location to location –please help! i dont know how to get started. I have the APi key but i don’t know what the rest of the link i sho…
• Case Study:   1. The data file contains numerical attributes that describe a letter and its corresponding class. Read the datafile “letterCG.data” and set all the numerical attributes as features. Sp…
• pages Hello all, first week of python homework, the professor does not speak very well english at all and I am very confused. I aced all my other programing courses, I just need help with this…
• pouilleux implementer with classes and objects A map is going to be an object of class Map. The Card class with two character string variables (value and color). The CardGame class is a variable na…
• . 4. Write a Python program for the above problem. Use conditional statements, loops, etc. (20 points.) For reference, the problem is stated again: Calculate the gas mileage of a car in two instance…
• Need help on what to use to tackle this problem. Question 4: Define a new table summed mini_hazard_data that contains the columns of summed_mn_data along with an additional column, Hazard Rate, that c…
• getting error OSError: [Errno 22] and also need help on how to get label on images that say “hot dog” and “not hot dog” from PIL import Image, ImageDraw, ImageFont import boto3 from pprint import ppri…
• 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…
• Write vpython program using vpython and numpy. The topic is simulation of state of matters. needs to visualize the how the molecule in container will react in different state of matters i.e. solid liq…
• This has to be done in coral language. Write a program using integers userNum and x as input, and output userNum divided by x four times. Ex: If the input is 2000 2, the output is: 1000 500 250 125 No…
• topic is on files, read the note at the bottom of the question . Question 1: Conversion Disarray! [5 points] Over the Summer, Mark worked with a lot of different APIs for his co-op. When you are b…
• A solution to this would be helpful, having trouble with it. Also, couldn’t this be written all in one program? Or should I be breaking it up into multiple files?. Create pseudocode, flowchart and pyt…
• Consider the two data files (users.csv, transactions.csv). Users file has the following fields:  a) UserID  b) EmailID  c) NativeLanguage  d) Location     Transactions file has the followin…
• Write these program in python and please provide the input and output of the program
• Hello, I’m a beginner computer science student struggling with some questions. There are some bugs in my code, and I’m not sure how to fix them. For my first question, it reads, “Define a function tha…
• Please can you help with why my code only return ‘A ‘ for any score input? and also is this acceptable (if score &gt;=93 – 100) if score &gt;=93 – 100:   print(“That test score is a grade A”) elif s…
• 0001 #include «stdio.h&gt; 0002 0003 #define EXERCISE TYPES 3 0004 0005 int main(void) 0006 f 0007 0008 0009 0010 const char exercise[BEXERCISE _TYPES] = [‘S r.WH const int swimming = 20; const doubl…
• Could you explain where the 2 comes from in this formula. I understand the other values since they are coefficients or mean value of ngirls.. Model 1: Each additional daughter of a legislator reduces …
• How could internal documentation improve this program? x = 90 a = 37 c = x/a print(c)
• Create a function defined as: def GaussJacobi(Aaug, x, niter = 15): You must use variables, loops, if statements, your own function definitions and function calls to write the required functions. Do n…
• I need the python code of the following. Thanks for your help. Needed ASAP One python statement to store the names of the five countries(you pick the names) in a list named nations. ==================…
• The website code( password generator) Possible modifications if not already part of the password creator might be allowing the user to determine which punctuation characters might be in the generator,…
• USE PYTHON thank you You are a soldier who needs to tell the correct password to the guard to be let into the castle. However, the password protocol is not that simple. You need to obtain the password…
• Please help me fill out missing codes in the 2 picturesby using Python # This tells matplotlib not to try opening a new window for each plot. %matplotlib inline from matplotlib.colors import ListedCol…
• What is the best way to do multivariate imputation using python?
• Premise: Tracy has a file that contains a list of actors and the movies in which they acted. She wants to know the top 3 ranked actors from her list whom have acted/appeared in the most movies. ACTOR…
• . (Slope-intercept form) Write a program that prompts the user to enter the coordinates of two points (x1, yl) and (x2, y2), and displays the line equation in the slope-intercept form, i.e., y = mx …
• This question needs Pandas or Numpy. Initialize the US Zipcode dataset as shown below: usZipCodeData = pd.read_csv(‘http://people.bu.edu/kalathur/datasets/uszips.csv’, converters={‘zip’: lambda x: str…
• How can I set up this program with correct indentation? thanks! Exercise 7.4 Arabic to Roman Number Converter Roman numerals are represented by seven different letters: Roman Arabic I V 5 X 10 L 50 C …
• Use R make a simple ” Side Panel  (with controls) /  Main Panel  (with results)” app, with a  selectInput  and a  sliderInput .  For Example: Code for the example above: # # This is a Shiny web…
• This is Python, Thank You! Create a function idNumber(idString) that returns an integer of the id number in the ID string. The ID string has the format LHS#####…## where the first three characte…
• What are the correct answers to these questions?  . BabyNames.py Run Reset #The United States Social Security Administration publishes Console output will be 3 #a list of all documented baby names ea…
• The Collatz Conjecture is seemingly simple process that states the following: Start with any positive integer If the integer is even, divide it by 2 If the integer is odd, multiply it by 3 and add 1 R…
• Instructions Read the problem description below. Create a decomposition and a list of inputs and outputs. Make sure these are clearly marked at the beginning of your program and commented out so that …
• given a list of integer, write program to display the number in the list that is larger than or equal to the average of all of the numbers AND has the smallest difference to the average. You can use t…
• Plan Prophet VM VirtualBox is a cross-stage virtualization application. What’s the importance here? For a specific something, it presents on your present Intel or AMD-based PCs, whether or not they ar…
• #Design and code it a structured into a Python program !!!!!!!!!!!!!!!!!!!!!!!!!  . Final Project Start Assignment Due Saturday by 11:59pm Points 14 Submitting a file upload File Types py and zip Ava…
• 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…
• When it comes to Python programming language, Describe different types of design patterns that are frequently used in CRM software.   Identify at least 3 different design patterns you would plan to u…
• Domino cycle def domino_cycle(tiles) : A single domino tile is represented as a two-tuple of its pip values, such as (2, 5) or (6, 6). This function should determine whether the given list of tiles fo…
• Using the IDLE development environment, create a Python script named tryme3.py . Write a function in this file called nine_lines that uses a function called three_lines to print nine blank lines. Now …
• 2021-03-01 17:00:00 INFO &gt; System startup complete  2021-03-01 17:00:01 INFO &gt; Status: normal 2021-03-01 23:52:12 WARN &gt; High CPU load 2021-03-01 23:57:19 WARN &gt; Limited memory 2021-03-02…
• Trying to make a Library with python no GUI included So basically users should be able to search for books by title or by author and should be able to search by book category (fiction, non-fiction, au…
• This exercise (80 points) allows a user to load one of two CSV files and then perform histogram analysis and plots for select variables on the datasets. The first dataset represents the population cha…
• Why would I get the following error when trying to create a gui chat? line 54, in write    self.sock.send(message.encode(‘utf-8’)) OSError: [WinError 10038] An operation was attempted on something t…
• 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 and building a new list….
• pseudocode this for me please   def F_to_C(f): ”’ This function will convert the temperature from Fahrenheit to Celsius. Args: f: temperature value in Fahrenheit. return: c: temperature in Celsius. …
• Python 1) If the list of elements to sort is shorter than 60 elements it calls insertion_sort, otherwise it uses merge_sort. a) Implement insertion_sort and merge_sort  b) Write a Timsort that calls …
• python code:  . Problem 4.6 45% 61 m 300 m- A projectile is launched at O with the velocity v at the angle 0 to the horizontal. The parametric equations of the trajectory are x = (vcose)t 1 y = 78…
• Need help with the functions under the class Classifier : test cases: test case code to copy-paste: def test_prediction(capsys, min_f1=0.89, min_accuracy=0.97):     # get texts and labels from the t…
• Write a method that removes the value of a node with index i from a singly-linked list.  Also, you must raise exceptions when necessary.  You must NOT use any other methods that **you implemented** …
• This is what I have for problem 1 and im facing assertion errors. Please help me modify my code for this problem. (WO using “intersection and not”          . def shared_values (set_list) : Argume…
• 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…
• Use Python Use a threshold-based method and a fixed size window to find anomaly events. The window step size is 1. Use numpy.percentile linear method to calculate percentiles of the Nitrate data whi…
• Please answer CSC 212 -Data Structures BST and Heaps Problem1: BST a. Show the Binary Search Tree resulting from inserting the following values in the order shown: 50, 40, 70, 20, 45, 60, 80, 55, 57 b…
• . 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…
• Écrire un script qui va faire un test d’existence de fichier don’t le nom est passé en paramètre au script au moment de l’exécution. Le script va afficher la valeur de la variable $? (On n’a pas e… • Can someone translate this VBA Excel code to Python? This line of python code was given for the RandomNumber: #import random library import random #get randomnumber between 1 and 50 randomNumber = ran… • Write a python program (.py) that traverses a directory and calculates the digital fingerprints (MD5, SHA1, and SHA256) of all the files in the directory. The program should ask the user for the name … • 12 LAB: Warm up: Parsing strings (1) Prompt the user for a string that contains two strings separated by a comma. (1 pt) Examples of strings that can be accepted: Jill, Allen Jill , Allen Jill,Alle… • construct kernel ridge regression model with python please help with the pseudo code here: (1) here i want to implement k-fold cross validation def fit(self, folds, grid): CV_error = np.zeros(len… • Problem 3 Running and Analyzing a Single Trial Simulation In this part you will understand the behavior of a group of bacteria cells as time passes through a simulation. You need to implement the func… • Using logistic regression, what are the three significant variables to predict loan approval? Explain in detail step by step with code and the thought process of choosing the three variables. • Write function print_word_counts(filename) that takes the name of a file as a parameter and prints an alphabetically ordered list of all words in the document converted to lower case plus their oc… • Packet Tracer 1. Build and document a network using the topology on page 2 • 1 Router (4321) • 2 Switches (2960) • 2 PCs • 2 Servers 2. Connect all devices. 3. Documentation should b… • Discuss what is Algorithms. What does the acronym CRUD mean and how does it reflect to Python. Give an example of each using Algorithms. https://repl.it/languages/python3 • I am trying to get the max number of Friends_Count and SharedWith_Count for each ProductID with the CustomerID. I am able to get the max of each ProductID for Friends_Count and SharedWith_Count, but I… • Instructions 1. Complete a algorithm, code and compile the following program. Save the program as mathTutor.py. Math Tutor You will be creating a math tutor program that can be used for young children… • Exercise 4 ( avg_grades_by_student_test : 1 point). Write some code to compute a dictionary named avg_grades_by_student that maps each student to his or her average exam score. For instance, avg_grad… • Course List.txt is a text file that contains a list of course number and course name separated by a blank space. Please write a program that can help the user to search for courses from this text file… • Using the Boston Marathon data construct a Python program that will sample 100 racers official time using random sampling and plot a histogram of the sample 5) Using the Boston Marathon data, from … • The Week 4 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 Guess the number! … • Could you help with this question. Make sure to separate the function and the main file (t07) and only use one return statement in the function. I have split this question into 3 images as it is quite… • Import the dataset into QGIS • make a map that colour-codes the locations based on sensor value A • make a map that colour-codes the locations based on minimal rainfall and uses marker sizes b… • If i were to code this in Python, how would I do it using this data?. What were the top 50 most popular subreddits in terms of the number of active users?2 What does the Probability Density Function (… • . Submit just a single Python file, hw6_sol. py. . A component missing from our analysis is the frequency with which each word appears. This is easy to keep track of using a dictionary, but we will no… • Python Code Only with no Imports, just basic coding. CountMultiples Implement a function countMultiples that -accepts a single argument, a 2-dimensional list (e.g, list of lists) containing … • Python: A LinkedList class that has recursive implementations of the add and remove methods described in the lesson. It should also have recursive implementations of the contains, insert, an… • please use see the test calls and solve accordingly • you will add input validation and a count to show how many guesses the user took before getting the correct number. The pseudocode is below. Be sure to import random at the beginning of your code and… • Description: Make a new fileTwentyFourHourClockTime.py that defines TwentyFourHourClockTime, a new subclass of ElapsedTime that has the following modifications: -TwentyFourHourClockTime’s are n… • . Pets-R-Us is a local pet store that offers a variety of pets for adoption. Pets-R-Us also sells a variety of pet-related products, supplies, services, and accessories. Pets-R-Us needs help with… • Hello, please help write a python code correctly to the question posted below. Thank you very much. ENGG 1320 Group 10 Report: – X ed (16) ENGG1330 – Assessments X ed (16) ENGG1330 – Assessments X Sma… • Use slices to obtain all even numbers from the tuple t=(1, 2, 3, 4, 5, 6, 7). • How to wirte the following class member functions? class warmup ( object ): “””A simple class with methods to get you used to how python classes work.””” def makeBand ( self , band) : “”” Requires: no… • For the file weather_report.txt, you have 4 floating point numbers in each line as per the format below. (Min Temperature(in C), Max Temperature(in C), Humidity%, Rainfall(in)) for a particular day. Y… • Given Code: #Write a function called pull_records. first_to_last should #have two parameters: a string representing a filename, and a #list of integers. Inside the file, there will be some text on #ea… • Problem: Write a function that given a list of numbers, returns True if and only if all of the numbers in the list form an arithmetic progression, that is the difference between any two successive num… • ____ count_even_numbers(numbers): count = 0 for num in ____: if ____ % 2 == ____: count += ____ _____ _____ How can I fill in the blanks to make the following true: ass… • Create a function called ReadFile() with the following requirements: a. Single parameter with the name of the text file to open and read. b. Each line of the text file must be added to a dictionary. I… • The __str__ method of the Bank class (in bank.py ) returns a string containing the accounts in random order. Design and implement a change that causes the accounts to be placed in the string in … • Problem 3.4 Purpose: Use both if and while to solve a scientific problem. I found the following quote on the web: The mathematics of uncontrolled growth are frightening. A single cell of the bact… • grades = [ # First line is descriptive header. Subsequent lines hold data [‘Student’, ‘Exam 1’, ‘Exam 2’, ‘Exam 3’], [‘Ken’, ‘100’, ’90’, ’80’], [‘Pat’, ’88’, ’99’, ‘111’], … • Cluster the survey respondents into groups using an hierarchical approach on these 9 variables: Lodge, Tabin, Tent, Days3, Days6, Days12, PriceLow, PriceMed, PriceHi. a. You may u… • Write a line of code that prints the integer portion of the number 21.45. 2. Write code that prompts the user for a floating-point number and prints the smallest integer that is larger than the num… • Polymorphism with Stores How to make classes that represent to a certain degree different types of stores in real life and the information tracked and services provided by these stores. In order to … • This is the link to the dataset: https://en.wikipedia.org/wiki/Iris_flower_data_set#Data_set Your help is appreciated! Thank you and blessings! • Write a function called compute_average, which accepts a list of values, and returns the average of all those values. Also, the negative values should be excluded from the computation. Sample fun… • . Submit the following files: 1. Jupyter Notebook (ipynb) file 2. PDF file that shows your code and output When you write your program please add applicable comments with the hashtag (#) so the grad… • 29 – Python Activity 10 coding python core def sort_embedded (filepath) : Read all lines from file in ‘filepath&quot; and return a list of all lines sorted numerically by the number at character posit… • Submit the code and output of the following programs. Use FOR and WHILE loops as appropriate. 1. A loan is repaid in decreasing instalment amounts. The first instalment is 20% of the loan, and eac… • I think this is the question 1 and this is question 2 1st ref-https://classes.cs.uoregon.edu/22S/cis122/p31-turtle-sun.pdf 2cd ref-https://classes.cs.uoregon.edu/22S/cis122/p32-turtle-hous… • Please help with practices examples 1 and 2. 1. 2. Extension of code below that does not have to be edited. Testing to see if the program works.. import json def load bimmypp (filename) : with open (f… • do not copy anywhere the two diagrams above relate to the following question I’m struggling writing a algorithm if you can help please show me how you did the algorithm thanks • a.Consider the fol… • Only need the files of those titles are chair professor, professor, associate professor and assistant professor,even though the staff have multiple positions Files should contain the details of chair … • Ok, at http://mcsp.wartburg.edu/zelle/python/ there is a file called graphics.py. I need this program to compute the intersection of a circle with a horizontal line as well as display the th… • 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_values( by =… • Simple Guessing Game Program: Creating a guessing game where two players will attempt to guess the sum of the values of two dice (Your program will mimic two dice roll). Each player will be promp… • Some of the variables and functions for a used-car inventory program are to be grouped into an object type named CarOnLot. Select True if the item should become part of the CarOnLot object type, and F… • Class Implementation a) Implement a class Rectangle with two attributes, width and height. b) Implement an inif method with an optional parameter type. Set the default value of the attributes of wi… • What display after the following print() function is executed? print(“Welcome!\nNow that you have learned about”, • Hello, I need to write the code for this exercise from the peer group of my university. The exercise is: You can use these hints: You can download the file pwt91.dta from the following lin… • Assignment 6b: numpyPurpose This assignment has you continue learning about the core numerical library in Python, numpy. In particular, you’ll: Use numpy for random sampling. Write functions for numpy… • Your next script will use arguably the most annoying children’s song ever – “The Song That Doesn’t End”. The lyrics are as follows: This is the song that doesn’t end Yes it goes on and on my frie… • 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… • I need help with this function below. get_filter_results: (TwitterverseDict, List[str], FilterDict) -&gt; List[str]The first parameter represents the data in the Twitterverse dictionary format, the se… • Appropriate documentation and comments within the program to: explain the purpose of sections of the program (i.e. loops, lists, functions, etc.) explain various individual lines of code def main(): ?… • Why am I getting this error? I’m using python and mongo, I keep getting TypeError Traceback (most recent call last) &lt;ipython-input-4-7044911ca29a&gt; in &lt;module&… • [bitcoin_converter.py] 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 pro… • Design a “class circle” to draw a circle • parameter: size • methods;: move_x, move_y, move_xy • Design “class f_circle” for colored circles • parameters: size, color • inheritance from … • You are given the following incomplete function. The goal is to complete it, so that the log likelihood log P(x|y) for each point in X_test on loglikelihood and label the Y_test. Note that the likelih… • Create a program named program61.py This program will have three functions, the main() create() and retrieve(). main() will call: create() and main() then calls retrieve() create() will prompt the … • Create pandas dataframe called my_df with index as integer numbers between 0 to 10, first column (titled “rnd_int”) as 10 integer random numbers between 10-25, second column (“rnd_float”) as 10 random… • explain the problem we face when we have input phase inside a class list out the class names for swiggy app(syntactically) using python • I need help with this assignment, I am not sure how to solve it, but the picture below shows the things needed. . Instructions: . To installing Yara on your Windows VM following the instruction… • Please answer only if you are completely sure about the solutions, with explanation for each question needed 1. Is Python case sensitive when dealing with identifiers? a) yes b) no c) machine depende… • Use Microsoft PowerPoint for Pseudocode and the flowchart (You may use a different application if PowerPoint is not available).. Problem 1: Create a list that contains the months of the year… • Sections 6.2-6.9 6.1 (Math: pentagonal numbers) A pentagonal number is defined as n(3n – 1)/2 for n = 1, 2, … , and so on. So, the first few numbers are 1, 5, 12, 22, …. Write a function with the … • question 6 Question 6: Write a program that calculates a weighted average. Given a list of numbers and a corresponding list of weights, the program should do the following: 1. The program should only … • Please assist with my code for python 2. This needs to be top down formatted, here is what I have so far but I am struggling with the print portion. The print statements should not appear unless the u… • hello I am trying to put this expression tree diagram for each of the following expressions in a document. python a) 7 – 2 * 5 b) (7 – 2) * 5 c) 9 * 5 + 10 d) 6 + 5 – 2 + 3 e) 5 * 7 ^ 2 f) 4 * (2 + 3)… • Discuss the three types of control structures. Describe how any one of these control structures impacts your Python programs. Do any of these structures have to follow a specific order? • . # You may define helper functions, but DO NOT MODIFY # the parameters or names of the provided functions. # The autograder will expect that these functions exist I and attempt to call them to grad… • . Python Programming The following is the table provides information on cities in the UK and their populations. City Population Bristol 617.280 Cardiff 447.287 Bath 94.782 Liverpool 864.122 Glasgow … • Function name: string_ends Function parameter(s): It has one parameter, a list of strings. Function behavior: The function should make and return a new list of strings that are the last 4 character… • I learned the sorting algorithms in Python class. However, I do not know how to solve this problem. Needed to solve Python Programming. The problem is, Let S be a sequence of n integers. A trans… • I’m having serious trouble figuring out how to start coding for these problems. I’d be more specific, but honestly, I’m horrible with this coding language and I have a hard time remembering things abo… • Hello, can you please help me writing a code that states the following: For example, a dataset made of 10 flower types, and each flower has length values and width values that change with time !! … • 1) The question screenshot has been attached down below: . O A H- B- E F For this question you must evaluate the result of this circuit if inputs C, D, F, G, I, J, and L each have a value of Fals… • How are the encodings the same or different from run-length encodings? • Sales predictions Demand for particular types of beer varies from week to week and month to month. Due to the lead time taken to produce each batch of beer, up to 10 weeks, it usually isn’t possible t… • P1 Task 4: Code review For the rest of the project, you will be working with the function book_category_dictionary_list (i.e., case 1). As a team, make sure … • write a short python function that will verify whether an equipment brand is supported by Netmiko. (hint: ” dir(netmiko) ” will return a list that contain all supported equipment types. One should be … • 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. • I have the code for this function but the tester requires I use while loops instead of for, I can’t seem to figure out how I would convert it 15. Implement the following function in the PyDev module f… • Test is the main module which tests your code and assigns it a grade. This is the one that you will run in python. Graph is a generic class that implements graphs using adjacency matrices. Walk is a c… • This is the text file below is supposed to be saved as song.txt and the results should look like the sample output on the last page. “August 13, 2020 12:02 AM”,”Kinfolks”,”Sam Hunt” “August 12, 202… • How to add Exception Handling that results to this sample run below based on the python code also below: Sample Run (Valid Input): Please enter your name: Test Hi Test, welcome to the database. Mai… • . For each call below to ifElseMethod, write the output as it would appear on the console. Show all work. public static void ifElseMethod(int n) { System . out . print(n + &quot; &quot;); if (n &gt;… • . Task 1 – IP Addresses Problem Description In Linux, the execution of ‘ip address’ command produces this output: eth0 Link encap:Ethernet HWaddr bo:ac:6f:65:31:e5 inet addr: 192. 168.2.100 Bcast: 1… • I need assistance in creating a program using Flowgorithm to calculate the areas of two different rectangles and then determine which is greater or equal. I’m trying to get the output to display 2 num… • Assignment 3 (Hamburger Class) Write a class called Hamburger. The Hamburger class should have the following fields: 1. weight – an int storing the weight of the hamburger patty in ounces 2.?… • Can someone help me with this? I can only create one tuple with a for loop; but cannot create three tuple’s in a for loop. I’m stuck, and could use some assistance. &lt; – C Q Search the web… fa D :… • Chapter 12 – Programming Project [P-12.58] : Perform a series of benchmarking tests on merge-sort and quick-sort to determine which one is faster. Your tests should include sequences that are “ran… • i need to make a Pig Dice game the program reads a list of rules from a file and displays them. from a text file named rules.txt. Rules: * See how many turns it takes you to get to 20. * Turn ends… • I need someone to help me write a code that fits these requirements. This is for a final for my software development class. The theme of my final is joining a swim team or someone interested in joinin… • 8 LAB: Word frequencies (lists) 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… • Suppose that X is a Gaussian random variable with zero mean and variance o’: 1 fx (2) = -e-x2 /202 V2TO Find a tail bound for X using the Chernoff bounding method (see page 9 of the notes on concen… • Can you please explain how to find the sum of n numbers using recursion in python • Task: Look at the following python code and the attached image “rubiks-cube.jpg” and try to find the entire range of values for each color in this image for each of the following color scheme: RGB HSV… • 3.4. Function stripFrames This function takes a list of 9×9 frames and removes the parity row and column, returning a list of 8×8 payload-only frames. This function should build a new list of new f… • We can apply the chi-square testing framework to the second problem in this section: evaluating whether a certain statistical model fits a data set. Daily stock returns from the S&amp;P500 for 10 can … • 19 LAB: Exact change – functions Write a program with total change amount as an integer input that outputs the change using the fewest coins, one coin type per line. The coin types are dollars, q… • Hi Im stuck on this question could anybody help me? This part is about data structures that implement the Map ADT : hash tables and binary search trees (BSTs). It assesses your skills in clear and su… • 1) The question picture is attached down below: . Exercise A: &quot;Number Triangles&quot; For this exercise you will design and implement a program that will ask the user for 1 an integer and th… • Part 1 Can Python be used to develop and run apps on other platforms besides Windows? 1. Discuss at least two different platforms where Python can be used to develop and test apps. You must include at… • THIS IS A GENERAL PROJECT THAT CAN BE MADE INTO ANY FUNCTIONAL GUI THAT FOLLOWS THE SET REQUIREMENTS. – MY IDEA WAS FOR A SMALL BUSINESS WHICH SELLS MOVIE TICKETS – I HAVE ATTACHED THE 1 IMAGE AT … • ** 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… • Describe the difference between a chained conditional and a nested condition. Give your own example of each • Write a block of code to implement the following flow chart. Prompt the user to input two numbers Store the numbers as man” and numZ • Please help. I am getting this error. Can you please send me the correct code? Thank you. Ven Tools Education 12. Add Horl Terminal pictool.py plugins py 138 if sepia= =True: Collapse ) 3. Add Image F… • # Q1) def get_new_grades(): “”” Write a function get_new_grades , such that given a string of grades as an input parameter, returns two objects: the initial grades as a list of numerical… • https://www.dropbox.com/s/dvfrj6lxjjs5v1r/owid-covid-data.csv?dl=0 –&gt; csv file https://www.dropbox.com/s/3gwe0a0bu5uoqyu/assignment1_notebook.ipynb?dl=0 –&gt; jupyter notebook answers for 4 , 5… • def pq_triage ( source, key) : Removes all values from source that have a priority Less than key. Use: pq_triage (source, key) Parameters: Source – a priority queue (Priority_Queue) key – a key value … • the first pic is mnist_train.txt, the second one is mnist_test.txt Download and read the document that explains how to apply the K Nearest Neighbor (KNN) algorithm to classify data. You are going to u… • linear regression We have a dataset with continuous inputs X (60 examples x 80 features) and continuous outputs y (60 x 1). The X values are normally distributed. The y values were created as a linear… • Identify and describe 5 necessary Zillow.com inputs and the recommended HTML types. • Pie Chart Plotter For this homework you need to write program that will read a CSV file a plot a pie chart for this data The CSV file is located in this weeks module, it is called: WI-00-SNOW.csv… • a. Write a program that keeps a dictionary in which both keys and values are strings- names of students and their course grades. The following operations need to be implemented. Initially the dicti… • Complete the following tasks: Show each step of turning list [42, 35, 71, 34, 76, 39, 77, 47, 6, 20] into a min heap. The following is an example of heapifying [55, 73, 17, 41, 83, 89, 7, 28, 10, 69]. • txt includes a line for each book in the library in the following form: &lt;book name&gt;#&lt;number of copies&gt;#&lt;restricted&gt; Where &lt;book name&gt; indicates the name of the book, &l… • I need help with this project, everything is included, the one below the screenshot is a singly link list class ListEmpty ( Exception ): pass class SinglyList : class _Node : d… • Can you tell me its correct algorithm and its flowchart ..please The detail of each task is illustrated below. Requirements 1. Model The model must be based on the bit adder Upper bit Lower bit from c… • Which of these would not be a correct beginning of a for loop? Group of answer choices for counter in [10,0,-1]: for counter in range(10,0,-1): for 1 &lt; counter &lt; 10: for letter in “vacat… • https://drive.google.com/file/d/1ICEfwzlDRmb9LGPBTJbWtRjQ65YLSDsa/view?usp=sharing. Background Object oriented programming languages are otten used when designing and developing complex systems such a… • Find 5 bugs import json class KeyedValue: def __init__(self, name, value): self.name = name self.value = value def print(self): print(f”Name: {self.name}, Va… • Use a basic list structure to enhance Functionality 1 that you developed in Week 1. You should allow users to enter information for five employees at the same time, where the first employee informatio… • here is the code that needs to be uncoded: import numpy as np from scipy.integrate import odeint import matplotlib.pyplot as plt def ode_system(X,t,*params): #???what is the point of * ??? ”’ The ode… • Exp#1: Fingerprint spoof detection system based on two-class support vector machine (SVM). Dataset: LivDet 2011: https://drive.google.com/drive/folders/1nLWXD8wR7zD4tI0udk2GN6XC9EqIF8PR Training… • Defina una función cuentaLetrasLista(listaPal,listaLet)que recibe una lista de palabras y una lista de letras. La función regresa una lista con el número de veces que la las letras en la listaLetse… • Create a Python program that will produce the following output: Given the following sentence, print out every third letter. The Python programming language makes manipulating strings very easy! • Is this a good example of a simple pseudo code flowchart? . Enter Shopper Name Enter Shopping Date Enter Super Do you need to recalculate? (Shopper Enter Avocado _ added more . Avocado Price durin Q… • . Task 1: RIM on a Second Order OOE (20 pts] Solve Problem 25.4 (8&quot; edition] using Python. Create a script that runs your solution and name it A6_task1.py. You may create other functions to sup… • lab of Discrete event simulation for the traffic light between a main road and a secondary road The model has two simple parameters T_a and T_b . The two parameters represent unit of time in seconds. … • I got help with one of my edits on this code, but how do I make it asks the person for all the grades at once and not one at a time? print(“ENTER the 5 STUDENT names 1 at a time: “) names = [] for i i… • python code please location_x = array([8.369, 9.702, 4.472, 2.846, 7.712, 2.989, 9.763, 9.292, 2.047, 3.451, 2.124, 2.989, 3.437, 9.1 , 1.356, 1.948, 1.608, 1.122, 4.152, 3.014, 1.366, 7.654, 6.025, 6… • In this code section i have to replace the ‘&lt; &gt;’ sections with my own code. I am allowed to change the syntax, as long as my output does not change. I need help writing a function that takes the… • program named sentinel_loop. This program should implement the following functionality: This program should read a series of integers entered by the user at the console. This program should use a sent… • How can i answer #5? Name Yelp Google Overall Menu Item Cost Albertacos 3.5 3.9 3.45 California 5.7 Albertacos 3.5 3.9 3.45 Carne asada 5.25 Burrito Factory 4.5 4.8 3.5 Steak everything 7.35 Burros an… • Im having some difficulty with a python function and would appreciate any guidance on how I might fix where Im going wrong please. I am allowed to use and not use the following in my solution: Your … • Start with the following Python code. alphabet = “abcdefghijklmnopqrstuvwxyz” test_dups = [“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”] test_miss = [“zzz”,”subderm… • . As you saw earlier, the . split ( ) method will break a string into separate words, based on its default behavior of break up the string at each occurrence of whitespace. You can also use . split … • In the following code, what does the &quot;@staticmethod&quot; mean? How to properly call this function? class employee : @staticmethod def myFunc ( ) : result=. . return result A. this is a static me… • Hi please guide me on how to connect all the town together using Python. the test cases are provided. . Introduction Assume the role of a district mayor. You are given a map of a district for urban … • I am having trouble making my code work. The question is: We pass in three inputs, A, B and C. You should output A∗(B+C/3) This is given to me for input: import sys A = float(sys.argv[1]) B = fl… • While I run this program it shows like this This is the question. amountBudget – float (input ( &quot;Enter amount budgeted for the month: &quot;) ) spent – float (input ( &quot;Enter an amount spent … • Hello, I need a help with my assignment please. I don’t know how to generate the sentence as requested by the assignment. I already looked in the file but the solution sentence.py and test_sentence…. • (numpy and pandas) Import the flights data set and plot a line plot for the variable ‘passengers’. • I need to store the appropriate boolean in the variable provided for each of the following statements: function_names | basetball_game is a better function name than BasketballGame pwd | pwd is… • This is my code for the hangman game I am creating Could you improve my code in the following ways: 1) It is fine to use if and elif, and else, but I would like the code to be changed for punishing th… • Python program to determine the body-mass index of a collection of six individuals. Your program should include a list of six names. Using a for loop, it should successively prompt the user for the … • To extract the raw data (row) into a usable format that can be relied upon by the rest of your application, we will define the concept of a record. 1. Create class: AbstractRecord a. Thi… • For the given sequence: 2, 4, 6, 8… This sequence is (arithmetic/geometric) because it has a common (ratio/difference) of • Please help me create a python code that generates random Lottery numbers. Using the “Lotto Max” number pattern as an example of how the output should look like. • Someone answered but I can’t see the answer for some reason. • for letter in caps: if letter not in alphabet: print(‘Only use English letters’) break else: print(caps) dictionaryfile=open(‘dictionary.txt’,’r’) word_list=[] for word in dict… • Show each step of turning list [42, 35, 71, 34, 76, 39, 77, 47, 6, 20] into a min heap. The following is an example of heapifying [55, 73, 17, 41, 83, 89, 7, 28, 10, 69] Step List 0 55, 73, 17, 41,… • PYTHON . Create a class called BankAccount. Objects of the BankAccount class should hold a current balance and account number and allow you to deposit, withdraw, get_balance, and get_account_number. O… • Write a program whose input is two integers and whose output is the two integers swapped. Ex: If the input is: 3 8 the output is: 8 3 Your program must define and call the following function. swap_val… • Show each step of turning list [42, 35, 71, 34, 76, 39, 77, 47, 6, 20] into a min heap. The following is an example of heapifying [55, 73, 17, 41, 83, 89, 7, 28, 10, 69] Step List 0 55, 73, 17, 41, 83… • &lt; w Question 50 (Mandatory) (10 points) Look at the following function definition: def my_function(a, b, c): d = (a + c) / b print(d) 12 1. Write a statement that calls this function and uses the f… • Write a Python program, implementing encryption/decryption without using any special security packages(means do not import dictionary). The program should ask the user for encryption method, if you … • Assume that two 2d points are represented as Python pairs (tuples with 2 elements), x and y. Give a Python expression that is equal to the Euclidean distance between x and y. Recall that the Euclid… • When I tried to pass through most_consonants([‘obama’, ‘bush’, ‘clinton’]) the result was obama instead of clinton. What is the fix for that. Thank you in advance. def most_consonants (wordlist ) : &q… • Look at the following statement: mystring = ‘cookies&gt;milk&gt;fudge&gt;cake&gt;ice cream’ what is a statement that splits this string, creating the following list: [‘cookies’, ‘milk’, ‘fudge’, ‘cake… • I have built a dictionary for a lexical analyzer. I need to use this analyzer to create a scanner to scan a file and list out the tokens from a command line. Please create a scanner and run the file b… • the above is the problem and i want the code of it in python.thanks. • where k is found using a lookup table for T from the following data: 1 . Diesel thermal efficiency can he described by the following equation (9 – 12 in Your textbook ) . | TK – 1 &quot;Th, Diesel = 1… • 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 emer… • Write a function ones_and_tens_digit_histogram(numbers) that takes as input a list of numbers and produces as output a list of 10 numbers. Each element of the result indicates the frequency with wh… • Collect your data to answer the research problem: Write python code to collect 1000 data samples you. Just the code needed to collect 1000 data samples on house prediction from Kaggle.com. • # -*- coding: utf-8 -*- # Listing 3-1 import os import sys os.chdir(os.path.expanduser(“~”) + “/book/ch03”) # Listing 3-3 # URL for the AlienVault IP Reputation Database (OSSIM format) # storing the U… • Complete the PrintTicTacToe function with parameters horiz char and vert_char that prints a tic-tac-toe board with the characters as follows. def print_tic_tac_toe(horiz char, vert_char) : # FIXME: co… • how to say I learned a lot from “Learning Python ” my major is business administration What you learned and how it relates to your major (e.g., describe what you learned from this learning module)… • Use the file stopwords.json to only count uncommon words (words that are not represented in the stopwords.json file) • Use the Pythons Pandas to solve. In the assignment, you will analyze which factors are associated with the number of likes a Facebook post gets. The dataset is from https://archive.ics.uci.edu/ml/data… • Complete the code below in Python to create a function that determines how many seconds are between two timestamps in the format (Hour:Minute:Second) Snippet of code: def ElapsedTime(H1, M1, S1,… • Please complete Step 1 (using tail recursion) and step 2 – both using pytho • Column 1: -1.07E+00 1.09E+00 -2.31E+00 -1.60E+00 -5.80E+00 -2.30E+00 -1.68E+00 -7.38E-01 -1.92E-01 -6.38E+00 -5.12E+00 -4.22E+00 -2.68E+00 -3.03E+00 -5.74E+00 -1.99E+00 -2.90E+00 -1.11E+00 -5.20E+00 -… • Given main.py, complete the program that performs the following tasks: Import the CVS file mtcars.csv as a data frame. Find the mean, median, and mode of the column wt. Print the mean, median, and mod… • *MUST ANSWER USING GRAPHICS.PY PROGRAMS ONLY* NO TKINTER (15 points) Problem 2 gives you practice with interactive graphics that use mouse clicks rather than the console to get user input. It also g… • In Python. GUI-based program that allows the user to open, edit, and save text files. The GUI should include a labeled entry field for the filename and a multiline text widget for the text of the file… • you will create employee database application by fulfilling the requirements given below. You must first create the classes as described. Given there are more requirements in this please read the … • Suppose you are given two integer values x and y. Construct a recursive algo- rithm that uses any combination of the following operations: addition, subtrac- tion, comparison. Calculate the remainder … • Question 1 Not yet answered Marked out of 1.00 Flag question Question text True/False: The % or modulus operator returns the remainder present when two integers do not divide evenly into one another S… • Question: Make certain to clarify your code and results in R-scratch pad text blocks (rather than remarks in R-code blocks). 1. Compose the “coloring” document viewed as in the “DAAG” bundle to plate … • Given a file containing test scores, one per line, we want to have a new file that contains the scores in increasing order. To do this, write a Python program that asks the user for two file name stri… • INSTRUCTIONS : 1) Python Programming 2) Use comment out for understanding better 3) Sir gave me only name and said write pseudo code of this algorithm and implement i\ Project: Inverted Index algori… • can someone please show me the code for this practice question? The following are the functions i need to know how to implement: replace_contraction (text) Description: Creates a new string where th… • Hello is there a way I can get help with a Python assignment that I intend to write the 100 words for? I just need help getting started. Download the Ipython Notebook: Crime and Punishment – No S… • Task#1: The company plans to offer some bonus (perks) to salesmen based on the number of products they have sold. Write a program that ask employee to input his/her name, and the number of products … • . reformat_date Task: Write a function reformat_date which takes three strings as arguments representing a date, a current date format, and a target date format and returns a new string with the dat… • Hello, I need help with something for my programming course homework. I’m very new to this subject, and I don’t know to complete this job without help. Therefore, if possible, explain the explanation … • prints a table showing the integers from 1 through 10 and their squares . Your output should be formatted neatly in columns as shown. When the table ends, the program should display the total of the s… • Using python. This is a dictionary. X = {‘customer_1’: [‘apple’, ‘orange’, ‘peaches’], ‘customer_2’: [‘pasta’, ‘cheese’], ‘customer_3: [‘cola’, ‘juice’, ‘water’], customer_4: [‘ pants’, ‘shirt’, ‘shoe… • please help me with this (1 question) This program will have multiple options. The first number entered by the user indicates the option they are selecting Every option starts by inputting a sequence … • Problem: Write a function that given a list of numbers, returns the length of the longest sequence of numbers within that list that forms an arithmetic progression. Your main program should allow the … • Given that pi = 3.1415926535, which of the following print() functions displays: pi = 3.14 Group of answer choices A. print(“pi =”, round(pi, 2)) B. print(“pi = ” + round(pi, 2)) C. print(“pi = “, … • A complete knock-knock joke consists of five phrases: p1: the opening (produced by the computer) p2: the reply (from the user) p3: the prompt (produced by the computer) p4: the response (the user type… • Please assist me in writing a module with the following functions, and use these in your own program, mymain.py . – fahrenheitToCelsius(tempInFahrenheit) that accepts a temperature in… • plz attach python codes 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… • Using python, work with the Framingham_test data sets below. Use only the Sex and Age fields. Standardize Age. Perform k‐means clustering on the Framingham_test data set, requesting k = 2 cl… • Hi, Would you please help me with the following? I was trying to create a Python dictionary that returns a list of values for each key . The key can be anything. I created this; list_di… • . Q4 – Bonus MCQ questions (2 marks). Each question can have one or more correct answers. + 1 if all the options are correct, 0 if any one is incorrect. A) Which of the following options will match … • 10) Your program that will ask user to enter a floating point number. Do not give them any guidance. If the user does not enter a number between 1.5 and 2.0, make them re-enter the number. Use while l… • The program must: Prompt for a file URL. Eventually you will use this URL to test your code: http://ucd.dawngregg.com/python/mbox.txt (Links to an external site.) But downloading can be slow from … • How does one remove values to a python array (there are two ways)? Please research and explain in a substantial manner. • FOL Homepage – INFO1280 Network X Homework Help – Q&amp;A from Or X Assignment 3v2 – GPA Calc.pdf X X C O &amp; https://www.fanshaweonline.ca/d21/le/content/1268795/topics/files/download/10587349/Dire… • Write a function sum_file(f) that takes a filename f. Each line in f contains a single number. You should write to the last line in the file the sum of all the numbers written in the file. • Once you have completed the implementation of the 3 learning algorithms, you should qualitatively ver- ify your implementations. In main . py we have included a block of code that you should uncom… • Implement the Perceptron algorithm and run it on the following synthetic data sets in R10: pick w∗ = [1,0,0,…,0]; generate 1000 points x by sampling uniformly at random over the unit sphere and … • I am looking for the Python code for Grantham University CS192 Week 6 assignment • Flowchart and python. 2 of 3 – + Automatic Zoom View Exercise 3 Add two additional functions squarePerimeter and squareArea to compute the perimeter and area of a square of a given side size specified… • In Python please. Fill in the blanks of the following game loop to display a ball falling from the top of the screen repeatedly. Assume bX and bYare the coordinates of the top left conner of the bal… • 1) Match the tool with the primary activity it supports Azure ML Studio KNIME Trifacta All Answer Choices A. AIOps B. DevOps C. DataOps 2) Which of the following contribut… • Using the celsius_to_kelvin function as a guide, a new function must be made, changing the name to kelvin_to_celsius, and modifying the function accordingly. Sample output with input: 283.15 10.0 C… • Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. • There is something wrong with the arguments the function is getting; a precondition i… • Write function headers ONLY with comments for the tasks described below (you dont have to give full function implementation) Computing the day of the week (as a string such as “Monday”) for a given… • Take user input and give corresponding output. (20 points) User will enter a sentence. The program will output the word that appears most frequently in this sentence. If there are multiple… • Please help Python!! How can I modify my code to be able to implement user-define functions and import it . Provide new code with screenshots please. def Car_Trade_Commision(): print (‘Car Trade Commi… • #EXAMPLE DATA (THIS IS AN EXAMPLE. There may be many segments in a route and many routes) trip_data_geojson = “”” {“type”: “FeatureCollection”, “features”: [{“type”:”Feature”, … • code in python. . Reads lines of input from stdin . Tokenizes the input on each by white-space . Strips non-alphanumeric characters from each token . Writes each token to stdout on a separate line For… • You are required to find a dataset, formulate a problem you want to address with the dataset (e.g. predict whether a mushroom is poisonous or not based on its characteristics), build and evaluate a ma… • Exercises Flags- A flag is a Boolean variable that is used to track a state. 1. Write a program that asks the user for ten numbers. If any of the numbers is even, have the program write “You picked… • I have figure out the first question, can you help me to figure out the rest questions? csv file in here: https://drive.google.com/file/d/17lYpW6Ymc_7_PfHYUq0tqo-nzBI58Jbu/view?usp=sharing import pand… • NOTE: Python strings have a built-in methods that can accomplish these tasks for you. Do not use the build in methods! The goal of this exercise is to practice implementing such functions. Solve the… • Task is to create binary Tree of digits from 0 to 9 using user inputs. Then display the tree using in‐order traversal. Next, the task is to iterate through the tree from the root to the leaf nodes… • List the number of missing values for each column. Remove the applications each of which has more than 2 missing values. Forward fill up the missing values for columns with Object data type. Fill up t… • The steelwork.py program, given below, creates three types of steel objects. Carbon steel (Steel) is made of carbon and iron, alloy steel (AlloySteel) contains chromium in addition to carbon and iron…. • How can we code a brick of wall like this? The wall has 5 functions: width, height, thickness, depth and joint. The width parameter is a positive integer defining the width of the wall in number of… • https://lab.infoseclearning.com/lab/creating-ping-scanner The conclusion mentioned making a stealthy ping scanner. Research and find some different scanner types. What scanner type was used during thi… • Open the file romeo.txt and read it line by line. For each line, split the line into a list of words using the split() method. The program should build a list of words. For each word on each l… • Can someone look over this and see if I am doing this problem correctly please and thank you import numpy as np A1=np.array([[1,2],[2,1],[0,5],[-2,-1]]) A2=np.array([[1,1],[-1,2]]) def closest_p… • Why would python render the same value in your statement when the statement has no space and operation sign? • The following equation converts from degrees farenheit to degrees celcius, C=5 9 (F−32) . lambda expression for converting a list of temperatures from farenheit to celcius. COEE: temperature_f = [1… • sort(): Implement a method that uses Insertion Sort to sort nodes of a linked list. The list nodes will only contain letter strings as their data. The linked list itself must be sorted, not just the s… • A B 2 0 5 +3 8 +3 3 -5 I have a column A in a dataframe (625 rows) and I want to subtract 1st row from 2nd, 2nd row from 3rd. so and so forth until 625 in python. what is the code for this? • make a function by using a decision tree made from scratch. No sklearn packages can be used. the data you use is below, its a table with columns and rows. INFORMATION GAIN IS THE PURITY FUNCTION. The … • Construct truth tables for the following Boolean expressions: A. not(A or B) B. not A and not B • # Guess a number from 1 to 10 # By C. Calongne, 01/14/2019 # Pseudocode &amp; Python with Iteration M3Lab1_student.py # Guess a number from 1 to 10 # Write the statements requested in Steps 1-6 below … • Build a Python program that asks the user to input an integer, and then sets a variable named x to True if the input is between 13 and 24 inclusive . Otherwise, assign the value False to x . • write program that converts words into Pig Latin. The program is going to read words from a source file and write both the original words and the new words to a destination file The rules of Pig Latin… • My function is called upHill which will produce the first and last characters within a string. The function will take as parameters the string to get the first and last characters from. This function … • Write 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 … • Please use python for this. Do plagiarism() function and count_word function…please highlight: This function takes two string arguments. The ﬁrst is a filename and the second is a keyword to be se… • need a function index (‘Pride_and_Prejudice.txt’, wordLst ) With an output of. Open and read the text ﬁle only once. Use the readlineO method. Initialize an accumulator to track the line numbers. In… • In Python* with using OBJECT-ORIENTED PARADIGM write a program that supports a square, rectangle, and a circle. Each shape will be able to calculate its perimeter and area and have a specialized __str… • Hi, I have created a battleship game which code I have attached. However, I am looking to Add a sql database where by I Add a login and signup functionality to your game, I then Save the users na… • 1 from collections import defaultdict In this question, we are going to do some analysis of Donald 2 Trump’s election speeches, and compare them to some of Barack 3 * def count_lengths (text) : Obama’… • Suppose S = {1, 2, 3}. Use method taught in class to define: P (S) (power set of S) • The purpose of the homework is to create a python code that prints the bolded statements under sample interactions for each question. On page 1 of the document is the guidelines for the overall assign… • Methods 1. The items inside the () of a method declaration are called? parameters params int switch 2. Method overloading uses the same identifier, but has different parameter types and/or count. true… • I understand the concept but I’m unable to get python to look at the last letter of the first word and compare to the first letter of the second word, the task in question is supposed to use a string … • Problem 1: Problem Statement: Welcome to Salad Bar. The program will display a main menu to the user to begin. User will choose from given options to order types of salad, calculate and display total … • Can you help figure out how to complete the first section of code in Python?. Welcome to the word guessing game! Enter your level: easy, medium, hard: easy You have 10 chances to guess the correct wor… • Draw a square with dimensions 50 pixels by pixels, centered around the origin: (0,0) and use a for-loop in your solution If t was the turtle that was instantiated, use: t.write(“0,0”) to… • By using Jupyter(python): Use the dataset ‘ClusteringData.csv’ to cluster the dataset using KMeans. Try different values of K and visualise your clusters. What is the best value of K based on your vis… • Chapter 7 – Model Evaluation What is the difference between evaluation and validation in machine learning? What does a contingency table consist of? Show that GT = TPN +TPP and that TAP = GT -TAN Show… • develop with python machine learning * here is the Minist dataset in this link ( https://drive.google.com/file/d/1CScxiRA2XFLSTJTv9lSPzdLrcXdargpH/view?usp=sharing ) – Load the MNIST dataset an… • Your task is to prepare 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….. • 1 (Checking if the output is correct) URL_astros = ‘http://api.open-notify.org/astros.json’ Retrieve a file recording the number of people currently in space (on the International Space Station) As… • . Assignment Write each of the following functions. The function header must be implemented exactly as specified. Write a main function that tests each of your functions. Specifics In the main funct… • Exercise 1: separate (10 pts) Edit the function separate , that takes a string as input and returns a list containing the individual characters of the string. Return all the characters lowercased and … • The program should write the result of the analysis as follows: There are ____ lines in the file data11.txt The longest line is line number ____ with a length of ____ characters. Fill in the blanks wi… • can i get help in coding these two functions please? Functions The signature of each function is provided below, do not make any changes to them otherwise the tester will not work properly. The follow… • Can you please do something to make this script work? Thanks! #!/usr/bin/env python3 import os import sys def leap_year(obj): ”’ put your function level docstring here … ”’ … ?… • 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 … • By entering names and distance of 10 cities in a word document: A user must be able to enter an origin and destination city from a minimum of ten cities which are displayed to the user. You must use p… • python program for the following image processing operations and show the images in plots. Change one image from RGB to grayscale. Change one-fourth of the image into black. Any one-fourth part of t… • Read in a list of numbers entered by the user. The user will enter integers, and when they are done they will type “end”. You should print out the length of the longest subsequence of repeated element… • Consider the loop from Section 8.3 of your textbook. prefixes = ‘JKLMNOPQ’ suffix = ‘ack’ for letter in prefixes: print(letter + suffix) Put this code into a Python script and run it. Notice … • Question : Regular expressions are used in programming for different purposes, not only setting up URLs in Django. Group of answer choices True False Question : You use the views.py to set up Python… • Please a simple code using the beautiful soup package including the use of three examples of three different methods. Each example must: Describe the purpose for the method being used (what does it … • In Python. Write a complete Python program that prints the following figure as console output. Use functions to capture the structure of the figure and to eliminate redundancy. For example, no complet… • Functions01: Cups to Ounces Complete the cupsToOunces() function so that it takes a number of cups, converts to ounces, and returns the ounces. One cup is eight ounces. The main thing to note here … • python programming ertE a program in Python to be used in a dart game which calculates whether a thrown dart hits the dart board. iii. dart will be shown with x and yr coordinates represented as a tup… • The NetLogo model Autumn simulates the ways in which leaves change their colors and fall in different climate zones. The model takes into account the temperature (in degrees Celsius), rain intensity, … • Acompany pays severalits employees on an hourly basis.Weeklywages are calculated at$20 per hour for the first 30 hoursin the week and then at $30 per hour. Once the total wage is calculated 30% is de… • When coding in python how do you get a print in a loop like this: “Please enter your score for problems 1-4”. I can get it to print the first number but not the second half “-4” • Question: A Boolean formula φ is said to be satisfiable if there is an assignment σ : V → {true, false} of values to the variables of φ that makes it true. A quantified Boolean formula θ is an e… • Add a checkbox associated with each label. The first checkbox should have name and id of “likeCats” and be initially checked. The second checkbox should have name and id of “likeDogs” and be initially… • CIT 590 Homework 5 – HTML Resumes Purposes of this assignment . Reading from and writing to files Scraping information from a text file Basic HTML usage General problem specification A website is mad… • this is an assignment i could figure out the coding. https://drive.google.com/file/d/1uO-hC9D90Z9vgUsIfnqZhGGsl3b1u5ci/view?usp=sharing • Task 1 : code to Create a string called alphabet containing ‘abcdefghijklmnopqrstuvwxyz’, then perform the following separate slice operations to obtain: The first half of the string using starting… • need help with these 3 questions 4.3 Problem 2 (1 mark) Problem: Write an Adder interpreter, that prompts for and executes an Adder script. For example if the file Children . ad contains: input sons i… • (python) Program an IP header checksum calculation and verification Everything needs to be calculated in Hex the value of the IP header can be a user input • The Steward car dealership is a company that deals in specific types of vehicles. The import vehicles directly from manufactures around the word, these vehicles they sell locally, and they also provid… • Consider the following methods: K-Nearest Neighbors Classification Trees Regression Trees Dimension Reduction Ensemble Models When is each method appropriate / not appropriate? How should each me… • How do you evaluate an expression within a string without using eval or any built in function? • Design an expense tracker GUI application using Tkinter with python • How do I implement a upper triangular matrix in python? • ****How do I setup the menu below?*** (2) Implement a print_menu() function, which has a string as a parameter, outputs a menu of user options for analyzing/editing the string, and returns the user’s … • 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… • Design and Build a Web Blog Application: . Requirements: 1. Web application should be a blog having 3 posts on home page 2. Each post should be saved in the SQLite database 2. Each p… • Define your golf class. a. Use the keyword “class” to define a class named golf b. Initialize a class variable named results to hold the string that states whether the score is at, under, or over p… • Sort the solutions in the initial generation using the efficient non-dominated sorting. NOTE: DEAP does not implement the efficient non-dominated sorting; to get full marks you need to code this yours… • Question 13 (1 point) Which of the following lines of code is the function’s name? def square(num): num_squared = num * 2 return num_squared return num_squared def square(num): None num_squared = num … • . Google Duo – Free High-Quality X Google Duo x Content X zy Section 2.23 – CYB 130T: Object-( x Course Hero X + V X – -&gt; C a learn.zybooks.com/zybook/CYB_130T_55317551/chapter/2/section/23 =zyBo… • There are three tables with the student database below; Student: 1, Jack, Grad 2, Jane, UGrad 3, Karen, Grad 4, Jack, UGrad Course: 100, Intro to Databases, 4 200, Research Colloquium, 2 Enrollment:… • Pyhton ATM Simulation – GUI OBJECTIVES The main objectives of this project are to: Use the Python syntax to read user input, process information and display output. Declare and initialize variables us… • 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… • Let x be a vector. How do you find a vector v in the same direction as x but with | v | = 1. v = .. • On page 4 of the Softchalk lesson I take the Martin Luther King speech through several stages: first the f, then the myDream variable from readlines(), then the joinDream variable from join(). … • 6 LAB: Name format Many documents use a specific format for a person’s name. firstName middleName lastName and whose output is: lastName, firstInitial.middleInitial. Ex: If the input is: Pat Silly D… • Note: Write your code as a Python module – a Python file. Create each function in your program and invoke/call each function with the right arguments. Also, include a prompt in your program for … • # 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 )… • Use the Machine Learning algorithms: K-NN, Logistic Regression, and Decision Tree, and the BDOShohamIML.csv database to evaluate classification performance with: a) Parameter optimization b) Apply … • Write the python function named keep_even_values. This function will have 1 parameter that will be a list of integer values. This function is to return a list that keeps the integer values (va… • Problem 1: Finding Average Score Provided files A.txt and B.txt (link below) represent the scores of A and B. You need to write an object-oriented program that takes a student’s name from keyboard inp… • Install and configure two Linux base mail Servers with routing groups. Your implementation model should consist of two servers and two clients of each as per the given figure . Ensure client com… • can I get the code for this? I need help catching up in python class, I’m literally a week behind 🥶. Python Programming I – Honors 40460 Unit 1 Module 1: Practice B Strings Practice: Input, Testing… • Make a script that will ask a user for a word and store it in a variable. Print out a result that looks like the following: ++++++++++ {your word} ++++++++++ Try to accomplish this with only one … • The wine dataset contains 4,898 instances with 11 features that include pH, percentage of alcohol, and others, used to predict wine quality. Constructing a box plot for the free sulphur dioxide featur… • a program that reads a list directly from the user, then removes duplicate top-level elements in it and prints out the resulting list. You may not use the Python set. Sample run: For the inp… • this code is returning 0 rows on paython SQlite DROP TABLE cast_bio; CREATE TABLE cast_bio (cast_id integer unique, cast_name text, birthday text, popularity real); INSERT INTO cast_bio (cast_id … • Implement a function parse_matrix to parse a matrix . The function should work on the following format: The first line of the output should be the number of rows. Each subsequent line should print a r… • This is the requirement And this one too. Lab 5: secret Codes (Functions] Lab Assignment for PROG1205 – Intro to Programming Prior to attempting this problem, you should have done the following: 1. Re… • please answer the following 3 questions, files can be found here: https://drive.google.com/file/d/17lYpW6Ymc_7_PfHYUq0tqo-nzBI58Jbu/view?usp=sharing In: In: In: In: H result = Booked_in_Advance(lea) a… • Please help. These flode charts are not giving the correct outputs. What am I doing wrong?! Thanks: 1: 2: squared.flode X 2. 3. Squared X 0 0 0 0 ? ipg Collapse Challenges Start 2. 3. Squared 0 * 0 A2… • Data Science Question Only need to answer E and F, last two, Here is the data set link: https://raw.githubusercontent.com/cmparlettpelleriti/CPSC392ParlettPelleriti/master/Data/reactionTime.csv data v… • please help me with the following python code, Thank you very much Python Script import matplotlib.pyplot as plt import numpy as np population= 763 Scur=population -1 Icur= 1 Rcur= 0 ##Get value for r… • Modify the program below read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: How to format each dictionary item as a text string in… • Newton Basins This is Python Inside Jupyter Notebook. How do I get a piece of code to talk to a previous code, and what do I need to change in the code? Here are the directions for what to do…. • How do I determine the image that finishes this pattern in python using a test of shapes that are filled and unfilled? The answer should be 4. • Use Python dictionary that returns a list of values for each key . The key can be whatever type you want. Design the dictionary so that it could be useful for something meaningful to you…. • My code creates a CSV file but the excel file is blank, why is it blank? • How do you extract data fr?om columns in a CSV file • use python. Yourjob is to write the function prevword_ave_’l.en (word) which takes a single argument word (a st r) and returns the average length (in characters) of the word that precedes word in the … • Complete the percentages_in_resamples function such that it simulates and returns an array of 2021 bootstrapped estimates of the percentage of voters who will vote for Imm Thai. You should use the one… • Jupyter notebook , python questions . Homework 2 1] Student name: Assignment submission date: Answer the following problems. Add additional cells as needed. Problem 1 Create a function that takes as … • Checkerboard We need to build a python program the makes a checkerboard pattern as shown. We should prompt for the size of the board (minus the frame). We need to build the checkerboard within a 2D ar… • This App keeps crashing at line 209 before it can run, it was working not very long ago: Here is line 207 to 212 where the crash is happening # Routes to here when you click on ‘List’ link on home pag… • Can someone please write the code for me? I am completely lost and I would love to see the code written so I can break it down and learn from it. The purpose of this assignment is to demonstrate stega… • what is the answer The Lucas numbers are a series of numbers where the first two Lucas numbers (i.e., at indices 0 and 1) are 2 and 1 (respectively) and the kth Lucas number L_k (where ( 1) is L_(k-1)… • Using Spark RDDs only . 1a) Map each line of the text file to a list of tokens. Show the first 2 entries. Sample Output: [ [ ‘AAPL ‘ , ‘2013-01-02’, ‘19.78’, ‘19.82’, ‘19.34’, ‘16.96’, ‘560518000’],… • 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 … • Please Have a look at my coding according to this question there is mistakes like it has to open file, encrypt /decrypt files as well as ask for substitution and transposition method I used only o… • Question: This is Source Code of KNN Algorithm. But I wanna show the output as Graph . In every changes in Code like taking Red and Blue Input From User, K value From User, Predicted Value, … • Spark GraphX program to perform few analysis steps for sample US… Write In Jupyter Notebook Spark GraphX program to perform few analysis steps for sample US airports. Conduct the following steps:… • I’m totally stumped on this part of my lab. I have a CSV with three columns; a unique ID, an X co-ordinate and a Y co-ordinate. I’m having the most trouble with the buffer circles, I just can’t seem t… • 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… • Help with python regents expression: It should start with 3-4 capital letters, a space following 2 digits, and a dash (“-“) following with the name of the string. The string can only have alphanumeric… • Question1: Answers the following questions: Using python – functions Assign this string to a variable: This is a BINF 5403 class – Fall 2018. It is a programming class. It is scheduled for every Tue… • In Python a class can inherit from more than one class (Java does not allow this). The resulting class will have all the methods and attributes from the parent classes. Do the following: • Crea… • Please address this problem An intuitive Graphical User Interface (5%). Your application must provide an at- tractive, easy-to—use GUI. You have a free choice of which Tkinter widgets to do the job,… • What is the symbol/syntax to assign the value 95.5 to a variable named examScore? Write a Python statement to test if the value of a variable named myAge is equal to 90? • ) 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… • Use the function design recipe to develop a function named max_min. The function takes a list of integers. (Assume that the list has at least two integers). The function returns the largest and smalle… • In this question, you will be implementing a gradient descent algorithm. Consider the gradient descent algorithm provided below: . Consider the gradient descent algorithm provided below: Guess x(0… • Given a filepath to a .txt file that contains information on the round history of a match, simplify the file by writing out to a new file with only information on if the attacking team wins or loses … • Data analysis (15 points + 5 extra points) In this exercise we will be analyzing the BRFSS weight vs height data. Download data and code skeleton from course website. The code skeleton contains cod… • Here is what im missing and i don’t get why. here’s the instruction Part 1: Per the instructions, the problem prompts the user for the following information: * Cost per ice … • In the following code I need help with task # 14 the output is supposed to be [array([[ 10 , 11 , 12 ],[ 13 , 14 , 15 ]]), array([[ 16 , 17 , 18 ],[ 19 , 20 , 21 ]]), ar… • Using Python, Create a simple chatbot A.I. for a Restaurant/Fast Food Chain • need help https://drive.google.com/file/d/12GXcRBXDV9NVXoxMsU1Ohjs53pZyevsr/view?usp=sharing. get_2021: This function reads the data from data_2021 . csv, which looks like this: A B 1/1/2021 12.702 … • I need help with this assingment please. For this portion of the lab, you will design the solution to a simple program that uses sequential statements. (That means DO NOT use loops, functions, if/else… • lists = [‘ ‘] * 10 # create 10 spaces lists[0] = ‘#’ # ignore the 0 def board(): # print Columns and Rows board print(lists[1] + ‘|’ + lists[2] + ‘|’ + lists[3]) print(‘—–‘) pri… • Hi tutors! Could you please explain why the output of this function would be True? • Question 8 (1 point) Which of the following would produce the same output as this code: w thing = &quot;duck&quot; print(f&quot;The {thing.rjust(8)} loves the rain.&quot;) 6 Onone of these Oprint(f&qu… • Hello, I need help with unit test. Specifically “accept_payment” and “print_receipt” and “save_transaction” functions. I had a tutor who helped me with accept_payment but when I ran the test it came b… • I need some help on Using the railDecrypt function from Listing 8.3, run the railBreak function from Listing 8.2 on the cipher text “n oci mreidontoowp mgorw”. def railBreak(cipher Text) : wo… • CIS 1400 Project programming logic and technic in python Sports Simulation Game You need to take our game from lecture and create functions • Menu() – this is a function and will only display the me… • the question 3. (10 points) In this problem you will optimize a set of holdings to minimize risk for various average returns. Download the files portfolio_data. ipynb and asset_prices . csv and place … • Any suggestions on the following prompt and code would be much appreciated. This is my prompt: Modify the below code so that the traffic light changes automatically from color to color (right no… • You are inside question view of Root Threshold in IOT Devices 1h 20m left Skip to main content ALL 1 2 3 3. Root Threshold in IOT Devices In this challenge, the REST API contains informati… • Using the function get_move() written above (in part a), and the following variable definition: robot_pos = 5 Write program that will call function get_move() ten times in order to simulate moving a r… • when there are repeated indices, what’s the best way to find the “true” value which is the sum of the individual values. for example: d [‘inds’] == [0, 3, 7, 3, 3, 5, 1] d [‘vals’] == [1.0, 2.0, 3… • All instructions are in photos. I am struggling with the class Those are supported codes : graphics.py: import tkinter import time import sys class graphics: def __init__(self, w, h, tit… • . &quot;\anaconda3\lib\site-packages\sklearn\utils\validation. py in check_array (array, accept_sparse, accept_large_sparse, dtype, orde r, copy, force_all_finite, ensure_2d, allow_nd, ensure_min_sa… • Look at the picture Make the python program (pseudocode) to solve these questions ! 6. The oxygen equivalence number of a weld is a number that can be used to predict properties such as hardness, stre… • Use relative path to open files, like infile=open(“/data/StemAndLeaf1.txt”,”r”) consider you have three files stemandleaf1, stemandleaf2,stemleaf3. • Please use Python to design and implement the solution to use data analysis and visualization for analysing how the features of a publication would affect its “citation” (a value that can be found in … • For question 2, Comment on findings that show non-linear patterns (if exist). 2. Are the identified variables using MARS the same or different from Part 1 compared to question 2? . MCS 3… • can anyone help in solving the below question: By running the following code singh obtains different ciphertexts even though he’s encrypting the same message with the same public key. explain whats go… • . Working with BERT BERT is a trained neural network model that produces vectors representing word meanings. Another machine learning algorithm can rest on top of these vectors and use them to class… • Hello Can you help me with this assignment? . Item Ml rhs ml Publisher 20 Subscriber 20 Quality of Dude 5 Video demo 5 Totll 50 Note that both the Publisher and Subscriber are required In be grade… • Write a Python program that starts by asking the user to enter two integers positive that you assign to two variables n and p respectively. The program must then contain: – a loop displaying and incre… • . 3. [4 marks] In a file called q3.py, write another function drawSegment() that draws one body segment of a caterpillar that has legs. This function, like the one from Question 2, will have FIVE in… • . 00:39:23 QUESTION 56 GROUP Language Coding SECTION: Coding 1 Write a program to implement Set difference operation between two integer arrays A, B having M. N elements. Optimize your code so that … • Monitoring network traffic is very important for any organization. By doing so, a security professional can detect and respond to threats quickly. In addition, network performance can be monitored so … • TASK R4S has decided to further employ you to develop an additional system for storing and retrieving customer details. This system has two main programs and a module that contains the common function… • Hello, On Kaggle.com , there’s one problem that I need to resolve. It’s in Python, and I’m using Jupyter notebook. I will forward you the dataset that you need to work with. dataset link :- http://www… • Need help to create SQLs and Python code to use Vertical Database Partitioning from table “movie_cast” to “cast_bio” table. (columns in cast_bio will be a subset of those in movie_cast). Do not edit t… • Question 4. Using both countries and recent_poverty_total, create a ﬁve-column table called poverty_map with one row for every country in reeent_poverty_tota1. The four columns should have the foll… • Matrix manipulation Implement a class called MetaMat that will allow to manipulate matrices using numpy and pandas. Your class will have state variables __List, __PFrame, and __NMatrix representing a … • write program that read a sequence of positive integer inputs and print the sum of all the input numbers greater than 50. Then your program will also compute the average. Assume that the user always e… • Using python ( note use simple python language for beginner) 1. help me Write a program (using “if”) that asks user for their number of hours of work and then calculates their salary based on the t… • 1336 Programming Assignment 2: Combat You will define mo warriors and move them around. After any action you will display the game state [all the current values of each warrior’s characteristics in… • need a python script : python v.2.7 The python script must count the number of distinct odd integers in the input file below: The input comes from standard input (line by line) file with 2000 rows so … • Create a GUI program that: Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents. Using the class in the attached m… • Everything seems to work in following code, except for when the correct pin is entered, the program claims it is invalid. I believe the issue is in line 69, but I am not sure. I changed create(a) to c… • Conversation opened. 1 read message. Skip to content Using Gmail with screen readers rakesh Search Gmail COMPOSE Labels Inbox (54)StarredImportantSent MailDrafts (59)Deleted ItemsNotesPersonalSent Ite… • learn python 3 the hard way exercise 42 Study Drills 1. Research why Python added this strange object class, and what that means. 2. Is it possible to use a Class like it’s an Object? 3. Fill out th… • Assignment Exercise: Create a series of questions, using the input() function, that will capture and store the elements of a person’s address. After collecting all the elements, store those elements… • Hello I am struggling with question 5 I have attached all of the relevant files and put the question below please can you help and show me how to work out this as I cannot get the code to work and can… • i need help providing python code for simulations shown in article for jupyter notebooks. Link to article is provided here: https://www.washingtonpost.com/graphics/2020/world/corona-simulator/. Re… • . len (str (&quot;3&quot; * 4) ) + &quot;5&quot; Operator: *; Arguments: &quot;3&quot; and 4 Operator: + ; Arguments: 4 and &quot;5&quot; Operator: + ; Arguments: &quot;3 &quot;3&quot; and &quot;5&q… • can anyone please help me with this? #!/usr/bin/env python3 “”” Merkle-Hellman Knapsack cipher implementation @authors: @version: 2022.3 “”” import math import pathlib import random BLOCK_SIZE = … • I need help creating a new class that inherits Library class and does the following: Part A) Provide a modified add_book method allows user to input instead of adding arguments. There should be an err… • Python program that does the following: The program will input: The length and width of a rectangle The side of a square The radius of a circle The following input validations will be performed: The u… • my code is not working for answer this question. Would like help understanding why? def square_each(nums): for i in range(len(nums)): nums[i] = nums[i]*nums[i] return nums def sum_list(nums): sum = 0 … • I am getting the below Error – TypeError : Cannot interpret ‘&lt;attribute ‘dtype’ of ‘numpy.generic’ objects&gt;’ as a data type . n [7): M of info() TypeError Traceback (most recent call l… • The teacher wants me to use the main() function. These two assignments go together Starting with the P4HW1- Expense Calculator Then P4HW2- Employees pay . Content X + X – &gt; C A faytechcc… • Please help me need to submit it or i will get failed. . Challenging the Bellman-Ford Algorithm Someone comes to you and asks you what you learned about shortest path algorithms in this course. You de… • 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,… • a Python program that can convert a Fahrenheit temperature to Celsius, or vice versa. The program should use two custom functions, f_to_c and c_to_f, to perform the conversions. Both of these functio… • Write a program to calculate your course grade. The final output should display the final number as a percentage. Consult the course syllabus to ensure that you are collecting the grades for each of t… • Implement a class Address . An address has a house number, a street, a city, a state, and a postal code. Define the constructor such that an object can be created in one of two ways: w… • Which of the following values for the variable question would produce an error ? All of the options would cause an error None of the options would cause an error question = … • I need help with an assignment. I have a Python code below: alphabet = “abcdefghijklmnopqrstuvwxyz” test_dups = [“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”] test_miss =… • I need help with the following problems in creating shape and filing in the blanks of the code requirements 12:00 AM Wed Jun 17 ?38%I &lt; Notes Week 3 .Z’ Python1.pdf 0\ g [B &lt; Back MATH 211 B: MA… • Suppose the following a = (1) b = (1,) c = list(a) d = list(b) 12 [3pts]) Any error occurs? Which variable is invalid? 13 [3pts]) If yes, correct the error(s). If not, what is the type of each vari… • Write an expression using membership operators that prints “Special number” if special_num is one of the special numbers stored in the list special_list = [-99, 0, 44]. Sample output with input: 17N… • My question is how to sort numbers in a file such that for example, the document contains 0 1 0 2 0 3 1 4 1 6 1 7 1 9 2 3 2 6 2 8 2 9 How do I make it look like this [(0, [1, 2, 3]), (1, [0, 4, 6, 7, … • Using python and opencv 100 points 0. Preparation a. Install Python for Windows, https://www.python.org/ftp/python/3.6.8/python-3.6.8-amd64.6 If you have other Operating System (Linux, MacOS), find he… • I am not sure how to do this portion of my assignment. Could someone please provide step by step instructions on how to do this with the programs listed? Sign-in to MongoDB Atlas, select the “CONNEC… • Python error: TypeError: legal_moves() takes 1 positional argument but 2 were given Can you help me fix this issue? Its fine if you think change the structure is necessary import random #Tic Tac Toe d… • I need help editing my python code with csv files. I would appreciate if you helped with the nat_perc + nat_diff functions as well. Data Description: One data source for this is the Advanced Place… • 12 LAB: Seasons Write a program that takes a date as input and outputs the date’s season. The input is a string to represent the month and an int to represent the day. Ex: If the input is: April … • Function One: checkSum Specification The first function you will write should be called ‘checkSum’. Your function should take one (1) argument: a string. The function should return one (1) integer: th… • What i need to change to get them in one vertical line ??? Thanks.. A TMA1 question 2.py – C:\Users\Vitalija &amp; Augis\Desktop\ Python Turtle Graphics – 0 X pur: X @ Verti X + X File Edit Format Run… • Make function that takes 2 parameters and… if both are strings it adds them as if they were integers. If they’re integers, it will concatenate as strings. If different data types are input, return … • Need help’ 1. Using your answer from #2, complete the following chart on carbon. (Spts) Atomic Number Atomic Mass Number of valence electrons Maximum number of bonds it can form with other atoms Type … • Hi! I want to know if anyone suddenly knows how I can start to solve this problem of numerical methods; They give me the mesh of the geometry, and they ask me to find the total volume of the piece. Wh… • I need help explaining how to get the answer for these query’s .. Problem 1 Collect two floating point numbers from the user and store them in variables as strings. print () the values of the variable… • how to use __setattr__ in question 8 part 1 and all the 3 answers of part 2 • The pseudocode below, used to determine if the user input is in the requested range, contains an error. print &quot;Type a number from 1 to 100, inclusive&quot; input number if (number &gt; 1) or (num… • Program an an application that askes the user to enter a password. The program should then utilize a function to verify the password meets the criteria below. The program should then display a message… • Using the file “https://www.dropbox.com/s/4p74ya84niak743/Homework2.xlsx?dl=1”, Regress the returns of the first ten stocks in the spreadsheet (CTL through WFT) on the value weighted market index (a c… • [4 pts] Write a program for scientists to convert between Fahrenheit (F) and Celsius (C). a) Request the scientist to enter 2 inputs: (1) a string (F/C) &amp; (2) a temperature. b) Write a function… • DO NOT RESPOND IF YOU HAVE ANSWERED THIS BEFORE Please respond with the following code modified for a program in python that I can paste on a ide like pycharm so that it builds a list of integers from… • Can someone complete my code for me please? Instruction: This exercise uses your programming environment to enhance the Web site you created last week with additional functionality to include images… • Hi i have a question about this function. i don’t know how to fix my code if the index of the changed letter is out of range(the length of the alphabet which is 26) for example: shift_char(z,2) z is t… • in my coded game you have to go through each room and gather one item totaling 6 in all in order to beat the game. How do i go about coding to be able to collect the items in a list to defeat the ga… • This lab aims to help you with parts of your project. Specifically, please write the class Contact that is required in your project: – Each contact has first and last name . For simplicit… • Could you tell me what the code after “self.current_state = random.choice(list(self.DiGraph.link_dict” and “try: next_state=random.choice(list(self.DiGraph.link_dict[self.” are, I tried to complete it… • I need help in answering these face questions with all provided information this is code fragment 4.12 for #4 4.4. Further Examples of Recursion 173 def power(x, n): &quot;&quot; Compute the value x**… • Problem 12.P.72 Specific heat capacity Modify your analysis of Problem 12.P.71 to determine the specific heat capacity as a function of temperature for a single block of metal. In order to see all o… • a Python program to do the following: (a) Ask the user to enter as many integers from 1 to 10 as he/she wants. Store the integers in a list. Every time after the user has entered an integer, use a ye… • assignment states “Write a program that prints a list with all the items separated by a comma and a space, with and inserted before the last item. For example, the above list would print ‘apples… • DK what to do. Problem 3 — Square Freeness A natural number is square—free when no squares n2 ==l divide it. Natural numbers are any integer, starting at 1, 2, Sometimes natural numbers start at O… • Displaying current date or time Exercise 1: Write a Python program to display the current date and time. Exercise 2: Write a Python program which accepts the radius of a circle from the user and compu… • no chegg Python/IT: Steganography – Multi-Variate Encoding The purpose of this assignment is to demonstrate steganographic encryption using Python. 1. Locate and obtain the collaged photo from Topic 6… • Task Perform some basic data analysis on a dataset obtained from the Gapminder website which collects and presents authentic statistics of all countries worldwide. Download this zip package which … • 19 LAB: Driving costs – functions – Python Driving is expensive. Write a program with a car’s miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 … • Write Python program for each of the problems in this lab. Please use PyCharm to type and test your programs. Problem 1 This program is about sets. Write Python program to do the following: (a) Gene… • There are no packages mentioned. We just have to try to create the same image shown in the question.. Program Requirements For this class exercise, you will create an application using Python that wil… • I have had trouble answering 4 of the 8 questions in my previous coding exercises, please carefully read the marking rubric and design and explain the individual functions based on the function’s spec… • I don’t know how to find a max number. Codio Project File Edit Find View Tools Education Help &amp; Configure. Project Index (static) Configure.. BFEDELL hax.py X 3. 5. Max nu… X CO VOUT A WNH # Get… • Create a Python program that will produce the following output: Given the following sentence, print out every third letter. The Python programming language makes manipulating strings very easy! • Someone please solve this in Python Programming . Please don’t use any libraries and please no plag. Link to book.csv and stop_words_english.txt ——&gt; https://gofile.io/d/bWa9EI. 1. Create a… • Explain the idea of an effect system (also known as a type and effect system), including a typical judgement form Γ  e : t, F explaining how this differs from a traditional ML-like type system. Use … • What is the proper convention for the layout of a program (Python) • Write a python program to read your name (as input from user) and print it on the screen one character /line. With the index of each character next to it. • Please explain this Program in a very Simple Language so that any layman can understand Program is as follows : # importing required modules import argparse # create a parser object parser = argpar… • ANSWER IS AVAILABLE ON C H E G G but i dont have account on it can anyone solve this question….. I am needing help. I am wanting to form a program in Python to father software requirements, designin… • This is the outline of the codes needed: You will need to create two files: Animal.py – file containing a class definition for an Animal object. AnimalShelter.py – file containing a class definitio… • Here is the link to the file: https://drive.google.com/file/d/1wA9rVCqM7O9DPUmDnkApRvnJek6257dN/view?usp=sharing. Based on the first 50 tokens in the “tokenscsv” file, estimate the following wor… • I want to modify the code below ( Python programming) from random import to make the game two player and I want to have the conditions below: – Whoever guess first win the game! – Make sure… • I need to add an item to each room that I can collect. Below you can find my code: #A dictionary for the simplified dragon text game #The dictionary links a room to other rooms. rooms = { ‘Entrance’ :… • Having issue with this one. Here is instruction 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 tabl… • Describe how multiple decisions in selection control structures are achieved. Indicate what should be used for combined If statements. Are multiple decisions different from nested decisions? Expla… • Example Code we went over, also contains the “MNIST_DS” file that contains the 28×28 pixel images required for the assignment https://www.dropbox.com/sh/3a5j1z5trbnkbqp/AAAn5VuuLbrN8PoDdsDOi3nSa?dl=… • ook similar to the example shown below. orm mm/dd/yyyy: 03/22/2018 orm mm/dd/yyyy: 03/22 orm mm/dd/yyyy: 12/00/2019 orm mm/dd/yyyy: 04/31/2019 onth: 31 • Which of the following are threat agents? [ d) Black-hat hacker ( ) White-hat hacker [ a) Script kiddy [ c) Phone phreak [ b) Cracker • In python programming describe what is and how you would use reading and writing files. Give an example using step by step. • I need help coming up with a code for this prompt that I was given. The code has to be able to move from room to room and this is what I have so far but it will not display the welcome and instruction… • I need to split the SEGMENT column shown at the top right ex. “Equity: US -Total Market” into the 2 formats (format 1 and format 2). Then I need to make a separate column for each section named Class,… • Residential customers pay$0.12 per kWh for the first 500 kWh. After the first 500 kWh, the rate is $0.15 per kWh. Business customers pay$0.16 per kWh for the first 800 kWh. After the first 800 kW…
• txt file 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
• . DEL RE DEL RE [ hitt| Ur|W|HI| ht| Ur| [ ht| ht SE X|121 2- | 9 ht | ht| | HI| DEL Re| @ Re| J Fri J Fri| ) Sti S. In:| @ Hc/ Ge| Cc| M| + X https://learn.zybooks.com/zybook/IT-140-X4788-OL-TRAD-U…
• how can I create a calculator program, which receives inputs from the user and depending on the selected operation, it will calculate Addition, Subtraction, multiplication, and division(the sample pr…
• The math teacher at Garfield High School, Mr. Escalante, is looking for new ways to help his students learn algebra. They are currently studying the line equation ( y = m * x + b ). Mr. Escalante wa…
• Assignment # 3 Instructions:  No external modules are allowed! So for the math functions that I ask for below, write your own and do not use any pre-made functions. You must 1st learn to write your o…
• I am getting KeyError: 1.1 when running a program. It’s coming from this function. “line 60, in ones_and_tens_digit_histogram   digit_count[digit] += 1” def ones_and_tens_digit_histogram(numbers): d…
• Large-scale matrix computation by parallel computing Suppose you have a matrix X with n rows and n columns and another matrix Y with n rows and n columns. Each element in X or Y is a random integer nu…
• 1.2P ‘Hello world’ in Python Write and run a program to print &quot;Hello World!&quot; using Python. Run and compile your python program by typing: python3 hello_world. py Hint: the code looks exac…
• Define 4 functions: add(), subtract(), multiply() and divide(). Each function is to: 1. Accept two parameters: two numbers 2. Do its respective calculation with the two numbers passed in The divide() …
• Car MPG Cylinders Displacement Horsepower Weight Acceleration Model Origin Chevrolet Chevelle Malibu 18 8 307 130 3504 12 70 US Buick Skylark 320 15 8 350 165 3693 11.5 70 US Plymouth Satellite 18 8 3…
• Make a college enquiry chatbot which provides its users details about different events, admission, student and academic details etc. according to the question asked by user.
• . Problem 5. Graph the following functions in Python i) f(a) = 323 + 20x – 20 ii) h(x) = e-&quot; for -5 &lt; x &lt;5 iii ) x (t) = t2 – 3t, y(t) = 13 – 9t, for -4 &lt; t &lt; 4.
• using python 2.7 need help to make program right exactly like this:  Problem 2. ( Euclidean Distance ) Implement the function distance() in distance.py that returns the Euclidean distance between the…
• what is the purpose of Bohm-Jacopini Theorem? Why do they state 3 structures are sufficient for programming? And, what are they?
• Krannert Specialty Motors is a one of a kind car vendor that sells both fresh out of the plastic new and “affectionately determined” top of the line autos. Notwithstanding vehicle deals, KSM has been …
• python programming:    We will write a program that generates a random essay using words that are found in another piece of text.  The text that we’ll use is found at this url:  https://www.cs.que…
• 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…
• Why am I getting division by zero error code. When I get rid of the np.count_nonzero it gives array([ ], dtypefloat64). ago Simulated Statistics We can make a visual argument as to whether we believe …
• The DictList  class represents a  list  of dict, with some keys appearing in more than one dict: think of the later dicts as representing updates to the earlier ones, but the earlier ones are s…
• How can i upload the files regarding to the question ? Here is the question: Task 3: run a RL agent for Minipong (level 1) The code in minipong.py provides an environment to construct an agent that ca…
• Identify the error and provide a possible mitigation. def getLogin(): print(‘****************************************************************\n’) print(‘Welcome! Login to enter the program.\n’) userNa…
• Please complete in PYTHON: Function specifications middle: (2 points) Thisfunction returns the middle element of its only argument, which is assumed to be a three-element list. RESTRICTION: Your solut…
• INSTRUCTIONS: Please read the entire question clearly before you attempt this problem!! You are limited to using tuples for this question, i.e. you cannot use lists and other Python data structures. Y…
• In mathematics, the notation n! represents the factorial of the non-negative 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 …
• Before doing this question: After doing the question, it showed me the problems and I could not get the grade:. PlaylistCreator Your goal in this question is to create a playlist (that is, a list of s…
• Study the Fabric API run(), sudo(), local(), and put() and utilize them to create a new Fabric task called makeUser() 2. The makeUser() task should perform the following on a remote machine to: new…
• could you please show how to program it? The Michaelis-Menten equation is a well-known model used in enzyme kinetics. It is defined as Vmax C – KM + C where v is the rate of reaction in mol/sec, Vmax …
• How has the history (process) of ethics led to its current form?
• (Financial application: calculate tips) display a program that reads the subtotal and the gratuity rate and computes the gratuity and total. For example, if the user enters 10 for the subtotal and 15%…
• execute script.pl -command for this delete script.pl file-command for this list contents of current directory-command for this what is the command to display on-line manual for touch command(assume no…
• I have two csv file. ‘student info’ and ‘school info’. I need to combine these two file into one Attached is screenshot of two csv file. According to each student owner code (Owner Code in “school inf…
• 5) Ask user how many numbers they wish to enter. Have them enter the numbers. Show them the sum of the numbers. Compute average. How many numbers: 3 Enter the number: 8 Enter the number: 0 Enter the n…
• En este ejercicio deberás crear un script llamado personas.py que lea los datos de un fichero de texto, que transforme cada fila en un diccionario y lo añada a una lista llamada personas. Luego roco…
• 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…
• Simulate  pizza restaurants in Python Using SimPy   Scenario You work for a large chain of pizza restaurants. Your company wants to make use of simulation to help plan resources for individual rest…
• . Assignment 2 – Machine Learning Models for Prediction (30 points total) In Assignments 1 &amp; 2 we will go through the entire journey of a small data science project. 0 In Assignment 1, we have e…
• import file data above into code. Input: The name of the input file is PastrySales. py. It contains one piece of data per line, and the file has an unknown number of records. You will continue to read…
• Assign a single data point to the closest centroid. Tou should use the euclidean_distance function (that you previously implemented). Arguments: data_point: a list of floats representing a data point …
• Plot an Ellipse (Using Python！！！！！) Create a function that accepts the 1) center, 2) the angle, 3) the major diameter, and 4) the minor diameter of an ellipse and produces a polygon approxim…
• (mystery.py) Suppose the text file myname.txt contains three lines, each terminated by a newline (‘\n’). Suppose the  code below is executed, yielding the 4 lines of output that follows it: file_ref …
• This question is based upon the movie lens Jupyter Lab notebook. Consider the description of movie raters using the following method: Method for generating feature vector: Feature vector identifies th…
• Hi Python Experts   I am looking for python 3.7.5 code preferably using pandas to do below tasks  Sample csv file format data for testing purpose is provided below.   CMediumYesHomer1234def@x..i@xx…
• TLC (Taxi and Limousine Commission) publishes taxi trip record data of New York city  on a monthly basis which is available for the past several years. The trip records include pick-up and drop-off d…
• explain what a condition is and where you would use one.
• Python program Hey Can you please help me to write a Python program that support a processing of arithmetic expressions in postfix notation . Expressions in postfix notation contain the operands on wh…
• This function is under class GameBoard, with attributes ended: bool, turns: int, width: int, height: int, and private attribute _player: Optional[Player], could you please help me with this function? …
•  Writeg a program to delete a specific student record from ‘students.txt’ data file (containing the same record structure as exercise (2). The program will prompt the user to enter a student ID. …
• please help Question 20 Identify the purpose of the raise statement. 0 Immediately return from a function 0 Exit a while loop 0 Intentionally cause an exception in code 0 Convert a dictionary to a lis…
• Write program that reads the subtotal and the gratuity rate and computes the gratuity and total. For example, if the user enters 10 for the subtotal and 15% for the gratuity rate, the program displays…
• A building manager has textual logs of problems occuring in apartment units it manages. An individual message looks like:   Problem reported in apartment 3F with plumbing. or Problem in apartment 12a…
• Question: The Final Project for this course is an accumulation of previous weeks’ assignments in which you will utilize all of the skills you have acquired in this course to develop an employee manage…
• need help for both question 1 and 2. Please help. Thanks! 1. (10 points) (Without Python) Your professor’s parents give her a $15 birthday present! She has a brilliant idea: ﬂy to Las Vegas and tr… • print (‘ # Problem 1’) import math old_tuition = 10000 increase_rate = 3.5 / 100 print (‘YEAR\t\t OLD TUITION COST\t PERCENT INCREASE\t NEW TUITION COST\t TUITION INC\n==================\ ============… • Upload an original Python script containing a function that satisfies the following criteria: The function contains a while loop. The function repeatedly asks the user to enter an integer or the s… • I need to find an error in my code because it not giving me the result from the assignment! using the function presented on y screenshot, the error i think in the One Game area… Write a program c… • change the code for exercise 2-5 exercise 1 code is import numpy as np import neurolab as nl input = np.random.uniform(-0.6, 0.6, (10, 2)) # 2) random data target = input.sum(axis=-1).reshape(-… • In the array declared below the element considered to be in the first row and first column can be accessed by what commandDeclare Integer values[3][4] -values[0][0] -values[1][1] -value[2][3] -value… • TheGreatGatsby (2).txt a C Markdown v Python 3 (ipykernel) O longer_than_seven [93]: 6623 Question 2. Using a simulation with 10,000 trials, assign num_different to the number of times, in 10,000 tria… • Roll no : 19B-025-CS a. What is ‘your roll number with batch and program (e.g. 193—001—8E then just write 001}. [2 minutes] {0 marks] Click or tap here to enter text. h. Consider MK} 3 hash—fu… • THIS IS IN PYTHON ONLY PLEASE. Thank you. I am not able to upload the .csv files, so I have included a screenshot of them to help complete the assignment. Thank you.. You will design a program that… • . Problems 1. (20 points) Write a function named find_negatives that takes one parameter: val_list, a list of values. The function should return a list of the indices into val_list where that elemen… • can someone help me rewrite this code “below Your code here” without the if statement please. Also do not change the function. def update(self, state, action, nextState, reward): “”” … • I need to write this in Python. Please provide code and detailed comments if possible. Thank you.. Q1. Mandelbrot Set (50 Points) BACKGROUND: Consider the following iteration Ent1= Ente (1) where zi, … • here is a sample run to what i need help doing at the bottom. . a. displays all even numbers between 2 and 160 {inclusive} and their sum. b. displays the square numbers between 1 and 100 {inclusiv… • A spherical reactor of radius R composed of 50 w/o enriched uranium metal with density 18.6 g/em is surrounded by a reflector material of thickness 20 cm composed of natural uranium metal having densi… • Pack a student tuple with the name ‘Sue’ and the list [89, 94, 85], display the tuple, then unpack it into variables name and grades, and display their values. 2. Create a function named calculate_p… • How would I wirte a function, div(n) that takes ONE input, a number, n, where n is bigger or equal to 1, and returns the minimum number of times that n needs to be divided by 2 in order to get a numbe… • I need to write recursive program that takes as input a non-negative integer n and prints out the first n + 1 rows of Pascal’s triangle. The program has to be decomposed into functions. The triangle s… • Functions Will be using functions. You will ask the user to input some numbers. The user can enter 4 numbers. You will then return if the numbers of it forms a rectangle or a square (and if so, w… • PLEASE HELP ort Description The Memory game has appeared in many different contexts, either as a computer game or as a card game that uses a partial or full deck of playing cards. The player tries to … • Complexity of computing a slice You are being asked to design a function that takes three arguments as input: an array arr of strings, each of size at most m, and two integers i and j. The function re… • You will be graded according to your ability to follow the instructions, maintain organized code, with docstrings on all defs. You should focus on memory and time complexity, and do not read in more d… • Hint: . In Dice Game, you must run across a 140m bridge before it collapses. You are given two 6- sided dices with these numbers on their faces: -8, -7, 1, 2, 7, 8 on the first dice -7, -2, … • Help me run Multiple regression model for the target variable of insurance_cost • The data in the csv file come from a Negative Binomial distribution. How do I write a function to compute log likelihood • Develop a small PL/SQL programs. 1. Enter an instructor ID from the keyboard. The program then finds instructor’s first name, last name and number of section instructor teaches. 2 Compare the number o… • Here is a problem for Python 2.7 version: The levenshtein distance metric is a well-known metric for determining how many insertions, dele- tions, and substitutions are necessary to convert one string… • Load the googleplaystore_user_reviews.cav (reviews) and googleplaystore.cav (apps) data sets as pandas DataFrames. You should use the pd.read_csv() function for this purpose. Delete any review that do… • How to use flask in python to make the following. Please write the code for doing the following with flask : 1) At least 4 different images. 2) 1 Table with at least 4 rows and 3 columns. 3) 1 form al… • Below is my code that I had created. Please help me see if I had fulfill the assignment, please leave is_divisible function alone as it is required by the assignment as well: def is_divisible(x, y): ?… • Briefly discuss the advantages and disadvantages of the Burrows-Wheeler algorithm compared with other commonly used compression methods. (a) Let m be a fixed positive integer. (i) For an integer… • Problem Statement In this Assignment, we will work with one- and two-dimensional Python Lists. 1. We will be given a one-dimensional List named colorList that contains several color names as strings. … • Please Have a look at my coding according to this question there is mistakes like it has to open file, encrypt /decrypt files as well as ask for substitution and transposition methods thanks . que… • Modify the examaverages.py program included with this assignment so it will also compute the overall average exam grade. E.g if there are 3 exams each student must take and the user enters the followi… • Learning Journal 7. def invert_dict(d): inverse = dict() for key in d: val = d[key] if val not in inverse: inverse[val] = [key] else: ?… • Make a 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_experiment.py)…. • In Data 8 you studied the Supreme Court case of Swain versus the State of Alabama, where a question before the Court was whether a jury panel of size 100 had been selected at random from a population… • Q4: Students marks dashboard consider the marks list of class students given two lists Students = [‘student1′,’student2′,’student3′,’student4′,’student5′,’student6′,’student7′,’student8′,’student9’,’s… • Optimization: Write a function that takes (1) the coefficients of a 5th order polynomial as a list, (2) a lower bound, (3) an upper bound, and (4) a tolerance. The function applies the golden section … • Please solve this using Python. (sklearn etc) Thanks! Problem 1. Principal Component Analysis. Consider the following dataset: N &lt;&lt; hBODQDNNI—lo OTOJNODHl—’H (a) Normalize the data and der… • Code in Python. Customers can lend money from a bank and they can also deposit money in that bank. A register is maintained to track the daily transactions. We want to find out whether a portion of… • # RQ1 “”” Write a function day_name that converts an integer number 0 to 6 into the name of a day. Assume day 0 is “Sunday”. Your function should return error message if the arguments to the function … • PYTHON PROGRAMMING LANGUAGE: Please run code below and answer questions 1-7. Thanks so much. • please help . Question 13 (4 points) Write a function with a while loop to display the numbers 1 to 100 and skip 7, 17 and 27. Use the &quot;continue&quot; statement • could u help me this playlist question Expected {(3, 2): [(1, 2)]}, but returned {3: [(1, 2)], 2: [(1, 2)]} Expected {‘bc’: [‘ab’]}, but returned {‘b’: [‘ab’], ‘c’: [‘ab’]} def invert_and_sort(key_to_… • In Python, MNIST dataset – The MNIST dataset is divided into two sets – training and test. Each set comprises a series of images (28 x 28-pixel images of handwritten digits) and their respective label… • Python Programming – Bubble Pots Write a program called Bubble Pots, which will simulate a collection of bubbles bubbling within a soup pot. 1) Here are some guidelines (not necessarily in a useful or… • #Write a function called modify_dict. modify_dict takes one #parameter, a dictionary. The dictionary’s keys are people’s #last names, and the dictionary’s values are people’s first #names. For example… • #!/usr/bin/env python # coding: utf-8 # In[ ]: ## import necessary module package import pygame from pygame.locals import * from OpenGL.GL import * from OpenGL.GLU import * ## define position of the C… • (Tkinter: Count the occurrences of each letter) Revise the preceding exercise to display a histogram for the result, as shown in Figure 14.4. You need to display a message in a message box if the file… • Required 1 Required 2 Required 3 Required 4 Required 5 Compute the Casing and Curing Department’s cost of ending work in process inventory for mixing, materials, conversion, and in total for September… • please help me with these (2 questions) There is no input for this program. This program outputs your initials made out of stars (#) Restrictions: – You many only use one print statement – Each letter… • I need help with Python and ArcPy to create a dataset showing “wilderness” areas in a national park. These areas are defined as 2,000 feet away from a paved road, 500 feet away from any campsite, and … • . Numerous engineering and scientific applications require finding solutions to a set of equations. Ex: 8x + 7y = 38 and 3x – 5y = -1 have a solution x = 3, y = 2. Given integer coefficients of two … • I need to the following answered with the corresponding code for Python. 1) Find the best cureve that fits the data points from the equation below, with the best fit coeffints ([w]) and interception(b… • I need help writing a function that would draw a bar graph in python using turtle. I’ve included pictures of how its supposed to look like # function: bar_chart # input: x &amp; y value (integers), la… • RESTRICTIONS, PLEASE READ: Do it on python and do not add any imports.Do not use try-except statements. def find_email(s: str) -&gt; str: “”” Given a string &lt;s&gt;, return the email tha… • DIRECTIONS: WOULD LOVE IF I COULD GET SOME HELP ON THIS!. ITP-150 – Assignment – Bank Account Class – Instructions Write a Python file that includes the following components: 1 – BankACC kAccount c… • Create a FLOWCHART and a PSEUDOCODE for each problem. Use the information below to create a pseudocode (which can be a text-based description for solving the problems) and a flowchart (using flowchart… • Search online for reasons describing why Python is such a popular programming language. Can you describe 3 key reasons why Python has been gaining in popularity over the last few years? Please r… • Help to make a module currency, which includes the following three functions that do currency conversions: to_euro(dollar): This function receives US Dollar as an argument and converts it to Euro. 1 … • The functions computes and SHOWS the speed = distance/ time rounded to 2 values to the right of the decimal point, for example: speed = 634.16 The function then RETURNS the middle(median) value of the… • How to compose a Python program in which it is able to stimulate randomly selecting cards, and is able to draw the ‘cards’ twice, is able to output the order in which the cards were drawn, calculate t… • Computer Science in python or c++ In this optional term project coding assignment (bonus credit), you will be using the Genetic Algorithms for Function Optimization. Details of the prolect: Function o… • I am trying to format a file into a list in python (or at least thats what I think I’m doing.) Basically this is my code : def processUpdates (updateFileName) : updateFile = open(updateFileName, “… • I need this answered with PYTHON/OCTAVE/MATLAB ***NOT BY HAND*** ******Plot the shear strain distribution with respect to the radius of the cross section at B. Set the origin at the center of th… • Copy the code above into your program but write all the other code for this assignment yourself. Write a function called has_duplicates that takes a string parameter and returns True if the string… • Create a Python program consecutive.py containing a function get_consecutive(s) that returns the the first (from left) character in string s that is followed by an identical character. It should retur… • Hi, why does the following code produce an error? x = 0 def incX(n): for i in range(n): x = x + i incX(5) print(x) • Question: Modify the following BFS Algorithm in Python by following Instructions: Take Source Node From User Input. Take Goal Node From User Input . This is will be print Source Node to Goal Node P… • Registration Form Enter Your First Name: Eric Enter Your Last Name: Idle Enter Your Birth Year: 2000 Welcome Eric Idle! Your registration is complete. Your temporary password is: Eric*2000 Thank you f… • Question 32) Using list comprehension, create a list with the numbers 1 through 10, each to the power of 3. # Type code here. Question 33) Using list comprehension, filter out the vowels in the sen… • Q1 [1] In your game description, highlight all of the game elements and tester actions that pertain to the current version. -done Q2 [1] which module will you have to import in order to randomly choos… • 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… • 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, … • Coding Guidelines [ ignoring these guidelines will result in marks deductions even if your program is syntactically and logically correct] : 1- Comment your code where necessary to improve the readabi… • Burrito class from the last exercise: class Burrito: # constructor t class def __init__(self,meat=None,to_go=False,rice=False,beans=False,extra_meat=False,guacamole=False,cheese=False,pico=F… • . CLOC (count lines of code) is a SourceForge (http://cloc.sourceforge.net/) project that will scan files and report lines of code, languages found, comments, number of files, and so on. The informa… • Exercise 2: Basic Predictions In this exercise, we ask you to now assess prediction error from different models. When a user watches a movie i (with rating r;), each model will make a prediction p and… • . Colour Lookup Table: 000 FFF FOO 000 BLACK BLUE15 BLACK15 FFF YELLOW15 WHITE YELLOW OOF GREEN15 CYAN GREEN FFO RED MAGENTA1 5 RED15 Given encoded picture: 000000 000000 000000 FFO000 000000 000000… • I am stuck on the output of this project if there is anyone to help I could really use it Define a Customer class in this module (file name: customer.py). This class has seven private instance variabl… • I don’t understand how i am supposed to add for the first 5 years and subtract the last 5 years how does that change the program. EECS 12 Assignment 1 ​(due 5pm, Oct 5, Friday) Fall 2018 The followi… • Program should be named analyze_slot_machine_tries. This program should read slot machine results from lines of a text file and counts how many times each color appears in the results. Make dictionary… • How would I print the TextField values that are in the Screen? from kivymd.app import MDApp from kivy.lang.builder import Builder from kivy.uix.screenmanager import Screen,ScreenManager from kivy.uix…. • HI, Could you help with the following? I have to implement a “class” containing all prior functions (from work attached below) and test it. Here is a code in which “CLASS” has to be implemented: i… • Hello, I need help solving this Lab simulation, It uses Driving costs – functions for function statements and I am very new at python on so I need help solving it. It is very difficult. It is very con… • Take a look at the functions file given below. Then solve these problems below using functions and conditionals Task-1: Take the input of the age from the user and display whether they are a teenager … • i AM totally lost. hope i can get solution as soon as possible and i can learn from it. • I need assistance with tasks 1-3 found in the attached python file. import random from graphics import * class PuzzleWindow: &quot;&quot;&quot;This class is responsible for window operations.&quot;&qu… • . QUESTION 17 10 points Save Answer Which expression gives the number of whole minutes that corresponds to some number of seconds? O a. seconds % 60 O b. seconds / 60 O c. seconds * 60 O d. seconds … • average? 4. What is the error in the studentaverage.py program shown in question #1 above? • this is a python programming execise, just used corrective form to solve it I Have Your answer to this problem in the&quot;Millen. py&quot; like ! Recall that &amp; Python list can contain any type o… • Computer Science Need this in python Encrypt and Decrypt from a File Create-a text file of following text. “Installing under UNIX-compatible operating systems such as Linux is easy if you’re willing t… • Assume you have a working implementation of the binary search algorithms we discussed during the lectures (returns True if item in in the list, False otherwise). If you want to determine if number 8 i… • How do you indicate the value of x after the statements execute. y = 30 x = y + 2 x = x = 1 • . Learning Outcomes: By completing this assignment, you will gain skills relating to Strings and text files . Writing and using your own classes Using complex data structures (i.e., lists, sets and … • task1_instruction 1: —————— Use the code provided copied to a new file named compulsory_task_1.py: 1. Add another method in the Course class that prints the head office location: Woodstock… • make sure to write a Python code that takes a list and returns the difference between the smallest and biggest numbers in the list. Examples list_a = [10, 4, 1, 4, -10, -50, 32, 21]) # the output is 8… • Hi, I have to create model which predicts the average traffic speed per hour on a busy road in Hong Kong.. 80% of the data is training data and 20% is testing data. There is some missing data in the t… • CHALLENGE ACTIVITY 5.4.2: Printing output using a counter. Retype and run, note incorrect behavior. Then fix errors in the code, which should print num_stars asterisks while num_printed != num_stars: … • Each team participating in this year’s annual contest is expected to join the grand dinner to be arranged after the prize giving ceremony ends. To maximize the interaction among the members of differe… • As a test of the concepts introduced in deep_reverse, write the recursive function deep_sum that takes a list as argument and returns as its value the sum of all the number elements in the list and… • young_sailors = pd.DataFrame({ “sid”: [2701, 18869, 63940, 21869, 17436], “sname”: [“Grace”, “Morgan”, “Anne”, “Jack”, “Dustin”], … • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S… • 17 Clone of LAB: Regression with categorical predictors The nbaallelo_mlr.csv data base contains information on 126315 NBA games between 1947 and 2015. The columns report the points made by one … • Problem 1: Clustering A leading bank wants to develop a customer segmentation to give promotional offers to its customers. They collected a sample that summarizes the activities of users during the pa… • An E Commerce company or DTH (you can choose either of these two domains) provider is facing a lot of competition in the current market and it has become a challenge to retain the existing customers i… • I have attached the picture as the equation consist of special characters. • PLEASE WRITE CODE USING IMPORT SYS ARV PLEASE WRITE CODE USING IMPORT SYS ARV PLEASE WRITE CODE USING IMPORT SYS ARV Use the german_credit_data.csv file to complete the following assignment. Crea… • Which of the following are Booleans or good Boolean Expressions? Select all that apply. (Assume all variables have been defined to valid integer value.) 6 / 2 &gt; 1 + 5 and x &lt;= 7 color == “red” o… • Securing web sites remains a high priority for all agencies, corporations, and universities. The OWASP top ten Web application vulnerability list is updated approximately every years. Read the most c… • 11 . Which statement gets the length of the list | values ? 1. InumValues = length (values) | numValues = len (values) | 3. numValues = size (values) I 4. numValues = values. lengthl • 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… • Why we write print(‘the solution are {0} and {1} ‘.format(sol1,sol2)) when we are writing code for quadratic equations .. • Start Jupyter Notebooks server Open Jupyter Notebooks in a browser Upload required files( link below; incef) into the Files area of your Jupyter Notebook Follow along in the chapter excerpt (link … • Please don’t copy from chegg and course hero solve using python pls!! present the statement (p → q) → ((p → q) → q) in a truth table : • csv : ElectricalEngineeringStudents.csv : ScholarshipCandidates.csv : GPAList.csv : GraduationDatesList.csv : StudentsMajorsList.csv : This is in Python. I am not able to attach ex… • This problem is about Python modules. Build a module currency, which includes the following three functions that do currency conversions: to_euro(dollar): This function receives US Dollar as an argume… • Write a function called translator(myDict, myStr) that takes a dictionary, myDict, where the keywords are English words, and the values are the another language’s equivalent of the keywords, and a str… • Load the wine dataset from sklearn package. Perform exploratory data analysis and set up a KNN classifier. Propose an appropriate value for K. Compare the performance metrics of the KNN classifier wit… • Original answer without copy/pasting from another source in python please with explanation. Been stuck on this question for very long 🙁 • Please put together program that calculates the total cost of an order including shipping Use the following table to calculate shipping cost: Cost of Items Shipping Cost &lt;$30.00 $5.95$30.00 – $49… • Define a function repeat that takes two arguments, a text message msg and a number n . It should print the message n times. For example, repeat(“hi there!”, 4) printshi there! hi there! hi there! h… • a program to find the largest value. Ask the user to enter three numbers. Compare them and report the largest one. [Hint: The user is free to enter any three numbers. Some or all of them may be th… • . _11_ 0 If we used the Thompson Sampling algorithm to decide between the two arms (group A and group B), what is the experimental number of people (out of 500,000) that will send (at least) one fri… • Need Help with Python Homework Project Please import pygame # This is a list of predefined pygame Color objects colors = [pygame.Color(0, 0, 0, 255), # Black pygame.Color(255, 0… • There is an R package called **imputeTS** specifically designed to repair missing values in time series data. We will use this instead of mean substitution. &lt;br&gt; The **na_interpolation()** fun… • Please include your detailed coding and a picture of your coding. . Time Amplitude (milliseconds) (millivolts) 0.00 0.429086 0.01 0.454173 0.02 0.433519 0.03 0.518289 0.04 0.40911 0.05 0.462929 . . …. • Define the following fundamental concepts · Interpreted vs. Compiled Languages · Interpretive Overhead · Scripting (Procedural) vs. Object Orien… • Implement Is_min_at_distance , an upper bound on the local sensitivity of the min_age query at distance , and dist_to_high_Is_min , an upper bound on the distance from the true dataset to one with loc… • I have figured everything out for coding a random forest from scratch in python except calculating the best split. Below is what I have completed so far. All of the initial functions pass except for b… • It will be great if someone can help me with this code assignment. I need to use the code that is given above. CMPUT 175 – Lab 3: Numerical Tic Tac Toe ‘ Goal: Review classes/objects, import Back… • Please Perform the following activities in Python. The data can be found here: https://drive.google.com/drive/folders/1c70af2WNeS_TKEUdbrMvKScStIeVd8M4?usp=sharing 1. Load the data in each of t… • Question 3. Is a point within a rectangle? – 4 points Write a function is In ( ) which returns True if a point is within a rectangle specified by two sets of coordinates and False if the point is out… • I would like help on writing this in Python . For a given adjacency matrix of a rooted tree you need to decide whether this tree can be labeled to become an avl tree. Vertices of the tree do not have … • How to construct a polynomial class using eval, repr, addition method, multiplication method and the function “polySequence” as shown in the attachments. For this lab, we wish to implement a class to … • I need a function greeting(name) to return a text string composed of the text ‘Hi! I am’, one empty space ‘ ‘, the name, period ‘.’, and another empty space ‘ ‘ followed by ‘How are you?’. Use the do… • The Negative Binomial distribution has two parameters, N and p . Using your code from part 4, compute the values of log-likelihood for values of N in the range [10-60] and p in the range [0-1] (e.g. u… • Here is a suggested set of iterations when building the interactive user interface: 1.Write a while loop that loops a fixed number of times (perhaps two times), prompting the user to enter a string … • please help me!!!! [Weight = 1] What does the pseudocode below generate? for first in [0, 1] do for second in [0, 1] do for third in (a, e, i, o, u] do print (second, third, first) Function print (x ,… • Please help with exercise 5 https://labs.vocareum.com/main/main.php?m=editor&amp;asnid=209426&amp;stepid=300194 O pyter problem0 (autosaved) Control Edit View Insert Cell Kernel Widgets Help Not Trust… • Looking to improve my python skills. I believe matplotlib and numpy would be used to solve this and plot it. 1. Use the Mathematica commands NDSolve and Plot (pay attention to the capital letters; cas… • I need help with OOP type programming in Python. I need help with my tic tac toe program. It works as is, but I need help modifying it so it uses OOP. Object Orientated Programing. I continue to get a… • This question is based on the lab1. I need help with the lab2. Find the attached pictures:. Lab 2: Repetition COSC 1336 Programming Fundamentals I Kathryn Rehfield Lab 2: Repetition Due: 03f06f22 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 … • In this exercise, we are going to be using a dataset city_air_pollution_sources.csv that describes the sources of air pollution in 96 global cities. The dataset has the following columns: city : The… • Task 2: Manipulating Lists &lt;§2.2 Loops; §3.2 Lists&gt; Part A: Reverse Implement a function reverse strings(my list) that takes a list of strings, and returns the strings concatenated in reverse … • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) … • Answer the following questions, with explanation 1. What will be the output of the following Python code? def foo(k): k = [1] q = [0] foo(q) print(q) a) [0] b) [1] c) [1, 0] d) [0, 1] 2. How are v… • Write python program that does the following: 1. Reads a ‘numbers.txt’ file (2 lines at a time) that contains numbers (integers) 2. Reads a ‘operators.txt’ file (1 line at a time) that contains operat… • Text Book 6.2 Incremental development As you write larger functions, you might find yourself spending more time debugging. To deal with increasingly complex programs, you might want to try a process c… • Write a Python program that prints all the numbers from 0 to 10 except 3 and 6. Note : Use ‘continue’ statement. Expected Output : 0 1 2 4 5 7, 8, 9, 10 (2 ) Write a Python program to get next… • month = input() input_day = int(input()) if month == “January” and 1 &lt;= input_day &lt;= 31: print(“Winter”) elif month == “February” and 1 &lt;= input_day &lt;= 29:… • Write the recursive function rbitlists(n) that generates a list of all bitlists of length n in lexicographic order. Explain the approach (base case and recursive case) and give an argument why this ap… • # Global Constants – Use these in your program where it makes sense TAX_RATE = 0.07 # 7% sales tax PB_MAX = 50 PB_COST = 2.50 HB_MAX = 20 HB_COST = 7.00 MAG_MAX = 35 MAG_COST = 3.95 # The get_item_c… • ASSIST ASAP https://drive.google.com/file/d/1YJGgFhHSbsqLgV_boqUqFPlEMqIw7Tmm/view This is a universal link to give context, please view to see entire document . Q11 – Interpretation (0.75 pts) We s… • Please Answer the question with the given format : Format: class KMeans: # K: the number of clusters def __init__(self, K): self.K = K # The features of centroids; s… • Change the code (repeated below) in the question.py file so executing question 1() produces the desired printout below. camelCase is a style of writing words, phrases or variable names without any spa… • Consider an unreliable message service where messages of a fixed size are sent between known endpoints. Outline the minimum set of additional features offered by a reliable byte-stream delivery se… • I wanted you to generate all the possible (x,y,z) cartesian co-ordinates of these following 3 functions x_component= -2*x y_component= -2*y z_Component= -2*z The output should be in this form Cordinat… • For this problem, you will use a “yes/no” API at https://yesno.wtf#api , which responds with a either ‘answer’: ‘yes’ or ‘answer’: ‘no’ and a link to a .gif representing either answer. Write code that… • The project is in github. Here’s the link: https://github.com/arjangcore/DigitRecognizer You will need vscode and python 8.* (latest version ) to run this. Download the project and use it as st… • Create 30 items usually seen in Amazon, K-mart, or any other supermarkets (e.g. diapers, clothes, etc.). (1) A database of 20 transactions each containing some of these items. The information can be s… • Python 3 Part 1 The volume of a sphere is 4/3πr 3 , where π has the value of “pi” given in Section 2.1 of your textbook. Write a function called print_volume (r) that takes an argument for the rad… • Part 1: Let’s start by creating some tables to store our data — we’ll first have one containing some product information. Products have: a name (TEXT) a description (TEXT) a unit cost stored in cents… • please help me to code this problem question by using python 3 and you may use either Jupyter or Spyder to code, the csv files in Gdrive you can download in by the link below, I hope you may do same t… • help with question 1. Create a Python recursive function to determine the nth term of: a1=-1, an = 2n – an-1 • If I have this in my programming solution….. HERE IS HOW THE LIST OF CUSTOMERS WILL APPEAR AFTER YOU WRITE THE DETAILS IN THE OUTPUT… Counter = 0 Counter1 = 0 Counter2 = 0 Average = 0 Total = 0… • Write a Python program that creates a class which represents an Employee in an organization. The class includes a function that reads a text file called employee details.txt (A sample of the file i… • Implement a MinimumPriority Queue based on the binary heap. A Minimum priority queue guarantees that its dequeue()method returns the queue element associated with the minimum key value. A minimum prio… • Function name : find_file_in_folder Parameters : The first parameter should be a string with a file name in it, like ‘A.txt’. The second parameter is a string with a folder to look in for a file with … • USING PYTHON: Create a Python class, Document. Upon initialization, the instances of this class will take in one optional string parameter, initial_thoughts, which defaults to an empty string if not g… • Build a Python consumer called kafkaNumbers.py . In this problem, each line will consist of a list of numbers. There will be an arbitrary number of numbers on each line. Your consumer goal is to: … • hi, I need help coding this function, can you teach me what I should do? for python removePunctuation(wordList) – this function takes as a parameter a list of words and modifies the words in the li… • I’m running a website with flask and I’ve created code that will log the IP address, time, and date of every failed login attempt in a 2d list. What would the code look like that could analyze the log… • Hello, I have question about python programming. I read a text file from URL and the data column have (CountryHappiness.RankHappiness.ScoreWhisker.highWhisker.lowEconomy..GDP.per.Capita.FamilyHealth….. • Question: Code a program in C# to ascertain the grade an understudy acquires for a given module. The contribution to the program incorporates the module code, name and consistent appraisal weightage, … • Lists: Mapping and Summing The input to your program will be a sequence of words, separated by single spaces. Your program should print out the sum of the lengths of the words. Sample Input 1: map is … • . Assignment Specifications and Requirements Please enter your code in the block between comments like this: # Begin of your imports —– # Begin of your implementation – # End of your imports —-… • Need your help to in-sort Q3 below Question 3: Emulate the stack behaviour using the list data structure. a) Complete the methods of the following Stack class according to their description class Stac… • help please WORK AREA RESULTS Lab Using the is_prime function from exercise 17, write a program that prints the prime numbers from 1 to 100 each on their own line. SAMPLE RUN #0: python3 PrimeNumberLi… • For this challenge, create bank account class that has two attributes: owner balance and two methods: deposit withdraw As an added requirement, withdrawals may not exceed the available balance. Instan… • In python please Complete the following if statement to detect if the ball collides with the paddle in a paddle ball game. Assume bX and bY are the coordinates of the top left conner of the ball’s… • Write a Python function named halfMulTable that takes a positive integer value argument n and prints the following multiplication table. N 4 2n 9 3n nxn 2. Write a function named rightHalfTriangle … • Where should instance variables be defined? In accessor methods In constructors In functions In mutator methods • Problem Statement: Design a program that asks the user to enter a string. The string will then be displayed back to the user. This is followed by determining the number of alphabetic characters, nu… • def countdown(n): if n &lt;= 0: print(‘Blastoff!’) else: print(n) countdown(n-1) Write a new recursive function countup that expects a negative argument and… • Create a function plot_stats_for_test(filename, tests, stats) that will plot the statistical properties of the grades and times for the given test numbers. The parameters are as follows: filename- a… • Working with warm start for focused training (FULL CODE BELOW) 1). MLP classifiers in scikit-learn have an option for so-called ‘warm start’. Give an example of warm start. Specifically train the… • You’ll use the Value Distance Metric (VDM) to find the distance between symbolic feature values Northeast, Midwest, South, and West, 1. (10 points) Find all the relevant conditional probabilities… • Problem #1 For this problem, you will use the file transactions.csv. This comma-separated file contains 80 transactions. Each line in the file corresponds to a single transaction. You will notice that… • This exercise (80 points) uses your programming environment to generate a simple Web page using Python flask. The Web page should include all basic components of the HTML structure including: …your … • write the for loops that will print the following sequence; 0.1.2.3.4.5.6.7.8.9.10 1,2,3,4,5,6,7,8,9 0,2,4,6,8 1,3,5,7,9 20,30,40,50,60 • FIN312 Tutor-Marked Assignn (d) Show the result of your code running against these test cases: 1 . median(v), modes(v) and mean(v) for v = [i for j in (range (1180, 2022, k) for k in (3, 5, 7) ) for i… • Write a program that reads in the name and salary of an employee. Here the salary will denote an hourly wage, such as$9.25. Then, ask how many hours the employee worked in the past week…
• . 8:48 Assignment Details BCIS 5110 Section 001 – Programming Languages for Bu… Description Download Telco. json from Canvas. Unless otherwise stated, all questions are based on this data. Only us…
• Construct 2 lists containing all the available data types  (integer, float, string, complex and Boolean)
• Make a program that declares three functions which accepts a list of numbers in reverse order from main program and find the smallest numbers in the list by one function. Another function should creat…
• PYTHON ASSIGNMENT This assignment deals with methods related to ‘scipy’ for various data sets.    a)  In this first problem,  scipy.optimize.curve_fit() will be used to fit various functions to a …
• Please see the attachments for reference. Something similar to the attachments.   Utility Company: Prime Utilities 123 Fake St New York, New York 10001   Overview: In this assignment, you will be an…
• I think I need to turn my string into an Integer before I can run my IF ELSE statement, but i’m not totally sure. Can you please help me understand. Help Configure.. Project Index (static) Configure…..
• alphabet = “abcdefghijklmnopqrstuvwxyz”    test_dups = [“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]  test_miss = [“zzz”,”subdermatoglyphic”,”the quick brown fox jumps over …
• Task 4: Little and Long Lists &lt;§2.2.1 While-loops; §3.1 Strings; §2.1 Conditionals&gt; Warm Up Let’s start by learning about indexing. Indexing allows us to access the ith element in a sequence….
• Dear tutor  Please create a python module      def update_transactions(file_path: str, transaction_list: list):     “””    You are part of a team tasked to create an application that helps b…
• Explain the code with comments please Python language. Sliding Puzzle Description: A 4×4 board of numbered tiles has one missing space and is randomly set up. To win the game, the player must slide ti…
• Provide an example of using for loop in Python and demonstrate an advantage of using for loop.   2. Edit pizza_cost.py to write the definition for the following function in Python: A function whic…
• Given the dictionary states where the key is the state and the value is the population. Sort states on population and print the three states with the highest population and the three states with the l…
• “”” UTM: CSC108, Fall 2021 Practical Lab 10 Instructors: Michael Liut, Andrew Petersen, Andi Bergen,              Tingting Zhu, Pooja Vashisth, and Sonya Allin This code is provided solely for …
• Can you Answer both the question where it says your code here class Popularity_Tree:  def _rotate_left(self, parent):     “””     ——————————————————-   ?…
• Task 2: Leap Years &lt;§2.1Conditionals; §3.1 Strings&gt; Part A – Is this a leap year? Develop a function is leap year(year) that calculates whether a given (CE) year is a leap year. The function m…
• I have a Python programming question. My file only executes part of the program.
• . Requirements – Bridges [CS Circles) (1] There is a single road between two cities. The road has three bridges with weight limits a, b, c, as shown in the picture below: To drive along the route, y…
• For this test, you will run a program that performs some analysis of the novel  Alice’s Adventures in Wonderland  by Lewis Carroll. First, please download the provided file alice.txt, which is the …
• . 4. Gaussian Mixture Model (15 pts) Here, we learn: 1. Gaussian mixture models 2. Multimodal distribution functions Let’s assume we have a Gaussian Mixture Model with 3 components. Parameters of …
• When i try to run my code, i’m still getting a black screen. Is there anything wrong with it? # import pygame modules import pygame import sys   # access to key coordinnates from pygame.locals import…
• Mary has discovered that her significant distance love interest, John, is on an excursion to see an amigo who lives in an alternate city. She chooses to go with him on his excursion to decide if the c…
• def countdown(n):    if n &lt;= 0:      print(‘Blastoff!’)    else:      print(n)      countdown(n-1) Write a new recursive function countup that expects a negative argument and…
• Clunker Motors Inc. is recalling all vehicles in its Extravagant line from model years 1999-2002. Given variables modelYear and modelName Write a statement that assigns  True  to recalled if …
• [25 marks] (Magic square) A magic square is a 3×3 square with numbers filled in, such that the sum of each row (three rows), the sum of each column (three columns) and the sum of each diagonal (tw…
• Using os.walk, write_a script that will print the filenames of zero length files. It should also print the count of zero length files.
• . Question 5 Given the following function, what will be displayed by the call nPrint(‘a’, 4)? def nPrint(message, n): while n &gt; 0 : print(message, end = !&quot; ) n -= 1
• I need someone to solve this code! Thanks in advance. k nearest neighbors The implementation above only allows for a single nearest neighbor; that is, the classiﬁer predicts the label of the closest…
• Given the 4 sets of results from the 4 experiments (from Tasks 10, 11, 12, 13) with closed form solution, batch gradient descent, stochastic gradient descent and mini-batch gradient descent, print a s…
• hello I need help with the first problem in python, I need to write a ptogrom that analyse a picture and returns it is information   Read the image. Use the Picture data type to read in the image. C…
• 1/ Write the draft for solutions first. ( Python ) 2/ Then write code to solve this problem! (coding with beginner Python Programming level)  . 7. Battle- Plays a single round. Compare top cards of e…
• I need help understanding an assignment def countdown(n):    if n &lt;= 0:      print(‘Blastoff!’)    else:      print(n)      countdown(n-1) I need a new recursive function coun…
• List Operations: Write the following functions in Python which take a list as 2 input parameter and does the following: def range of list firstnamelf number list): # .rehlrns range of the list. Range …
• I am a beginner comp sci, so may not be familiar with all concepts, so I’d like simple ones. Program #3 Filename: pig . py For this assignment, you’ll implement a dice game called m, pitting two hum…
• Rooks on a rampage def safe_squares_rooks (n, rooks) : A generalized n-by-n chessboard contains some number of rooks, each rook represented as a two- tuple (row, column ) of the row and the column of …
• please help me 1) Let’s say you have a list saved in a variable: c = [3, 6, 7, 24, 27, 32, 45, 66, 77, 86]. Write a Python function that takes this list c and makes a new list that has only the odd el…
• CO 4) What will the output of the following code be if the user enters 3 at the prompt?   your_num = int(input(“Enter a number:”)) while (your_num &gt; 0):    product = your_num * 5    print(yo…
• How to create a random mapping (dictionary) of virtual node numbers (0 to (TOTAL_VIRTUAL_NODES – 1)) mapped to node names in Python. Each node should get equal distribution of virtual nodes. However, …
• Scenario – Business Intelligence and Data Analytics, and ICT  It is your responsibility to discuss and establish the requirements needed by the client. In  general, you will need to develop tools th…
• def addUser (name) : ”’add a user with given user name”’ … def listUser () : ”’return a list of shell users”’ … def listSysUser () : ”’return a list of system (non-shell) user”’ … def find…
• 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…
• Submit a zip file of your source code file(*.py), please name the .py file using the name LNameFnameFinalProject(using your name).  130 points.  Validation testing – 20 points. User manual creation …
• Create a python program that: a) Prompts the user for value to be used for the number of threads to be created.  Your code should check for invalid input (e.g. numbers less than zero or non-numeric v…
• Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Exercise (2) Lab E…
• Part 2 Invent a function  that does some useful computation of your choosing. Use incremental development, and record each stage of the development process as you go. Finally, print output that dem…
• how can i work this code in python 3 ? def read_books(file_name):   try:      datafile = open(file_name, “r”)   except:      return      #if file cannot be opened   books = {}  ?…
• Write a payroll program that pays time and a half for anything over 40 hours. This should have 3 functions in addition to main. The first function asks the user how many total hours were worked and th…
• Section A – Program description Program description The hostname management program is named  hostnames.py . The program manages hostnames in a file called  hostnames.txt . The format consists of on…
• Please can you tell me what is the information that is missing, because based on this samples that i sent you, you have to give the solution to the ex 4, 5 and 5 Date Total_Cases 11-Mar-20 1 12-Mar-20…
• the question of the program was posted  but I don’t know what you mean by revised  and I showed how I did the program and its the way our instructor wants it I am just missing something as I wrot…
• May I know how do I answer the coding question for Task 1B? It has to be a function that can draw these triangles. The function is sierpinski(level, length). The restriction is to use recursion and on…
• I already had help with def total_paid(house):. Problem 7: Mortgage A mortgage is what you pay when you cannot purchase, usually a home, outright. You pay in installments that have to do with terms of…
• I need help solving this python question R-SAJﬂhat is the running time of a call to T. heightz [p] when called on a position p distinct from the root of T? (See Code Fragment 8.5.) C-8 .42 Describe …
• You are given a collection of text files, each containing 1000 recent tweets posted by several popular Twitter accounts. Each line in a file is one tweet, so if we read the files the usual way, each l…
• PCA features This section will describe how to extract PCA features from a set of training images. Study the code in FisherFace.py. Use these functions for PCA feature extraction: myPCA, read face…
• 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.
• Some rows in this table do not contain polls. You can identify these by the lack of the percent sign (%) in the Remain column. Update polls by changing the column names to c(“dates”, “remain”, “leave”…
• really stuck on this homework question and could use some help, needs to be written in python?. Question 2: (20 points] Given a string, write a function to check if everv word in the string is a palin…
• help modifying this code 2 problems # %%######################################################################### # REFLECTION PLANES ##################################################################…
• Original indicates the following: Write a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarte…
• I need an IOT SECURITY REPORT on THEFT DETECTION SYSTEM and everything should go according to the standard security report rubrics the following are the rubrics to follow 1.Introduce the IoT device an…
• Can you please help me with this one. I am struggling  . 4 How Tiles Work In this project (all 4 parts), you will define a certain set of tiles. You must rep- resent each tile with a CarcassonneTile …
• Text Analyzer Fill in the blanks to read the contents of a file using the &quot;with&quot; statement. with open( filename ) f: text – f. read()
• The image of input file is given. Compute the average-score-based ranking:. 1. Compute for each gene the average score over all n experiments. Output: Print the genes in alphabetical order and corresp…
• . General Requirements 1. Analyse the problem. 2. Code a very well documented {comments} Python app following the PEPE Style Guide for Python Code. 3. Complete all the steps in the Iteport 4. Submit…
• if you go to first link in picture it explains the problem in input dataset and what output is expected. ans there’s another link in input section where u can get the complaints.csv file. the solution…
• Python Factors Program: create list of 1-100 integers and then print 1-9 are factors of which numbers in the created list. sample output: numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, …
• I have this json, it always follow the same pattern. There will be singles and compounds, the only difference between them is that the compounds have the same time interval and server. But: { “singles…
• In python I have my code written . read all the information first then start loading please. My code is running but it has some problem regarding to rules. 1) Roll the remaining dice (Which will be t…
• Neighbors of the Same Sign We need to prompt for a string containing integers separated by spaces. Then, we need to load the values into a list. We need to find and print the first adjacent elements w…
• 1) The question screenshot has been attached down below:    . Question 1 (20 points) Question I provides practice with files and string operations. Specifically, you will need to use file operations…
• How to handle Excel files in python?             To read rows and columns             To extract data, manipulate and write data             To calculate mean of a column
• What is wrong with this one? It looks correct to me.
• Greedy Residual Fitting: The relevant link: https://drive.google.com/file/d/1Mvt3EDArVGdIEiN9h-OmvhB6yfApIGt0/view?usp=sharing We start using a greedy approach to multivariate regression. Assume a dat…
• . Submit just a single Python file, hw6_sol. py. . A component missing from our analysis is the frequency with which each word appears. This is easy to keep track of using a dictionary, but we will no…
• How do I make sure user inputs 4 Unique integers from 0 to 9 separated by space, and nothing else? If anything else, it should print ‘Error. Try again’ and ask for the numbers again.
• We will be understanding the concept of linear regression along with its regularization.  parameter on the dataset given  below,w which has multiple attributes. .The MedicalDataset  (https://www.ka…
• Write python program of Asome Bot code be able to have the device respond to some external input (motion, pressing a button, coming into contact with something). For example, with the AsomeBOT, it can…
• The results should look like the document. It should have a main.  . Console if the contacts file is not found Contact Manager Could not find contacts file! Starting new contacts file. . . COMMAND ME…
• Objectives  • Code a script / program that produces the required output.  Your mission…   create a Python script (Program) that will ask the user for an IPv4 address with the /prefix mask. (i….
• Code must be built using python3, and it must be able to compile from the terminal or CMD.  Must be in Tkinter   Design and implement ‘Store automatic system’ Apple store, allowing the staff to comm…
• Modify the multi-client chat room application below so that it uses an UDP server instead of a TCP server. Server.py import socket, threading host = ‘127.0.0.1’ port = 40000 s = socket.socket(socket.A…
• Using the NHANES data and the previous notebook, the following questions will be about the variable BPXSY2 (with missing values remove). Round your answer to the nearest tenth. (ex: 2.33 should be 2.3…
• Please help Function named pnamedtuple that is passed information about a named tuple: it returns a reference to a class object from which we can construct instances of the specified named tuple. We…
• While am running the below code am getting Attribute Error: Type Object MobileInventory has no attribute add_stock. Could you please help me on this. class TestInventoryAddStock: @classmethod def setu…
• [my_house.py]  In a graphics window, you are to draw an outdoor scene containing a house. Your drawing should include at least the following shapes: three rectangles two lines one circle one tex…
• I need help in the program called GRADING.py, which is the second problem on that attached pdf. I REPEAT , ONLY THE SECOND PROBLEM. I have already done the first one. Thanks !  File names: diff.py, g…
• def exercise @ 1 ( ) : 1 1 1) create a DataFrame Of with 4 columns and 3 rows of data in one line of code . The data can be arbitrary integers . For example O OO D W DO ONH ( ~ WN NOTHO NHO 1 1 1 # &…
• Implement the Minimum Edit Distance algorithm and verify if the following words are cognates.  create a confusion matrix in the code .   English          German one                   e…
• Please refer to the attachment to answer this question. This question was created from Exercise 7.docx.
• . In [8]: # Define a function named total_average_marginal that takes three paramters tiers, rates, income # Compute total_tax for given tiers, rates, income # Compute average tax rate as the ratio …
• I can’t get my program to run on python. I keep getting an error and I can’t figure out why. Here is what I have. When I run it I get an error when I try the add item option. def delete_item(shopping_…
• Exercise 2. (a) Generate a transaction that can be redeemed by the solution (@, y) to the following system of two linear equations: + y = (first half of your suid) and – y = (second half or your suid…
• The topic is all about string and text file A.) Assume that the variable data refers to the string “myprogram.exe”. Write the values of the following expressions:  a. data[2]  b. data[-1]  c. len(d…
• Inquiries to Answer DELIVERABLES: Upload every one of the accompanying 6 expectations as a different record to Canvas #1 – a text report responding to questions A, B, C, D, E #2 – a screen capture of …
• The Substitution Cipher A cipher is mirrored algorithm that allow phrases or messages to be obfuscated (i.e. “scrambled”). Ciphers were an early form of security used to send hidden messages from one …
• b) test Case: A) P B) yhn C) Pyth_n . Write programs that read a line of input as a string. Then, prints 5 pts A) Only the uppercase letters in the string 8} Every second letter of the string C) The s…
• Consider the following Python code and answer the following questions. a. Identify the parent and child classes here?  b. What is the output of the code? (Try figuring it out without running …
• what will be the value of ‘x’ when the following statement is executed: x=int(98.6)
• [10 marks] Is there any error in the following function foo? If there is no error, explain briefly what it does; if there is an error, explain briefly how to correct it. def foo (n) : if n == 0 : r…
• I’ve input the code below but it does not make the adjustments to my file. Could someone assist me?   import pandas as pd # pandas to read the csv file import matplotlib.pyplot as plt # matplotlib to…
• I need a python program for this problem. please see attached to see the details. Thank you
• We want to make a program that, when given a list, will sort through all the values of the list and take only the numerical values until it encounters the word “done”. Then it will return the total su…
• Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– E…
• # Helper functions def primes (max=None) : p = 2 while max == None or p &lt;= max: if is_prime(p): yield p p += 1 # Generators must be able to iterate through any iterable. # hide is present and calle…
• Please I need help with writing a python program that does the following.  String that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite…
• 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 function…
• Need help with the below: class CelestialBody: def __init__(self, size, mass, composition, name) : Collapse Exercises self . size = size self . mass = mass self . composition = composition 23. Celesti…
• Hi please python code for me. Thanks for heaps and sorting
• ?…
• What is a Python program that implements gradient descent for minimizing the least squares loss. As a stopping condition check for the objective between the current and previous iteration. If the obje…
• Project 3 (Mozart Waltz Generator) Exercises Exercise 1. (Birthday Problem) Suppose that people enter an empty room until a pair of people share a birthday. Or average, how many people will have to en…
• count change Once the machines take over, the denomination of every coin will be a power of two I-cent, 2-cent 4. cent, B-cent, 16-cent, etc, There will be no limit to how much a coin can be worth Giv…
• Hi, please help me with those three questions, they are all multiple choice question, just choose the answer that all apply. thanks
• #PROBLEM Arithmetic Exception An exception is an unwanted or unexpected event, which occurs during the execution of a program i.e at runtime, it disrupts the normal flow of the program.For example, th…
• Read the students_database.csv file and develop the necessary functions to find an answer to  the following questions. Your functions must work on all files that have the same features(same  colon n…
• The programming language being used is Python. Prep Problem – 33 Most airlines have restrictions on what a customer is allowed to put in their carry-on luggage when going on a flight. For many plane t…
• Problem B. (10  points )  Crewperson and Pretender Construct two additional classes named Crewperson and Pretender, to represent each of the two possible specializations for a Character. The Cr…
• You are given a string S of size N, and a string T of size M. You need to find the number of substrings of S which contains any anagram of T as a subsequence. Since the answer can be large return it m…
• You are given some Python code below. You should  FIX  this code so that the code stores all integers that are  divisible by 13  between 5000 and 135 in a variable called lst. Your lst vari…
• function merge(lst1, lst2) that takes two sorted lists as arguments, and returns the elements of both lists, merged. This function must have a complexity of O(n + m) where n list the length of lst1 an…
• An array of integers named va_pop contains the (estimated) population of Virginia every 10 years. It has 12 items. The first item is the population of Virginia in 1900. The last is the population in 2…
• Word Count. A common utility on UniX/Linux systems is a small program called ”wc.” This program analyzes a file to determine the number of lines, words, and characters contained therein. Write your o…
• Write a program that will calculate the problem and stop after the condition has been met.  a=number of loops (start with zero but will increase by 1 after each completed loop) b=a+1 c=a+b   Conditi…
• Instructions:      Provide your solutions in a file named lab3.py .  In a comment, include the name(s) of any collaborators. To receive full credit, the names of files, functions and the output mu…
• Ask the user for a filename. (0.5 marks)  a) Check to determine if filename has an extension (1 mark)  i) If not, add a “.txt” extension (1 mark)  b) Check to determine if the filename already exis…
• Generate a quadratic model with y=x+x**2+e,  x and e are both vectors which are normal mean 0, variance 1. Generate a monte-carlo sample from this model with length m = 20.
• Exercise 7: (2 points) – Given a linear regression parameter (theta), complete the function lr_predictor to meet these requirements. Return a function which takes one parameter (a data matrix as a Num…
• Determine the value (TRUE or FALSE) of each of the following Conditional Statement. (Show your working, not just True or False) temp = 2 temp &gt;= 3 and temp &lt;= 5 temp &lt; 0 or temp &lt;= 4 ( …
• make_menu (5.5 points) Imagine you own an ice cream shop, and customers can buy ice creams of any mixture with one choice of fruits and one choice of toppings. You decided to create a menu board with …
• Write a python(3) program about movies to watch.   The following sample run was made using a CSV file that contained: The Fugitive,1993,Drama,u Star Wars: Episode IV – A New Hope,1977,Action,w Citize…
• Please make sure the code works. Thank you!!     Do not add statements that call print, input, or open, or use an import statement. Do not use any break or continue statements.  . #helper function …
• Write a python script called vmarchiver.py that will create a complete backup of a single VM the user specifies.  The specific details of how it works are below:  When this script is run, it will pr…
• Explain the basic match paradigm in Perl (how do you tell Perl to try and match)? Provide some examples with delimiters.
• 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 www.python.org You will code the following and…
• Submit code and screenshot of outputs. 3. Problem Specification: Design and implement a program that calculates and displays information about penalties for late submission for a piece of coursework. …
• (25 points) K-means step by step, k=2 Extract kmeandata from cluster_data.mat as your dataset. a. Initialize the cluster centers (the means) at (-2,-2) and (4,4) b. Calculate the distance between e…
• Write pseudocode for a Python program that makes 100 dice rolls with a single 6-sided die and displays the number of times each side appeared. Turn in the two modules for the pseudocode for the follow…
• TASK; Create word ladders. The user will type in (or hard-code) a beginning and an ending word. Your program must find the series of words that differ by only a single letter that leads from the begin…
• PYTHON CODE: No “Imports,” just basic coding.    Single-stranded DNA is a molecule that is composed of a sequence of nucleotides, which we will represent using a str consisting of the characters in …
• I want python code to create some graphs based on the data from the GitHub where I can get the maximum number of cases for all and particular county from a random state, timeline graph for the cases r…
• For this project, you will implement a simple &quot;secure&quot; system in any object-oriented programming language supported on our Linux CSE machines following the Bell-LaPadula (BL.P) security rule…
• from lxml import etree data = ”’&lt;?xml version=”1.0″?&gt; &lt;data&gt;    &lt;country name=”Liechtenstein”&gt;        &lt;rank updated=”yes”&gt;2&lt;/rank&gt;        &lt;year&gt;2008&lt;/…
• I need help importing a module into python. I am confused, . I am working on a project . Is the Mylib.py module a file saved in the Python application by default or do I create it. If i create the fi…
• Having trouble writing the following code: Write a python code that asks the user for the scores of students in a class . Output the second highest score. Sample: Enter number of students : 5 Enter sc…
• Use Python. Document9 – Word Kelvin Kabwe X File Home Insert Design Layout References Mailings Review View Help EndNote X9 Tell me what you want to do Share &amp; Cut Calibri (Body) – 11 – A A |Aa- A …
• Question 2: 10 points The proportion 𝜙𝑖(𝑘)ϕi(k) that a point 𝑖i belongs to a cluster 𝑘k is defined by the function for weighted k-means:   𝜙𝑖(𝑘)=exp{−1𝛽||𝑥𝑖−𝜇…
• def reverse_decorator(function:callable): This question is meant to test your knowledge of creating a decorator to decorate a function that accepts no arguments and alters the decorated function’s out…
• 20) Add the Python statements would create a GUI with a single Label widget containing yourname, e.g., for me     from tkinter import * def main():    main_window = Tk()    #answer goes here – *…
• Python problem Write a Python program to solve the problem described above. Define a function certificate( Workshop_List) which takes a single parameter, Workshop_List, and returns True or False. W…
• Instructions:   https://1drv.ms/w/s!AjNiWHeXyO3NvGvBwMIQhqpvyKYZ?e=WsZKdD     LOG Files    https://drive.google.com/file/d/1uY0KtssrhzELaOUVkAZQjxRvyTJ_u7sj/view?usp=sharing   https://drive.g…
• I am confused. Isn’t this answer m = ((c ** d) % n)? Enc – To encrypt integer m with public key (N, e), the cipher integer c= m mod N Dec – To decrypt cipher integer c with private key d, the plain in…
• Hey anyone please help me out with this tasks (both 1 and 2 parts). Your efforts will be really appreciated. Thanks, Below is the question in text form: Game of Death: Death knocks on your door one co…
• create a dataframe named ebola_missingcol with column_name, count_miss and per_miss where column_name values are the columns from ebola dataframe, count_miss holds the number of missing values for the…
• Given user defined numbers k and n, if n cards are drawn from a deck, find the probability that k cards are black. Find the probability that at least k cards are black. When 11 and 7 are entered:   T…
• DNA is made up of four bases: a, t, g, and c. A DNA sequence is often represented as a string made up of solely these four characters occurring many times in different orders. Your code will have acce…
• Consider the modulus function. What is the output of the following arithmetic? &gt;&gt;&gt; 16%3
• How would you iterate through each item in this list of tuples using python? tuple =[({‘horn-count’: 0, ‘eye-count’: 2, ‘arm-count’: ‘any’, ‘color’: ‘any’, ‘has-wings’: True, ‘has-tail’: ‘any’, ‘size’…
• write a loop that iterates over a list of strings 1st and prints the first three characters of every word.  if 1st is the list [‘january’, ‘February,’ ‘March’] then the following should be printed: j…
• Please read carefully before rushing to answer this question mentioned below program is solved with loops. I NEED IT SOLVED WITH FUNCTION call and NO LOOPS (use input() function (no hard coded values)…
• Rules of the game: • This game will be played using a 2D-list (board) that must always have the same number of rows and columns (SIZE). The board will be displayed to the user in the following fo…
• Part 1: Delivery of Python Console with complete functionality for menu options 1, 2 and 6 Part 2: Delivery of Python Console with complete functionality for menu options 1, 2, 3, 4, 5, and 6 started …
• The textbook describes a set of functions to increase and decrease the amount of red, green, and blue in a picture. First, study how these functions work, and use them as models to write and test the …
• 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…
• Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
• hw5_util and text file are here: https://files.fm/u/sze9yubse?k=720ca2ee. Part1 Write a python program, hw5_part1 .133? that does the following: 1. Asks the user for a grid number and loops until one …
• https://drive.google.com/drive/folders/1W5FnJCR8GmnhTKn6krQH10V8SRZu6lfj?usp=sharing all the referrences and material are shared above in google drive link.. even if you can answer one question it wil…
• I don’t know how to do problem 2, specifically how to create the defs for • get_mileage(self) – returns the number of miles • add_mileage(self, miles) – adds miles to the current mileage • reset…
• QUESTION 6 Constituency Parsing: Given the following CFG in Chomsky Normal Form, show how the CKY Recognition algorithm will process the string &quot;Prefer the flight from NWA&quot;. CFG Rules: S – N…
• Question 11.  Help me find a function stats_for_year that takes a year and returns a table of statistics. The table it returns should have four columns: geo, population_total, children_per_wom…
• How you can convert a number to a string?…………….
• Write a function print_pattern(size) that prints the following square pattern using the parameter value dimensions of the square. For example: Test Result print_pattern(3) 013 013 013 print_pattern(5)…
• Given the following data: Name, MTA, TMA, CA, Final, LGrade, Samir,25,18,0,60,x, Abir,18,13,0,50,x, Fouad,10,2,0,55,x, Najwa,15,14,0,53,x, Dany,10,5,0,40,x, Suzan,27,17,0,80,x, Jamil,16,15,0,33,x, Abd…
• pls help me A continuous reactor is used to produce ethanol by fermentation (the yeast consumes glucose and produces ethanol). Your possible flow rates (set by your pumping equipment) are: Flow Rates,…
• Description   PURPOSE Use python to solve a business problem and to work effectively with other programmers to develop useable programs. Specifically, this program will demonstrate reading files, com…
• #!/usr/bin/python3 # Program: LNX255 Assignment 2  # Student: TODO: enter your name here   #    Date: TODO: enter current month and year here from gpiozero import PWMLED, Button from signal import…
• OO Assignment – Part 1 Write a class named  Retail Item  that holds data about an item in a retail store. The class should store the following data in attributes: item description, units in inventor…
• Why the holdout method for model selection suggests to separate the data into three parts: a training set, a validation set, and a test set? What is learning curve? Base on learning curve, how do you …
• Example Outcome if grid index is 1, maximum step height is 3 and if the grid is printed: The following is the source text. My answer to Part 1 if you need as reference. Example outcome for my part …
• . If you solve Problems #6 and #7 correctly, you should get the same magnitudes for the branch values, since the circuits are the same. This is the same schematic as Problem #6. Assume all given val…
• Question 2. Using both latest_poverty and population , create a four-column table called recent_poverty_total with one row for each country in latest_poverty . The four columns should have the followi…
• Please do not use any built in or imported function which determines the order of numbers.. A sequence of numbers is in ascending order if each element is greater than the previous element. For exampl…
• Build a model for predicting the dep_delay as a function of other variables. 1. Split the data into training and test sets 2. Feature engineer the training data 3. Specify a linear regression model 4….
• Using the following pyhton code complete the given table upto 8 entries. Given Code: #User inputs length = float(input(‘Enter length -&gt;&gt; ‘)) breadth = float(input(‘Enter breadth -&gt;&gt; ‘)) he…
• Can u aid with these. Please use while loops and also separate the function and the main file. As well use the .format python standard. 8. Implement the following function in the PyDev module function…
• Problem 1 Create 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 instan…
• have to write the following in the correct order Match the following parts of function calling with the order in which they would be executed by python. Context is switched back to the point of callin…
• *5.39 (Financial application: ﬁnd the sales amount) You have just started a sales job in a department store. Your pay consists of a base salary plus a commission. The base salary is $5,000. The foll… • py: import os from collections.abc import Iterable class Grader: def __init__(self, course_name: str, course_code: str, dept_code: str, infile: str, outfile: str = N… • Please write a Python class named ToUpperCase which has two methods set_String and print_String. The ToUpperCase class should have an attribute input_string that defaults to “George Mason University”…. • programming / python/ PyCharm “””Thing class””” 21. [3 marks] Write the missing class, Thing (thing.py). See the code in things.py and the output it produces when run, shown below. Your job is to figu… • Calculate and display the integer remainder when the first number is divided by the second number • Create an application in python to collect all the following marks out of 100 and then calculate your final marks based on provided weight [Each of the evaluations are one entry out of 100] The inp… • last picture is the amazon report.txt. file. You will have to write the outputs to another ﬁle called clean AmazonCIeanRepor-Lm, listing the OrderID, UNSPSC Code and Purchase Price. Example: OrderID… • Get the number associated to your last name and assign it to &quot;ans11&quot; variable. If your last name doesn’t appear in &quot;last.txt&quot; &quot;ans11&quot; should be 0. • An acronym is an abbreviation of a sequence of words that is formed by taking the first letter of each of the words. You are to implement the function acronym that computes the acronym assocatie… • Project Three: Event Scoring You are working for a company that is responsible for determining the winner of a prestigious international event, Men’s Synchronized Swimming. Scoring is done by seven … • Every year Northwest gathers data on the number of freshman enrolled at the University. In this project, you will need to program that will generate random enrollment numbers for the freshman classes … • Explain what link functions are, and why they are needed. Give three examples of link functions. What are the most popular link functions? • . CMPS 150 Spring 2022 Programming Assignment #6 Date Assigned: Tuesday, March 29, 2011 Due Date: Sunday, April 3, 2012 — 11:59 PM, Objectives: File input, repetition statements, selection, formatt… • please i’m begging you to help me with the answer. Multi-criteria sorting A triplet is a tuple of size 3. Given a list of triplets (x, y, z) of arbitrary integers, design an algorithm that sorts the l… • Question 2 (60%) Write a program as a simple calculator for integers. In this program, the user can choose from addition, subtraction, multiplication and division by giving an integer, only 1, 2, 3, a… • Question 4 (6 points): A new food delivery service opened in Saskatoon called QuickEats. Because of similar services already available in Saskatoon, QuickEats decided to use a different service charge… • 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 worked a… • Use Jupyter Notebook Load the cancer data: https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_breast_cancer.html#sklearn.datasets.load_breast_cancer 1) Via a random forest classif… • Attach solution to word doc with result program this in python code. • txt {{Use mdy dates|date=October 2011}} {{Infobox university | name = The University of North Carolina at Charlotte | native_name = | l… • . get_sentiment: This function takes a filename as its sole argument. The file contains a j son string representing a list of the text of a number of tweets. Open the file in read mode and use the j… • You must implement the function get_anagrams(letter_pool), which takes in a string of uppercase letters letter_pool, representing the letters you have to rearrange. get_anagrams should return a se… • When creating the following web page: • place your name in the title bar • the background colour of the document should be blue and the text colour white • the sentence “HTML documents can be cr… • Do a number guessing game And then fill out this Project Title: Description of the project Delete this text and replace it with a description of your project. If your project is a game, explain how th… • . Page 4 of 16 DailyPriceList Class 4 DailyPriceList +prices: Dictionary _init_(self, prices) +getPrices (self): dictionary +getPrice (self, T): float +getOpeningPrice (self): float +getClosingPrice… • Do the task in google docs. https://docs.google.com/document/d/1FZFBrhWaus50LQw3DQKttu3jNiWC3RC9E-DFO2vgun8/edit?fbclid=IwAR1hxaUVNgmj7X1kMIRQdjSoOPjhIT2j_3pjMNTMRuKqiyqC0JZThC8Q7z8 Here is the g… • Question 1 Allow the user to type in a sentence to allow the program to perform analytics Find out how many times each letter of the alphabet was used in the userâs sentence to display output similar… • a program that takes a sequence of numbers and determines whether all the numbers are different from each other. 1. a program to do the sum of middle three digits of a 5-digit posit… • # Write your code here # Test your code here if __name__ == ‘__main__’: print(unite_lists([2,4,6,8],[3,6,9,12])) Scenario Given two lists, create a function that returns a list of a… • Assignment should be done on individual basis. Q1 Fit a predictive linear regression model to estimate weight of the fish from its length, height and width? (the data source fish.csv can be foun… • E zyBooks catalog Help/FAQ CHALLENGE ACTIVITY 8.3.1: Find abbreviation. Complete the if-else statement to print ‘LOL means laughing out loud’ if user_tweet contains ‘LOL. Sample output from given prog… • Hi, I am working on a ToyLibrary system program. My code isn’t working, can you please assist: class toyLibrary: def _init(self,list,name): self.toy = list self.name = name self.lendDict = {} def disp… • Chapter 9: Working with numbers Write python program to create the following sales report from a text data file. Use the following data for your text data file “data.txt”. 1 1540 2010 2450 1845 2 1130… • I need to make a function for sentence split. I receive one sentence and an uncertain number of delimiters from the keyboard. Then I separate all strings in that sentence. Here is the code I wrote ?… • The order of evaluation for scopes, from first to last, is: local, enclosing, global, builtins l… • 1 DNA Sequence Define a function named STRcount that when passed in a DNA sequence and an STR, will return the count the number of times the STR is repeated back-to-back within the DNA sequence. Yo… • Arrays must be used. DO NOT use any Python pre-defined functions such as min, max, sum, etc. We like to process some voting data. a) Ask the user for the number of candidates in a local election. Use … • I just need help with my homework Game Summarizer In this short PA. you will be writing a program that reads in a game log file. You i roiram will process the information. and then -rint out a summary… • A program that prints out the factorial of a number n. For example, if n is 10, then the factorial of n is the product: 1x2x3x4x5x6x7x8x9x10. • I am writing program for coprime can anyone tell me where I am getting wrong . def coprime_test_loop( ) : user = ‘Y’ #continue until user didn’t enter Y or y while (user == ‘Y’ or user = = ‘y’ ) : #… • The volume of a sphere is 4/3mir , where it has the value of &quot;pi&quot; given in Section 2.1 of your textbook. Write a function called print_volume (r ) that takes an argument for the radius the … • Can someone help me with this code please help me solve this. The image below has further instructions. In this problem, you should write one function named (get_common_movies. This function should ha… • How to make screan shot ofReview and React in Mobius Slip after uploaded Python program. I make picture with question. U6: Upload #7 p 341 (Review others in Mobius SLIP and screen shot of Review to Mo… • How to write Python code (function) that can draw a single star using Python’s turtle module to draw star shapes. How to make a loop that repeats it over and over, drawing lots of different random num… • Can someone help me to add a Round Time Trip to this python code. # UDPPingClient.py #Declare the modules import socket from socket import AF_INET, SOCK_DGRAM import time # Address… • can I get help in coding this function in python? class Plan: _init_(self, features, phones): create/initialize instance variables for features and the list of phones (optional) in the plan. When phon… • Which of the following is usually true? a.recursive functions require more computer resources and more execution time, whereas non-recursive require more lines of code b.recursive functions require fe… • After the program docstring, declare a constant variable named MAXVAL with a value of 30, Create a for loop that will loop through all values from 1 to 30, using MAXVAL to help define the end value of… • I’m learning data visualization in python.My Qa is I want to transform iris data into 3 dimensions and plot a 3d chart with transformed dimensions and colour each data point with specific class by co… • Write a function that takes two arguments : – D , a dictionary of (student_name, final_grade) – L , a list of student names . The function returns the average grade of students whose name is in L . If… • from random import randint def guess_game(num_guess, rand_guess): while rand_guess != num_guess: if num_guess &lt; rand_guess: prin… • Create a Python dictionary that returns a list of values for each key . The key can be whatever type you want. Design the dictionary so that it could be useful for something meaningful to you… • In Python, need help starting a program to reflect the question. # Instructions: # For this programming problem you will write a function # The function takes as REQUIRED arguments a file path and a s… • So I feel like i’m at the end of this program but I need help fixing an error or two. I will post both files needed. Main file: # Module 5 Lab 2 asks you to work with two Python files # Lab inspired b… • I have created most of the code for the function section, but am in need of the tweet section. I have copied my code below and will attach the document describing the problem. For some reason, in my c… • I need to produce a horizontal bar chart using the columns “AveragePrice” and “Flavors” (columns from table5). I type in table5.barh(‘AveragePrice’) but it tells me that the Flavor cannot be plotted b… • Do Exercise 2 at the end of HTT Chapter 6, generalized as follows. Read the number N of nested squares to draw, then do so, starting with the innermost square of side 20. Each nested square should b… • Assume A is true, B is true, C is false and D is false. What Boolean value do the following expressions evaluate to?( This is for C++ progaming) a. A || B || C || D b. A &amp;&amp; B &amp;&amp; C &… • A Personal Fitness Tracker is a wearable device that tracks your physical activity, calories burned, heart rate, sleeping patterns, and so on. One common physical activity that most of these devices t… • Problem Statement BCCI has hired an external analytics consulting firm for data analytics. The major objective of this tie up is to extract actionable insights from the historical match data and make … • Overview As you are preparing for your final text game project submission, the use of dictionaries, decision branching, and loops will be an important part of your solution. This milestone will help g… • Need to make a program that allows you to manage a task list that’s stored in a database. Thank you for the help below is the sql file named : task_list_db.sql — ***************************… • How many minimum numbers from fibonacci series are required such that sum of numbers should be equal to a given Number N? Note : repetition of number is allowed. Example: N = 4 Fibonacci numbers : 1 1… • This python problem is telling me: hioperers is not defined. What am I doing wrote where this program will not work properly? def calc_piturnala(): fairching=int(input(“Please enter the fairching:… • Please read highlighted part carefully. and the Sample Interaction on the output needs to be exactly as above. Thank you in advance.. Write a program that asks the user to enter a number. The program … • The content of this assignment is available at http://roneaglin.online/EGN3214/assignments/ with links to associated support materials. The same information is included below – you should direct any… • here is the people.txt on the bottom Jazmine Holcomb 3212 Adams Avenue Washington MD e..o@lucidmode.com Sofie Hagan 4241 Jerry Dove Drive Erie PA z..t@jfaccupuncture.com Cairo Tyson 3768 Clifford… • I am receiving white space errors, but everything else is correct for the following question: Program with total change amount as an integer input that outputs the change using the fewest coins, one c… • Overview TargetCRM is CRM software company that sends emails to users every week. The system has a mailing list of users that are active and able to receive emails as well as users that have been unsu… • https://drive.google.com/file/d/1lHduA6uC9XQ1nX3j4sxXt0msjNyn3784/view?usp=sharing. Load necessary libraries, modules, and magics . Place all import and magics needed in the next cell. In [ ]: # Impor… • I dont know what to do 3.22 LAB: Swapping variables Write a program whose input is two integers and whose output is the two integers swapped. Ex: If the input is: 00 W the output is: 8 3 Your program … • I am having trouble writing a code for my class. When it ask for position. I don’t know what it means. def antRabbit(): file=pickAFile() ant=makePicture(file) antPixels=getPixels(ant) filePath… • For a given string s, return the first reoccuring character in the string. Try to get an approach that is 𝑂(𝑛) O(n), where n is the number of characters in the string. If there is no such char… • Hint: Use LLN/ CLT to solve Suppose buses arrive according to a Poisson process with an expected arrival time of 3.5 minutes. Estimate and simulate the probability that the average of 25 bus arrival t… • Task 2 – Enhancing the “convert” Module Create a new file in the Python Editor and copy-paste the following code into it: (This code is the same as the code in the “Creating a Module” section of Lectu… • Write a pseudocode for the logic of a program that accepts five numbers from a user and displays one of the following messages:- The largest number is xx. The smallest number is xx. • From the extracted target object in the image below: Has been converted to different colours using the python cv2.cvtColor() package with RGB concept as below: Convert the above image to other custo… • Write the code for a Python function called getRecord that accepts the name of the file to read and a date in the form: mm/dd/yyyy. This function reads through the file and displays the record for the… • When given a command in python to input in the sypider console “import os;os.getcwd()” then the output when you print the sum(M.Y) gives nan. My question is how i do i come up with a Python expressio… • In python. Problem 2: Create a function affineEncrypt (text, a, b) that returns the cipher text encrypted using key ( a , b ). You must verify that the god(a, 26) = 1 before making the encryption. If … • what’s the best approach for solving this case study? • python-please help asap Function specifications. is_diagonal: This Boolean function takes a nonempty numerical list of lists (hereafter referred to as a matrix) as its sole argument and returns True i… • The file scores.txt contains the results for a series of rounds in a football competition. Lines in the file are either the start of a new round or the result of a match. A small example file might lo… • Can you help with these b jjjjjj Suppose we use Python lists to implement stacks and choose the right end of a Python list as the top of a stack. What is the time complexity of the push operation? o e… • 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 (sales tax, round method… • You have to submit two Assignment problems using data files: systemAdministrators, You must conduct some EDA analysis and run a Logistic regression model. use python via jupyter notebook 1. I… • Please help me to check my code for this error: TypeError: unsupported operand type(s) for -: ‘NoneType’ and ‘float’ The code is provided below # —— Place code below here \/ \/ \/ —— de… • Python programming: there are a number of basic statistical concepts we must understand in order to uncover patterns in data, from measures of centrality to measures of similarity. We are going to div… • The order of evaluation for scopes, from first to last, is: local, enclosing, global, builtins l… • Calculate the (STOIIP) with following Probability Density Functions (PDF’s) of variables. You are free to use any of the following programming languages, Matlab, Python, C++, Fortran, all things that … • What is the codes for the following Instructions – – The code editor should contain your find_min function. We are free to define more than one function in our code. In the code editor, write a second… • In PYTHON – simulates a vending machine The vending machine holds six items numbered 1 through 6. The cost of each item is as follows: Item# Cost 1 … • Hello everyone, I am struggling to create a Newey-West corrected OLS estimator with autocovariance term. Could someone kindly show me how to do this in Python?. Programming 2. Newey-West estimator:… • (CO 1) What, if anything, is wrong with this code? student_score = int(input(“Enter this student’s score: “)) score = student_score + 5 print(“With the 5-point curve, the st… • https://drive.google.com/file/d/1DplFJYuwncUZO4awN0hovpb_FWGxnqV-/view?usp=sharing • i need help with this practice coding problem please.. Description A contact book is a place where you can store a specific contact with other associated information such as a phone number, email addr… • Read the Marketing_subscription_prediction_latest_edited data.csv file and load it into a dataframe and do the following task Display all unique classes in “y” column csv file— … • I have somewhat of a clue as to how to tackle this question, but am stuck. Could you please explain how to tackle this question? Thank you! I will be providing additional information such as the insta… • Read the allowances.txt and generate the salary details of all the 50 employees and generate the text file for all employee with name is E10001_Janurary.txt. Generate the files for all the months and … • Week Please, the code should be in a text file in the format and have to be 2 codes ( code.py and Mylib.py) with (##### comments……). Please, test your code before sending it. You should return … • What are lists ? What is difference between List and a tuple ? Are both same ? • Make a fully functioning program that correctly uses a list , reads and writes to an external file Megan owns a small neighborhood coffee shop, and she has fifteen employees who work as b… • Only use strings and lists function, and iterative function. Given a reference string followed by four [4] more strings, create a program that determines whether those 4 strings are anagrams of the re… • ) Information hiding is an important concept of object-oriented programming. How does modular code facilitate information hiding? • Partitioning the stiffness matrix Now that you know how to construct the matrix , we can rewrite the linear system of equations as: Using the same example from the previous page we obtain the partiti… • py Load default template… 1 CustomerIDList = [2569, 1580, 2241, 7830, 5411, 2298, 8324, 3309, 5678, 2099, 7166] 2 NamesList = [&quot;charles Babbage&quot;, &quot;Ada Lovelace&quot;, &quot;Kathe… • Complete the following Python code using list comprehension so that words2 is a list of all the words from the list words that have even number of characters (in the particular example, word… • Writing a function to display information contained in a pandas Data Frame passed in as a parameter. I am unclear as to what this means and what to do • Please help. I am trying to build a game with while-loops but I’m getting this error. Thank you. Ven Took Terming quasar py test py 68 #Everything else is a total loss 69 return -bet Collapse ) E4: Bu… • Please help me in implementing Huffman encoding and decoding. Below is functionality how it works, Then instruction, my code and tester is attached. Instructions: my code: import heapq def getName… • Can you please help me to solve this question by using Python? Thank you! • 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. … • Good assistance appreciated. Please provide correct answers 1 . True or False? I/O-Bound programs spend a lot of time doing computations. False True 2 . Which type of concurrency is best for CPU-bound… • Start with the following Python code. alphabet = “abcdefghijklmnopqrstuvwxyz” test_dups = [“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”] test_miss = [“zzz”,”subderm… • Q2: Consider the Cars data set downloaded from https://archive.ics.uci.edu/ml/datasets/Auto+MPG A more through detailed description of the dataset can be found at: http://archive.ics.uci.edu/ml/machin… • From your Linux terminal, type – touch hello_world.py&lt;enter&gt; – pico hello_world.py&lt;enter&gt; • Enter the following lines – #! /usr/bin/python3 • * Note (This is… • The supplied code adds successors to the frontier in the order they are defined in the associated definition of the Romania map in searchProblem.py. By experimenting with different orderings of the su… • Question 1 Write lines of code to display a QInputDialog dialog that accepts comma separated integers (example 100, 19, 4, 67, 4) from the user. The code should convert the input into a QList&lt;int&g… • LAB: Exact change I can not figure out the correct solution for this problem please help. Needs to be written in python. Write a program with total change amount as an integer input, and output t… • Please provide me with the correct code with easy formatting. Safari File Edit View History Bookmarks Develop Window Help NE 18% Sun 3:52 PM Q E . . . &lt; &gt; learn.zybooks.com C Module Three Proble… • i need help coding this: U need 3 for loops, First gets all the values for each category into one big list, Second to to over the categories in the dictionary then a for loop to go over books inside… • In this assignment, you will explore the COVID-19 data from the Johns Hopkins Center for Systems Science and Engineering data repo on github: https://github.com/CSSEGISandData/COVID-19 . There are t… • how can i create function called straight(hand) that determines whether a given hand is a straight. a straight is a hand that contains ﬁve cards of sequential rank. The cards may be of diﬀerent su… • Please reference the attachments, all tasks/instructions/questions are on there. Intro -601 -40 -10 -5 5 10 -20 A cubic polynomial is a function of x of the form A x3 + B x2 + C x + D, where parameter… • 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 … • This question about probability Make the python program (code) and solve theis question ! 6. The oxygen equivalence number of a weld is a number that can be used to predict properties such as hardness… • Download the house Dataset from here: https://www.kaggle.com/thomasnibb/amsterdamhouse- price-prediction 2. This dataset is plain and simple, the output should be “Price”, and input should be “Area… • How would you create a program that computes fuel economy of a multi leg journey where the program first prompts for starting odometer reading then gets information about a series of legs. For each le… • . 2/7/22, 8:59 AM Lab 1–Variables, Strings and Numbers Lab 1–Variables, Strings and Numbers Start Assignment Due Monday by 23:59 Points 100 Submitting a file upload Problem: Create a Python progra… • Could you please guide me with these. Question 3 (3 points) Select the matching Big-O notation for each of these array-based Priority Queue methods: split alt split_key 1. O(1) 2. O(log n) peek 3. O(n… • In conventional mathematics, we often use infix notation. For this question, we will be using postfix notation. In postfix notation, operators are placed at the back of the operands rather tha… • Assume the following class implements the STACK abstract data type (ADT) using the array ADT. class aStack(iArray): def __init__(self, capacity = 5): self._items = iArra… • The aforementioned file is below stance hip angle knee angle ankle angle 0 37.14871979 6.875712395 -20.74449348 1 37.40672188 9.019633293 -23.24953575 2 37.45936508 10.39196491 -26.04833221 3 37.36065… • Using Python make a GUI program that calculates the hypotenuse of a right triangle after the user enters the lengths of the two short sides and clicks the Calculate button. (Sorry I can not display a … • To create graph/plot CSC221_webscrape_data.csv file to determine the best plot/graph to use to appropriately create a visual representation of the data. Add your plot/graph code to the notebook (.ipyn… • 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): “””This function in… • Find the best-fit distribution using Maximum Likelihood Estimation (MLE). I need help with the following questions please in python. 1) Plot a normalised histogram of the data. 2)These data come from … • . Rewrite the following function, replacing the for loop with a while loop: def build_string (n, k) : result = &quot;1 for i in range (1, n + 1, k) : if i % 2 ! = 0: result += ‘# ! ; result += ‘ ret… • Example Suppose each person newly infected by a virus is able to infect R additional people. R is called the reproduction number of the virus. (Think of this as a one-time event; the person does not i… • I am creating an asteroids game for my object-oriented programming class, and I keep getting this error when my textures get loaded in: New texture end: True [‘:resources:images/space_shooter/playerS… • python programing 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-yea… • DATA == https://lablita.github.io/CONcreTEXT/ . Need a bigram character model from the data. • Git Hooks (Write a script in any scripting language in post-commit file such that it automatically triggers push after committing the file ) For reference- 1.https://m.youtube.com/watch?v=3BP5Wx73tHo&… • please assist Part 1: ( Use Python – SQL – Postgres ) Use Seaborn to create a product category side-by-side BoxPlot Chart. The boxplots will show the total sales (sum) for every delivery zip code o… • need help someone explain to me how this works..preferably over the phone or VOIP • Python Programming: Take a txt file from user and print the count of every word in the file. 1) Remove all the blank lines 2) Only count the words with alphabets 3) Remove all the special characters • DONT USE DEF FUNCTIONS IN THE PROGRAMMING. HELP ME WITH THIS CODE WITHOUT DEF FUNCTIONS. Chapter 3 PROGRAM DEVELOPMENT PROBLEMS D1. page 123. This program should let the user convert Ounces to Gram… • Results of the Match Python should inquire about the identities of the match’s two players, as well as how many goats they touched. It should state who won if the number of goat touches is not the sam… • File Handling 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 s… • py Create a program, quadratic.py, that takes in three arguments that represent the a, b, and c values in the quadratic formula. The values should be in two decimal places. You do not need t… • I am receiving an error here at user_choice = input(“Enter a number for the operation”) I believe i am receiving an error due to the .txt file. I do not understand how to use it within the code. def… • . Problem 2: Make a histogram Write a function ones_and tens_digit_histogram that takes as input a list of numbers and produces as output a list of 10 numbers. Each element of the result indicates t… • Please fill in the writeup below, replacing XXX with your answers # Bugs and issues XXX # Please give one similarity and one difference between lists and tuples. XXX # Wh… • Please show work! Consider this variation (we’ve added a few print’s): X 6 Z= 5 ‘b if x &lt; 5: X = x + 10 elif x &gt; y: print ( ‘ one’ ) if (x &gt; 0) and (xty &gt; z) : print( ‘ two’ ) if c == ‘a :… • Every code i wrote for the questions below returned with error – please help 1. [my_house.py] In a graphics window, you are to draw an outdoor scene containing a house. Your drawing should include… • challenge ! You are presented with the following filesystem structure: library2 – – non-fiction — biography food lost+found. bin politics — domestic — post-1945. rtf pre-1945. txt — internat… • . Exercise 1 (assignments_test: 1 point). Complete the function get_assignments. The function takes grades (a nested list structured similarly to grades above) as a parameter. It should return a … • This is a computer programming problem in python. I put the question in bold. You just finished administering the final exam for all of the students in the “Introduction to Computer Programming” class… • Please help me with the attached python assignment. • Repeat Question #2, but allow the user to specify the file name on the command-line. If the user doesn’t specify any file name, then prompt the user for the name. Note: IDLE does not have a way to r… • Instructions: You are going to enhance the prior assignment by implementing exceptions ***** You need to tell me where you implemented the exception and why. ***** Show me 2 test cases that will… • Solve above problem by using Python. Provide explanation. Provide exact line by line Jupyter Notebook code with explanation.. 5.6 Determine the positive real root of In (x*) = 0.7 (a) graphi- cally, (… • Consider the following CSV file – 4 rows shown: quote|source|dob-dod|category There is no remedy but to love more.|Henry David Thoreau|1817-1862|romantic Work is the curse of the drinking classes.|Osc… • Write matlab code given information below. How can Apply? A single cell + Withj- Uij + – 2 =0 2 Ar ( 612 ) 2 In this case, i=0, 1,2,3,…12, \quad j=0,1,2, 3,…8 i=0,1,2,3,412,j=0,1,2,3,…8 , the po… • https://analyticsindiamag.com/singular-value-decomposition-svd-application-recommender-system/#:~:text=In%20the%20context%20of%20the,given%20to%20items%20by%20users 1.2 Using Singular Value Decomposit… • M269 “Algorithms, Data Structures and Computability i need with explain answer the fallowing question: a) Design a brute-force algorithm to solve this problem using a (Pseudocode) and f… • [10 marks] (The stock price problem) have seen that the stack-based algorithm is much more efficient than the brute-force algorithm. In this question are asked to implement a Python function that w… • Using Python, Prompt the user for each of the following: The number of people on the trip. The number of days of the trip. For each day of the trip: Cost of food. Cost of gas. The food and gas costs s… • I am trying to write a recursive function that counts down from an inputted number to 1 but I am not getting the right results. Can you see what I am doing wrong? I get the following output: =====… • Starting from sea-level pressure at z = 0, use the hypsometric equation to find and plot P vs. z in the troposphere, using the appropriate standard-atmosphere temperature. Perform the calculation in s… • def substring(s: str, sub: str)-&gt; int: start = 0 end = 0 while start &lt; len(s): if s[start+end] != sub[end]: ?… • Retrieve all data in 2010. Calculate the min, max, and mean of 2010 data. excel sheet and the sheet name is IBM • How do I print the full address on one single line? print(“Address1:”, “Name1, Street_Number1, Street_Name1, City1, State1, Zip_Code1”) • Power Modelling: You will now be looking at the appliances and other factors that affect the power usage in “your” house. Record the type, power rating and usage of devices Prompts: Give an inventory … • Please give me some advice on how to approach the following question: Given a set, weights , and an integer desired_weight , remove the element of the set that is closest to desired_weight (the closes… • Write Boolean expressions A currently have a different value than B B less than the sum of the current values of A and C C is no more than 15. 75 is between the values of integers A and B Number N is … • Please help. I need help formulating a code for this task. I need to have a dictionary entry for each unique packet observed. Unique Packets combination of SRC-IP, DST-IP, Protocol. I need to keep tra… • How to solve this task that appears in the pdf? TASK # 2 Note of all the Units of the Course: Fundamentals of Programming in Python, Modular Programming, Use of Objects I. Objective. The objective of … • Which of the following functions will return the symmetric difference between two sets, x and y? a) x | y b) x ^ y c) x &amp; y d) x – y 2. What will be the output of the following Python code snip… • I need help with sorting numbers in a file and adding them to a list • Good code is organized into functions. This assignment allows you to demonstrate organizing your code into functions (including a main() function). Write a program (with comments) that take an order o… • How do I get the given output using a loop?. 4. Write a Python program to generate the following output exactly as shown using a loop. a bb CCC dddd eeeee • Read the dataset into a dataframe. Be sure to import the header. (2) 2. Drop Wine from the dataframe. (1) 3. Extract Quality and store it in a separate variable. (1) 4. Drop Quality from dataframe…. • . STUDENT PERFORMANCE MANAGEMENT Description: A program to manage students’ grades using the content complex data type. The implementation of the program follows the following rules: Immediately a… • help me to find answer please . Develop a program for an electronics store that only sells laptop computers. The program would read information about the laptops from a &quot;laptops.txt&quot; tex… • stuck on this Craft 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 s… • Demonstrate your understanding of Polymorphism in Python by overloading a class method and using it differently than it is used in the base class. Multiple the each grade to the corresponding credit… • which of the following functions would return true if either of its two parameters is positive and false otherwise . Which of the following functions would return True if either of its two parameter… • Question 4: Oftentimes, a game will have to decide how it will load players into a game. For instance, developers will have to decide whether to load in players 1 by 1, or load a portion of each pl… • How to implement learn and classify function in decision class tree? import csv import numpy as np # http://www.numpy.org import ast from datetime import datetime from math import log, floor, ceil cla… • please help me solve this python problem with while loop! I am stack with confusing about which formula should I use. Many user-created passwords are simple and easy to guess. program that takes a sim… • You are required to write a Python program that allows a user to play a game called Steal or Deal? . Steal or Deal? We will be writing a program that implements a variation of the Prisoner’s Dilemm… • Question 4: Question 5: If you could help with both that would be great! But if not just chose one I am a little lost!. VQpy-8aNrl1jSk6SU/view Otherwise, it should return the boolean False to the func… • this is the format of the solution . Exercice 4: La classe Vecteur (heritage) . Definissez-y une nouvelle classe Vecteur, derivant de la classe Point qu’on a vu en classe. Elle … • 6 LAB: Name format Many documents use a specific format for a person’s name. Help with writing a Python program whose input is: firstName middleName lastName and whose output is: lastName, firstIni… • Hi, I created a dictionary of the list of countries by ranking country size, population, and GDP, respectively. countries = {‘Russia’: [1,9,11], ‘Canada’: [2,38,10], ‘United States’: [3,3,1], ‘China’:… • Hi, can you please completethis task with two different files volume.py and main.py everything that you need to completethis task is here, I have code that I have done/started below if you would like … • Can you please show me the code for this instructions in pythob? A. Import the given script i.e., header.py. This prints the game header and user instructions to the console b. The program shall take … • Python and Flowchart examples. The program will try to simulate a number guessing game between the computer and the user: . The computer is the one &quot;thinking&quot; about the number. This number w… • Topic – Downloading Data Each answer must have a short explanation in the comments (using #) Question 1. Pick two places and download temperature data and time for both create a dictionary using th… • You have learned quite a lot about the basics of Python programming. In this project, you will integrate what you have learned to develop a larger program. This program creates a class registration s… • help me please i have my deadline, Need answer only • Project: Graphical User Interface library evaluation and recommendation Prepare a report that evaluates three to five open source Graphical User Interface (GUI) libraries. Based on your research provi… • You are a small business owner, and it’s time to make sure you have enough money to pay your employees. Use an input prompt to ask the user to enter the name, hours worked, and hourly wage for two emp… • Write a fruitful function with at least one string parameter that returns an integer. This could be something like counting the number of commas in the string or returning half the length of the strin… • I need help writing this function called mostCommonWords(filename, N) ”’ Reads the file from filename in your function and returns a list of N most common words in the text file (i.e., N word… • Write code that outputs variable numKeys as follows. End with a newline. Ex: If the input is: 3 the output is: ‘ Our tests will run your program with input 3, then run again with input 6. … • Problems must have a copy of your code in addition to the program output. Please put your code on a separate page. Problem. Find the x and y coordinates of the center of mass for the object below us… • Sample Output The average for 3 heads in a row is: 17.7 The average for 3 heads in a row is: 3.3 • import random #Rock, Paper, Scissors = 1,2,3 names = ‘Rock’, ‘Paper’, ‘Scissors’ def beats(a,b): if(a,b) in ((Rock, Paper), (Paper, Scissors), (Scissors, Rock)): return False return True … • Need help with this hacker rank code. Needs to pass all of the test cases. And also hacker rank wants the same output. Thank you.. 8 Python Function Circle Diameter Problem Submissions Leaderboard Dis… • I am stuck in this question. Find the numbers that can be expressed as the product of two nonnegative integers in succession and print them in increasing order. (For example, 30 is such a number as … • i could really use some help on this practice problem please and thank you!. to give you familiarity with generating random numbers in Python . to learn to use the randint function in the random modul… • The month of February normally has 28 days. But if it is a leap year , February has 29 days. Make a program that asks the user to enter a year. The program should then display the number of days in … • WHAT ARE THE ERRORS IN MY CODE? WHY IT IS GIVING ERROR ON THE IMAGE CODE? import tkinter as tk from tkinter import ttk, messagebox import sqlite3 root = tk.Tk() root.title(“Learning Management System”… • I have to amend this program as stated in the instructions. . Please contact your tutor if you have visual difficulties. a. i. The program listed below is based around the Grey_bands background. The… • This assignment focuses on writing functions that manipulate 2D lists and files. We will do a movie review app. Assignment Specifications Using notepad, create a movies.txt file that contains the foll… • YouTube will Submitted Files for Project 4 ( x | project5 (2).pdf X Project 5 (Atomic Nature of N X Homework Help – Q&amp;A from x ) Mail – Teniola B Ogundeko – ( X + X @ File | C:/Users/bashir/Downlo… • I need help in writing a small python program that tests whether it is possible to pass tuples as arguments to a function. • Question: Challenge below. Where I am beneath it. Calculate tuition for students of a community college. In-state students pay$60 per credit hour, and will pay for only 12 credit hours even if they …
• am i on the right track? where do i go about part IV?  . IDLE File Edit Format Run Options Window Help max 90% Sun Apr 10 6:20 PM QE Yeah! V2 Reborn vahtz &lt;&gt; cs x G init Searcl C Impor | &amp; …
• How to keep inputting when there are negative numbers in my list and stop inputting when there is no negative number in the list? x = input(‘x’).split() x = list(map(int, x)) #Output x: 3 2 -2   x: -…
• Exercise 2 and 3 (2) (a) Consider the dataframe that you created in Problem 1 (b). Sort the dataframe by the first column in the ascending order. (b) Consider your sorted dataframe from part (a). Gene…
• Assign decoded_tweet with user_tweet, replacing any occurrence of ‘TTYL’ with ‘talk to you later’. Sample output from given program: Gotta go. I will talk to you later. 376628 2015284.qx3zqy7 1 user_t…
• 6, 7, 8 (You must first compute the total number of mites and then the mean number of mites/leaf.  Also, remember that groups must be defined in such a way that the expected number of mites/leaf in e…
• Topic: Computer Science | Python Programming Revise your program for the molecular weight of a chemical compound of hydrogen, carbon, and oxygen, so that it can take as user input a chemical formula o…
• Have to use poly.txt Here it is: # A     B       C       D       Lo      Hi       Formula 3       -1.8    -7.6    -20.8   -4.28   11.88    3 x^3 – 1.8 x^2 – 7.6 x – 20.8 2 …
• Information Security: Design the ” Hash-based Message Authentication Code” in python using SHA1 using the steps below. Steps: 1. Ask user to enter a message string and print 2. Ask user to enter the k…
• Draw the recursion tree for calculating C(6, 4) (b) Write a function PA_r using recursive function to generate Pascal’s triangle in the lower left half of the array. (c) As (b), write a nonrecursi…
• Hi my question has to do with using the csv module in python. I have a csv files which I’ve posted below which has many missing values labeled as NaN. What I need to do is replace these with values in…
• 26 LAB: Elements in a range I need help on a program that first gets a list of integers from input. That list is followed by two more integers representing lower and upper bounds of a range. My pro…
• link to data: https://docs.google.com/spreadsheets/d/1_1ERCOQ7wAB413WBfw2VOEPVzvBgcIOW10gmDP2clnQ/edit?usp=sharing Assistance to analyze season statistics for each Major League Baseball team. need to …
• 1:007 N NICEGRAM now Ask Anything Ethiopia #other… 4. Write a thread class that contains an instance variable named self._data. 4 points When a thread runs it will print the value of it’s instance v…
• How do you cumsum in r to find the trend in number change?
• Complete the code below to that determines and prints the minimum value in the list below.  DO NOT use the MIN function.   nums = [10,5,17,34,76,85]   The minimum value is 5.
• can I get help with solving the following: # Function 5 def dict_from_triple(tuples):   “””Given a list of 3-tuples, return a dictionary whose keys are the first     elements of the tuples, and …
• Use Google API to get reviews for different companies. (It used to be in the range of 10,000 reviews that it would let you to download but even if you get anything above 1000 per company, it is accept…
• Can someone help me with this problem? I have been struggling trying to make a time sample every 6 hours. Also, I’m lost with how to add labels for what’s a user, the time, and others in the output. I…
• Analyze the information given in the following ‘Insurance Policy dataset’ to             create clusters of persons falling in the same type. Refer to Insurance Dataset.csv Perform clustering a…
• I’m working with a Seaborn Heat Map and need assistance inputting text values into the four cells.   For instance, I want to replace all values (only four) ‘1’ with the word ‘ALL PREY’ and the single…
• Hi, I The purpose of this assignment is to create Sierpinski gasket fractal using python 3. I have completed the graphics library and have that all if you would like. I have also contructed a program …
• In this activity we talk about the concepts and definition of computational complexity 1.-Write the definitions of O-big and O-small and explain them concisely using your own words 2.-From the followi…
• How many teams? 4 Hire 1 big buses and 2 small buses. Cost = $390.0 How many teams? 10 Hire 3 big buses and 1 small buses. Cost =$695.0
• Can you please help me understand why the output is wrong? C Codio Project File Edit Find View Tools Education Help Node version Project Index (static) Configure. BFEDELL fixed-length-… 5. 3. Challe…
• I need help in better understanding how start a python code for sentiment analysis with six tuples. I select two reviews from a csv file, then perform a sentiment analysis with six tuples?   My assig…
• python progrraming ertE a program in Python to be used in a dart game which calculates whether a thrown dart hits the dart board. iii. dart will be shown with x and yr coordinates represented as a tup…
• Understanding Sequential Statements Summary In this lab, you complete the Python program that calculates the amount of tax withheld from an employee’s weekly salary, the tax deduction to which the emp…
• The credit plan at TidBit Computer Store specifies a 10% down payment and an annual interest rate of 12%. Monthly payments are 5% of the listed purchase price, minus the down payment. You need a progr…
• Hi, I am having trouble with calling a class definition and using it to display a bank account balance. I know that you have to use a class, but using the method __init__ is what I am confused with. S…
• In pseudo code (or python) create a loop that will ask the use to enter and then add five zip codes to a one-dimensional array called zip code and then read and display that zip code array to the scre…
• 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…
• Consider the following code. Re-write the code using inheritance and polymorphism.    class Arizona () :     def capital (self) :         print( “Phoenix” )              def bird (self)…
• i am lost in this class can someone help with this program please Write program named  program51.py  that defines a value-returning function named  circle  that takes the radius of a circle…
• For all the questions in this part, you may assume the following import: import numpy as np These question ask you to demonstrate specific NumPy knowledge. You may only use NumPy arrays, operations, a…
• Give a python program to multiply two given numbers.
• Hello, I have some queries that I would in help in. Currently, I am doing a ticketing cart project that requires the need of shelve and dictionary function. However, I am lost and stuck. Using Python …
• assert_equals(number_game(2,12), [3, 5, 7, 9, 11]) test.assert_equals(number_game(0,0), []) test.assert_equals(number_game(2,12), [3, 5, 7, 9, 11]) test.assert_equals(number_game(200,180), [180, …
• Question 4 [20 marks] Write a program named pluralOfNoun.py that takes a noun from the user and forms its plural on the basis of these rules: a.    If a noun ends in ‘y’, check that the character …
• Assignment 7b: pandasPurpose This is the second of two assignments on the pandas data framing library in Python. This one focuses on: pandas data frames and textual processing. Task 2: Amazon ReviewsS…
• [70 points] Implement the ID3 decision tree induction algorithm . The algorithm is shown on slides 27-28 of Module 6 PowerPoint slides on Blackboard. Use Python or IPython for your implementation. …
• solve using python? it must match 100% with the execution provided below.
• Problem: An Internet Service Provider (ISP) must, as part of its service to customers, provide a Domain Name Server (DNS). A DNS is a server that maintains a database of domain names, such as www . g…
• Hello, I need help completing a script in Python that does the following: Using the pypcapfile library (already available in the VLE),  along with the sample PCAP Files provided, develop a Python Scr…
• An odometer is the gauge on your car that measures distance traveled. In the United States, an odometer measures in miles; elsewhere else, it measures kilometers. Many vehicles with electronic odomete…
• Q10 Comprehensions 6 Points Q10.1 List Comprehension 4 Points Write a list comprehension that uses a list of integers Ist and creates a list of lists where each inner list has n random numbers between…
• Looking at the scatter plot you just made in Question 1.2, do you notice any pattern(s) (i.e. is one of the two types of scores consistently higher than the other one)? If so, describe them briefly in…
• Do a flowchart of the algorithm for the following problems: A company is giving out bonus to the employees relative to the number of years worked. For example, if the person is employed for 1 year or …
• How to format each dictionary item as a text string in the input file. How to covert each input string into a dictionary item. How to format each item of your inverted dictionary as a text string in t…
• How to use exception Handling for this section in python? The assignment want to use Exception Handling to catch file processing errors such as IOError, FileNotFoundError, etc.   Tried using while st…
• any help plz Grouping &amp; Loc (building on Intro to Panda for Data Analytics parts 4 and 5)   Find the total Sales and Profit for all Sub-Categories in the Office Supplies Category Final the total …
• Write Python program where a non-intrinsic function solves for the sum and product of the roots of the mathematical function 𝑔(𝑥) = 𝑎𝑥 3 + 𝑏𝑥 2 + 𝑐𝑥 + 𝑑 where 𝑎, 𝑏, ?…
• I’m having serious trouble figuring out how to start coding for these problems. I’d be more specific, but honestly, I’m horrible with this coding language and I have a hard time remembering things abo…
• Can you answer these questions. Create a function that will take in any number of strings, and print out the following for each string: How many words it has [5%] How many characters it has (including…
• Files, Functions and Functionality in Python Assignment: Create a program named [yourparklandusername]_grades.py Your program will have one main function named highScore(): . Your program will print y…
• SAS programming Write SAS code to create an output dataset datalib. just_a from the input dataset datalib. all which includes records where the variable last name starts with the letter A. Hint: creat…
• I need help trying to figure out the code for this Python programming question assignment. Given that k and j each refer to a non-negative int and that play_list has been defined to be a list with at …
• 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. Calculate the …
• Perform the following: Setup your Python development environment Research to find a set of python API that you can use to retrieve financial data. (Hint: Google, Yahoo, etc.) Implement a Python prog…
• . Coursework 2 — Data Visualisation with Altair (20%) Dataset o VAST challenge 2018 Mini Challenge 2: http://wwwvacommunity.org/VAST+Challenge+2018+MC2 0 Available as a coursework attachment. 0 Do…
• Getting Index error from what looks to be File line 4. .Type your code here. &quot;! 1 if _name_ _ == ‘_main_’: data = input(&quot;Enter month and day: \n&quot;) . split() inputMonth, inputDay = data[…
• 2)   Asks the user for the employee name. 3)   Ask the user the number of hours an employee worked in a week. 4)   Compute and display the employee’s weekly salary, taxes, and net income as f…
• Python Question 1. (10 pts.) Write a function startUp(fname) that takes as input a filename that contains the account owner (user) information and current account balance. N . Initialize the dictionar…
• A python program that takes an array, sort the array and return the sorted array without using inbuilt sort function.
• Python Basic Coding No Imports Write a function primeFac that computes the prime factorization of a number: -it accepts a single argument, an integer greater than 1 -it returns a list containing the p…
• Hello, I am making a simple Python program that allows the user to choose from a list of math functions and input two numbers. If a user enters zero as the second number, the program is supposed to wa…
• Hi what is the generally outline for a CRUD application? For example, C is created below, could you give the outline of R, U, D? more information is attached. Ignore specifics as I am just looking for…
• Convert the data provided into CSV file, your analysis of the data should be done using Python. Kindly include your Python coding, CSV files and the answers including graph saved in a word file. An ar…
• How do I cr3ate a Python testing script that imports your CRUD Python module to call and test the cr3ate and read instances of CRUD functionality? I have to use the username and password for the “aacu…
• python ques Driving is expensive. Write a program with a car’s miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 miles, and 400 miles. Ex: If the inp…
• Need this in Python thanks.  . 1. Vou’re throwing a wild, socially distanced party for yourself and 9 of your closest friends. Since this party is wild, you expect each person (including yourself) to…
• Create a Python program to determine whether a password meets ALL (and ONLY ) the requirements below for a secure password. Your program should prompt the user for the candidate password. To be valid …
• Python please:   Complete the calc_factorial() function that accepts an integer parameter n and returns the sum of all integers from 1 to n . For example, if n = 5 then the sum of all integers from 1…
• In this program you will create a BlackJack Card Game in Python. Below are the requirements:   Requirements: 1)      create a simple text-based BlackJack game(no need to have graphical data). Yo…
• Assume that you have a file called grades.txt, where each line of the file contains a one-word student username and three test scores separated by spaces, like below:. GWashington 83 77 54 JAdams 86 6…
• In the Python program, the project is below . Online-store : users should be able to order items for sale or combo items (items, when bought together, trigger a discount). The order should include a n…
• Create and initialize a dictionary am that maps the English words, “one” through “ﬁve” to eh numbers 1 through 5. 2. Write a loop that prints all values of the dictionary that you define…
• Urgent can yuuuu solve this m.ñnnnn;n highmr10@g Thank you for &quot;moodle aih.nsw.edu.au/mod/quiz/attempt.php?attempt=50170&amp;cmid=50281&amp;page=2 f . Facebook – Log In o… New folder. Import t…
• I need help with this assignment, i don’t even understand where to start
• Good Morning, I can get the first two parts to work. However, I need assistance with using the append/write command to add two more cat names to the catnames.txt file. I’ve tried some examples from th…
• Question: Use the dataset driver-data.csv and employ k means clustering method to incentivize the drivers based on the cluster. Relevant data related to question is provided below: Domain – Automotive…
• Looks fairly simply just wanna make sure. Question 2 (10 points) What will the following code print? (hint: this is all the code) def compare ( ) : print(5, &quot;is greater than&quot;, 6) 5 is greate…
• Write a program that allows the user to enter the name of an actor and then determines the Kevin Bacon number for that actor. The program should print out the Kevin Bacon number for the actor and both…
• Write a program that reads in 10 test scores.  The test scores should be integers and should be stored in an array. You should print out the test scores in ascending order (hint:  use a Bubble Sort)…
• Please use Python programming language for this.. Task 3 – CDSA Substances Problem Description Controlled Drugs and Substances Act (CDSA) such as cocaine fentanyl, morphine, methamphetamine, and ephed…
• A simple substitution code codes ‘a’ as 1, ‘b’ as 2, …, ‘z’ as 26. build a function called “encode” that takes in a string, and prints the coded text. The output should be a string, with letters sep…
• . Exercise 1 – Which full moon? There are (at least) three special types of full moons: Super Moon: the full moon occurs when the moon is at its closest approach to earth (less than 230,000 km away)…
• Subject Use Python IDLE, select file menu then new file command to edit and debug your program. Write a complete Python program that 1) Read a four digit decimal integer from the keyboard with proper …
• Pet Class: Design a class named Pet, which should have the following fields: name: The name field holds the name of a pet. type: The type field holds the type of animal that a pet is. Example values a…
• Can you converte this python code to c language? import threading import time import random customerStatus = for i in range(0, 20) : customerStatus . append(0) # customerStatus=0: customer’s banking o…
• You are going to enhance the prior assignment by doing the following1) Use list to create a menu2) Create a function the will return the results of the four operations in a dictionary allInOne(n1,n2)S…
• For these next two questions (PART A and PART B), you need to refer to class Account and class SavingsAccount provided below: “”” One object of class Account represents one bank account “”” class Acco…
• – update_food (stock, food, quantity) (4%) The store needs to be able to update one item at a time in stock. Enter the function update_food (stock, food, quantity): if the ‘number’ has a negative …
• Take the master boot record from this week’s module and use it as a file input for your program. It will be named block.dd and you can assume that it’s in your current directory so you don’t have to p…
• 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…
• I’m working on the Highway Robbery project for CIS 115 and I keep getting a name variable undefined error. I’ve looked through everything here and I’m stuck. My code is exactly(aside from some variabl…
• Write a Python program that asks the user what the traffic light is, and affects its response to a variable named color_fire. Depending on the color of the light, the program should do the following: …
• Iris Category Exercise Using the iris dataset (file) create a summary data plot for the following: 1. Sepal length and width by species 2. Petal length and width by species  Submit a Jupyter output (…
• %%capture ########################################################### ### EXECUTE THIS CELL BEFORE YOU TO TEST YOUR SOLUTIONS ### ########################################################### import imp…
• Write a function ones_and_tens_digit_histogram(numbers) that: Takes as input a list of numbers Produces as output a list of 10 numbers. Specifically: In the returned list, the value at index i is the …
• Write a python Program    Create a database named health.db. The cities.db database will have two tables named Hospital and Doctor, with the following columns: HospitalID (INTEGER PRIMARY KEY) Hospi…
• note the inputs in the function is selection(phones, [cheap, large_screen]) should produce the output [[‘Reno Z’, ‘Oppo’, 6.4, 4035, 397]] since thats the only phone in phones that satisfies the condi…
• CSV file needed for the following questions : https://docs.google.com/spreadsheets/d/1r2DsSvIGRHtKk0NPdlnXuoaqSJherOprdXDMjY96Snw/edit?usp=sharing Homework 5 In this homework, you will analyze a data …
• def _register_device(self, device_id, room_type, device_type) : pass # Connect method to subscribe to various topics. def _on_connect (self, client, userdata, flags, result_code) : pass # method to pr…
• 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…
• Search the internet and find a photo of an antelope in jpg. To put on my desktop.
• Question 1: How would I put this in a flowchart? (not hand written, use any software tool) Assumptions Only four seat section choices only one day only one person orchestraRate = 50 floorRate = 40 low…
• Task 6 – Where’s Waldo (25 Points)   Read the paper “Mining Your Ps and Qs: Detection of Widespread Weak Keys in Network Devices”, which can be found at:  https://factorable.net/weakkeys12.extended….
• use Python programming language Create a program (or set of programs) which accomplish the following for each complex data type (list,tuple,set,frozenset, dictionary): 0 create the item with at least …
• please write python code for this question  i need code which i can copy paste in my IDE   this is question   below is the answer of above question ……. ……. …… …… ……..d. I – The …
• Python code 1. Write a function closure, TimeSeriesParser(filename), that processes a given time series csv data file with the header ‘date’ , ‘ticker’, ‘open’ , ‘high’, ‘low’, ‘close’, ‘adj close’ Th…
• Please write the code for these steps in python 3. This is only for practice and learning. Thanks! (10 points) Problem 1 Download the &quot;amazonReviews.json&quot; file from Can- vas. Each data point…
• I want to define a function in python which takes data from a csv file. The file has two column, the first one is name, the second one is how many new borns have that name in a year. I want to know ho…
• I have to design the following data structure; Write the class RandomQueue with the following API: class RandomQueue&lt;Item&gt; implements Iterable&lt;Item&gt; RandomQueue() // make an empty random q…
• Please help. I am trying to implement the function but I’m getting error messages. Tools Education Terminal tunes.py * tests.py Collapse El: Reading &amp; Writing a Text File Functions for simple read…
• 1) The question screenshot has been attached down below:    . START NO 15 0&quot; IN YES THE WORD? .NO_ 15 &quot;X&quot; IN YES THE WORD IS THE WORD? &quot;FORSAKE&quot; THE WORD IS .NO_ 15 OF&quot;…
• Playing with Magic Words PYTHON CODE Here a word ‘S’ of length ‘n’ is said to be a magic word if it satisfies the following conditions: All letters of S are lowercase letters of the English alphabet S…
• In this question, you will design and implement a Python class named Dictionary  from scratch . This class will implement a Python dictionary-like programming interface. You are not allowed to use t…
• 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…
• Skip a line/print a blank line, then print:    These are the last five lines in the file: [5 lines of file] [Skip a line] The file has n1 lines. x of them have “Customer” as usertype , y have “Subsc…
• Task 4 6 Create the function evenSumList which accepts any two 1D numeric lists of the same length and returns a new list which contains the sum of the corresponding indices in each list only if that …
• class Student: def __init__(self, firstname, lastname, idnum): self.first = firstname self.last = lastname self.id = idnum self.courses = [] def add_course(self, course): ”’ don’t allow overloads or …
• Kindly provide samples of the following precondition is violated. postcondition is violated problem with return value Please provide solutions as well.
• In Python: A program to implement the tic-tac-toe (Links to an external site.) game. The user is prompted with three options. A player need to be able to change the characters used for the game in Set…
• I am stuck (“Enter problem sting like this, N1,N2,Operator”)) here #11 def calculate():   try:     lowRange = float(input(“Enter your lower range:”))     highRange = float(input(“Enter your …
• A run is a sequence of adjacent repeated values. Write a body of function Run() that generates a sequence of 20 random die tosses in a list and that prints the die values, marking the runs by includin…
• Let’s say you want to go see the San Diego Lunar New Year Festival in Downtown SD this Feb 12-13. However, you’re new to the Downtown area and want to make sure you are within the correct area. Luckil…
• You are given the following class: class Aquarium : def __init__ (self, size) : “”” Creates a new, empty Aquarium of the given size (in gallons) “”” self.size = size self.fish = {} def add_fish (self,…
• Part 1 Write Python code  that creates a CSV containing 10 columns of text data​ Each entry in a row should be different. Each entry should be between 3 and 25 characters​. The characters should …
• i Need this written in python. mainly how the server will receive and process the users input in a multithreading environment
• You have 25 cans of soda and 3 chips. You have 25 cans of soda and 0 chips. 6 pt Question 13 Analyze the problem presented below. Write the Decomposition for this problem. Also include a listing of in…
• please write in python Part A: Word Frequencies  Method/Function:  List&lt;Token&gt; tokenize(TextFilePath) Write a method/function that reads in a text file and returns a list of the tokens in tha…
• This is not a big project, you just need to fill up few codes. Thanks This is a .ipynb file, please fill out the  AMC(S0,K,r,sigma, N_sim, T, dt, N_basis=6)  function based on the instruction (codin…
• I need to know help  building this ridge regression algorithm with batch gradient decent and 5-fold cross validation?   Algorithm 1(vectorized):Step 1.Choose learning rate 𝛼and fix tuning paramet…
• Hi there, may i know why the right y-axis is not in ascending order ? Is there any way to solve this problem ? Please Help and Thanks datafig = plt. figure () # Creating axis axis1 = datafig. add_subp…
• This project is a modification of the Average Steps Taken assignment in the textbook on page 342. Read the “Average Steps Taken” assignment on page 342 of the textbook and download the  steps.txt  …
• Write a Python function called irtysh that takes an integer n as a parameter. The integer n is either equal to 1 or is a positive integer of 5 digits. You don’t need to check it. Your function will on…
• 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 the class…
• What is the value of the first triangular number to have over a hundred divisors?
• Please use kNN (k-Nearest Neighbors) algorithm to solve a classification problem.  Load the data from the file (iris.data) into the Data Frame. Set the names of columns according to the column defini…
• I need help with my Programming class I kind of understand it but don’t know how to write the code. Detailed requirements:  When the program starts the bowler is prompted for a score for ‘Game 1’. …
• Give me code plz 4. (16 pts) LoseAmp is a program that plays music files on your computer. Consider a class called Playlist. Each object is meant to represent a playlist: a list filenames of music fil…
• Create a function called allButMax that expects no arguments. Instead, this functiongets its input from the user at the keyboard. The function asks the user to enter a series ofnumbers greater than or…
• The first time Mary run her program, and she got the following output: Can you explain why and give a way to fix that problem?. Student Name: Mary main . Test object at 0x7f86a7f12f50&gt; main . Test …
• Data Ink Maximization Steps For each of the visualization tasks below, which you have already created in previous labs, modify your code so that it increases the data ink ratio by accomplishing the fo…
• Project: Graphical User Interface library evaluation and recommendation Research and prepare a report that evaluates three to ﬁve open source Graphical User Interface (GUI) libraries. Based on your…
• . 7.10 LAB: Remove all non-alpha characters Write a program that removes all non-alpha characters from the given input. Ex: If the input is: -Hello, 1 worlds! the output is: Helloworld
• I have this project to do. I have the code. However, I do need three function calls inside sierpinski function, but I have only one here. I need help to figure out the other two functions calls. For e…
• Populate an array(list) of size n = 50 randomly with only integers 0 and 1 Repeat step1 nn = 1000 times using either a while loop or a for loop see below At this point you should have a total of 50000…
• )   Design a pseudocode for a loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50, 60, . . . . . . . 1000 2.)   Design the pseudocode for a logic that outputs every odd numb…
• How do I change this program to encrypt and decrypt files instead of user entered strings? I need it to be able to open, read, and write any file that the user chooses. Here is what I have(it only wor…
• Design and implement a working kmeans algorithm in python. The algorithm should return The coordinates of each centroid, a count of the number of points assigned to each centroid, and the losses for e…
• I need help fixing my code please. The function read tsv file is not working correctly. This function should return a list of lists, with each list having three items, instead when it runs it gives me…
• Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– L…
• crate function grids_augmented_with_number(grid,num) that returns a list of valid n × n grids, where each grid contains n nums. (I.e. if given a 9 ∗ 9 grid, and num = 3, each grid returned must con…
• Instructor note: There are many ways to go about this. A game plan that makes sense to me is to read the whole string into a variable, then pull just the first character of that string into its own va…
• You should read the data from “yellow_tripdata_small_2016-01.csv”. the file link is provided at the end. You should remove any data that is outside the NYC bounding box NYC bounding box: westlimit=-74…
• Hi I’m having a difficult time trying to learn to code and with Covid 19 and current situation it’s making it more hectic, I need help with trying to learn basics I’m more on the networking end so idk…
• Assume that XYZ cinema awards loyalty points to its customers. According to the table below, the points are calculated based on their total spending during the year (rounded figure).  total spending …
• . Home x Discussion x zy Section 3.16 – CYB 130T: Object-( x zy Section 3.10 – CYB 130T: Object-( X + V X – -&gt; C a learn.zybooks.com/zybook/CYB_130T_55317551/chapter/3/section/10 =zyBooks My libr…
• I need help making relative links into absolute links using python. I also need help making sure there are no dupes.
• Rewrite insertion and bubble sort function so that both ascending and descending sort are supported, and the default option is ascending sort. Python code.   def bubbleSort(lst): needNextPass = True …
• Hi I am working a Python Tkinter code and these are the steps I need to follow. So in my code I have how much flower are in the inventory and when the user put in the number it goes to a list box. The…
• Please explain the answer in the picture question – thank you Question 10 5 pts What type of error occurs when the code 8 = apple is executed? O No errors O SyntaxError O ImportError O NameError
• Q#6 Write a program that collects information about the user’s top three favorite movies. The program should collect the titles of the movies as well as the year they were released. The program should…
• need Coding in python and Jupiter notebook with steps so I can understand the codes and do the homework and analysis also and learn it.  Problem 2: Logistic Regression and Linear Discriminant Analysi…
• Fill in the following blank so that the spatial extent of the environment settings is set to the combined extent of  inputs arcpy.env.extent = “[a]”  ________________? 2) Fill in the following bl…
• write Python recursive function to determine the nth term of: a1=-1, an = 2n – an-1
• Write a Python program that accepts a user-specified integer (n) and computes the value of n*n+2*n+1. For example, if n is 5, the expected output should be 36.
• generate an array with 100 elements, 1,2,3…100, convert the array to a pandas dataframe and sum the elements
• Write an expression that will cause “Dollar or less” to print if the value of num_cents is less than or equal to 100.
• Python problem enters YYYYMMDD format and then displays the date in the format DD/MM/YYYY by using integer division and modulus, and NOT strings
• What is the output of the following code? def myfunc(text,num): while num&gt;0: print(text) num=num -1 myfunc (“Hello’,4) Options: A. Invalid call B. HelloHelloHelloHello C. HelloHelloHelloHelloHello …
• PYTHON, HELP PLEASE I do not know what code would let me compare a matrix to a list… I imported the file and I could display the matrix. But I do not know what to do next. import txt file (It is the…
• Can a tutor explain to me why the correct answer is correct? Having trouble understanding why. See pic: Question 27 0 / 1 pts The following pseudocode represents a program that needs to collect 5 diff…
• Build a module book_functions to include create_ book_dictionary , find_book , change_price, delete_book.   Function create_book_dictionary accepts a list of books and returns a dictionary of books w…
• Need help with these python program!! All the specs are going to be provided below. It would be of great help if comments are used!!. 7 class Room The class Room represents a room in some underground …
• The objective of this assignment is to learn about regular expression concepts, syntax, and application.   Imagine you are helping clean data for use by an analyst, and they wanted to screen out ICD-…
• Here is a possible list of actions taken by the interpreter for the input program: X =1+ 3 V 4 X 5 . On reading &quot;x = 1 + 3&quot;: – insert elements 1 and 3 into the DATA list. – Add 1 + 3 to get …
• (25) (Written) Consider the following data points on X-Y plane and implement the complete linkage hierarchical clustering over the following data points. data points = {(1, 1), (2, 1), (4, 1), (2,6…
• Write a commented python program to determine the batting average of a play. The output should look like this: Enter the player’s number of hits: 100 Enter the player’s times at bat: 500 For a player …
• We will pass in 2 values, X and Y. You should calculate X**Y and output only the final result. You will probably know that X**Y can be calculated as X times itself Y times. # Get X and Y from the c…
• The Memory game has appeared in many different contexts, either as a computer game or as a card game that uses a partial or full deck of playing cards. The player tries to find two matching tiles by s…
• What is the code of def year_dates?. year_dates This problem involves dict nesting. Given a list of date strings, each string of the form ‘4-1-2021’. Use split() to divide each date into its parts. Cr…
• def maxprofit(mylist): profit = 0  bestbuyPriceindex= 0 bestsalePriceindex = 0 answerlist = [] x= 0  y =0 while x &lt; len(mylist): while y &lt;len(mylist): if (mylist[y] – mylist[x])&gt; profit: be…
• please help in this python question   Consider the loan prediction problem, for which the preprocessing (data reading/cleaning) is performed below. (1.a) Using sklearn library functions, perform k-me…
• How can I code the walrus function and what kind of unit test should I do?   The digits 0 to 9 are coded like this: 0 —– taah-taah-taah-taah-taah 1.—-ti-taah-taah-taah-taah 2 ..— ti-ti-taah-ta…
• Why does this not work l =  [‘9♠’, ‘5♠’, ‘K♢’, ‘A♣’, ‘K♣’, ‘K♡’, ‘2♠’, ‘Q♠’, ‘K♠’, ‘Q♢’, ‘J♠’, ‘A♡’, ‘4♣’, ‘5♣’, ‘7♡’, ‘A♠’, ’10♣’, ‘Q♡’, ‘8♡’, ‘9♢’, ’10♢’, …
• -please make your own caesar cipher and decipher, don’t copy other-   **Write a function encipher(s, n) that takes as inputs an arbitrary string s and a non-negative integer n between 0 and 25, and t…
• This is our third lab that will be looking at test cases. In previous testing labs, we checked values, value types, approximate values, attributes we knew about values. Here we want to expand on that …
• code a function named nodes() that can traverse a undirected weighted graph with 5 nodes. This function should be able to find out the shortest time to move from node to node based on the weights.
• Write a non-fruitful function called list_delete_first(aList) that takes a list of strings as an argument and deletes the first element if the length of the first element is at least 3. The function d…
• A Python code that captures activity on your current computer network and displays the output in non-human readable form (exactly as the output comes from the network traffic monitor). Save the Python…
• Please define this function in python Restrictions:  You must use recursion to solve each problem. Remember, this means that as your code progresses through the problem the same function keeps call…
• { “cells”: [  {   “cell_type”: “markdown”,   “metadata”: {},   “source”: [    “## Part A. Multiple Choice (50%)\n”,    “\n”,    “( C ) 1. Which one is the Python comment symbol? \n”,    ” …
• . Implement the following Course ADT: Data: . course: String – the unique indicator for the course, for example, C1920 is Computer Science course 1920. num_of_seats: Integer – the total number o… • Write a statement that assigns total_coins with the sum of nickel_count and dime_count. Sample output for 100 nickels and 200 dimes is: 300 total_coins = 0 nickel_count = int(input()) dime_count… • . Using single layer Perceptron neural network to classify &quot;Iris&quot; data set and use (i) batch gradient descent and (ii) Stochastic gradient descent to adjust the weights and classify &quot;… • I need help writing this program. Question 4 Group A Write a program that will generate a list of 15 random numbers between 1 and 10. Write a program that will display how many numbers in the list are… • I want to ask question1b, it ask me to standardise all numerical features, is it mean I need to use loop? I don’t know what code should I write. Thanks. amt4max=Train[“BILL_AMT4”].max() amt4min=Train[… • How would you use Python math functions do the following: Generate x, sin(x) for x values ranging from -2PI -&gt; 2PI with an increment of PI/64. Generate x, log10(x) for x values ranging from 0 -&gt;… • Consider this data: users = [{ “id”: 0, “name”: “Hero” },{ “id”: 1, “name”: “Dunn” },{ “id”: 2, “name”: “Sue” },{ “id”: 3, “name”: “Chi” }, { “id”: 4, “name”: “Thor” },{ “id”: 5, “name”: “Clive” },{ “… • question 3 3. Create a new subclass of war_dice_game called Boom. o The player and the computer each have exactly 10 dice with different numbers of sides: I 1 die with 1 side (always rolls a l) I 1 di… • For Project 4, students will create their own notebook, although students are free to copy any code from their prior assignments as appropriate. Each notebook must document in either comments or in … • using the substitution method Part 2 Compute the value of the integral: 1″” dx — = n- o (1 + soy? using the substituion method. {Vou might be able to ﬁnd a package that will integrate this wit… • . 6.10 LAB: Track laps to miles Instructor note: You’ll notice that we have some &quot;magic&quot; code in this lab.. the &quot;if _name_ == ‘_main_&quot; statement. We’ll cover what that is all abo… • . Personal Loan Acceptance. The file UniversalBank.csv contains data on 5000 customers of Universal Bank. The data include customer demographic information (age, income, etc.), the customer’s relation… • 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 particu… • # Read and make city corodinate list. cityList=[] #ISS_cities=open(“devices.txt”,”r”) ISS_cities=open(“ISS_city_lat_lon_data_list.txt”,”r”) for item in ISS_cities: item=item.strip() cityList…. • Below is the question and here is what I need to figure out This is what I assume I have to do, I have to split month / day / year into 3 strings I believe? And organize an equation which will put t… • python question I tried all solutions that can be found online and none of them is working.. Write a function max_city_temp (csv_filename, city) which analyses temperatures recorded in a CSV file, a… • The function must work like this: 1. If either there are no error rows or no error columns, then there are no errors in the 8×8 payload portion of the frame, so simply return the repair status ‘NO ER… • python question Write a function colex_bitlists (n) that accepts as input a non-negative integer n and that returns as output a list of all bitlists of n elements in co-lexicographic order. For exampl… • Background Soccer is what Americans call football. A program that plays a soccer game between two teams. A game plays for 90 minutes; your program checks each minute to see whether a goal is scored by… • Task – 1 Create a KeyIndex class with the following properties : Fields: int [ ] k; Description An array of integers. Note: You may maintain another global variable(java)/instanc… • Hello I need to create a python program to create random graphs, for this we can use: import networkx as nx import numpy as np import matplotlib.pyplot as plt The problem is the following: The result … • Create a program that counts and displays the number of words (you are to use the computer’s idea of a word which is anything with space around it), and the number of sentences in the following paragr… • How do I code the movements between rooms and the collection of items • 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 top gainers and top losers are li… • In the AVL implementation form the textbook, each node stores the height of its subtree. An alternative solution is storing the balance factor of a node, which is defined as the height of its left sub… • Unit 6 Assignment: Working With User-Defined Functions Outcomes addressed in this assignment: Unit Outcome: Illustrate the creation of user-defined functions. Course Outcome: IT244-2 : Analy… • Can someone help me develop an interactive data table and add a geolocation chart that displays data from the interactive data table to my existing dashboard? from jupyter_plotly_dash import JupyterD… • Python exercise 1. Help me to define a roman(f) function to return the integer value of any single character Roman number f (values below.) Return 0 for any other character. Include a main functi… • Objectives • Code a script / program that produces the required output. • Use the provided Requirements Lists to help code the script. Your mission… a script to calculate a term grade p… • I’am experimenting with an old task I was given last year for python and cant work it out. Task: A program that prompts for the name of a file containing numbers, one per line, and prints the average … • Using the celsius_to_kelvin function as a guide, create a new function, changing the name to kelvin_to_celsius, and modifying the function accordingly. Sample output with input: 283.15 10.0 C is 283. … • Using Python, Find all frequent item sets using the Apriori algorithm. List all strong association rules (with supports and confidence matching the following metarule, where X is a variable represen… • Answer using python Build a C5.0 model using the training data set that predicts Approval using Debt to Income Ratio , FICO Score , and Request Amount . Specify a minimum of 1,000 cases per … • I am having some issues, it seems my code is incorrect and the output doesn’t match. Can someone help me with this? here is my code: I would like to also get rid of “import re” is possible. I think I … • ………. 1 Go analysis (13 marks) In this task, we will solve a simple problem related to the ancient board game Go. The gameplay itself, while fascinating, is not relevant to this task. In the game… • You will implement a simple 2 player racing game. Each player rolls a 6-sided die and moves forward in a lane based on the value of the die. In order to win the game, a player must move their game pie… • How are letters stored in memory? O as ones and zeros using ASCII encoding O directly O letters cannot be stored in memory O using public key encryption • Plot points (on top of a map of the US) for **each city**. Have the **color** represent the **population**. • If cclimit &gt;= 1000 then Set increase = 100 * .10 Else if purchaseprice &gt;= 100.00 then Set additional purchase = price * .10 Else if purcha… • Description In this programming assignment, you are required to implement a contiguous sequential pattern mining algorithm and apply it on text data to mine potential phrase candidates. Input The prov… • Lab Assignment (Part 1): The database for this project can be created on one of the major cloud platforms (AWS/Azure/Google Cloud) using a free student account. Otherwise, you may utilize any databa… • Split Numbers We need to make a python solution that performs the following: Creates a function called ‘isEven’ that accepts and integer and returns True if it is even and False if it is odd. Creates … • Write a script which gives the date and time (date function), the list of all connected users (users command without arguments) and saves the list of all the files in the current directory in the file… • I have a Python Code I need help with. I am not sure how to write the function because I am a novice coder. Here is the prompt: Write a function that removes all punctuation from the string, br… • Photo 1 photo 2 photo 3 -contains code cell I need help with ter problem0 (autosaved) Control P Edit View Insert Cell Kernel Widgets Help Not Trusted Python 3 Q B + V N C Code 3 rows x 307 columns Thi… • Video Lecture. Quantiles x Desktop/ X Econ220_Assign4_Tables_emr X Homework Help – Q&amp;A from Or x + -&gt; C @ localhost:8889/notebooks/Desktop/Econ220_Assign4_Tables_empty.ipynb m Y Update : Apps G… • Develop an algorithm to check if a given integer is a perfect square or not. Give the pseudo-code version. Convert your pseudo-code into a Java program. Question 2: Develop an algorithm to find the ma… • This program is about sets. Design a Python program to do the following: (a) Generate 5 random integers between 1 and 10, inclusive. Store the random integers in a set named set1. Display the set. … • Section 3 of 3: Use Dataframes and SQL Queries to analyze invoice data Repeat section 2, questions 1 through 5. However, this time you should register the Dataframe as a temp table and use SQL queries… • A mass-spring-damper system is given in the figure. • What if two of the numbers are equal, say 6,4,6? Will the code work? Why? Test it out. • 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 that … • Question 1. Programming (4 marks) Following image demonstrates the cellular localization of cancer biomarker proteins in different cancer cell lines (with different malignancy). Image classification c… • A 240 V de shunt motor takes 10A and 30A at no load and full load respectively. It is having armature resistance of 0.4 ahm and field resistance of 120 ohm. Considering iron, friction and windages los… • The code at the bottom shows you how to test the function you wrote 4. E 4) Write an Python-function varianc e(a, b) which computes the variance of the clustering result X based on an apriori given se… • Hi can you please help 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 cal… • I have a final project for my python class and due to Covid I haven’t been able to learn much. I am using pycharm and was wondering if you could write the code upload it and then I can edit it. That w… • Instructions: produce a test plan for the following function. You have to have at least 3 test cases – 1 normal case, 1 abnormal case. At least one case where your program does not fail. Please help m… • What are the key constructs required to create loops in Python? Identify two scenarios that may require two different types of loops and why different types of loops are required for each scenerior. • Update centroids We have provided testing code for you to verify your implementation. Uncomment this line: test_mea n_of_points() at the bottom of kmeans_tests.py and run python kmeans_tests.py in a t… • You have a drone that can fly for a distance of D before it runs out of battery. There are N charging stations that can fully charge up a drone. a program to determine whether there is a way to fly a … • Activity #1: Root Finding — To be done as a team As a team, you are to write a program that will find a root of a cubic polynomial. A cubic polynomial is of the form: f(x) = Ax3 +Bx2 + Cx+D Backgro… • I can’t figure out why I can’t print the the phone number or jersey number def member_list(members): print(members) def addAMember(name, members=[]): members.append(name) print(name+” has been added”)… • In Node.py file # Problem statement 2.a # Update this function to return value from local store if exists (assuming it’s the owner) # Otherwise it should find the owner using… • Write a program that reads a floating point dollar amount as a command line argument, and prints out the number of quarters (25c), dimes (10c), nickels (5c), and single cents. The output should consis… • package newton’s method for approximating square roots in a function named newton . this function expects the input number as an argument and returns the estimate of its square root . the script shoul… • Please help me fix the error def average_temps(max, min): return round((max+min)/2) filepath = ‘temp_data.txt’ min = 10000 max = -1 max_date = “” min_date = “” with open(filepath) as fp: line = filepa… • i was not able to solve this in python3 please help • Describe the four access regimes from public to private that may be applied to Java fields and methods. Why are they useful? (b) When you extend a class, the constructor for your new class will re… • Please help me develop a code to change current variable (currentLoc) to a possible destinations based on path taken. I have this code so far, but I make it go to the new location. areas = { … • Dictionaries provide a convenient way to store structured data. Here is an example dictionary: d=[{‘name’:’Todd’, ‘phone’:’555-1414′, ‘..d@mail.net’}, {‘name’:’Helga’, ‘phone’:’555-1618′, ‘..a@mail.ne… • Solution key has attached, please explain how to approach the problem and explain the answer. This is the practice exam with solution key provided, and I tried to understand this question instead of j… • Display a Dynamic Line Chart. Write the code in Python You will display a line chart of a dynamic dataset. It is advised that you start with assignment 3 and add the capability to update the display y… • Python Programming Can someone please solve these two questions in python. . You can write a program from scratch or use the Internet to search existing programs to do the following tasks: a. Writ… • Need help with this problem involving recursion! Python pls and use recursion!. (h) (10 points) Write a recursive function which takes an array as input, and prints the values of the inputs in pairs. … • Help with python program using python anaconda spyder. Please comm ent the code so i can better understand it. • Create a function check_intersection(exp1, exp2) that will return the number of times two expressions intersect. The variable exp1 and exp2 should be strings the expression that will be checked as to … • How to calculate Dice’s coefficient between matrix row and Query Q in python? Given a N x M document-term matrix (containing raw term counts), and a query Q, write a program (or programs) to comput… • Just solve b and c, it is long problem but only need to solve b and c.I have added Section 8.2 for reference. You can solve in wither python or in MATLAB, your choice.. Please first read carefully Sec… • Help writing a program that stores the following amino acids into an array: Trp Arg Liu Ilu Asp program should prompt user to give you a three letter amino acid abbreviation. Test to see if the a.a. t… • Mary wishes to improve her program to convert mark to grade automatically and display the grade but nor mark in the final screen output: Provide full code for class Student and Test to achi… • I have a project that I am struggling to complete. Please could anyone write python code for port scanning. The program would ask user to input a host IPV4 address, and then ping the host IP address t… • Is Django better than Flask? Please research and explain in a substantial manner. • Let’s assume, there are eight different pokemons: Vaporeon, Jolteon, Flareon, Espeon, Umbreon, Leafeon, Glaceon, and Sylveon. As input, you will be given length of a pokemon and some letters of that p… • How is the Implementation of Python’s dictionaries done? • . Write a python script called hoster-toaster.py that is used to update a machine’s local hostname resolution file. The details of how it works are below: 1. It requires one argument on the command … • I am learning python from youtube and i am beginner in python, i always tried to solve problems by taking description from internet , i found description in images intresting i have also started some … • A Python function called evalPostfix() which takes an expression tree as an argument. It converts the expression tree to a list using a postorder() function . If the element in the list is not an oper… • The formula for calculating gross pay is: 0 gross pay = hours worked * hourly rate The formula for calculating tax amount is: 0 tax amount = gross pay * (tax rate / 100) The formula for calculating t… • 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 so… • morseAlphabet = { “A”: “.-“, “B”: “-…”, “C”: “-.-.”, “D”: “-..”, “E”: “.”, “F”: “..-.”, “G”: “–.”, “H”: “……. • How would you set these functions up? cav_to_dataframe: This function takes a csv filename as an argument and returns a DataFrame. The csv looks like this (a screenshot of part of the file): B D E Cou… • 15 LAB: Password modifier Many user-created passwords are simple and easy to guess. Write program that takes a simple password and makes it stronger by replacing characters using the key below, and… • Hello, please I want this question to answer in 3hours, because I don’t have much time to give you, please answer this for me Data analytics functions and methods in Python Please… • For the final project we will simulate a library management software. For this you are given two files. Booklist.txt and librarylog.txt Booklist.txt includes a line for each book in the library… • Construct AVL Trees by inserting keys 1, 2, …, (2^k)-1 in that order for k=2, 3, and 4. Observe the structure of the resulting trees with the number of nodes 3, 7, and 15. Can you state the property… • Im stuck on this question for python and not sure how to answer/approach NOTE: not allowed to use dictionary. Background: In a Scrabble-like game, players each have a hand, which is a list of tiles … • I am not missing any extra information. I have uploaded all the info. I am not missing any extra information. I have uploaded all the info. I am not missing any extra information. I have uploaded all … • Create a word document to identify Covid 19 vaccine options. Show python dataset Identify the best technology to conduct data conversion, data cleaning, and data munging. Apply those techniques to you… • Define a function maxdic(dic) which, given a dictionary as input, returns the maximum numerical value from the elements of the dictionary as output. For instance, maxdic({1:[100,5432],2:[10,1,32… • import pygame, random, time, sys def main(): # initalize all pygame modules (some need intialization) pygame.init() # create a pygame display window pygame.display.set_mode((500, 400)) # set the title… • I need help complete with below python code: Flesh out the body of the print seconds function so that it prints the total amount of seconds given the hours, minutes, and seconds function parameters. R… • I need answer urgently for this question because i have Quiz now. Please help me. I will give the best rate for you. Thank you. Data normalization approaches are: * 1 point Simple Feature S… • i have to write a makefile and it should build a code by running make. it should create the binary files, hw1_naive and hw1_kmp. im not sure if this code is workingTT • . YT is a friend of many people. Due to unavailability of certain friends at certain dates, his friends divided and planned two separate trips with one of the trips led by SL. YT can only go to one … • Which of the following statements is correct for comparison in Python? a) Floats can be properly compared for equality using the &quot;==&quot; operator. b) Comparing floats for equality is exactly… • need all questions answered. Modify the program so that it prints the array at each step of the algorithm. #include &lt;iostream&gt; using namespace std; void selectionSort(int [], int); void showArra… • Using the cancer dataset, develop polynomial regression models to determine if the cancer is Malignant or Benign, by comparing five models, with degrees 1,2,3, 4,5. Pick any one feature in the cancer … • csv in anaconda The dataset contains two fields that have mixed data: The Siblings/Spouse Aboard and the Parents/Children Aboard . Use the age of 20 as the threshold for differentiating … • CREATE a python script. scenario In your role as Junior Cyber Security Analyst at DataTrust, you’ve been asked to undertake some programming work for one of their clients. The client, Indigo Community… • How do I Python code to show Gaussian distribution is an example of exponential family distribution? • Assume that test. txt is a text file containing 800 lines of text (no blank lines). Write Python code to open the file and print every third line, starting by printing the first line in the file. Each… • 6 . 1 .3 . Function print Frames Add this function to your program . This will help you debug the next function you need to write . Just copy &amp; paste it In this function , it is assumed that a fr… • Convert the following ML into Lisp fun bg(n, L) = if null L then nil else if (hd L &gt; n) then (hd L) :: bg(n, tl L) else bg(n, tl L); bg(4, [4,8,1,9,7]); 2. Convert the following ML into Li… • implement a human vs. human version of Notakto. Notakto is a tic-tac-toe variant. It is played across three 3 x 3 boards: Board A, board B and board C. When you start the game you should output the bo… • Can we use constructor in python for counting no of objects created for its class? Justify your answer with the use of programming example? • can you help me fast tis script do not need comments Write a script called swapSwitch.py. When it is run it will make sure that the file /etc/lightswitch.conf contains the line ‘status=on’. If the s… • PLEASE FOLLOW THE INSTRCTIONS DONT ANSWER THROUGH OTHER WAY PLEASE FOLLOW THE INSTRUCTIONS. I WILL GIVE YOU TUMBS UP OR……. You must create at least 6 locations in your world. Please be creative! Y… • Don’t copy from Chegg otherwise, I will give dislike What are some day-to-day things you can do with Python or R? Specifically for a college student. Please explain in detail! • # Write a program that deals with inflation, the rising cost of general goods # over time. Recall that the price of goods, such as a bag of Cheetos, goes up # as time goes by. You will write a progr… • I need assistance with the following Python Project Below you will find the blackjack.py file.All the logic and all the code is there for it. You will be modifying this game. Refer to page 350-35… • We will pass in a value, N. write a program that outputs all values from 0 up to an including N. • Hey I am stuck in this practice question. Please help me complete it. You have to apply markov chains to solve the question. all the information is given in the picture above. • How do I calculate the partial derivative for log likelihood with respect to 02 in Python? N – N+ 202 [ (In – 14)? ) n=1 • Question This part is an open-ended programming assignment in which you are… I want the question (d)’s answer not [a,b,c] This part is an open-ended programming assignment in which you are to implem… • Complete the design of a function that takes a string parameter s and returns ‘short’ if s is 3 characters long or less, ‘medium’ if it is 7 characters or less, and ‘long’ otherwise. def describe… • Exercise #4: (11 pts = 5 pts + 6 pts) Given two sets, A and B, write the following functions in Python. (a) myDisjoint(A,B) that returns True if the intersection between set A and set B is empty,?… • Hello teacher, I have completed this task, written in python. I hope you can teach me how to design a flow chart about this program. import random t = 0 #(Number of correct questions) m = 0 #(Total nu… • 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. • I want make sure my answer is correct. Thank u! Problem 6 (It)| points) Write a method that will save all the words in the sentence “Hi my name is Bob” and then print the string. The method signat… • Write a function sumPdivisors() that finds the sum of proper divisors of a number. Proper divisors of a number are those numbers by which the number is divisible, except the number itself. For example… • Find shortest unique prefix to represent each word in the list. Example: Input: [zebra, dog, duck, dove] Output: {z, dog, du, dov} where we can see that zebra = z dog = dog duck = du dove = dov 1. Wha… • Question #5: The ‘Rule of 72’ is a financial investment guideline that claims you can determine the number of years it will take an investment to double in value by dividing the interest rate int… • How do you a Python program that gets a number using keyboard input . (Remember to use input for Python 3 but raw_input for Python 2.) If the number is positive, the program should call countdown . If… • Im having problems knowing how to do the assignment in the attachment. Please help InfoTc 1040 Introduction to Problem Solving and Programming Paint Job Estimator A painting company has determined tha… • Hello, I am stuck on this one. need help in creating a menu by using a list with the function that will return the results of the four operations (*, +, -,/) in a dictionary all In One(n1,n2) Sampl… • Hi I could use some help here instructions: For this assignment you will need to use Python (version 3.6 or above) and MySQL. 1. Parse the files and import the data in the database In the mood… • Week 2 – Programming Project Note: source code MUST be free of any syntax errors and MUST run successfully. Please, submit the source code (.py) file(s), email submissions will NOT be accepted. Chapte… • In this assignment, we will be working on Line Integral Convolution (LIC), a technique for visualizing the flow of 2D vector fields developed by Brian Cabral and Leith Leedom. This technique was dis… • 10 LAB: Winning team (classes) Complete the Team class implementation. For the instance method get_win_percentage(), the formula is: team_wins / (team_wins + team_losses) Note: Use floating-point di… • I need help on the following Code: import datetime import utils from datetime import datetime def has_instrument_rating(takeoff,student): “”” Returns True if the student has an instrument rating… • Hi I have the below dataframe, and I would like to add a column call “treatment_type” to summarize the 3 columns on the left. ‘Treatment_type’ column will have labels to indicate treatments in below r… • Using the SA function in Python – find the minimum of the “wiggly function” which is defined as: f(x) = -exp(x^2/100)*sin(13*x – x^4)^5*sin(1 – 3*x^2)^2 for input x values between the boun… • ANSWER THE FOLLOWING QUESTION IN PYTHON AND PUT THE ANSWER IN THE ORGINAL QUESTION WHERE IT IS SUPPOSED TO BE ! 1. #!/usr/bin/python3 import unittest # ———————————————… • Name one event or person that influenced you to pursue a degree in your field. What is your comfort level with programming? Which skills are you most confident in? Which skills need the most improveme… • When writing the code in Python how do you include the code to put the text file in alphabetical order? • Write, save, and run a Python program, named ram.py that will do the following when run: 1. Asks the user to enter his/her last name, first name and user ID all in one statement. 2. Stores t… • Describe how tuples can be useful with loops over lists and dictionaries , and give Python code examples. Create own code examples. Your descriptions and examples should include the followi… • I can not get spaces in-between my answers, they just run together. • https://restcountries.com/#api-endpoints-v2-all above is the link needed https://restcountries.com/v2/alpha/usa. Helpful Information For this assignment, we will be using the REST countries API (htt… • I need help with writing this code. Below are the instructions: PLEASE DO NOT use open(sickness) etc.. because we have not gone over those yet. write one function named most_common_sickness. This fun… • Exercise 2: A transport company has to transport a set of Europallets from the port of Valencia to Dublin using containers of two sizes: foot 20and foot40 containers. Refrigerated containers are also … • Hello I need help with this project, I have to created code to scrape the data needed to start the project but now need to add it all to a csv file. this is my code as follows. import requests from bs… • For the past week I’ve been trying to work my head around this but I haven’t got the slightest bit of understanding on how to make this code work. I was just wondering if anyone can walk me through th… • Infix expression example: 3+4*5/6 (operators are between numbers) Infix expression evaluation: 6.3333 Postfix version of the infix expression: 345*6/+ Question: Define a class InfixExpression Assume f… • Python pygame add to the code so my characters pmario and pluiji can shoot bullets import pygame, sys pygame.init() #helpful variables size = width,height = 900,500 black = 0,0,0 sky = 150,15… • Assume that the variable data refers to the string “myprogram.exe”. Write the values of the following expressions: a. data[2] b. data[-1] c. len(data) d. data[0:8] B.) Assume that the va… • (18 points) draft a function named coin_flip_string that takes a parameter of type int, which may be zero or one. 0 represents the tails side of a coin, 1 represents heads. The function should return … • (4 pts) Write a program that tests to see whether a sequence has an AT repeat. For this problem, we’ll define a repeat as 3 or more occurrences of AT, i.e. ATATAT…etc. Read in the sequence from a… • Please provide me with the correct code for this with clear format. &lt; &gt; learn.zybooks.com C Module Three – IT-140-T2160 Introduction to Scripting 20EW2 3.12. LAB: Seasons Course Hero =zyBooks My… • Cengage Mindtap 6.9 Program that computes and prints the average of the numbers in a text file. You should make use of two higher-order functions to simplify the design. An example of the program inpu… • I am trying to get the output code to return the cone size and the flavor of ice cream chosen when finalizing the order. Specifically, the code I need help with is after the price is displayed. Will y… • TASK 2 – Write Python code which displays the numbers 1 to 12 separated by tabular (tab) spaces using a loop. In your print statement make use of either sep= or end=. e.g. print(“hello”, end=’\t’) … • Write program that requests a password after the author/program information is displayed. Make the password “hello”. The program should then ask the user for their name: if the name entered is the sam… • . Lab Requirements At the top of your python ﬁle or code section, comment in 1your name, lab 2-Using Lists and the date. Add comments before each of the steps to Do the following: 1. Create the fo… • Hi ! Ive tried my best to create a function and its returning a few errors. I would love some help on how to answer this question ! The dataset location_review_data.csv provided (i can include howev… • Python Can someone please solve this question and add comments so I can learn from the code. Please don’t use any inbuilt functions.. PART A – A SIMPLE ARITHMETIC INTERPRETER (40 MARKS) Write a prog… • Would you help me with this code? The last image shows the look of the file. The file is 1097 lines long. . Activity #2: Plotting multiple data points This program will be a follow-on to th… • () Use the latest python debugging tools and learn how to use them efficiently QUESTION 2 Anything wrong with the code below? Choose all that apply num1 = int(input()) #line 1 num2 = int(input()) #lin… • I need to use recursion and the is_divisible function. def is_divisible(x, y): if x % y == 0: return True else: return False My program may assume that both arguments to is_power are positive int… • May you kindly help me with this question please. 3. Assume you have two vectors with integers represented as lists 1) and to. Write (15) a function add (v, N) which returns a list, where the elements… • Modules are required in pseudocode, flowchart and encouraged in Python. You will not lose points if you write in Python without (or a single) modules or if you use global variable everywhere. We will … • [PYTHON PIVOT TABLES] Assigned variable is perception of corruption Reduce your dataset to the last four years (2017-2020) and keep all the variables. Add code to answer how many rows and columns are … • Two independent threads are run on different processors in a chip-multiprocessor. Each thread simply increments a private counter one million times. The two counters are stored in consecutive memory l… • Programming Assignment: Homework 3 – Join &amp; Filter Movie &amp; Ratings Data. Recommend a **random** movie that has a rating of over 8.3. Store the random recommendation in a variable called &quot;… • Need help. I had put my codes but it still showing error. This is my first time using PyCharm, can anyone help on how to save py. file in my document for submission? Project 2-3 Pycharm Introduction 1… • **Question 1.3.** Using both the fertility and child_mortality tables, draw a scatter diagram with one point for each year, starting with 1970, that has Bangladesh’s total fertility on the horizon… • Geometry: Graham’s algorithm for finding a Convex hull (Geometry: Graham’s algorithm for finding a convex hull) Section 16.10.2 introduced Graham’s algorithm for finding a convex hull for a set … • Can simply explain how the strategy of mine count ? and how can I code it , can show a draft of it ? thank you. Not really understand and how to code it.. Task 2: Mine Count: This task is about findin… • can someone fix this code for me indentation errors and need it to run?? Write the code for your Retirement_Account class, Traditional, and Robo accounts. Use the stock_class code as a guide. Check yo… • Plot should contain a method named make_plot. This method will take an argument, named sequence which it will use in order to create a pandas Dataframe. We will then use the Implot method of seaborn i… • 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… • Write program that reads a set of floating-point values. Ask the user to enter the values until a sentinel value is input, then print: A) The average of the values. B) The smallest of t… • What would be in the variable z after the following nested if statements were executed? X = 97 y = 18 if x &lt; 50 : if y &gt; 50 : Z = 1 else : Z = 10 else : if y &lt; 50: Z = 100 else: Z = 1000 O1 1… • Assignment The Mannings Equation is used to find the Flow Q (cubic feet per second or cfs) in an open channel. The equation is Q = 1.49/n * A * R^2/3 * S^1/2 Where Q = Flowrate in cfs A = Cross Sectio… • Consider the loan prediction problem, for which the preprocessing (data reading/cleaning) is performed below. (solve using python) (1.a) Using sklearn library functions, perform k-means clustering wit… • Problem #2 A cylindrical, vertical water tank has hemispheric end caps as shown. The radius of the cylinder and the caps is r = 25 cm, and the length of the cylindrical part is 1.8 In. Him: For a hemi… • please write python program to convert hexadecimal to binary (steps should show on output with answer) NOTE: For full points, you must provide a solution, not merely an answer. Use each question’s mes… • . Question 4 In Listing 7.1, does chars_on_line Include spaces? Explain. Question 5 Consider this part of the Farm Sooding description: &quot;It’s guaranteed that a pasture is the favorite of no … • Question : Write a version one code on this guess the word game • for reference of the textbook Iam posting the link of the textbook in wgich data is present look in to the textbook and answer the question https://www.nltk.org/book/ch06.html#code-document-classify… • material de reforzamiento 6 introduction a la tec senati • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) … • . X + V – X … 0:03:50 3 TESTS CUSTOM TESTS A Tests passed: 0/10. Syntax error. Test 1 A O Input n: 5 [4, 0, 1, -2, 3] Output undefined Expected Output [4, 5, -1, 2, 1] Console Output Empty Test 2 … • Find 2 files attached . 1 -Choose some var columns as features. Explain why you choose those columns. It can be common sense, or statistics. 2- Be careful with those missing data. They can be empty st… • What is a variable’s scope? in python 2. Explain how short-circuit evaluation works with the and and or operators 3. How do you find the length of a string? • The idea of this project is to convert this UML diagram to the python program. It’s basically mastermind game. consists of GamoMode_Boloctor * Original MasterMind for 2 players max _Player: Ini Origin… • Write a recursive function F(n) that finds and returns the Lexicographically largest string value ( a string that appears in the end following a dictionary order ) from the given dictionary. You may… • Which of the following code blocks produces ‘The sum of 5 and 3 is 8’ as the output? python….. class Sum: def __init__(self, num1, num2): self.num1 = num1 self.num2 = n… • Coding Guidelines [ ignoring these guidelines will result in marks deductions even if your python program is syntactically and logically correct]: 1- Comment your code where necessary to improve the r… • PLEASE ONLY WRITE THE SECOND (SAVINGBYMONTH) CODE Please note that we have to add amount 100 into the account every month instead of only 100 from the begging to the end. THANK YOU !!!! Please use whi… • Please have the exact same Sample Interaction as shown above on output. Thank you.. Write a program that asks the user to enter a number. The program should: 1- Catch a python exception if the va… • Python language on the program called “Processing”. Page &lt; n &gt; ofS O — ZOOM + UNIVERSITY OF DeplmnenlofCompulzr Scum CMPT 140 “WWW.” m m SASKATCHEWAN§13§§ﬁjﬁﬁﬁgﬁgﬁt 1.1m…
• Begin by creating a new file within Wing 101. Save it as Iab8.py. Exercise 1 Island Park needs a program for its admission booths. When visitors to the park come up to the booth to purchase their tick…
• I am trying to write a program in python 3. please help to figure this out.   1.31 LAB: Expression for calories burned during workout   The following equations estimate the calories burned when exer…
• Task 4: Remove Outliers &lt;§2.2 Loops; §4.1 Tables&gt; Implement a function remove outliers(table) that takes as input an n × m table of numbers. The function replaces every instance of the maximu…
• (IN PYTHON) Write program that recommends a pet for a user based on the user’s lifestyle. Prompt the user to enter whether he or she lives in an apartment, house, or dormitory and the number of hours…
• Python Programming Please someone help me to write this function in python Link to  hobbit-family.txt  file  ——&gt; https://gofile.io/d/1AT6JV   WHAT HAS BEEN DONE: “”” Template for Programmin…
• Urgent!! Please help!. # The spending_by_category function must produce a new dictionary where the keys # are the spending categories and the values are dictionaries where the keys are # months and th…
• These are an original code that I created. class Employee:   def __init__(self, name, addr, veh):     self.__emp_name = name     self.__emp_addr = addr     self.__vehicle = veh   def g…
• . In the space below, copy and finish the function drawRectangle(x, y, w, h) so that it draws a rectangle with the bottom left corner at x, y and with width w and height h. import turtle bo…
• Seeking to create syntax for this 1. Picking Tickets Consider an array of n ticket prices, tickets. A number, m, is defined as the size of some subsequence, s, of tickets where each element covers an …
• . def has_path(t, term) : &quot;&quot;&quot;Return whether there is a path in a Tree where the entries along the path spell out a particular term. &gt;&gt;&gt; greetings = Tree(‘h’, [Tree(‘i’ ), . ….
• How to write a python program using function that allows the user to enter a weight in pounds and height in inches and then displays the Body Mass Index?
• Project 6: Data Visualization and Analysis CS 1410 Background This project is based on actual work done for the Department of Homeland Security. The goal is to detect the presence of dangerous materia…
• For this question, use the Wisconsin Breast Cancer Dataset (WBCD) to build a logistic regression (LR) model. use the entire data set to build the model (no need to split into training and test sets)….
• The spreadsheet dream-team.xls contains all of the data shown in table 9.18. using this spreadsheet, construct and solve a discrete optimization model that can be used to select the national men’s …
• I am trying to build a thermodynamics method in Python that takes in a DNA sequence and the three values: deltaG, deltaH and deltaS (free energy, enthalpy and entropy) from an arbitrary DNA sequence w…
• I am working on a program that reads from two .csv files and makes calculations for the data. I am struggling to connect certain functions to produce the result I need. I have defined my calculations …
• What is the output: text = “To be, or not to be, that is the question.” text[5] = “*” print(text)
• The problem is supposed to be solved using the random module technique. 1. Using our variations of the dartboard script, write a program that randomly generates a dart’s coordinates and indicates to t…
• Question:  In this question you are to create some simulated data sets and then use the Perceptron neuron to perform some prediction.   a. Implement the Pocket algorithm (or any improved Perceptron …
• import math def max_magnitude(user_val1, user_val2):   if (math.fabs(user_val1) &gt; math.fabs(user_val2)):      return user_val1   else:      return user_val2 if __name__ == ‘__main__’:   x …
• 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 avoidin…
• This is the questions, i have tried to implement this, but i am stuck. Can someone provide me with the solution?   Adventure: items Now that you are sure the game is playable using the Tiny and Small…
• import os solid_dirt_level = 0 water_dirt_level = 0 battery_level = 90 water_clean = True bag_clean = True ready_to_start = True idle = True places_to_clean = [    [‘carpet’,’living room’,’first flo…
• Hi tutors, I could not code it out, please help, thank you.  . Project title: Developing a room booking system for your school Project description: In this assignment, you will create a working proto…
• Make the python program (pseudocode) and solve these questions ! The oxygen equivalence number of a weld is a number that can be used to predict properties such as hardness, strength, and ductility. T…
• PYTHON GUI CODE “RESTAURANT MANAGEMENT SYSTEM” FOR MY FINAL PROJECT: Acceptable submission guidelines:. 1. The program shall be Industry Realistic – like it can really be applied in a real world scena…
• In baseball, a pitcher’s earned run average, or ERA, is the number of runs the other team typically scores per nine innings pitched. Prompt the user to enter two numbers: (a) the total number of earne…
• 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.   Describe…
• Required files are here: https://drive.google.com/drive/folders/1AqIr_lk4jgUYiZz-C3kINngxpt4OaFPD?usp=sharing First, we are going to scrape philosophers’ biographies from their Wikipedia page and con…
• How would you do the following: For the second exercise determine the union, intersection and difference of the square and cube of integers ranging from 1 to 100. Sets are clearly the way to go here. …
• Write a python  Adding a Roster File The user should be prompted for the name of a roster file. Roster files are CSV formatted files with the first column being the team name and the second column be…
• (25 points) Draft a function named remove_spaces that will remove the spaces from the provided string and return the result. Write your own function, do not use built in string methods like replace. P…
• how can i solve this question ? There are 200 samples in total. The first 100 samples in the dataset are genuine, and the second 100 are fake bank notes. You will investigate the bank notes as follows…
• BERT is a trained neural network model that produces vectors representing word meanings. Another machine learning algorithm can rest on top of these vectors and use them to classify text. Here, we’re …
• Question 1 Now, using the main data set, we want to start and collate some basic descriptive statistics. First up, make use of the iterative mechanism we learnt in class to find the titles of the top …
• If you did not have access to the Python time module, how would you calculate the number of days that have passed since you were born? That is, given the time of day and the date you were born, how w…
• can you help me set up function that accepts a single parameter n. Im trying to figure out how to set up a function that will print out values 1 though 15 where the value for n is 15. In the list, if …
• Doing my work in juypter notebook for practice problems   The Dataset file in assets/grades.txt contains multiple lines of people along with their grades in a class.  Fix the incorrect regex between…
• Your good friend, Johnny, who also lives in Manchester, is turning 18 in a few months. To celebrate the occassion you would like to give Johnny a birthday card that has been signed by all of his frien…
• As discussed in the book, you will need to use the Python utility pip to install matplotlib. Follow the instructions in the book for details. After your program comment header, add the appropriate lin…
• . Exercise 7.1 Handling user commands Write a program to handle the following commands: BYE ADD SHOW COUNT AVERAGE For the commands: ADD, SHOW, COUNT, and AVERAGE, please write a corresponding funct…
• # 3. Rewrite the Human class bellow (without changing it’s name), so that it inherits from the Animal class of the exercice 2. # * You should override the ‘has_allergy’ method in the Human class, so t…
• Fill the blanks so that the program matches the output.     s1 = “1234” s2 = “5689” print(“Digits divisible by ” + s1[Answer]) print(Answer[1]+ “,” + s1[3] + “,” +  s2[1] + “,” +…
• Write the function that calculates the factorial of a number using recursion. Sample Output: Enter a number n to find the factorial n!: 5 Factorial = 120
• How do I make a function go in the reverse order in Python?
• ) When use Python Requests library to send a get request to a web page http://www.mytest.com, how to use username and password for authentication? Write the code below.
• QUESTION 1 An algorithm with &amp;- differential privacy is more private than an algorithm with (&amp;, 8)- differential privacy with 8 &gt;0. True False QUESTION 2 A larger privacy budget &amp; in di…
• General Statement. Everything in the template is laid out for you to put the right things in the right place. Leave every comment as it is, from the # Program line to the # End Program line (you don’t…
• Solve the following question using Python:. Question 4 [25 pts]: a) (10 Points) Complete the methods of the following Stack class according to their description [6]: class Stack: def _init_(self) : &q…
• Draw flowchart neatly for this below code Code: # 1) # opening file in write mode fw = open(“golf.dat”,”w”) # writing player details into file while True:     name = input(“Enter player name: “)  …
• TASK 1 The cyber security department for Blooming Cafe wants to know the temperature of Canberra in immutable list for a specific purpose. They have certain criterions to solve this problem. The crite…
• please help. The Lorenz Curve There are many mathematical models used to model the Lorenz curve. For this homework, we will work with the simplified Rao-Tam Lorenz curve, as defined by: L(x) = xk, whe…
• 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 attribut…
• Using python programming, need help with ideas and getting started 25 points Does the program execute with no errors. 25 points Does the program solve a problem or create something new. 25 points The …
• In Python, record a function that accepts as a parameter a string of seven 0s and 1s. and returns an eight digit string in odd parity. If the number of 1s contained in the string is even add a 1 to t…
• Modify the Student class of problem #4 to compute grade point averages. Methods are needed to add a grade and get the current GPA. Specify grades as elements of a class Grade . Supply a…
• Write a series of five functions that determine if a given positive integer is EVEN, ODD, PRIME, PERFECT and ABUNDANT. Each of these functions should accept a single integer as an argument and return …
• For this shortened df, please try the function. aal_rec_df.index DatetimeIndex([‘2013-12-09 16:00:00’, ‘2013-12-18 16:00:00’,         ‘2013-12-19 16:00:00’, ‘2014-01-29 08:00:00’,       …
• 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…
• How to write code that prompts the user to enter a weight in pounds and height in inches and then displays the BMI by using a function to calculate the BMI? Enter weight [pounds]: 280 Enter height [in…
• how to write program in python to calculate LOC, SLOC, and NCLOC of any java source code file
• A program is created for customers to order drinks in a kopi house. In the code cell below, the dict type variable price provides the price of each type of drinks provided by the kopi house. The other…
• I am trying to write a python 3 code. When ran you would input the number of cents and it will break down how much change you would have. Example below Enter number of cents: 41 Quarters: 1 Dimes: 1 N…
• how many times. How many times is the letter &quot;a&quot; printed after the following code completes execution? The line numbers are not part of the code. 1 s = &quot;ana has bananas&quot; 2 idx = 0 …
• 11 marks Consider the problem [Vanderbei. 5th edition, Exercise 1.2]. (a) 5 marks Write this as a Linear Programming problem (in the standard inequality form). You must explain your notation and va…
• Part 1 – Grade Calculator – Given the Sample Code, which contains an incomplete nested if…else statement Finish the code to determine if the user input score’s letter grade, assuming that C = 70-79 …
• You will take the Binary Heap Data Structure code we reviewed earlier in the semester and change it to be a Binary Heap Data Structure Max Heap. The code is located at  http://www.sourcetricks.com/20…
• Please help with this program. Packages and libraries functions Instructions For this assignment, you need to create a program that allows the user to do some basic math functions. First, ask the user…
• . 3. [18 marks] Using MS Excel, import the grades data from the sampleMarks.txt file containing a list of students and the raw data for the marks. The file is comma delimited, (i.e., the items are s…
• 1-python-question.py &gt; .. # This program simualtes the backend of a ticket purchasing system W N # Price per visitor is $5 # Price per member is$3.50 UT # You are to do the following 1. Identify a…
• Python code 1. Write a function closure, TimeSeriesParser(filename), that processes a given time series csv data file with the header ‘date’ , ‘ticker’, ‘open’ , ‘high’, ‘low’, ‘close’, ‘adj close’ Th…
• need help to write a function client form. PART C: Enter the absolute path and name of a file to change permissions Set Permissions V Owner Execute &quot;jl Owner Write &quot;2&quot; Owner read &quot;…
• Complete the implementation of the function ci_lower, which takes a one-column table t containing sample observations and a confidence level percentage such as 95 or 99. It returns the lower …
• . 1. Write a function named num_components() which takes in a graph G (in dictionary form) and returns the number of components of G. &gt;&gt;&gt; G={0: set(), 1: {11, 10, 19, 13}, 2: {11, 3, 5}, 3:…
• . Question 7 4 points Save Answer Consider the playing tennis problem, binary classification, using the Naive Bayes classifier. You are given four-dimensional features (Outlook, Temperature, Humidit…
• Write a Python function called tanganyika as described down below. The function takes a list L of integers as a parameter and should return a new list Q where Q should be the same as L except that whe…
• python program finding the Lagrange multiplier (alpha) which calculates the optimal probability values that return the observed mean for the US coin values 1, 5, 10, 25, 50, 100 for the jar of coins t…
• Web app is served via the Flask framework, information displayed on the endpoint “/” Users will be able to see info on at least one movie (its title, tagline, genres, and a movie poster image) that is…
• Subtask 3.3: Cumulative Wait Times In this problem, you’ll interpret the data you generated in Subtask 3.1 as a sequence of consecutive arrival times. Suppose the first bus arrives at the measured num…
• Dear tutors, Please I need help with details. I am new in Computer Science, please give me details Exercise 7.2. The built-in function eval takes a string and evaluates it using the Python inter-prete…
• Define a function named posterize. This function expects an image and a tuple of RGB values as arguments. The function modifies the image like the blackAndWhite function developed in  Chapter 7  …
• Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
• question is *Write a function encipher(s, n) that takes as inputs an arbitrary string s and a non-negative integer n between 0 and 25, and that returns a new string in which the letters in s have been…
• Can someone show me how to parse the information in this file into a dataframe?  https://drive.google.com/file/d/1Zps0YssoJbZHrn6iLte2RDLlgruhAX1s/view
• NEED HELP IMPLEMENTING THE FUNCTIONS IN THIS CLASS (DOCSTRING EXPLAINS REQUIREMENTS): from typing import Iterator, Iterable, Tuple, Text, Union import numpy as np from scipy.sparse import spmatrix NDA…
• Class lake  A Lake object has a name (a string), a water quality rating (a string, such as ‘excellent’ or  ‘poor’), and a list of all Portages that lead out of that lake  • The Lake class should …
• url = https://en.wikipedia.org/wiki/List_of_Academy_Award-winning_films By using above url link, May you help use web scraping in python(beautifulsoup) to extract all movie infomation (between 1966-20…
• . Write a program that calculates and displays the area of a triangle based on the user input values of the base and the height of a triangle. 3 c I height h |_ r… _I Make sure your program ask…
• Do not use built-in function. Create your own functions. Hint( you may use Slice) Please write the whole code and post the outputs   a) Designing a Python function my_flip2 that takes as a parameter …
• number = int(input())  area_code = number // 10000000 prefix = (number // 1000)%10000 line_number = number % 10000 formatted_number = “({}) {}-{}”.format(area_code,prefix, line_number) print(formatte…
• Write a Python program to solve the following linear algebra problem: Smith invested $10,000 on four mutual funds one year ago. After one year, the overall yield rates for these four mutual funds are … • This is the function which determine in the hw4_util MAX_WEEK = 29 NUM_STATES = 52 def part2_get_week(w): “”” Return a list of lists of COVID test data for the given week. See HW 04 des… • When I added the while loop, (while option: ) the program does not work: All i need to find is the correct way to loop that the calculator continuously ask for an input unti “X” or another erroneous i… • I am having trouble with this assignment and need some help. I have all the required documents attached and your help would be greatly appreciated. GDN0001; Sunflower seeds ; 519 GDN0002; Lettuce seed… • 33 .”Fix” the following 3 lines of code so that the print the last line of code correctly: age == input(How old are you?) age == age + 1 print[“Happy birthday! You are” + age + years old!] 23. Consi… • . I would like to write a docstring for each of my classes and functions as • Write a function called missing_letters that takes a string parameter and returns a new string with all the letters of the alphabet that are not in the argument string. The letters in the returned st… • Please make a flow chart online on draw.io and share a link with me if I need to edit. . Page CIS 135 – Introduction to Programming Programming Assignment #7 15 points Description Write a progmm … • import numpy as np class GaussianDiscriminant: def __init__(self,k=2,d=8,priors=None,shared_cov=False): self.mean = np.zeros((k,d)) # mean self.shared_cov… • I’m having serious trouble figuring out how to start coding for these problems. I’d be more specific, but honestly, I’m horrible with this coding language and I have a hard time remembering things abo… • Can someone help me with the python code? part2 and 4 I wrote something to simulate on sample path, but it said IndexError: list index out of range import random def random_pick(some_list, probabilit… • One lap around a standard high-school running track is exactly 0.25 miles. function miles_to_laps() that takes a number of miles as an argument and returns the number of laps. Complete the program to … • 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 … • How to create a python program that displays a menu and its price. Take the order from the customer. Check if the ordered product is in the menu. In case it is not there, the customer should be asked … • Directions Using the following guidelines, create a python program. 1. Create a Python program named payCalculator.py. This program will accept four inputs from the user (hours worked, hourly pay r… • Introduction In this project, you will design agents for the classic version of Pacman, including ghosts. Along the way, you will implement both minimax and expectimax search and try your hand at eval… • Notice that variables have been declared for you. Write input statements to retrieve a year, a month, and a day from the user. Include the print statements to output the following:month/day/year i… • I want to use a python code to do regression analysis for my dataset. I appreciate if anyone can help me. The response variable is win%. Variables are shown with orange color. I attached a screenshot … • 8 LAB: Word frequencies (lists) 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 c… • An in order traversal of any binary tree produces the items in sorted order a. true b. false • PYTHON PROGRAMMING ertE a program in Python to be used in a dart game which calculates whether a thrown dart hits the dart board. iii. dart will be shown with x and yr coordinates represented as a tup… • 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… • Look into the following flowchart, Python code, Algorithm description and provide your responses for tasks A – D: 1 2 3 4 5 6 7 8 #Mark to Grade Conversion Program #Da… • Aan algorithm using pseudocode for one of the following actions: Converting military time (2400 hours) to standard time (12:00) Counting down to a the following New Year’s eve in days, hours, minutes,… • Question 3 (10 marks) Suppose that you have started a new job as a data analyst in the XYZ Retailer Company. The company has a vast amount of sales/transaction data and customer data. You have been as… • Task 5 7 Create the function firstLastSumList which accepts any three 1D numeric lists of the same length and returns a new list which contains the sum of the first and last indices of each list as el… • I need help with the following assignment: Working with Strings and Files For this assignment, you will design and code two Python applications by using Python’s built-in functions to create and… • how do I get output here 2.3 Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Use 35 hours and a rate of 2.75 per hour to test the program (the pay shou… • What is the value of fileContents when the following methods are used? (A,B or C) fileContents is a string containing all characters in the file. (A,B or C) fileContents is a string containing… • Build a manual program in Python that conducts PCA for a small dataset. • HI? If you have Python and know Python well, please help! The pic is what i got so far. can’t upload the excel file!! (a) The data are monthly returns for 17 industries from Ken French’s website. Ma… • Im trying to do it on Python 3.8.1. I just need to know the input for it. Thanks in Advance, Massimo Ulto use %, //, /, and divmod only to verify the correctness of your functions. (a) Implement the d… • 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”) … • The program should then print the following two lines: On the first line should be the part of the string up to and including the the first a, and on the second line should be the rest of the string. • Please help for this problem 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 … • I originally thought all the answers that were given to me when I asked questions about this assignment were correct, but I did the answer check for my homework wrong, which made it look like the answ… • Assume that the variable data refers to the string “myprogram.exe” . Write the values of the following expressions: • a) Fonction : helper(s1,s2) Écrire une fonction Python nommée helper qui prend en entrée deux chaînes s1 et s2 ( joindre votre fichier q3test1.py compressé (et non compressé) ci-dessous ou le… • Write a Python program that does the following. Create a string that is a long series of words separated by spaces. T. It can be names, favorite foods, animals, anything. Just make it up . Turn th… • https://archive.ics.uci.edu/ml/datasets/Early+stage+diabetes+risk+prediction+dataset.# Data has to be processed before apply any techniques or algorithm Apply Naive Bayesian classi􏰁fier algorithm i… • Python program which takes a number and prints the digits from the unit place, then the tenth, then hundredth, etc. (Right to Left) [The input number has to be an INTEGER] • You have an example in the book (website) that prints a triangle and square continue building on that same code to draw the colored shapes shown below. Hint: You may want to increase the length of … • Welcome to your first casestudy In this case study you have to scrape weather data from the website “http://www.estesparkweather.net/archive_reports.php?date=200901” Scrape all the available attribu… • The Department of Health has asked you to writea program to assist in the modelling of data to control the spread of the COVID-19 virus. You have been asked to read data from a text file, and predict … • . 4 Points The dictionary bus_stops maps integers representing bus stops to a list of the bus routes that stop at the bus stop. Given ta rget_route, a bus route, write code that: a) adds appropriate… • BASED ON OUTPUT OF THIS FUNCTION . Function 4: get_books_by_rate Use the function design recipe to develop a ﬁinction named ge t_books_by_rate. The function has two input parameters, (1) the dicti… • python question In this part, you are supposed to write a function that can ﬁnd the most recent weight uploaded by a user (or decide that all the weights of the user are outdated). In more detail, w… • Write a Python Shell Script to prompt the user for a directory, and then display the file types for all files in that specified directory (hint: use the read command and then use the file comm… • How to train a decision tree for regression and you can use functions from the following 1: from sklearn import tree How to make a regression decision tree with the following: tree.DecisionTreeRegress… • Below needs to be made in python Initialize two objects: 1) a 10×2 numpy array filled with zeros, 2) a list of integers between 10 and 20. Iterate over the list (for loop) and modify the values in the… • I have created a code, and I wonder that in each line, I need help in explaining in # comments which tells what is happening in that line of code . Username = input (&quot;Enter your name: n : userna… • Design a recursive algorithm that will display whether it is possible to choose two integers from a list of integers such that the difference between the two equals a given value. Hint : You may wis… • Please help with: do Python function called num_num that takes a list as the single argument and returns the number of numerical items in the list. Items in the list can be of any value allowed in… • In this project, you are going to model the median home price of various houses across U.S. Census tracts in the city of Boston. Note that we are predicting a continuous, numeric output (price) based … • writing a function that determines the minimum and the maximum element in an input list of comparable elements. This function should be as efficient as possible in terms of its worst-case computationa… • 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… • please solve this urgent Consider the following operator relation table of a grammar. {-2-} E+E | [5-13 | PE | E/E [ E”E Hi: | id + * I ” ( l 5 + =- &gt; &lt; &lt; &lt; &lt; 3- &gt; – &gt; &gt; c:… • Python 3 code needed: Ask the user for a number between 2 and 1000. Using a loop , calculate the integer square root by calculating the square of every number from 1 until the square of the numb… • Part 1: Open a Python console (e.g., through Anaconda or Miniconda). You will work in the console to test your syntax for now, but eventually you’ll be writing a script (*.py) file. Download the da… • . W USING PYTHON 2.7! Please include comments I want to understand how everything is working. Programming Assignment 2: Socket Programming In this assignment, you’ll write a server and client progra… • X2 A number of days a payment is late. In order to do the math between the payment due date and the date the pa we need to import the datetime library, which contains the date data type. The syntax fo… • Hi, I am a new Python learner. I am trying to solve a problem which requires me to use branching and looping only. Here is the problem: I have done the previous parts and I am stuck at this part. Wh… • Question 2 Question 2 The ancient Greek philosopher Zeno is known for several paradoxes, including one about an arrow that never arrives at its target. I will paraphrase this paradox as follows: if yo… • his question is about Block 2 Part 5. This question requires you to calculate values using Python functions. There are two approaches you can use. Add suitable code to the provided file, then run it…. • p ython Questions 1-4 The file Party.xlsx contains data on a sample of voters with tracked variables, including their party preference (Party=1 or 0), age, whether they own a home, gender… • Here is the covid.txt #Retrieved from https://www.worldometers.info/coronavirus/#countries on 31 May 2020 Country TotalCases TotalDeaths TotalRecovered ActiveCases SeriousCritical CasesPerMpop DeathsP… • I was having trouble with this one portion of my Linux quiz and was wondering if I could get help with it I realize I only get one question so I would just like the answer to number 2. A few lines … • listToPrint= [‘tator tots’, ‘fish’, ‘candy’, ‘pop’] def list_thing(list): new_string = ” for i in list: new_string = new_string = str(i) if list.index(i) == (l… • https://drive.google.com/drive/folders/1zOiyaJKGkOG5Tvtic_6Ct55p3kEVPHCh?usp=sharing Import necessary libraries import os import csv Read a TXT file ‘classic_books.txt’ using Python’s open… • Create 500 random temperature readings for six cities over a season and then plot the generated data using Matplotlib. • Most of the coding is already done. ToDo 1 needs to print out a grid of the current state of the game. ToDo 2 needs to print out a grid when the game is finished. ToDo 3 is comment out. ToDo 4 needs t… • Question: For each of the functions below — identified by name, parameters, and return type — construct a line of Python code that demonstrates how you would call that function. Pass literals as… • 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… • Instructions A program that prints a log of COVID shot records on file for a group of 25 people . And print a summary count of all shot records – i.e., a count for 0, 1, 2, and 3 shot records Your sol… • Load the Extended Bakery dataset ( 75000-out2-binary.csv ) into Python us ing a Pandas dataframe. Calculate the binary correlation coeffiffifficient Φ for the Chocolate Coffffee and Chocolate Cake it… • The following shows a sample run if the game was simply highest roll of two dice: How many players are there? (1. . 4) 3 Rolling dice for player 1. ..8 Rolling dice for player 2…6 Rolling dice for p… • For Lab15_5.py you need to download updated PILLOW from the website: https://pypi.org/project/Pillow/#files #### import libraries from tkinter import * from PIL import Image, ImageDraw, ImageFont… • Question 4: Complex structures [18.0 marks] You are provided with a database of sales records (sales_data_sample.csv). The csv file contains company’s sales records with various information. Each r… • Please help with step 5 and beyond: https:// colab.research.google.com/drive/14EquCCliq2vfDePqb_L4uIlLcJuspTcw?usp=sharing (make sure to delete the spaces in the link) . in this project {for H… • 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, separated by a single space. Here is a sample file: Jack 80 Jil… • what is the answer What is the length of the following list? Equivalently, if the list below was assigned to the variable xx, what would be the result of the statement print, len (xx) )? [ [True], [6,… • This is a MATLab software question. Lab 2 Homework 1. (moderate) Tax is figured out for a single tax payer as per the following table. Ask the user to enter his/her taxable income and then come up wit… • In a python program, create empty dictionary. Your program must search the attached lyric text file (Sweet Child O’ Mine Lyrics.docx)for the string ‘child’. Upper and lower case counts. Each time… • a + Xbox Ic Code Python 3 (ipykernel) Q 2. Functions and Vice Chancellor Incomes odified In this question, we’ll look at the vc_compensation dataset, containing the 2021 compensation for those with ‘V… • def make_multiplier (scaling_factor) : return lambda x: mul(x, scaling_factor) def make_exponentiator (exponent) : return lambda x: pow(x, exponent) mul takes two variables x, y and retur… • ou work in a government department in IT that deals with space exploration. You are asked to write program in Python that simulates space exploration. The organization has asked you to create and popu… • (Min-heap) The heap presented in the text is also known as a max-heap, in which each node is greater than or equal to any of its children. A min-heap is a heap in which each node is less than or equal… • I want to use a python code to do regression analysis for my dataset. I appreciate if anyone can help me. The response variable is win%. Variables are shown with orange color. I attach a screenshot of… • In Jupyter notebook (python) Question 3: Data Analysis of a field study John has done a field study and the result is saved in Employment.csv file. The study is about employment and type of employment… • . Last week (As of this assignment) the US released population change and migration data for counties across the US during the mid 2020 to mid 2021 period. Since this data is so fresh, lets examine … • Here’s a way of calculating the Julian day daynum of a year: the ordinal number of any date within the year. (January 1 is always Julian day 1.) Use int arithmetic and assume that 1 is the value… • The goal of this project is to gain more practice with matplotlib and functions. The more modular and flexible programs are, the greater their use and reuse. Background Data mining is the process o… • Implement the following query using Hadoop streaming and python with the lineorder table. http://rasinsrv07.cstcis.cti.depaul.edu/CSC555/SSBM1/SSBM_schema_hive.sql ( you still have to add the … • 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… • python please. A! Wire :1 program to check whether a amber is divisible by 5′ tr not. • Credit Card Fraud Detection as an msc project for data science. an abstract or introduction to the topic • Implement a recursive function, which can receive a string and return a list of words. Input : ‘Hi There How Are You’ output: [‘Hi’, ‘There’,’How’,’Are’,’You’] Condition: only 1 argument(our str… • I want to build a database from this table called city.db ( please look at the picture attached ) using sqlite3 package in python (library). – Demo the table properties and data on the console. ( … • Using the code below can an expect help with the questions below using codes to prove their answers “import numpy as np;from numpy.random import *;idnum = 201263082;seed(idnum+3);W=rand(190)*rand()*5+… • python coding please. QUESTION 11 Given the following Flask app, write code that returns the reverse of C, followed by the reverse of A (B is ignored). For example, the URL http:/localhost:5000/monkey… • Programming Assignment: Homework 3 – Join &amp; Filter Movie &amp; Ratings Data. Recommend a **random** movie that has a rating of over 8.3. Store the random recommendation in a variable called &quot;… • Define a Python function to calculate the area of a circle having the given diameter. Your function definition should satisfy the following requirements: • The diameter must be the parameter of your… • Write a program that computes the value of a+aa+aaa+aaaa with a given digit as the value of a. Suppose the following input is supplied to the program: 9 Then, the output should be: 11106 • no chegg For this assignment you will have to achieve 100% Branch and Condition Coverage. For this assignment, this means that for each conditional statement, you need to have a test case for each com… • how to do a PAC and an algorithm, how to create an IPO and draw a flowchart for solving Quadratic equation • I need help to write this programe in python …#The roots (solutions) to the quadratic equation ax2 +bx+c = 0 is given by the well-known formula x = 2a −b ± √b −4ac 2 Write a program that take… • Using Python version 3, Describe the difference between a chained conditional and a nested conditional . Give your own example of each. • What is the output of print(tuple[-3:]) if tuple = ( ‘abcd’, 786 , 2.23, ‘john’, 70.2 )? ( ‘abcd’, 786 , 2.23, ‘john’, 70.2 ) abcd (786, 2.23) (2.23, ‘john’, 70.2) • 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… • Background After graduation you accept a position as a Data Analyst at an eCommerce company, ShellsRUs. ShellsRUs sells turtle supplies and they see huge growth in the turtle pet supply market, becau… • . Question 1 (10 points) Let’s assume you typed the following in your Python interpreter: three = 4 four = 3 one = ‘()’ zero = 1 threeplusfour = &quot;zero&quot; + &quot;four&quot; + &quot;three&quo… • Instructions PYTHON Complete the list iterator for the LinkedList class in the linkedlist.py file implementation. Complete the following methods in the linkedlist.py file: hasNext() returns True… • A gymnast’s score is determined by a panel of 6 judges who each decide a score between 0.0 and 10.0. The final score is determined by discarding the high and low scores and averaging the remaining 4. … • Now that we have our own implementation of a stack, we should put it to good use. A stack can be used to calculate the result of mathematical expressions. In conventional mathematics, we often use i… • I’m supposed to print a polygon for 12 players but my code prints out extra table. I can’t seem to find what I did wrong. import random # allows me to use random import turtle #task1 def pocker_hand… • Use a loop to ask the user to enter a series of credit card numbers in a specific format, aaaa-bbbb-cccc-dddd . For example, 4995-3343-2235-9998. You will need to validate that the credit card n… • . you should immediately output an error message. The format of the message is to be the string “Error:” followed by a brief descriptive message about the error. For example: Error: ‘mod’ or… • Element checking For the next exercise, you will be given a 2D array of integer values. The each entry in the 2D array represents an age of a person. Your task is to check where the person represented… • I want to scan the user details from the user and store it to UserDetails.txt file. I also want to scan the Loan Payment Details from the user and store it to LoanPaymentDetails.txt Also I have to gen… • OOP With Text File import pandas as pd import numpy as np import io from io import StringIO import string class NetPayClass: def __init__( self, emp ): ?… • Hi, i need help to make flow charts for these two problems Problem 1: flowchart program to solve a simple payroll calculation. Calculate the amount of pay, given hours worked, and hourly rate. (The… • j . Assignment For this problem you are going to write a program to implement the Vigenere cipher. This is similar to the Caesar cipher except a different shift amount is given for every character i… • Write-a-program with total change amount as an integer input that outputs the change using the fewest coins, one coin type per line. * *T.he coin types are dollars, quarters, dimes, nickels, and penni… • Hi tutor, the first question (1 Sorting &amp; Collating) need to use the radix sort to do, and the program must with complexity O(TM) which mentioned in 1.3 already. This question need to do in python… • I’m working on a python code for an IRA calculator it’s we’re suppose to enter in the values in the code NOT user input and get an output of how much money we would save for 48 years. The. Code is don… • Given main.py, complete the program that performs the following tasks: Import the csv file mtcars.csv as a data frame using a pandas module function. Find the mean, median, and mode of the column wt. … • Define a pytest test class ‘TestingInventoryCreation’ which tests the behavior of the ‘__init__’ method with the following tests: · Define a pytest test method ‘test_creating… • INSTRUCTIONS : 1) Python Programming 2) Use comment out for understanding better • A sudoku is a popular puzzle that involves using the digits from 1 to 9 in various ways. For this assignment, we will consider only what we call a simplied sudoku. A simplied sudoku consists of an N ?… • Use ssCount function to make wCount function. def wCount(w,G): def ssCount(w,S): len_w=len(w) len_S=len(S) cnt=0 for i in range(len_S): k=i for j in… • A pedometer treats walking 2,000 steps as walking 1 mile. program whose input is the number of steps, and whose output is the miles walked. Ex: If the input is 5345, the output is: 2.6725 it must defi… • Write a class named HasamiShogiGame for playing an abstract board game called hasami shogi. We’ll be using the rules for ” Variant 1 ” on the Wikipedia page, including the diagram of the starting posi… • 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… • solve with explanation. O CO COCC Ga Valid Variable | X Final Exam (page 1 of 3) X|G In Python a control structureX G a valid variable name in Pyt X | Abs in 2 Weeks | Abs Work * + Q &lt; 88 moodle.nc… • For this week, we will be implementing various functions related to the social deduction game ‘Among Us’. In ‘Among Us’, players are required to complete various tasks around the map. Given a… • what is the code for this programjQuery224019973295839776361_1567198382281? • {f} T113 absc-lutﬂ wﬂua of ﬁll: diﬁcrcnca behvecn Sara’s height (54 inches) and Marks height {5? inches] • Good Evening, I am having this issue. (Python 3) I need a loop that prints each country’s population in country_pop. Sample output for the given program: United States has 318463000 people. India has … • By using Jupyter (python): The Australian State Capital ports are as follows: Adelaide, Brisbane, Darwin, Hobart, Melbourne, Perth, and Sydney. Linear Regression and Prediction: Explore the annual f… • In Python Write a program with total change amount as an integer input that outputs the change using the fewest coins, one coin type per line. The coin types are dollars, quarters, dimes, nickels, and… • using python Problem Write a program that computes the sum of the logarithms of all the primes from 2 to some number n, and print out the sum of the logs of the primes, the number n, and the ratio of … • . False EUR Question 2. kappa (s) (4 points) droit urs. Creez une fonction en Python nommee kappa qui prend comme entree une chaine de caracteres (nommee s, par exemple). La fonction retourne une no… • Can you help me with this coding homework, please. Attached is the instructions ISTA 130: Spring 2019 Programming Assignment 9 (100 points) Lists and Dictionaries Due : April 18* at 11:59 pm (submit v… • The price of one avocado is$1.50 for a quantity of 10 or less and 0.89 cents if the quantity is 11 or more. how do I write a program (use if-else statement only) that prompt the cashier to enter the …
• . Let us assume you have built a CNN with following details It consists of three convolutional layers, each with 3 x 3 kernels, a stride of 2, and SAME padding. The first layer outputs 100 feature m…
• Any Civil engr who is expert in Python may kindly help me . Thanks Description Referring to figure 1, write a user friendly Python code to find member forces (F12, F 23, F13) and joint reactions (V1, …
• Can someone please correct this code for me? I am testing leap year in pycharm   def is_leap(year):     pass     if year % 4 == 0:         if year % 100 == 0:             if year % 400 …
• If a bagel shop charges 75 cents per bagel for orders of less than a half-dozen bagels and 60 cents per bagel for orders of a half-dozen or more. How will I program requesting the number of bagels ord…
• Write a   PYTHON program to input names, hours worked and pay rate for several employees from an input file ( get the file names from the user and make sure hours worked for some employees are greate…
• Good Morning, I am trying to get only specifics rows? for example I want to print all customers with “Purchases Past 30 days” equal to zero balance, but I keep getting all customers, how can I sort it…
• This exercise is part of the ‘GCDE Week 6 Exercises – Regular – timed ‘ exercise set. If you get stuck on this exercise, you can click here to skip to the next unfinished exercise in the set. In t…
• Sorting TV shows (dictionaries and lists) 7.9 LAB: Sorting TV Shows (dictionaries and lists) Write a program that first reads in the name of an input file and then reads the input file using the file….
• Write Python statements that perform the tasks described by this section’s pseudocode. Enter the integers 10 and 5. 2. Show that a SyntaxError occurs if an if…elif statement specifies an else bef…
• I signed up and it said I get 2 questions answered. I’m unable to see the answer. Thanks
• Fix the mistakes Find and fix the mistakes . S. In [ ] : def function_sum (numl, num2, num3) : This function returns the sum of three numbers &gt; &gt; &gt;function_sum (1, 2, 3) 6 &gt; &gt; &gt;func…
• Try writing out the sequence of events for one of the simple instructive processes below: Drawing a square on a piece of 8 x 11 paper.
• I am having trouble modifying part of my python code to display the random roll of three dice correctly lined up in a box and then taking that and making a function from it. Would greatly appreciate a…
• QUESTION:. class PositionalList(-DoublyLinked Base): &quot;&quot;&quot;A sequential container of elements allowing positional access.&quot;&quot;&quot; # — nested …
• the question is described below, exercise 5. it is a beginner python question. Iocalhosl 52.1mm» [w 13 . – – League of Legends [I 13 \pagebreak on.min.)s 201.”an [w 13~ Exercise 5: Python Coding Su…
• sort by food  function name: foodSort paramaters: filename(str), foodname(str)    given a list of foods you want to make a menu. You are given a filename that contains food data.  return a list of…
• Design Layout References Mailings Review View Help Tell me what you want to do Introduction to Computer Science Fall 2021 Programming Assignment 6 In the main function, do the following: 1. using the …
• can i get help with this question? Write a program that shows the entire song “99 beers on the wall” using  recursion  (not a loop!) The song is as follows: 99 bottles of beer on the wall, 99 bottle…
• please answer in PYTHON Problem 20. Write a Python program that opens a file called &quot;dna. txt&quot;, a file in fasta format that contains one sequence, and prints the reverse complement of the dn…
• See screenshot for instructions: CS3723 HW #7 Python (30 points total) Write two Python programs. One that converts a number to a Roman Numeral (roman. py), and the other converts it back to a number …
• Hi, Can you break this question down in lamens terms and explain how I can write the program? Thank you for your help. I’ve been struggling how to write codes with Python and half the time I have a ha…
• Please use Python3.9 for coding. You need to design your solution before you start writing your code for any of the issues below. Using pseudocode, flowcharts, or just about any artifact that demonstr…
• pls answer it. Description: Some positive integers N can be split into smaller pieces, such that the pieces are comprised of consecutive digits of N and such that each piece contains the same number o…
• Draw the Flowcharts that represent the pseudocode for the two modules given below.  Pseudocode:    accumulateNums()       // accumulate how many of each number was rolled       // by both…
• How to develop a Python program by applying NumPy to calculate the total sales, the maximum monthly sales, the minimum monthly sales, the mean monthly sales, and the median monthly sales of each year….
• 27 – Python Activity 10 coding python core def sort_ascii(filepath ) : Read all lines from file in filepath and return a list of all lines in case- insensitive ASCII order. Remove all linebreaks befor…
• Here is the question: One trial is one month’s worth of stop-search data – so each trial has n_valid_eth simulated stop search incidents. The statistic we are interested in for each trial is the propo…
• Hello, would someone be able to assist me with this Python question? I need to create a program that will calculate the weekly average tax withholding for a customer, given the following weekly income…
• Given these functions, determine the value of x.   def f(x) :     return g(x) + math.sqrt(h(x))   def g(x) :     return 2 * h(x)   def h(x) :     return x ** 2 + k(x) – 1 …
• Hello, I need help with my assignment. Please read it below before so that we are on the same page. It is about linked lists – and I am a beginner with Python, so I need some help. ——————-…
• Write a function called bmi that will compute and return the body mass index. It takes two arguments, height (inches) and weight (Ibs). bmi = 702.151*w/(h*h) Enter ht in inches: 72 Enter wt in Ibs…
• Q11 Graphs 4 Points The dictionary bus_stops maps integers representing bus stops to a list of the bus routes that stop at the bus stop. Given target_route , a bus route, write code that: a) adds appr…
• 1.7. Function appendParityRow This function takes a frame and a desired parity, and adds a 9th row of bits that are the parity bits of the columns of the frame. (Did you skip the background section…
• Lab 07 – Taylor Series   In this lab, you will create a Python function that calculates the Taylor Series of two mathematical functions. A Taylor Series is an infinite series of mathematical terms th…
• . CNIT15501 – Introduction To Software Development Concepts 5 Option 4 Nested For Loops Lab 1. A Multiplication table Nested For Loops Lab 2. N for N times with commas 3. The Table of Stars 1. A Mul…
• Write a function called middle _numbers(n) which takes as a parameter an integer number with an even number of digits, at least 4 digits long. The function should multiply together the two middle digi…
• I am having some troubles writing a python code for a voter registration card. Code begins as follows print ( “Welcome to the Python Voter Registration Application.”) answer = input(“Do you want to Co…
• Provided is a buggy for loop that tries to accumulate some values out of some dictionaries. Insert a try/except so that the code passes. di = [{“Puppies”: 17, ‘Kittens’: 9, “Birds”: 23, ‘Fish’: 90, “H…
• What is the 5 tables do I need to create? how do I create PK in sql Project: Tools rental store Section A – Setup Python for database connection Project overview The project includes three phases…
• def exercise06(): ”’ Data set: Boston In the Boston dataset, the feature PTRATIO refers to pupil teacher ratio. Using a matplotlib scatter plot, plot MEDV median value of homes as y-axis and PTRATIO …
• Students can use this program to add and drop courses. There should be a loop in the program that tells the user to enter A to add course, D to drop course or E to exit. If A is chosen, ask the user…
• 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…
• NEED HELP WITH PYTHON PROGRAM. KEEP THE OUTPUT SAME AS GIVEN. ALSO, SHOW WORK ON HOW YOU GOT IT. PLEASE PASTE YOUR INDENTED CODE HERE. GIVEN PROGRAMS: semesterGrades.py: studentWithStatus.py: MODIFY T…
• Python question, cannot use import as need to try challenge myself on this. Write a function that prints out a word diagonally. For example, given the word computer the function will print out Your co…
• using python you can choose the parameters. 2. LetX,. X2,. .. . X., iid N(ux, 93 ) and Yi, Y2. .. . Y., iid N(up, of ). Let a – 0.05. Make sure you choose ox foy here. a. An exact 1-o confidence inter…
• Encrypt ‘BC’ Using key ‘DEF’= 110111101111 (in Hex) 12 bits total Scheduler subkey K1 = (first 4 bits of key) XOR (bits 5-8 of key) = 1101 XOR 1110 = 0011      subkey K2 = (bits 5-8 of key) XOR (…
• come up with a program to continually ask the user to input a number (int or float) until the user inputs the string “end” to stop the loop. At that point the program should return the following: the …
• students = [(“Alejandro”, [“CompSci”, “Physics”]),             (“Justin”, [“Math”, “CompSci”, “Stats”]),             (“Ed”, [“CompSci”, “Accounting”, “Economics”]),             (“Mar…
• what is the order for python interpreter to reach line 1, line 2 and line 3. Regarding the three classes defined above, what is the order for Python interpreter to reach line 1, line 2 and line 3. cla…
• programming 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 list e…
• Directions 1. Specify the schema for the crime data set.  2. Read the file using the schema definition 3. Cache the DataFrame 4. Show the count of the rows 5. Print the schema 6. Display first 5 rows…
• Write a Python program that prompts the user to enter the current month name and prints the season for that month. 2. Write a Python program to find the median of three numbers entered by a user….
• I am trying to set up a logger for all failed attempts. Can someone help me? Logger – a log to log all failed login attempts. The Log should include date, time and IP address.  Here is my Code from f…
• Would you help me with this code? I am not sure how to approach it after I have the user input the needed values. Thank you in advance for the help.. Write a program named Lab9b_Act2.py that will writ…
• How are keyword arguments specified in the function heading?
• . The dictionary bus_stops maps integers representing bus stops to a list of the bus routes that stop at the bus stop. Given target_route , a bus route, write code that: a) adds appropriate nodes an…
• Python 4 Iterative Statements 8. (4 points) What is the output of this code? for i in range (10) : if (183 == 1) : print (i , end=&quot;&quot;)
• python code help. Write a program that takes in a positive integer as input, and outputs a string of 1’s and O’s representing the integer in binary. For an integer x, the algorithm is: As long as x is…
• Design a pseudocode that determines whether the points scored is outside the range of 9 to 51. If the points scored is outside this range, display “Invalid points”. Otherwise , display “Valid points”?…
• please explain Consider the following Python fragment: n = 3 m = 5 n=n+ 3 m= n- m n =n – 3 A. What values do we have in the two variables at the end? B. Can you summarize the meaning of the last three…
• A queue is a data structure use to store items. The next item removed from a queue is always the item that has been in the queue the longest (i.e., was added first – think of a line of people waiting …
• Instructions:   https://1drv.ms/w/s!AjNiWHeXyO3NvGvBwMIQhqpvyKYZ?e=WsZKdD     LOG Files    https://drive.google.com/file/d/1uY0KtssrhzELaOUVkAZQjxRvyTJ_u7sj/view?usp=sharing   https://drive.goog…
• What is a Boolean expression and provide one code snippet (a code snippet is a small section of python code not necessarily executable on its own but free of syntax errors) of a Boolean expression use…
• In Crymland, a team of 3 dedicated detectives are trying to take down Mr. Bigg’s ruthless crime syndicate. The detectives operate as follows: • Each week a single detective is randomly assigned to a…
• The above is problem statement along with the desired output. Below is my working: MONTHS = [‘January’, ‘February’, ‘March’, ‘April’, ‘May’, ‘June’, ‘July’, ‘August’, ‘September’, ‘October’, ‘November…
• How to code python turtle to run snake game, which consists of three main things, snake, food, and monster. The food is number from 1-9, and when snake eat the food, the number of body segment will ad…
• ”’   Assumes that L is a list of integers (&gt;= 0) and strings.   Returns a list R containing only the strings of L, in the same order,   but if a string S in L is immediately preceded by …
• A car dealership has hired your software development firm to build a new car inventory program. You first need to develop a class that represents the inventory of the dealership. What components and a…
• Explain the reason behind the correct answer, Thanks for your help in advance ?  1. Python has a built-in package called? A. reg B. regex C. re D. regx 2. Which function returns a list containing all…
• Please help my hoomework. I think you need to use turtle module for drawing a duck. You can use any function for that. Ex. &gt;&gt;&gt;import turtle       &gt;&gt;&gt;t = turtle. Turtle       &g…
• Please use Python programming language for 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.168.2.254 …
• An example program Open this walkthrough video and accompanying Replit showing the complete process for a sample Lab 3 project, adding on to the shopping calculator from Lab 2. Do not use this program…
• Given Code: #Write a function called all_sum. all_sum should have two #parameters: a list of integers and a single integer. #For this description, we’ll call the single integer n. # #all_sum should mo…
• i want to learn about check digit in iSBN 10 and 13
• in Payton Please don’t copy from other same question make it new code. Scenario: A program for a retail store that will allow them to calculate discounts for their employees when they buy items. Disco…
• 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 …
• I need assistance with code that asks the user for a file to open. The program will open the file and will capitalize the first letter of the first word in each sentence. The program should also add a…
• please use Python to solve it, I will pick the fast answer and the most accurant
• ## Exercise 3 Now we are going to use our n-grams to generate some fake text according to a Markov model. Here’s how the Markov model of order n works: ### A. Compute (n+1)-gram occurrence frequ…
• The data in df comes from a Negative Binomial distribution. How do I write a function to compute the log-likelihood?
• csv Timestamp,Please fill in your name. (You can also use an alias name). ,The Shawshank Redemption,The Godfather,The Dark Knight ,Star Wars: The Force Awakens,The Lord of the Rings: The Re…
• How to conduct a python code for the following?  . Complete the deﬁnition of the function called count_even_odd(1.st) that takes a list of integers lst and calculates the number of even numbers in …
• I’ve been trying to solve this problem for a while now, but couldn’t get it right. If someone could help it would be much appreciated. 1 Constructing strings In this task we consider the problem of co…
• What is the output of the following code? class Subject ( object ): def __init__ ( self ,mark) : self .mark=mark def set_mark ( self , mark) : if mark &lt; 0 : self .mark = 0 elif mark &gt; 100 : self…
• Please help me with part 5 and part 6 please, thank you!!!  . Question 1. Let R’ be the Euclidean space. Let V be a subspace spanned by O HHOO 71 = , 12 = , 13 = (1) Apply the Gram-Schmidt process to…
• Hello, I am writing a program that replaces words in a sentence. The first input begins with the original word and the replacement. The second input is a sentence where any word on the original list i…
• . Pf iCampus Login X Bb Week 4 – Computer Programmin x zy Section 4.2 – CIS 110: Computer F X Homework Help – Q&amp;A from Onl x + X – C D learn.zybooks.com/zybook/Strayer_-_CIS110Winter2022/chapter…
• Population Change (25 points) Create program called popchg.py that enables DBVac to update the state  populations for states in the database. Your program should:  • Include a comment in the first…
• Please help me out Write a function in the cell below that iterates through the words in file_contents, removes punctuation, and counts the frequency of each word. Oh, and be sure to make it ignore wo…
• A program that reverses the process, from json to python using . loads ,
• cannot use for module Write the function intersect ( L, M) that consumes two lists of integers L and M and returns a list that contains the elements in common between the two lists in the order of fir…
• do not use chegg . import pygame, random, time, sys def main():    # initalize all pygame modules (some need intialization)    pygame.init()    # create a pygame display window    pygame.displ…
• assignment CMPD223 Introduce Error Deduction with technique Cycle Redundancy Check
• I need help to finish writing a python code that will solve this problem: A statement that assigns total_coins with the sum of nickel_count and dime_count.Sample output for 100 nickels and 200 dimes i…
• Please solve this in python Library : users should be able to search for books by title or by author, should be able to search by book category (fiction, non-fiction, autobiographies, travel, etc.). T…
• PARTICIPATION ACTIVITY 3.3.3: Accessing list elements. 1) Write a statement that assigns my_var with the 3rd element of my_list.
• How is a program written, which displays the months containing the letter r? The file months txt. has 12 lines with each line counting one of the months of the year. the program should use a global va…
• def addListElements (aList) : ”’ -write a funciton that takes in a list (aList) of items and returns a tuple of length 2. -The 0th element of this tuple should be a sum of all the ints and floats in …
• *Python*   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…
• makeup_exan X P X P DAT. 51 ChestX P DAT 51/ Chest X heresa/Downloads/makeup_exam.pdf Got it! + | Page view A Read aloud Draw ~ Highlig exams will be accepted. No exceptions will be made. Check with i…
• 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 …
• def makeList():   myList = [1,2,3,4,5,6,7,8,9,10]   return mylist def delEven(myList:list)-&gt;list:   for i in myList:     if myList[i] % 2 == 0:       del myList[i]   return myList…
• Count the number of characters in string str1. Do not use len(). Save the number in variable numbs. str1 = “I like nonsense, it wakes up the brain cells. Fantasy is a necessary ingredient in living…
• Given the city.xml file: http://localhost:8888/view/city.xml              . This XML file does not appear to have any style information associated with it. The document tree is shown below. &lt…
• We have to define a class, called Solar_System, which describes a solar system within a galaxy. The Solar_System class should have the following instance variables: 1. A planets variable which stores …
• Need help with the above problem. The code that I have written as shown below, returns the number of words as 1189 and not 1140 as shown in the output in the picture above. Code: fileName=”rumpelstilt…
• What data type will Python pick for the following variable? radio = ‘101.5’  A.integer (i.e. int) B.string (i.e. str) C.floating point number (i.e. float) D.list 3.43 points   QUESTION 2 Which of t…
• Implement the following function in the PyDev module functions.py and test it from a PyDev module named t01.py: ***Use a While Loop* def get_int(low, high): “”” —————————————…
• As you approach the docks, you see Captain Jack, clutching a tattered piece of parchment. “Ahoy thar! I did bury our treasure but a wee bit yonder,” he says, pointing over his shoulder with a crooked …
• Hi, I would like some help with creating a python program following this, please not only the code, comments and how you derived things would be appreciated 🙂 You are given a string of IV lowercase l…
• 7. The idea is to traverse the input phone number (which may contain letters as in the example, and create new string with the equivalent phone number with only digits in it. Start with a variable c…
• Ask user to enter 4 numbers. Display the numbers in descending order. Use \t inside print in the M ,1; ranking display to make sure all the colonsl . ) are aligned as shown. Match number format You…
• I have two folders. One with 600 odd tiff images and another with the data(attached screen shot below of the data). Planning to build a CNN model. How to connect each image from the image folder with …
• 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…
• Again, you have lost your USIS password!! You went to the registrar office and requested for a new password. This time, you need to follow some rules to set your password. Otherwise, they won’t change…
• I need help with a project I am working on, the project is as follows: Define a Customer class in this module (file name: customer.py). This class has seven private instance variables to store custome…
• Create an SQLite text-based menu in Python that will allow for: Adding records to the database – for example you can show an example of adding a new customer to your database, or adding an order to yo…
• Task​ ​Goals:​ ​(Each​ ​task​ ​goal​ ​will​ ​be​ ​evaluated​ ​separately) Programming 1. You​ ​have​ ​to​ ​create​ ​a​ ​small​ ​Flask​ ​appl…
• clear explanations plz 5. Translation…? By now you should be very familiar with menial tasks such as reversing every letter in a word. Let’s use this to create an ancient foreign language from a sen…
• def _main ( ) : Test client [DO NOT EDIT] . text, k = sys. argv[1], int(sys . argv[2]) model = MarkovModel(text, k) a = while not stdio . isEmpty( ) : kgram = stdio . readString( ) char = stdio . read…
• Python programming 7. Testing your Module In the lecture (slide 71), we saw how we can use the _main attribute/variable to check if our python code has been run directly (e.J. python3 conversions. py)…
• The storage in main memory of an integer number in the order of 20 million, requires the equivalent of Select one: a. 6 characters         b. 4 characters         c. 3 characters       d. 2…
• U ser-defined function called gen_login_id(first,last) that takes first and last name as parameters and generates a default user login id that takes the first three letters of first name and last thre…
• Apply the Imention sort provided in the file &quot;LSsorts py&quot; to the list below. Record the data after EACH pass (each time the algorithm completes the FOR loop) (6 marks) 74 12 26 67 85 49 5…
• You can also make lists that are filled with lists! List-ception. First, create three different lists: . A list called string_list that contains three strings (can be any strings) . A list called floa…
• Thanks for the answer 😀 Question 1 lb) Note: You may add your answers to this question into the word processor document that you began for the question above. (i) Given x255 and v=222.22, write a div…
• Project – Part 5 – Modules Modify the pseudocode design that you created in ITP 100 Project – Part 4 to include at least the following modules. ·        studentID            – to E…
• Hello! I am learning python recursive. How would you code it to get that yellow part?
• 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…
• airports = [ (“O’Hare International Airport”, ‘ORD’),  (‘Los Angeles International Airport’, ‘LAX’),  (‘Dallas/Fort Worth International Airport’, ‘DFW’),  (‘Denver International Airport’, ‘DEN’) ]?…
• Hello, I meet some problems while learning the data structure of Python. And I got no idea about solving them. So could you please help out? It’s better if you could offer some essential explanations….
• This is the check2.py Yelp.txt. checki.py check_1.py lab05_util.py X untitled7.py* X check_2.py import lab05_util def print_info ( restaurant) : restaurant [3] = restaurant [3].split( ‘+’ ) print (res…
• there are three exercises question, i am confused about some of the steps in here. Many e-mail servers ignore the presence of periods in the username part of an e-mail address: foo , bar @mailserver ….
• NEED HELP IMPLEMENTING THE FUNCTIONS IN THIS CLASS (DOCSTRING EXPLAINS REQUIREMENTS): from typing import Iterator, Iterable, Tuple, Text, Union import numpy as np from scipy.sparse import spmatrix NDA…
• Need complete code and output screenshots.. 3. Problem Specification: Design and implement a modularised program that does not use any return of values. def main() is to call two functions (names a…
• This Python Programming Project allows you to demonstrate your basic knowledge  of Object-Oriented Programming and the use of text files for input and  output.  NOTE: This is not an opportunity for…
• For each iteration through a nested loop, the outer loop also runs thorough its entire sequence. Is this true or false ?
• for each function, a rough analysis of its running time in terms of n (where n is the length of the input list a, i.e. n=len(a)) and where n=10,000. For example, if your function looks like this: de…
• The code has to be implemented by using jupyter notebook. Thank you. Q3: Write a single Python statement to print the alphabets from a to g in a single line. Your output should like as shown below:
• Flowchart and python. Exercise 5 Modify the program from exercise 3 so that it also computes the area and perimeter of circle and square of radius/side the average of the previously entered radius and…
• 4: Clinical disease data (40 pts)   Your boss comes to you Monday morning and says “I figured out our next step; we are going to pivot from an online craft store and become a data center for genetic …
• I would like an explanation with a practical example on the minimum threshold criterion used in hierarchical segmentation. In the context of hierarchical segmentation, it is assumed that the criterion…
• Learninglournal Create a Python dictionary where the value is a list. The key can be whatever type you want. Design the dictionary so that it could be useful for something meaningful to you. Create a…
• # create root window root = tk.Tk() root.title(“MPG Calculator”) import tkinter as tk from tkinter import ttk def click_calculateButton():    miles = float( milesText.get() )   # get miles drive…
• What would proper documentation in doc strings look like if added to this code? I now have a functioning chatbot, but I need to fix the functions bot_feelings and bot_jokes so that if the user asks th…
• obj = pd.series([4.5, 7.5, -5.3, 3.6], index=[‘d’, ‘b’,’a’,’c’]) reindex in reverse order drop the ‘c’ column sort the index alphabetically
• Good afternoon, I have the following Python code: def convertDist(distEntered,distUnit):          if distUnit == ‘M’:        distMiles =float (distEntered*kmTomiles)       ?…
• xml file:  . 04. This task also deals with location data. In this case, we have a dataset of cities, the state they are in and the country they belong to. The dataset looks like this : There is a roo…
• Which of the following method is used to perform ANOVA test using statsmodels.stats.anova module?
• #Using Spark RDDs only from pyspark import SparkContext sc = SparkContext(“local[4]”, “hw1”) import wget fileName = ‘https://people.bu.edu/kalathur/datasets/stocks_2013_2021.txt’ wget.download(fileNam…
• The A7 program will interact with a user to take orders for a single shopping cart. The user will be presented with a short menu showing a list of item categories and is asked to enter the number of i…
• what is the code to be put in python to get the following below after your run it:  . Enter salary : 99 Enter salary: 50001 Enter salary: 1657 Enter number of days present: 31 Enter number of days pr…
• Given a list of  n-1  numbers ranging from  1 to n , your task is to find the missing number. There are no duplicates.  Input Format: The first line contains  n-1  numbers with each number separ…
• 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=load_breast_cancer() cancer.keys() df=pd.DataFrame(cancer…
• With a home inventory program once the class is defined, how do we instantiate that class? How do we set values for the object’s variables?
• Design a Python GUI for Book view class for the following Library Information System Library Item Class Design and Testing Design a class that holds the Library Item Information, with item name, autho…
• What is meant by:   Generate 10,000 hypotheses in each hypothesis space. Report the average hypothesis g-bar(x) in each case?   Here is my code to generate 10,000 random numbers. But how do I find g…
• 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…
• I need help with these python questions. There are only 5 questions here.
• INSTRUCTIONS : 1) Python Programming  2) No use use of built in libraries and built in functions 3) Use comment out for understanding better 4) Use Functions name and parameter name is same as given …
• Hello, I need help with a python program. References are in the comments. Here are the restrictions: You CANNOT use: recursion break/continue imports (except csv, which has been provided) dictionaries…
• what is the answer What would be the output of the following program? t = [3, [[5, 2,2,5], [2, [1,5],2]],2, [5, [2,1, [4,4]]], [[5,3],2,3,1], [1,2]] print (t[1][0][2] + t[4][3] + +[2] + +[1][1][0] + t…
• Hi! Please answer as quick as possible, also please tell me what value is stored in numbers[3] too! Thank you. numbers = [-w, -x, -y, -z] What value is stored in numbers[ -3 ]
• How do you do a proper pseudo code with the months in a year? and with a loop? without a loop is it like: Start Months = [“January, “February”, “March”, “April”, “May”, “June”, “July”, “August”, “Sept…
• Trace the execution of the following code segment and write the exact output result (8 points) a =5 b =0 for i in range (1 , a , 2): b=b+i print(( &quot;-2d%3d&quot;) % (i , b ) ). Comp165 1. Write…
• loops, strings, functions, better-print-Formatting, lists-and-Tuples, Dictionaries-and-sets will use in this project . try this one. The Final Project Task Write a Text-based Computer Game to showcase…
• Please help: I need help with this one question that is broken up into 4 section, as I’m stuck on what needs to get done here so I can learn from these and apply these principles / examples: program3_…
• I am working on a python homework using the pandas library on jupiter notebook. My professor told me to use a .xlsx file about products. This is one of the questions I need to answer: “Question 7: How…
• Legal = True for i in caps:   if i not in myTiles:     print(“No this word cannot be made from tiles”)     Legal = False     break       if Legal:   print (“Yes this word can be m…
• Write a Python program to find the median among three given numbers.
• Link below leads to a list of numbers used for the sorts https://github.com/jake156/list.git from heapq import merge def mergeSort(m): # toDo: define mergeSort here def quickSort(arr): # toDo: define …
• Pls use processing, and language is pythone. Pls use processing, not Tkinter.  . Question 1 (7 points): Purpose: Practice combining data from lists and writing it to tabular files. Degree of Difficul…
• display a function named “count_words” that takes a string named “my_string” and returns a dictionary where the keys in the dictionary are the words in my_string and values are the number of times tha…
• Please use the def dataToLabel(indate). Part C – Date Conversion (Strings, with Dictionary and Exceptions) Write a program that translates a date of form mm/dd/yyyy to the form: Month dd, yyyy. The…
• . As you know the inventor of the game chess was quite a clever fellow. As the story goes the inventor presented the game to the king and the king was quite pleased. The king asked what the inventor…
• I am trying to configure a new version of this code. I am trying to make the following changes to class Drone:     (a) Change all instance variables to private     (b) Define a __str__ method t…
• how to draw python programming flowchart for the following program def main():    lc_STOP_SENTINEL = -1      lv_termNum = 0          lv_stuNum = 0         lv_stop = False  lv…
• Question 1 This question requires the use of a .csv file (excel sheet) which you can get it from me, if u send me a mail at courseherohelper94 @gmail.com (courseherohelper94 at gmail.com) I can’t uplo…
• Please provide the Python code for the following question:   ===========================main.py================================== def main():     print(“\n——— Task1: Rock, Paper, Scissors —…
• . Course Hero X Bb M2 (2 weeks) – MIST 3050 VC 12 X Bb hw02_control_structure X C learn-us-east-1-prod-fleet02-xythos.content.blackboardcdn.com/5f60fa5592063/5221196?X-Blackboard-Expiration= 1644202…
• How do I multiply two matrices together using Python without using zip but using list comprehension. I have 2 parameters matrix1 and matrix2.
• Using a csv file called (all_records.csv) write the code using pandas on python that will plot a bar chart with days_lengths (0-7 days, 1-3 wks, 3-6 wks, 7-12 wks, 12 wks – 6mo, 6-12 mo, 1-2yrs,…
• Question 5 : You know that the study was well-designed to represent the population. Why might there be a difference between the population and the sample? Assign the name framingham_diabetes_explanat…
• Could you help me to create notekeeper app by using django (view, insert and delete notes) Please give the answer step by step with screen shorts Also testing the notekeeper app process
• Need the views in Django and how to make sure to collaborate within other parts of the Django structures.
• I’m stuck at some of the questions, please need help with correct answers 1 . True or False? I/O-Bound programs spend a lot of time doing computations. False True 2 . Which type of concurrency is best…
• # Write the function longestDigitRun(n) that takes a possibly-negative int # value n and returns the digit that has the longest consecutive run, # or the smallest such digit if there is a tie. So, lon…
• Need help with this BST problem!! Use Recursion and read carefully through the problem! Python please! Don’t use queues or stacks, only recursion!. 4. (20 points) Given a BST, search for a value in th…
• 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 a…
• Face recognition is an important task in computer vision and machine learning. In this question you will implement a classical approach called Eigenfaces. You will use face images from the Yale Face D…
• the percentages for some sample categories can be as follows Participation: 10% Labs: 30% Quizzes: 30% Project: 30% How can you store these values? You can store each category information in a list, w…
• 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 the we…
• This program is also about exception handling. In Lab 02 we wrote a program for a hotdog stand to calculate total amount due from a customer. We want to add exception handling to the program. The h…
• Hello,   Im trying to program GUI using Pycharm and Kivy, but i’ve never used Kivy before. Im trying to use classes for the GUI and the function of the GUI. I have attached the basic code, which is t…
• Given a group of boxes carried on a trolley, it is requested to arrange these boxes on top of each other to reach the minimum possible height. To enable the man to control the stability of the boxes, …
• I am using SQL version 8.0.26, which is the latest I believe, but this code doesn’t work. There is a syntax error. What is the right code for this version? or what version does this code in the answer…
• Write a recursive function to check if a number n is prime (hint: check whether n is divisible by any number below n).
• use “matplotlib.pyplot” to make a histogram (X)Level of education: 1, 2, 3, 4 (Y)average grade in each level: 9.29, 10.38, 11.15, 11.64
• Assume a host chooses for utilize a name server not inside its association for address goal. When might this bring about not any more add up to traffic, for questions not found in any DNS store, than …
• program used: Anaconda / Jupyter   input:   import re # import regex resource # Experimenting tokenization test_string = “Artificial intelligence    is an interesting topic.    However, there ar…
• Exercise 3 ( grade_dicts_test : 2 points). Write some code to compute a new dictionary, grade_dicts , that maps names of students to dictionaries containing their scores. Each entry of this scores di…
• I need help with this Python program that can convert a Fahrenheit temperature to Celsius, or vice versa. The program should use two custom functions, f_to_c and c_to_f, to perform the conversions. B…
• QUESTION 1 Python is a compiled programming language, true or false?    True   False QUESTION 2 Which one of the following operators is used to designate a comment in a Python program?     #   …
• In PyCharm, write a program that prompts the user for their name and age. Your program should then tell the user the year they were born. Here is a sample execution of the program with the user input …
• Write a function called next_month(this_month) that takes a string of 3 characters as an argument representing a month abbreviation and returns the 3 character abbreviation for the following month. Us…
• Post a Python program that accepts at least two values as input, performs some computation and displays at least one value as the result. The computation must involve calling one of the predefined fun…
• Write two statements to read in values for my_city followed by my_state. Do not provide a prompt. Assign log_entry with current_time, my_city, and my_state. Values should be separated by a space. Samp…
• Can someone help me on this when i do it get an syntax invalid but i did re did and fix it still the same.  . . X axis with ticklabel and label rotation: 90 legend other settings of your choice Sampl…
• 3   ( The Account class ) Design a class named Account that contains: A private int data field named id for the account. A private float data field named balance for the account. A private float da…
• csv_top_three Given the handles of an input csv file and an output text file, print the winners of gold, silver, and bronze to the text files, based on the data from the input csv. The input csv file …
• Explain the three properties of a data structure by comparing a Python List and Set as an illustrative example.
• include Exception handling too, Thanks for help A fuel economy study was carried out for ﬁve models of cars. Each car was driven for 100 miles of city driving, then the model of the car and the numb…
• Questions is regarding cleaning values in columns of pandas Dataframe. Assuming given the following dataset stored in an Python/dataframe object, write Python code snippets to clean this dataframe obj…
• Project 6.3   Population Data  Use the data file USPopulation.txt found in this folder as your data source. The file contains the midyear population of the US, in thousands, during the years 1950 th…
• Colab : https://colab.research.google.com/drive/1z4qmywYUUBx1JN_-0AzHWwYxrl5qPCsI?usp=sharing   Solve the Last Question(Q.5) Only.  Remaining all are solved.  . Q.5 If a player is supposed to win t…
• Please share Python code with output for ‘ping of death’ and ‘syn flood’ attack?
• . Interest Rates Savings accounts state an interest rate and a compounding period. If the amount deposited is P, the stated interest rate is r, and interest is compounded m times per year, then the …
• Create a function get_best_average that accepts a dictionary which contains the grades of various students stored within lists: grades = { &quot;shim&quot;: [65, 100, 73], &quot;leywin&quot; : [20,…
• For random variables (RVs) A1, A2 and B, define what it means for A1 to be conditionally independent of A2 given B, written A1 ⊥ A2|B. (b) Given mutually disjoint sets X1, X2 and Y of random var…
• (CO 1) What will display after the following print() function is executed?   print(“Welcome!\nNow that you have learned about”, “input\nand output, you may be wondering,\”What\nis”, “next?\””) Welcom…
• how can i make a program that calculate a tax rate for 2 country , user input the choice either country 1 or 2 then user input the salary income and the program calculate the tax automatically? Progra…
• Please answer this question with Python code. Thank you! Write a function glmnet_vanilla that fits a linear regression model from the gimnet library, and takes the following arguments as input: 1. X_t…
• The data can be found here: https://drive.google.com/file/d/1nRVuqTNO-zhrkegQun2UqIz5O9QdnK3M/view?usp=sharing simply copy and paste the link on the browser, click enter and then download it. Thanks P…
• 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… • Write a recursive function flip_two that takes as input a linked list s and mutates s so that every pair is flipped. • For this assignment you are to create three graphs using Python and the Matplotlib library. The first graph should be a line graph of average High temperatures for each month in a given city. You ca… • A class represents an object in the real world – most modern computing works in an Object Oriented manner, using classes and objects (aka instances of classes) to represent the world around us. This w… • . __Practice 1:__ | False | False | False | True | True | False | True | True _Practice 2 :_ | False | False | False | True | True | False | True | True not(A) or not(B and A) • Numerous engineering and scientific applications require finding solutions to a set of equations. Ex: 8x + 7y = 38 and 3x – 5y = -1 have a solution x = 3, y = 2. Given integer coefficients of two line… • # photo_answer = “north quad” # photo_answer = “random colors” photo_explanation = “”” (write your 1-2 sentence explanation here) ” ” “. Which file would you expect to be larger if you compressed it u… • class base_class: ”’ base class, will use a template for children classes; will not be used for creating objects ”’ def __init__(self, ip_add): self.ip_address = ip_add ?… • Hello I need to create a python that script that: Uses the PIL library to create a simple covert communication capability within the true color image provided. I need to make these changes 000, 001,… • Create a new Python script called midterm.py. This script should contain the following: A shebang A docstring with your name and student number A main block (ie. if __name__ == “__main__”:) Now add tw… • This assignment will extend Unit 7 Assignment 1. Submit your code to that assignment first or keep an old copy before you begin modifying it for this assignment. The input data will look the same in t… • Modify the program below to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: How to format each dictionary item as a text s… • I’m looking to get some help making this output but with my own code that is a little bit better laid out and more well rounded with comment’s and what not, i basically am just asking to get a copy an… • please see screen shots [-] D DE MI # [ ] fix the error print( &quot;I have$&quot; + 5) [-] D MI # [ ] fix the error print (‘always save the notebook&quot;) ASCII art Display first name or initials a…
• This exercise will involve a game that simulates a landing craft descending to the surface of the moon. You may have played this game before, we’ll implement a simple version of it. In our version, …
• I need a program that writes the following data to file books.txt . Include the semicolons. Fiction;Abraham Lincoln Vampire Hunter;Grahame-Smith;Wiley;13.99 Fiction;Frankenstein;Shelley;Prescott;7.99…
• Hello, i create a shapefile in QGIS and read this shapefile in Python on spyder, but i dont know why my shapefile have the title like (le6) where this caming?
• Provided below are the stats of MLB player Ken Griffey Jr’s career by season. With the stats provided, create a list of variables for each category. Each list must have the numbers stay in the same or…
• File Operations  Read the students_database.csv file and develop the necessary functions to find an answer to  the following questions. Your functions must work on all files that have the same featu…
• In this question you are going to write a Client-Server program:   a. Write a TCP server that manages the request from the clients such that it broadcast all the messages coming from the clients w…
• as image described . Background: in Chess, a King can move from any square to any adjacent square in any of the 8 possible directions. A King’s Tour is a series of legal King moves so that every squa…
• #!/usr/bin/python class Student: # Base class for all students studentCount = 0 def __init__(self, name, age, graduatingYear): self.name = name self.age = age self.gradYear = graduatingYear Student.st…
• I’m not too sure what I am doing wrong. A prime number is a number that is only evenly divisble by itself and 1. For example, the number 5 is prime because it can only be evenlly divided by 1 and 5. T…
• # Import all necessary python packages import numpy as np import os import pandas as pd import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap from sklearn.linear_model import Lo…
• It should identify the language of the text that you entered &amp; return the language and the confidence scores. Try extracting just the language with confidence &gt;0.95 from the result below as …
• Can you talk about practical applications of graphs in python. Include commentary on undirected, directed, and weighted graphs. Include examples please.
• How to write code and use child process in python programming ?
• What is map function in Python? Please research and explain in a substantial manner.
• Please do the below program in Python not Java.   A word chain is a sequence of words in which every word except the first one starts with the last letter of the previous word. You are given a sequen…
• cs file in C:\Users\10720\Desktop can ignore the imported part 1. Write Python program to sort a data file provided using Bubble Sort.  2.The Input data file: MovieListMBA502.cs A. So…
• write Python code to implement a basic Markov Chain Monte Carlo algorithm. The purpose of the algorithm is to estimate the posterior density of a random process by combining your prior beliefs and you…
• This exercise will involve a game that simulates a landing craft descending to the surface of the moon. You may have played this game before, we’ll implement a simple version of it. In our version, …
• anyone know how to do this code exercise? x_str = input(“Input x: “) # remember to convert to an int # first_three = # last_two = # middle_two = print(“original input:”, x_str) print(“first_three:”, f…
• Question 30 (12 points) Which of these snippets results in assigning: the list [1, 2, 3] to the variables a, c and d and the list [3, 4, 5] to the variable b Note: This is a Multi-Select question: Cho…
• Need python code and class diagram for above program.. Question 2: a. Design a class called ISBN to represent an International Standard Book Number. The ISBN consists of 10 digits divided into 4 parts…
• 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:…
• with ne = 1000) for n = 4, 10, and 20. Estimate An for these three values of n. (c) Repeat (b) for the Chebyshev nodes x; = cos(?&quot; ), j = 0, …, n. Contrast the behavior of Ln(x) and An with tho…
• Infix expression example: 3+4*5/6 (operators are between numbers) Infix expression evaluation: 6.3333 Postfix version of the infix expression: 345*6/+ Question: Define a class InfixExpression Assume f…
• (1)Given a list of numbers, you can compute a new list containing the  difference  between each element and its subsequent element. For example, given [1, 2, 5, 3], the  difference  list would be…
• Case Study Domain – Retail focus – Optimize Book RENT Business challenge/requirement BookRent is the largest online and offline book rental chain in India. The Company charges a fixed fee per month pl…
• Task 1: 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…
• Assignment 4: Recursion and Complexity Instructions    Part 1 – Recursion Write recursive functions that solve each of the following problems. Your functions must be recursive — that is, they shoul…
• Compute their Cartesian product,  AxB  of two lists .  Each list has no more than 10 numbers. For example, given the two input lists: A = [1,2] B = [3,4] then the Cartesian product output should be…
• Problem 2 . (20 Points) Please perform the following tasks: Please write function that calculates the Sharpe ratios of assets, defined as annual geometric mean of excess returns divided by annual vola…
• How do I complete coding on jupyter notebook please?
• What is the operator “%” used for ? ______________________________________________________________ Now determine the values of the following below: 10 % 2 __________________ 48 % 1 __________________
• wh Place the appropriate letter before each function. _ cars _ PRoPcass _ cars _ RIGHT _ COMPEL _ scan _ CDMPRESS _ srerp _ FIND _ sussrn _ LEFT _ TRANWRD _ LENGTH _ TRJM LDWCASE UPCASE a. Concatenate…
• Your program is going to compare the scores of two volleyball teams that play each other. To win a match in volleyball, a team must get 25 points. But the team must also win by 2. So even if a team re…
• How to code this problem in python?    . Bulgarian cycle def bulgarian_cycle (piles) : Mien the total number of pebbles in the piles is the lath triangular number, iteration of the earlier Bulgarian…
• Return a “last name to first name(s)” dictionary with the people from the   “person to friends” dictionary person_to_friends. The person to friends dictionary is P2F = {‘Jesse Katsopolis’: [‘Danny R…
• please help me out anyone with this paper I really appreciate for help. Part B. Predict the Output. What is the output of the script testairplane . py on Page S? Use the variable trace table on Page S…
• Create a function called newsku This function should take the  product name and  category as parameters.    If the category is ‘tech’, return a string that contains the first three letters of the…
• please help me 6) Write a script that will perform the following jobs: a) Use dictionary data structure to store the data given in the table b) From your dataset, pick a random Car Model, calculate it…
• Implement a function average () that takes a string parameter containing the name of a text file. The file contains a list of numbers on each line. The function should not crash and skip any item that…
• import datetime as dt def currentDate () : # Student code goes here print(currentDate()) #Expected outcome will vary, but should follow this format: The current date is 9-11-2018. The format has to be…
• Good afternoon, we need to develop a python system that, when faced with a question formulated as a string entered by keyboard, indicates that it contains the words of that question at least once. If …
• towns = ‘get_list_of_university_towns()’   startdate = ‘get_recession_start()’   bottomdate = ‘get_recession_bottom()’   houses = ‘convert_housing_data_to_quarters()’       houses[‘recessio…
• Python Question  1. With Python Modify this following code so that the turtle makes turns of any angle between 0 and 360 (not restricted to integers). from turtle import *  from random import randra…
• Simple program that can take two characters from user get the value of n for the length of string to generate finite number of strings and make all possible combinations. 2. Make a program to perfo…
• Question 1: Game Code A game software requires its player to enter the number of days, hours and minutes (all of type int) since the last time the player played the game. It then displays a 2-characte…
• 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 …
• Program 4: Getting Loopy Part 1: You can do A, B, and C in one program with multiple loops (not nested) or each one in a small program; it’s up to you.   A. Create a loop that will output all the pos…
• . Challenge 3: Text Mining . Use the R package sentometrics available at https://CRAN.R-project.org/package=sentometrics. If you are not familiar with R, simply use the data in the package’s souce f…
• I need help with this program I cannot get it to work for me. It is for my python course.
• (Indexing, 23 pts} At the end of books, there usually is an index that lists the pages where a certain word appears. In this problem, you will create an index fora text but, instead of the page nu…
• using emu8086 Answer this question. Question 1: Write a program to display your name , ID and convert your serial number into binary number NOTE : name : Nada Ali Serial number &amp; ID : 202007651  …
• Problem 2: 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 Ame…
• Format for the code:     . 1 Description Chris has to complete a programming assignment overnight. He has to write n lines of code before morning. He is dead tired and he tries drink…
• 2 Display Time (20pts) Create a Time class and initialize it with hours, minutes and seconds. 1. Make a method addTime which should take two time object and add them. E.g. if your original initial pa…
• I don’t see is there any change from the code that can make this run.
• (Python)Lets say I have a data like this a = [ ’10’ , ’11’ , ’01’ , ’00’ , ’10’ , ’00’ , ’00’ , ’11’ , ’10’ , ’00’ , ’00’ , ’01’ , ’01’ , ’11’ , ’10’ , ’00’ , ’11’ , ’10’ , ’11’ , ’11’ ] how to write …
• Make a modest Web page using Python flask. The basic components of HTML should be included. The Web page should have at least 3 Headings(&lt;h1&gt;), paragraph (&lt;p&gt;), comments (&lt;!– –&gt;), …
• Hello, please find attached. Thanks Here is a Python program. import turtle sides = 3 def p1us(): global sides if sides &lt; 18: sides += 1 turtle.clear() for i in range(sides): turtle.forward(1@9 – s…
• This is an ungraded assignment. Please give me the Python 3 code to solve the following problem: #We’ve written the function, reverse, below. This function #takes a string and returns the reverse of i…
• A 5-period moving average is used on a time series of 25 values. How many moving average values are available?
• Please help me make a single web page from scratch on the sport Cricket. For the paragraph, you can copy from Wikipedia you don’t need to write it yourself. Thanks    . 10. 11. some .’ hen t_,_,§?…
• I need help with what i’m missing. The objective of this lab exercise is to give you practice in programming with one of Python’s most widely used “container” data types — the  List  (commonly call…
• https://onedrive.live.com/view.aspx?resid=7831DBEC268CDBE3!1464&amp;ithint=file%2cxlsx&amp;authkey=!AlUvc5t40uf_lYg CSV file 2020 https://onedrive.live.com/view.aspx?resid=7831DBEC268CDBE3!1466&amp;it…
• At a certain university, passwords for the university’s network must be at least 7 characters long.  Write a program to display the criteria for the password, and ask the user for their password.  P…
• tweet= Status(_json={‘created_at’: ‘Fri Oct 22 07:00:10 +0000 2021’, ‘id’: 1451443243699167232, ‘id_str’: ‘1451443243699167232’, ‘text’: ‘RT @DodgerInsider: “When our backs are against the wall, we pl…
• Hello! I would definitely enjoy a tutorial in this lab assignment. Please not just only an answer, but an explanation into the reformatting and analysis also. Code and cover sheet attached. Thank you …
• I’m having serious trouble figuring out how to start coding for these problems. I’d be more specific, but honestly, I’m horrible with this coding language and I have a hard time remembering things abo…
• Write a function that checks if a string is a palindrome. A palindrome is a string (can be a single word or a phrase) that reads the same way backward as it does forward (not considering capital lette…
• Write a program in Python that will examine how much rain fell during the months of June, July and August of the previous two years (2019 and 2018). For each month the program needs to prompt the user…
• In this program you will write the logic for a vending machine. The vending machine will have at least 5 menu options for the user to select.  The user will enter a number corresponding to the item t…
• can u help me with this program that prints the percentage of readings that are outside the allowed range (0 to 5 degrees Celsius), as shown in the examples below. Note that the percentage is printed …
• . 10.14 LAB: Warm up: Contacts You will be building a linked list. Make sure to keep track of both the head and tail nodes. (1) Create three files to submit. . ContactNode.h – Class declaration . Co…
• , please evaluate using ethanol as molecule Goals: Write a computer program to take a set of atomic symbols and Cartesian coordinates for a collection of atoms and determine all possible interatomic d…
• Staff members are attending a conference. The conference runs for two days and staff members can attend either day, or both days.   If they are attending day 1, they will receive the red conference …
• Suppose the binary search algorithm (fig 5.14) was being used to search for the entry V  in the list     A,  B, C,  M, N, O, P, Q, R, S, T U V What would be the first and second…
• The __str__ method of the Bank class (in  bank.py ) returns a string containing the accounts in random order. Design and implement a change that causes the accounts to be placed in the string in …
• Part 1: Rectangle Use the script below as a starting point to make a Rectangle class. Your rectangle class must have the following methods; A constructor that takes a length and width as parameters ge…
• Python question. 1. Write a method save_model (self) that saves the TextModel object self by writing its various feature dictionaries to files. There will be one file written for each feature dictiona…
• Make about Python Contents section of the report Abstract Introduction Background History Features Sample code conclusion
• Background: in order to know our customers in a more holistic way, we would like to put our customers into different segments based on their transaction behaviours. 2) Data format: a. Customer and …
• SOURCE CODE: # NOTE FROM BOB: DO NOT EDIT THIS STRING # SIGNS_GROUPS is a string representing a group for each sign: # – Group 0 has Aries, Leo, and Saggitarius # – Group 1 has Taurus, Virgo and Capri…
• Please help me creating the python code. I am stuck here.. Thank you so much. The txt file :  2016-2017 1 1 1 4 1 2 2 1 0 1 1 3 1 5 0 3 2 4 4 2 4 2 0 1 0 4 3 2 2 3 4 4 1 2 0 2 6 7  2016-2017 D W D W…
• d = {} d[‘Sally’] = 27   The above Python code statements perform two actions. Which of the following action pairs correctly identifies these actions?
• Import HBAT200 data into RStudio 2. Build an appropriate regression model that will explain X22, “Current purchase/Usage Level” (Please note that X19-X23 are outcome variable, so do NOT use them …
• This is a Python Question. please provide Python Code
• In python Decorator This question has two other function such as  def reverse_decorator(function:callable): def shorten_args_decorator(function:callable): That I answered and they are correct. please…
• For Loop: What is the sum of all odd numbers between 21 and 39 (inclusive)? Answer this question using a for loop, and using  range. Save the result out to a variable called  sum_result .
• #Write a function called average_rainfall. average_rainfall #should have one parameter, a list of integers. The list #represents daily rainfall measurements for a certain area. # #However, at some poi…
• Imagine going from Arad to Bucharest in the following map. Your goal is to minimize the distance mentioned in the map during your travel. Implement a uniform cost search to find the corresponding path…
• Part I: Define a class Employee where one object of class Employee represents one Employee. Each Employee object will have: • instance variable for first name • instance variable for last name •…
• Write a PYTHON CODE: The game of “Jump It” consists of a board with n positive integers in a row except for the first column, which always contains zero. These numbers represent the cost to enter each…
• Hello! I want to run the same code multi times in a loop without the need to copy-paste the same code everytime. How can I use pandas to read from an excel file and to assign values at each iteration …
• Code (Binary Search): VERBOSE = True def main():    firstNames = [                        “Andres”,                        “Ben”,                        “Brandon”…
• Using a new Jupyter notebook, create a 100 x 100 times table matrix using the following three methods. Use the timeit function to measure the execution time of each method. Nested for loops Numpy from…
• In python, Briefly explain why we might want to read a file line by line instead of all at once.
• Using only Numpy Initialize the Dow Jones Industrials dataset as shown below: values = np.loadtxt(‘http://people.bu.edu/kalathur/datasets/DJI_2018_values.txt’) dates = np.loadtxt(‘http://people.bu.edu…
• Please help.. Question 2: Str Write an iterator that takes a string as input and outputs the letters in order when iterated over. class Str: &quot;** YOUR CODE HERE ***&quot; Test your code by either …
• Design pattern Imagine you are building a graphics engine for a mobile gaming studio. There are three classes:  Square ,  Rectangle , and  Triangle . Each will have a draw function that will print …
• My goal is to invert the dictionary but yet the output is the same order as the start. What am i doing wrong here? = Dishes = {“Pasta”:”Italian”,”Baguette”:”French”,”Burrito”:”American”} def invert_di…
• Decision Tree, Linear Regression of this csv table using python?   var_0                 var_1                var_2                var_3                var_4       …
• Writing a function to spilt “Energy” dataset into training and testing data. Parameter input: StartYear: int (default value = 2012), EndYear: int (default value = None). Ontput: Train, Test (Data type…
• PYTHON Q1 and Q2: Run the below cell to get started. Then, respond to each question. import numpy as np import pandas as pd from scipy. stats import beta, truncnorm import seaborn as sns np. random. s…
• Copy the countdown function from Section 5.8 of your textbook. def countdown(n):    if n &lt;= 0:      print(‘Blastoff!’)    else:      print(n)      countdown(n-1) what is …
• Hi! I need the whole python code for this unit test. Thanks for the help!!. Take-home test for Unit 10 Prisoner’s dilemma: Why do MirrorPlayers win? The player simulation we implemented in this unit i…
• Design an OOP System for a Calculator . Your design that you submit should at least 3 classes / entities that you would define. Tips: 1- Think of high-level abstraction of a behavior or functionality …
• (30 points ) 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 , t…
• It is not clear how we will focus on solutions with the Random Gradient Descent Method. We stopped the algorithm when we reached a certain number of steps in the lesson. Using the code in the lesson, …
• Write a program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither. The input begins with an integer indicating the number of integers in th…
• Write a Python program stored in a file L7q2 . py which will ask the user to enter a filename, and open the file for reading. You may assume that the text that is in the file is stored as one sente…
• I am writing a function to solve hanoi tower recursively. def tower_of_hanoi(fr, to, aux, num_discs):   if num_discs ==1:     print(fr,’to’,to)   else:     tower_of_hanoi(fr,aux,to,num_dis…
• flag = 1 while (flag == 1): hourlyRate = float (input( “Enter hourly rate : ” )) hoursWorked = float (input( “Enter the hours worked : ” )) amountPaid = hourlyRate * hoursWorked print ( “The Amount pa…
• Any help on how to start any of these or what concepts to use to tackle them would be greatly appreciated  the file looks like this thank you in advance!. Step-0 Read-in the preference file The first…
• Write a program that creates a dictionary containing the U.S. states as keys and their abbreviations as values. The program should then randomly quiz the user by displaying the abbreviation and asking…
• we have to write two programs in this solution 1.) A program to count and print the number of occurences of all combinations in two dice roll 2.) A program to count the number of alphabets in a given …
• Im stuck between these, it it very confusing. w import pickle class Account(object): pass #remove pass instruction and write your class definition here class checkingAccount(Account): pass #remove pas…
• http://prntscr.com/l5zepa Some python homework I’m struggling with. Thanks for the help.
• I need help getting started with an assignment for a geospatial programming class. I need to designate a dataset showing “wilderness” areas in a national park. These areas are defined as 2,000 feet aw…
• . Q2.2 Bubble sort and its optimization 10 Points The following is the code of bubble sort, 1. def bubble_sort (my list): 2 N – len(my_list) 3. for i in range ( 1, N) : 4 . for j in range (…
• I am working on  my final assignment and need a review/help to clean up the code and use all the best practices within IT-140 course guidelines
• What are they talking about when they’re asking for the input string? I am confused. escape.py 5. 1. Challenge 1 # Input from the command line Collapse Escaping import sys hamel = sys . argv [1] name2…
• Create a program that reads a text file (CarList.txt for example) and assigns a random vehicle within the file to the user and then prompts the user by asking if they would like to check the inventory…
• Problem 1: Create a list that contains the months of the year. Problem 2: Create a loop to print the number and the months of the year from the list. The would like this-
• In order to see the full solution (i.e., the sequence of moves from the initial state to the goal state), we need to add a method to the State class that will follow predecessor references back up the…
• # Write a function “index_capitalized_words” to build a dictionary of all words starting  # with a capital letter and their occurrences in the text. # E.g. if the text was [ “Alice!”, “said”, “the”, …
• Hometown City USA is analyzing traffic patterns to determine whether trafficlights are necessary at tracked intersections. Each tracked intersection has adata file where each line contains the numb…
• please help Question 17 1 pts Identify why the following code returns False. { ‘A’ :1, ‘B’ :2 ). get(‘C’, False) O Invalid key returns default value O { } does not support the get() method O The code …
• The question is: Define a function drawCircle. This function should expect a Turtle object, the coordinates of the circle’s center point, and the circle’s radius as arguments. The function should draw…
• Julie has collected data on the average monthly temperatures for each month of the year. She is writing a program to print these out in a list, e.g.   January 15.0 February 13.8 March 16.5 etc.  …
• How can I make a modular program in Python, using files and exceptions to process payroll for all hourly paid employees, save all the data into a text file. The program should allow user enter each em…
• Notice the new plot no longer shows the ball at negative values of y, which would mean the ball had passed through the floor. That’s not very realistic. Make a similar fix to your throw_ball() met…
• For defining a varialbe for “Land Area” which of the following are valid python variable names
• how can I make a program to find the largest value. Ask the user to enter three numbers. Compare them and report the largest one. [Hint: The user is free to enter any three numbers. Some or all …
• How do i create my code to separate the true and false evaluation in another if statement to correctly return a true or false result? realtime_availability = realtime_availability[idx:] # remove encod…
• Can someone please explain to me what I am doing wrong/what I a missing to be able to output a graph. I am getting an error: [float(dd[1]) for dd in data[1:]] from like 8 down. I have attached a sampl…
• http://www.cdf.toronto.edu/~csc108h/winter/assignments/a3/handout.shtml I need to complete this assignment till tomorrows 8.45pm and everything should be without errors and correct in a3_type_checker….
• I need help with the structure of this program and what coding to use ng to find most popular single products and transaction data: retail.txt. Each row in reta omer, including a set of product ids se…
• I need to convert an object into an array for filler words and show filler words with no count that will not be shown. This is for python. Any suggestions? This is written as an object:  filler_word …
• I need help figuring out how to modify the program with the following: (1) One function: inches_to_miles(), that takes inches as input and returns the number of miles. This function should not do any …
• Using python-language  . Output: Enter number of Student: 5 Enter Name and Grades of the Student: Juan 91 Mang juan 78 Key 73 Red 98 Roland 85 Grades in ascending order are: 73 78 85 91 98 The Highes…
• Python Lab file attached. Need help to solve the problems. due in next 1 hour. # import the random package, or import the choice function from the random package # define the poker_hand() function def…
• In Python 3 please. Thanks Write a generator function named count_seq that doesn’t take any parameters and generates a sequence that starts like this: 2, 12,1112′ 3112, 132112, 1113122112, 31131122211…
• A verifier is a Higher Order Function that is constructed in a similar way to an adder. It is constructed with an arbitrary parameter that is stored as its key. It takes a single input and upon evalua…
• python&quot; Write a function named &quot;sum_odd_index&quot; that takes a list of floating point numbers as a parameter and returns the sum of all the numbers at the list’s odd indicies (e.g., the su…
• I’m having serious trouble figuring out how to start coding for these problems. I’d be more specific, but honestly, I’m horrible with this coding language and I have a hard time remembering things abo…
• Complete the following function according to its docstring. def count_non_digits(s: str) -&gt; int:    “””Return the number of non-digits in s.    &gt;&gt;&gt; count_non_digits(‘abc12d’)    4  …
• You are provided below with a simulated dataset of series of stock returns. These returns have been generated with a predetermined average momentum during one period and a predetermined average mean r…
• Please do these and please include all imports. extract fig 2 frame: This function takes the DataFrame you created in hw5 (illustrated at t bottom of the previous page) and returns a frame that looks …
• can i get a pseudo code for this flowchart. word document Input (coke) Input (Pepsi) Input (choice) People= Yakins choice M=m-pepsi M=m+2*pepsi Continu e? Display result
• Define a function called square that accepts the integer parameter num and returns the square of num . Define a function called myMap that accepts two arguments: a function func and a list myList . Th…
• What is the command one would run at a shell to change the current working directory to the parent directory?   Assign this command as a string to a variable called answer.   E.g., if you thought th…
• Please help me with the first part. I will upload more info if a tutor is found. I really need the help. Thank you!. Part 1 Write a python program, hw5_parti . py that does the following: 1. Asks the …
• This is my question: https://www.coursehero.com/tutors-problems/Python-Programming/27401632-Hi-I-am-trying-to-create-a-CART-function-in-python-and-I-am-totally/
• 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…
• [implementation, 10+10 = 20 pts] Answer the below recommender systems related questions using the provided ratings dataset (see ratings_data.csv). (a) For a given user, U, estimate the rating for the …
• ..below . Python programming in VSCode The city of Crymland is plagued by a syndicate run by Mr. Bigg. Initially, Mr. Bigg supervises 7 thieves. The thieves operate as follows: • Every week …
• Please please please , I am really stuck on this Python programming homework assignment and it is due tonight, I’ve been posting this question all day and no one has answered, please I just need one p…
• lab 1: We will build a GUI to display a set of values. You will display the values using both a line chart and a bar chart on the same app. 1.       In the constructor Create list of 20 random …
• . CHALLENGE ACTIVITY 5.11.1: Loop else. 375510.2350218.qx3zqy7 V Jump to level 1 1 Type the program’s output 2 stop = -13 total = 0 for number in [6, 4, 7, 6, 7, 4]: print (number, end=’ total -= nu…
• Give sigmoid function and squashing for this. Explain clearly every thing for an upvote. D NB is Super Interpretable &amp; also gives feature to runtime compl – low Train time complx -7 low run time S…
• Hello, help with this python assignment, please not just the code, as well as comments and explanations please 🙂 Pair Swap Time limit: 1000 m5 Memory limit: 256 MB You are given an array A of N integ…
• Question   Create a program that will open a BLASTN (nucleotide to nucleotide…   Create a program that will open a BLASTN (nucleotide to nucleotide search) output file, parse out specific informat…
• # Q5 (2 points) # Prompt: Please create a function, exampleFive, that will have one input array. # Find the first element of the array and add it to the end of the array. Return the new array # Exampl…
• (create) a python that implements a dictionary and uses the split function 1.      (+5)Ask the user for a string and create the following dictionary: The values are the letters in the string, wi…
• Come up with a regular expression pattern that can compute the below result: regex_pattern=r” Example Input text: ” This film is based on Isabel Allende’s not-so-much-better novel. I hate Meryl Stree…
• PLEASE FOLLOW THE INSTRCTIONS DONT ANSWER THROUGH OTHER WAY PLEASE FOLLOW THE INSTRUCTIONS. I WILL GIVE YOU TUMBS UP OR……. This application will retrieve weather data from the service . https://wt…
• We have obtained data set from a restaurant containing the customer ID, the time when the customer came (either for lunch or for dinner) and the cost of the first, second and third course. Every cours…
• how do i go about this. please use for loops. 5. Implement the following function in the PyDev module functions.py and test it from a PyDev module named tes.py: def draw_rectangle(height, width, char)…
• Prime Numbers Prime numbers are used heavily in mathematics for many types of problems. Identifying prime numbers is a common issue in many algorithms. A prime number is a number that is only evenly d…
• Must pass these tests:. # Performing sanity checks on your implementation some_X = (np . arange (35 ) . reshape ( 7, 5) ** 13) : 20 some_Y = np. sum (some_X, axis=1) some_beta = linear_regression (som…
• Here is the file link for the 4th question: https://www.py4e.com/code3/mbox.txt 3. Given a dictionary m= i=’A’: 3, ‘D’: 3, ‘B’ : 15, ‘C’ :6} Write the python statement(t) to print: All…
• Write a function extractFromQueue (k, q) that takes the element k and the queue q as input parameters. The function searches for the element k in q, deletes it and returns True if found and returns …
• Please give comments explaining how you corrected my code. Full explanations please. I am really trying to understand the problem. So, the task is that I must find Pair Sums, whereas, given a list of …
• 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 program that prompts the user to enter a three-digit whole number such that the digits are in ascending order and without duplicates. Valid examples: 123 and 489 Invalid examples: 13…
• This first assignment will focus on coding in Python, applying knowledge students should already have about programming with functions and arrays. When the assignment is complete, there will in fact b…
• Implement function points() that takes as input four numbers x1, y1, x2, y2 that are the coordinates of two points (x1, y1) and (x2, y2) in the plane. Your function should compute: • The slope of th…
• Cmpt 101 Lab 10 – Assignment Specifications Maximum: 50 marks Program 1: Draw a picture (20 marks) a) Write a program to draw a picture using the ImageDraw class according to the following criteria: ….
• Hi everyone, I’m looking for the Flow Chart for this specific question! I have completed it with BASH but I don’t understand the proper way to complete a Flow Chart    Find the terms of any linear s…
• The data set Car-details contains the various details related to car. The various attributes are given below: Name – Name of car Year – Year registered selling_price – Sold for km_driven – Kms driven …
• Hi there, Really struggling with this course my goal is honestly to “just get by “, without hurting my GPA. I don’t know why I thought this course was gonna be fun but its giving me lots of stress aha…
• *** PYTHON *** 1. create text file that contains your expenses for last month in the following categories: – rent (mortgage) – gas – food – clothing – car payment – miscellaneous then write a python p…
• Suggest some other features you think could be useful to help the user track the revision history of English words. Describe your proposed solution.  So basically I’ve created a program to add words …
• Case Study Domain – Retail focus – Optimize Book RENT Business challenge/requirement BookRent is the largest online and offline book rental chain in India. The Company charges a fixed fee per month pl…
• . Problem 4: Object oriented programming In this question, we are going to implement the MyComplex class, representing complex numbers in the form of &quot;atbi&quot;. MyComplex + field: real_part, …
• {  “cells”: [  {   “cell_type”: “markdown”,   “metadata”: {},   “source”: [   “# Project Final Submission Template”   ]  },  {   “cell_type”: “markdown”,   “metadata”: {},   “sourc…
• Script 01: “Debugging Coin Toss” The following program is meant to be a simple coin toss guessing game. The player gets two guesses (it’s an easy game). However, the program has several bugs in it. Ru…
• In python please, thankyou        . Guess &amp; Win is an interactive computer game that allows the user to guess a random number between 1 and 10. During the play, the program will give hints bas…
• import time import numpy as np # Algorithm 1 finds median in O(n log n) time def find_median (a, n) : # First we sort the array sorted(a) # check for even case if n % 2 != 0 : return float(a[n // 2 ])…
• python programming Q1. Define the vector v= [5 4 3 2]. Then use the vector in a mathematical expression to create the following vectors: (a) a= 3+5 4+4 3+3 2+2 (b) 6= 15 4+ 3′ 2′] (c) c= 5 (d) d=
• . 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…
• I need help expanding the following Python code. I need help in adding an option for the computer to guess as well as the user to guess a number. I also need to add a menu system.  In case I missed i…
• Design the required class(es) so that the following expected output is generated. Do not change any given code. Your code should work for any number of arguments in _init_ and setToppings method of pi…
• it’s a Spotify bot play the problem is some thread dont play also sometimes thread open without play we need to make the bot play songs And close thread once finish then open a new thread stream close…
• In python, how do you create a function that is passed a tuple, then it uses recursion to find and return the minimum value in the tuple. All while not using the library method min()
• I’m a little confused on this part. There were files provides for the assignment. I finished with Part 1 &amp; 2. I need to connected all three. Requirements are below. Part 3 – Creating a Waiter 0 Ne…
• Write program that reads an integer and prints how many digits the number has, by checking whether the number is &lt;10, &lt;100, and so on. (Assume that all integers are less than ten billion.) If …
• Numpy and/or scipy are the only numerical li- braries you can use : A. (10 points) Dataset Develop a synthetic dataset that captures what happened during geopolitical events that suddenly occurred at …
• Hello! Please help me with answer, I cannot unlock what is on site even it is paid. Thank you in advance.  Section 6.2 of your textbook describes incremental development. Do the exercise at the end o…
• print(&quot;[[[0, 22], [11]], [, [11, 22]], [[o, 11, 22]], [, [11], [22]], [[0, 11], [22]]]\n&quot;) print (‘all_partitions_of ( [0, 11, 22, 33]) : ‘ ) print (all_partitions_of ( [0, 11, 22, 33] ) ) p…
• or word in text.split(): for vowel in vowels: syllables += word.count(vowel) for i in range(1,len(word)): if(isvowel(word[i-1])==True and isvowel(word[i])==True): syllables-= for ending in [‘es’, ‘ed’…
• .Compute the square root values of a list of integers using two different  algorithms:              • Bisection search              • Newton-Raphson •Compare the efficiency of the…
• Fill in the blanks in the code so that the program produces the expected output.   s = 1 for n in range(-5, 5,  Answer ) :     s = Answer  * s     print(s)     OUTPUT: 2   4   8…
• 51, Local-gov, 33863, Masters, 14, Married-civ-spouse, Prof-specialty, Husband, White, Male, 0, 0, 45, United-States, &lt;=50K 29, Private, 132874, HS-grad, 9, Married-civ-spouse, Craft-repair, Husban…
• OUTPUT The output file (which your program should write) should have the following fields: Person ID # (from the input file) BMI (calculated based on the inputs) Your output file, like the input file…
• Problems:  Implement Greedy Best Fast search algorithm for following graph with start node Oradea and destination node Eforie .    Implement A* search algorithm for following graph with start node …
• Hello, could anyone help me with the attached assignment, please? The arbitrary arguments paradigms (eg, *args and **kwargs) have many uses but none so-common as when interfacing parent classes or …
• Intro to Python Programing class: Programing question 1: emojini_pic.png For this program, you’ll be implementing a text transformation solution that substitutes English words into their appropriate t…
• def bad_visibility(visibility,minimum):    “””    Returns True if the visibility measurement violates the minimum, False otherwise        A valid visibility measurement is EITHER the string ‘u…
• Using Python: 1 – Write some code that includes validation of what the user typed in. In this case, the data type expected is a string. Write the code that asks the user for their letter grade. If the…
• Hello, would you help with this python code. The second image shows part a which I have done. I don’t know how to do part b or c. Thanks.  . 2. Given the ellipses (x – 1)2 (x + 2)2 (y – 5)2 + = 1 and…
• Please can I get answer both problems with python codes but don’t forget as the instruction of my teacher there are three line comments .   a) your name, b)program status – either “Complete” or descr…
• Write it down in Pseudo Code please, explaining step by step on how it works simply. (I’m using Python 3 in my class). Maria has asked you to create a program that prompts the user to enter the lower …
• see the attached picture. Assume that the following classes have been defined: what output is produced by the following code? Inheritance Mystery. Assume that the following classes have been defined: …
• Question   Datastore with Consistent Hashing Introduction We’ll extend the…   Datastore with Consistent Hashing Introduction We’ll extend the simple consistent hashing based datastore shown in the…
• Hey guys! for this question, I need to write a code that will check for valid directories from this given URL: https://www.secdaemons.org/ I need to use this text file to check to see if the listed di…
• Can u make sure to separate the function and the main file. Also, can u please make sure to use loops (for loops). Lastly, can u make sure to only use one return statement in the function (at the end …
• Sample Execution: This program will calculate the length of a ramp for compliance. How high are the stairs? 5 How long is the space on the ground? 12 The ramp must be 13.00 feet long for compliance. S…
• In mathematics, the Basel problem consists in determining what is the value of this sum with an infinity of terms:   1/1 + 1/4 + 1/9 + 1/16 + 1/25 + 1/36 + 1/49 + … i.e. the sum of the inverse of a…
• Independent Sets “A set of vertices X is called an independent set of a graph G=(V, E) if for all contained pairs v, w from X there is no edge (v, w) in E ” Write function ‘is indset(adj lists, x)’…
• Attached is an assignment that requires the document to be filled in completely. Answer each section in as much detail as possible. Address the following items below and upload for grading as a docume…
• Design the insertion algorithm in PYTHON for inserting an integer into an AVL tree of integers. You will need to design the 4 rotation functions. You may assume that an AVL tree node has the following…
• Write a class, triangle_area, that will contain 3 attributes. The attributes, base , and height will be integers. The other parameter is_right is a boolean and will define whether the triangle is a ri…
• Task 4 Complete the function to return the current date import datetime as dt def currentDate(): # Student code goes here print(currentDate()) #Expected outcome will vary, but should follow this forma…
• one function named get_highest_neighbor. This function should have three parameters. The fist will be a 2D list of numeric values, and the second and third will be integers, representing a zero-based…
• Weekly Assignment: LCM Calculator In arithmetic and number theory, the least common multiple, is the smallest positive integer that is divisible by both a and b: https://en.wikipedia.org/wiki/Least_co…
• I want to this work done,so i can understand Tkinter concepts Mental Anguish is commissioning a prototype of a quiz management system by a group of talented CIS programmers studying object-oriented de…
• Reverse each word of a string     String= I live in Toronto  Expected output:I  evil ni otnoroT
• . Question 1 (10 points) Chief Meme Officer In popular texting apps, the practice of typing a word in all capitals is generally to indicate screaming (or) anger. Whereas you may have noticed sometim…
• Need few help in Python coding 1. Python Regular Expressions We have below input, for which we need 5 outputs – [‘199.72.81.55 – – [01/Jul/1995:00:00:01 -0400] “GET /history/apollo/ HTTP/1.0” 200 6245…
• Sample data:  this is the AAPLcsv file: https://drive.google.com/file/d/1DpQpBBaLKFVWiUIOItkakdkY2HpRvJdt/view?usp=sharing   import pandas as pd import numpy as np   def change_groups(datafile,thre…
• A convex hull is the smallest convex polygon that will enclose a set of points. In a convex polygon a line joining any two points in the polygon will lie completely within the polygon. One way to visu…
• PLEASE USE SIMPLE CODE, NO HARD CODE , NO DICTIONARIES
• Use the function design recipe to develop a function named prime_numbers. The function takes two positive integers as input: lower and upper. It returns a list containing all the prime numbers in the …
• Hello, I want to install turicreate, but this keeps showing up, and I have totally no clue how to fix it. Could you help me with that? Thanks!
• For this question, you will consider the ENTIRE Iris TWO-class data frame consisting of both setusas and versicolnrs. First, create TWO additional predictor variables consisting of a} the square root …
• A zip file of all your source codes; i.e. MyClass.py and pd4.py
• In this question, you will use  list comprehension to help them count the number of the letters on the cake that needs to be decorated. For each cake order, we only decorate the unique letters. Also,…
• Could you please help me with this computer science Question. I need the program completed in Python. Could you help me? I am quite new to Python and I need to help with this program within 1 hour so …
• make only python program Source \documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \usepackage{natbib} \usepackage{mathpazo} \bibpunct{(}{)}{;}{a}{,}{,} \usepackage{chngpage} \usepackage{…
• hi, i have questions on this code instruction plz help me out T^T . create_scrabble_dict: This function takes as input a list of strings. It returns a dictionary that maps integers representing the nu…
• Write a series of Python statements that will read three strings from the user, and then print them in dictionary order. (Note: you can compare two strings using the relational operators.)
• script a program that makes a class in Python that reads in investment amount, annual interest rate, and number of years, and displays the total return on investment using the following formula: total…
• I need help on Challenge 4 , some of the parts in there is unknown to me, is there any solution?. Challenge 4 Step 1 Write a script that will ask the user for two strings. Display a random number from…
• no test cases for this, in python . Question 2 – Complimenting Your Style [6 points] Man oh man, you all are going to hate me for this one… So on A6, some people were asking, &quot;What about negat…
• how to use python to solve this question Question 4 (17 marks) Note: The maximum mark that you can received for this question depends on whether you use loops to solve the problem or not. If you do no…
• How do I use Pandas (i.e groupby) to produce the desired solution below? with ‘team’ being each country, total received Points can be extracted from ‘Points’ column. I have pre-calculated three col…
• Assume the level of the ocean is rising at about 1.6 millimeters per year. PYTHON PROGRAM: Write the Python program for this problem using the Python IDLE editor.  a. Set up a for loop that displays …
• PYTHON ONLY PLZ   Write a function called rotate(head, n) that takes the head of a Node chain and an integer, n, as parameters. The function must rotate  the Node chain to the left  n times and ret…
• – Do the histogram shapes seem to change more or less across samples of 100 than across samples of size 44?   – Are the sample averages and histograms closer to their true values/shape for age or for…
• Problem 2: Counting patterns (Section 2.5) Place your code for this exercise in a file called countpattern.py.  Write a function called countPattern(pattern, string) that takes two strings as input: …
• Hello, I’m looking to answer question 4 that is displayed in the screenshot. The question reads, “Suppose we want to figure out what the highest daily market return is in our population, but we are ta…
• 6-17 The following program is already written. You are to modifications the program and add all the exceptions # This program allows the user to search the # coffee.txt file for records matching a # d…
• Write a program to compute the frequency of the words from the input. The output should output after sorting the key alphanumerically.
• Can you help me to code that?. . Definissez une classe CompteBancaire(), qui permette d’instancier des objets tels que comptel, compte2, etc. Le constructeur de cette classe initialisera deux attribut…
• Q4: Write 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…
• I got a dataset from this website:   https://grouplens.org/datasets/movielens/1m/   1) Use the SVD function from numpy to perform SVD on the normalised ratings data matrix. Print the shapes of U, S,…
• Mathematics Coding Theory Problem: Pleas show steps, thank you!. PROBLEM 4. Let C C Z, be the code C = {($1,$2, 23, 24) DI = 213 + 14, 12 = 03 + 204). (i) Find a basis for C and construct the generat…
• Please give me Python 3 code to solve the following problem: lyrics = [“I wanna be your endgame”, “I wanna be your first string”,      “I wanna be your A-Team”, “I wanna be your endgame, endgame”…
• How do you add a space and new line at end of print?
• Premise: 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 …
• Write class called Doctor that inherits from Person, add new attributes/methods you want. Requirement: Display a doctor profile in the final result. Grading Rubric [6] Helpful input prompts are used t…
• [ﬁsignment 2 Instructions for Assignment 2: Fahrenheit/Celsius Conversion The second assignment is to demonstrate an initial use of variables. You can write two programs that convert from Fahrenheit…
• In python programming:. What will be displayed when the following script executes, assuming that a = 5, b = 3, and c = 6? if a &gt; c: X = 1 print(x) else: if b &gt; c: X = 2 print(x) else: X = 3 prin…
• TOPIC: FUNCTION An Explanation of the Concept of a Function     – Functions are mostly used to aggregate code that is repeatedly executed. You would have to copy and paste this code every time if yo…
• . Write a python script that is used to update a machine’s local hostname resolution file. The details of how it works are below: 1. It requires one argument on the command line: the absolute path t…
• Number Theory and cryptography.io [90%]. Submit a Python program called assignment1.py based on SymPy with the following menu: A. Primality Test using Miller-Rabin B. Chinese Reminder Theorem C. Sym…
• Chapter 10 — Tuples Exercise 2: This program counts the distribution of the hour of the day for each of the messages. You can pull the hour from the &quot;From&quot; line by finding the time string …
• In today’s fast/paced IT environment, developers are no longer expected merely to be coders. Many must be able to perform other skills, such as gathering requirements needed to write an application. N…
• It should have the time complexity of O(n^3) or under. Question 3 (Bowling Pin, Hard) (15 pts.) You are given n bowling pins. Each bowling pin is painted with a score on it. You are asked to hit all t…
• Can you help with this problem: I have the driver code but need help with the rest Given two arrays of strings, determine whether corresponding elements contain a common substring. For each test print…
• 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?…
• Imagine 1that you’d like to take AssignmentEpy, and instead of distributing the work to individual threads, you’d like to use individual machines (i.e., a distributed system}. Part 1 [ll] poin…
• modify BELOW Python program to store the results in a list/dictionary. Print the list/dictionary when no more calculation is selected.        The output will be something like this for the pay…
• How do I write this code? I am unsure how to use matplotlib and need help. Please take data from the csv file and plot the four different graphs. The last image is of the data in the file so you can s…
• Can someone please help me figure out what is wrong with my code? It can be found here: https://pastebin.com/YHG2HzFD   🙁 Option 2 keeps failing for me (print all animals) and I cant fix it. Below …
• The image need use: The data need use: Saskatoon|282|242|246376 Regina|405|409|215106 Prince Albert|338|143|35926 Moose Jaw|351|412|33890 North Battleford|190|178|14315 Yorkton|533|331|16343 Swift …
• Can anyone help in writing a code for this question? Could not get the logic right. Stark is a 10 year old kid and he loves stars. So, he decided every day he will capture a picture of a sky. After do…
• My following program is supposed to list the data of 8 customers and provide a table of the info. If the info is not in the correct established format, it is supposed to show up blank. I used the isal…
• Probability of erroneous transmission – Please perform coding and comments in python anaconda spyder. Consider the following experiment, where the required probabilities are given as: p_0 = 0.4; ε0 =…
• Create a schedule that holds 10 workers. Each worker should be assigned a name, phone number, and email, and have a preference of being contacted by one or both methods. If a worker is scheduled, that…
• I need help with this, its NumPy.  . Create a 2×2 array of US v/s GB deaths in two American Revolutionary War battles listed below for US and GB correspondingly (1 point): 0 Battle 1: 344, 2345, a Ba…
• Hi,     Can you please provide the dataset  for 19 years of National Travel Survey –  UK data service   This survey should be regarding  people commutation
• Find the formulas and answer the extra credit questions for the homework. Concept is based on Sudoku.
• TEXT-BASED CALCULATOR PROJECT   OPERATION CONTROLS ‘+’ for addition ‘-‘ for subtraction ‘*’ for multiplication ‘/’ for division ‘r’ or ‘R’ to find the square, cube, etc. root (entered as an integer) …
• Create a python file (practice1-lib.py) program that contains the followings:   def greet(name): #This function greets to the person passed in as parameter print(“Hello, ” + name + “. Good morning!”)…
• building a scoreboard for exam scores in a college class. use dictionary comprehension to write a dictionary that represents the scores for each person. The people and scores are as follows: Person Sc…
• The paid staff of the school is as per the following: Kathy Gilliard is the head of Willow brook. She has been at the school for a considerable length of time, and is an affirmed educator. Kathy handl…
• Write a program that plays a guessing game with the user.  Specifically, your program should randomly pick a target number between 1 and 100.  Then, ask the user for a guess.  You should detect and…
• Please help me fix my code, it is supposed to do the following listed below. I don’t understand what I am missing. The method can take 0, 1 or 2 numbers, and will return their sum (for an empty string…
• Write program using a function, convertSeconds(seconds), that takes in a number of seconds and returns a string to display that value in minutes and seconds. Example convertSeconds(61) returns “1m 1s”…
• Write a Python program to define a function called electricityBill that takes a single number representing the electricity usage (in kWh) as a parameter, and returns the electricity charges of the bil…
• Write a program that gets the root document (“/”) from catalog.champlain.edu (Links to an external site.)  and extracts every line that has an anchor tag, indicating that it’s a hyperlink to anothe…
• . Learning Outcomes: By completing this assignment, you will gain skills relating to . Strings and text files .Writing and using your own classes . Using complex data structures (i.e., lists, sets a…
• What are modules in Python? How can you secure Python modules.
• You are a young RA working at the World Bank.  It’s 4:55 and your boss just came into your cubicle to tell you that he has a meeting at 8 am to discuss new anti-poverty strategies in the fictional…
• Ranges of temperatures: Low-‘L’ , Normal-‘N’ , Hot-‘H’. List of temperatures is [‘H’, ‘L’, ‘N’, ‘N’, ‘N’, ‘N’, ‘H’, ‘N’, ‘N’, ‘L’]. Find what percentage of the temperatures lie within the normal range…
• Many companies use telephone numbers like 555-GET-FOOD so the number is easier for their customers to remember. On a standard telephone, the alphabetic letters are mapped to numbers in the following f…
• HEY EXPERT, can you please just write the code, I will download the file and plug it into the python on my end.  . AutoSave O OFF 5 . G … 3 countyPopChange2020-2021~ Insert v EX AY- O. Arial 10 AA …
• I need assistance graphing with Python.   Is it possible to adjust the code and add string values, so the rows display integers and characters in the Seaborn heatmap are shown below? For example, ins…
• Hello, I need help solving this Lab simulation, It uses Boolean operators: Detect specific values for if-else statements and I am very new at python on so I need help solving it. It is very difficult….
• Python Basics 1 – [Scaping out texts] Objectives 1. Understand how to read and code Python programming language. (LO2b, LO3a) 2. Identify contemporary issues in financial reporting and data analytics….
• Objectives: Familiarize yourself with the OSINT framework Explore OSINT tools Run a practical task using OSINT tools Note: you can download and install the tools on your own computer or work from the …
• Python Basic Problems: Without numpy and sklearn. Do not import any libraries apart from given and solve in general python Q1: Given two matrices please print the product of those two matrices Ex 1: A…
• Multiplication of two numbers:   recursive program that multiplies two integers. As an input to your program perform multiplication of the largest 8-bit number (unsigned) with the largest 16-bit numb…
• Hello, I need to write the code for the following exercises:   1) I wrote this code but it is not working: import numpy as np from scipy import optimize def main(): “”” solving a regular constrained …
• Write a Python function called baikal as described in the docstrings in q6test2.py. The function takes a list of integers as a parameter and should return True if:    The 1st and 2nd element differ …
• Description Body mass index (BMI) is a number calculated from  a person’s weight and height. According to the Centers for Disease Control and Prevention, the BMI is a fairly reliable indicator of bod…
• Help with List   1. How do return a copy of the list containing the values(data) between two cutoffs? For example, if we are given an input_list, a lower cut off value and an upper cut off value, How…
• code with explanation . make lists Define a function named make_lists with two parameters. The first parameter will be a list of strings (dictionary keys). The second parameter will be a list of dict…
• please help my homework. . Introduction Reverse Polish notation (RPN), also known as reverse Lukasiewicz notation, Polish postfix notation or simply postfix notation, is a mathematical notation in wh…
• def transpose(A): Description: This function computes the transpose of a matrix, A. Assumption: • The matrix, A, will be represented as a 2D list • Do NOT assume that A is a rectangular matrix. Yo…
• Is there any way I can do this without using zip? Also without using any matrix libraries.. Odef matrixmult (m1, m2) : result = [[sum(i*j for i, j in zip (m1_row, m2_col) ) for m2_col in zip(*m2) ] fo…
• 1)  Calculate a 95 percent confidence interval for the “Gross output – Year 3 (Rs)”   2) Define two different measures that you consider most appropriate for measuring the performance of the units. …
• . Consider the following code segment: After the code has executed, int nums1 = { 28, 5, 30, 37, 12, 23, 19, which of the following 7, 35, 9, 34 }; statements are true? int nums2 = new int [nums1 . …
• How to create linear perception model, fit the XOR dataset and Plot the decision region。 The XOR dataset is defined as: import matplotlib.pyplot as plt import numpy as np np.random.seed(1) X_xor = n…
• Map of the Territory Here you’ll replicate something we’ve done in the background code for grading exercises. The input will be several integers on the same line, separated by single spaces. Your prog…
• Hello, these are practice problems given in order for me to practice for an exam. If you could help me with this I would really appreciate it so I can make sure I am prepared for my exam. The program …
• Script Instructions . Create a script named monty_hall. This script should import random, and create a class named Simulation. Simulation should take an attribute, an integer, which represents the amo…
• Here is the questions to solve: you don’t have to explain I just need the codes. Write a Cylinder class to get the desired output as shown below. 1. You will have to create a Cylinder class. 2. You wi…
• How to do thread contention on reference python repy
• Using Python, assume a produce dealer has a warehouse that stores a variety of fruits and vegetables. When fruit is brought to the warehouse, various types of fruit may be mixed. The dealer wants a ma…
• I’ve put all the information here, so don’t leave any comment such as missing information , unless you can solve it. Really need someone who is master in python! thanks   Essay Analyzer Many websites…
• The following command: algos = { ‘search’ :[ ‘DFS’ , ‘BFS’ , ‘Binary Search’ , ‘Linear’ ], ‘sorting’ : [ ‘Quicksort’ , ‘Mergesort’ , ‘Heapsort’ , ‘Bubble Sort’ ], ‘machine learning’ :[ ‘RandomForest’ …
• Your task is to write and test a function which takes three arguments (a year, a month, and a day of the month) and returns the corresponding day of the year, or returns None if any of the arguments i…
• Part A: WORD &amp; LINE CONCORDANCE APPLICATION: The goal of Part A is to process a textual data file (WarAndPeace.txt) to generate a word concordance with line numbers for each main word. A dictionar…
• Write a program to find the attached image edges. (using python ) Attach the output image and the code —&gt; it very important. SCIENCEpho SCIENCEphoto RY SCIENCED RY CEphoto LIBRARY SCIENC AR SCIEN…
• Need help doing an Apriori implementation. The first functions are completed and I can’t get the third one. The data for the function would be a dictionary of transactions like transactions = { “T1”: …
• I am trying to use a a Github repository my PI has set up called “Hyphalnet”, which uses various tools and packages that are linked to it there (like pcst_fast and goenrich) to count and map nodes re…
• My code isn’t working. This is the unedited version without my additions. I need to define these rules of Chinese BlackJack (I found the rules on Wilkipedia): All hands including the dealer must reach…
• 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…
• I need help writing a function  build_instances  that will read the data from the file, create instances of FictionBook and NonFictionBook from the data, assign these instances to a Book list and re…
• This is a big complex python problem for me that I couldn’t and need some help.  1. ask the user to enter the: NAME (A, B, C, D, E, F, G, H, I, J), AGE, GPA (out of 4) and the MAJOR ( CS, CET, CIS, C…
• Design an application that has an array with at least 20 integers. The Random( ) function can be used to populate this array. The application must allow the user to enter an integer value and then ch…
• HI ALL, Write a script (work.sh) which builds an interface with a few options. When the script is executed, the screen is cleared and the following menu is displayed: Main Menu 1. Information 2. Netwo…
• Given the following call to function division: division(13) What output does the following code produce? def division(divider):     try:          if divider == 13:         …
• The Federation University Australia Robot Wars are about to commence! The competitors are busy  training and now it’s time to prepare to sell spectator tickets. Your task is to design, develop and te…
• Assume animist is a list of floats. Fill in the blanks with a python snippet to find the range of the numbers in the list. anumlist is a list of floats. Fill in the blanks below to find the range of t…
• Passwords for the new university computer system must meet the following requirements:  The password must be at least between 6 and 12 characters long  It must contain at least one uppercase let…
• Please help me figure out if there are any mistakes in the code below and if the questions match with the code. If there are any mistakes. Please help me fix them by sending me the proper code. here i…
• I dont know what to do _ Run your program as often as you’d like, before submitting for grading. Below, type any needed Develop mode input values in the ﬁrst box. then click Run program and observe …
• 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…
• Hi, I need help below. I got the error as following: File “/home/workspace/adjust_results4_isadog.py”, line 82, in adjust_results4_isadog if results_dic[key][1] in dognames_dic: IndexError: list index…
• How would I write the pseudocode to process the tasks for dice roll? For the first module, write the pseudocode to process these tasks:  (Note: lines beginning with # are comments with tips for you) …
• using nearest neighbor, classify and print the Body Style of the following Car: Honda, 5.3, 4.4, 5.6, 2.9,4.7 I already have the minkowski distance matrix but I am unsure of how to answer the above qu…
• def get_file(): def ends_with_new_line(filename): def numbers(filename, max_number): def squares(filename, max_number): Please give examples of each. The file contents should look like. Since this is …
• Please use this code matrix, and provide steps behind code. Thank you. CostMat = [[0,6,8,6,7,3,5,2,3,2,5,5,4,4,5,8,7],[6,0,6,3,2,5,7,4,7,8,11,7,6,8,11,10,13],[8,6,0,9,8,5,3,8,5,8,5,13,12,12,9, 16,9],[…
• Can you help me with this in PYTHON programming about File Handling. Please add all up the word count  example:  sample.txt Can you help me with this in PYTHON programming about File Handling word c…
• HELP ASAP! I WILL RATE ! TESTING CODE !! MUST USE IT class Athlete :     def __init__ ( self , activities) :         for a in activities:   # Ensure passed activities are on the sport’s list  …
• Question 2 Create a python module first.py and write a function square_plus_one(num) that simply squares the input num and adds one to it. For example, square_plus_one(2) – 5 and square_plus_one(3) = …
• Python Question. 4. (6 pts) The following two functions each determine the distance between the two closest values in list 1, with 1en(1) = N. (a) Write the complexity class of each statement in the b…
• I am stuck on def play_madlibs(madlib) and def get_random_madlib() in the following code. The docstrings are what the function is supposed to do, but I am unsure how to write the ones listed above. He…
• Could you help me figure this problem out with Python and SpaCy?. Task 3.1.4: Complete function extract_events1 The function extract_events takes the doc object generated by spacy with huggingface/neu…
• Start with the following Python code.    alphabet = “abcdefghijklmnopqrstuvwxyz”    test_dups = [“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]  test_miss = [“zzz”,”subderm…
• would you please tell me how to do questions 4 questions and the file is from excel also the excel information is too much I can’t take screen short I need you to show me every question how to working…
• Mandelbrot Set (50 Points) BACKGROUND: Consider the following iteration Ent1 = Zn +c (1) where zi, c E C, and suppose zo = 0. Depending on our choice of c, the iteration (1) will either be bounded…
• Please add comments to explain the steps.. Create a Python script ﬁle (named error_handling.py) that demonstrates several kinds of errors including, a syntax error, ﬁle-handling error and…
• I need it in simple coding please and explain every step.. LOL 8. Lee has discovered what he thinks is a clever recursive strategy for printing the elements in a sequence (string, tuple, or list). He …
• Warmup: We’ll warm up by writing tests for an existing function. Take a look at the function in parentheses.py and write unit tests for at least two test cases for it in a file called parentheses…
• # review and run example using \n (new line) print (“\\\WARNING!///”)
• Project Description We manage to obtain the sales data of around 100 products for around 60 days in an ecommerce company. Some attributes of products, customers and the day. We have done the preproces…
• help please 4. Given a string 5 with odd length: (9.) Write an expression to print the middle character. (b) Write an expression to print the string up to but not including the middle character (1.4.2…
• Explain the meaning of the error message produced by the following code, specifically as it relates to this code. Suggest how you would overcome the error without using exceptions handling. The error …
• Create  a genetic algorithm  using python  to find global minimum lowest potential energy  of a 5 atoms cluster  they interacting with the law    rij distance between atoms  place the atoms in…
• Consider the following specifications. a) Greets the user. b) Asks the user to input a 1, 2 or 3. c) Given the input, reads in the appropriate datafile and displays a stem-and-leaf plot. a. Note: This…
• Write a program in PYTHON 3 that does the following: Generates random strings of string length  m  at random in between 1 and  max  ( 1&lt;=m&lt;= max ). The length  m  is stored as a variable…
• Describe the difference between objects and values using the terms “equivalent” and “identical” Describe the relationship between objects, references, and aliasing. Again, create examples with Python …
• Define a function “getNewBase (df, list2)” that accepts a DataFrame “df” and a list of integers “list1”, and returns a new DataFrame equal to “df” but only with the columns that appear in “list1”
• How do I write Python program to accept a string and return all words in the string that are enclosed in quotations marks (single quotes or double quotes). For example: Enter a sentence containing a w…
• Complete test_get_last_syllable_empty with your unittests. For each test method, include a brief docstring description specifying what is being tested. For unittest methods, the docstring description …
• Question 1) Single screen with information about a the 2020 Olympics Please help, how to an application using PyQt. where a user must enter the name of an Olympic sport and a single character, example…
• T/F A pair can be constructed using list objects. 2. T/F A sequence must support element selection. 3. T/F List Comprehensions enable many sequence processing operations expressed by evaluating a …
• In the textbook Intro to Python for Computer Science and Data Science I working on exercise 13.1 in chapter 13. The question says: Twitter is truly an international social network. Use the Twitter Sea…
• Activity 1:  Let’s review these operations first: str1 = “python” str2 = ” rocks” str3 = “!” str4 = str1 + str2 str5 = str4 + str3 * 3 #What is str5?  We can also instruct the computer to search for…
• Python CLI and Dynamodb query Question – How do you create a python command line simple interface that allows a user to query search a created table in Dynamodb with their input at the command line? 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.pytho…
• Encrypting with Box The headline feature of the original NaCl library is Box, or crypto_box as it’s called in C. It combines the XSalsa20 stream cipher and Poly1305 MAC with elliptic curve Diffie-Hell…
• The code below takes the list of country, country, and searches to see if it is in the dictionary gold which shows some countries who won gold during the Olympics. However, this code currently does…
• Wwhich code do I use to automate the creation of directories and files in python
• Question 1 what purpose are high-level programming languages used? Question 2 What is one similarity between low- and high-level programming languages?   Question 3 How is a high-level programming la…
• # PURPOSE: Scan ports on 127.0.0.1 to determine which are open #     and which are closed. import socket import pickle import sys from urllib import request # Do not modify this function. def get…
• def my_all(my_list:List[int])-&gt;bool: “””Our version of the all function. https://docs.python.org/dev/library/functions.html#all This function takes a list, and returns True only if every element of…
• The following algorithm must be performed in Pseint: Help! I need it already done in Pseint please!! *Nuevo documento de texto: Bloc de … Archivo Edicion Formato Ver Ayuda Write an algorithm that, g…
• what is the solution of the following questions? (5 points) Write a function transitive closure(A) that computes and returns the transitive closure A+. You may assume that A is a 2D list containing on…
• can you explantion this question and find correct answear for me. Program 2 – Superhero Results: Learning outcome focus: Decision Structures File name: a1_2_superhero.py This program helps determine t…
• Need help with code on the following assignment. Part III: Do the Faro Shuffle (4 points) A Faro shuffle is often used by stage magicians to rearrange the cards in a deck. The deck is split in half, a…
• Suppose we are given a large bag of 3-letter words where each word might have many duplicates.  We would like to pick a certain number of “different” words from the bag. Therefore, every time we pick…
• How would the code be typed when dealing with position and coordinates for the following def’s? If possible, can you walk through the steps needed to achieve the code for better understanding?. def fi…
• Create a program to calculate the number of seconds since midnight. For example, suppose the time is 1:02:05 AM. Since there are 3600 seconds per hour and 60 seconds per minutes, it has been 3725 sec…
• Hey guys! for this question, I need to write a code that will check for valid directories from this given URL: https://www.secdaemons.org/ I need to use this text file to check to see if the listed di…
• Task: write a Python Code function that Takes as Input a FASTA File like the one on the Right and gives as Output what is described in the red writing on the left. Thank you.. ] : def find_long…
• scraping news data from some news websites using beautiful soup
• I have been given a problem and am struggling to work it out as we have to use openpyxl and we are not aloud to use pandas to solve it. The question is below: 1.) Open the ClimateData.xlsx workbook an…
• The assignment is to get an integer from input, and output that integer squared, ending with newline. (Note: This assignment is configured to have students programming directly in the zyBook. Instruct…
• so i need help coding in python…. i have broken it down to steps and have already assigned variables. Steps User will input a given strain within the data range of 0 &lt; x &lt; 0.27. Stress and the…
• Give the tightest simple polylogarithmic bound in big-oh notation for the computational complexity function below. 2) Assume i and j are vertices of a tree T. How many paths can T contain from i to…
• ks My library &gt; IT 140: Introduction to Scripting v3 home &gt; 5.2: Parameters zyBooks catalog ACTIVITY J.Z.Z. basic Tunicton Call. Complete the function definition to output the hours given minute…
• can you help with this code?  . LAB ACTIVITY 4.17.1: LAB: Seasons. E ZyBooks catalog Help 4.17 LAB: Seasons Write a program that takes a date as input and outputs the date’s season. The input is a st…
• . Consider the following two-point BVP with mixed BCs: -u”(X) = for), x 6 ((1,1)), W!) = a, u'(b) = .3. Let U E Dh denote the numerical solution we wish to construct to approximate u at the usua…
• I just need help with the python script at the bottom of the instructions. we only use more simple python commands for now go to OPS245 WIKI by Seneca and you can see what we use  . New Tab * *Course…
• Analyze Earthquakes The National Earthquake Information Center (NEIC) determines the location and size of all significant earthquakes that occur worldwide and disseminates this information immediately…
• Fill in the blanks in the code so that the program produces the expected output.   n = 3   for i in range(2, 5) :     n = Answer*n  Answer   i print(n) OUTPUT: 6
• Please kindly do a quick and perfect work. Describe the difference between objects and values using the terms &quot;equivalent&quot; and &quot;identical&quot;. Illustrate the difference using your own…
• (32 points) This question considers decision tree learning for classification: (a) (8 points) Define Gain ratio and Gini impurity as a splitting criteria for constructing decision trees. For Gini i…
• would you please tell me how to do question 2 and 3 then tell me what is code is it ? Thank you helping me     . Question 2: Write a program in which you ask user to enter a string in a loop. if us…
• How do I use annotations or the plt.arrow function to display an arrow between two connected points? Similar to this graph but with two connected points on each side:  . 1.0 0.5 0.0 -0.5 -1.0_ -2.0 -…
• Tic-Tac-Toe is a two-player game played on a 3 by 3 grid. Players (represented by x and o) take alternating turns trying to place three of their letters in a line horizontally, vertically, or diagonal…
• Python help: lists and data frames   Convert the list in code to a dataframe or a series.   Replace the list in the PeriodicTable with a dataframe and fix any code that gets broken by the insertion …
• \Explain how your pseudo random numbers are produced. Generate 10,000 pseudo random numbers. What is the min, max, and mean? Does that make sense? Find on the D2L a text version of War and Peace by Le…
• Need to create the module and that you can call the modules from another file. Have to be 2 files Python my_main.py my_module.py  The main program will import the module. The module will have 3 funct…
• Food consumption The task in this last part of the assignment is to analyze the data on food-consumption behavior. Several CSV files are provided with this assignment that contain data regarding which…
• Complete the read_movie function for the Movie_utilities module. Sample data: Dellamorte Dellamore |1994| Michele Soavi |7.2| 3 , 4 , 5 , 8 Test Movie_utilities.py:  def read_movie(line):    “…
• This is all I have.Need help with the bolded questions below  Customer segment is dependent variable which is also y  X = dataset.iloc[:,0:13].values y = dataset.iloc[:,13].values from skle…
• Please provide the code (with explanation) for Part 2 Task b : a function that find pivot def equation(i, data, y) def least_squares_predictor(data, y) use those code to complete task b (gaussian elim…
• Write a Dictionary that converts English numbers to French, one through five. (That would be un, deux, trois, quatre, cinq.) Ask for user input for an English number, and output the French one. Print …
• Hi, I would need help in implementing my project by using the flask application using pycharm python. This is my project requirements. Currently, I am creating a ticketing shopping cart inventory usin…
• Write the code for a filtering that generates a list of the positive numbers in a list named  numbers . You should use a  lambda  to create the auxiliary function.   Can I please get a detailed ex…
• intro to programming python, I couldn’t get the code to run, please help, edit or fix or come up with another code for this function. firstly you gotta &gt;&gt;&gt; from cs103 import * pdf/#doc/qa NEW…
• Does the program below the instructions meet all requirements? What can I do to make Requirement 4 better? Is there anything that I can add for it to meet the requirments better?   print(‘\nRequireme…
• USING PYTHON 3 I need help incorporating this feedback into my code. The script I have written DOES work, but it is not what my teacher is asking. I am unable to go back and reread the book due to onc…
• We are trying to test a function called validateEmail. The purpose of the function is to take an email address as a string, and either return a tuple of the local part and domain of the meail, or rais…
• Run Final.py three times with three separate inputs: your name in quotes, 5+9 in quotes, 5+9 without quotes.  Write down or capture the resulting outputs.  Explain what is happening, and why it …
• Hi, can you please look over the task provided and create the code needed. Thanks, driver.py and other test files are at bottom of question. &gt;Background With the emergence of Internet companies suc…
• Writing a function to spilt “Energy” dataset into training and…   Writing a function to spilt “Energy” dataset into training and testing data. Parameter input: StartYear: int (default value = 2012)…
• NOAA makes available a dataset of monthly mean sea surface temperature (SST) from 1850 to 2019: https://psl.noaa.gov/data/gridded/data.cobe2.html, specifically this file. Questions: What is the mean…
• Just this, let me know if you have any issues, thanks!. In this program, we will be working with command line arguments and redirecting inputfoutput. This program should: 0 Have three files, prog9.p~,…
• Need help solving this using python 3. thank you 7.26 LAB*: Program: Online shopping cart (Part 2) This program extends the earlier &quot;Online shopping cart&quot; program. (Consider first saving you…
• Currently working on a simple python script that will work through a list and append a value to each item. In this case it’s meant to take a string of a playing card and assign it a numerical value. U…
• Please help with an example problems 1 and 2.   1. Create a generator that returns Fibonacci numbers. 0, 1, 1, 2, 3, 5, and so on. Must pass the test below and work infinitely if needed. 2. Create a …
• Instructions to Candidates: Answer all questions in Section A and any two (2) questions in Section B. SECTION A Answer ALL questions in this section. Consider the following flat file database: cust na…
• python b). Consider the following system of differential equations: dR = aR+ bJ, dJ dt dt = CR + dJ. We can regard this as a simple model for the dynamics of love between Romeo and Juliet, where R(1) …
• Coding: Given a SQLite database “orders.db” containing a table named “ProductOrders”, write a python program to complete the following tasks step by step. READ ALL TASKS BEFORE STARTING.  1) Connect …
• Question 1. Let’s start by loading the Fama-French 5-factor data into a Table using a string containing the URL. In [ ]: ff_url = ff = … ff Question 2. The Mkt-RF column contains excess returns of t…
• Show the content of the following list at the end of each iteration of (the main loop of) Insertion Sort.  [8, 2, 6, 2, 7, -1] Use one line per iteration, with the final line being the sorted list.
• Briefly describe 3 ways that lists and strings are similar.
• Consider the following dataset of exam grades, organized as a 2-D table and stored in Python as a “list of lists” under the variable name, grades.   grades = [     # First line is descriptive heade…
• Question: You as a ML expert have to cluster the countries based on various sales data provided to you across years. New DG Food Agro are a multinational exporter of various grains from India since ne…
• I don’t know why my output of a correct answer is coming out as “wrong”. Please see code below import random #the main function def main():   print   #initialize variables   counter = 0   stud…
• Translate this from MATLAB code to Python code: w=[-2 1]; b = 0; a = hardlim(w*[1;1]+b)
• 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…
• 3. Decoding Phase Make sure you read and understand the material in the Introduction section, otherwise this may not make much sense.
• use the model.predict function to find the predicted value for internet_usage using the bach_percent value for the predictor
• Implement a program that requests from the user a list of words (i.e., strings) and then prints on the screen, one per line, all four-letter strings in the list. &gt;&gt;&gt; Enter word list…
• I need help with #3.. EXERCISE 3 – Create a program that takes a list of lists # my list = [ [1, 2, 3] , [4,5,6] , [7,8,9]] # and reverses the list along with each sublist # my list = [[9, 8, 7] , [6,…
• You wish to back up your DHCP server configuration by using python script. You may let user enter options: a. enter backup destination folder/file name. b. default to /tmp/backupDHCP.txt
• 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…
• provide a python code field that indicates if patient age is above average in the data. Hint: you will need to come up with the strategy to calculate the average. One way is to calculate the mean…
• import unittest # Part 2.0 def substring(sub: str, s: str ) -&gt; int:     start = 0     end = 0     while start &lt; len(s):         if s[start + end] != sub[…
• Assignment Exercise 1:   Using the following list, do the following: Sort it in ascending order Print out the smallest value in the list Print out the largest value in the list [15, 70, 15, 38, 49, 9…
• Returns the given list without duplicates.    The order of the returned list doesn’t matter.    For example:    – If we call remove_duplicates([1,2,1,3,4]), we’ll get [1,2,3,4] in return    – …
• hello I am really stuck with this question, can please ask if you could help me, especially the actual python code. thank you in advance This question is about Block 2 Part 2. It assesses your abilit…
• 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…
• . A text file named address_book.dat is stored on a computer’s hard drive. In a text editor the file displays the first few lines of the file (note that the first line contains a header). Name Stree…
• Start Jupyter Notebooks server Open Jupyter Notebooks in a browser Upload the Data_Position_Salary.csv file to Jupyter. (link below) Using the pandas read_csv method, parse the data and assign the res…
• Project on Random numbers and stochastic experiments. Using Python with anaconda distribution, spyder CALIFORNIA STATE UNIVERSITY, LONG BEACH EE 381 – Probability and Statistics with Applications to…
• Is the R-squared measure a good measure of performance for a classification model using Linear Regression? a. No b. Yes 2.What function should you use to train a regression model with Python and sklea…
• userNum = int(input()) userNumSquared = userNum + userNum # Bug here; fix it when instructed    print(userNumSquared, end=’2′) print (userNumSquared)
• Could you help me, solve the question using python? 2. Consider the solid bar below. To 40 To -E The temperature of the bar is maintained at the constant value To at the boundaries x = -1 and x = 1. I…
• Can someone explain to me what I’m suppose to do with the following statement. Don’t need answer just explained. The Math functions and values range of x-values are described below: a. Generate x, sin…
• 03 – How Well Known Can They Really Be? 10 coding python Return the well-known ports as a list of integers. Ports 0 through 1023 are considered well-known. def q1( ) : pass
• Write Python Script where script will look for availability of .XLSX files in any given path/folder and then script will open those .XLSX files and save them into another any given path/folder.
• need help for below question: Here is the test file: “”” import introcs      # For assert_equals and assert_true import func         # This is what we are testing def test_second_in_list():   …
• Need help with Python code for Q8 .   This is the google drive w/ the CSV:   https://drive.google.com/file/d/1ld_djsg9bqqEZ6ucF080EnTJXYqSZ7VJ/view?usp=sharing   Homework 1: Import, Read, &amp; Exp…
• Can someone try and help me write this program or provide a general outline. We are only allowed to use basic python programming functions so please try to keep as simple as possible. Please put all c…
• Code： “”” Assignment 1 question 4 the MyComplex class   note: To get autograded on gradescope, you program can’t print anything. Thus, please comment out the main function call, if you are submitti…
• Select the correct data type for the following string:   &gt;&gt;&gt;PatientDirectory={1:”Smith, Robert”, 2:”Jones, Tom”,  3:”Baker Carol”, 4:”Gold, Burt”}   a. Dictionary     b. Boolean     c…
• Lists and dictionaries in Python are similar in that they are both used to store a collection of other data. In many cases, a programmer could use either one effectively to achieve a particular goal. …
• Solution has been attached, please explain how to approach the problem and how to get the answer. practicemtsols.pdf X + &lt; -&gt; C D https://d1b10bmlvqabco.cloudfront.net/attach/jwsifmrdirb540/hzdi…
• Project 4: Coffee Machine C5 1410 Background In this project you will implement an object-oriented design that simulates a vending machine that dispenses different types of (old—fashioned) coffee a…
• This exercise is part of the ‘GCDE Week 5 Exercises – Advanced – untimed’ exercise set. If you get stuck on this exercise, you can click here to skip to the next unfinished exercise in the set. A …
• Please help with question 2a and 2b. All of the code up to this point, including the link to the data, is in the instructions box below, thank you for any assistance!   . 1.4 Question 2: Looking for…
• Need help implementing these modifications in my base code and making the necessary changes per the instructions. Please use the “dictionary” and “base code” at the bottom as the reference. Please use…
• Hey, if anyone can help me get a solution to this probrem using the blocks (from the drag from here box) would be amazing!!  . aded Parsons Problems Problem Statement Write a function filter_sequence…
• Need help finishing my code. In my game you can move room to room and collect the puppies in each room.  You must have all the puppies before you can take on the villains ‘Horace &amp; Jasper’ in the…
• 101 – Python Activity 10 coding python core Given a linux file mode (permissions) as an integer, return the permission string that the mode represents. Example 1: mode = 511 511 == 0b111111111 permiss…
• What will be the output of the following Python code snippet? X=”hi” print(“05d”%X) a) 00000hi b) 000hi c) hi000 d) error 2. What will be the output of the following Python code snippet? X=”san-fou…
• Print the numbers 1-10 using a loop. 2) Make input verification loop that will only accept one of 1,3,7,9. 3) Loop through all the items in prices, calculate the total cost of the purchase with tax…
• Need help with following python programs please. Wri te the pseudocode for a function named validateGuess that accepts an integer parameter called guess. This function should validate the parameter as…
• Assume choice references a string. The following if statement determines whether choice is equal to ‘Y’ or ‘y’: if choice == ‘Y’ or choice == ‘y’:
• I’m having trouble finding the syntax /logical errors. //T his program continuously prompts a user for miles driven until 0 is entered. While miles are not 0, gallons are entered, and Declarations mpg…
• My assignment: Select at least two comparative reviews from the Reviews file and apply the Liu Chapter 8 techniques to summarize them in a brief report.  Report the ID or the reviews used. Use the 6-…
• PLEASE HELP ME ANSWER THIS WHOLE PYTHON PROGRAMMING QUESTION USE Bivariate Barplots Activity 1: Import Modules and Read Data Make a Pandas DataFrame using the below link which has the dataset of Tips …
• Using Jupyter notebook: From the combobox I want to select an item and in text box I want to display the data type of the selected item. Please refer the below image to get an idea of my layout and wh…
• The Fibonacci sequence is defined as follows for a non-negative integer x : f(x)=⎧⎩⎨1,1,f(x−1)+f(x−2),if x=0if x=1otherwisef(x)={1,if x=01,if x=1f(x−1)+f(x−2),otherwise   So, f(0) =…
• Hometown City USA is analyzing traffic patterns to determine whether trafficlights are necessary at tracked intersections. Each tracked intersection has adata file where each line contains the numb…
• 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) contained in t…
• Python program: Use local search to solve the n-queen problem. Compare its performance with arcconsistency for 1000 queen problem
• Python question: For a dataframe, the column ‘event’ contains the rows which has a format of “LA Clippers 2019-2020 Game 07 – Dallas – 12/20/19”. How do I extract ‘Dallas’ (or the cities) from each ro…
• 26 LAB: Simple statistics   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 fl…
• Hello there, the shopping list has to let the user add, list, and delete items *The program should be modular*. For example, you will want to have an add_item(shopping_list) function, a delete_item(s…
• It should be clear which parts below are user input {not printed, but entered by the user}. Notice that the menu handles uppercase and lowercase letters. Welcome to the Market Garden Simulator Plants …
• How would I go about defining this function? I’m not familiar with the python syntax. Guidelines I have to follow.
• what is distraction what are effect of distraction and example
• import socket import sys from datetime import datetime sock = socket.socket(family=socket.AF_INET, type=socket.SOCK_STREAM) remote_server = input(“Enter a remote host to scan: “) remote_server_ip = so…
• coding in Thonny software. 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 Ross…
• In this assignment, we will practice document similarity. First, we are going to scrape philosophers’ biographies from their Wikipedia page and construct a corpus of documents. Then, we’ll match ever…
• FBTO015 Import the dataSensor1 . txt to Pandas DataFrame and display it as shown in FIGURE Q2(c). SensorID City PressureReading 101 Ipoh 360.5 102 Malim 400.5 103 Klang 678.7 104 Tapah 859.6 FIGURE Q2…
• Describe, with examples, the function of a naming service for a largescale distributed system. Include definitions for “name space” and “naming domain”. (b) Discuss consistency versus availability for…
• 4 alphaBeta (logic) (20%) Criteria Points (Game over) Returns a null move and the appropriate score 2 constant for board’s end state (Non-end state &amp; depth = 0) Returns a null move and the 2 heu…
• Worth 1 point Checkpoint 5.41 Write a statement that uses a math module function to convert 45 degrees to radians and assigns the value to variable angle. Type your program submission here.
• I’m using python A palindrome is a word or a phrase that is the same when read both forward and backward. Examples are: “bob,” “sees,” or “never odd or even” (ignoring spaces). program whose input is …
• Python Numpy    I need to make a histogram for the first and second columns respectively.  Here is my code. I got plots not a histogram. As I know, in a histogram, each bar should be touching but m…
• Programming tasks with your group members 1) Let us continue our password problem from last group assignment. For security issue, mos websites will ask the user to create a password with multiple c…
• Suppose we want to allow 2 or 3 players to play a dice game with a fair 6-sided die. The player with the highest dice roll wins. If there are 2 players with the highest number, they both win. If there…
• 6 Warm up: Parsing strings (Python 3)   (1) Prompt the user for a string that contains two strings separated by a comma. (1 pt) Examples of strings that can be accepted: Jill, Allen Jill , Allen Ji…
• Question 20: Find Input from Output: Loop Analysis Input a value for arg_list with at least 3 elements such that rval is 5. arg_list = def list_func(li, x) : for i in range (len(li) ) : if li[i] == X:…
• Your objective is to create and test a function called create_random_table that accepts a number of rows, a number of columns, a min value, and a max value and returns a new table with these dimension…
• Write a Python script that allows a user to input three exam scores. Display a congratulatory message if the average exam score across all three is greater than 95%. Your solution should follow these …
• ~ lab5.py – FA\CSC108\lab5.py (3.9.7) 0 X lab5.py – FA\CSC108\lab5.py (3.9.7) 0 X File Edit Format Run Options Window Help File it Format Run Options Window Help Copyright (c) 2021 Michael Liut, Haoch…
• Hi, can you explain how to fix this code? Please don’t copy the answer from other websites. Thank you! Write a function called total_nums that takes a file handle as a parameter. The function reads th…
• In Python:    A program that accept as input a string with a set of numeric grades with at least 6 grades using this format (“65, 70, 90, 40, 80, 85”). If the user enters anything other than numeric…
• Evaluate the following numerical expressions in your head, then use the Python interpreter to check your results: 1. &gt; &gt; &gt; 5 % 2 2. &gt; &gt; &gt; 9 % 5 3. &gt; &gt; &gt; 15 % 12 4. &gt; &…
• Hello, I need help with creating the function bootstrap_pred # ### Calculating scores # The function &lt;font color=”blue”&gt;bootstrap_pred&lt;/font&gt; takes as input: # # 1. **Training set** # 1. *…
• Question: Your boss has asked that the update center around Odenton’s data frameworks, and explicitly, getting the cycles for installments of administrations. Presently, the Odenton Township workplace…
• “Instructions” Solve this question without using builtin library.   Function can take as a perimeter is unlimited. (Nolimit/range)
• Write a function 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 list &gt;&gt;&gt; s = …
• Given the list a=list(range(10))  which of the following is the the correct slice using a[2:9:3] I. [1, 3, 5, 7, 9] II. [3, 6, 9] III. [1, 4, 7] IV. [2, 5, 8]
• Create a program in Python for The Bubble Sort (Algorithm 4)
• This part of the project requires you to do some research. You may choose either to research your major field’s use of python (for example cybersecurity examples if you are studying cybersecurity) or …
• In this lab, we will write simple Python programs for two of the problems similar to problems covers in the text and lecture.  Problem 1: (20 points) You are given three numbers, and you want to find…
• Help me finish up this code using backtracking. First code is about n-queens problem. I need to code a function to check whether each queen is attacked by other queens in the board. Output of the whol…
• python programming Assignment : Programming with Python Due Date: September 7th,11:55PM General Instructions: Please make a note of the instructions below before submitting the Assignment: 1) All subm…
• Get the sum of all the columns in my_list below is the  my_list i put my code of sum(my_list) and get this error to find the sum of all the columns. i should get that list on the bottom as the result…
• Stuck on this: Make a program that first reads in the name of an input file and then reads the input file using the file.readlines() method. The input file contains an unsorted list of number of seaso…
• Can someone help fix my python code I do not get the correct output here is my code #Defining the function create() def create():    #open the file    grades_file = open(‘grades.txt’,’w’)    …
• Hello, I need help solving this Lab simulation, It uses Name format for String and Files statements and I am very new at python on so I need help solving it. It is very difficult. It is very confusing…
• def 10 : msg = &quot;Enter days late: &quot; d – int (input (msg) ) return def (days, replacement fee = 0 if (days &gt; limit) : print ( &quot;You must pay $25 to replace this item.&quot;) replacement… • Can someone please solve this for me so I can learn from it, I have no idea how to do it, please help. Needs to be done in Python in Jupyter Notebook. Link to datasets(csv files) —&gt; https://go… • My question is related to pandas data cleaning . I have one csv file in that all the data is maintained. 1 Read the file data.csv . 2. Create a view of the dataframe containing the columns: ‘Create… • Domain – Media focus – optimize selection process Business challenge/requirement Motion Studios is the largest Radio production house in Europe. Their total revenue$ 1B+. Company has launched a new r…
• Using Python , Subject is Object Oriented Programming …
• Function Task 2: Subtract Define a function called subtract(num1, num2), which takes two numbers as input arguments, and returns the result of subtracting num2 from num1. Example Function Call: subtra…
• Can someone please help fill in only the AI Section and Main Loop Section, rest has been done. Just need to convert pseudo code to Python Code. P.S. I would appreciate if CoachEagle can do it, as the …
• Write multiple if statements: If car_year is before 1968, print “Probably has few safety features.” (without quotes). If after 1971, print “Probably has head rests.”. If after 1992, print “Probably ha…
• Now, we are going to put these together. Copy your code from the previous checkpoint to a file called check3.py. As in checkpoint 2, you will ask from the user a starting point: file number, paragraph…
• . In this problem, you will create a function that automatically converts a numerical grade into a letter grade using logic flow. . First, define a function called grade_converter () with an input a…
• pyhton programming. Text-Based Adventure Game Next, let’s create a simple text—based adventure game. There is no real goal of this game, except that you will enable the user to explore a world of …
• 13 LAB: Count characters   Write a program whose input is a string which contains a character and a phrase, and whose output indicates the number of times the character appears in the phrase. Ex: I…
• Project Three: Event Scoring You are working for a company that is responsible for determining the winner of a prestigious international event, Men’s Synchronized Swimming. Scoring is done by seven (7…
• Question 1.1 (1 point) Assign ucsd to the DataFrame that results from setting the index of ucsd_admissions_raw to ‘ID’. Question 1.2 Acceptance rate is defined as Acceptance Rate= # Admitted /# Applie…
• . from graphics import * Program: C5 115 Lab 3 Part C Author: Your name Description: Using the graphics package, this program will draw a number of circles. def main (): window = GraphWin( &quot;Cir…
• Hi, can you explain how to fix this code? Please don’t copy the answer from other websites. Thank you! 3. Write a function file_analysis that takes a file handle as a parameter and returns a list of t…
• Need help with the below python questions: Q6 – 7: Q8: Q9: Q10 – 13: Problem 10 Referencing the code above, what does the following line do? If index = 6 End if print &quot;Sorry we did not find your …
• Python Programming Problem 1 Writ a program that counts all the vowels in a string. The program should allow a user to enter a string input and print out a number response. Problem 2 Writ a function t…
• Assign sub_lyric by slicing rhyme_lyric from start_index to end_index which are given as inputs. Sample output with inputs: 4 7 cow start_index = int(input()) end_index = int(input()) rhyme_lyric = ‘T…
• Pick a PowerShell command and elaborate on how it can be used in a Server 2016 environment. Explain if there is a comparable way to do the same thing at the Command Line in Windows or by using the GUI…
• HELP A Patchwork Sampler  Your task is to write a program to display patchwork samples, of the form given below: A patchwork sample is made up of patches of two different designs. Patchworks are squa…
• computer program that determines whether or not two Latin squares are orthogonal.
• . 9:01 97 9 98% Programming upload the Python program for the following: Answer program for Leap Year and Fibonacci series Choose either of the prime numbers problem Write a program that will input …
• Need help with writing the code(attached): Exercises @® @ Exercise 5: Numbers in Range Write a program that will use the variable x to represent a positive integer. The program will determine if x is…
• I need Python Programming for the following: Read in the file forestfires.csv. Create a new data frame X from the columns FFMC, DMC, DC, ISI, temp, RH, wind, and rain, in that order. Calculate the cov…
• The program should first ask for a student’s name, then her/his score on a single test; this process will be repeated until all grades are entered. Note that …
• ‘il’ilhvr we do Regularization when we train an optimization based mode? C) To improve the result accuracv and F1 measure on the Test Data. C) To improve the speed of convergence in Gradient Desce…
• What is split used for? How does one import modules in python (there are three ways)? Please research and explain in a substantial manner.
• Assuming there are no accidents or delays, the distance that a car travels down the interstate can be calculated with the following formula: (10 marks) Distance = Speed * Time A car is traveling at…
• I need help figuring out the values in the picture from the list. challenge4 = [323, 331, 323, 336, 319, 330, 322] Also inscribed on the treasure chest is the String &quot;treasurelieswithinthischest&…
• Your script will generate a report that contains the following information. 1) Unique URLs of all the pages found on the website 2) Unique URL links to images found on the website 3) Extract and phone…
• With respect to visualizing “network” data: How do “force directed” algorithms work, when plotting network data. Why are these useful?
• The objective of this assignment is to learn about regular expression concepts, syntax, and application.   Imagine you are helping clean data for use by an analyst, and they wanted to screen out ICD-…
• 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…
• Python program to determine the body-mass index of a collection of six individuals. The program should include a list of six names. Using a forloop, it should successively prompt the user for the hei…
• b) The function values in the points of computation are computed for every single point of computation and placed into a vector, p, by using a for-loop. Do the same for p(a), but remember to use a dou…
• Implement following binary-search tree functions: – search(key) – insert(key) – delete(key) – print_in_order(): prints the keys in the binary tree in ascending order.
• Prompt the user to enter two words and a number, storing each into separate variables. Then, output those three values on a single line separated by a space. (Submit for 1 point) Enter favorite co…
• this is simple python programming questions, using simple form to solve it is ok thanks I’Mlike Your kinisn’t In this problem in the &quot; Kevpull. py&quot; file ) I’m a kenible typist , especially w…
• 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 …
• Premise: Tracy has a file that contains a list of actors and the movies in which they acted. She wants to know the top 3 ranked actors from her list whom have acted/appeared in the most movies. ACTOR…
• Question 4 (10 points) Which of lines of code is wrong? O O!= O &lt; &gt; Next Page Page 4 of 10
• class GroceryItems : def __init__ ( self , quantity, unit_price, weight, price_per_pound) : self .quantity = quantity self .unit_price = unit_price self .weight = weight self .price_per_pound = price_…
• py class Queue : from LinkedListNode import LinkedListNode as __ourLinkedListNode # # Protected Class Attributes # _ourErrorReturnItem = None # # Private Accessors # def __firstNode(self) : retu…
• Did not do well in this question from a previous assignment, kindly share and explain the solutions for future references.. Design the function count_shows_before_date that takes the following two arg…
• I need some help with the following questions: QUESTION 21 class Student:     def __init__(self, my_id):         self.__id = my_id        def get_id(self):         return sel…
• Discuss the differences among the types of speech contexts using the graphic organiser below
• CHALLENGE ACTIVITY 4.8.1: Indentation: Fix the program. Retype the below code. Fix the indentation as necessary to make the program work. if ‘New York’ in temperatures: if temperatures [ ‘New York’ ] …
• 3 part Python Question modifying given code !! Really need help! Will rate answers!! Part 1: type up the above in my_function_plot.py and add code for second function g(x) =x^2 to get a plot like Part…
• . Binary Search Binary search is a relatively quick algorithm to find an index within a sorted (non-decreasing) array, whose value is equal, or almost equal, to a specified value. Thus, you define t…
• The question is…… Who is most likely, on average, to also have a loan: those with an admin job, a blue-collar job, or entrepreneurs? See attachment for complete guided exercise so you can get an i…
• I need some help to generate 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
• how can we implement unordered list class OrderedList: def __init__(self) : self. head = None def add(self, item) : current = self. head def search(self, item) : previous = None current = self.head st…
• hello, I am having issues with the win condition of the game where if the player has guessed the correct word, it will not display the win message without pressing enter one more time. It also does no…
• Write a class named RetailItem that holds data about an item in a retail store. The class should store the following data in attributes: item description, units in inventory, and price. Once you have …
• what is the answer What would be the output of the following program? Please note that the operation x % 10 (i.e., x modulo 10) is always the same as the rightmost digit of x (e.g., 123 % 10 = 3). CC …
• In jupyter Mapping Function to Iterables show a function that takes any email string (..q@wwww.xxx) as the input , and returns the domain name of the given email. (Hint: Consider regular expression pa…
• Write a program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither. The input begins with an integer indicating the number integers that fol…
• can you please help me q1   NB: the links provided are optional you can either use codes provided in the links or the codes provided in the images below     a quick optional way to a program code a…
• keyword = “\\” ID = [] for i in range(0,len(Job_data[‘filenames’])):    before_keyword, keyword, after_keyword = Job_data[‘filenames’][i].partition(keyword)    before_keyword, keyword, after_keywo…
• Please show work! 6. The following program intends to print the integer value of a letter (character) along with the corresponding letter, separately for uppercase first, and then lowercase. The outpu…
• Write a program segment that uses a single while() loop which executes its loop body five times, each time displaying a random digit from this set of values. { 1 , 2 , 3 , 4 , 5 , 6 }
• Please help me with my python 3 code import math # @param seq a list of numerical values # Precondition: the length of seq &gt; 1 # @return a list of numerical values with precision 5, # where the ele…
• explain the selection sorting algorithm. Given the following list of numbers L =[86, 36, 99, 53, 14, 3, 93, 9, 35, 5], show the contents of L after 4 (four) iterations (steps) of the selection so…
• IT/Python: Web Forms &amp; UI     The purpose of this assignment is to demonstrate how different scripting languages can interact to produce common results that you see on the web every day. Create …
• 13 Prove Assignment:  Your assignment is to write a program that asks the user for a temperature and then shows the wind chill values for various wind speeds at that temperature.
• Given a partial main.py and PlaneQueue class in PlaneQueue.py, write the push() and pop() instance methods for PlaneQueue. Then complete main.py to read in whether flights are arriving or have landed …
• LAB: Strip plots Write a program that loads and subsets the dataset in titanic.csv. Load the pandas module. Load the dataset in titanic.csv as titanic. Create a new data frame, df, by subsetting …
• In jupyter notebook (python) I have the following code, and I need help with the graphing part. I need to plot sales for each agent in a separate graph, and add enough information (such as axis titles…
• So, I am having issues with my current assignment. I am confused as to whether he is asking if I need to develop a program that generates random x and y values or if the program just calculates the po…
• For a positive integer n, define f(n) to be the number of non-empty substrings of n that are divisible by 3. For example, the string &quot;2573&quot; has 10 non-empty substrings, three of which repres…
• Display a clear prompt for the user to input two numbers, informing the user the numbers are to be added together. Calculate the sum of these two numbers and display the result, with proper label….
• Using Python how can we set a base class Employee that has the following attributes: o Employee’s name (string) o Employee’s address (string) o Vehicle data (Vehicle object). • The child classes Ful…
• helper: def is_vowel_phoneme(phoneme: str) -&gt; bool:    “””Return True if and only if phoneme is a vowel phoneme. That is, whether    phoneme ends in a 0, 1, or 2.    Precondition: len(phone…
• Going over examples problems and need help Given your implemented game, let’s perform some analysis of the gameplay. For brevity in your notebook, you may want to create a copy of your play function t…
• Implement a file processing program that generates a course grades summary report based on the course, instructor, and student data stored in a file. The program will prompt the user for the name of t…
• CONCEPT: Functions are ideal for use in menu-driven programs. When the user selects an item from a menu, the program can call the appropriate function. menu-driven program for De Anza College Food Cou…
• Create a Python function called countDiffs that takes two arguments, both of which arestrings of the same length. (You don’t need to verify that the strings are the same length.) Yourfunction should c…
• Write pen and paper solutions first. Then write code to solve this problem! (coding with beginner python level)    . 7. Battle- Plays a single round. Compare top cards of each deck, determines the w…
• http://prntscr.com/laz7vx How do you generate a deck of cards that has 4 suits and 13 ranks, I used import random to start with but creating the function body is what I’m struggling with. The first nu…
• Using the list a and vowels as defined: names = [ “Euclid”, “Archimedes”, “Newton”, “Descartes”, “Fermat”, “Turing”, “Euler”, “Einstein”, “Boole”, “Fibonacci”, “Nash”] vowels = [ ‘A’ , ‘a’ , ‘E’ , ‘e’…
• Implement Is_min_at_distance , an upper bound on the local sensitivity of the min_age query at distance , and dist_to_high_Is_min , an upper bound on the distance from the true dataset to one with loc…
• The task for the exercise: produce a function called filter_actors which accepts a list of tuples and an integer, and returns a list of tuples. The purpose of the function is shown below. Please obser…
• I need help with my Python coding.. def summation(sequence):     “””     Input: sequence: python list      Return: summation of the numeric elements: int or float     “””     tota…
• The bottom rests on concrete and is not accessible. It has a height h and a radius r, A mathematical bug is sitting on the cistern at point A, and has established a coordinate system to cover the enti…
• DESCRIPTION: Store each letter of the alphabet in a node of a binary tree. The root node is at level 0 and stores no letter. The left node at level 1 stores the letter  e  (code is •), and the rig…
• show skill in data management using Pandas:  read in csv file, then perform data cleaning then write code to answer the question below What are the four leading causes of death for Americans and do i…
• Perform 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 U…
• I need code and explanation, could you guys please help me with this question? This subject is really hard for me. . Problem 5 (24 points) The main purpose of this problem is to gain a deeper underst…
• Machine Learning ————————— ————————— I have solution of Linear Regression Algorithm BUT I have needed this solution’s STEP BY STEP EXPALNATION. I am providing all o…
• 8) Modify #5 so you can show average of positive numbers, or average negative numbers, based on user choice. They may choose one or the other. Ask them what numbers they wish to average (positive or n…
• Give the tilde approximations and explain for the following quantities. a) 1+(1/𝑁^3) b) 𝑁^1000/2^(𝑁+1) c) (1+(1/𝑁^2))∗(1+𝑁) d) 𝑁^2+1+(1/2^𝑁) e) log(𝑁^3+1/𝑙𝑜𝑔(𝑁^2)…
• Sample Output : 1. Menu 1. Look up an employee 2. Add a new employee 3. Change an existing employee 4. Delete on employee 5. Quit the program Enter your choice: 2 10. Enter employee name: Sam 11. Ente…
• Question 9 (16 points) You are allowed to use Wing 101 in this question A car rental company has two options for rates: Rate 1: flat rate per day (e.g. $40.50 per day). Rate 2: rate based on time and … • Hi, so i have attached lots of documents but basically, Raw 1,2,3 refers to the raw text that i am looking at, What i get refers to what i get when i run the code and what i want to get refers to what… • Function to print the nth Fibonacci number. The function must take n as an argument. Note: “Code only in python language”. • Python 2 – A factory class to produce an object given a “row” of input data, such as might be obtained from reading in a CSV file. 3 – Iterate over all sample rows give… • Please show step by step explanations. Thank you very much • Suppose the column X of data frame df contains names of States such as North Carolina, North Dakota, etc., where the partial string ‘North’ appears in the data value. To find the total number of such … • Using the pypcapfile library, along with the sample PCAP File, develop a Python Script that extracts features of each packet. For each processed PCAP File generate a report with the follo… • Rockpaper program codes in python. winner = None p1_score = 0 p2_score =0 rounds =1 def check_win(win_val,lose_val): if win_val == “S” and lose_val ==”P”: return True if win_val == “P” an… • py: from data import students def grade_students(): def filter_session(sess): pass def filter_topscore(studs): pass def print_scores(studs): pass if __name__ == ‘__main__’: pass data.py: fr… • Using the CFI website example at Leverage Ratios – Debt/Equity, Debt/Capital, Debt/EBITDA, Examples (corporatefinanceinstitute.com) Download from the SEC latest 10K filing for Southwestern Airlines… • In python， given the ip address, such as 202.112.20.150/25 , or simply 202.112.20.150, output the exactly entire list of ip included Note:broadcast ip is excluded from list To input, use raw_input, … • Python 3 question please help!! 🙁 The PDF attachment includes: 1. The question 2. The restrictions we have to create program 3. Examples of the output -The program’s output should match exactly w… • . QUESTION 7 What values are in result_set after the following code is run? my_set = {1, 2, 3, 4, 5, 6} other_set = (2, 4, 6} result_set = other_set.difference(my_set) Oa. { } O b. {1, 3, 5} O c. (2… • When your program has worked through the entire input file, it is time to write the output report, which is the calculated signature of the author of the piece. The output file must be called ‘final-… • a python program that gives Bank Staff selects “close account”. 2. System prompts bank staff to enter an account number. 3. If the account number is valid, the system makes the balance to zero and rem… • Why is the python autograder block me not to pass the assignments in week 4? • csv be like this, 50 cols x 899 rows python code thanks . Problem1: The Estimated Value for Each Warehouse Note that you are not allowed to use dynamic programming in this problem! In this problem 1… • fix this code. In the first table, the windchill must be calculated using the formula and not hardcoded. The WC should be calculated using the arithmetic formula provided in the interactive input… • q1- find a method and apply that will return the index of following array instead of sorted element array is x = np.array([2, 1, 4, 3, 5 , 66 , 99 , 0 , 11 , 22 , 67 ]) • What is the time complexity of the following: f(N) = N^2 log N + 2^N • write the answer. 2/8 b) Identify and indicate if the following identifiers are valid or invalid. Give a short reason for each invalid identifier. Else OPY ii . Ccicp? iii. 40 icp 20 ACE [3 marks] ne • Question 5 4 pts Which of the following expressions is/are equivalent to p —&gt; (1? Select all that apply. III—”1+”? CHI—&gt;17 Uﬁpéﬁq £1qu. Question 6 4 pts Suppose we have the follo… • 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… • I need some expert in programming especially to those who is Electronics and Communications Engineering . I badly need your help for this. It will help me big time. Thank you for understanding. I alre… • Here i have attached my project that i am undertaking it has all of the details necessary, i have to create the program in python to calculate the time and fuel for the given plane to fly a certain di… • Description: The class Queue defined in the file Queue.pyc, defines queue objects having the following public methods: *Queue() A parameterless ctor that produces an empty Queue *error() Returns… • Write a program that predicts the approximate size of a population of organisms. The application should use text boxes to allow the user to enter the starting number of organisms, the average daily po… • USING PYTHON PANDAS From scikit-learn implement Gaussian Naïve Bayes on load_breast_cancer() dataset. Explain load_breast_cancer dataset, and tell what are the classes, features and samples of this… • I am using Python Programming software and I have a dictionary containing data for 25 songs. I want to loop though all tracks and print all track names in the collection “In Between Dreams (Bonus Trac… • . Drawing Multiple Polygons using Python’s Bokeh Library After going through week 12’s lesson contents, write the code that will visualize the following three polygons (by the given coordinates) by … • Please show work! 1.2 Exercise: Consider the following: import math def distance(p, q): return math.sqrt( (p[0]—q[0])**2 + (p[1]—q[1])**2 ) def find_closest_point(p, L): # write your code here to … • How to write a python program to play the “Tic Tac Toe” game? You may find details about the game via the link https://en.wikipedia.org/wiki/Tic-tac-toe. The game has two players, player 1 (uses the ‘… • How can I implement the following? #SortStudents is a counting sort function . Takes as input a list of Student objects, #sorted alphabetically by name (last, then first), and outputs a list of #St… • Write class called Doctor that inherits from Person, add new attributes/methods you want. Requirement: Display a doctor profile in the final result. Grading Rubric [6] Helpful input prompts are used… • What is the output of the following condition statement if A = 45: A &lt; 45 • Calculate the runtime complexity by writing the time complexity opposite each line. lst = list(range(1_000_000)) # ———————-&gt;… • Information given “plant_eph =[34,51,20,47,22,19,24,18,33,45,36,42,30,25,44,33,47,35,51,15,24,13,25,32,49,28,37,17,13,32,24,18,22] plant_perm = [31,40,43,37,23,45,53,46,44,25,47,34,41,31,37,34,42,37,1… • You are given a positive integer, which we will refer to as THRESHOLD. You are also given a Python list of numbers in a variable called weights. You can assume that each entry of the list weights is a… • Please help !!!! The data set is attached. In Python, only using Pandas, Numpy, Sklearn Model Selection, Sklearn Linear model, Sklearn Feature Extraction, and Nltk packages produce the following and… • def log_to_file(fname, theme): ”’ You have a artist friend that likes to jot down some inspirational words when the mood strikes. These fits of inspiration always have a theme that he needs to r… • This week we will work with class by creating a virtual garage. Vour program will use the inheritance diagram from this week in order to create a parent class and two child classes. Your program … • I have lab03 in Mohawk College in 10001 comp programming fundamentals it’s about debugging with data • Need python help. Chapter 6 Implement function easyCrpto(s) that takes as input string and prints its encryption defines as follows: def easyCrypto(s): ‘prints the following encryption of s: Every cha… • I need help with this python assignment I am working on . First of all I need to create a class in the module. secondly I need to convert all the function into methods in the class. I need to make sur… • I need help with these python questions and explain o Fahrenheit to Celsius Conversion: 0 Create a variable named Fahrenheit with an integer value of 125 0 Implement the formula you have been given to… • . Your task is to create a class called Browser which has two attributes 1. current_page which is a string of the name of the current page opened in the browser. 2. history which is a list of string… • Explain why when building a python application that will store names, birthdates, and addresses of family members it would be helpful to take advantage of grouping these values instead of having to l… • Write Python expressions corresponding to the following statements: a) The sum of the first five positive integers b) The average age of Sara (age 23), Mark (age 19), and Fatima (age… • This week you will add a list to keep track of all the numbers guessed and modularize your code. Be sure to import random at the beginning of your code and use a comment block explaining what your … • THANK YOU!!!!!!!! Please write pytest as well Progressive Taxation Now that we’ve made so much money with our investment, it’s time to pay taxes on it. Write a function with a parameter income that ca… • Design the wireframes and storyboard, interactivity diagram, object dictionary, and any necessary scripts for an interactive program for customers of the Natural Munches Sandwich Shop. 1.Allow custo… • Assume the following class implements the STACK abstract data type (ADT) using the array ADT. class aStack(iArray): def __init__(self, capacity = 5): self._items = iArray(capacity) self._top = -1 self… • Population Change (25 points) Create program called popchg.py that enables DBVac to update the state populations for states in the database. Your program should: • Include a comment in the first… • Hi, I can’t find a complete solution to assignment5 for fundamentals of programming? “Most importantly flowcharts” Week 5 Assignment: Pseudocode and Flowchart Solution Instructions: a FLOWCHART an… • Can you please help me learn this? Codia Project File Edit Find View Tools Education Help Node version Project Index (static) Configure…. BFEDELL ank-transac… 5. 6. Final ch… CO VO UT A WN H # G… • 10 Points Here are three versions of a code fragment located inside a function: Version A for Index in range (10) : DoSomethingInteresting(Index) if (Index % 2) == 1: print (Index) return Version B fo… • Please help thank you Program Description Write_a PyTest module that queries the DuckDuckGo api for “presidents of the united states,” and tests that each president is listed in the response. (If … • Question -Based on Privacy and Security in Online Social Media. Jupyter Notebooks / Google Colab is strongly recommended for doing this Question and showing analysis, graphs, and code. Link for Parler… • write a python script so take the log file as an input. requirement: parse the logs. For each valid BlockHash( valid BlockHash means it starts with “message”:”[Announce] Sent Announce Message!!” and e… • Homework 3 Opened: Thursday, 24 March 2022, 12:00 AM Due: Thursday, 31 March 2022, 11:55 PM Write a program with 3 functions: RectPerimeter, TriPerimeter, and CirclePerimeter Each of these functions s… • Results for Lab 01 – Tuesday Lab X + X lab/tree/Downloads/STOR%20120%20lab02.ipynb G Help STOR 120 lab02.ipynb . STOR 120 – Lecture 06 – Tem X I nc-est2014-agesex-res (1).cs X E SleepStudy (1).csv X X… • For the two definitions, how is (self) used to create their respective codes? Would you mind walking me through to adequately comprehend each step used to come to the final outcome?. class Board: &quo… • Question 7: We are now in a position to run a hypothesis test to help differentiate between our two hypothesis using our data. Define a function complete_test which takes in tbl a table like minnesota… • Assignment: Create a python script to convert an IP address from a string to an integer For now, use a hardcoded IP address of “192.168.30.125” (we will modify later) Display the integer version of th… • in python using this api https://covid-api.mmediagroup.fr/v1/history?country=Mexico&amp;status=confirmed the cases for each date are a running total i need to get ouput: the month with the highest … • Can you help me with these questions? 1. Convert these into Python code: (a) Einstein’s field equation (from Physics – relates gravitation with the speed of light, Gud the curvature of … • I was wondering if someone could help solve this code ASAP? I have provided the spec sheet and a couple test cases with input (in a form of a file) and outputs. Please try to keep the code as simple a… • How would I fill this table for Program 1, that allows the user to enter the details for each customer, and save these details into a file specified by the user. The entered details are the customer’s… • Interpolation with Python 4. Let Pv be the trigonometric polynomial of lowest order that interpolates the periodic array fj , j = 0, 1, …, N-1 at the equidistributed nodes aj = j(27/N), j = 0, 1, ….. • How do I add the string , hello! in python to this expression # Input from the command line import sys name = sys.argv[1] • ”’Hi, I need to write a code for an exercise that takes, id, age, weight and height of a gym clientes and them print(or returns) the tallest, fatest and oldest with their data associated properly(id… • Codes for part 1 and part 2 Your software company was invited to provide a proposal for a company in Australia. You currently have the cost in US dollars and need to convert the prices to the Australi… • #MUST BE USING A WHILE LOOP split(s): “””Returns: Returns a list of works (separated by spaces) in s Words are indicated by spaces; there is always a space after each word. Example: split(‘a b c d ‘) … • Skip to main content UNIVERSITY UoPeople Time OF THE PEOPLE My Courses * Resources * Links * Faculty . Contact us English (en) Feb 22, 2022 Aka JoPeople The Education Revolution 6:11:27 am Job posting… • python programming . Here are the specifications for the main function draw rectangles: draw rectangles () : (a) Prompt the user for the number of steps to use when drawing the Sierpinski carpet assum… • I continue to get the error below for this program I wrote please help solve this error below: The following cell failed: 1 #hidden tests for problem 1.5(b) are within this cell * HIDDEN TESTS T… • csv: https://1drv.ms/x/s!AsJmq4RS6w5ulQTHy_B1w7uNbM-_?e=ntWbC9 Lab_5L_2.csv: https://1drv.ms/x/s!AsJmq4RS6w5ulQYiISmfwFwvtFLH?e=m5kN0g Lab_5L_3.csv: https://1drv.ms/x/s!AsJmq4RS6w5ulQgcF8mZNf… • . # This cell is only for your reference. Use the code below to test your code. #c = CalculatorO #c.get_input(} #Add two numbers #print(c.execute_operation(‘add’)) # Subtract two numbers – Should gi… • Using the IDLE development environment, create Python script named tryme4.py. (Note: an alternative to IDLE is to use a free account on the pythonanywhere website: https://www.pythonanywhere.co… • . Day H(R) R R- &quot;(R-) R R+ &quot;(RF ) O(R ) Monday Tuesday Wednesday Thursday Friday 4. does your stock lose more on a &quot;down&quot; day than it gains on an &quot;up&quot; days. 5. are thes… • For this complete this lab.lecturelab I will go over all the concepts that I used when solving this lab assignment in order to ensure you have all the tools you need in order to you will be creating y… • PLEASE HELP ME WITH THIS QUESTION USING PYTHON DICTIONARY OPERATIONS Project Requirements Create an empty dictionary and store it in the cust_data variable. Also, create a list holding the attributes … • Which of the following scenarios would be best represented in Python using a tuple ? Select all that apply. (a) The name of a person’s hometown. (b) Someone’s first name, last name, and date of b… • 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 th… • Who can help me with Python (Computer Programming) homework? • I am having some issues with this code. First I receive this error if I type in the wrong number option. Enter 1 to add course, 2 to drop course, 3 to list course, 0 to exit:CSC103 Traceback (most rec… • Using Python, perform k-means clustering on City_MedianRentalPrice_2Bedroom for Houston and Dallas locations only (https://www.kaggle.com/paultimothymooney/zillow-house-price-data?select=City_MedianRe… • 6 a last assert fails, shows ufunc ‘isfinite’ not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ” safe ” • Using python, I need help with a list comprehension function. Below is starter code, and attatched is directions. If the digits of the number equal x, then it returns true. Note, the example input/out… • I need help answering the following 6 python questions using the two .cvs files linked with google drive. https://drive.google.com/file/d/1SZ639cUA3DdrlI_lG2Hq0vs6HiT8OAU3/view?usp=sharing https://dri… • can you check my code and give a correct output. and my python version is 3.9.7(as soon as possible) client.py import socket # socket library import sys # includes exit function import os imp… • please write python code for this question i need code which i can copy paste in my IDE this is question below is the answer of above question ……. ……. …… …… ……..d. I – The … • Write a Python Program to Solve the quadratic equation ax**2 + bx + c = 0 • write pseudocode for an algorithm which allows the user to enter their name in the format “firstname surname”,and outputs the name in the format “initial surname” • Select from the statements below the one’s which are true about programming tools for data scientists. • We’re looking at the Fibonacci sequence again. This time we want to display the numbers in the sequence, then count how many numbers we are displaying. use a script which uses a for loop to display… • Instead of dragon theme, it should be undead theme. Follow directions below except DO NOT USE THE DRAGON THEME EXAMPLE, use your own game with your own theme and number of rooms / directions: Should… • Here specs any help on python? Question:Background The acronym API is short for “Application Programming Interface.” It is usually a collection of functions, methods or classes that supports the inter… • Here is the necessary documents you need to complete the project. Please submit all the codes that are used to complete the project using Jupiter notebook or colob. https://docs.google.com/sp… • update the mailing list by filtering out the users with the flag different from “active”, and write the results back to another csv file. To update the mailing list, there are some requirements: Remov… • 9 LAB: Sorting TV Shows (dictionaries and lists) Write a program that first reads in the name of an input file and then reads the input file using the file.readlines() method. The input file c… • The link for the information of the problems and the other two files are here. (Homework. 6pdf) https://courses.cs.washington.edu/courses/cse160/20au/homework/hw6/homework6.html Logistics Due : at 11:… • Explain how loops can be utilized in list processing. Please provide Python examples • The Notebooks and Dataset are in this link: https://gofile.io/d/kRCU4p ———————————————————. 1. Import the data and split it into train/validate/test Import the … • Please help with Python questions 3 and 4. 3. 4. • Please use python language. For task A please do make a sorting code thanks. Task 2: Task A: Adapt your sorting code from a previous workshop (or the assignment) to sort a list of numbers. If you don?… • Write a simple program that prompts two questions and then displays the answers in one sentence. In other words, you will write a two-variable program that will ask two questions. Then you will create… • provide python pls. (e) Use an exact same setup as part (d), but this time in your gradient descent scheme use a momentum term of y = 0.9. Report the final estimates of o and B. Also provide a plot sh… • from the data below write a program that will Loop to continually prompt for a county and its information. a. Print its name, Household’s Estimate, Families’ Estimate, Nonfamily’s Estimate, and Median… • i am currently trying to calculate statistics from the data for a date . The following code segment is designed to calculate some basic statistics from the data for a recent date. The data is stored i… • def imputemean() Imputes a list of numbers in-place, replacing None with the mean of the numbers. For example if x is [1.0, 2.0, None, 3.0, None, 5.0], then impute_mean(x) should mod… • 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… • . 2. Practice with ANN parameters and inheritance: Using the ﬂowmeters examples’ code (Sklearn) from the lectures: a) Set up a python package that includes at least one parent class and one chil… • ANSWER THIS QURSTION OF PUTHON ON PROGRAM Solve all problems in one file called ListTraversals.py 1. Average of numbers in a list In your program, define and call a value-returning function that calcu… • how do you unit test mock this? from flask import Flask, redirect, url_for import json import urllib.request import requests app = Flask(__name__) @app.route(‘/’) def welcome () : return “Hello” @app…. • Find the best first split of a decision tree using Gini-Index. . Find the best first split of a decision tree using Gini-Index. Weather Temperature Wind Play Day 1 Sunny Hot Low No Rainy Mild High Y… • 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 … • Problem: A car dealer earns a base wage of$36.25 per hour up to their normal work week of 37 hours. Only whole hours are counted. If he works more hours than that (overtime) he gets paid at 1.5 ti…
• Hi, would you mind just helping me fix my function if possible?  I wrote a permutation function but I don’t know how to get it to display only the permutations I need.   def permutations(word): if l…
• # Complete the following function so that it behaves according to its docstring.  # Your submission will be marked for correctness only, not for style. # Before your test time expires, upload this fi…
• Hi all, I have tried this a million ways and am stuck.  I have a csv file where I need to find the first date and last date entered but sorted for an individual country.  So the calculation I am try…
• . 1 Introduction NOTE: read the whole assignment brief first before implementing it contains very important information In this assignment you will be tasked with doing four things: . Create a simul…
• Write a program that takes an amount in Indian Rupees as input. You need to find its equivalent in Euro and display it.  Assume 1 Euro equals Rs. 80.   Please note that you are expected to stick to…
• (dict)Consider the program below. The program determines the admission fee of the ageGroup that user inputs. You can use the if‐else statements to match the ageGroup and the fee. But you can also …
• I need help with writing functions utilizing list comprehensions for the following list. Any help would be greatly appreciated!! lst = [[ 1 , 2 , 3 , 5 ], [ 2 , 3 , 2 ], [ 1 , 1 , 2 , 5 , 1 ], [], [ 5…
• Based on the following sample code, match the string value to the position in the array:   products = [“Chair”, “Birdcage”, “Widget”, “Pen”, “Widget”] products[1] = “Kettle” products[2] = “Controller…
• How to get a program to quit after it’s done, and to enter numbers like a calculator but don’t tell the answer, only if the person entering the numbers is right, if wrong say incorrect
• 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 mak…
• Modify the guessing-game program so that the user thinks of a number that the computer must guess. The computer must make no more than the minimum number of guesses, and it must prevent the user from …
• Hello, Please i am having difficulty finding files on my desktop from python. I am using anaconda spider environment. For example filleref=open(“sample.txt”, “r” ) does not find the sample.txt file. I…
• The assignment is to write a Python program that acts as an inventory system for a DVD collection. All of the below requirements should be included but there are no restrictions on what exactly the pr…
• . 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 deci…
• write the code for a book shop using the object-oriented programming.   A book has the following attributes:           Book title           Book author (Last Name)         …
• I got this first error[image 1] when I tried to sum +1 to a tuple, not realizing it wasnt an int, but when I try to fix it[image 2] for some reason  minimum = minimum[0]  bugs the previous line of c…
• Question: Start: make a list with words that you will use in the game. Use random.choice (…)  to pick one of the words. o Make a jumbled version of the word and display it to the user. § This par…
• How many time(s) will the print(x, end=’ &quot; statement be executed? for x in range (10,0, -1) : if (x 3) -0: print (x, end=”)
• plz be quick Let’s have a closer look at the dataset from Question 1. This dataset is in a text file unis . csv containing lines of comma-separated data about some universities, and how their gradua…
• Good Morning, I am trying to get only specifics rows? for example I want to print all customers with “Purchases Past 30 days” equal to zero balance, but I keep getting all customers, how can I sort it…
• In which lines is a function defined?  What are the two cases for the if statement on line 3 &amp;4? How does python indicate where a function begins and ends? Variables are declared on lines 6 and 7…
• THIS NEEDS TO BE IN PYTHON!!!!!!       A difficult form of Solitaire, called Scorpion, can be played as follows.  A deck of 52 cards is dealt in an array of 7 rows and 7 columns with the rows over…
• 25: Hint: even though this is a shortest path problem, it can be solved with breadth-first search. Build the data (nodes and arcs) and solve it using your Python code. 3.25. Knight’s tour proble…
• How do you draw random points from a unit square in a plane using in Python?
• What do you think is the most important aspect in learning Python?
• Inverting an image makes it look like a photographic negative. Help me to define and test a function named invert . This function expects an image as an argument and resets each RGB component to 255 m…
• The file bsp.csv contains seven comma-separated fields for over 9,000 patients. The first line contains headers describing what each field is, and the remainder of the lines contain data. For this pro…
• Write a GUl-based program that plays a guess-the-number game in which the roles of the computer and the user are the reverse of what they are in the Case Study of this chapter. In this version of the …
• Can you help me debug my code please? I can’t seem to pass the check that verifies my code is correct but I am pretty sure that it is. Codio is a huge pain because it requires very specific entries. C…
• UB Assignment #4 5 Assignment #4.pdf *txt&amp;quot;). This is a comma sepal x + X C 7 File | C:/Users/eddy5/Downloads/Assignment%20%234.pdf Update Assignment #4.pdf / 1 100% + … Build a GradeProcess…
• Eng trans: Define a Car () class that instantiates objects that mimic the behavior of motor cars. The constructor of this class will initialize the following instance attributes, with the default valu…
• I have a liitle problem in writing a R code in Rstudio. The program is for a list like {1,1,0,1,0,1,1,0,0,0,1}, and count the combination of the previous value and the current value. For example, the …
• Come up with another similar application and discuss all the phases of the software development as in the Tax calculation example.    Examples:  To compute your salary based on the regular hours an…
• Write a report explaining in detail what this turtle graphic does and how it does it.
• Python please:   Write a square_root() function that takes a number and returns the square root. The square_root() function throws a ValueError object with the message “Exception: Negative input for …
• Why isn’t it allowing the user to add delete and display items? import final project 2   class Vehicle :     def __init__ ( self , Make, Model, Year, Mileage,Price) :     self .Makename = Make  …
• Draw a flowchart for a program that shows the logic for a program that generates a random number and the player tries to guess it.  There are NO  LOOPS, NO Functions(other than the random number gen…
• Quick mc for both enqueue and dequeue plz No explanation needed. You are given an implementation of the Queue ADT called LQueue, which has a private attribute of type SLinkedList called ~_items , to k…
• A natural number is prime if it is greater than 1 and has no divisors other than 1 and itself. Complicated? Not at all. For example, 8 isn’t a prime number, as you can divide it by 2 and 4 (we can’t u…
• . Google Duo – Free High-Quality \ X Google Duo x Content X zy Section 2.28 – CYB 130T: Object-( X + V X – &gt; C a learn.zybooks.com/zybook/CYB_130T_55317551/chapter/2/section/28 =zyBooks My librar…
• Write a Python generator that yields all possible strings formed by using the characters ‘c’ , ‘a’ , ‘t’ , ‘d’ , ‘o’ , and ‘g’ exactly once. That is, you should define a generator string_generator(). …
• In the following questions, need to import functions from Numpy. For example the computation of matrix determinants can be done with the help of the function det of the library numpy.linalg.
• Here is a string that was encoded by a Caesar cipher with an unknown distance value. Ignore the double quotes (“) as they are to enclose the string: “Yz=1TZedBEAB1dB1CACA” The text can contain any of …
• Write a Python function called alphaNote that takes one input (a float between 0 and 100, inclusively) and returns a letter mark. No need to check if the input is between 0 and 100. Assume it is, fo…
• #!/usr/bin/env python3 “”” Guidelines for program submission:  A) To ensure readability by the grader,  please make sure the following submission format: 1– Please change the file name to python_pr…
• Take the master boot record from this week’s module and use it as a file input for your program. It will be named block.dd and you can assume that it’s in your current directory so you don’t have to p…
• I need help with my web scraping python code. The instructions are below for the assignment. I included the python code and html files in the “Add instructions for tutors” section. Thank you.   Beaut…
• Hello! I want to run the same code multi times in a loop without the need to copy-paste the same code everytime. How can I use pandas to read from an excel file and to assign values at each iteration …
• Python code, working on raspberry pi. Part 3 Change the circuit/code to display the following sequence on the four-digit seven-segment display: Digit 1 Digit 2 Digit 3 Digit 4 Pause/Sleep (sec) 1 [off…
• Solve Laplace’ thanks for for helping https://books.google.com.tr/books?id=ES_3DwAAQBAJ&amp;printsec=frontcover&amp;source=gbs_ge_summary_r&amp;cad=0#v=onepage&amp;q&amp;f=false you can look this book…
• Problem 1 (Course Schedule Assignment) Marks: 70 In school of business, course schedule assignment is challenging, as there are limited number of classrooms, Instructor preferences, and a large amount…
• USE PYTHON You are a soldier who needs to tell the correct password to the guard to be let into the castle. However, the password protocol is not that simple. You need to obtain the password by follow…
• Problem 3 – streaks.py: Winning streaks? The debate on whether the random walk model for stock prices is appropriate has been going on for a long time2 . Some of it’s opponents argue that “all those p…
• import random import itertools def oneDArray(y):     return list(itertools.chain(*y))   lst=[] lst2=[] print(‘hello’) mylist1 = [[1,2],[3,4],5,[6,7],[8,9],[10,11],[12,13],[14,15],[16,17],[18,19],[2…
• In python programming language, create flowchart and pseudocode to determine the number of digits in a number entered buy the user?
• D Question 3 1 pts What does the following Python code print to the terminal? (Assume we run this as a complete snippet of code. Be precise with any delimiters like commas, parenthesis, etc.) Ist = (4…
• Can you help with these Question 1 (2 points) Select the matching Big-O notation for each of these array-based Stack methods: is_empty 1. O(1) 2. O(log n) push 3. O(n) pop 4. O(n log n) V peek 5. O(n^…
• Chapter 5 Exercises 5.5.1 Write a python program that does the following: ·   takes as input from the user an English sentence ·   calls the function vc_counter() that: o  takes a string…
• Find a dataset from Kaggle that can be used for clustering and post the link of the dataset. Explain the dataset (such as what the variables are, what is used for, etc.).   Please post the link to th…
• 1)In Python how do I add a function for each math operation (add, div, mult, sub) 2) The application will run forever, you will ask the user to continue or not. 3) add a function IsinRange() to test a…
• results from &quot;reading off&quot; the initial list using the look-and-say method, using tuples for each (count, value) pair. For example: lookAndsay ( ) == lookAndSay ( [1, 1, 1] ) == [(3,1)] look…
• I want a code for implementation of Complete binary tree. Fill in python template: class MyTree():   def __init__(self, data):     # Initialize this node, and store data in it     self.data …
• Using the IP List and Prefix variable to calculate the required answers (to populate the other lists variables). • To calculate the subnet mask convert the /prefix to a string with so many 1s and th…
• . 2. Matriz diagonal En el area de ciencia de datos es muy importante realizar operaciones de algebra lineal para manipular adecuadamente vectores y matrices de gran tamano. NumPy es una herramie…
• RNN and 1D CNN are two techniques can be used for sequence date. How describe two use cases and in each use case one of the above techniques is preferable than the other.
• Example: Server based on the code above modify the client program so that the client can connect to server other than localhost. TRY and create a program that can connect to your friends’ server. modi…
• Code must be written in JES. Exercise #1 0 Write a program wipeDiagonalAnimation(picture) which takes as input a picture and creates an animation of the provided picture being wiped (black) top left t…
• add a combiner function to use for doing local aggregation before the reducer.
• Is it possible to create an object of a Class inside a method of that Class definition?
• let user enter 3 lists in order, list one is the ID of salesmans in a shop, list two is the sale they make in a specific day in a month, list three is the month each sale is made For example, …
• py below DISK = “X” EMPTY = “” def move_disk (source, target, towers) :     ”’ function move_disk         parameters: name of source tower, name of target tower (strings), and     ?…
• Define a function that meets the following specifications. Function name question_1b Parameter(s)/ This function takes in 2 parameters. argument(s) In this order, 1. an integer, x 2. an integer, …
• Suppose you want to develop a program that classifies a given amount of money into smaller monetary units. The program lets the user enter an amount as a floating-point value representing a total doll…
• i need code and output 8. 5-year Interest Write a program interest. py which computes the value of your savings S after five years given a certain interest rate P (percentage). You can assume that bot…
• Can you help me with python code for the following question Thank you
• create function grids_augmented_in_row(grid,num,r) that returns the complete list of valid augmented grids, where each grid contains num in row r. Input: a nested list grid, that represents a valid n?…
• How to write a recursive function to recursively unzip zipped files?  The zip files to unzip zipped files may contain additional zip files that also require unzipping
• Taxi zum zum def taxi_zum_zum (moves ) : A Manhattan taxicab starts at the origin point of Z’, the infinite two-dimensional lattice grid of all possible pairs of integers. The taxicab also has a direc…
• Python Programming: (.py file required) User will choose two functions ONLY from that (view, add, delete, update). You do not have to make a main menu; you can just ask the user to enter one of the t…
• 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 function called print_volume (r) that takes an argument for the radius of the sphere,…
• Write function get_name(name_dict, id_num) that takes as its first parameter a dictionary mapping an ID number to a name and as its second parameter a particular ID number (which might be invalid) a…
• This TestInventoryAddStock has to be defined within same test_inventory.py.I have done the coding as defined.So basically creating two classes in a python program. It gives the error (most likely for …
• Text Book 6.2 Incremental development As you write larger functions, you might find yourself spending more time debugging. To deal with increasingly complex programs, you might want to try a process c…
• Can someone please explain to me what I am doing wrong/what I am missing to be able to output a graph. I am getting an error: [float(dd[1]) for dd in data[1:]] from like 8 down. I have attached a samp…
• Thank you for your help I’m really stuck in this question.
• I have been developing a Python program to read values from a csv file and regard stipulations that I only read one specific year at a time: The 1896 Summer Olympics were held in Athens The 1900 Summe…
• Use python code Q1. (Part A, 7.5 points) Define a class named Car representing a car. Define the following methods and attributes: init_() : initializes three instance variables: make, model and year …
• #Using Spark RDDs only from pyspark import SparkContext sc = SparkContext(“local[4]”, “hw1”) import wget fileName = ‘https://people.bu.edu/kalathur/datasets/stocks_2013_2021.txt’ wget.download(fileNam…
• Exercise 7:Write Out Numbers in English While the popularity of cheques as a payment method has diminished in recent years, some companies still issue them to pay employees or vendors. The amount bein…
• Please provide 3 different examples of CNN models using python code
• Use Python, the dataset, and the ‘datatime’ module.
• HELLO IM RUNING ONE PROGRAM IN PYTHON, WHICH IS FOR GETING TIFF IMAGES FROM NETCDF FILE OR GET ONE STACK MANY IMAGES NETCDF FILES , BUT EN THE END THE TIFF DATA CAMING WHIT MANY NUMBER LIKE THIS (“-32…
• Write a program that returns the number of strings where the first and last character in a string are the same, and the length of the string is 2 or longer. For example, if this is the list you use…
• The purpose of this lab is for you to extend your knowledge of Python’s tkinter GUI module by creating a GUI-based program to help someone compute the total dollar and cents value of the change in the…
• In this lab assignment, students will demonstrate the abilities to: – Use functions in math module – Generate random floating numbers – Select a random element from a sequence of elements – Select a r…
• What is binary literal value that encodes a set as a 5-bit long bitset. And what this means set1 ⊕set2? And How to generate pairs of 2 sets in Python 3?
• Q) Some male chauvinists like to think that a larger proportion of SSSBEs are managed by men as compared to women. Do you agree with this contention? Explain your answer with appropriate statistical e…
• I’m having serious trouble figuring out how to start coding for these problems. I’d be more specific, but honestly, I’m horrible with this coding language and I have a hard time remembering things abo…
• Imagine that you have a block of material in which a hole has been drilled. Write a function that will take in the dimensions of the box, length, width, and height, and the radius of the hole, and d…
• Use the Machine Learning algorithm Decision Tree, and the gbm_tsn.csv database to evaluate classification performance of: 1) Immune cells in the core and periphery of the tumor  2) Neoplastic cells i…
• Write a Python script to implement the chained hash table concept. Recall that a chained hash table is an array/list where each element is a linked list.  Follow these steps: Import  LinkedList.py ?…
• dna complement in python restriction enzyme recognition site(in python) first two questions CS07595: Bioinformatics: Algorithms (3CR) HW1 (Due: Sep. 30 BEFORE 17:00 p.m.) Total possible points: 55 (wi…
• Step 1: Start a new file. In IDLE, select File and then New File . A new window will appear. This is the window to input your new Python program. Now, type in your new program. Step 2: you can write a…
• . Purpose The object of this programming assignment is twofold. First, you will compare the relative performance of different sorting algorithms on the same data set and the same algorithm on differ…
• 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) where N is the number of data po…
• Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– E…
• . In [14]: Trees in a forest The matrix M below contains the parameters for a linear model of temporal changes in the tree species composition of a forest, governed by the equation E1v+1 = M 3?N Nex…
• here’s an excel sheet as example, I have a problem in counting. Given likes is 1 and dislikes is 0, I have already count the total amount for likes and dislikes using this: if rate[i] == 1:      …
• What if two of the numbers are equal, say  6,4,6? Will the code work? Why? Test it out.. Same problem as one before, but we use FOR loop. Some possibilities are: for i in range(@.n,2) &lt;==start at …
• Total Sales Design a 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 disp…
• use function with name sdice and no parameters. get dictionary with numbers where keys are integers 1 to 6 n  values r corresponding number of occurrences. now you roll a dice 10000 times. Each time …
• It is a single tweet: dodTweets_no_urls[0]=  RT @DodgerInsider: “When our backs are against the wall, we play our best and fight.” They battled. They homered. They pieced together mor…..   Q.conve…
• . Q1. (5 points) We will be formulating a simple calculator using object-oriented programming principles. Our calculator will have 4 simple arithmetic operations : Addition, Subtraction, Multipli…
• I had put the same question several times but was not able to get an answer can you please give me a new example with a newer version of the explanation? Just don’t want to be pinpointed to get an ans…
• You should save the solution to this problem in a file called setoperations.py  if you wish to use the tester program. Write two functions called intersection  and union . Each of these two function…
• Question Completion Status: This is a continuation of Q2 from the practice exam. Develop a program for a colleague from the text-mining team. The program requests a user to input a paragraph of text (…
• here is the link https://www.online-python.com .  1. Write a line of code that prints the following phrase to the screen: “… is all that and a bag of potato chips!”   2. Create a variable calle…
• type an if-else statement with multiple branches. If year is 2101 or later, print “Distant future” (without quotes). Otherwise, if year is 2001 or greater, print “21st century”. Otherwise, if year is …
• You will code a grade book program that lets a teacher keep track of test averages for their students. Your program should begin by asking the teacher for the number of students in their class as well…
• In my home area you’ll find a file named ‘e_coli_k12_dh10b.faa’ (Sequences included below). It contains all of the polypeptide sequences in the E. coli K12 genome in FASTA format. Your task for thi…
• i need to learn how to export the results of this script to a CVS file, after the generating to 1000 prime numbers. start_range=int(1) end_range=int(1001) sum=0 for j in range(start_range,end_range+1)…
• . Provide the Algorithm, Pseudocode, Flowchart, and a Python program (In Python IDLE or PyCharm) that will ask the user to type the student’s name and his grades in five (5) subjects (English, Math,…
• Exercise 5.3 Top-selling products (40 points) Use Python programming to find most popular single products and co-purchased products from the large transaction data: retail.txt. Each row in retail.txt …
• Write a class named HasamiShogiGame for playing an abstract board game called hasami shogi. We’ll be using the rules for ” Variant 1 ” on the Wikipedia page, including the diagram of the starting posi…
• IDLE IS ON TOP LEFT CODE IS BOTTOM LEFT IMPORTING TO D5Q2 BOTTOM RIGHT   Why is my import failing to recognize tuplex? I am doing “RETURN”! It should return it! It should grab the value….    I am…
• The fully prepared training and testing data is reloaded below and assigned to the following variables: X_train_final X_test_final y_train_final y_test_final For the last question, you will create ano…
• Modify the guessing-game program so that the user thinks of a number that the computer must guess. The computer must make no more than the minimum number of guesses, and it must prevent the user from …
• Need answers for # z_score =?, # z_score = ?, # p = ?, #p_value = ? and # answer =? Prepared Question Complete a code trace on the following function call by transcribing the function and noting the v…
• Function name: sent_split Parameters: sentence, delimiter1, delimiter 2, … Return: A list: containing all separated strings Description: You receive one sentence and uncertain number of delimiter s …
• Please review, run and improve the following code. The scope of this project is to create a simple GUI, part of an STI educational Health App,  using Tkinter. I have to create a set of clickable butt…
• You created a class called Circle as below: class Circle:     def __init__(self, a, b, r):         self.a = a         self.b = b         self.r = r     def …
• In the game of Scrabble, players score points determined by the words they put on a board. Each letter is assigned a certain value, and the word score is the sum of the letter values. Program a code t…
• HELP! I did task one but need help with the rest. Save these tasks in a Python notebook and upload it to Blackboard and attach it to this Assignment. You should be able to run this file without gettin…
• def mergeSort(alist):   print(“Splitting “,alist)   if len(alist)&gt;1:     mid = len(alist)//2     lefthalf = alist[:mid]     righthalf = alist[mid:]     mergeSort(lefthalf)   ?…
• . Advanced Physics A programmer wants to design a compiler for a new programming language exclusivelv for Data Science. He has restricted the variable names to be built from an alphabet set M = {a, …
• Part 1 Encapsulate the following Python code 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.  while True:…
• Please refer to the attachment to answer this question. This question was created from assignment4(1).pdf.
• Codio keeps telling me that my withdrawal output is incorrect. Please help me debug my code so that it passes the checkpoint in codio. No I do not need to change anything to my deposit! It is only my …
• I am a car wash company operating from Monday to Friday 8am to 6pm how do I allow my customers to book slots according to their desired date and time. This is with the condition that if the customer’s…
• 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…
• Consider the following program: def calculate (value): return value + value def main (): result = 10; result += calculate (10); print (&quot;Result= {}&quot;. format(result)) main() Write a new fun…
• 6:58 Ii M 3% L’l°e’lLI§+.uI| ..I| 100%I é – Write a computer code to design the Helical compression spring subjected to static force. . Program should ask the user, the maximum load applied on …
• I need help solving these python questions, I have also included all the items needed which will be below the question.
• Overview As you are preparing for your final text game project submission, the use of dictionaries, decision branching, and loops will be an important part of your solution. This milestone will help g…
• Solve the “locker puzzle.” A school has 100 students and 100 lockers. All lockers are closed on the first day of school. As the students enter, the first student (S1) opens every locker. The…
• How many stars will the following Python code display? def fct (n): m = 1 while m &lt;n: print (“*”) m = m * 2 # main program fct (1000)   With an explanation please
• Maximum of three integers with functions I need help design a program that will find maximum of three positive integers.it should have three functions, main, input validation and maximum. The main fu…
• We are building a time series model for predicting and I have been asked to categorize the numerical data into ordinal way(mild,moderate,severe, extremely severe). How to go about this? Data was colle…
• Please help. I am getting an error on my code. Thanks. Tools Education Terminal quasar.py X 198 play (credits) : Collapse ) E4: Building a Game with While-Loops 191 192 Plays Quasar until the player q…
• I am having issues getting the code to return the state information for states with two names ex: New Jersey, West Virginia, etc.. There are no issues returning info for other states with single names…
• In python please   . 14.1 Can you drive safely? This lab will be available until February 25th, 11:59 PM EST A person’s Blood Alcohol Concentration (BAC) has been strongly correlated with driving im…
• class Student: def __init__(self, firstname, lastname, idnum): self.first = firstname self.last = lastname self.id = idnum self.courses = [] def add_course(self, course): ”’ don’t allow overloads or …
• I need help on this code: # A geometric sequence, is a sequence of numbers where each term after the # first is found by multiplying the previous one by a fixed, non-zero number  # called the common …
• Please use the Python script to answer below two parts:         ——————————————————————————————. A newly opened multinational brand has d…
• Define a function objective6 () which achieves the following: &gt; The function should accept two arguments: o An instance of the Motor class o The time required to rotate the forefinger (i.e., object…
• . Simulate a data set of size 100 as follows: X ~ N(2, 1), Y = 2X – 3X2 + 6, where e ~ N(0, 1) (a) Create a scatter plot of X against Y. Comment on what you find. (b) Set a random seed with set.seed…
• In this problem you will produce a solution using Python. You may use the math module to calculate the base 2 logarithm but may not use any other imports . For each line in the document docword.nytime…
• Suppose that the variable s refers to a string with odd length, e.g., s=’peach’ or s=’watermelons’ . Write an expression that revaluates to True if and only if the middle character of s is ‘a’.
• . Bonus question : (5 points) The Bonus question here will touch upon SQLAIchemyi SQLAIchemy is a python SQL toolkit and more importantly, an Object Relational Mapper (OHM) that provides application…
• Can you please RECODE this WITHOUT importing numpy… WITHOUT numpy Python
• Write a function named common_greater(list1, list2, value) that receives as input two lists of numbers and a numeric value and returns a list containing the elements from list1 that are also present i…
• localhost Downloads/pelligrants/ ﬂ pelljrants – Jupyter Notebook :Jupyter pe||_grants (autosaved) (‘3 [Logan File Edit View Insert Cell Kernel Widgets Help Not Tmsted ‘ | Python 3 O + salsa B”+?…
• Write a program that converts Fahrenheit to Celsius as this will be out basis in measuring units of temperature.
• Use sklearn.cluster.KMeans to do clustering on the given data set points.csv. There are 5 clusters in this data set. Draw a scatter plot for the data and use color to indicate their clusters. 2. Re…
• The main menu is as follows: Welcome to my Collection Manager 1. Display all items in my collection 2. Display all categories of my items 3. Display all items in a given category 4. Search for an item…
• Here’s the problem. It has a skeleton code file and an imported class file with the methods needed to accomplish the goals. from a1_include import * def sa_range (start: int, end: int) -&gt; StaticArr…
• HERE IS THE SCRIPT AND YOU HAVE TO ADD THE FOLLOWING FUNCTIONS TO THIS SCRIPT:( The attached image is the sample output for the required script).   •The dbda() function should be the main function …
• 1 v def sim_battle(lpack:list, rpack: list) : Write a function sim_battle(lpack, rpack) that simulates the battle Desired question N #so fight does not end prematurely between lpack and rpack and retu…
• explain the chart. Task 10: Use the pandas plot() method to create a box plot. [18] : # we called the plot method Exams . plot . box() [18]: &lt;AxesSubplot:&gt; 100 80 60 40 20 O OOD math score re…
• write a program that reads a one-line text message containing common abbreviations and translates the message into English using a set of translations stored in a file. For example, if the user enters…
• Help with python 3! Locker Puzzle assignment. 1.    Solve the “locker puzzle.” A school has 100 students and 100 lockers. All lockers are closed on the first day of school. As the students enter, …
• The assignment is broken up into three main components: 1) Design and model two classes: Ticket and Checkout 2) Create an activity chart which describes the behavior of the ticket sales system 3) Crea…
• Using two different loops: (for and while loop), write a Python program that does the following: Display all the even numbers between 10 and 100 Display all Odd numbers Backward from 999 to 777 Displa…
• We received the following message in an email. Make it readable: PY7H0N 15 4 W1D3LY U53D G3N3R4L-PURP053, H1GH-L3V3L PR0GR4MM1NG L4NGU4G3. 175 D351GN PH1L050PHY 3MPH451Z35 C0D3 R34D4B1L17Y, 4ND 175 5Y…
• How would do a program to process a savings-account withdrawal? The program would request the current balance and the amount go the withdrawal as input and then display the new balance. If the withdra…
• List comprehension Syntax [expression for item in iterable] Example &gt;&gt;&gt; [i for i in range(5)] [0, 1, 2, 3, 4] Syntax We can also add a if condition. Where the values that satisfy the conditio…
• Develop an algorithm for the subproblem (show below) subproblem = “… the program prompts them to input their word. It then checks if the glossary contains this word and if so prints a suitable messa…
• Write the code in R. 4. Make a 2-by-10 matrix whose first row contains the first 10 powers of 2 (2, 4, 8 etc.), and the second row contains the first ten powers of 3 (3, 9, 27 etc.). 5. There is a bui…
• A local small business has hired you to write a payroll calculation program. The program only needs to calculate gross pay for an employee and display the results. Your program will accept the employe…
• create a program to continually ask the user to input a number (int or float) until the user inputs the string “end” to stop the loop. At that point the program should return the following: the number…
• hi, I need help coding this function, can you teach me what I should do? for python   convertToDictionary(wordList) – this function takes one parameter – a list of strings (each word in the text foun…
• This exercise will involve a game that simulates a landing craft descending to the surface of the moon. You may have played this game before, we’ll implement a simple version of it. In our version, …
• . Question 2 Refer to Appendix A should you need the Python documentation. (a) 1 def larger(a, b): 2 return a if a &gt; b else b A def largest (aList) : 5 theLargest = alist[0] 6 for i in range(1, l…
• I have errors on this one – I have updated spaces, indents and still can’t run it…please help is appreciated import sys “”” This is a copy to run test before final submision “”” ”’ Section 1: Colle…
• i need python code for this question  i need code which i can copy paste in my IDE   this is question     below is the answer of above question     …. ..sss ……. &gt; A A A And this is the …
• Python code    Shifted QR algorithm   steps are below     . Goal: Your goal is to write a function QR (A, tolerance) whose input parameters are an n x n symmetric, tridiagonal matrix A and a des…
• Given the number of people attending a pizza party, output the number of needed pizzas and total cost. For the calculation, assume that people eat 2 slices on average and each pizza has 12 slices and …
• Hi can you please help with this question, having trouble, I am a beginer, can you please explain what you do so I can under stand for future.   open a excel file data.xlsx   It has seven columns  …
• Decimal → binary conversion Convert a decimal integer to binary format. Example: 156 in binary format:         quotient    remainder 156 / 2 = 78           0 78  / 2 = 39           …
• The csv file for the dataset: https://drive.google.com/file/d/1jBUKNWZmYaWrmxdMBLbMc2kk7TFfhpc6/view?usp=sharing The Cars data set downloaded from https://archive.ics.uci.edu/ml/datasets/Auto+MPG A de…
• Make a program that takes two inputs: 1) The name of a file with extension .txt saved in your current directory (you can run a cell with command !ls to list files in your current directory) 2) The wor…
• What will the following program print, assuming that the user enters a value of ‘lots’ when prompted?   try:     value = input(‘Enter your score out of 50: ‘)     percentage = int(value) / 50 *…
• . Bb C X G Pyth( X 4 Data x Bb Black X Bb 1077 x Bb 1077 X Bb Take X s https x 3.10. X Bb Reco X G Leng X WSO x Cour X W Pyth X + V X – C bblearn.griffith.edu.au/webapps/assessment/take/launch.jsp?c…
• This is same as saying: movies = dict () movies [ ‘ 3520029’] = {‘genre’ : [‘Sci-Fi’ , ‘Action’, ‘Adventure’], ‘movie_year’ : 2010, ‘name’ : ‘TRON: Legacy’, ‘rating’ : 6.8, ‘numvotes’ : 254865} If we …
• Python programming require to solve this question ”’ Draw a bargraph of English letter frequency Also save the bargraph in a file @filename: tw7_bargraph.py @authors: ”’ # (1) import necessary modul…
• Description of Problem: Write a simple animated program by using object-oriented design with Python. This program should be menu driven. The first screen appeared on the screen should be the main-menu…
• How was this plot created?. Sport names handball volleyball 0.6 softbaytball basketball tennis 0.4 badabatisse track jugby polo 0.2 hockey boxing gymnastics off wrestling 0.0 ice hockey -0.2 swimming …
• TASK; Create word ladders. The user will type in (or hard-code) a beginning and an ending word. Your program must find the series of words that differ by only a single letter that leads from the begin…
• Create a program and follow the instruction below. Note: Use Pycharm software to create a program and running smoothly and no errors.. Write a program that asks the user to enter a number repeatedly u…
• I NEED IT IN PYTHON PLEASE. 2. To answer the following question, write a computer code to implement the conditional gradient method to minimize the function f:XER?-x/ +82×1 + x2 – 6×2 over the set (rE…
• An Artificial intelligence program which will tell wether the truth table is tautology or contradiction. write a python program to find whether the table is tautology or contradiction?
• Need help with this code, has to be the exact output on what they want. Thank you.. h Hulu | Home . youtube ( HBO Max Cengage Home FSW Login 0 Outlook cengage My lab Stat 3 Booleans Problem Submission…
• I need help writing this function called mostCommonWords(filename, N) ”’   Reads the file from filename in your function and returns a list of N most   common words in the text file (i.e., N word…
• Overview In this assignment, you will gain more practice with designing a program. Specifically, you will create pseudocode for a higher/lower game. This will give you practice designing a more comple…
• Suppose your machine learning model returns a list of probabilities as the output. Write a function to do the following: Given a threshold, say 𝑡ℎth, if a probability &gt; 𝑡ℎth, the predicti…
• Problem 3 : A function that counts using a while loop and/or a for loop. The function header code should look like: def count (start, step, stop):     “”” start = starting integer number step = in…
• Need assistance with Python homework A program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters,…
• PLEASE ONLY ANSWER BASED ON THE DIAGRAM! I am okay with the solution even being written on a piece of paper with the diagram and shapes and inputs/outputs – PLEASE DO NOT WRITE THIS IN PYTHON CODE! Th…
• Description:  The university maintains course schedules at http://appsprod.tamuc.edu/Schedule/Schedule.aspx for different semesters (spring, fall, winter, etc ). You will develop a Python program t…
• Hey, I have wrote a code for python and used a “continue” statement in an if loop, i was wondering how can i turn that continue statement into an if loop or a while loop?
• The table below gives the observations. By using the hierarchical clustering method answer the followings. (SOLVE WITH R) a. Draw the dendogram b. If the dendogram is cut from 3.7, how many clusters a…
• Write a driver class to test the Circle class definition. Step 1: Create four Circle objects choosing appropriate values for the attributes and print out the four circle objects. Step 2: For each Circ…
• . (self bill): serial_number, denomination bill bills bills[denomination] low 8 high (bills) 1 low high: midway low high 2 bills[midway] serial_number: midway serial_number: high 1 low 0. binary_sea…
• pdf Page 4 of 11 1 Q Q U Q O Q Search Task 2 4 Create the function secondMin which accepts any 1D numeric list and returns the second lowest value in the list. D Restrictions:…
• Hi, could you please explain how to fix this code only use while loop ? thanks 2. In mathematics, the notation n! represents the factorial of the non-negative integer n. The factorial of n is the prod…
• Forms often allow a user to enter an integer. program that takes in a string representing an integer as input, and outputs yes if every character is a digit 0-9. Ex: If the input is: 1995 the output i…
• 6) Repeat #5, but only add positive numbers. Tell them how many positive numbers they entered. Show them the average of positive numbers only. How many numbers: 4 Enter the number: 6 Enter the number:…
• This question is in python and I need help writing this code. a function called shift_digits that takes a string as input. The function should return a new string with one added to any digit (‘0’-‘9’)…
• data analysis with python programming using national earthquake information center data. use NEIC DATASET includes date,time,location,depth,magnitude,and source of every earthquake with a reported mag…
• Good luck. 12 pts D Question 1 Write an application numbers.py that prompts the user to enter a number n and prints the following. Print out 10 even numbers starting from n and the total of those even…
• Now that we have added some powerful logical structures to our python scripts, we can make our scripts much more adaptable. Our python scripts can now respond to different situations by executing diff…
• Combine multiple files Use Python programming to combine two text files: customer-status.txt and sales.txt Data columns in customer-status.txt (separated by comma): Account Number, Name, Status 527…
• Write a program that starts with a piece of text, e.g. the zen of python, as a string variable, return a list of all the words from the string with duplicated words removed. For example, if its start …
• Only answer problem 3, if u answer problem 1 or 2 then I will thumb down code for 1 and 2 is given below code for 1: import numpy as np def compute_solution(M,x0,N): eig,V=np.linalg.eig(M) # compute e…
• Question 2 Professor Name: Xxxxxxx Employee ID: XXxxx Campus: XXxxx After the above two updates to the python file &quot;employee. py&quot;, the python codes on the left of the following table when ex…
• a class that can read grades and credit from a file and calculate the corresponding GPA. Each line in the input file will consist of a letter (A, B, C, D or F), a tab character (“\t”), and a number of…
• Please tell me how to write a   recursive  binary search function, find_first_b, in A4_1.py that returns the index of the first “b”, given a string containing only “a”s and “b”s. All the “a”s are to…
• how to produce a code that using “beautiful soup”, removes the HTML code in a TXT file?
• use  python  . (Anagrams) Write a function that checks whether two words are anagrams. Two words are anagrams if they contain the same letters. For example, silent and listen are anagrams. The heade…
• Where is the code? If you could send the full program that would be great… Task-7-[5pts] Once the program tells you that one or two solutions are obtained, you could display just after the factorize…
• 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…
• Having trouble with this problem. Appreciate help, preferably in Python
• Can someone help me using the code below and how they got the answers to the questions below: import numpy as np from numpy.random import * import matplotlib.pyplot as plt idnum=201456906 def wrap(i) …
• Link to dataset used: https://drive.google.com/uc?export=download&amp;id=1Un5_dBGBoATPuc_U5Fbou40lD8klme1o Define a function isSales that takes the job title of an employee as string as an argument …
• def exercise10 (n) : # Create a numpy identity matrix of size n # Place code below here \/ \/ \/ —- – # – – – – – – Place code above here /\ /\ /\ – — — – return identity_matrix
• Can someone please Explain to me the meaning of every line contained in the code below since I don’t understand what the code is saying. The parts that create the most confusion are the lines that suc…
• What operation is needed in the gap of the following code that implements K-means using Python? # Load and parse the data data = sc.textFile(“kmeans_data.txt”) parsedData = data.map(lambda line: array…
• May you instruct me about how to output .py file which computes the total number of chats for each person who participated in the chat. Output the statistics in a JSON file. Execution format: python s…
• hi there, I cannot find the answers to questions 2.6 and 2.7 of chapter 2 below I found on Course Hero: https://www.coursehero.com/u/file/66440183/CS-521-Homework-2docx/#question Chapter 2 Exercises 1…
• Need help with the following python questions please: 1: 2: 3: 4: 5: How do you tell Python that your function declaration is done? O Remove the indentation Use the } character Use the end keyword ( U…
• Can you explain this code by adding comments? thank you ly_dictionary = {} for adjective,adverb in [[ ‘aft’ , ‘aft’ ],[ ‘fast’ , ‘fast’ ],[ ‘far’ , ‘far’ ],\              [ ‘good’ , ‘well’ ],[ …
• Write a complete Python program that uses Turtle graphics to draw any two lines that cross at a right angle.
• . X Bb Week 3 – Object-Oriented Comp x zy Section 3.9 – CIS261: Python Proc X learn.zybooks.com/zybook/Strayer_-_CIS261Winter2022/chapter/3/section/9 S My library &gt; CIS261: Python Programming I h…
• The panorama.py is not using lgaussPyramid and laplPyramid. Could you please provide why it is not being used in the script. Also the script uses layers = [normalize(np.dstack(imgs)) if norm else np.c…
• I am trying to find the highest number in a list. below is my code: I have a user entering in three numbers and I am trying to loop through the list to identify the highest value input by the user. As…
• I need some guidance with a couple  python  math problems:    A patient takes vitamin pills daily. Each day he must have at least 240 IU of vitamin A, 5mg of vitamin B1, and 120 mg of vitamin C. H…
• Please help me with this problem with 2hours I have exam I need to practice asap, please. Question: Design FullTimeEmployee class and PartTimeEmployee class which  inherit Employee class so that the …
• Consider three networks (A), (B) and (C) below and select all that apply. A B A B D A B D E D E (A) (B) (C) Only network (B) is a strongly connected graph. We can change network (A) from a weakly c…
• Describe the purpose of hash functions, message authentication codes and digital signatures, sketching a possible construction for each of them. A funds transfer system authenticates messages between …
• I am writing a text-based game using python and am having errors that I need help fixing. I am able to move between rooms just fine but my code for picking up items and storing them from room to room …
• I should be getting this: Enter initial amount: 10 Average number of rounds: 46.582, as my results however, I am not getting this. Can you edit my program to see what’s wrong? here is the question: Th…
• The User class has two protected instance variables: id and pin. The constructor takes two arguments: id and pin. Use these arguments to initialize corresponding instance variables. The get id method…
• Write a recursive function find_sum(Arr, n) which will return the sum of all the elements in  sequence Arr, with the sequence Arr having a length of n.
• Major depressive disorder (MDD) and bipolar disorder (BD) are major mental diseases that affect a significant number of people worldwide. Globally, MDD affects more than 300 million people while it…
• I am struggling with getting my code exact. I have completed the code, just need a few changes. The code works, but it is not the output I expected. I cannot get the values to match up, and I am strug…
• How do I Implement a function get_century that takes in a year as an integer and returns a line that states which century that year falls in. The output requires an ordinal suffix (“st”, “nd”, “rd”,…
• Describe how  catching exceptions  can help with  file errors . Invent three Python examples that actually generate file errors on your computer and catch the errors with try: except: blocks. Inc…
• Please download the file ‘Yeast_R64Version_GenomeAnnotation.gff’ . Use string or re method to extract certain information categories and save them in a new file.  Use os.system method to create  tem…
• 7 Ch 7 Program: Data visualization (Python 3) (1) 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 Nove…
• For simplicity, let x and y be snippets of music represented as strings over the alphabet of notes {A, B, C, . . . , G}. For example, x = ABC and y = ADEF. We say that z is a loop of x if z is a prefi…
• Write function  composite2(N)  which takes an integer N as an input and returns the Nth composite number which is NOT divisible by 2.  For example: TestResultprint(composite2(3)) 21 print (comp…
• The program is about operate several BurgerStands distributed throughout town. Define a class named BurgerStand that has a member variable for the burger stand’s id number and member variable for how …
• Given two permutations 𝑝 and 𝑞 of length 𝑛, it counts the number of positions at which 𝑝 and 𝑞 have a mismatch. Ex. 𝑝 = 𝑐𝑒𝑓𝑑𝑎𝑏 and 𝑞 = 𝑐𝑓𝑒𝑏𝑎𝑑…
• The importance on modules and strings in Python and how to use them.  Explain the use of modules (provide at least one example). Explain the use of string functions (provide at least one example). Wh…
• Can u make sure to separate the function and the main file. Also, can u please make sure to use loops (in the function). As well, can u use the .format (from python 3). Lastly, can u make sure to only…
• def divisible_by_7(lst: List[int]) -&gt; bool:    “””Return True if and only if lst contains an element divisible    by 7. Otherwise, return False.        &gt;&gt;&gt; divisible_by_7([4,8,21,6…
• Design MSc_Student class and MEng_Student class which inherit Graduate_Student class so that the following code provides the expected output.  class Graduate_Student:      number_of_graduate_stude…
• Please help me program this assignement in python, I keep getting error message and I m unsure why. You must use Lists and Functions to write these programs. Program 1 (25 Points) Write a program cal…
• Please don’t copy from chegg and course hero
• Complete the link-based implementation of binary trees.  The class linkedbt in the starter code is partially complete. You need to write code for these methods: __iter__, clear, add, and replace…
• Use your note taking strategy to take notes on the following: What note-taking strategy did you select? Why? How will the note-taking strategy you selected help you study? How does this compare to oth…
• Python question: For a dataframe, the column ‘event’ contains the rows which has a format of “LA Clippers 2019-2020 Game 07 – Dallas – 12/20/19”. How do I extract ‘Dallas’ (or the cities) from each ro…
• Source Code: ciphertext.txt: Need to add decrypt code after if(encrypt) loop in the source code.. In your tarball in the withoutkey directory, you’ll find three files: 1. ciphertext. txt – A ciphertex…
• project-8b For this project, you will import the time and random modules. You will also install the matplotlib package and import from it the pyplot module. You will also import the wraps() function f…
• Choose the correct statement.    void main(void) //print array { int *array = (int *)malloc(10 * sizeof(int)); ——– allocate memory if (array == 0) { /* Error handling*/ } // initialize the a…
• I am stuck trying to figure out how to be able to get python to R and W a csv file. I am trying to figure out how to extract data by allowing the user to input an option to find some piece of informat…
• What is wrong with the code? It kept on appearing with the same error.   . 1 s1 = &quot;apple&quot; 2 s2 = &quot;banana&quot; 3 s3 = &quot;orange&quot; joined_with_cammas = s1 + &quot; + 52 +&quot; …
• Writing the output from the results of running or executing a python program. • Rather than the output displaying on the screen or console, the results will be written to a file. You will tell the c…
• how to sort list by frequency words of all length? in python for example in the list 4 words length of 5 6 words length of 3 2 words length of 11 12 words length of 1 randomly. I wan to them sort by f…
• Don’t write the function (try and except)!!   Write a function extractTemp () that takes a string forecast representing a (possible) weather forecast. If the forecast is valid it will contain a singl…
• Is there a manner to reproduce these steps with pandas? e55eeda359cd742f645ac0d828dd8bd92bebfbf2 fips area_name 0 United States 1000 Alabama 1001 Autauga County 1003 Baldwin County 1005 Barbour County…
• Write 4 more statements to check if there is missing data for the number of positive pulmonary smear tests for: **male and female** children 0-14 years old (**new_sp_m014** and **new_sp_f014**), and *…
• Python Class and Objects 1. Create a class named “Account” and “Bank” 2. The class “Account” should have a parameter of id – integer type name – string type balance – float type # (Optional) You may a…
• I am working on a python homework using the pandas library on jupiter notebook. My professor told me to use a .csv file about products. This is one of the questions I need to answer: “What is the aver…
• The Syracuse (also called the Collatz Hailstone) sequence is generated by starting with a natural number and repeatedly applying the following function: jQuery2240967126935266732_1592017815985?(?) = ?…
• Given this pygame code: https://docs.google.com/document/d/1jC25dDezLUFTVGsq34NINWT946mzqt7dlNPxROhvUlI/edit?usp=sharing   use the following video: https://youtu.be/jO6qQDNa2UY to implement the follw…
• The administration wants the  confidence interval  to have a  width  of  10 students , but we have been calculating the proportion of students who are  planning on taking the class  that are al…
• INSTRUCTIONS : 1) Python Programming 2) You cannot use Builtin Libraries
• Find the number of trips crossing landmarks, i.e. trips that originate in one landmark and end in another. Your output should include the originating and ending landmark nam…
• Question 3 Write down the Git command that switches to another branch called &quot;API_updates&quot;. Use the editor to format your answer Question 4 Write down the Git command that shows the history …
• Write a function called insert_value (my_list, value, insert_position) that takes a list, a value and an insert_position as parameters. The function returns a copy of the list with the value insert…
• These are questions without solutions. solve it with code plz! #1 point #create a function exampleOne with four input parameters. #return a new dictionary where lst and 3rd parameter will be keys, #an…
• answer and explanation please. #! /usr/bin/env python3 class Student : # Define the name and number when a student object is created, ex. student = Student (‘ john’, 025969102) def _init_(self, name, …
• I don’t understand why my code is not working. # Lab 10=3 Blood Drive #the main function def main():   endProgram = ‘no’   print   while endProgram == ‘no’:     option = 0     print   …
• what is the answer If the user types &quot;1&quot; at the &quot;kk?&quot; prompt and &quot;6&quot; at the &quot;yy?&quot; prompt, then what would be the output of the following program? Please note th…
• . . You will need to use the correct formula in this question (as shown above) in your dictionary compre- hension. Ensure your converted values are rounded up to 1 decimal value (you may us…
• Question: A function “increase_by_one” takes in a dictionary and  modifies  the dictionary by increasing all  values  in it by 1. The function should remain all  keys  unchanged and finally re…
• Create 2 Simple web/screen scraper programs (preferably using 2 different websites or try to extract 2 different pieces of information from 1 website).
• You are going to create a program that can store and retrieve information related to a user’s reading list. Users should be able to add a book (use functions) to their reading list by providing a book…
• give the pseudocode for this program name = int(input(“Number of names: “)) print(” “) Names = [] for _ in range(0,name):     name=input(“Enter a name: “)    Names.append(name) Names.sort() pr…
• Age Gender1 PhD1 Age:Gender1 Age:PhD1 Gender1:PhD1 1  47       1    1          47       47            1 2  65       0    1           0       65            0 3 ?…
• Create the Galaxy Map Before exploration can even commence, you need to create map of the known galaxy. In order to do , you are given the size of the galaxy to explore through the MAP_SIZE variable. …
• . L Resistor R Capacitor C V; Inductor L R o Input voltage signal Vi Output voltage signal Vo A band-pass filter passes signals with frequencies within a certain range, while attenuateng signals out…
• THIS IS A PYTHON PROGRAM!!!! Compute the sum of an arithmetic series from 1 to 2000 using multiple processes as described in Part 1 and multiple threads described in Part 2. For simplicity, you can wr…
• Please answer the following questions in Python using the below dataset. Please post the code used to get the answers to said questions. Please do not use pandas to solve.    What are the unique cou…
• I would appreciate deeply if anyone can help me run a program so it can upload a csv file which I have. SCENARIO OVERVIEW Your customer, an auditing firm, needs to create a software program that will …
• This is a Python related question. I have to define a function which takes in input of Day, Month and Year. The day and month are in the form of 1,2,3,4.. Using this function, I have to return …
• Greedy Residual Fitting: The relevant link: https://drive.google.com/file/d/1Mvt3EDArVGdIEiN9h-OmvhB6yfApIGt0/view?usp=sharing We start using a greedy approach to multivariate regression. Assume a dat…
• This is on my Zybooks homework and I’m not sure how to make the test run. CHALLENGE ACTIVITY 8.4.1: Printing a string. Write a single statement to print: user_word,user_number. Note that there is no s…
• The application should have play and pause button where the application should mostly be changing colors or in motion when the application is launched.. One special requirement is a Pause/Play button …
• Give examples codes of sentence comparison Function name: sent_compare Parameters: sentence 1, sentence 2 Return: An integer: the number of common unique characters in two sentences Description: You r…
• Clunker Motors Inc. is recalling all vehicles from model years 1995-1998 and 2004-2006.Given a variable modelYear. Write a statement that assigns  True  to recalled if the value of modelYear …
• This question is from hackrank. I need the exact output of what the question is asking for. With the code already given down below. Thank you.. Grades for Niel Patel: COP 1500 x HI 7 Student Quiz Aver…
• Use n0 for loops or comprehensions (which include for loops) in your code. Do not call the sorted function or the sort method on lists. I did not use any local variable in my code. Ifyou use local va…
• What is the value of the autocorrelation function of lag order 0?   options are   1 .Above 0.95 2. 1 3. 0
• Hi there, I have a use case which is (A typical use case is one in which a student goes to the college administrative office to enroll in a course.) This is for creating a transactional processing sys…
• please can u help Problem 2 (10 points each) Suppose an algorithm solves a problem of input size n in at most the number of steps listed for each T(n) given below. Calculate the Big-‘8 (not just Big-O…
• Please solve the following problem using Python Programming  . In a small city there are 5 primary-cum-secondary schools with 10 classes each The number of students by classes are given in the follow…
• ..below . Python programming in VSCode The city of Crymland is plagued by a syndicate run by Mr. Bigg. Initially, Mr. Bigg supervises 7 thieves. The thieves operate as follows: • Every week …
• Student Data should include the following StudentID FirstName LastName Major Phone GPA Date of Birth  python program to provide the functionality to display the student data as needed and to provid…
• Define a class TestIsEvenMethod, which is derived from unittest.TestCase class. Hint : Import unittest module and use TestCase utility of it. Define a test test_isEven1, inside TestIsEvenMeth…
• PLEASE DONT COPY AN ANSWR FROM HERE BECAUSE THEY’RE WRONG  AND HAVE ERRORS.  Program Specifications/Requirements.   • Create a Python program that simulates a restaurant check-out register. • U…
• Some say Python is a preferred language for cybersecurity professionals. Do you agree? Based on your own experience or Internet research, describe three ways a cybersecurity specialist can use Python …
• Classes 1.The biggest difference between a method and property is a method uses () while a property uses the get and/or set keywords. is this true or false 2.A class establishes the user defined model…
• string = input(“Enter any sentence: “) result = [] i=0  while i &lt; len(string):   if string[i] not in result and string[i] not in [‘.’,’,’,’-‘,’;’,’!’,’ ‘]:     result.append(string[i])   ?…
• Similar to what we did in the dams, plot sine and cosine functions over the range of [-2nr, 21!]. Put the plots of the two functions in one sub plot. Your plot should have the following features: 1.1 …
• please use python codes #3: Eahaared Projectile Trajectory Comparison Program Your challenge here is to enhance the trajectory comparison program in a few ways. First, your program should print the ti…
• Write the function flipSwitches that accepts one argument, a sequence of upper or lower case letters (the sequence can either be a str or a list, if you write your code correctly, it shouldn’t matter…
• Question Create full data pipeline in Python. This will include ingest, storage, cleansing, preprocessing, and utilization. The utilization of these data may be in a descriptive manner (e.g., simple r…
• How do I write pseudocode properly for this problem? Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. For this company, a…
• Can you help with the function below as it pertains to the Actor Network and trying to call those functions # You should modify __main__ as you see fit to build/test your graph using  t…
• Write a program that allows the user to enter a positive integer and performs the following actions:   Double the number Reverse the digits in the number Sum the digits of the number If the number is…
• I did not score many mars in the following questions, please share and explain the answers, the marking points are attached. kindly read the function specification carefully and note that we are ONLY …
• Write a program to prompt the user to input a string, and then count the number of digits, letters, and special characters present in the given string. Format the output into a table. 2. Print a ta…
• PLEASE ANSWER. THANKS!. Python Class and Objects 1. Create the following CLASS PERSON ID Name Eat() Age Work() Gender Status() Weight = 65 kg Exercise() Money = P1000 The weight and money has a def…
• Update assignment of points to centroids. Step 3: Update assignment of points to centroids Implement the following function in kmeans.py: def update_assignment(data, centroids): Assign all data points…
• Write code that makes use of the Python randint function and at least two functions from the Python  math module. 2. Additionally, make a (user-defined) function definition and associated function…
• Y=meshgrid(y,ones(k),indexing=’ij’)[0] # make k copies  scl=logspace(-1,-3,k) # noise stdev             Can you exxplain meaning of this?
• dict_a and dict_b are two dictionaries. Write code that “combines” their key-value pairs to create a dictionary named combined_dict (with dict_b taking precedence when there are conflicts). Fo…
• We are trying to test a function called validateEmail. The purpose of the function is to take an email address as a string, and either return a tuple of the local part and domain of the meail, or rais…
• 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…
• what is it called of the minimum number of else blocks in a try/except statement
• . ou m Cc = La &amp; Ki DE N N X G SI C SC = G&lt; = GC|4 S = 12 710 FI C si C /2489809/quizzes/5155491/take 1. Explain briefly what is the ONE major difference between a &quot;for&quot; loop and a …
• write a simple python script that will ask for a magic word. It should keep asking until the user inputs “please”. the script should tell how many attempts the user made
• . QUESTION 2 Question: Using The Guardian API, compare Australian and United Kingdom headlines about the war in Ukraine. What can we learn about differences and similarities between the news present…
• …”’ Author: MyId: ”’ # You’ll have to provide a pre-made list quiz_list = [‘alpha’, ‘beta’, ‘gamma’, ‘delta’, ‘theta’, ‘sigma’]. , which includes a list called quiz_list. Download the quiz3.py fil…
• how to call the value returning function? I have def main(): kwh = get_kwh_used() print(‘Please pay this amount:’) return kwh (a )A main function: Call the value returning function get_KWh_used. Pass …
• Please provide solution for the question . Thanks in advance.   . 2nd Question (Python Coding Test) Scenario: HR department wants to automate the sending of bonus letters. Requirement: 1. Read emplo…
• In mathematics, the notation n! represents the factorial of the nonnegative integer n. The factorial of n is the product of all the nonnegative integers from 1 to n. For example, 7!=1×2×3×4×5×6×…
• Python: Sound Blending – Multi-function Programming     The purpose of this assignment is to use Python to manipulate and modify audio WAV files into a new sound. Locate and use the antelope sound t…

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