Boost your Grades with us today!

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

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

  • 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…
  • 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 pennies. …
  • Someone please help me to write this function in python. Just one function Cousin Degree needs to be written, all other functions are already done. Link to ¬†hobbit-family.txt¬† file ¬†——> http…
  • I NEED THOSE OUTPUTS ¬† RANDOM LIST PROGRAM¬† ¬† ¬† # BOOK LIST PROGRAM ¬† ¬† ¬† REFERENCES ¬† # RANDOM LIST PROGRAM¬† ¬† ¬† def main(): ¬† ¬†try: ¬† ¬† ¬† ¬†print(‘Welcome to our random number gam…
  • Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. Describe each possibility in your own word. Define “precondition” and “postcondition” as …
  • Re-uploaded, forgot data attachment, so sorry. I am creating a program on Python 3.7.4 that reads table data from the database into a wx.ListCtrl. The database is to be named¬† speeding_tickets ¬†and …
  • Solve all parts below in Python Code: ¬† 1) MLP classifiers in scikit-learn have an option for so-called ‘warm start’. Specifically train the network for k epochs, and then using warm start continue t…
  • Lab Assignment #10 – Object Oriented Programming Total Points 0.0 / 60 pts. Lab Assignment #10 Activities 1. Design a class to represent the purchase of an online item: a) Complete the UML diagram for…
  • Explain how you create Strings in Python? What are docstrings in Python? How would you replace chars/substrings in Python string?
  • [fight_song.py] ¬†Doing a program that outputs the following fight song. Your program is required to have a function named¬†`sing_fight_song`. When the `sing_fight_song` function is called it should “…
    • Word look up algorithm Write a function called word lookup that takes a string argument. The function should check if the characters in the string can be used to make any of the words in the ‘word…
  • According to the question, how can I put those codes into a web server called cat_server.py ? please show me the detailed explanation. The following is what I have done so far. (It works in the cells …
  • [For Python] We want to add a button to the tally counter in Section 9.2 that allows an operator to undo an accidental button click.¬†Provide a method def undo(self) ¬†that simulates such a button.¬†A…
  • how do you write the code to get the answer for part a 2. Control: if my_var % 2: if my_var**3 l: 23": my_var = my_var + 4 # Assignment 1 else: my_var f: 1.5 #Assignment 2 else: if my_var <= 1…
  • The dataset Cereals.csv includes nutritional information, store display, and consumer ratings for 77 breakfast cereals. Data Preprocessing. Remove all cereals with missing values. Apply hierarchical c…
  • How do I do these three questions?¬†. 3. add_rows [15] Write a function called add_rows which takes a CSV filename string and a list of dictionaries (which represent rows) as arguments and appends eac…
  • Learning Journal Unit 6 Part 1 Write/create a Python program that does the following.¬† Create/write a string that is a long series of words separated by spaces. The string is your own creative choice…
  • Need help with the following question please! Code should be written in python! Question 1 / 200 points ) A shopkeeper has a sale to complete and has arranged the items being sold in a list. Starting …
  • 3-4 Discussion: ReflectionDiscussion Topic Starts Nov 6, 2021 11:59 PM Now that you have completed the first three modules, take some time to reflect on what you have learned and discuss your learning…
  • can you help me fast in writing a python script that will prompt the user for the name on an interface. if the interface exists the script will turn off if the interface doesnot exist the script will …
  • How to input all the distances < 10 into an array and then return it?
  • Python Code: Please help me with this ¬†. 1. Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700 (both included). 2. Write a Python program t…
  • I don’t need the UML diagram. Please start your source code with the format below. ¬†The project will be named Exercise09_07 ¬† /* * To change this license header, choose License Headers in Project…
  • Given two GVDie objects that represent 2 six-sided dice and an integer that represents a desired value as parameters, complete the function rolling_for_pair(). The function rolling_for_pair() rolls th…
  • Load the images of the parrot, group of parrots and the vacuum cleaner. Display the images. Calculate the color histogram of the images and normalize them. Please consult the OpenCV documentation for …
  • class Sorts : ¬† ¬† # The Sorts ¬† ¬† ¬†¬† @staticmethod ¬† ¬† def radix_string_sort (strings): ¬† ¬† ¬† ¬†¬† “”” ¬† ¬† ¬† ¬† ——————————————————- ¬† ¬† ¬† ¬† Perfor…
  • Consider this Python list: colors = [“yellow”, “red”, “green”, “yellow”, “blue”] What is the name of the list method that will return the first index where “green” is stored in the list? find index po…
  • how can I code a stock market program in python that analyse the market with mathematical tools? thank you
  • please help me solve this question with Python. Maximize the following function using gradient descent. Write code to implement your algorithm. Pick any suitable learning rate. Ô¨āÔ¨Ā=4Ô¨Ā+Ô¨Ā‚ÄĒm How…
  • Python problem statements: Define a recursive function named max_value; it is passed two arguments: ( 1 ) a tuple of 2 -tuples: each 2 -tuple contains an int (representing the weight of a gift) follow…
  • Write a function called to_string(my_list, sep=’, ‘) that takes a list and a separator value as parameters and returns the string representation of the list (separated by the separator value) in th…
  • Word Ladders A step word is formed by taking a given word, adding a letter, and anagramming the result. For example, starting with the word “APPLE”, you can add an “A” and anagram to get “APPEAL”. Giv…
  • I have to design the following data structure; Write the class RandomQueue with the following API: class RandomQueue<Item> implements Iterable<Item> RandomQueue() // make an empty random q…
  • Given the following class definition: class Building (object): ¬† ¬† ¬†def _init_ (self, invNo, owner, descr): ¬† ¬† ¬† ¬† ¬† ¬† ¬†self.__invNo = invNo ¬† ¬† ¬† ¬† ¬† ¬† ¬†self.__owner = owner ¬† ¬† ?…
  • Hello, I’m trying to figure out how to use argparse in Python 3 to print, combine, and count inputted text depending on what is entered. In the CLI, I would like to do something as follows: $ python p…
  • what is the header.sp file?. inv . write( betweenNode ) Are we at a the last node of the chain? lif(inverter == len(stage) ) : endNode = \\nXinv’+ str (inverter + I ‘+ str 25])+ ‘inv M=’ + str ( fan* …
  • Hi can you please help with forming this into a functioning code free of syntax errors.¬† ¬†. A The mais haven’t lem released pet Write a function executed_ Ids (plan, start) that takes a plan as a Li…
  • Python Programming 2 In the lectures, we calculated the sum of the values in each sublist of a multi-dimensional list. Now you are to write a function columnSum(Ist) that takes a multi-dimensional lis…
  • The equation of the pseudo huber loss function is given by: ¬† Compute values of theta0 and theta1 in the direction of reaching the minimum point in the graph. Find The iterative formulas for the hube…
  • I am trying to debug and get to plot the graph for the rainfall data in the text file attached at the end: # Import python computational tools import numpy as np # Import of Numerical Python module im…
  • Overview: The following code is a chat application using UDP in Python 3. To use it, you must start the server and enter the port number you like. Once you do that, you open the client and enter the s…
  • A “for” loop that uses a range() function is executed A) once for each integer in the collection returned by the range() function B) until the “for” condition is equal to the value returned by the ran…
  • part 1) I and my friend has got a challenge. He encrypted a message and gave to decrypt it. “Hduwyqbz21” decrypt using mecclagein method. Part 2) 1. (6 points) Write a program that reads in a file and…
  • PYTHON —Toll roads have different fees based on the time of day and on weekends. Write a function calc_toll() that has three parameters: the current hour of time (int), whether the time is morning (…
  • Code a Python program that lets the user enter the total rainfall for each 12 months into a list. The program should calculate and display the total rainfall for the year, the average monthly rainfall…
  • In this project, students will learn: – How to (create) modules and functions – How to pass data from one function to another – How to store data in lists – How to (create) and use selection control s…
  • . def duplicate_link(Ink, val) : """Mutates ‘Ink’ such that if there is a linked list node that has a first equal to value, that node will be duplicated. Note that you should be mutat…
  • Assume a file containing a series of integers is named integers.txt and exist on the computer disk. Write a program that¬† reads all of the integers stored in the file and calculates their total. Whil…
    • Using the provided hotels.db, write python code to execute the following queries on the database and print the results to the console. o¬†¬†List full details of all hotels in Brisban…
  • . Given: nested for loops for m in (0, 10, 20) : for n in range (3, 6, 2): print (f’m={m: 2} n={n:2} ‘, m * (n – 2) ) Re-write the code using nested while loops instead (i.e., replace each for by an…
  • alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subdermatoglyphic”,”the quick brown fox jumps over …
  • Write ¬†Python program to do the following: a) Write ¬†recursive Python function that has a parameter representing a list of integers and returns the maximum number stored in the list. b) Use Exceptio…
  • Create PowerPoint that contains a FLOWCHART and a PSEUDOCODE for each problem (You may use a different application if PowerPoint is not available). Use the information below to create pseudocode (whic…
  • Okay I need help with the coding for this project that I’m working on in python. I already have some of the code but I’m stuck and I’m pretty sure it’s not right because it’s not working at all the wa…
  • Please help with practice example. ¬†. We will develop here a method derivate such that, for an expression e, the method call e. derivate(x) returns the derivative of the expression with respect to th…
  • 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…
  • Help me in this please, Please make the algorithm for the details below in Python and make sure it uses the Divide and Conquer method , you can find this method of solving online. and the method must …
  • How would I program a solution to thus using for loops or while loops? ¬† ¬† ¬† Being tired of the challenging assignments given by the MCS Professors, students have collectively decided to have a roa…
  • would you please help me write there two part code I have file about machineCode.txt and pythonStatements.txt code in that image you can create that two file file in JUPYTER or python before you start…
  • Open file class_books.yaml – NOTE: Use with open(…) as XXXXX: to eliminate having to close() the file. 2. Use yaml.load() with Loader=yaml.FullLoader to read file class_books.yaml into a variable…
  • using https://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson.php, make a map chart showing earthquakes in the past seven days for the magnitude level of your choice. See¬† https://python…
  • Need help with this python assignment! Please follow the given instructions and have the sample output be like the sample output shown. Please code in Python! Thank you! Here is the starting code: ¬† …
  • The task is: A rugby team has 15 players. A bus company has big buses that can carry 48 passengers and small buses that carry 10 passengers. Big buses cost $200 to hire. Small buses cost $95. Write a …
  • Suppose you have ridden a bicycle from New York City to Key West, Florida.¬†Your bicycle odometer shows the total miles, which you have dutifully logged at the end of each day with paper and pencil.¬†…
  • Create an application using PysimpleGUI that solves problem in the field of Mathematics, Physics, Sciences and Engineering. ¬† Use the following: 1. GUI (graphic User Interface) App Using Python 2. Ob…
  • The given file¬†ages.txt¬†contains the ages of some passengers in a cruise ship. Write Python code to open the file and develop list of ages. Continue to write code to answer the following questions: …
  • All file input and output is done with what kind of data?¬† ¬† Python Programming
  • Your organization needs you to make a program that will streamline the check-in process for the upcoming Battle Royale Game Tournament. The program will need to read the CSV file of pre-registered pla…
  • Python Programming- I need help to develop a class in the following problem > Please provide original answer.Thank you .
  • A local biologist needs a program to predict population growth. The inputs would be the initial number of organisms, the rate of growth (a real number greater than 0), the number of hours it takes to …
  • gather domain-specific data and the most critical objective of data collection is ensuring that information-rich and reliable data is collected. The approach of data collection might not be the same…
  • What is the trace of the matrix ūĚźĻūĚĎá ‚čÖ ūĚźļūĚĎá ? Please store your answers into a string variable Trace_FTGT written with valid python code formatting (e.g. Trace_FTGT = “2 + a -b”). (Note you …
  • Having trouble with the rest of the code with these questions highlighted in yellow. Provided actual code so that it would be easier import numpy as np import pandas as pd from pandas_datareader impor…
  • A program that takes a string and converts all the lowercase letters to uppercase and all the uppercase letters to lower case. It should ignore numbers and special characters change the program in a n…
  • I need the code on how to make this show when I run it
  • I have a code that calculates if the user is eligible to vote.¬† My code asks the user to input their month of birth, then their day of birth, and then their year of birth. If all of these fact…
  • py: import random import time #—————————————# ¬† ¬† ¬† # Implement Recursive selection sort here. # n: size of array – index is index of starting element def recurs…
  • You are going to shop in the supermarket near you. You need to calculate the total expenses (what you purchased from the supermarket plus commuting expenses). This week you are going to purchase ONE i…
  • Suppose we have electricity bills for a year –¬†12 months from January to December. Every bill has an amount of money. Create a program to let the user enter these amounts. Then let the program do the…
  • Task 2: Leap Years <¬ß2.1Conditionals; ¬ß3.1 Strings> Part A – Is this a leap year? Write a function is leap year(year) that calculates whether a given (CE) year is a leap year. The function mus…
  • Lab Requirements: I write a program that creates a block pyramid. You are expected to take in a single positive integer which will be used as the height of your pyramid, for the purposes of this first…
  • Modify the code in the cell to get desired output 8. E8) Balanced Accuracy Implement a function that computes the balanced accuracy. You can implement the accuracy whatever way you like using Python a…
  • function to print the sum of all negative numbers from a list. The list must be passed as an argument to the function. E.g. list = [-1, 5, 6, 8, 3, 0, -5]. Answer = -6¬† Note: “Code only in python lan…
  • https://www.kaggle.com/gpiosenka/balls-image-classification ¬† use Image Classification Through Support Vector Machine to classify this data.
  • hi can someone help with these questions? i want to check the answer match with me, since i’m confused on them. answers all. thank you!
  • Write a program that reads the name of a text file¬† file_name , opens it for reading, then outputs a copy of your file with all lines double-spaced, so there’s a blank line inserted between each line…
  • CSC105 Intro to Programming¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬†¬†¬†¬†¬† Python Programming Parallel Arrays and Python Code Please help with code using flowchart By using the same subscript, you can establish a…
  • CIT 1113 Project 2 — Modification of Project 1(25 points) (Project 1) – Mathis Bros. furniture store gets desk lamps and coffee tables from your company. Each desk lamp costs $65 and each coffee tab…
  • Code the below: A)Write the function bounded upper lists(upper bounds) that accepts as argument a list of positive integers of length n and returns a list of all lists of length n consisting of non-ne…
  • How do solve these two problems? Do I simply type in proportion? Conditional Probability Conditional probability is the probability of one event occuring given that another event occured. George colle…
  • In this problem, implement a Distance-Weighted Nearest Neighbor Classifier The dataset looks like this: In this problem, you will implement a Distance-Weighted Nearest Neighbor Classifier and run it o…
  • Pls I need help one this¬† ¬† Chapter 7 complete the following Programming Exercises from the chapter.¬†¬† #2¬†Lottery Number Generator #3¬†Rainfall Statistics #4¬†Number Analysis¬†program (optional 5…
  • H4-2] (trig.java) Here are three different “trigonometry identities”: sin(x+y) = sin(x)*cos(y) + cos(x)*sin(y) cos(x+y) = cos(x)*cos(y) – sin(x)*sin(y) tan(x+y) = (tan(x) + tan(y)) / (1 – tan(x)*tan(y…
  • please help me with this question … 0 ref ill_rack: This function takes as input two dictionaries (one representing the rack of a player, the other representing the pool of letters, respectively) an…
  • CHALLENGE ACTIVITY ¬† 6.1.3: Function call with parameters: Converting measurements. ¬† Define a function calc_total_inches, with parameters num_feet and num_inches, that returns the total number of i…
  • Chapter 11 – Program 2 ¬† In a particular factory, a shift supervisor is a salaried employee who supervises a shift. In addition to a salary, the shift supervisor earns a yearly bonus when his or her …
  • Craps is a dice-based game played in many casinos. Like blackjack, a player plays against the house. The game starts with the player throwing a pair of standard, six-sided dice. If the player rolls a …
  • need help, in python, for why my def hash function is not working. below is my code, and attached is directions given to me. in quotes is sample input/outputs. It keeps saying I am getting an error th…
  • I’m trying to calculate the class prior probability in python (Naives Bayes classifier). Referencing this example, I have the Y labels. and for the input vector it is X. How do you calculate the prior…
  • Introduction to Programming Autumn 2021-2022 Assignment Eight DUE DATE: TUESDAY, Nov. 9TH @ 11:59 PM (CHICAGO TIME) The purpose of this assignment is to assess your understanding of User-defined class…
  • PLEASE HELP ME WITH THIS PYTHON PROGRAMME QUESTION ¬† Dataset Information This dataset contains information on default payments, demographic factors, credit data, history of payment, and bill statemen…
  • G Which of the follow X Content Launch Meeting – 7 X 501c3 tax exempt | x free 501c3 recept f x 501c3 Services X rd.com/ultra/courses/_155914_1/cl/outline Google * Addons Store Test Information Descri…
  • I have created a few codes, and I wonder that in each line, I need help in explaining in # comments which tells what is happening in that line of codes. Note: these two files need to work together¬† ?…
  • programming project 1. Objective What is the purpose of this program? 2. Program requirement as stated in the question 3. Design flow (flow-chart and pseudo code) 4. Rational of your program design? O…
  • I have the code for this assignment and it is fully functional: ¬† import requests # url to request data url = “http://labs.bible.org/api/?passage={}+{}:{}&formatting=plain” # print introduction a…
  • Please solve this Write a Python program, in a file called string_merge. py, that includes the following functions: . mergeRecursive, a recursive function that takes two strings of ASCII-ordered chara…
  • count(self, value: object) -> int: This method counts the number of elements in the bag that match the provided "value" object. It must be implemented with O(N) runtime complexity. Exampl…
  • Repeat #5, but store all entered numbers into a list first. After data entry is completed, display the entered numbers using a for loop, but without using an index (i.e. cannot use range). Then co…
  • Ac cept that the TLB is shared as opposed to flushed on process exchanging and that the it are supporting “delicate” sections to work framework fashioners. (I) notwithstanding page number and page bas…
  • Two functions lastDigit and allButLast are given below. Given a number n as an argument the function lastDigit returns the last digit of that number and allButLast returns the number with its last dig…
  • I have most everything figured out except for the Delete method of the Node class. I’ve tried rewriting this several times and I feel like I’m missing something very trivial. I’ve restricted the abili…
  • The sequence of assessments will test your knowledge and skills in writing an application software for a task, understanding the business rules of a particular problem, coding these in a computer prog…
  • The dictionary `calories` maps foods to the number of calories that food has. Write code that assigns `fewest_calories` to be the name of the food with the fewest calories. ¬† calories = { ‘pizza slic…
  • country = [“HUN”,”MAC”,”PHL”,”SVK”,”USA”] is the list of country codes LE_1960 = [65.57, 32.33, 70.82, 32.36, 50.55] is the list of the Life Expectancy at Birth of each countries in 1960. LE_2013 = [7…
  • Ask user to input values for side1, side2, and side3 ‚ÄĘ Is the sum of side1 and side2 greater than side3 AND the sum of side1 and side3 greater than side2 AND the sum of side2 and side3 greater than …
  • import numpy as np #Numpy package would be the only package you could use for this project. Problem1: The Estimated Value for Each Warehouse Note that you are not allowed to use dynamic programming in…
  • Can anyone please help me to fix this error? Thank you so much in advance!. Question 7:/15pts Modify the function BootstrapPred from lab04 to bootstrap your fit and generate a prediction from each of …
  • My answer for this question is D) – can you tell me if I’m correct? Given these two separate functions, which implemenation combines them into one reusable function? def sixSidedDie() : ¬†¬†return ran…
  • We are required to generate a password of 10 characters with at least 2 uppercase letters, 2 digits, and one symbol at random indices; the rest can be lowercase letters. What is a function that receiv…
  • TOPIC: MODULE Module Definition Unlike function, module is like a code library that contains collection of functions that you may utilized to your existing application. A module can be imported by ano…
  • A model uses below decision variables. xi,j,t: Number of product i produced in facility j in month t. i=1, …, 20; j=1, …, 5; t=1,…, 12. ¬† Using above variables give algebraic expressions for be…
  • An example of such a word is¬†door, as there is no letter in the word that has a higher Unicode value than any letter that follows it, whereas¬†cat¬†is not, as¬†c¬†precedes¬†a¬†in the word (hint: the?…
  • AirBnB Visualisation and Price Recommender App Attempts to create the functions are awarded 2 marks each Scenario: Based on the earlier EDA, we have seen that it is not modular and does not allow the …
  • How to create a flat surface or a plane or a grid in 3 dimensional space with at least 500 vertices in Python using Numpy array?
  • Can help how to write Python code to answer those questions? ¬† Data contains the details of over 11,000 athletes, with 47 disciplines, along with 743 Teams taking part in the 2021(2020) Tokyo Olympic…
  • Patient / Doctor Scheduler – Create a patient class and a doctor class. Have a doctor that can handle multiple patients and setup a scheduling program where a doctor can only handle 16 patients during…
  • Two words are a ” reverse pair*” if one is the *reverse of the other. Write a function called reverse_pair that takes two words as the two arguments and finds if the two words are a reverse pair (retu…
  • class RNN(torch.nn.Module): ¬† ¬†“”” ¬† ¬†RNN is a single-layer (stack) RNN by connecting multiple RNNCell together in a single ¬† ¬†direction, where the input sequence is processed from left to right…
  • 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…
  • I need help with these python questions and scripting them to match the output. There are only 5 questions here. QuesÔ¨āon1o Question Grade Points: 0.4 Given the following Python code, what would the …
  • Need help with the below: 22. Observation DeÔ¨Āne the class Observation which will help record observational data from a scientiÔ¨Āc outpost in Antarctica. The class should have a constructor that acc…
  • STAGES (PART II) The following stages of development are recommended. Each stage is worth a portion of the marks. Many problems in later stages are due to errors in early stages. Make sure you have f…
  • For the following program, draw a flowchart that presents the steps of the algorithm required to perform the task specified. You are only required to draw the flowchart for the¬†main program¬†(exactly…
  • Create a Standalone Python Script that will act as a TCP Server.¬† The Server will accept connections on Port 5555 from TCP Clients Operating on the same local IP range as the Server.¬† The server wil…
  • My programming homework is as follows, there is a syntax error at the bottom on this line: print ‘\n’\.join(map(str, [x + y, x – y, x * y, x / y, x.mod(), y.mod()])) I would like help figuring out wha…
  • PLEASE USE BASIC PYTHON LANGUAGE AS THE CLASS IS CS-1113 an intro to computer science please and thank you if you can explain i would appreciate it as it will help me study for an exam ¬† I want to un…
  • Create a program called read_file.py that reads the address.txt file linked below into a list. Then, prompt the user to enter a line number, and display that line from the file. Keep repeating unti…
  • WRITE A PYTHON PROGRAM Create a class called Polynomial with the following specifications: (Note: a polynomial is a function of the form: ) Data: An array of numbers called coefficients which should s…
  • “Write a”¬† python program ¬†for the following question. a) Complete the symptom similarity function, which measures the¬† similarity between the symptoms of two patients . See below for an explanatio…
  • Hi, I am trying to add a program to check the password strength after my password is generated randomly. Here is the code the the password generator (happy with this code): import random def get_char(…
  • . Dictionary of dictionaries In [43]: # A dictionary of dictionaries a_dict_dict = { "Y1" : { "cash flow" : 160, "balance": 0 "Y2" : { "cash_flow": …
  • Program in pyhon to compute the frequency of the words from the user input. The output should output after sorting the key alphanumerically. Suppose the following input is supplied to the program: “Pa…
  • Question 18 Write a function called rotate(head, n) that takes the head of a Node chain and an integer, n, as parameters. The function must rotate the Node chain to the left n times and return the new…
  • Two examples of application features that are designed using an “implementation” model. Two examples of application features that ¬†are designed using a “mental” model.
  • Using for loops, create a simple game where u have to guess a randomly generated number. You are given 5 tries to get the correct number. The game should tell you if the value is too high/low. Additio…
  • I’m having a hard time creating this code and executing it without error. Please help me understand… Make an automobile class that will be used by a dealership as a vehicle inventory program.¬†The f…
  • https://docs.google.com/spreadsheets/d/1N3Ac__zwJX1aZ9UHvYD356uODw1feoC3EQttlvOsCB8/edit#gid=273706983 Create a scatter plot and visually decide if a linear model is appropriate (a matrix scatter plot…
  • Please modify the code below where it says to insert the code in order to get the same outputs in the image.¬† ¬† ”’ Will be tested with height a strictly positive integer. ”’ def f(height): ”’ …
  • Could I get help to solve this question in MRJob/map-reduce. I have the solution in Python but I want the code modified such it can parse on Hadoop. ¬† ¬† The data set contains data of news headlines …
  • Can someone help me convert perl script to python script? I have provided the script below in perl language #!/usr/local/bin/perl ###Exercise 1.4 – calculates and prints statistics of enzyme activity …
  • trying to make the main function of my script delegate the calculations through tomorrow(today) function and add the days to the date entered depending on the number entered in (yymmdd, n) where n is …
  • assert(innerThree(“and”) == “and”) assert(innerThree(” can d”) == “can”) assert(innerThree(“c and y”) == “and”) assert(innerThree(“c and ys”) == “and”) assert(innerThree(“12 345 678”) == “345”)
  • I am stuck at this question, because I am unsure how do I normalise the kernel progressively. My code is original_wave_sample = [0, 3, 7, 14, 18, 24, 23, 29, 28, 30, 32, 35, 31, 34, 32, 30, 25, 25, 24…
  • please make a bar graph or line graph with this data file link : https://1drv.ms/x/s!AscgrvX8PH3qgekaKefSgxc4gO26Tg?e=Wjdaz8
  • Python Programming Can someone please help me make this menu based python program ¬† 1) When the application starts, it will ask for log in (first username, then password). 2) It displays the followin…
  • Use the stocks Spark data frame¬† Use Sparks ML algorithms for the following. ¬† For each of the following, do one set of predictions using the entire dataset, and another set of predictions using 70/…
  • Assessment item 3 Assignment 3 Value:15% Due date:20-May-2016 Return date:14-Jun-2016 Submission method options EASTS (online) Task A video games club, AB Games, has many members who can connect to th…
  • I am going to rephrase this question. I have formatting to do. I am using tables to format some of my label and check boxes etc… is there an easier way to do this? ¬† ¬† <form action=”{{ url_for(…
  • please asap. Q3 Write a program in python to enter two strings and prompt a message on screen is second string is present in first string.
  • This is a project. IT IS A CSV FILE AND I POSTED THE DATA BELOW THE QUESTION, put it in an excel document and save as csv to work on it 1.get_input_descriptor() This function repeatedly prompts for th…
  • Select any dataset that contains at least 200 observations and at least 5 attributes. Choose ONE (1) target variable among the available variables. Given the following 2 groups of classification metho…
  • All my previous code is like this: (I just need you to write the “def” part) Here is the previous questions: ¬†. Problem 4-daily_prices () in numlib . py: Daily prices from returns [20 points] Write a…
  • Please help write update and delete methods, as well as the script for testing the update and delete methods.¬† ¬† Develop a CRUD class that, when instantiated, provides the following functionality: A…
  • Write Python code for the following: 1. First, consider the case of an American Call option with underlying stock trading at $95, Strike price of $90 and 1 year maturity. Use the Binomial model with t…
  • Let k be an infinite field. Let I = (y – x2, z – 23) C k[x, y, z]. (a) (4 points) Show directly (without using Buchsberger’s criterion) that {y – x2, z – 23} is a Grobner basis for I with respect t…
  • Hi, please help me with this question. Please refer attachment for details.. 2. Functions file: firstdef.py Restrictions: -you may have no code in this file that is outside of a function -the only fun…
  • Please build a python program for the requirements. There are the expected input and output for 14 cases below. ¬†. Test 10: 10 allocate tables Incorrect program output — Input — file1. txt Book /…
  • Use the Value Distance Metric (VDM) to find the distance between symbolic feature values Northeast, Midwest, South, and West and further use this information in the KNN algorithm to predict pdc-80-fla…
  • Introduction Your company is a non-profit whose purpose is to advocate for equity in handling and providing long term solutions to city maintenance problems (trash collection, potholes, etc.) in Kansa…
  • Write a program that prompts the user for the current US population, and the names and population of five major cities in different states.¬† Your program will calculate the percentage of each city’s …
  • Question 3: Write a program in which you ask user to enter two values using two input statements and save the values in two variables. If both of the values entered by user are valid numbers(see examp…
  • Gravitational constant, G = 6.67 * 10^-11 Nm^2/kg^2 mass of the earth, Me = 5.98 * 10^24 kg Radius of the earth, Re = 6.37 *10^6 m Really need help with this question ASAP The acceleration of an objec…
  • In python I have my code written and I want just 4 functions 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 …
  • 6.23 LAB: Swapping variables Instructor note: Hint: your function is going to need to return four values, so reread zyBook 6.3. The reason that swap_values ( ) needs to return 4 values is beca…
  • The program doesn’t run def main( ) : getinput( ) def getinput ( ): name = input ("Enter the name of the customer: ") age = int (input ("Enter the age of the customer: ") ) while a…
  • . Instructions In Figure 3.2 (in your textbook) presented a class-average script in which you could enter any number of grades followed by a sentinel value, then calculate the class average. Another…
  • Year 113 Cause Name Cause Name State Deaths Age-adjusted Death Rate 2012 Nephritis, nephrotic syndrome and nephrosis (N00-N07,N17-N19,N25-N27) Kidney disease Vermont 21 2.6 2016 Nephritis, nephrotic s…
  • Exercise 1.1. ¬†Include example Python code and output with your answers. If you are trying to print a string, what happens if you leave out one of the quotation marks¬†or both and why?
  • PLEASE DO WITHOUT PYTHON CODE ¬†. 4. The Binomial Random Variable You take the train and noticed it has a 15% probability of being delayed. You take a course which has 13 exercise sessions and you wil…
  • Create 100 keys¬†element ranging form 0 to 100. create the values equal to the number of keys randomly ranging from 100 to 1000¬†numbers Create method to add these keys and values into a dictionary us…
  • Which of the following is not considered in bag of words ¬†(BOW) model representation? ¬† 1. Word Sequence 2. Word Importance (e.g. IDF) 3. Word Frequency
  • I need help printing a table from a csv file. we start with this code: # Open and read health data file one line at a time # Columns are # disease,increase,location,number,population,year file = open …
  • I need help with my homework assignment. And I mean actual help not just a copy and past answer just to get a good review. I want to learn the material but I’m not getting the help I need. ¬†. Project…
  • . Copy creates a shallow copy [Only the top level elements are created anew] In [37]: a_list = [["a’ , ‘b’ , ‘c’], [‘d’ , "e’ , "f’ll I You have been asked to create a copy of a List …
  • DSC20 tutors decided to start their own business: a small restaurant. In this question, you will use¬† list comprehension to help them count the number of the letters on the cake that needs to be deco…
  • Please don’t copy other people’s answers, I just want to know how to solve these two questions. Problem 1. Implement the Forward Euler algorithm in Python to Ô¨Ānd the solution of the following initia…
  • Given Reference, import random # This is a list of the valid colors for general use. colors = [‘R’, ‘Y’, ‘B’, ‘G’, ‘P’, ‘W’] # Some functions relating to generating and # validating combinations def i…
  • Domain – Chemical Industry ¬† focus – Classify chemical ¬† Business challenge/requirement FuPont is a leading chemical company across the globe. The Company is on a CSR (Corporate Social Responsibilit…
  • Write a Python script that will prompt for the scores of the 6 homework and 7 lab assignments in this course, and then calculate the amount of extra credit you would need in order to get a 90% or high…
  • . (35 points total) DeÔ¨Āne a class called Grocery, which contains a constructor and three methods: buildlnventory(), viewlnventory() and checkOut(), to handle a small onl…
  • c) Create the Python implementation of the Item ToPurchlass in a file called Item ToPurchy. Include file header comments with your name, date, class, and short class description for full credit. 2. Cr…
  • Implement the kmeans function. You should initialize your k cluster centers to random elements of examples . After a few iterations of k-means, your centers will be very dense vectors. In order for yo…
  • . Indicate if the following statements (1, 2) are true (T) or false (F): 1) One way to specify the amount of smoothing of a spline is through its degrees of freedom 2) A fitted smoothing spline can …
  • Write a program(object oriented programming python) that inputs a single letter and prints out the corresponding digit on the telephone. The letters and digits on a telephone are grouped this way: 2 =…
  • #define _CRT_SECURE_NO_WARNINGS #include<iostream> #include<iomanip> #include<malloc.h> #include<string.h> #include “CarInventory.h” using namespace std; using namespace sdd…
  • Why don’t I have access to view this already answered question. I have atleast 5 unlocks, but not able to view this. ¬† ¬† Question [10 points] Problem 1 – Apriori Implementation A sample dataset has….
  • Hi , I’ve been given this task of Completing the¬†draw_pattern(a_canvas, colours_dictionary, pattern_list, size, left, top)¬†function. This function is passed¬† SIX¬† parameters: the Canvas object, a …
  • plz add comments and keep it simple new to program… You are asked to input two positive integers a and b, where a<b Enter a positive integer a: 18.5 This is not an integer. You have 2 more attemp…
  • Hey anyone, I need a python code for this game. Please spare some time to help me in doing this task. Note: I will also attach 3 images (Screenshot) of question in the last as well for better understa…
  • Given base and n that are both 1 or more, compute recursively (no loops) the value of base to the n power, so powerN(3, 2) is 9 (3 squared). powerN(3, 1) ‚Üí 3 powerN(3, 2) ‚Üí 9 powerN(3, 3) ‚Üí 27…
  • Tax laws are incredibly complicated. In order to help cope, you will write program to do some of the heavy lifting. Your program should accept as input the amount of income made by the user in the pas…
  • plzzzzzzzzzzzzzzzzzzzzzz can you check my errors,codes and other things which are needed for this files and get a perfect out put plzzz. as soon as possible I need to be soon. ¬†(must output) _timer.p…
  • Make a showEmployment function. It will have three arguments. 1. Employees: directory of strings with individual employee names EmployeeYears: directory of integers with the year of ¬†the employee wor…
  • Using jupyter notebook: Part 1 – Assume we have a Poisson random process in which we expect 2.5 arrivals per second. Generate 100,000 random numbers reflecting the number of random arrivals in one sec…
  • Using Python, Juypter Notebook I can’t figure out why I’m getting errors, why Part D has no output and I can’t figure out Parts E, F, and G my code
  • the python synthon syntax to assign the value 50 to the variable count is__ a. count==10; b. count=10; c. 10==count; d. count is=10;
  • What is the output after the following? for x in range (10, 20, 2) : print (x, end") O a. 10 12 14 16 18 O b. 10 12 14 16 18 20 O c. 12 14 16 18 20 O d. None of the above
  • Exercise / . Write a python program to ask if the user wants to go to the park or not. If so, ask if the user wants to bike there or not. If not, ask if the user wants to play a game. Match the text o…
  • In this assignment you are to write a Python function to accept a list of U.S. presidents and the year they were elected and return a dictionary and list containing years provided in the list that are…
  • problem_2_data_labelled: Problem_2_data_unlabelled: ¬†. In the attached Ô¨Āles, problem_2_data_labelled.csv and problem_2_data_unlabelled. csv, you’ll Ô¨Ānd 500 labelled two‚ÄĒdimensional points and 1…
  • use docstring and Please use a simple python for beginners
  • Hello, I need some help with this question that our teacher challenged us to do. Try to help me if you can. ¬† This question is a card game, called “Pouilleux”.¬† Description of the game (simplified):…
  • Can someone explain this coding line by line, like what each lines does. Thank you The assignment is below the code and text files are there too ¬† # program that prints data for a school library ¬† d…
  • How would I go about defining the function, keeping in mind the restrictions? I’m not used to the syntax and as a result confused.
  • python programming I am getting an error saying (words are not defined) please help ¬† # The words parameter is a list of strings. def build_dictionary(words): ¬† ¬†# The frequencies dictionary will b…
  • . Preview File Edit View Go Tools Window Help G R B C Q 8 @ Mon Feb 28 6:09 PM Exam_1_SimpleProgramming.pdf Q Q b v A Q Search Page 2 of 11 Exam_1_Simple… introduction to 96 2629 Exam 1 General 2 …
  • Need help with this code. Need the exact output question is asking for. Thank you.. Home youtube (7) HBO Max Cengage Home FSW Login . Outlook cengage My lab Sta 5 Good Input Loop Problem Submissions L…
  • Dynamic programming algorithm related to the DNA sequence matching. Attached is the image of the input data, read each record from the file and find the line and column no’s with the given DNA sequenc…
  • You have a little free time on your hands and decide to create a simple game. Utilize the design tools that you have learned this week to design and program a very simple game. Examples: Movie Trivia,…
  • Hi i have python related assignment. anyone who are proficient in python, please let me know.my number: 510-320-7219.
  • Write a python ¬† dict_top_three(input_dict) Given a dictionary with names mapping to scores, return a new dictionary with ‘Gold’ mapping to the name with the highest score, ‘Silver’ mapping to the na…
  • The following code is an example of which programming construct? for (int i = 0; i < 20; i++) { ¬†System.out.println(i); } Select one: a. Iteration b. Sequence c. Selection
  • This Hands-On will be graded. The best way to become a data scientist is to practice! Caution! ¬† Do not submit your project until you have completed all requirements, as you will not be able to resub…
  • Define a new array called weapons and add 6 different weapon names in the array, ¬† ¬† ¬† with increasing levels of weapon strength. Use Fist, Knife, Club, Gun, Bomb, Nuclear bomb 2. Roll the dice …
  • this question thank you 2 Note: ¬†The¬†add_days¬†test depends on the¬†__eq__¬†magic method working
  • upload an image in a program from a folder in c Drive of the computer? Q2 Write a method named input_images that reads images from five files pic1.gif,pic2.gif,pic3.gif,pic4.gif,pic5.gif and appends e…
  • 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 t…
  • Computational physics¬† python¬† Please provide a correct and well explain code. thank you. Exercise 5.12: The Stefan‚ÄĒBoltzmann constant The Planck theory of thermal radiation tells us that in the (…
  • Write a Python program that writes to a file MyPythonNotes. Prompt the user for ten interesting facts about Python (should be a complete sentence format). Each fact must be appended to the file. Displ…
  • psudocode this for me, ¬† # Python program to validate an Email ¬† # import re module for regular expressions import re ¬† email = input(“Enter an email address : “) ¬† # Make a regular expression for…
  • Use pytest-bdd to write pytests for Social Security Full Retirement Age calculator that are associated with the Gherkin Scenarios blow. ¬† Feature: Social Security Full Retirement Age Calculator As a …
  • Grade Roster Create a program that will allow a user to do either of the following things: Get input from the user to¬†write the following information to a file: Student name Assignment average grade …
  • Question #1 The New England Patriots are a professional American football team based in the Greater Boston area. The Patriots play their home games at Gillette Stadium in the town of Foxborough, Massa…
  • Finish the program and Answer discuss questions (1, 2, 3, 4) ¬† Program: Function that takes two string parameters which represent the names of two people for whom the program will determine if there …
  • provide a user defined function named “math”, it should take three Integer arguments. Provide three default values. It should only range between 0 to 5.¬† ¬† computation of formula: (x+y)^2 + z ¬† hin…
  • Piecewise functions are sometimes useful when the relationship between a dependent and an independent variable cannot be adequately represented by a single equation. For example, the velocity of a roc…
  • Flying is not easy. Flying up costs 2 units of energy per level. Staying at the same level costs 1 unit of energy. Luckily, flying down costs no energy per level. E. Implement the function energy_cost…
  • I need code in python. Exercise 3 . Create a Class called Association. . Create Public Properties (getters and setters) for the mandatory (not nullable) columns on your Associations table. All the mem…
  • Prepared Question: Spot the mistake There are three main properties of a recursive function: The function must call itself. The function must have a reachable base case. The recursive call must decomp…
  • Force-Directed Layout You will implement the Force-Directed Graph Layout algorithm from Fruchterman and Reingold, developed in the 1990s (at the University of Illinois at Urbana Champaign :). The orig…
  • Please I need answers to the below python problems + I need the pseudocode too: program2_1.py A program that prints the following lines but replacing the (?) with correct answers: The Python (?) data …
  • In pseudo code (or python) create 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 screen…
  • . ‘ B factorpy – Ct/Python3B/W22/factorpy (3.8.2) File Edit Format Run Options Window Help #Factor oÔ¨Ā 3 or 5 ., #Ask the user to enter an integer ,3#If the given integer is a multiple of 3 or 5 pr…
  • please make sure to read the questions and please make sure the code works. Thank you so much!! ¬† Do not add statements that call print, input, or open, or use an import statement. Do not use any bre…
  • U:3 A: Day 6: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number. U:3 A: Day 7: were your meals very unhealthy (1), unhealthy (2), hea…
  • if jQuery224012126139443345241_1633474328625? – following code. Part 3: Description: Again, your friend has started writing a Python game and needs your help to finish it – this time they need a lot m…
  • Hello, I am practicing a flight delay prediction. I have the sample data files (some of them are reduced due to the capacity). airline.csv (https://ideone.com/9aEQiR) airport.csv (https://ideone.com/I…
  • please write this code with fully explanation (not use too hard function, better basic knowledgeable) Presentation exercise 4 Write a function (including docstring) called add_to_polynomial that takes…
  • Problem 3 : Avocados Find on the DZ L a datafile named " avocados . CSV " – – Retrieved from Kaggle ( 9 / 26 / 2018 ) . This data was downloaded from the Hass Avocado Board website in May o…
  • Use the Bank.csv in http://archive.ics.uci.edu/ml/machine-learning-databases/00222/ . Use the following estimation models for predicting customer subscription (y in the table). You should print the cr…
  • Write a function called has_duplicates that takes a string parameter and returns True if the string has any repeated characters. Otherwise, it should return False. Implement has_duplicates by creatin…
  • Code must be in python language Link to the problem: https://docs.google.com/document/d/1FItWaoua7xnx38gMQ6Ekz6sUEMTS0ZMlBOqF-UBVVX0/edit?usp=sharing ¬† Instructions: Documentation: single line as the…
  • Create a list with first name for 5 person as FN= [“rahul”, “ram”,………] Second list with last name as LN= [“sharma”,”Kapoor”,……..] In output¬† New List as NL= [“RS”,RK”,…..]
  • . Write a single Python program that will do the following two tasks: Task 1: Some websites impose certain rules for passwords. Write a program that checks whether a string is a valid password. Supp…
  • I need help with computer science assignment! I need this in pythan programming
  • Modify the Cafe Management System and add the following functionalities: Source code file: https://drive.google.com/file/d/1p0j9Gu5qkbfwcU0A0uHy-TzuKfj_Lmzo/view?usp=sharing. 1. Create a text file bas…
  • Linear regression: Implement a solution for house price prediction using Python. Data and starter codes in Python can be found at Python linear regression. You should have a few modules installed: ¬† …
  • please answer all the questions. thanks!. Game 24: Create a program that is played by choosing a number (1, 2, or 3) to be added to the Game Number The game is won by the player whose chosen number…
  • For Pseudocode 3 above , what is wrong with the following solution? Provide an example output, and explain why this happens. ¬†guess = 0 ¬† ¬† ¬† ¬† ¬†while guess != 42: ¬† ¬† ¬† ¬† ¬† ¬†guess = in…
  • 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, …
  • Hello, I been having trouble with this code to find the mean, median, and etc. for temperatures. Cant seem to successfully run this code.
  • need help to write a Python function ¬† Question 1: Write the code for a Python function called: “loadGenBankData” that accepts the name of a valid GenBank file to read and returns a dictionary such t…
  • Question 3: Write a small codes for each of the following sections. [11.0 marks] ¬† a . Write a class called Person with the following instance variables: First name Surname Year of birth Month of bir…
  • Write a program that asks the user to enter their budget (amount of money to spend_ it should then display a suggested car type based on their budget¬† Iess than $500 – “Why don’t you get a bike.” $50…
  • write a python program to run this In this project, you will utilize seed free de-anonymization to solve real problems. In the seed free de-anonymization, you have only two graphs given in edgelist fi…
  • How can I scrape the heights for each team and insert it into a date frame through pandas or numpy, keeping the same format ? I want to insert only player name and height¬† ¬† # importing required mod…
  • def countdown(n): ¬†¬†¬†if n <= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) please provide a new recursive function¬†countup¬†that expects a negative arg…
  • 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 …
  • The proteins in 7 tissues were measured and listed in the TAB limited text file masterlist.txt. please write a Python script that does the following analyses and charts: 1. Extract the expression leve…
  • 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, strength, and ductility….
  • Hello, can someone please help me make a python code that would match this output? Thanks in advance. ¬†. C:\Windows\py.exe Please enter an animal name for animal 1: cat Please enter an animal name fo…
  • How would you write this program in PyCharm? The content in the scores text file provided below.¬† Name ID Score Mary 12387 95 Robert 12388 94 John 12432 91 Michael 12472 93 William 12516 79 David 125…
  • focus – Optimization Business challenge/requirement LifeTel Telecom is the latest entrant in the highly competitive Telecom market of Singapore. It issues SIM to the verified users. Till now verificat…
  • Python program that accepts a string as input. It should analyze some characteristic of that string and display the result of that analysis. The program must use at least one of the following: string …
  • Given an input array of binary feature values for a single feature,¬†f f, and an input array of binary class labels,¬†y y, function that computes¬†P(f=0|y=1) P(f=0‚ą£y=1)and¬†P(f=1|y=1) P(f=1‚ą£y=1)…
  • Write ¬†Java program to read a file content line by line and then print the content as console output Write ¬†complete C++ program to ask the user to enter 4 integers. The program must use a function …
  • Definition Snap! ERG Determine the length of a list ¬† Add an element to the end of a list ¬† ¬† ¬† ¬† ¬† Delete an element from a list
  • 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.¬† I have the list part month…
  • This question was answered for me previously but can someone please work this out in basic directions… My last answer was very confusing of how it needed to be done.. I don’t know how to create the …
  • . 6 Missing special character: "Password must contain a special character" 7′ Missing a number number: I”Password must contain a number" 3 Password is too short: "Password must…
  • Case 3 – Length of Rivers: in the World In this case, use your Python code to see whether the lengths of rivers in the world follow Benford’s law. Fraud detection using Benford’s Law One use of Benfo…
  • PYTHON REGULAR EXPRESSIONS (1A and 1B are related to each other, please answer ALL parts) write and submit a¬† one line ¬†file. The line should start with the ^ character and end (on the same line) wi…
  • Hi, so I am doing my assignment for Python, and I got the first 3 question functions to work. However, the last four I have been stuck on for a while now, and a tutorial on how to achieve these would …
  • squares Write a function squares that accepts a 2-dimensional list of integers or a list of ranges as an input, and that returns the count of all the integers that are perfect squares. a perfect squar…
  • Please help me understand why my code keeps failing. Codio Project File Edit Find View Tools Education Help Node version Project Index (static) Configure. BFEDELL regex_search… 6. Regular EX… YOUL…
  • I have attached the problem I am working on. The code is supposed to be written in R-studio, however i cannot get my code to run without errors, does anyone have any advice here. Problem 4. Download t…
  • . Use : (or another computer algebra system or programming language) to compute the number of monic irreducible polynomials in Z3[x] of degree d, for 1 < d < 10. Make a table showing your resu…
  • I’m doing a study on the many different ways to code the same result. What is a different way to type the bellow code? Please provide your answer as a text file for me to view. Please don’t type it ou…
  • For this question, assume the following assignments have been made : work_days = [‘Mon’, ‘Wed’, ‘Thu’] conf_rooms = [701, 502, 115, 258, 422, 316, 407] bookings = {‘ITC106’: 322} PYTHON_PATH = ‘/usr/b…
  • Below is the problem that I need help with. Both problems are related to each other. I am able to complete Problem 3 and need help with Problem 4.¬† ¬† ¬†. Problem 4 – Dictionary of headlines Next we …
  • HW deadline as per Canvas. This homework deals with the following topics: loops functions This HW deals primarily with loops and functions. It will introduce you to some interesting number theory as w…
  • Problem 2:¬†make a loop to print the number and the months of the year from the list. =============== RESTART: /Users/deongray/Documents/Week 8 ENTD.py ============== Month 1 is January¬† Month 2 is F…
  • Can you please help me with #13: 11. Overview of Image Flipping Image flipping is slightly different than changing colors. In image flipping you need to swap the pixel values between two locations. Fo…
  • please the out be like I metioned under the question I submit this question many times but I didn’t the ones I need
  • import pandas_datareader as wb import pandas as pd from datetime import datetime from sklearn import linear_model from sklearn.metrics import r2_score import numpy as np import matplotlib.pyplot as pl…
  • Can someone please explain this assignment more clearly and what exactly are we modifying in client.py? Programming Assignment 1: UDP Echo Client and server "CITE: Before starting the assignment….
  • Can you help me with a code whose input is: firstName middleName lastName and whose output is: lastName, firstInitial.middleInitial. Ex: If the input is: Pat Silly Doe the output is: Doe, P.S. If the …
  • Write a program with total change amount (in cents) as an integer input, and output the change using the fewest coins, one coin type per line. The coin types ar e Dollars, Quarters, Dimes, Nickels, an…
  • 3) Now we can code the parameter sweep. Inside a for loop please do the following for each / value in r: . Calculate the values of potential for the current r value using potential( ) . Tell Python th…
  • [Marks: Up to 40%, depending on your model’s accuracy] Create a keras.models.Sequential¬† DNN that uses the UCI wine dataset (https://archive.ics.uci.edu/ml/datasets/Wine) to predict the wine class of…
  • Looking at this CitiBike data I need to perform the tasks listed below and I’m getting very stuck. ¬† Import data from the two files station_information.csv and station_status.csv into Python Pandas (…
  • can you help. All the info needed is in the screenshots Problem 1: reconstructBT Given the preorder and inorder traversals of a tree, construct the binary tree, assuming the values of all nodes in the…
  • [1] Read the text file and Write codes to satisfy the following requirement Requirement a.Read ‘exercise.txt’¬† b.Extract numbers from text, counts numbers in Text file and Display the top 2 most comm…
  • Problem 2 Define a function¬†getFullName¬†which takes the employees table from your first function in #1 and a single employee ID as arguments, and returns a string with the full name of the employee …
  • Who Wants to Be a Millionaire¬† ¬†Your final project will be to create a quiz game similar to “Who Wants to be a Millionaire?”¬†¬†Requirements: ‚ÄĘ Your game will include 5 questions. ‚ÄĘ You wil…
  • Can you please screenshot the code and result for the questions? I have got syntax errors in some of my coding.¬† ¬† Coding 1: Strings¬† Write code to print the following phrase letter by letter using…
  • class TreeNode: ¬†¬†def __init__(self, val): ¬†¬†¬†¬†self.val¬†¬†= val ¬†¬†¬†¬†self.left¬†= None ¬†¬†¬†¬†self.right = None python-please help asap 1 Overview In this project, you will be practicing so…
  • Write a function called¬† longest_sequence(str1, str2) that given two strings returns longest subsequence of characters that occur at the same indexes in both strings. The method should return the emp…
  • 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 only …
  • Each element in the list is an OrderedDict object which is just like a dictionary except the elements are ordered in creation sequence. This means that you may treat¬† baby_names ¬†as a list where eac…
  • Python Applications for this lab: (total 100 points): 1. (80 points) This exercise uses your programming environment to enhance the Web site you created last week with additional functionality to incl…
  • Write all your code in a single file named homework.py and upload it to Grader Than.¬† Hint: Here is the general syntax for a decorator that accepts no arguments: def decorator(decorated_function:call…
  • . Exercise 1: Loops vs Numpy operations In [ ] : Image ( ‘lab2_exercisel .png’ , width = 1000) Out [ 2] : EXERCISE 1: Loops vs Numpy operations arr2d_3[0, 0] = arr2d_1[0, 0] + arr2d_2[0, 0] arr2d_3[…
  • Write a program named¬† guess_number.py . Use¬† NumPy ¬†to generate a random number between 1 and 100. Accept int input and ask user to guess number. Inform if high or low. Exit when entered number co…
  • Question 10 What is the most important benefit of writing your own functions? 1 point To avoid having more than 10 lines of sequential code without an indent or de-indent Following the rule that n…
  • Hi #include<stdio.h> ¬† int main() { ¬†¬†int pay,hours, rate; ¬† ¬†¬†printf(“\nEnter Hours Worked : “); ¬†¬†scanf(“%d”, &hours); ¬† ¬†¬†printf(“\nEnter Hourly Rate : “); ¬†¬†scanf(“%d”, &amp…
  • . Q4 [2 points] For this question, you will implement a TXT_Dataset class by extending the parent class MyDataset. Detailed information of the class is given below: Class – TXT_Dataset Parent Class …
  • Learning Journal Unit 7 Create 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 …
  • answer it using pandas Write codes that implements the following: Question 1: Read the data in the attached submission and set the “Order ID” column to be the row index. Show all information of all or…
  • Based on code below, plot on the Heatmap those frequent violators who have obtained 3 business licenses or more under the same DBA Name through out the liftime of their business. data set: query ={ ¬†…
  • Please note: Your program must work with the printable ASCII character set. That is, all the characters from ASCII 32 (Space) to ASCII 126 (~). NUL 16 DLE 32 SP 48 0 64 @ 80 P 96 112 p 1 SOH 17 DC1 3…
    • Each of the following Python functions is¬† supposed ¬†to check whether its argument has any lowercase letters. For each function, describe¬† what it actually does ¬†when called with a string argu…
  • How will you get a space-padded string with the original string left-justified to a total of width columns?
  • The¬† score file shown here contains a randomly generated list of students and 5 exam scores. Write a Python script to read the file and produce the subsequent output. scores file ¬† pchen72 50 71 55 …
  • Implement the branch-and-bound algorithm for the Partial Digest Problem ¬† ¬†(PDP) using your favoriate programming language (e.g., C, C++, Java or Python). Test your program on ¬† ¬†the following thr…
  • Using python. Question 5 (5 points): A person’s initials consist of the (capitalized) first letter of each of their names. Define a function called initials (). This function should have two parameter…
  • How would I calculate the stat probability that the amount of rainfall will be below zero in python?¬† Mean Rainfall 13.15 -6.45 5.26 1.26 4.98 8.37 11.66 8.0 9.1
  • Give a good explanation on what are the characteristics and the purpose of object-oriented programming. Explain thoroughly how does it differ from other types of programming paradigms.
  • First I have my class code: class Account(object): ¬†¬†¬†def __init__(self, accountId = 0, balance = 100, annualInterestRate = 0): ¬†¬†¬†¬†¬†¬†¬†self.__accountId = accountId ¬†¬†¬†¬†¬†¬†¬†self.__balan…
  • Ok so I am reposting this question with correct references so that the available tutors can work. Can you please use the pictures as reference and files. I would like to have this new property html ma…
  • please can someone show me screenshoot with steps for jupyter notebook, python 3.. For Question 1-4, We will load 1000_Companies.csv dataset that contains data belongs to 1000 companies such as R&…
  • √Čcrivez une fonction Python r√©cursive appel√©e prodListePos_rec qui prendra comme param√®tre une liste et comme deuxi√®me param√®tre le nombre des √©l√©ments de la liste, et qui retournera le produi…
  • I have these two functions: def best_shoes(df, title): ¬†¬†loc_total = sales.groupby([‘type’,’color’])[‘type’].count() ¬†¬†print(title) ¬†¬†sales.groupby([‘type’,’color’])[‘type’].count() ¬†¬†loc_tota…
  • matlab or pythn question Consider the below given signal x(t) to be periodic with a time period T=2. Find the Fourier series coefficients for the first 2 terms, 5 terms and then 10 terms. Plot your re…
  • %%file courses.dat student_id,first_name,last_name,gender,course_code,total_points 20688921,Norrie,Bronot,F,ECC432,99 20390962,Tory,Meineken,F,ECC439,71 20328135,Sanderson,Inge,M,ECC434,70 20354412,Fr…
  • How to transform my continuous variable to categorical variable? ¬†The density of buildings, as measured by the census. In the dataset, this is labelled as E1.
  • Utilize¬†some open source implementations of kNN in popular machine learning libraries to analyze the Iris dataset. Either in scikit-learn (https://github.com/scikit-learn/scikitlearn/tree/master/skle…
  • Please help to create a LP maximization code for maximum profit in bakery with given yeast flour sugar in first table to make pastries in second and provide with maximum profit combination in printed …
  • Create a function¬†areaOfCircle(r)¬†which¬† returns ¬†the area of a circle of radius¬†r¬†where¬†r¬†is a floating point or integer datatype. Make sure you use the math module in your solution.
  • True or False 1.¬†¬†¬†A dictionary is a random-access data structure. 2.¬†¬†¬†An array is a sequential access data structure. 3.¬†¬†¬†Using functions to isolate code is a good programming practice. 4….
  • Hi i need help answering the following question using python code This is the marking rubric Criteria Deducted Mark Comments No Definition for the recursive functions or main -5 marks/missing function…
  • A cashier distributes change using the maximum number of five-dollar bills, followed by one-dollar bills. Write a single statement that assigns num_ones with the number of distributed one-dollar bills…
  • Hi! I am not even sure where to get stared with this. I am literally stumped with what the second bullet below is asking me to do: Read from the console an arbitrary string S of length less than 50 ch…
  • Considers what happens in double-precision floating-point computation when one first takes square roots repeatedly, and then squares the result repeatedly. give computer function that accepts an input…
  • Create a function called allButMax that expects no arguments. Instead, this function gets its input from the user at the keyboard. The function asks the user to enter a series of numbers greater than …
  • I need python code for question 1 through 10. 1. Display a string that consists of the first letter and last letter from each of the names in the list a The output should be “EdAsNn etc. use the + ope…
  • I need help building the following functions. There is no scikit-learn’s sklearn.cluster package. The clustering procedure needs to be implemented from scratch. ‚ÄĘ Assume that your input is a data se…
  • Using the data below (assume it follows poisson dist), calculate the maximum likelihood estimation, and obtain the Poisson Distribution parameter, and plot the Poisson distribution with the calculated…
  • w rite a function¬† x(n) ¬†for computing an element in the sequence y=2*n+3. Call the function for¬†n=4¬†and write out the result.
  • Phase 1: ¬† The prompts for Phase 1 should match the python code below and not…
  • SHOW PYTHON IMPLEMENTATION PLEASE Trace the bottom-up tabulation Rod Cutting algorithm (below) on the following input: the following input: p[1..5] = 1, 5, 8, 9,10 and n = 10. Draw the resulting table…
  • Python program/code¬†to check the validity of a password (input from users) is provided to analyse and execute the program. Further the students have to¬† ¬†Write an algorithm in details for the code …
  • . Problem1: You are given two words and you need to calculate the Jaccard similarity of the two words based on letters. Write a function Jac(wordl, word2) that returns the Jaccard similarity score (…
  • The Problem We’re building a role-playing game. Understand the Problem You will define two warriors and move them around. After each warrior moves you will display the game state (all the current valu…
  • Prime numbers are positive integers, greater than 1, which are divisible only by 1 and self. First few prime numbers are: 2, 3, 5, 7, 11 … Write function is_prime(n) which takes a positive integer n…
  • a = [5, 6, 1, 3, 8, 9, 2] Find the sum, average, max, min for this list using Numpy methods. (Data conversion to NumPy array may be needed) Copy your code from IDE such as IDLE, Visual Studio Code, or…
  • Using Tkinter and Python invoke the OpenWeather Web Service to get the Weather for any city specified in an Input box. You can use any Python GUI system you wish such as pyQT, https://www.pythonguis.c…
  • need help with Python code Go to Dell Laptop user community: https://www.dell.com/community/Laptops/ct-p/Laptops 2. Scrape all questions from the first 5 pg for the Inspiron sub-community. Find discus…
  • Pandas using groupby to plot scatter points Hi I was wandering if anyone could help me with this particular problem Here is the CSV file : https://files.fm/u/kkrwdxuz As you can see the data is pretty…
  • I need help with this project, everything is included, the code is below class ListEmpty ( Exception ): ¬† ¬† pass class SinglyList : ¬† ¬† class _Node : ¬† ¬† ¬† ¬† def __init__ ( self , e, next ) : …
  • def replace_loki_at_leaf(t, lokis_replacement): ¬† ¬†“””Returns a new tree where every leaf value equal to “loki” has ¬† ¬†been replaced with lokis_replacement. ¬† ¬†>>> yggdrasil = tree(‘odi…
  • Given a list of users, I need to create a function, that returns all of user’s names and roles in a string with each value labeled. For example: users = [ { ‘name’ : ‘Homer’ , ‘role’ : ‘Clerk’ , ‘dob’…
  • Using the two .cvs files linked with google drive, answer the following questions. https://drive.google.com/file/d/1SZ639cUA3DdrlI_lG2Hq0vs6HiT8OAU3/view?usp=sharing https://drive.google.com/file/d/1a…
  • I don’t know how to solve this question. Specifically, do we have to split the line and then calculate the Len(line) ? I am looking for a solution that involves something like x= open(filename_in, “r”…
  • I still have errors on these codes. Need help please. 2.14 LAB: Warm up: Creating passwords (1) Prompt the user to enter two words and a number, storing each into separate variables. Then, output thos…
  • Write a set of functions that record and average user responses to the Oscar Nominated movies from 2016. Each record includes: user number (different for each user, starting at 1) An opinion from 0 to…
  • I’m having trouble solving this: Sorted Gold Scores Design a program that asks the user to enter 10 golf scores. The scores should be stored in an Integer array. Sort the array in ascending order and …
  • Design a python code for the Hollywood Movie Rating Guide, in which users continuously enter a value from 0 to 4 that indicates the number of stars they are awarding to the Guide’s featured movie of t…
  • Exercise 8 Write a function called between(no1, no2, no3) that returns True if no3 is between no1 and no2, False otherwise. . Call function between(no1, no2, no3) once it has been defined in order to …
  • python use function called Common-char that takes two strings as arguments and returns new string that contains a single copy of all of the characters that appearin either of the two stirngs. ed: if t…
  • Write code that iterates while userNum is less than 10. Each iteration: Put userNum to output. Then, put “/” to output. Then, assign userNum with userNum multiplied by 3.
  • This program is not working for me Make a Python project fly_drone.¬†Add a Python file drone.py to this project.¬†Define a class Drone in this file.¬†This class has the following five methods: (a) __i…
  • . m6-05.1. Clustering on FIFA19 Dataset Badge #6 6-05 Question Assessment overview FIFA 19 is a popular soccer simulation video game developed by EA Sports. The dataset FIFA19 on Kaggle includes the…
  • Write a program whose input is two integers. Output the first integer and subsequent increments of 5 as long as the value is less than or equal to the second integer. Ex: If the input is: -15 10 the o…
  • . Each question can have one or more correct answers. + 1 if all the options are correct, 0 if any on is incorrect. A) Which of the following options will match digits in a string? 1. [0-9] 2. /D 3….
  • may you please explain the code in exampe 1 ,what its being done . may you please also explain brute force,what it is ,how to use it and when to use it. is x=0 and f(0) =1 may you please explain the c…
  • use gui please for this game : import random print(” = = = == = = = = = = = = = “) print(“| Rock Paper Scissors Game |”) print(” = = = = == = = = = = = = = “) listCh = [“R”, “P”, “S”] MyScore = 0 comp…
  • . ine UO Problem Solving and Programming QUESTION 4 [8 + 11 + 7 marks] Part (a) Write a program that: 1. Asks the user to enter a number. 2. Continues to prompt for and read numbers until the use…
  • Use the def keyword to define a temperature conversion function (i.e., convertTemp) that accepts two parameters (a temperatures list and a temperature scale letter value [i.e., temps, tempScale]). …
  • it says that my last print has a syntax error but I dont understand
  • Logic Exercise When asked her 3 children’s ages, Mrs. Muddled said that Alice is the youngest unless Bill is, and that if Carl isn’t the youngest then Alice is the oldest. Who is the oldest and who is…
  • “my code is going through 3 times and i cant figure out why, below is my code, what the output is and what its supposed to look like i also cant get it to print the correct way. can you help me figure…
  • Ned help create own data analysis and visualization presentation. The purpose of this project is for you to search for a publicly available data set using the Internet and create own presentation usin…
  • Code below mports the Python function¬†median()¬†to calculate the median of a list of numbers. Use this function to find the median of the list of the population. Give the median, correct to two decim…
  • Help me please! ¬† Exercise 3: The Bank class ‚ÄĘ Define a BankAccount () class, which allows you to instantiate objects such as account1, account2, etc. The constructor of this class will initialize …
  • In python, how can I pull the data sent by the client out in the server and use it in functions.¬†Here is my Client py and my server py. client – Which I get no errors import socket import sys # funct…
  • Write a loop that outputs the numbers in a list named salaries. The outputs should be formatted in a column that is right-justified, with a field width of 12 and a precision of 2.
  • We have learned about the¬†__init__¬†special method in a class, which is the first method that is called when we initialize the class. Now it is time to learn another special method, the¬†__str__¬†met…
  • Modify¬†jeopardy_clues.py¬†to only print clues with an $800 value. ¬† ¬† jeopardy_clues.py import sqlite3 connection = sqlite3.connect(‘jeopardy.db’) cursor = connection.cursor() cursor.execute(“SELEC…
  • You are an administrator of a windows system and are always required to create user accounts and passwords automatically. There are rules for you to create a user name and a password for a user accoun…
  • The question(s) are meant to be used for practice in preparation for the future quiz. You may collaborate with others on this practice worksheet. ***You will not earn points for this assignment, but t…
  • from copy import deepcopy ¬† ¬† class BST : ¬† ¬† ¬† def _rotate_right ( self , parent): ¬† ¬† ¬† ¬†¬† “”” ¬† ¬† ¬† ¬† ——————————————————- ¬† ¬† ¬† ¬† Rotates the p…
  • I need help figuring out python and how to use the IDLE. I am completely lost as this is suppose to be a “beginners” course but it seems rather not. I have latest version of Python installed but it wo…
  • Suppose you label each position p of a binary tree T with a key equal to its preorder rank. Under what circumstances is T a heap?(python)
  • Write a program that accepts the lengths of three sides of a triangle as¬† inputs from a user . The program output should indicate whether or not the triangle is a¬† right triangle. Recall from the Py…
  • lookAndsay (@) [10 pts] [autograded] First, read about look-and-say numbers here. Then, write the function look AndSay(a) that takes a list of numbers and returns a list of numbers that
  • . In [11]: import matplotlib as mpl import matplotlib. pyplot as pit In [12]: # Create a figure with nrows=2, ncols=1, figsize=(10, 20) fig, axs = plt. subplots (nrows=2, ncols= 1, figsize=(10, 20))…
  • using python coding¬† extrapolate rows having a FIPS value whose length is four ¬†see table below & show which rows have a FIPS value with four characters in a DataFrame. Need python code: & d…
  • Breaking a large program into smaller functions creates natural checkpoints for debugging. If a function is not working, there are three possibilities to consider: ‚ÄĘ There is something wrong with th…
  • Please help me answer this. code in python3 to complete the def main(): main() in the above solution I am getting error list bound out of range in def largest(): if not visited[i][j] and matrix[i][j]=…
  • How do you sort and store only the top 3 locations from two .CSV files and then store them into two columns in one Top3.CSV file using Pandas in Python? The two files with data to them are named avera…
  • What I have so far: ——————————— import math Implement __str__ and __repr__ exactly as shown below. Note that we do not want to restrict the number of digits to the left of the de…
  • You are asked to develop a Python program to process "new_purchases.txt" data. Your boss wants to compare the average transaction amount between New York and San Francisco. Output your r…
  • When using python language there are two programming’s power tools. They are classes and objects. Define and explain some underlying theories that will help you design reliable, reusable object-orient…
  • Hello, I would love some help with developing this Python program . I would not want just the code, an explanation or comments would be great ūüôā Cut the Trees Time limit: 2500 ms Memory limit: 256 MB …
  • Read the transaction data: retail.txt. Each row in the file is one purchase transaction from a customer. The first column is transaction ID, column 2-3 are the product IDs purchased in this transactio…
  • HW6_Lists_ 5% Write Python code to do the steps 1-10: 1. Declare local variables as follows: number = 5 number_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] 2. Display the number only 3. Display the list of …
  • 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…
  • This task requires you to faithfully translate a recursive function from python to MIPS. Consider the following Python code, which defines the function binary_search(the_list, target, low, high), whic…
  • . How to fix the bug. = => 1 def DetermineMonthlyPayment ( amountfinanced) : #determine local variables mypayment = float mon_rate = 0.02/12 term = 60 mypayment = mon_rate*amountfinanced/ (1 – (1 +…
  • accompanying python file ‚ÄĒ py For each of the programming tasks, you are to¬† ‚ÄĘ produce the figure as stated in the question using matplotlib.¬† ‚ÄĘ report and explain how your Python co…
  • I need help to solve some of this homework HOMEWORK #2 – Week 2 Read each problem carefully. Failure to follow the instructions for a problem will result in a zero score for that problem. Submit the…
  • 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 ”
  • DESCRIPTION; Approach; Build a tree similar to the following (ours is going to be smaller as our alphabet is smaller): Store each letter of the alphabet in a node of a binary tree. The root node is at…
  • Processing Lists Create a new program in Repl.it called “Lists.” Your goal for this program is to create sections of code that will perform different outputs with the list called, names which contains…
  • I just need you to make a dashboard an report of this.¬† First is brief and second is what is required to make the dashboard. The data to make this is here: https://drive.google.com/drive/folders/16ca…
  • 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…
  • Devise a brute force algorithm for the Double Digest Problem and suggest a branch-and-bound approach to improve its performance.
  • Make a program called get_meal.py which Takes as input a series of meal details (as described above), one meal per line, Encodes each numbers as afloat, Stores each meal and its details into its own d…
  • This applications ‘myapp'(a website for a products store) was developed in Django and use with PyCharm. Please help me to answer questionÔľö Add validators for stock field in Product model so that it …
  • can you solve with python? I need write the code. 4. A mixture of benzene and toluene are to be separated in a flash tank. At what temperature should the tank be operated to get the highest purity tol…
  • Can someone help describe each of these concepts? I care about the Python ones the most. Thanks! 1. The allowable elements in a Python list (Intro to Python – Python lists) 2. The construction of comb…
  • Answer the following using Python Use random forests on the training data set to obtain the predicted value that predicts¬† Approval ¬†using¬† Debt ¬†to¬† Income Ratio, FICO Score, and Request Amount …
  • Assume we have a dictionary called langs. Its content is a group of people’s names and their preferred languages, looking like this example: langs = {‘John Doe’: ‘English’, ‘Confucius’: ‘Chinese’, …
  • A function named intersperse that will prompt the user to enter two sentences. Then it will print a combined sentence, consisting of alternating words from each sen- tence: first from the first senten…
  • . Use Python and Matlab. If using Python, use Jupyter notebook/Colab to format properly, comment when necessary, and include all required and necessary outputs (Jupyter/Colab allows LATEX embedding …
  • Data set: MAGIC Gamma Telescope Dataset (Source: https://archive.ics.uci.edu/ml/datasets/MAGIC+Gamma+Telescope) ¬†. Data set information The data are Monte-Carlo generated to simulate registration of …
  • A plant that makes iron profiles has a lot of “n” pieces. Design a program that asks you to enter the quantity of pieces to be processed by keyboard and then enter the length of each profile; knowing …
  • This is an open-ended lab. Using Python, run a linear regression analysis on data you have collected from public domain.¬† ¬† Recommended packages: scikit-learn numpy matplotlib pandas ¬† ¬† Deliverab…
  • Implement an algorithm using divide and conquer technique: Given two sorted arrays of size m and n respectively, find the element that would be at the k" position in combined sorted array. a. …
    • First, copy and paste the text values for each array into your editor as a multiline string and assign them to variables string_A and string_B. (1pts) 2) Then, you will need to process each multili…
  • Schelling Segregation Project. Here are the basics of the grid-based model as you should implement it for this project. The model has 4 parameters: N: Grid size; your overall grid should be N√óN. You …
  • Define a function named remix() that accepts two (2) arguments (a string and an integer) and accomplishes the following tasks: 1. Divide the String into the number of segments specified by the integer…
  • 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.pyth…
  • [2 marks] Complete the missing function body (replace only the ??) for the function below such that the following print statements produce the output specified in the comments. You may not change o…
  • . / BuzzPort | Georgia Tech x | 63 Final Exam * V Workbench * + – > C e labs.vocareum.com/main/main.php?m=editor&asnid=623337&stepid=623338 vocareum My Classes Help Abdullah Timer: 3h …
  • This is in turtle and I am using VS code How do I get the number of squares the user inputs? Example: Enter number of squares: user inputs (anywhere from 0-10) ¬† User inputs 3.¬† ¬† 3 Squares appear …
  • Arithmetic Assignment: Instructions Write a program that calculates the finances and savings needed for attending a 4 year college by creating a program that performs arithmetic calculations. The prog…
  • http://knowledge.kitchen/Python_Module_7_Assignment Could I know where to find the complete solution to this?
  • if x == 2 or 3 or 5 or 7. What should your condition be instead?
  • Make a Package which has atleast 10 directory/ function inside of it. Make sure that your package is functional like in built in package (math() in python there’s math.ceil(),math.comb(),math.fabs) Ps…
  • a function DrivingCost with input parameters drivenMiles, milesPerGallon, and dollarsPerGallon, that returns the dollar cost to drive those miles. Ex: If the function is called with 50 20.0 3.1599, th…
  • Implement a number guessing game where a player will get up to seven chances to guess a mystery number in the range of 1 through 100. At the beginning of the game, the program will generate a random n…
  • Download the Ô¨Āle to your system, and write a program that will read in the Ô¨Āle and plot the data in a set of graphs. Using matplotlib, you are to create the following 4 graphs. a) Create a line g…
  • python please 4. Merge contacts. write a function merge_contacts (lista, listb) . Both lista and listb are lists of contact data dict with keys: "name", "email", "phone"….
  • “In this lab, you complete a partially written Python program that includes two functions that require a single parameter. The program continuously prompts the user for an integer until the user enter…
  • I need help turning these questions into a system flow chart a.¬†¬†¬†Introduction b.¬†¬†¬†Problems and issues¬† c.¬†¬†¬†Constraints d.¬†¬†¬†Business Requirements¬† e.¬†¬†¬†Functional Requirements¬† f….
  • I have a hard time understanding the concept of regex, hope someone can explain it.. 1 Task Goal The goal of this assignment is to practice writing regular expressions (regexes). In order to complete …
  • Write a program that replaces words in a sentence. The input begins with word replacement pairs (original and replacement). The next line of input is the sentence where any word on the original list i…
  • Write a format operation that builds a string for the float variable amount that has exactly two digits of precision and a field width of zero.
  • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
  • The scenario: Sentences in any language have a structure defined by a set of grammar rules. They also include a set of words from the vocabulary of the language. The vocabulary of a language like Engl…
  • Using PYTHON Code ¬† Create an IPv4/IPv6 Address Application Your manager has received a request from the engineering department for a prototype of a new application that will provide IP addressing in…
  • n robots are placed along the edge of a circular area at the middle of the OAT. Each robot will move along arbitrary tracks inside the circle while leaving behind a heat signature along its trail. How…
  • Which one of the following is a valid Python if statement ? A) if a>=2: B) if(a>=2) C) if (a=>2) D) if a > = 22
  • I think I am doing this correctly, however, every time I test it I get errors. design a program that takes a date as input and outputs the date’s season. The input is a string to represent the month a…
  • #Required¬†to¬†use¬†the¬†imshow¬†command¬†within¬†colab from¬†google.colab.patches¬†import¬†cv2_imshow ¬† #Numpy,¬†Matplotlib¬†and¬†OpenCV¬†are¬†required import¬†cv2 import¬†matplotlib.pyplot¬†as¬†…
  • CS 1026B – Assignment 1 Windchill and Humidex Calculators Due: February 15, 2022 – 6:00 PM Updates: Jan 25, added closing bracket to Humidex formula, added reference to programming standards in progra…
  • What do I need to add to get my code to run correctly
  • I need to make a recursion and the is_divisible function from Section 6.4.¬†Your program may assume that both arguments to is_power are positive integers. Note that the only positive integer that is a…
  • My script keeps failing the checks and I cannot figure out why. I am guessing it is from the space that is located in the “expected output’ section of the check screen on the snap shots I sent in. On …
  • For Text Mining¬† ¬† ¬†ONE: 1) Extract tweets for any user (try choosing a user who has more tweets) 2) Perform sentimental analysis on the tweets extracted from the above ¬†TWO: 1) Extract reviews of…
  • I’m stuck. This script is supposed to pull exif data from jpg file and put them into a pretty table. it works on one file, but says the other files of the same type(all .jpg) are invalid. any help wou…
  • Using the list¬† words , produce a list of words, called evenWords, whose word length is an even number. Write the function¬† selectWord ¬†that is passed the string parameter¬† word . The function ret…
  • . Function 2: sort_hooks_publisher Use the Ô¨Āinetion design recipe to develop a function named s o rt_books_Publi she r. The function takes a dictionary as an input parameter. This dictionary conta…
  • The Task: The full file can be found on Kaggle : https://www.kaggle.com/AnalyzeBoston/crimes-in-boston The file is called crime.csv and it opens up in Excel Your job is to code a Python 3 program that…
  • Hello, I need help with these questions, using only while loops, for i in range, if, else, elif, Not, and, or. 15-110: Principles of Computing Fall 2017 Homework Assignment 5 Due by Tuesday, October 1…
  • Can someone here provide me with a list of sample homework problems organized by the chapters in the textbook so that I can perform them systematically on my own for practice before taking the course?…
  • Please Help, I will give you a positive feedback!!! I am trying to do the signal simulation in Python with the equation attached I was wondering why it is incorrect ***BER = bit error rate = detectedE…
  • Question: Python Program like shown in the picture; Python Program
  • how to implement algorithms for sorting in Python how to decompose code into functions in Python how to read from text files using Python how to manipulate lists using basic operations greedy approach…
  • How to make a flowchart that designs a solution for the following problem: Ask the user for their annual salary and number of years employed. If they make less than $40,000 per year -print a …
  • We would like to write a function called statistical_analysis that will anlayze a series of 2D data points (x, y). We’ll do this in steps: a. Create a helper function sort_points that accepts a lis…
  • Question 3. (45 points) Sequence alignment with arbitrary gap penalty When aligning two sequences, it is important to choose an alignment scoring scheme (substitution matrix cost and gap penalty funct…
  • Please can I get answer for both Problems with Code python chapter 8 Strings and please Don’t forget using comments with answer them ? Thanks In advance ¬† Lab 8 – Strings ¬† This is file text.txt as …
  • You will complete this assignment in Python 3.x. Make sure you have downloaded the software and it is installed correctly. You will download it from this site You will code the following and submit it…
  • Python Programming ¬† First Word Function Lab ¬† Description Write a function that is given a phrase and returns the first word in that phrase. For example, given ‘the quick brown fox’, your function …
  • The Lab to Complete.¬†Objective: Make and Authentication Login Screen 1.¬†¬†Make a variable for user_name and ask input from the user 2.¬†¬†Make a variable for user_password and ask input from user 3….
  • I would like assistance on creating a loop to print the number and the months of the year from a list
  • Not sure what i am doing wrong when I run my code I keep getting 2 ¬†dimes as my answer when I put in 45. ¬† ¬† change = int(input()) if change <= 0: ¬† ¬†print(“No change”) ¬† ¬† Pennies = 0 Nickl…
  • Note: script in Eclipse on PyDev. Each problem may or may not build on the problem before. 1 . Create the ‘ edu . uah . python . projects. util . Parser’ module : Using Py Dev in Eclipse , create the …
  • You are tasked to create a Django website where users can privately create and share notes. All users will have an account and they will be able to signup then login to their account. Once logged in t…
  • Asks the user employee name If user pay rate and hours worked ¬† Calculate overpay and regPay. Store these values in variables , at the end of the program you will display overtime total , regular pay…
  • The correct way to set an input as an integer O age=input(int("Enter your age: ")) O age=float(input("Enter your age: ")) O age=input(float("Enter your age: ") O age=int(…
  • Description: Trendy Gifts¬†is a shop that sells various gift items. They want to promote their business by selling their products online. A part of the software requirement is given below.¬† ¬† Requir…
  • Give surmised number of clients who presently utilize every OS: Windows [105] There are at present 105 representatives utilizing Windows OS. 95 representatives are utilizing Windows 7, and 10 workers …
  • Implement the following function in the PyDev module functions.py and test it from a PyDev module named t01.py: **Use While Loop** def num_categories(): “”” ——————————————-…
  • You have been hired by a company to carry out a program that allows access to their offices through a security code of four numbers without repeated digits, these digits must be generated randomly eac…
  • Question 2 but you need information from question 1. Problems Write a function called print_dir_contents that takes a string representing a path to a directory and prints the following: – the total nu…
  • Here is the sample of the text file (datafile) for the tea sales (tea.txt). The tea.txt file is provided for you on Canvas. Green Tea:8580.0:7201.25:8900.0 Earl Grey:10225.25:9025.0:9505.0 Ceylon:6700…
  • Use Python to solve the following problems (screen shoot attached) ¬† ¬† ¬† ¬† ¬† ¬†. I Write a program to prompt for and read a sequence of nun-negative numbers {with a negative number to end input]….
  • eed to modify my program. I need to decide on the following: 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 forma…
  • would you please tell me how to do this questions and what is codes for this questions ,when you done please sent me a codes and screen short. show me they are work on JUPYTER when you done. Thank you…
  • Hello, I have this code: #added libraries in the code import numpy as np import matplotlib.pyplot as plt #class Agent class Agent: #constructor for agent def __init__(self, location=None, color=’green…
  • What is the value of the autocorrelation function of lag order 0? ¬† options are ¬† 1 .Above 0.95 2. 1 3. 0
  • Hello! I am stuck with a python programing problem, I am not sure how to do this, I have tried the Miller-Rabin test but it I could not do it with string parameter and I am not sure why. Your help and…
  • Any suggestion for resources for gaussian mixture model implementation in python for mnist dataset without using libraries(like sklearn)?
  • Download “War and Peace” from project Gutenburg. You can use this link. Read the entire file (as a string) using the .read() function. After you’ve read the entire file into a variable, pass the strin…
  • The marks are stored in a text file called subject.txt which has 26 lines that has the format shown below. Code|CSE Title|Introduction to Programming FieldCount|3 F|30|30|60 StudentCount|26 S|18447565…
  • Design a two-player Rock-Paper-Scissors game. (Hint: Ask for input from the players (using input()), compare them, print out a message of congratulations to the winner, and ask if the players want to …
  • I need help with Python Programming Code for assignment to find significant temperature change e¬†in time series data. Steps to follow are below. Please answer ( for extreme temp increase , decrease a…
  • Hello, Please solve the following question in Python Language. Thanks & Regards,
  • In this lab we will use Scikit Learn to build a machine learning pipeline for a classification application. Dataset We will be using the US Census, a9a¬† dataset for this lab.https://www.csie.ntu.edu….
  • How do you solve this problem? ? Instructions Forum Tutoring Dodgy Brothers Price List Run Terminal Save Mark W06 Problem program.py > The Dodgy Brothers sell a remarkable array of objects, all of …
  • Given a string, we’ll say that the front is the first 3 chars of the string. If the string length is less than¬† 3, the front is whatever is there. Return a new string which is 3 copies of the front. …
  • Description: A new hospital is seeing an increase in the number of its patients. You are required to create a software system that manages the employees and patients. A part of their software requirem…
  • [bank-account-finder.py] You are working for an accounting firm that needs a new program to find transactions from the electronic bank statements given one of two pieces of information . the transa…
  • Finding a Shortest Path with An Energy Budget 21S2 CZ3005 Assignment 1
  • Write a program which prompts the user to enter a dictionary.¬† Use the¬† eval() function to read a dictionary literal from the user¬† {key:value,…} then use it to create and print a list of tuples….
  • . Read the source of the Wikipedia article. For debugging purposes, you may consider using a shorter article first. [ ] : # You can use this shorter article first. # fname = ‘ . ./data/FM-2030. tat’…
  • A x B x C where A = {0,1}, B = {1,2} and C = {0,1,2} is the following: {(0,1,0), (0,1,1), (0,1,2),(0,2,0), (0,2,1), (0,2,2),(1,1,0), (1,1,1), (1,1,2), (1,2,0), (1,2,1), (1,2,2)} O True O False
  • Can you please help me to solve this one with using Python? Thanks a lot!
  • Hi ūüôā I want to return only the word in a specific position. Like this: [ ‘ ‘ , squi , , rre , l ] in position 2. Return: squirrel or : ([ , c , a , t , , a , p , p , l , e ], 7) Return: apple I tried…
  • price_recommender()¬†– Function to recommend a price in a neighborhood based on average price and overall satisfaction¬†[15 marks] For this function, we want to build a¬† simple ¬†price recommendation…
  • What initial value of x will cause an infinite loop?¬† ¬† x = int(input()) while x != 0: x = x – 2 print(x)
  • I am lost on this, how is one supposed to code this? 1. We want to add a button to the tally counter in Section 9.2 that allows an operator to undo an accidental button click. Provide a method def und…
  • c) [10 pts] Write a code that will ask the first letter of the team name and display the total of the medals (grouped by the medal type) taken by the teams starting with the first letter as the select…
  • Please follow instructions (: Looking to make my code more readable/easy 2. Car Class Write a class named Car that has the following data attributes: _ _year_model (for the car’s year _ _make (for the…
  • Programming Assignment: Read the Stock Info From a Text File and Output the Results to a Text File Instructions:¬† In this lesson, you will learn how to read and write text files in Python. You will a…
  • Write a code in Python that take an image as input and detect the face and draw a filled black circle on the face. Your code should save the detected face image as well as circled image. Note: Use Ope…
  • no copying 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 c…
  • Write a program that uses the turtle module¬† and ¬†a for loop to draw something. It doesn’t have to be complicated, but draw something different than we have done in the past. (Hint: if you are drawi…
  • Write some function that removes all occurrences of a given letter from a string.
  • Add a subclass FillInQuestion to the question hierarchy of Section 10.1. Such a question is constructed with a string that contains the answer, surrounded by _ _, for example, “the invento…
  • The code included in this question is a partially implemented solution to a Trivia Game program. The program implements two classes that are used to organize and store the data for a set of questions …
  • I need to figure out a function cleaned(L)to create a new list formed by all unique items of L (removing duplicates). This function could be written without the continue statement and in fact it would…
  • PYTHON PROGRAMMING ONLY Code a program to record, search, and create the students of a course in a file. This program first shows a menu including the following options to the user, and responds accor…
  • Hello, I need help revising this program in Python. Can you please suggest 6 beginner level edits I can make to the code which would make the program more user friendly and less error prone? ¬† I’ve i…
  • Please complete this as they said and also please read the instruction and rules carefully. PSP_Assignment_2_202003.pdf X Course Hero X . New tab x + X O https://moodle-saibt.axis.navitas.com/pluginfi…
  • Task 1 ) Define a function that Rotates a rectangular or diamond 2D array in increments of 45 degrees. Parameters: array (list): a list containing sliceable sequences, such as list, tuple, or str angl…
  • Hint: Here is the general syntax for a decorator that accepts no arguments: def decorator(decorated_function:callable): ¬† ¬†def wrapper_function(*args, **kwargs): ¬† ¬† ¬† ¬†#this is where we make mo…
  • Define a function decimalToRep that returns the representation of an integer in a given base. The two arguments should be the integer and the base. The function should return a string. It should use a…
  • This is in python notebook format please use the link below to get the file(because there is a csv in it https://drive.google.com/drive/folders/1MtpB_wr6KcDWNXepd8ps3gzjv3RcKLcH?usp=sharing
  • NEXIGO Lecture 2 (2): Tuple work x Quiz 2 – Merge ECOR104 X Test 2 (Nov 11) – MATH1 X + O X C https://brightspace.carleton.ca/d21/le/content/9008.. G Quiz 2 X Est. Length: 2:00:00 Time Taken:0:00:28 K…
  • a function in python that inputs a dataframe and identify which columns have date in them. Using these date columns make new columns which are difference between these columns taking 2 at a time. (for…
  • Python Coding: In: Exercise 6 – Loudmouth, Senior ii Remember when you did the homework exercises on Lord and Lady Loudmouth, reformatting their text to reflect specific typing quirks using regular ex…
  • Every state in the U.S. has two senators no matter its population. Write program in python to calculate how much more represented in the Senate a resident of Idaho is than a resident of Florid
  • I am building an app for use in AWS to handle buckets and files in the buckets using S3 and Cloud9. I am having difficulty deleting buckets. I keep getting: Traceback (most recent call last): ¬†File “…
  • is_valid_email_address Username followed by @ followed name followed by period followed HINT: break down the level-domain. parameter as follows: def isValidEmailAddress(email): Username rules: letters…
  • Write program to prompt the user for hours and rate per hour to compute gross pay. Enter Hours: 35 Enter Rate: 2.75 ab Exercise 1 Change the socket program socket1.py to prompt the user for the URL so…
  • Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. Describe each possibility in your own words. Define “precondition” and “post-condition” a…
  • For this program you will be writing a program that will use if-else or if-elif-else¬†statements. Read-It-All bookstore has a book sales club where customers can earn reward points that can be used fo…
  • Hello, this is a 2 part task. Another tutor already helped me to get task 1 to work. Task 2 is supposed to be the same as task 1 but with some changes. However, i couldn’t figure out the necessary cha…
  • Hi can explain step by step why is Q16 , option A, B ,C ,D is wrong ?. 16. The following code fragment defines a function scan and an addition add, such that scan (add , 0 , [1 , 2,3, 4,5]) produces […
  • Please help.. 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 dev enp6s0 proto static metric 100 1…
  • Generate a quadratic model with¬†y=x+x^2+e.¬†x and e are both vectors which are normal mean 0, variance 1.¬†Generate a monte-carlo sample from this model with length m = 20.¬†¬†Use the functions¬† tra…
  • provide functions with the following properties: Use parameters and arguments, use the return statement, call each function in the global space to show if they are working correctly. use the above ins…
  • list1 = [ 2, 54, 1, 12, 43 ]¬† What is the result of the following: list1[4:1:-1] ¬† 2. Consider the lists list1 = [ 2, 54, 1, 12, 43 ]¬† list2 = [12, 4, 7, 1 ]¬† ¬† What is the result of the follo…
  • . (c) (Advanced) The program above uses energy data from a specific household that is stored in two arrays (lines 7 and 8). Describe how the code could be modified to allow a member of the general p…
  • For this problem, you’ll be reading file from relative path, infile=open(../data/housing.csv”,”r”) do not use pandas to read file. 1)import MatPlotLib , numpy. 3.Write code to get size of data, type o…
  • “this is for Python in codio, i cant figure out what im messing up on. my mileCharge is coming up with 500 and i cant figure out why it needs to = the extraMiles * .25 for the D block of code. can you…
  • we aren’t allowed to use for loops on this practice and it’s really throwing me off. How can this be done without for loops?!?!. def lower_left_triangle(s) : This function will print a triangle based …
  • Python — Look at screenshot(s) — ¬† For this problem, we will be working with the Ramen Ratings available on Kaggle ( https://www.kaggle.com/residentmario/ramen-ratings ) . You can download the cl…
  • please help Question 19 1 pts Using a value to find a dictionary key can be problematic, as any given key could have the same value. O True O False
  • . Question 1 {5 points] Write a function countDigits that takes a single string parameter and returns the number of digits in that string. Use a string method! Ex. countDigitsl"The cost is $12….
  • can we examine the ‘tips’ dataset recording the tips given to servers? The dataset can be loaded from internal datasets provided by the seaborn library tips = sns.load_dataset( ‘tips’ ) To get full po…
  • The Breguet range equation expresses aircraft range R (the distance it can fly without refueling) for steady, level flight as: R = V √ó L D √ó Isp √ó ln Wi Wf where R : aircraft range [m] V : velocity…
  • 4ÔľČWhy do we use relative frequency instead of frequency? a) Relative frequency is easier to compute b) Frequency cannot show the number of appearance of outcomes c) Relative frequency can be used to…
  • Make a program that will sort a list based on various criteria. ¬† Step 1: In 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…
  • Case Study Domain – Banking Marketing focus – Optimization Business challenge/requirement Bank of Portugal runs marketing campaign to offer loans to clients. Loan is offered to only clients with parti…
  • NO TAKING FROM ANY SOURCE Write a program in python that reads a string seq from the user, representing a DNA molecule as a sequence of¬† letters A, C, G, and T, with each letter representing a differ…
  • create a module and call it shapes.py This module should contain methods to calculate the area and the circumference/perimeter of at least 4¬†geometric shapes¬† of your choosing. This module should be…
  • The Merging and joining has the following command: pd.merge(slice3,slice2,how= ‘outer’ ) What does this operation return? Group of answer choices All records from¬† slice3 ¬†+ all records from¬† slice…
  • How does one create a stack object, to test a function in python?
  • . STOR + 8 0 0 . C Code We’re going to continue with the assumption that they are linearly related, so it’s reasonable to use linear regression to analyze this data. Python 3 (ipykernel We’d next li…
  • Hello, I have tried to enter a code into Python and I keep getting a ValueError. Can you tell what I am doing wrong? Here’s the code: # Get our list from the command line import sys numbers = sys.argv…
  • Can someone help describe each of these concepts? Thanks! 1. The allowable elements in a Python list (Intro to Python – Python lists) 2. The construction of combined numpy arrays using different code …
  • You must include the following components in your Employee Management System: Employee Management System – Functionality 1 In Week 1, you developed the first functionality for the employee management …
  • Using the seaborn package output a countplot of the ratings (R, PG-13, ….) on the x-axis. Rotate the xticks 30 degrees for better readibility
  • . The following function is supposed to print ‘sorted" if the digits of an integer number are sorted from the smallest to largest, where the smallest digit is the right-most (e.g., the 1 …
  • Can you please help me to build this function by using Python? Thank you so much in advance!
  • ITP 100 Fall 2018 Program 3 Name: ____________________ . REQUIREMENTS: IPO Chart 10%, Pseudocode 90% This program assesses your ability to use functions, arrays, for loops, and if statements where nee…
  • Using the .groupby() and .count() method, get the number of unique movies of each release year. You can regard show id as the unique identifier of a movie. Q2. Get all records that have the word “…
  • Traceback (most recent call last): File “grocery_list.py”, line 26, in <module> grocery_item.update[‘name’] = item_name NameError: name ‘item_name’ is not defined im being told all these names a…
  • Describe the difference between a¬† chained conditional ¬†and a¬† nested conditional . ¬†Give your own example of each. ¬†Don`t copy your answer from the internet Deeply nested conditionals can become…
  • please help with assignment, all screen shot attached
  • I have this question, and need help for the plot part. I able to import and assign df to my data. But need help the code part to plot exactly similar to the figure in the screenshot. Any helpful hint …
  • (f.2)¬† Write the function¬†stats¬†that takes a list of strings and prints statistics as follows: 16824 lines in the list 483 empty lines 53.7 average characters per line 65.9 average characters per n…
  • 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, an employee earns $20 an hour for the first 40 hours t…
  • database canbe found at : ( ¬†https://drive.google.com/file/d/1shsgb4to-ifB6QQZQrggnoJVCmMeSdhe/view?usp=sharing ¬† ) which has two tables: names and titles.¬† titles: “”””””””””””””””””””””””””””””””…
  • Write a python script called manners that will ask the user for the magic word.¬† It will keep asking them the magic word until they say ‘please’. Once they finally enter ‘please’, the script will tel…
  • I’m stuck and i’m still struggling with the module weather.py ¬† Trying to create a program with those three parts ¬† A module named¬†weather_parser.py that contains a class called¬†WeatherParser. A m…
  • the Program should look like the sample output all instructions are on the files Cross – disciplinary connections : Business ; Simple Accounting ; Math ; Logical , step – by – step problem solving ; C…
  • There are twenty questions and the quiz is worth 100 points. You will have two opportunities to take the quiz and the highest score will count towards your grade Good luck on this review of concepts …
  • Question 3a. Create an exception class InvalidDepthError. Definea_str_dunder method for this class to return a string " Invalid Depth". Question 3b. Define a class that meets the following s…
  • Suppose the two micro bits (main board A and main board B) are in the same protocol and serial number, when the a button of main board A is pressed, ‘ACK001’ will be sent, main board B will receive it…
  • This is for my Programming in GIS and we are using Python 3 IDLE. ———————————————————————————————— Write program that asks for your name…
  • how can i this program? 3. [10%) Write a Python program that reads a string 3 from the keyboard, then reads a Ô¨Āle whose name is equal to s, and removes all the lines in the file that start with the …
  • OUTPUT ITS BASED AROUND {‘Fiction’: [{‘title’: [“Antiques Roadkill: A Trash ‘n’ Treasures Mystery”], ‘author’: [‘Barbara Allan’], ‘rating’: [‘3.3’], ‘publisher’: [‘Kensington Publishing Corp.’], ‘page…
  • Create a program in Python for The Binary Search Algorithm (Algorithm 3)
  • . Remaining Time: 2 hours, 59 minutes, 10 seconds. ju/webapps/assessment/take/launch.jsp?course_assessment_id=_238779_1&course_id=_245395_1&conten * Question Completion Status: 2 3 P QUESTIO…
  • This flashcard program allows the user to ask for a glossary entry. In response, the program randomly picks an entry from all glossary entries. It shows the entry. After the user presses return, the p…
  • Twitter Data Project Part 2 ¬† This is from a Data Science graduate level class that ONLY uses python coding. ¬† In this assignment, I need to improve the code I already have to perform analysis and s…
  • . Q1. Define a function to analyze a numpy array (5 points) File "hw2_data.npy" contains an array describing term frequencies of each document (which is referred to as document term matrix…
  • Please help me with this oneūüôĀ I’ve been struggling. No one wants to answer so I ask here againūüôŹūüŹľūüôŹūüŹľ. Feel free to ask questions. Thankyou in advance ūü•ļ. E2 [Process Creation] Write a P…
  • identify¬† three or more ¬†ways that big data is being collected on a regular basis, including one data collection method for each of the following categories: Data collection being performed on the I…
  • 4) Your boss says to you: “Last year we had a Facebook shitstorm. – Very unpleasant… – If you don’t notice it early, you can’t counteract it. What can you do to notice something like that earlier, a…
  • we will Create class named Student that contains information on student as: 1 . Name¬† 2 . Student ID number¬† 3 . GPA¬† 4 . Expected grade in this course¬† 5 . Full time or part time Create five stud…
  • Task 4: Little and Long Lists <¬ß2.2.1 While-loops; ¬ß3.1 Strings; ¬ß2.1 Conditionals> Warm Up Let’s start by learning about indexing. Indexing allows us to access the ith element in a sequence….
  • Train SVM Train an SVM classifier on the samples¬†MR_train_X¬†and the labels¬†MR_train_y You need to call the function¬†train_SVM¬†you just created. Name the returned object as¬†MR_clf. Note that runn…
  • PROBLEM 8: continuing to add mechanisms for checking books out of and into libraries Add the following methods to the Book class (no need to modify PaperBook or ElectronicBook) checkOut (no arguments)…
  • I am trying to run the program but I keep getting expected an indented blocked on 3rd row from(print) can u help me figure out what was written wrong from random import randint def menu(): print(“1. Y…
  • Python program that contains an array variable, the values of the variable need to be input by user. This most modify each element of the array by using a loop and displayed the outcome. Include #comm…
  • How do I program the left and right rectangle to be positioned at 80% of the height and 40% of the width? And How do I make the center rectangle? ¬† # Only using from PIL import Image # without other …
  • just need to fill the blanks in at the top!. Complete the code below to create the given figure. The image size is 100×100, both squares are centered in the middle of the image. The blue square has ed…
  • Given a line of text as input, output the number of characters excluding spaces, periods, exclamation points, or commas. Ex: If the input is: Listen, Mr. Jones, calm down. the output is: 21 Note: Acco…
  • Consider rooted trees in which the number of children for each node is equal to the height of the subtree rooted by the node. If the height of the root of the tree is n, enter a math expression for th…
  • Given the following dictionary as the desired outcome: {‘A’: ‘E’, ‘C’: ‘Table’, ‘B’: ‘A’, ‘E’: ‘Table’, ‘D’: ‘C’} and the following dictionary as the input: {‘A’: ‘Table’, ‘C’: ‘Table’, ‘B’: ‘Table’, …
  • USE PYTHON FOR ALL ¬† Complete¬†the¬†following¬†programming¬†exercises: ¬† Write pseudocode for a program that will record weather-related data for any¬†month¬†or¬†months. Input¬†could¬†be¬†month¬†nam…
  • Program in python class called ShipGame that allows two people to play the game Battleship. Each player has their own 10×10 grid they place their ships on. On their turn, they can fire a torpedo at…
  • All code is in python, any help would be appreciated. Thank you.. Example The ODE that describes a inverted pendulum is given by (Pea) , ml (#2 = ‚ÄĒmg 3111(8 (t)). where l’. ‚ÄĒ > Pendumum lenght …
  • Please use PYTHON programming language to solve this problem. NOTE: MUST USE FILE ¬†I/O ¬†FOR BOTH INPUT AND OUTPUT. Thank you. Hint 3: Use adjacency list representation of Graph while reading from in…
  • Python permits functions to change mutable objects passed into the function as an argument without returning anything. ¬† True or False?
  • This is part of problem_2_ambiguous.cvs. X y 20- 10 – 10 1 0 – -10- -10 – -20 – -30 – -20 0 2000 4000 6000 8000 10000 0 2000 4000 6000 8000 10000 Figure 1: Time-series attached in problem_2 ambiguous …
  • You have learned about lists, tuples, and dictionaries in Python. In this discussion, let’s talk about their differences. Why would you use a dictionary over a list in Python? What are the benefits to…
  • Find two compile‚ÄĒtime errors in each of the following programs: 3) int X = 8 print(x, squared is, x * x) b} int y = 3 ycubed = y *** 3
  • . 8. [20 points] Please complete the code (by replacing pass) of the act() methods below in order to generate the output as comments follows. class C(object) : def act(self) : print( ‘spam’ ) class …
  • Another question that I have is that for example if the user enters a string with multiple words and no spaces in between and the first letter of each word starts with a capital letter, how can I add …
  • Please help me correct and continue the code that has been written above or write new, correct code entirely. The instructions and questions are attached below. Thank you very much. ENGG 1320 Group 10…
  • single server queue simulation using python using normal distribution. Simulate the following single-server queueing system for the first 10 customers. simulation should stop when 10th customer depart…
  • please help, Thank you!! the last answer is incorrect!!! any question please comment¬† Question: Write Gerkin test scenarios (Given, When, Then statements)¬† describing ¬†tests below. ¬† def test_calc…
  • Objectives: ¬†the usage of functions, and loops¬† ¬† Write a Python main function that asks the user to enter the width and length of a rectangle and then display the rectangle’s area. The main functi…
  • Write a function in this file called¬†nine_lines¬†that uses the function¬†three_lines¬†(provided below) to print a total of nine lines. Now add a function named¬†clear_screen¬†that uses a combination …
    • – – Input Chevy Times _ _^ Enter time for Chevy Car 1 : 5 . 4 Enter time for Chevy Car 2 : 7 . 2 Enter time for Chevy Car 3 :` | 4 . 0 Enter time for Chevy Car 4 :` 9 . 1 Enter time for Chevy Car 5…
  • need help 1.¬†¬†¬†¬†¬†¬†Describe three characteristics of a well-designed algorithm discussed in class and provide a one sentence explanation of each characteristic. ¬† 2.¬†¬†¬†¬†¬†¬†Which is not an e…
  • Trying to create a function that takes a list and outputs a new list with all possible combinations.¬† Example: ([‘1’, ‘2’, ‘3’], 3]) Outputs: [’11’, ’12’, ’13’, ’21’, ’22’, ’23’, ’31’, ’32’, ’33’] ¬†…
    • Describe in details how you implemented the following modules in the report: environment simulation, -greedy, and Q-learning update. (b) Comment your code in details¬† (c) Include the screenshots o…
  • write Python script that takes two parameters to do the following:- 1) List all files names, size, date created in the given folder 2) Parameter1 = Root Folder name Parameter2= File size >>> …
  • How can you implement the Fleury’s algorithm and Prim’s algorithm based on your pseudo code (variables must be matched to your pseudo code). The algorithms must be implemented in python. ¬†Thank you.
  • s = ‘123’ print (s[:] + s[:1] + s[2:]) a) TypeError: slice indices must be integers b) 12313 c) 12323 d) 123112 e) none of the above show how you got to the answer using process of elimination.
  • Problem 1.¬†(15 points) It is easy to compute the change in the dimension- ality of the feature space, when a kernel is defined by a polynomial of the type (p¬†+ 1)2¬†where¬†p¬†is the dot product in t…
  • A model uses below decision variables. xi,j,t: Number of product i produced in facility j in month t. i=1, …, 20; j=1, …, 5; t=1,…, 12. ¬† Using above variables give algebraic expressions for be…
  • In the attached file, I implement the structure of a solution based on a strategy pattern. The solution allows the client code to choose from three different sorting algorithms. These are (1) PR_Queue…
  • Need solution for the problem in the link: https://www.coursehero.com/tutors-problems/Python-Programming/20844595-Text-Mining-Python-Code-Question-is-in-attached-screenshot-Please-hel/ Not able to fin…
  • Python program to create Desktop Software for helping flood affected people to be used at Flood relief camp .(The desktop should contain the details to be registered by affected people by themselves t…
  • Write code that uses iteration to print out¬† the length ¬†of each element of the list stored in¬†str_list.
  • Dataset Link: https://docs.google.com/spreadsheets/d/1UV6ZoB4Si7xicN2S51tA2FlA0SdSjSljLPCRF5CpXOg/edit#gid=1166921139 Information on attributes: https://data.cdc.gov/NCHS/AH-Monthly-Provisional-Counts…
  • . Let A = syT, 1where neither 3: nor y is I]. a How linearl ‚ÄĒinde endent columns does A have? Ex lain wh ! many 3* p P r {h} What is the rank of A? Explain why! {e} Generate A in MATLAE or PYTHON …
  • Similar to the Getting Timeline ¬†task, this option prompts the user for Country/Region and then State/Province if necessary. Finally, the program will display a line chart ¬†of the timeline data. The…
  • DATABASE CRUD ASSIGNMENT INSTRUCTIONS ¬† Use the same database table that you designed in the previous assignment for Database Design¬† Form) and apply it to a Python program that performs CRUD operat…
  • TASK; Implement a stack data structure using queue data structure as a basis. For the sake of simplicity use SimpleQueue of the built-in module queue. See the class and method descriptions in the stac…
  • can you please provide the dataset for commutation in UK from 2002-2022 (19 years of data). It should contains peoples commutation, vehicle type(car, bus, cycle, train etc) I need to crop the data for…
  • This is the assignment and where I’ve gotten with my code so far. I would really appreciate some help.. ITP 115 2022-01-03 k: NONE 1: NONE m: NONE n: * * p: q: NONE r: NONE S : ** t: u : V: NONE W: NO…
  • Need two methods for my linkedlist one is named insert and takes as a parameter two values the value to be inserted and the position to be inserted respectively the other is reverse which is suppost t…
  • need help with the RPS portion of this, have about 3/4 of the assignment finished Rock, Paper, Scissors Game Final Project For the final project you are to create a Rock, Paper, Scissors game in Pytho…
  • The 1962_2006_walmart_store_openings.csv file is available here: https://raw.githubusercontent.com/plotly/datasets/master/1962_2006_walmart_store_openings.csv It contains information on Walmart store …
  • Need the code please 3.12 LAB: Phone number breakdown Given an integer representing a 10-digit phone number, output the area code, prefix, and line number using the format (800) 555-1212 Ex: If the in…
  • Python In this project, you will code a simple game in the style of Dungeons and Dragons, a popular roleplaying game. What you need to know One of the main components of the game is the dice roll. Thi…
  • Once you have the data file the project requirements are: The data columns needed are Submission date State Total cases Total deaths Create a python program that provides the following graphic reporti…
  • Notes You will need to test your class. If you wish, you may include your test function in the class file. It is not part of the assignment. When I evaluate your assignment, I will run my test functio…
  • Please answer all the parts ### YOUR CODE HERE ### and to access the question use the google link provided https://drive.google.com/file/d/1TG4Wt07CMrAMfFM_mxsXMe0ufjD8Nyeo/view?usp=sharing Problem 1….
  • Simulate in python: Simulate the number of people entering a shop in one hour in shopping mall (let random variable X be the number of people). Simulate this RV for different lambdas (average number o…
  • Below is the link to .ipynb file ( Actual Question) https://drive.google.com/file/d/144Ta7-MoiotZnkfEApDl3tysCD88w_5C/view?usp=sharing ¬† Below are the data links: (I have shared a google drive link, …
  • here is what is in the csv file Randy,9, Marc,3, Randy,2,***Lowest score ***** John,2,***Lowest score ***** Christopher,5, Chris,2,***Lowest score ***** ¬†. Now that you have completed the guide…
  • Hello I am trying to fix my code so that it runs. The code seems to be correct, but it gives the error that the data frame is not defined, but it has been this way in previous portions of the code. -H…
  • By importing pillow (PIL) ‚ÄĘ 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, c…
  • PYTHON Need help!¬† I am not able to pass this testcase which is:¬† “All strings are composed of alphabetical characters only. However, they can be lowercase, uppercase, or a combination of both. This…
  • Exercise 2 (…/45) Use the function design recipe from Chapter 3 of Practical Programming to develop a function named max_min. The function takes a list of tuples, and each tuple contains four non-ne…
  • The entire assignment is taking a list of contacts as a csv file in a first_name,last_name,email,phone. This is the function that returns when a user searches by name for a contact and more than one c…
  • OBJECT-ORIENTED PROGRAMMING IS THE ISSUE. Until now, all of our programs have been structured around functions, which are blocks of statements that alter data. Procedure-oriented programming is a term…
  • Define a named tuple Player that describes an athlete on a sports team. Include the fields name, number, position, and team. from collections import namedtuple Player = namedtuple (‘name’, ‘number’, ‘…
  • Here is the link to my github, where all the files are: https://github.com/minprog-platforms/profiling-ryoussef0103.git This is the assignment: ¬† This GitHub classroom assignment contains a functio…
  • Similarly, we can convert data represented as dictionary-of-dictionaries into a list-of-lists! Implement a function unpivot(pivoted_data) that takes in a dictionary-of-dictionaries data¬†and returns t…
  • s = “Result:\n” import InputBox # take user input InputBox.ShowDialog(“Enter the month: “) m = int(InputBox.GetInput()) InputBox.ShowDialog(“Enter the day: “) d = int(InputBox.GetInput()) # validate i…
  • Case Study Domain -Banking Marketing focus -Optimization Business challenge/requirement Bank of Portugal runs marketing campaign to offer loans to clients. Loan is offered to only clients with particu…
  • Can you code this but not include the histogram part just up to where you can enter y and a to quit. can you simple python code to code this and explain each line in simple in english as well as reaso…
  • Assume the availability of a function is_prime . Assume a variable n has been associated with positive integer. Write the statements needed to compute the sum of the first n prime numbers. The sum sho…
  • Create a¬† comment block ¬†(starts at line 1 of your code) with the following information: Your Name Course Name, Section (example: ENTD200 B002 Spr18) Instructor name Week # Date completed 2.¬† Probl…
  • Explain below statements OOP in python with examples: Inheritance Data Abstraction Data Encapsulation Polymorphism Private Attributes Protected Attributes
  • For (i), There are three options A: Ordered sequence of repeating y objects x times B: Ordered sequence of choosing x objects out of y objects C: Ordered sequence of choosing y objects out of x object…
  • Hello I was wondering if someone could help me with my code, I was tasked with creating a rewards system that rewards customers that have spent over $500.00 in the past 60 days How can I fix the inval…
  • Turtle Graphics: City Skyline Write a turtle graphics program that draws a city skyline similar to the one shown in Figure 5-33. The program’s overall task is to draw an outline of some city buildings…
  • Hi this code doesnt seem to run when i do it, can someone please help explain what i should do for it to run on my side
  • Please help ¬†Define an iterative function named append_ordered Define a recursive function named append_ordered _r¬† Base code: https://pastebin.com/8HHmzg6G
  • Question: Printing a grid. (it wants me to make a) program that prints the following grid to play tic-tac-toe. +–+–+–+ | | | | +–+–+–+ | | | | +–+–+–+ | | | | +–+–+–+ (sorry for weird form…
  • We have previously learnt about numbers and how they can be easily converted from one base to another. Recall that¬† binary¬† numbers are represented with only two symbols, and as such, the non-negati…
  • Im making code that should print out the contents of a folder. This folder contains a notepad called “workstations” that is blank. When it prints out the folders contents. How can I get the output to …
  • URGENT PLEASE HELP AND EXPLAIN THE CODE. PLEASE USE BASIC PYTHON LANGUAGE AS THE CLASS IS AN INTRO TO PYTHON CS-1113. ¬†. Note: Do not use any language construct not taught in lecture sections. For th…
  • ################################################ ## EE559 HW1, Prof. Jenkins ## Created by Arindam Jati ## Tested in Python 3.6.3, OSX El Capitan, and subsequent versions #######################…
  • A Python program is needed to calculate what day of the week a certain date will be in a given month. The user will first start by entering the first day of the month (i.e. Monday) and then enter a nu…
  • name the function digitalCS that will count all of the digit variables in a string. It will take as an argument the string to search through. It should return the number of digits that are within the …
  • Task 5 Complete the function that takes an integer as input, multiplies by e, and returns result rounded up from math import e,ceil def mathCalculation(x): # Student code goes here #expected outcome: …
  • 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 Novels Authored (2) Prompt the user for th…
  • write a complete function named¬†edges¬†that has one parameter. You can expect this one parameter to be a 2D list of numbers. The function should sum up every number on the “edges” of the 2D list. In …
  • Writea Python function to determine if a person is old enough to drive. To be old enough to drive, the person must be at least 17 years old. The function should return a message to the program that in…
  • Write python code please: A file named Harry.txt contains many sentences and words. Write code to find out : a). how many words have an odd number of A’s/a’s?
  • viable_input = “12345” #prints menu to screen and asks for user input assigning it to variables while True: ¬†¬†print(“1. Addition\n2. Subtraction\n3. Multiplication\n4. Division\n5. Modulus”) ¬†¬†pri…
  • In Homework 4b, we plotted least squares fits to some existing data using both linear and cubic polynomials.¬†This program has been put in object-oriented form and given significant functionality t…
  • #need this to produce random nunmbers import random #this function writes out steps for a month #INPUT: file object, nunmber of days for that month #OUTPUT (to file): random number of steps for that m…
  • Python Programming Using the following datasets Loans training data set: https://1drv.ms/t/s!AhsCtkkQy0_qhCLiCRtsDveLYY19 Loans test data set: https://1drv.ms/t/s!AhsCtkkQy0_qhCNDxKkygTPsg5E2 ¬† 1. De…
  • menu-driven program for De Anza College Food Court. (You need to use functions!) Display the food menu to a user (Just show the 5 options’ names and prices – No need to show the Combos or the details!…
  • Sequences of numbers in which there are frequent “runs” of a particular number repeating several times can often be more compactly represented by use of what is called “run length encoding”. A list is…
  • I have to define these two functions and call the first one in the second one. I’m just confused as to how I go about the code because of my unfamiliarity with python syntax.
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Example(condition.py) …
  • When you are done implementing the validate_ functions, you move on to create_a_task, ¬†as shown in the function prototype, takes in 5 parameters: name, description, deadline, priority, completed. You…
  • Load a csv (excel) into a dictionary. Each Country’s name will serve as the key¬†to access a second dictionary containing information about the country. This inner dictionary will have two keys requir…
  • Write a program that extracts the last three items in the list sports and assigns it to the variable last. Make sure to write your code so that it works no matter how many items are in the list.
  • Follow the steps below to create and run this module. . Create a new module, called yf_example3. py , inside the toolkit project folder. Open this module in PyCharm. . Write a simple module docstring …
  • the answer to this question is not working and In the answer some lines are long and are not visible can you help me to complete it ? Q8: Process the Tweets Write code that opens the file project_twit…
  • Asks the user for a number. Multiply the number by 25 and make a print/output that says “The number that you entered, multiplied by 25 is ##” Develop an algorithm, flowchart and modular program. Expla…
  • I need help with this exercise, we just learned the for loop. Make the code as basic as possible. Exercise: 1. Write a for loop that prints out the numbers 6 through 10. 2. Write a for loop that print…
  • Hello, this is a question about R programming. I have problems of getting the right code for that Welch Two Sample t -test, df and p-value. Could you please help me with the code for that, beacuse Im …
  • Write a Python program that rotates the element of a list so that the element at the first index moves to the second index, the element in the second index moves to the third index, etc., and the elem…
  • Define a function¬†getFullName¬†which takes the employees table from your first function in #1 and a single employee ID as arguments, and returns a string with the full name of the employee in the for…
  • Please I need help understanding what is going on in this code. Can you add comments next to the lines of code explaining what is going on? import turtle def bar_chart(x,y,labels,values,colors): ¬† ¬†…
  • Please help with example questions 1. 1. validate Takes anything at all (any Python value) and returns True if that value is a valid bimmy++ expression. A Python value is a valid bimmy++ expression if…
  • . Tools VCS Window Help Lab 10 – C:\Users\juboo\Downloads\records.csv main gui.py * main.py X records.csv X .csv files are supported in other JetBrains IDEs Try RubyMine Try PyCharm Professiona 1 Na…
  • Define a function to copy the data of a file into another file called "welcome.txt". Q7. Create a file consisting of 10 lines of text and print its 5th line, 6th line, total no. of lines,…
  • If the above rule is satised, your program must ensure that the the word exists in the dictionary dictionary.txt. Note that the user may enter the word in lowercase or uppercase letters or a combinati…
  • You are working with a Python list with 10 different values. You divide the values into 5 equally-sized bins. How wide will these bins be if the lowest value in your list is 0 and the highest is …
  • TOPIC; OBJECT ORIENTED PROGRAMMING ¬† Until now, all of our programs have been structured around functions, which are blocks of statements that alter data. Procedure-oriented programming is a term for…
  • def fibonacci (N) : L = [] a, b = 0 , 1 while len(L) < N: a, b = b, a + b L.append(a) return L fibonacci(10) Output: [1,1,2,3,5,8,13,21,34,55] I am confused how to read this. Can you explain in bas…
    • You can turn a verb into a noun by adding "ing" at the end of the noun, creating the gerund form of the verb. For example, "play" becomes "playing", and "ask&quo…
  • I have a python exercise sheet to do to prepare for a test: the topic is about object: ¬† 1. Define a class Car. A Car should have 5 properties: a String for the model of the car (e.g. Toyota Camry), …
  • Drivers are concerned with the mileage obtained by their automobiles. One driver has kept track of several tankfuls of fuel by recording the kilometres driven and the litres used for each tankful. Dev…
  • Using nested loops, print the following pattern.. A ABA ABCBA ABCDCBA ABCDEDCBA
  • Exercise 2: Student’s Choice (solve either Exercise 2A or 2B) Exercise 2A: Create a Python program that reads the data stored in the provided rainfall.txt, where each line in the text Ô¨Āle contains…
  • I just need you to make a dashboard and report of this.¬† ¬† The reference data to make this is here, open this: https://drive.google.com/drive/folders/16caP_1E-5rGlvTdFq8475xTjbKAkw7uK?usp=sharing
  • IMPORTANT : make sure that you use¬†createAlphabet()¬†as the helper function to generate the alphabet used by the encryption/decryption routines. You should be able to change the alphabet returned by?…
  • All my functions in the list return with error and I am unsure why. I have 2 import files that both work but may have inserted them in a incorrect way. Instructions 1) Use a list to as menu 2) use a f…
  • Lists and dictionaries are two important methods of storing data in Python programming. How do you determine when one method is more appropriate than the other based on the data being processed? Creat…
  • python programming ‚ÄĒ8. [5 marks] For each of the scenarios below, explain what data structure (Python variable type) would be the best choice and why. a. case Storing a collection of plants that all…
  • There is an error in this code but ¬†I don’t know what it is ¬† def totaler(): ¬† ¬† ¬† ¬†return math=sum*0.21428571428 ¬† ¬† ¬† ¬†return math_1=sum_1*0.21428571428 ¬† ¬† ¬† ¬†return math_2=sum_2*0.21…
  • Problem Specification Given an accounting routine used in a bookshop. It works on a list with sublists (list of lists), which look like this: orders= [bookshop order1, [book1 order number, quantity, p…
  • Part #1 – a valid phone number is formatted like (703)555-1212. Write a python script that takes a string as input and prints valid if it is a valid phone number or invalid if it isn’t. ¬† Part #2 – a…
  • Hello everyone. Would someone please write me a Python code. 1. First a Function that gives the position and length of the longest open reading frame in a ‚Äětuple” . 2. Second a function that returns…
  • Would someone help me fix my current code? For some reason it isn’t running (I’m using pygame). Also would someone help me make a scoreboard at the top to account for collisions? I don’t really know h…
  • If you ran¬†the following SAS code to create the dataset cereal_2.¬†¬†How many observations will cereal_2 contain with a cereal type of¬†‘C’? data cereal_2; ¬† ¬† ¬†set cereal; ¬† ¬† ¬†WHERE type = ‘H…
  • Please note that both of these functions require you to do exception handling . I recommend that you develop the solutions by first imaging what you would do if there were no erroneous values present….
  • You are designing a text-based social deduction game, in which players are put on a spaceship that is flying to Jupiter for scientific research. Each player is a Character that is one of two specializ…
  • One of the pentesters on your team wrote a backdoor shell in python to run on a target system. However, the program is missing something. What should the pentester add in the script to make it work? ?…
  • I have done the code, but some typo is not letting the output display. Can you please find it. Two .py files: one will be imported to the other as the code shows. Thank you. circle.py from ¬†math¬† im…
  • Assistance with analyzing a dataset: https://docs.google.com/spreadsheets/d/1_1ERCOQ7wAB413WBfw2VOEPVzvBgcIOW10gmDP2clnQ/edit?usp=sharing The teams dataset from the Lahman baseball records. Once infor…
  • There are two programs: The first program will allow 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 l…
  • This assignment is based on Exercise 7.1 from your textbook.¬† Part 1 Encapsulate the following Python code from Section 7.5 in a function named¬†my_sqrt¬†that takes a as a parameter, chooses a starti…
  • For Part 1 – Main Version: choice = ‘y’ progress = trailer = retriever = excluded = 0 credits = [0,20,40,60,80,100,120] print(“Staff Version with Histogram”) while choice == ‘y’: try: Pass = int(input…
  • I need help with the following! ¬† Part 1: Goals: Standalone Python Script that will act as a TCP Server.¬† The Server will accept connections on Port 5555 from TCP Clients Operating on the same local…
  • Let us suppose a 5¬†GHz radio wave that: propagates through the atmosphere in rainy weather over a distance d , in kilometres (km) and then through one layer of wood of thickness t , in metres (m)….
  • Update the program so it reads the player data from a file when the program starts and writes the player data to a file anytime the data is changed. ¬† Console ========================================…
  • ** sorted¬†and¬†.sort¬†will be suspended from service temporarily. How to write function¬†top_k¬†that accepts a list of integers as the input and returns the greatest¬†k¬†number of values as a list, w…
  • Question-7 (10 points)¬† Imagine that the following operations are performed on an initially empty splay tree: Insert(1), Insert(10), Insert (5), Insert (3), Insert (7), Insert (13), Find (3). Show th…
  • .¬†Determine the missing identifiers, symbols or numbers.¬†Write your responses in the spaces provided. import math def population( __________ , rate, time) : ¬†¬†result = initial * math.exp( ________…
  • Answer and explain the following question. Don’t use print. ¬†. Print the alphabet “B" in python. You will write a program that will print the alphabet “B" exactly as given below. There …
  • USING PYTHON -Tree Age Counting the growth rings of a tree is a good way to tell the age of a tree. Each growth ring counts as one year. Use a Canvas widget to draw how the growth rings of a 5-year-ol…
  • In Python, a variable is a placeholder or container where information to be used within a program can be held. Each variable has a name and a type. , describe Python naming restrictions, then assign t…
  • What is a function that would give the attached photo that will display a remainder division problem, based on random number criteria . Then that uses a loop that will continue showing new remainder d…
  • i need you help with this programming question please.. Description An identity matrix in math is a square matrix whose contents are all 0, except there are is down the main diagonal. For example, a 3…
  • I need to enter a loop in my python script to keep asking the user What would you like to do, until they enter Q to quit. I can’t figure it out. userchoice = input (“What would you like to do?\n”) if …
  • Hi please put it all in one folder this my lab 8. les, Scope Refs, Debug Before next lesson, upload this lab to the learning hub at learn.bcit.ca in the / Activities/Assignments/Lesson8Lab dropbox….
  • . in this project {for HW 3), you have been approached by Sophia, the HR Director of the a large manufacturing company; Beta Group. Beta Group is a multinational company with more than 100,000 emplo…
  • With the help of Python coding show 5 Machine learning-based data analyses like Logistic Regression, Decision trees, etc for IoT datasets and show the comparison of the accuracy of the models with an …
  • All the decision problems that are in P are also in NP. Is this True, Explain.
  • hi i want a python code to develop a simple calculator
  • I am struggling with ex#3 for ITM 205 SLP2 Trident University
  • My code is working, but it is not displaying a message indicating choices for the user. Is it the lack of “(float” in front of the (input? when working with line – userchoice = input(“What would you l…
  • My assignment is as follows and I am stumped at the moment: We will be extending the Caesar Cipher we looked at earlier into a full-fledged password saver. The program will be able to: Lookup password…
  • The company wants to provide a promotional offer in the advertisement of the restaurants. The condition to get the offer is that the restaurants must have a rating count of more than 50 and the averag…
  • Below is the survey 1000¬†31000¬†3 Texas 1042¬†12180.06¬†3 Texas 1062¬†13240.45¬†2 Texas 1200¬†36000¬†2 Maryland 1327¬†19800.56¬†2 Alaska 1483¬†22458.23¬†7 Texas 1900¬†17000.09¬†3 Washington 2000¬†169…
  • Please just show me an outline of the following instructions of code. If there’s extra or missing information please your judgment to come up with some filler info. ¬†I need to see how this is written…
  • Do not regard the link lines with the desired prefix: IC Use the following code to extract all the lines that start with From: fhand = open(‘mbox-short.txt’) count = 0 for line in fhand: if line.start…
  • . Tools VCS Window Help Lab 10 – C:\Users\juboo\Downloads\records.csv main gui.py * main.py X records.csv X .csv files are supported in other JetBrains IDEs Try RubyMine Try PyCharm Professiona 1 Na…
  • We will have separate csv files which contain the dive details for that round. The files will contain records where each row has name, DD (Dive Difficulty), and five judge scores. ¬† ¬† Each file will…
  • 3.2: Function call in expression. ¬† Assign max_sum with the greater of num_a and num_b, PLUS the greater of num_y and num_z. Use just one statement. Hint: Call find_max() twice in an expression. Sa…
    • (2 points) What is the worst-case time complexity of the mystery function? 1. def mystery(string): 2. result = “” 3. for x in range(len(string)): 4. result = result + string[x] 5. return result a)…
    • LAB: Warm up: Drawing a right triangle This program will output a right triangle based on user specified height triangle_height and symbol triangle_char. (1) The given program outputs a fixed-he…
  • PLEASE HELP THIS IS PYTHON 3 CODE Implement the circular, array-backed queue method drop, which takes an integer n as an argument and removes and returns the value from the queue n positions down from…
  • # The code below has bugs. ¬†There may be more than one. # # Add a comment to the code for each such error. # ¬† It should describe the location of the error, # ¬† the type of the error (syntax, runti…
  • IT IS A PYTHON QUESTION THAT HAS TO DO WITH OBJECT, CLASS, INHERITANCE ¬† Scenario ¬† ¬† You are given a Product class that will store information about the products. You are also given a Store class …
  • Hello I need help with the following: ‚ÄĘWrite each card of your shuffled deck to a file named shuffledDeck.dat ‚ÄĘRead each card in a loop and display the card to the console. ‚ÄĘThe user should be a…
  • Given these functions,¬†determine the value of x. ¬† ¬† def¬†f(x)¬†: ¬†¬†¬†¬†return¬†g(x)¬†+¬†h(x)¬† ¬† def¬†g(x)¬†: ¬†¬†¬†¬†return¬†2¬†*¬†h(x)¬†//¬†5 ¬† def¬†h(x)¬†: ¬†¬†¬†¬†return¬†x¬†**¬†2¬†+¬†k(x)…
  • What are the different types of inheritance in python ?
  • A sample dataset has been provided to you in the ‘./data/sample_dataset_em.pickle’ path. The centroids are in ‘./data/sample_centroids_em.pickle’ and the sample result is in ‘./data/sample_result_em.p…
  • form a python code: Sample output: Change Calculator ¬† Enter number of cents (0-99): 99 ¬† Quarters: 3 Dimes: 2 Nickels: 0 Pennies: 4 ¬† Continue? (y/n): y ¬† Enter number of cents (0-99): 55 ¬† Quar…
  • Sample Output 1 Explanation: All 5 buildings have at least one level, 2 buildings have at least 2, 3, 4, or 5, levels, and only one building (the tallest) has 6, 7, 8, 9, or 10 levels. Sample Input 2 …
  • The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below 2,000.
  • This is R-command us for R-studio. Can someone help to covert these to Python comment for Jupyter Notebook, please ? ¬† # Import dataset (salary = y) #data <- read.csv(file.choose(), header=TRUE…
  • I was asked to make a python program that is a list maintainer The output looks like this Menu: A)dd, R)emove, F)ind, P)rint, add B)efore, add afT)er, D)elete, Q)uit: P List of items 1. Buy milk 2. Bu…
  • Can you help me for this question by Google Collab. Exercise: List Due 13 April 2022 23:59 Instructions Write a program to create a list of 5 lunch menu items, then the program will wait for the user …
  • Classification Toy Problem Before we can build a logistic model, first we need a dataset! Getting our data loaded and into a¬†Dataset¬†object is always going to be our first and most important step to…
  • 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. Mak…
  • Write a Python program uin. py that repeatedly asks for a valid TAMU UIN until the user enters a valid UIN. The requirements for a valid UIN are: Must be a nine-digit number Must contain only digits ….
  • This is my code: but it is not giving the output. # recursive function def adding_up_to(lst,index): # base consition if index < 0: return 0 # recursive part return lst[index] + adding_up_to(lst,ind…
  • In the final code, you will extend your Checkpoint B code in the following ways: Clean up the main function by moving the code corresponding to human’s play in a different function. This would be very…
  • Create python program(python code only) Of bellow question. Question-implement cryptarithmetic https://stackabuse.com/constraint-programming-with-python-constrain Solution Exp1= 1000 * “S” + 100 * “E”…
  • ) 31/ Lat: 42, UL irWt’lE Page; [J] as Problem 2 Write the recursive function containiniword, which takes as its argument a nested list of sentence strings and a target word, returning a list of…
  • An¬† annuity ¬†is a series of payments made at fixed intervals of time. If you buy an annuity from a bank, you will pay a principal sum upfront, and then receive monthly or yearly payouts deducted fro…
  • script of this Ask the user to pick one of four doors (i.e. door1,door2,door3,door4) Step 2¬†¬† If they choose door1 tell them they have won $10. Step 3¬†¬† If they choose door2 tell them they have wo…
  • # Complete the function to replace the word WGU with Western Governors University # and print the new string def replaceWGU (mystring) : # Student code goes here # expected output: Western Governors U…
  • I have to build off of a previous assignment and I am not too familiar with CSV files and working in Excel. Below are the instructions and I have attached a link to my Google Drive Folder named Course…
  • Please answer back in python. Write a computer program that stores and tracks information about high school students.¬† The first piece of information is what grade the student is in. Since this is fo…
  • The kc_house_data dataset contains information on house sale prices in King County, Washington from May 2014 and May 2015. The columns include sale price, number of bedrooms, and square footage of liv…
  • FOR THIS EXERCISE JUST USE THE WHILE OR FOR LOOP AND FUNCTION RANGE Considering the following list write¬† ¬† numbers = [12, 75, 150, 180, 145, 525, 50] Write a python code to achieve the following do…
  • I really need help to write a code for my final exam in my software development class. The code I need to write needs to fit these requirements below. And the theme of my final code is someone …
  • computational maths (3) Create an array of linearly spaced elements :2: in the interval :2 E [‚ÄĒ1, 1]. HI] = zsin (i) (c) Change y such that if a is in y and a < 0 then a = |a|. That is, y hm only…
  • i really need help with this coding practice problem to study for my up coming exam. thank you.. 17 18 "" Do not change any of the code on lines 3 – 16. You can add code above line 3. "…
  • Project 1: Market Timing Assignment ¬† Convince me which of the following two investment strategies is better: Dollar-Cost Averaging (DCA): You invest $1,000 in the market every month. Market Timing (…
  • list a function named printHeader() that prints out a header that looks like this when called from the main() method. Hostname Username WindowsVer RAM Asset Tag —————————————…
  • Question 2: A search algorithm iSearch¬†and a variable¬†ilist¬†have been defined as follows: [1]: def iSearch (target, lyst) : left = 0 right = len(lyst) – 1 while left <= right: midpoint = (left +…
  • Enter a program that asks the user to enter up to 10 golf scores, which are to be stored in an array. You should provide a means for the user to terminate input prior to entering 10 scores. The progra…
  • What would the correct answer be to this and can you explain why? The strPassword variable contains eight characters. Two of the characters in the password must be numeric. Which of the following stat…
  • 1)Which of the following statements are correct? Group of answer choices multiple can be right A) Insert cursor and Update cursors apply an exclusive lock.¬† Search cursor does not apply an exclusive …
  • I am using this code XGB classifier but I m not sure what is the error¬†. XGBoost -Extreme Gradient Boost In [33] : # XGBoost -Extreme Gradient Boost from xgboost import XGBClassifier XGB=XGBClassifie…
  • I NEED HELP WITH DISPLAYING THIS CODE USING PYTHON 3 Help C v O Q Search Module II – Sequence Manipulation String Sequences Students will be able to: List Creation Create Lists List Access Access item…
  • Multiple choices. ¬†Please show comments for each one.. i. What is the output for: ‘search’. find(‘a’): a. -1 b. 2 C. 3 d. 1 e. None of the above. ii. What is the output for: a = 12 b = all”: c = b …
  • def charWordList(wordList, char ): ”’ – charWordList takes the parameter wordList the parameter char , and returns a list of all the strings that contain char . – If wordList is not a list type, or i…
  • Flag question: Question 1 Question 11 pts ¬† What is the output of the following code snippet? import math real_pi = math.pi # math library provides close approximation of pi approximate_pi = 22.0 / 7…
  • please read it carefully and do, as they said what to use and what not to use. PSP_Assignment_2_202003.pdf X Course Hero X . New tab x + X O https://moodle-saibt.axis.navitas.com/pluginfile.php/254371…
  • Write program that uses¬† input ¬†to prompt a user for their name and then welcomes them. Note that¬† input will pop up a dialog box. Enter¬† Sarah ¬†in the pop-up box when you are prompted so your ou…
  • Using ONLY: from PIL import Image import random You CANNOT import anything else such as ImageOps.
  • read the provided google_books_dataset.csv file(provided at the bottom) (the file name will be the only input parameter of the function) and will return a list with the stored data. ¬† MUST FOLLOW THE…
  • Module 1 Assignment Due: Monday 2/21/2022 Note: You may use Monday 2/14/2022 and Wednesday 2/16/2022 lecture to work on this assignment 1. Convert the following values to IEEE 754 single precision for…
  • Consider the Movie Recommendation code and problem that was discussed during the class (Session 5 and 6). Please provide a brief write-up on the problem, steps needed to arrive at the solution (recomm…
  • Python3-I have a function called getLinearEquation(seq) and I need help with. # @param seq a list of numerical values that form a linear sequence # Precondition: seq.length > 1¬† # @return a string…
  • Write the python script called product.py that will use argparse to determine the product of two numbers. When the user provides the option x , the script will get the first number . When the user pro…
  • I am having the same assignment. I need a twitterbot design description. Soon I will take help from course hero to get the code for it. Can I have a design description? I can be dialogues from popular…
  • Use the titanic.csv data set. Subset the data set into male and female. Choose the correct t-test to use to determine if male and female passengers paid the same mean fare.
  • Try to solve these by just looking at them and reviewing the regex lecture. Then verify your answers by writing the code. Then, modify things and see how the returned text changes. This is the best wa…
    • For this interactive assignment, you will continue to utilize loops and functions and will assist me in creating a Python program that asks the user for an integer (number) greater than 1. 2) Once …
  • Write python code in Jupyter Notebook that generates the answer on this problem: How many ways can we award a 1st, 2nd and 3rd place prize among eight contestants? (Show recursion)
  • Hello, I need help with a computer programming lab, the language is python. Here is where you can access the code: h../@sandy3806/lab4#main.py ¬†there is a section that says “code”, click on it and yo…
  • Write python code to make an x- and y-axis and a background grid with the following specs: (1) Axes are both 600 long & centered on (0,0) (2) Axes are black & are made with a penwidth of 5 (3)…
  • Hopefully tutor nagaramu will answer as he knows what i am working on. this is the code and how far I have gotten so far. I need to know how to collect items that are assigned to each of my rooms. My …
  • Write the pseudocode (algorithm/recipe) for “how to fry a turkey,” and then you are to write a Python program as an extension of your psuedocode, that will include an input validation process. (Choose…
  • 24 LAB: Even/odd values in a list Here is the code, if numbers are vertical, 1 3 5 – odd, 1 2 4 – not even or odd.¬†But if the if the input numbers are horizontal get this error. ¬† Traceback (most …
  • How do you define “all_words” in this code? I need it for the provided code to work. 9. Create a list named "word_features" that contains the 2000 most frequent words in the overall corpus. …
  • Problem 2 Given a string p2s , assign to problem2 a new string resulting from first capitalizing the first letter and then swapping the case of all the characters in p2s using a single statement throu…
  • Write an address book program that stores your contacts’ names and their email addresses. The names and email addresses are originally stored in a file called phonebook.in, in the format: Harry P..d@h…
  • Hi there. I need desperate help in the body of this function, I am very much stuck on it. Thank you so much! I have provided an example of what ArxivType is: ‘008’: { ID: ‘008’, TITLE: ‘Intro to CS is…
  • Use “R software (R studio)” to answer the question. Use have 5 variables with 480 observations. To access the data use the following R command: icecream <- readRDS(url(“https://ecnp003.netlify.app/…
  • My library > IT 140: Introduction to Scripting v3 home > = ZyBOOks 1’23: LAB: Warm up: Variables, input, and type conversion E zyBookscatalog a Help/FAQ l .‚ÄĒ 1.23 LAB: Warm up: Variables, in…
  • Output range with increment of 5 ¬† Instructor note: Reminder: to print the variable x so that the following print is on the same line (instead of on the next line), write print(x, end=’ ‘). Write a p…
  • Help to find solution. Python programming. A projectile is an object moving only under the force of gravity. In modeling the motion of a projectile we assume no air resistance. In this case, the proje…
  • I am having a hard time with this programming problem and was wondering what the complete code would look like. Design and implement an application that simulates a simple slot machine in which three …
  • Write a program that determines the value of a jar of change. Prompt the user for the number of quarters, dimes, and nickels and then display the monetary value of the change in currency format with t…
  • Letter Counts Using Dictionaries Remember to consider spaces as a special case. Punctuation might be helpful here, too. Count capital letters and lowercase letters as the same letter. A and a are …
  • this is python You will use sequential, selection and repetition programming statements. You will define one integer number: count count will store how many times valid weights and values have been en…
  • Hi, can you explain these please:. Q06b Regular Expressions Create an Impression Create a file in your home directory called be impressed.txt. This file must have only the lines of /course/linuxgym/gu…
  • I need help formulating this python question. Use regular expression named function double_double to: Find all words that have a consecutive repeated letter two times with only one other letter betwee…
  • In a jupyter notebook, implement a recursive function anagrams() that computes anagrams of a given word. An anagram of word A is word B that can be formed by re-arranging the letters of A. For example…
  • psudocode this for me please. ¬† ¬† #function check whether the given character is vowel or not def isVowel(ch): #condition for vowel if(ch.lower() == ‘a’ or ch.lower() == ‘e’ or ch.lower() == ‘i’ or …
  • Exercise 1: What is the purpose of the “def” keyword in Python? a) It is slang that means “the following code is really cool” b) It indicates the start of a function c) It indicates that the following…
  • Develop a class¬†Volume that stores the volume for a stereo that has a value between 0 and 11.¬†Usage of the class is listed below the problem descriptions.¬†Throughout the class you must g…
  • TURN IN #1:¬†Severance Chapter 8 – Exercise 4¬†– ASSIGNMENT Download a copy of the Ô¨Āle from http://www.pythonlearn.com/code3/romeo.txt Type program to open the Ô¨Āle romeo.txt and read it line by li…
  • Thank you…… 6.1 (5 pts) Section 3.2 discusses how to use the range function with a loop so that you can cause a variable to take on a sequence of values‚ÄĒthe sample code illustrates this by print…
  • The sample dataset is shown in the following: I want to write a python code to use random forest to predict y= Price. I have 9 independent variables, three of them “amenities”, “availability” and “Flo…
  • I need help with this assignment. The college IT department manager no longer wants to use spreadsheets to calculate grades. The manager has asked you to create a program that will input the teachers’…
  • Download the file Iris.csv from Canvas. The Iris dataset was used in R.A. Fisher’s classic 1936 paper, The Use of Multiple Measurements in Taxonomic Problems, and can also be found on the UCI Machine …
  • a python program.: Close Account Summary: Bank staff closes a customer’s bank account. Description: 1. Bank Staff selects “close account”. 2. System prompts bank staff to enter an account number. 3. I…
  • Come up with a program that estimates the average number of drawings it takes before the user’s numbers are picked in a lottery that consists of correctly picking six different numbers that are betwee…
  • The Structured Query Language (SQL) has a rich set of commands (SQL DML and DDL commands) that can be used to create tables/indexes and insert/update/delete/read data in the database, yet this languag…
  • Project ideas : Need help in Python programming and Database combine¬† ¬† ¬† File manager : the user should be able to create folders and subfolders and should be able to copy and move files to the ne…
  • All the code should only use Numpy and should not use Pandas. Initialize the Dow Jones Industrials dataset as shown below: values = np.loadtxt(‘http://people.bu.edu/kalathur/datasets/DJI_2018_values.t…
  • In your own words, write 4 requirements that are absolutely necessary for a Python CGI server script to run properly on the Rapsberry Pi (using the Apache 2.x web server) when invoked from a browse…
  • I am developing a web application using django that reviews movies from users. I have created models User, Movies and Review(which has user and movie instances a s foreign keys.). However, when I try …
  • Q7: Filling the missing values in the specified formate¬∂ You will be given a string with digits and ‘\_'(missing value) symbols you have to replace the ‘\_’ symbols as explained Ex 1 : _, _, _, 24 = …
  • Question You need to make a rush hour game in python. GUI is not mandatory, you can make it on simple command line. Your Game should take the input as a text file, decide upon the representation of th…
  • Sir please answer as jaldi jaldi Write a python program to ask the user to enter 3 ‘two digit numbers’ je a, b, c to pass as an argument to another function called Lc.m in main function. Program shoul…
  • Task 6 Implement a recursive algorithm to add all the elements of a non-dummy headed singly linked linear list. Only head of the list will be given as parameter where you may assume every node can con…
  • The following code produces a microscopic image of a bacteria that are overlapping shown below after the code >>>import numpy as np >>>import scipy as sp >>>from scipy.ndima…
  • I’m at my wits ends on this. It is a simple JES (Jython / Python) script which will not save in order for me to open or run it. I have a basic HTML blog that loads fine when I run ‘localhost’ or ‘iiss…
  • import numpy as np def CalculateHeadsTailsExpectedHeads(number_of_trials): ¬†¬†head_count = 0¬† ¬†¬†for trial in range(number_of_trials): ¬†¬†¬†¬†random_draw = np.random.uniform() ¬†¬†¬†¬†if random_dr…
  • Use IRIS dataset (Hint: load the dataset and exclude the target variable.) ¬† Apply the Principle Component Analysis in R or Python on its independent attributes. Display the results (Hint: you may us…
  • Convexity of Generalized Linear Models In this question we will explore and show some nice properties of Generalized Linear Models, specically those related to its use of Exponential Family distrib…
  • From the Book: Shmueli, G., Bruce, P., Gedeck, P. & Patel, N. (2019). Data Mining for Business Analytics: Concepts, Techniques and Applications in Python, 1st Ed. Hoboken, NJ: Wiley. (ISBN-13: 978…
  • Please help me with this python data structure based problem ASAP kindly. Handwritten will be acceptable too.¬† ¬†. Given the array [aC@35, bD$74, hX#21, tz%98, k1&3P]. [Let, A = 65, B = 66, C = 6…
  • Can you help me with getting the print statement for all these problems. ¬† Thank you. def url_categorize(url): U Returns whether a url represents a business, a non-profit, or another type of organiza…
  • Complete the code below to that determines and prints the maximum value in the list below.¬† DO NOT use the MAX function. ¬† nums = [10,5,17,34,76,85] ¬† The maximum value is 85.
  • Print in HTML format: Complete the print_list function to print out the HTML code for an ordered list of items from any given array. Test case input: [“Cell”, “Home”, “Work”] The expected HTML to crea…
  • Case Study III Domain – Telecom focus – Optimization Business challenge/requirement LifeTel Telecom is the latest entrant in the highly competitive Telecom market of Singapore. It issues SIM to the ve…
  • I need help with this python question Implement the binary tree ADT using a linked structure as we developed in class, add the following methods: – def Welf, num): function that takes in mum and count…
  • Run in python¬† ¬† ¬† Write code to find and display the remainder of array multiplication divided by n, where the user has to provide the value of n.
  • +610015 Find the highest pressure reading and relevant details from concatenated DataFrame and display the output as shown in FIGURE Q2(f) SensorID 503 City Gambang PressureReading 975.7 dtype : objec…
  • Assignment 6 (50 points) Draw and name a one-dimensional array that holds 10 temperatures. Number the elements showing the indices that will be used to access them. ¬†(5 points) Draw and name four par…
  • #This is the current program code that I have written to create a team management application in python. I am trying to get the input from the addMember() to create a list to pull from when editing or…
  • . Q3.2 Linear Regression #export class LinearRegressionModel() : # points [2] def linearClassifier (self x train, x test, y train): # TODO: Create a LinearRegression classifier and train it. # args:…
  • 1: Modify this program to include two more attributes for car and truck and print all the attributes of both vehicles. class Vehicle (object) : ""docstring""" def init_(self, …
  • def grocery_shops(A, k): ¬† ¬†“”” ¬† ¬†A an integer array for city centers ¬† ¬†k an integer number of shops ¬† ¬†return an integer ¬† ¬†“”” ¬† ¬†if not A: ¬† ¬† ¬† ¬†return 0 ¬† ¬†n = len(A) # n is t…
  • Flowgorithm¬† ¬† Hot dogs come 10 to a package and buns come 8 to a package.¬† Write a flowgorithm program that calculates the number of packages of hot dogs and buns needed for a cookout with minimum…
  • The purpose ofthis project component is to provide an experience in thewriting of computer programs using Python. Youwill create program code in an Idle editor (or online editors), save it to yourdisk…
  • Can someone explain the code line by line? Like what each lines of code does? ¬† # program that prints data for a school library ¬† def main(): file = open(“standing.txt”, “w”) students = read_file(“s…
  • Guys could you please help me with this one? Add Entries to a Dictionary Add the following entries to your Ringo Starr person dictionary in the file person_dict1.py: ‘instrument’ : ‘drums’ ‘born’ : 19…
  • Write a program that prompts for the scores of 10 quizzes (max 10 points each) and then 10 mini-projects (max 20 points each). You must use a loop when prompting for these. Be sure to check that each …
  • Python Language. < > learn.zybooks.com C ecampus: Home Content 3.11. LAB: Input and formatted output: Right-facing arrow Course Hero zyBooks My libr eCampus: Home act-Oriented Scripting Language…
  • select ‘exception’ or ‘syntax error’. A/An [Select] V occurs when the code of your program is invalid, preventing the program from being able to run. A/An [ Select 1 V occurs when your program encount…
  • Give code ideas to solve this : This function is the starting point of the entire code. It includes all functions above and can call them as many times as the user likes. You should have an infinite l…
  • Question 1) A computer can "catch a virus" when it receives information containing malicious software. Your lab partner uses a VPN to access some pretty shady sites on the internet. This per…
  • Complete the following for the group project 2 python¬† ¬† Question 1 Expand the Quiz program per the specifications 1. Ask the student for their a. name and b. if he /she is in grade 1 or 2 and save …
  • What ¬†is the return value ¬†of trun() in python programming ? -”””””
  • question is attached Question 3. This program is intended to print one "wah" for each syllable in each word in a sentence. You should correct the following code in midterm.py (repeated below…
  • Q2 – Counting things with dictionaries. Build a dictionary called word_count that represents the number of times each word occurred in the list called word_list via a for loop. Note that some of the i…
  • do not use chegg import json import random import datetime import faker from random import randrange fake=faker.Faker() usernames=set() usernames_no=1000 dt = datetime.datetime(2015,1,1,1,0,0,0) ¬† ¬†…
  • Please help me debug, when I execute my code the output is supposed to be in a prettytable like the one showed below, but instead it shows an empty table and the info is listed instead of in the table…
  • Can anyone explain to be what = ” ” means in Python. For example, – example = ” ” -? Why would I put such script at the beginning and the end?
  • The code should use the function grades=input() for grades from 0-100 and if stop is inputted the program calculates the average. This is the code so far but it does not work, What is wrong? grades=0 …
  • python def alg_moving_average ( filename ): ¬† ¬† “””This function implements the moving average stock trading algorithm. ¬† ¬†The CSV stock data should be loaded into your program; use that data to ?…
  • Table of constants and variables (check the assignment question on what to include in this table) 2. Draw flowchart (use draw io online tool) or pseudocode 3. Program source code (with proper comme…
  • Function¬†load_employees¬†that loads the employees table from the path where the file¬†¬†Employees.xls¬†is in your computer and sets the index of the DataFrame to the¬†EmployeeID. The function should …
  • The Images below give instructions on how this is supposed to be programmed without using FOR LOOP and instead while loop etc… The program interface This program works by accepting 2 values. The fir…
  • # Expected knowledge to resolve the assignment: # objected oriented programming in Python # classes # composition # Inheritance # polymorphism # 1. Implement a class named “MyClass” # This class shoul…
  • what I the answer What would be the output of the following program? kk = [9, 7, 5, 9, 8, 1, 1, 8, 7, 6, 9, 6, 4, 7, 7, 8, 6, 2, 6, 1] kk [4] = kk[6] + 3 print ( sum(kk [ : 6]) ) Select one: 0 1 0 2 O…
  • I need answer in r language using above database. ¬† q=1) We want to create 3 new columns, `diagnosis1`, `diagnosis2`, and `diagnosis3`, containing human-readable summaries of the type of diagnosis…
  • Implement a simple car class for Wayne’s ford pinto and a bicycle class for Garth’s BMX bike. Create constructors for each class. Use a file with a main method to instantiate/test each class. Think of…
  • In this problem, you have to read the given recipe from a file and return a dictionary that has ingredients as key and dishes as value. The ingredient should be in the same order as it appears in the …
  • Write the following 3 computer programs. ¬† 1. (40 points.) A department store has employees to perform the sales. At the end of the month an employee is paid a base monthly salary plus an incentive b…
  • python language please. Write a program that takes in three integers as inputs and outputs the largest value. Use a try block to perform all the statements. Use an except block to catch any EOFErrors …
  • Programming question ‚ÄĘ Random character selector Write a function called select characters that asks the user to input a ‘c’ for a consonant or a ‘v’ for a vowel nine times and returns a string with…
  • Hey, I would like to learn how to answer Question 4 without using any “for” statements. I think it can be implemented using the pandas.DataFrame.mul function but would love to see how you would code i…
  • There is much more to creating a program than writing code. In ISYS5002, we followed a six-phase development cycle. Provide a summary of the development cycle used in ISYS5002. Demonstrate the firs…
  • Read the data table from the file and verify that all records have been accurately read into a list of lists <data>. pop off the column headings and slice to obtain a list of locations Traverse …
  • Design an algorithm that does the following: Opens an output file with the external name number_list.dat , uses a loop to write the numbers 1 through 100 to the file, and then closes the file. Use pse…
  • ¬≠ ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†Data Structures ¬† This week’s assignment will focus on using one of the data structures from our readi…
  • ***Help fixing my code according to the requirements*** Requirement: 1) Help writing a function reverseDictionary(dictionary) that given the EtoF dictionary can generate the FtoE dictionary, or the eq…
  • Either start with your modified Raster Starter Code or click to open a new clean copy: https://replit.com/@uteachcs/Raster-Starter-Code¬† Load and modify an image of your choosing. Use¬† Unsplash.com …
  • 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…
  • . Description: Using the graphics package, this program will draw a number of circles using a for-Loop. from graphics import * def main ( ) : x = 100 y = 100 circlel = int(input("num_circles = …
  • Give several examples of your own and explain when we need to use loops and if/else statements. Give several examples and briefly explain when you would choose to use while loop over for loop or vice …
  • Design the dictionary so that it could be useful for something meaningful to you. Create at least three different items in it. Invent the dictionary yourself. Do not copy the design or items from some…
  • . Page 3 of 5 Task 2: Rule‚ÄĒBased Modification 3 p¬Ľ Create a function that accepts 2D List of Integers (Matrix) as a parameter and returns a 2D List (Matrix) in which the are multiplied by 2 and t…
  • . In this discussion activity, we’ll the use of regular expressions to parse an HTML script of a play. Our ultimate aim will be to count the number of lines spoken by each character in the play. Whi…
  • Would you help with this python coding? I am confused on all of it, but especially part c. Thanks ¬†. Use Python to solve each problem. 1. Given g(x) = x6 – 5×5 + 25×3 – 6×2 – 48x + 100: a) Find the (…
  • Computing classification model metrics. Consider the confusion matrix below, which corresponds to a binary classification problem. ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† Predicted 0 ¬† Predicted 1 Actual0 ¬† ¬† ?…
  • use python to solve the questionÔľĆplease show your code and the results ¬†. Problem 3. Find the roots equations using the scipy.optimize.newton function . i) f(x) =23 – 1 ii ) f(x ) = 24 – 723 +9×2 +…
  • Graphical user interface: How is a program written that assumes that the user will graduate (that has a GPA of 2 or more) and determines that the user will graduate with honors? (Summa cum laude requi…
  • The attached file contains data about Titanic passengers, it includes information about passenger name, class, sex, age, ticket, cabin, and survived. ¬†Use the decision tree classifier from Scikit Lea…
  • make a python code¬† Input: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Type of Letter (O, V, O) ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Size of Letter: small, medium, large Example: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Input type ( A – O, ¬†B – V, C -…
  • Project 2 Learning objectives ‚ÄĘGain additional experience computing execution time required to¬† execute an algorithm ‚ÄĘImplement the Newton-Raphson algorithm to compute square roots ‚ÄĘCompare the…
  • Can you explain this for me please… ¬† 1) Add menu items to write to a file and to read from a file 2) create a class wrfile() with two methods to write the results to a file, and to read the result…
  • Write each row operation you make to solve the problem. Write the matrix and the right-hand side after each row operation, for example, the initial matrix and right-hand side can be represented as: A …
  • 5 . When two points in time are compared , each given as hours ( in military time , ranging from 0 to 23 ) and minutes , the following pseudocode determines which comes first . 5 pts If hour 1 < h…
  • my_list = [(‘5064’, ‘1776’), (‘5064’, ‘488’), (‘5064’, ‘190’), (‘5064’, ‘380’), (‘5064’, ‘4690’), (‘5064’, ‘3096’), (‘5064’, ‘10400’), (‘5064’, ‘36592’), (‘5064’, ‘1373737’), (‘5064’, ‘10990’), (‘5064…
  • I have some questions that I want to practice on my own free time, Can anyone help me with this? I need a sample code for my self to do this. I am using Jupyter Notebook Download and get to know the “…
  • how to write a function that takes a tuple of integers and returns the longest contiguous sequence of this tuple in which the numbers occur in ascending order without built in( functions). For example…
  • The Images below give instructions on how this is supposed to be programmed without using FOR LOOP and instead while loop etc… The program interface This program works by accepting 2 values. The fir…
  • program to open a text file for writing, and then write the contents of a list or string to the file. Show an example of use. 2.¬†¬† program to read in a text file and display the results to th…
  • Please use graphics.py not tkinter for GUI. Write a program that creates a GUI window with following objects and their functionalities: . Two buttons, left and right, with colors different from the wi…
  • finish the function from typing import List, Dict def get_quantities(table_to_foods: Dict[str, List[str]]) -> Dict[str, int]: ¬† ¬†“””The table_to_foods dict has table names as keys (e.g., ‘t1’, ‘t…
  • Implement recursive function webdir() that takes as input: a URL (as a string) and non-negative integers depth and indent. Your function should visit every web page reachable from the starting URL web…
  • Write the function nthCircularPrime that takes a non-negative int n and returns the nth circular prime, which is a prime number that does not contain any 0’s and such that all the numbers resulting fr…
  • I need help with fixing this i am not sure what to do ”’ Put your comments here. Explain briefly what this program is attempting to accomplish. Name: <Put your name here> ”’ contPositive = 0 c…
  • I need this algorithm which was done in c ++, now that it is done in python, It deals with the prim algorithm, the program allows you to create nodes, assign the links by selecting the desired nodes a…
  • **** I NEED A PERFECT CODE WITH ALL REQUIREMENTS INCLUDING THE EXTRA CREDIT FOR PYTHON VERSION 3.9.6. **** ¬† 21) (25 points)¬† Lucy’s Lemonade has grown and now wants to do their payroll on the compu…
  • Please solve using Python, and using H20 as the 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 …
  • 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 d…
  • 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 ,…
  • . Q2. Define a function to analyze a document dataset using Pandas (5 points) A DataFrame has been created using the attached csv file. You need to define a function named "analyze_cars" t…
  • HOW I CAN ADD LOGO ON MY GUI WITH SPECIFIC POSITION ON THIS CODE? import tkinter as tk from tkinter import ttk, messagebox import sqlite3 root = tk.Tk() root.title(“Welcome to UIT”) root.config(bg = “…
  • I know thee data is not included so you cannot actually solve the question but can you write a code that would work with a csv file that has carrier, departure delay and arrival delay as the columns E…
  • Using the dataset provided, develop the following visualizations using the right set of variables .¬† a. Histogram b. Bar chart c. Line chart d. Area chart e. Scatter plot ¬† https://us.docworkspace.c…
    • Guided PracticeIndeterminate Loops This exercise will help you understand the syntax needed to repeatedly execute code when the number of times a block of code needs to be repeated is not known u…
  • I’m having issues displaying my SQL statements through my database using python script. it gives the following error: I have attached pictures of my code and of what the teacher is asking of me. Any i…
  • how to create this program using python ? Alphabetic Telephone Number Translator Many companies use telephone numbers like 555-GET-FOOD so the number is easier for their customers to remember. On a st…
  • How do you create a program that estimates the number of distinct words in the text whose pathname is passed as an argument? How do you test it?
  • The exercise is about the following topics: Creating (initializing) objects Calling the methods of the class of an object Initial preparations Create ¬†new project in Pycharm with the name assignment9…
  • def most_expensive_item(price_list: List[list]) -> str: ¬† ¬†“””Return the name of the most expensive item in price_list. If there ¬† ¬†is a tie for the most expensive item, return the name of the …
  • 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…
  • Write a complete and syntactically correct Python program to solve the following problem: ¬† Write program for Professor Coppola at Austin Community College that allows him to keep a record of the stu…
  • My after() widget isn’t working. The frames are inside a canvas and I called the function at the end of the code. How do I get my after() widget to update the variable? It sets the variable fine bu…
  • Please refer to the attachment to answer this question. This question was created from project2.pdf.
  • Write a program to determine which numbers in a set are greater than the average of that set.¬† Your program must first prompt the user for an integer count of how many numbers are in the set.¬† A cou…
  • How do I code this in python? Refer back to your lab 6 B where you were able to accept input representing a 10‚ÄĒdigit phone number and generate an output with – the area code, – preÔ¨Āx, and 0 line n…
  • Cr√©ez le script memory.sh qui calculera l’utilisation de la m√©moire de Firefox (en pourcentage de la m√©moire totale): 1. List the processes with their memory usage (in percentage) 2. Find in thi…
  • Caesar Cipher function. takes two inputs, a string for the message, and an integer for the shift returns a string that’s just the input string with all of its characters shifted by the amount specifie…
  • Hi I need to create a flowchart for a game. I have 8 rooms and 6 items to collect. I have 2 rooms with no items and 6 rooms with one item in each one. Is my flowchart correct? if not what do I need to…
  • Edit the Point Class by creating an additional attribute called clust_id and assign a default value of -1. Edit the point_coords() method so that the output also prints out the value of clust_id. ¬† f…
  • def silly_function( arg:int ) -> int : “”” Returns the incremented value of arg >>> silly_function( 3 ) 4 “”” return arg + 1 actual = silly_function( 3 ) print( “Testing silly_function(3)”…
  • can someone help me writing this python program? Thanks Write a Python program to support a processing of arithmetic expressions in postfix notation. Expressions in postfix notation contain the operan…
  • (Conditionals, and Loops) How to design and implement a¬†program that prompts the user for numbers.¬† the program should continue prompting for values until the user enters -1, at which point it sho…
  • Write a program in Python that prompts the user to enter a number of integer values. The program stores the integers, counts the frequency of each integer and displays the frequency as per Figure 2 be…
  • Consider the following program which should get a floating point price from the user and compute the price with tax. If you run the program in IDLE without the blank line you will get an error. ¬† TAX…
  • I have a programming assignment that’s talking about picking a cable option. I’m having trouble typing up the code, so when I run the code it looks like the sample run my professor supplied.
  • . Ill Exception handling [TOTAL so MARks] o All inputs (input functions) in the code are handled with suitable exceptions, including handlers (not just Try-Except construct) [10 marks] 0 I/O call…
  • Hey, if anyone can help me get a solution to this problem using the blocks (from the drag from here box) would be amazing!! ¬†. Safari File Edit View History Bookmarks Window Help Q 8 Thu Feb 17 6:09 …
  • 1) (6 points) Consider the expression:¬† S = ( ¬¨ A¬† √ö¬†¬¨ B)¬† √ô¬† ( ¬¨ A¬† √ö¬† B) ,¬†where A and B are Boolean variables. Fill in the truth table below to compute S. You will need to create th…
  • Hi, I need help I only have 10 minutes I am not sure what to do I answered all except this please help. Question 1 (4 points) What does the following regular expression mean in plain English? if re.se…
  • while I am doing my assignment I am having issue with this error. ¬†May I get help to fix this issue in command prompt and ¬†Anaconda prompt enviornment?¬† ¬† ¬† http: error: ConnectionError: HTTPCo…
  • need help write ¬†a function to match the output ¬† Write the code for a Python function called: “fillPage” that accepts a two-dimensional python list and a dictionary. Every element of the tw-dimensi…
  • 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…
  • . CHALLENGE ACTIVITY 2.9.2: Math functions. 375510.2350218.qx3zqy7 V Jump to level 1 Compute: z = x + yl 2 1 import math IN 3 x = float(input()) 4 y = float(input()) 6 Your code goes here ! " p…
  • This is the worksheet with it ¬†. Question 3′: Creating truth tables from circuit diagrams [6 marks] On your worksheet complete the truth tables for both Di and D2 shown in the following diagram. Then…
  • please help solve the shortestHole(G,s) function in shortestHole.py shortestHole.py import sys import numpy as np import simplegraphs as sg def shortestHole(G,s): found = False hole_length = -1 # Defa…
  • Use Python ¬† You own a diamond business and you have to replenish your inventory. You have $5,000,000 budgeted towards the purchase of new diamonds. You have a historical list of diamonds that were…
  • any ideas to solve this question? Voltage measurements have been made for an electronic circuit in sequence at various times. However, after collecting the data, it is desired to know the voltage at a…
  • Question 1 | Train a decision tree for a regression problem Make a plot which shows how the coefficient of determination varies as a function of the tree depth. Note that you can for instance set the …
  • Write python code for the following: ¬† ¬† ¬†. Task 4 (30 points) [Testing: Variables and expression, strings, conditional-statements, loops, functions] Function task4() shows the results of several c…
  • Problem 3¬† Let F be a single round of a Feistel cipher operating on 64-bit blocks, so that inputs to it are¬† (ūĚĎéūĚĎéūĚźŅūĚźŅ, ūĚĎéūĚĎéūĚĎÖūĚĎÖ) where ūĚĎéūĚĎéūĚźŅūĚźŅ and ūĚĎéūĚĎéūĚĎÖūĚĎÖ are each…
  • In python write a recursive function recRT () that takes two characters and two integers n and indent as parameters and prints an indented triangle pattern that represents half of an hour glass patter…
  • 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…
  • How do you return a copy of the list containing values between two cutoffs? For example, if we have a list containing values from 1-10, how would you use a defining function to get the list which only…
  • develop a function called bubbleSort that accepts a list as a parameter and sorts that list using the bubble sort algorithm . A bubble sort is the simplest, and least efficient, sorting algorithm that…
  • Help please 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 for CPU-bound programs? Threading Multip…
  • Below, build a flowchart to describe a program to solve problem 9.10 in your text. Use the standard shapes: ovals, parallelograms, rectangles, and diamonds. Problem 9.10: Imagine you are a proud new p…
  • what is the answer? Question 39 (1 point) Which of the following statements is false in the context of searching algorithms? (a) Searching data involves determining whether a value (referred to as the…
  • Dealing with errors or exception handling¬† Explain the use of exception handling block in Python Provide¬†at least one¬†example.
  • I have to design a pseudocode program that displays the following: ID number first name last name field of study gpa and display the words “honor roll” if the student’s grade point average is 3.0 or b…
  • Given a randomly generated list of numbers, Lst[], sort the list in ascending order using the following algorithms and derive the time complexity of each.¬† Selection sort Bubble sort
  • Design Python3 classes for the UML diagram below. You should pay attention to UML relationships (designated by different arrows). If it is an aggregation (diamond arrows) then the numbers next to t…
  • 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…
  • from numpy.fft import fft, ifft from numpy import real, imag #fft –> computes fft of a list or numpy array #ifft -> computes inverse fft of list or numpy array # Create a list lst0 = [1, -1,…
  • An application is implemented with Remote Procedure Call (synchronous communication). That is, the sender needs 4 seconds to compute the data and prepared a message. After the message is ready, the ne…
  • Game Time You have a little free time on your hands and decide to create a simple game. Utilize the design tools that you have learned this week to design and program a very simple game. Examples: Mov…
  • I need help creating the 3 graphs and the chart which shows the crimes by state and the range from the mean?. The smart approach to charting the data is to create function that accepts a crime diction…
  • For the problem of finding similar documents in large datasets, we typically consider applying the “Shingling ‚Üí Min-Hashing ‚Üí Locality-sensitive Hashing” steps to efficiently retrieve near duplica…
  • .. Please see attachment for format design a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the output is: 3 LAB ACTI…
  • can someone help solve this code? program that keeps asking the user for new values to be added to a list until the user enters ‘exit’ (‘exit’ should NOT be added to the list). These values entered by…
  • def alg_moving_average(filename): “””This function implements the moving average stock trading algorithm. The CSV stock data should be loaded into your program; use that data to make decisions using t…
  • I am trying to replicate these 2 lines into one line.. def printbalance(): ¬†¬†print(“Your current balance:”) ¬†¬†print(account_balance) one print line print(“Your current balance:\n” (account_balance…
  • Explain how would you handle revision (version) control?
  • I want to work on image analysis and get the emotion of faces in multiple images.¬† I need to scrape images in websites like Gofundme or Kiskstarter. Could you please let me know how I can write a R c…
  • Please Help Me Answer These Questions Please choose the correct pair of code and color based on the following picture (1) a[(0,1,2,3,4),(1,2,3,4,5)] (2) a[3:,[0,2,5]] (3) mask = array([1,0,1,0,0,1],dt…
  • Hi, I have a homework question that keeps getting an error after a certain point and I don’t know how to fix it. This is the docstring: ¬† “””———————- Task 5 ———————-“”” ¬†…
  • PLEASE HELP ME OUT THIS WITH PYTHON! **I’M REQUIRED TO IMPLEMENT THE FOLLOWING BELOW** (1) memory compaction (shifting of all processes to the extreme right, i.e. higher memory address range, with mem…
  • We first need a deck of cards class. Internally, the deck of cards should use another class, a card class. Your requirements are: The Deck class should have a deal method to deal a single card from th…
  • Define tick(self): Question #5 One of the "features" PicoSoft’s word-searchers have requested is to know how long each word takes to find (and when they were found!) Thus, they’ve begun impl…
  • Assume that you have a data structure of the following: ¬† A list of hockey players.¬† Each hockey player is a list that includes their Rank (int), Name (String), Team (String), Age (int), Goals (int)…
  • https://homepage.lnu.se//staff/jlnmsi/python/2021/large_texts.zip # link to the used texts ¬† https://homepage.lnu.se/staff/jlnmsi/python/2021/mini_project_skeletons.zip link for the skeleton code ¬† …
  • The end result has to be like the example. Eng trans if needed: The Main class is going to be used for a player’s handrail. In the Blackjack class, we are going to use only two players: you: (called “…
  • Using recursion ¬†and the¬†is_divisible¬†function from Section 6.4.¬†Your program may assume that both arguments to¬†is_power¬†are positive integers. Note that the only positive integer that is a powe…
  • Initialize the list short_names with strings ‘Gus’, ‘Bob’, and ‘Zoe’. Sample output for the given program: Gus Bob Zoe 1.short_names = ”’ Your solution goes here ”’ 2. 3.print(short_names[0]) 4.prin…
  • In my_numtriangle. py, write a program that uses nested for-loops to print the following pattern: 4 2 1 7 1 NNNNI W W W W W W 1 4 1 HHH N HN HI Notice the spaces between each number, the spaces lea…
  • I don’t understand how to find the code for this. I would need to use a For Loop. The sample output is below. Part 1 ‚ÄĒ Character Counter [For Each Loops) 0 Requirements 0 Ask the user for a sentence…
  • For the second milestone you will have two more functions to complete.¬† ¬† def create_dir_dict will take your list from call_du_sub and return a dictionary. Every item in your list should create a ke…
  • You are required to design and implement a “Dice Game” program that runs a short game that uses dice. The rules of each dice game are available on moodle – make sure you do the dice game allocated to …
  • Write a Python program which prompts the user to enter a number representing an initial deposit into a bank account. Assuming an annual interest rate of 4%, calculate the number of years required for …
  • Need help with the below: 1: 2:(See dropdown options below this pic) dropdown options: 3: Options in each dropdrop: Question 30 1 pts You need to write a program that will load an array of test scores…
  • Choose the most appropriate R pseudocode for the following scenario: You have a data set in which each row represents one person. One column contains people’s names and another column contains the num…
  • NO SE REALIZAR ESTA PREGUNTA: describe lo que sucede en cada paso de nuestro modelo de red cuando un nodo en una red establece una conexi√≥n TCP con un nodo en otra red.¬† ¬† ¬ŅCUAL ES LA RESPUESTA???
  • I have attached the downloaded file attachment. Please only provide me with the correct code. < >O learn.zybooks.com C zyBooks My library > IT 140: Introduction to Scripting v3 home > 7.8:…
  • Implement a chat server in Python ¬†socket programming. There are two main components, the clients and the server. The server will be started before the clients. The clients should be multithreaded to…
  • A basic D-type flip-flop is addressed by the Prolog predicate dff whose definition is as per the following: dff(D, 0, Q, Q). dff(D, 1, Q, D). The primary contention is the contribution to the flip-flo…
  • Question 1.1 Make an array called funkannbers containing the following numbers an the given order}: 1. The square of the mathematical constant e (not the square root) zf_f 3. The square root of 19 4. …
  • For the following sequence: 10, 7, 4, 1… The sequence is (arithmetic/geometric) because it has a common (difference/ratio) of
  • Q5b Define a static method for the ComputerStorageProduct class. Method name gb_to_tb Method type This is a static method Parameter(s)/ This method takes 1 parameter argument(s), 1. Afloat, gb not inc…
  • We have provided some synthetic (fake, semi-randomly generated) twitter data in a csv file named project_twitter_data.csv which has the text of a tweet, the number of retweets of that tweet, and the n…
  • Please write Python code which outcome is similar to ‘Sample I/O’. Topics: class, object, instantiation, methods, inheritance Problem Statement: Zoo In this assignment, you are going to model and impl…
  • Please answer correct with reason Source data for a PivotTable needs to meet several types of criteria. What is NOT on of these criteria? ¬† Source data should be organized as a list or table. There s…
  • . 01. Data Structures 0 01. Determine which of the given sequence of degree of vertices is graphic. 1 (2, 3, 3) 1 12234 9) Note: A sequence is graphic if…
  • 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…
  • Write a function equation(x, y) that returns the following expression: ¬† ¬† |x|y‚ąí‚ąí‚ąí‚ąö+¬†ŌÄ√ócos(x)√ósin(y)
  • Imperial Units of Distance Measurement Many old books of the last century use miles, furlongs, yards and feet to describe the distance measured in Imperial units. The Imperial have been used in the Un…
  • . a. Provide a top-level decomposition of the problem of drawing a frieze pattern, assuming for the moment that the basic element is repeated just exactly 5 times. At this stage you are not trying t…
  • As student , taxpayer , citizens we are surrounded by information systems , identify two such information used , explain customer interaction .compare features and what I would like to change
  • Can you help me in changing the errors in this python scripting for sending mail. mport os import argparse parser = argparse.ArgumentParser() parser.add_argument( ¬† ¬†“admin”, ¬† ¬†help=”Enter mail a…
  • Assume you have the assignment xs = [12, 10, 32, 3, 66, 17, 42, 99, 20] how would I program a loop that adds all the numbers from the list into a variable called total. You should set the total variab…
  • a Python program to read in the temperatures for ten consecutive days in Celsius and store them into an array. The entire array should then be displayed. Next each temperature in the array should be c…
  • S = input( ‘Enter the string: ‘ ) if len(S) < 50: print (S.isalnum()) print (S.isalpha()) print (S.isdigit()) print (S.islower()) print (S.isupper()) else : print ( ‘String is greater than 50 chara…
  • 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…
  • You are given a storybook, and you start reading from Page 1. A page can be a normal page, or a special page. On a normal page, you have to go to the next page; At a special page, you will be given tw…
  • Create one storyboard (using Microsoft Word) and one flowchart (using Microsoft PowerPoint) for each of the problems above. You will zip the files together Attached are the questions that the above st…
  • I need help understanding the assignment Week 7 Assignment: ¬†Pseudocode and Flowchart Solution¬†¬† Instructions: Explain Provide a PowerPoint that contains a FLOWCHART and a PSEUDOCODE for each probl…
  • Python 3 (please write comments ) Read the Wikipedia articie on Conway’s Game of Life. We will implement this simulation on a torus because it will make the code easier and we won’t need to deal with …
  • A graph needs to be made that represents what is shown in the picture. Using matplotlib to create the most detailed graph.
  • A clinic has implemented an online appointment booking system where patients sign up online for a 30-minute, or 1-hour appointment each day between 5am – 9am. Patients are then seen by a doctor betwee…
  • 1 What we mean by “match” In the following, we say things like “t.j.¬†should not match.” This means that the full string¬†t.j.¬†will not appear in the set of answers returned by¬†finditer. Sub-parts o…
  • Taking the attached code as a basis: Employee.py .¬† Write code that reads from the attached comma-delimited file EmplData.txt to initialize a list of Employee objects. Then, using the initialized obj…
  • 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…
  • What are the benefits and drawbacks of open source software versus proprietary software? How should open source applications be approached when thinking about intellectual property and copyright laws,…
  • I need help writing this program. 4. Since 1930 there have been 21 FIFA World cups in football (named soccer in Canada and USA). and some of the countries won the FIFA World cup multiple times. Create…
  • Craps is a dice-based game played in many casinos. Like blackjack, a player plays against the house. The game starts with the player throwing a pair of standard, six-sided dice. If the player rolls a …
  • It is the same question but our professors has given us some hints on solving the problem, that’s why the question would be so long. 1. [Weight = 3] Assume that there is a certain probability of faili…
  • Hello, this class focusses on the program Anaconda, which is similar to Python programming. I would appreciate it if you could help me answer this problem. Question 1 What may be one program that read…
  • would you please help me do the question 2 and tell me the code. ¬†. Question 2: Nested Loops [11.0 marks] 3. Write a program where you ask user to enter a number between 1 and 9 and then print a patt…
  • The question is formatted in the pictures. Thanks in advance. I am stuck on this problem. Can you please help me using Python. Problem: In the file VIK_sealevel_2000.txt there are measurements of the …
  • Programming Fundamentals COSC 1336 Python¬† Lab #1 SPRING 2021 Professor:¬†¬† Onabajo ¬† ¬† A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes to the m…
  • Task 9 Implement the power function x x" as the _pow_ function, so that one can write x = Interval (-2, 2) # [-2, 2] X * *2 # [0, 4] X* *3 # [-8, 8]
  • How do I use python to merge two tables into one table?
  • Need solution for the following question: ¬† For this example, please work on Fashion MNIST dataset: Learning curves has an important role in developing any machine learning algorithm. To understand t…
  • Write a program that lets the user play the game of Rock, Paper, and Scissors against the computer. The program should work as follows: 1. When the program begins, a random number in the range of 1 th…
  • You can select any data of your choice, there are some data sets to download from SAS website and some in your my stat lab. After reading of chapters 5 & 6 , review of power points and videos on m…
  • Write a python program that takes input as the temperature in Celsius from the user and converts and prints the temperature in Fahrenheit.
  • I don’t understand the layout of how to write a function given multiple parameters
  • 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 (strings, slicing, checking for equa…
  • I am trying to come up with a function to extract a set of hashtags from a Wikipedia page in Python. This is the code I have tried: >>> import re >>> f = open(“C:/Users/jetow/OneDriv…
  • Problems: A. Continuously ask the user to input a string. It only stops when the user enters the Enter key. Then save all those strings into a Ô¨Āle named user strings . tXt . Open and read the saved …
  • a conditional expression that evaluates to string “negative” if user_val is less than 0, and “non-negative” otherwise. Sample output with input: -9 -9 is negative user_val = int(input()) cond_str = ”…
  • http://koclab.cs.ucsb.edu/teaching/cs8/hwexpa/challenge.gif Help with this programming pls.
  • finish up the tic tac toe program to identify all 8 winners and a tie Add a loop to the program so players can play again if they want (ask them!) Change the program so the computer plays o – it shoul…
  • Need help with python scripting . Your script should result in the sample output below Starter Code Template: Ista = [‘a’ , ‘b’ , ‘d’ ] Istb = [5, 12, 10] ### place your code below this Line ### ### p…
  • What’s an example ‘of psuedocode given this Python code? ¬†¬†start ¬†¬†¬†¬†¬†¬†price, qty,total = 0.0 ¬†¬†¬†¬†¬†¬†disc = .10 ¬†¬†¬†¬†¬†¬†display “enter price” input into price ¬†¬†¬†¬†¬†¬†display “ent…
  • Write a program that accepts sequence of lines as input and prints the lines after making all characters in the sentence capitalised
  • A USB memory stick is an example of which of the following components of computer architecture?
  • **I NEED HELP THERES A ERROR IN THE CODE IN THE LAST PART AND ALSO HELP ME WHAT IS¬† “`”cookie”:”id_token= SET ID TOKEN HERE”})“` AND WHAT `ID TOKEN` WILL I GET** I get the code here https://github….
  • Given a zero-terminated sequence of non-zero integers in order from smallest to largest,¬† output the square of each number in order from smallest to largest.¬† Examples :¬† (NOTE, ORDER OF SQUARES li…
  • Problem exercise one: ¬† For this exercise, four files need to be created. Two will be used for subclass, with one to be used as the superclass, and to be used as this project main module. ¬† File one…
  • . If I gave you 50 paper cards with binary 8-bit numbers on them (for example: "00101001") and I asked you to quickly sort those cards into odd and even numbers, then how would you be able…
  • Create a program that reads data from a file and writes data to the file… Use a list to store the data read from the file…The data that you will have is a grocery list. Store data read from file i…
  • . associated with it. Considering 1-4 above, which exemplify aliasing Part VI. Looping with Lists (30 min) In this section we will compare various methods of loop through lists, from a simple for lo…
  • help me figure out this question please Question 6 Create a function squares ( ) which for any given python list x of numeric values returns the list of squares of components of vector x . For example…
  • Hi, Im strunggling with these questions. P.S. Im trying to do it in Python 3.8.1 Thanks in advance Best Regards, Massimo Ulto. [1) Write a function fast_power_mod(b,n,m) which takes inputs b,n,m and r…
  • Write a function that uses a stack to reverse the words of a user input. For instance, if the user were to input “stacks are fun”, the function would return “fun are stacks”. Make sure you call the fu…
  • Can you help me write program that convert sequences of numbers written out as words (e.g., ‘five million three hundred forty five thousand seven hundred three’) into numbers (e.g., 5345703). We have …
  • kindly suggest right option ? 2 3. 4. Given the above python code and its output, what is the precision (rounded to two decimal places) of Class 1? Group of answer choices 0.98 0.95 0.96 0.97 5.) G…
  • Please show work! Consider a function with multiple returns: def strange (n) : print ( ‘start-of-strange’ ) if n < 0: return 0 elif n == 0: return 1 else: S = for k in range (n+1) : s =s+k return s…
  • Write a program that reads in numbers separated by a space in one line and displays distinct numbers (i.e., if a number appears multiple times, it is displayed only once). (Hint: Read all the numbers …
  • So I am working on a program. I need to write function that first will generate a random number from a range of numbers 1-6. Based off the number selected, the program will complete a unique set o…
  • (Python3) How do i define a function polynomial that takes in a degree and a list of coefficients where the function outputs the corresponding polynomial function. For example: >>>fourth = po…
  • Hi, I need to create a function in python called get regex import re def getRegEx () : ¬† ¬† #regex=re.compile(‘(\d+|[^ 0-9])’) # ¬† ¬† # YOUR CODE HERE ¬†¬† # ¬†¬† return regex that returns a tuple o…
  • Need help with this Python assignment –¬† Link to the assignment – https://docs.google.com/document/d/1nPizn86EbXpbczsvwuAGaUTGZakDEAywrcAt3ry8wWI/edit?usp=sharing
  • this is my homework the deadline will be at 11:59 5:03 Not Secure – csci111.artifice.cc Homework 6 Download the file LoanStats securev1 201904.csv from Blackboard. Open this file in your Python code a…
  • Write a function takes a number and returns a color. It will return ‘yellow’ if the number modulus 3 is 0, ‘blue’ if it is 1, and ‘green’ if it is 2.
  • Problem: ¬† Create a flowchart and pseudo code for both problems to do the following:- You are going to modify week 4 assignment (2 problems) to use input() function (no hard coded values) to prompt t…
  • I need help with writing python script. The script will run the test and check the result of the test, if PASS, it will end. If FAIL, the test will run again, if the test PASS or FAIL from second time…
  • A program that computes the sum of of an integer. For example, if integer 35931 is being given, the program should output 21 because 21 is the sum of 3 + 5 + 9 + 3 + 1.
  • Instructions: Read the problem below and write the code in Python. Sample inputs and outputs are provided. Note that the runtime should be not more than 10 seconds for hexadecimal digit numbers that a…
  • from typing import List def insert(lst: List[int], v: int) -> None: ¬†¬†“””Insert v into lst just before the rightmost item greater than v, or at ¬†¬†index 0 if no items are greater than v. ¬†¬†&gt…
  • Can you please write the following code in python? An efficient way to find individual roots of a polynomial is to use Newton’s method. However, as we have seen, Newton’s method requires an initializa…
  • Variables are apparently a teensy bit more complicated than I’d realized. Apparently they store a value of some type. But what does ‘type’ even mean in this context? What’s its significance?
  • Create a program that takes as input a number of kilometers and prints the corresponding number of nautical miles. Use the following approximations: A kilometer represents 1/10,000 of the distance bet…
  • # -*. coding: utf – 8 -*. Created on Thu Sep 12 09:37:09 2019 HW2 code skeleton @author : JRuan import matplotlib . pyplot as plt import numpy as np #Xx load data import pandas as pd measles=pd . read…
  • Need help understanding the article below. ¬†Can you give me examples for sections “customer driven decisions” and “Democratizing data science”? ¬†Here is the link to the article” ¬† https://venturebe…
  • How to mock test this endpoint from flask import Flask, render_template import requests import urllib.request import json #creating an app instance of the flask app = Flask(__name__) #creating a welco…
  • Write a class called Cylinder. The constructor to Cylinder should initialize two attributes: radius, height. Write a method called: getVolume() which should return the volume of the Cylinder. Formula …
  • I need to write a python script to test a small puzzle but I don’t know how. Can someone tell me please? Thank you!
  • . Question 8 Provide one line of Python 3 code, which will provide the following functionality: Provide the program with the ability to use the Thread() function. Make sure to type your answer – do …
  • Python Programming Completed centroid and area notebook in both .py and .pdf. Please make sure all the code cells are run, and the TODO parts are completed. ¬† # -*- coding: utf-8 -*- “””centroid-area…
  • convert newton’s method for approximating square roots in project 1 to a recursive function named newton . ( hint : the estimate of the square root should be passed as a second argument to the functio…
  • This assignment features a person with a less lucrative salary plan: he gets 1 cent on the 1 st day, 2 cents on the 2 nd day, and for every day thereafter he gets the sum of the previous two days.¬†…
  • Can anyone help me start the code for the following assignments. I am very lost. I can attach relevant documents
  • Write a statement that will display your name. Write a statement that will display: As reported in the news media Hurricane Dorian¬†caused¬†numerous destruction in many places, particularly in the Bah…
  • Thanks for the answer ūüėÄ Question 3 Write a program to create a password for a user’s account. The password should include three characters, followed by a if sign, followed by the sum of the length …
  • your¬†time and¬†help is greatly appreciated. please see attached pdf for more details. 1: Your assignment is to write a program that creates a single dimensioned array of integers fills it with random…
  • As of today, November 5, 2020, voters in the USA are anxiously awaiting the results of the 2020 Presidential Elections, as well as some state and local elections.¬†Let us apply what we’ve learned abou…
  • Remaining part for assessment ‚ÄĘ Appropriate data annotations and input validations should be provided in all model classes. You should customize your own error messages and NOT use the default error…
  • How¬†can catching exceptions¬†can with¬†file errors. Create three Python examples that actually generate file errors on your computer and catch the errors with¬†try: except:¬†blocks. Include the code …
  • please sort the output in descending order based on the score value. students with higher scores printed first output: ¬† link for data file: https://drive.google.com/file/d/18U9pGRpKZEVNE10Z5Z2YSmZIM…
  • Assignment 1 – BIOTECH 4813 Bioinformatics A kmer is a stretch of DNA sequence data of length k. Any sequencing read of length n can be broken up into a set of overlapping n-k+1 kmers. Kmer analysis …
  • Use Python programming to find most popular single products and co-purchased products from the large transaction data: retail.csv. Each row in the file is one purchase transaction from a customer, inc…
  • This is the main outline of the question http://prntscr.com/l5zidd Needs to include a function called split_tester http://prntscr.com/l5ziuu I don’t know how to split the digit number N with d so that…
  • first picture is hint and the second is the question. ¬†. 3.3 To compute the mean temperatures of the cells After computing temp_array_trimmed , the next step is to compute the mean temperature in …
  • Hi, I have attempted this question, however I am not getting the correct output. What makes it hard for me is that the question has a skeleton code that needs to be followed. I have been trying with l…
  • As the head of logistics at a Sydney based bus operator, you have been tasked with planning the fleet of buses for the next 4 years. Assume that demand for buses will be D1, D2, D3, and D4, for years …
  • Create a function named mat_operations() that takes in two matrices a input parameters it should: Determines if the matrices are viable for operation and returns your own error message if they are not…
  • Program Requirements:¬† The Boundary value analysis technique checks the program with input values that are on or close to boundary values. The Boundary value analysis is best suited when input values…
  • Review and Reflect on a training algorithm for Decision Trees. Explain the criterion for determining whether the tree is used as a regression or a classification tree. [5 marks] What is the …
  • Learning Scala : Ch 5 pg 81: Functions as¬† first class citizens ¬† 6. Write a function called “conditional” that takes a value x and two functions, p and f, and returns a value of the same type as x….
  • For OTP generation, the user wil be asked to enter two random numbers. The frst number entered should always be smaller than the second number. The OTP is calcuilated as the sum of the maximum and the…
  • I can not figure out why my code won’t execute. #Lab 10-3 Blood Drive #the main function def main(): endProgram == ‘no’ print while endProgram == ‘no’: option = 0 print print ‘Enter 1 to enter in new …
  • i have 2 different questions where I dont have any ideas to solve the blanc code. Can you show me the method and the answers? Question 3 (2 points) The following function takes a list of strings as in…
  • for python¬† write a function named findMax that accepts two integer values as arguments and returns the value that is greater of the two. for example if 7 and 12 are passed as arguments to the functi…
  • # Red-Black Tree, described in Chapter 13 of CLRS # Each node is represented in list internally: # node[key, isblack, node.p, node.l, node.r], so node.r is referred to as node[4]. from pickle impor…
  • Load Data From Files ‚ÄĘ Your mainline should begin by loading the lake data into a list of Lake objects.¬† o Ask the user to enter the name of a file containing lake data.¬† o Read the file one line …
  • COULD I PLEASE GET SOME ASSISTANCE ON THIS CODE TO BE WRITTEN IN PYTHON 3 Steward Servicing The Steward car dealership is a company that deals in specific types of vehicles. They import vehicles direc…
  • I feel I’ve done everything correct. I didn’t put anywhere for it to start a new line. but it is telling me that is the issue. could you see what I have done wrong? < > learn.zybooks.com C + B G…
  • I am wondering how to fix my code: ¬† ¬† ¬† def getBooksByAuthor(self, author): ¬† ¬† ¬† ¬†current = self.head ¬† ¬† ¬† ¬†output = “” ¬† ¬† ¬† ¬†while current != None: ¬† ¬† ¬† ¬† ¬† ¬†if current.getA…
  • Modify the code by showing how to correct any omissions or mistakes, or by giving code to create and use an object: The purpose of an object is to store information next to functions. The name of the …
  • Run in python¬† ¬† Write code to find and display the remainder of array multiplication divided by n, where the user has to provide the value of n.
  • Discrete Mathematics ——————————- Modular Equations ———————— Questions : Solve the following Chinese remainder problem with fast computing technique (Reference to th…
  • HI i want a midterm exam paper for programming 1 subject
  • Please help!! Write generators below (a.-e. worth 3 pts each, f. worth 5 pts) that satisfy the following specifications. You may not use any of the generators in itertools to help your generators.
  • Python Language Question 7 (1 point) Looping and conditional statements: O are the same O repeat start with if O can use booleans O cannot print Question 8 (1 point) Boolean (true/false) values are us…
  • # q3 – create function sumValues() to meet the conditions below # ¬† ¬†– accept two parameters: # ¬† ¬† ¬† a list of arbitrary numbers and an integer value (n) # ¬† ¬†– add a meaningful docstring # ¬†…
  • How do you throw a run-time error in a function?¬† A) use stop() function¬† B) use return(NULL)¬† C) use invisible(NULL)¬† D) use throw() function¬† ¬† 2. (check all that apply) In coding a recursi…
  • When I figure out how to script my Python script without syntax errors, how would I incorporate it into my HTML blog? It’s a script for adding a post.
  • Trying to add user input to each list for Cartesian product. What am I doing wrong? listA = [ 1 , 2 , 3 ] # input lists listB = [ 4 , 5 , 6 ] product = [] # stored list for output def main () : print(…
  • create a GUI based Python program that will allow the user to perform (i) generate RSA keys, (ii) encrypt a given message and (iii) decrypt the message without using any cryptographic library. Your pr…
  • Can you help me make sense of this? CHALLBlBE mm" I 13.4: Read user input numbers and perform a calculation. B Read two numbers from user input. Then, print the sum of those numbers. Hint – Copyf…
  • . The following code is intended to generate the next num numbers in the sequence deÔ¨Āned as follows: beginning with start, each successive number…
  • . Given customer bank saving data customer-savings.txt, please answer the following questions using Python programming. 1. What’s the average balance for male and female? 2. What’s the average balance…
  • Python programming This week’s project is to extend the Employee class and its subclasses to create Company class structure. A company consists of Teams, and each team contain a group of employees. In…
  • Is there any function to change case of all letters in the string?
  • Show a program that prompts the user to enter a year as input to the program then displays a message indicating whether or not the year is a leap year. To determine whether a year is a leap year use t…
  • How to create a function in Python named setOp(list1, list2) that takes as input two lists (named, for example, list1 and list2) and returns a set with all elements of both lists, without repetitions.
  • #In every move (except the FIrst move), the word must use at least one tile from the board #NEED to create code for this for scrabble game if you need any extra information please tell me
  • Given Code ¬† #Write a function called clean_data. clean_data takes one #parameter, a dictionary. The dictionary represents the #observed rainfall in inches on a particular calendar day #at a particul…
  • what Is the answer Consider the following code. Assume alist is a list of n numbers. Select the best answer that represents the run time complexity of function b_fune? import random def a func (alist)…
  • is it possible to please explain to me how i can be walked through this a program to display the population for each of the next five years. Assume the current population is 312032486 and one year has…
  • Write the Python function create_list(x,y) which returns a list containing x 0 up to x y .¬† E.g create_list(2,8) returns the list [1,2,4,8,16,32,64,128,256] ie [2 0 , 2 1 , 2 2 , 2 3 , 2 4 , 2 5 , 2 …
  • luck on this review of concepts we have covered so far.. Question 1 5 pts The sequence of steps that describe each of the computational processes is called an algorithm. Informally, it is like a reci…
  • Define another pytest test class¬† ‘TestInventoryAddStock’ , which tests the behavior of the¬† ‘add_stock’ ¬†method, with the following tests: Define a pytest class fixture ‘setup_class’, which create…
  • You may use any data set that contains ‘dates’ to complete the action items. I am not able to upload dataset here. Please help using python and explain what you’re doing.¬† ## Action Items: ¬† ¬† ¬†¬†…
  • Machine Learning with Python —————————————— Task: K Means Algorithm about The Customer analysis of airline company Data Set: https://drive.google.com/file/d/1hlzPvXfeUYYt4C…
  • Nested loops Fundamentally, computers just deal with numbers. They store letters and other characters by assigning a number for each one. The Unicode Standard provides a unique number for every cha…
  • you should use one of the density of people of different ages as your dependent variable, i.e. the variable you are trying to predict with your decision tree. You should use all the features related t…
  • can u help with this Problem 1 (10 points each) For each of the following functions, do the following: . Calculate T(n), making sure not to discard constants or low-order terms yet (you may or may not…
  • What is not a form of data transformation a)Scaling b)Filtering c)Dimensionality Change d)Null value removal
  • CMPSC 101 class i Need to program this problem using python 3.4.3. this is what i have so far people= int(input(“How many people are sharing?”)) pizza_pie = int(input(“How many pizzas will be ordered?…
  • Python program that performs operations on team members data ”’ def add(team): ¬†¬†”’ ¬†¬†¬†¬†¬†¬†Function that adds new member ¬†¬†”’ ¬†¬†try: ¬†¬†¬†¬†¬†¬†#Reading player details ¬†¬†¬†¬†¬†¬†nam…
  • Write a function digit_index_factory which takes in two inputs, num and k, and returns a function. The returned function takes no arguments, and outputs the offset between k and the rightmost digit of…
  • def minmax (s) : “””Return the minimum and maximum elements of a non-empty list. Hint: start with defining two variables at the beginning. Do not use the built in max or min functions >>> min…
  • Subject: Arrays —a) Describe the benefits of using bubble sort, quick sort, merge sort or insertion sort.¬† —b) What are the key steps that must be taken to ensure an efficient sorting of obj…
  • You have a spherical storage tank containing oil. The tank has a diameter of 6 ft. You are asked to calculate the height h to which a dipstick 8ft long would be wet with oil when immersed in the tank …
  • any ideas to solve this tasks? Tasks: 1. Write a program that read integers from file based on each column (see Figure 1 for text data example) data – Notepad File Edit Format Vie 11 45 23 22 53 34 33…
  • The link is given for the download ¬† ¬† https://homepage.lnu.se//staff/jlnmsi/python/2021/large_texts.zip. . Exercise 5 (G) You can here download two files each containing 10000 integer values. The m…
  • It is not very realistic to model 0% rates of return on stock prices. It is generally the investor’s belief that stock prices will increase over time, although at what rate is unclear. For now, let’s …
  • JUPYTER NOTEBOOK Last block of code gives ValueError: Length of values (1142) does not match length of index (300) How can I make length of index be 1142 as well? If I change the line to valid[‘Predic…
  • 28 LAB: Multiples of ten in a list ¬† Write a program that reads a list of integers, and outputs whether the list contains all multiples of 10, no multiples of 10, or mixed values. Define a function…
  • Radha Mookerjee Spring 2019 MIS 6382 JSOM, UTD Due by 11:00 pm 02/17/2019 A = P(1+ rn) where A is the total amount accrued P is the original amount invested r is the annual interest rate n is the num…
  • 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…
  • [Image Processing] Your task is to enhance the supplied images using techniques of color correction . The images might not need the same kind of processing. As a result, you should write your processi…
  • What would be the best way to write the code using Python? Variables Assignment: Instructions: Write a computer program that stores and tracks information about US voters. There are four pieces of inf…
  • The following code produces a microscopic image of a bacteria that are overlapping shown below after the code >>>import numpy as np >>>import scipy as sp >>>from scipy.ndima…
  • list a function min that has 2 str parameters and returns the smallest. (Smallest in the sense of coming first alphabetically, not in the sense of “shortest”.) So far this is my code but it is not bei…
  • PYTHON PROGRAM ¬†. (35%) Consider the inclined plane figure below, ignoring the mass of the ropes and pulley: The following parameters are known: m1 = 10kg, m2 = 4kg, m3 = 5kg, m4 = 6kg, 112 = 0.3, [1…
  • https://www.universityofcalifornia.edu/infocenter/admissions-source-school ¬† Below, create two DataFrames: ucsd_state, which has all of the columns in ucsd_admit plus a new column, ‘instate’, which c…
  • DONT use loops or list comprehensions.¬† Instead, use lambda functions, map, and/or filter. ¬† Question 3: part1 ¬† Given a list of various car speeds, return a list with the speeds capped based on th…
  • 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…
  • I am trying to build an easy forecasting model with Python and would like some advice on how I can approach it. Let us say we are given one-dimensional data and would like to forecast each of the obse…
  • Task 1. ¬† Write a program that takes as input a number of kilometers and prints the corresponding number of nautical miles. Use the following approximations: A kilometer represents 1/10,000 of the…
  • Complete the truth table below: P Q P OR Q P AND Q NOT P NOT (NOT P) TRUE TRUE TRUE FALSE FALSE TRUE FALSE FALSE 12. Write a PYTHON PROGRAM that ask the user to enter a number.
  • 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…
  • In Python: ¬† A car’s miles-per-gallon (MPG) can be calculated with the following formula: MPG=Miles driven√∑Gallons of gas used¬† Write a program that asks the user for the number of miles driven and…
  • What is the value of the following Python expression: 4 + 2 * 5 // 3 + 2 a.9 b.6.66666666666 c.9.33333333333 d.12 e.6
  • Hello, I need assistance developing this program in python based on the diagram shown below. Thank you. ¬† The diagram below shows steps that simulate computer-aided troubleshooting of a hypothetical …
  • how can I calculate the post tax amount in python?
  • Hi, python turtle question, pls see if can help .Thank you Question 3: Acceleration View PastAnswers I The turtle faces right initially. The Ô¨Ārst line segment is 1t] units No past answers. long. fol…
  • There are 3 different things you’ll need to fix here. Concentrate on fixing data flow in and out of the function *first.* Then worry about getting the output and file to be correct. Make a box of othe…
  • question ¬†. 1)Write a program that asks the user repeatedly to enter a student’s score when finished entering all the scores, the program should display the number of scores entered, the sum of the s…
  • What would the program line in Python look like for the below question? It is based on the Python program below it. ¬† There is one more addition to the game.¬† On the “Game Over” button, the program …
  • In a bank they have customers who can make deposits and withdrawals. The bank also requires at the end of the day to calculate the amount of money that has been deposited Two classes must be creat…
  • Your task will be to design, write, and implement a Python program that will process the information of students who are on payment plans to determine the expected total tuition and fees that will be …
  • this code for Memory Puzzle game , the code is correctly but i need to rewrite the way it is written in another way, do what you want but change the way: # Memory Puzzle import random, pygame, sys fro…
  • Starter code: The following starter code script is provided for you, where you will need to fill in the blanks with your answers to the questions above. Changing any variable names given in the starte…
  • 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…
  • Hi, I would like to know how can I defined system_log? ¬† ¬† ¬† ¬† ¬† ¬† ¬†. 6. Structure text Using the system_log string, create a list with each line being an element of the list. Ensure that lines…
  • I need help writing some codes #1 I need to write a code to add the index of all the letter “a” in letters = [x,y,z,a,b,a,b,a] to a new list1 #2 Define a list that returns the longest string in the fo…
  • I need help with the following question. Thank you. ¬†. What is NOT the correct code for creating a histogram in Python for grade frequency given a data frame called: studentGrades. Within the …
  • For the python method .corrcoef(), what do the return outputs mean?
  • Having some trouble writing this code. Question 2: The file USPres. txt contains the names of the first 44 U.S. presidents in the order they served. Write a program (try to write without using a list)…
  • Which statement would NOT be useful to determine if the following substring is a part of the larger string: ¬† x = ‘thank goodness it is friday’ y = ‘goodness’ Which statement would NOT be useful to…
  • You may find it useful to read through the whole question before starting to answer it. In the original flashcard problem, a user can ask the program to show an entry picked randomly from a glossary. …
  • The table look up technique: Group of answer choices Searches sequentially through the table to find the correct value. Uses the element number to find the correct value. Uses the value in one array t…
  • python program for comparing the name from api call with xml web page to check if that name exist in xml file or not. For example From Api call it is pulling the name (test.abc.com) it has to be check…
  • outline of the program is: Declare an array L to store . Compute and store it in the variables L[k] , .¬†¬†In problem 1, do not use a loop to compute . Use the variable P(x) to store . Output. 1. Writ…
  • Domain-Social Science Focus-Creating Web Map Business challenge/requirement You are a data analyst in San Francisco(SFO) City IT Department. SFO Police has shared crime data for the year 2016. Data co…
  • Problem Summary: Write the required functions and script that prompts the user to enter the name of a file representing the preferences of a sequence of voters; reads the file (storing its information…
  • I need assistance in completing this in Python. Many documents use a specific format for a person’s name. Write a code program whose input is: firstName middleName lastName and whose output is: lastNa…
  • . Problem 1(100 points) Adding Leaky ReLU activation and regularization to Assignment 2 – problem 1: Using single layer Perceptron neural network which is connected to "Leaky ReLU" activat…
  • How do I code in python the following? Use os.mkdir to make a new folder on the C: drive named tempPython
  • When trying to run the following code, I get a “invalid syntax” syntax error on the bolded line below & can’t figure out why… ¬† class Automobile: ¬† ¬†def __init__(self): ¬† ¬† ¬† ¬†self._make …
    • Complete the following script so that it will open the text.txt file to read and print each line. In the end the file will be closed.¬† fn = ___________ (r”D:\data\test.txt”_____________, ¬†) for__…
  • How to write program that takes in a numeric grades of student in class.y As students in class vary semester to semester, you will keep track of students grades you input. Use loop and do: 1. Read in …
  • 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, …
  • Consider the ‘traverse the maze problem’ that we discussed in the first lecture. Suppose: ‚ÄĘ The maze is a n √Ö~ n rectangle stored in a two-dimensional array M[0..n ‚ąí 1][0..n ‚ąí 1], rows and colu…
  • .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 particular pe…
  • Create a function called avgSumOfSquares that expects no arguments. Instead, this function gets its input from the user at the keyboard. The function asks the user to enter a series of numbers, one at…
  • Here is Hashtable.py :¬† class HashTable: ¬† ¬†def __init__(self): ¬† ¬† ¬† ¬†”’ ¬† ¬† ¬† ¬†Constructor sets the default number of slots to 11. ¬† ¬† ¬† ¬†”’ ¬† ¬† ¬† ¬†self.size = 11 ¬† ¬† ¬† ¬†sel…
    • explain final variables. a) final instance variables. b) final static variables. c) final local variables. *Explain each and everything clearly with example programes. *Explain what happens at the …
  • Q2 Using the data source in Q1 fit the Ridge and Lasso¬†Regression¬†Models.¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • I have already created the graphics window and the two “RESET” and “QUIT” rectangles. However, I am having difficulties creating the 5×5 grid of rectangles, and then programming the rest of the code. …
  • Need answers for the following questions:¬† ¬† 1-Change the number of neurons in hidden layers to 75. See the accuracy and compared it to the baseline. ¬† 2-Change the number of epochs to 35 and see i…
  • Open a Ô¨Āle called readmejxt in the child process, read the contents and pass to the parent process. Parent process will write to readmeixt, “Parent is writing:” and write the contents it rece…
  • Can you provide answers to this section. 2.1) Data Ingestion: Read the dataset. Do the descriptive statistics and do null value condition check, write an inference on it. Perform Univariate and Bivari…
  • I would like to know if you could help me, the truth is I am a bit stuck here. I have a program. you should do the following: This python program that calculates the cost of a given concert. The user …
  • function copyQueueIntoStack, which copies the queue elements in a stack such that the queue head will be the top of the stack and the last element in the queue will be the last element in the stack. T…
  • How can we code this using while loops, for loops, and lists? No dictionaries can be used. ¬† In an alternate reality, chemistry Professors Hodge and Sibia have teamed up to design a chemical compound…
  • I’m having trouble finding my coding error. ¬†The assignment is: ¬† Create a Python program that: Displays a GUI window. In the window create: A textbox to collect a employee’s first name A textbox to…
  • How to change tuple of 8 lists, each list of size 10 to list of 8 element each of size 10 element ex Programmin X Workbench x Proctortrack X v Workbench x Google Tran: X Course Hero X G raise to pow x…
  • make a scatter plot of all stocks in this dataset and fit a single ‘ols’ regression plot to it. utilize colors and/or sysmbols to represent diffrent stocks. ¬† !pip install plotly==5.2.1 Import numpy …
  • Guessing Game Challenge ¬† Write a program that picks a random integer from 1 to 50, and has players guess the number. The rules are: If a player’s guess is less than 1 or greater than 50, say “OUT OF…
  • How can I connect HTML to mySQL using python? Then how can I test it?
  • Hi, any help would be greatly appreciated. I am lost and have been trying for over 6 hours to get help, I just can’t figure this out. Below is the code that I have so far: ¬† ¬† ¬† ¬† ¬† velocities = …
  • can you help me with this question and give me detail solutions? do not use set modules .. . < > G online.cs.uwaterloo.ca C A Course is a Course, of Course of Course | Assignment 9 | CS 116 Cour…
  • Hello, I need help solving this Lab simulation, It uses Compute change for variables and expressions statements and I am very new at python on so I need help solving it. It is very difficult. It is ve…
  • For the following function that accepts as input a list¬†lst, identify the tightest simple bound of the worst-case computational complexity in terms of the size of the input¬†n = len(lst)¬†and justify…
    • The Python sorted() function and in-place .sort() method leverages the Timsort algorithm, which, among other things, combines merge and insertion sort. In particular, if the list of elements to sor…
  • please try and show an example similar to this question and solve it step by step: Write a program called series.py to compute the following sum: _ _ X3 x5_x7 X11 xn The values of x and n are provided…
  • How do I input a string using sys.argv so that it displays the datatype as string?
  • You will implement the Force-Directed Graph Layout algorithm from Fruchterman and Reingold, developed in the 1990s (at the University of Illinois at Urbana Champaign :). The original paper can be foun…
  • I am trying to make a Risk Management tool in Python. The Project Manger needs to be able to log on and enter information ( the required information is located in the code). I then need to capture tha…
  • Module 2 Required Coding Activity Introduction to Python Unit 1 This Activity is intended to be completed in the jupyter notebook, Required_Code_MOD2_IntroPy.ipynb and then pasted into the assessment…
  • Which has a higher average max. roll: one 8-sided die + one 6-sided die or three 6-sided die. Simulate 1000000 rolls for each option and compute the average max roll for these two scenarios over the a…
  • py :¬† import random import time #—————————————# ¬† ¬† ¬† # Implement Recursive selection sort here. # n: size of array – index is index of starting element def rec…
  • Write simple guessing game using the following specs: 1. Generate a random number between 1 and 1000. (LO 1, 2, 3) 2. Ask the player to guess the number. You will keep track of the number of guesses. …
  • The Program 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 up through n . Write a prog…
  • What are the advantages of learning OOPs for a Bachelor of Networking student?
  • # 5 pts – Setter for block hash def set_block_hash(self,hash): pass
  • Use the following lines of code to install libraries in colaboratory¬† !pip install geopandas¬† !apt install libspatialindex-dev¬† !pip install rtree¬† !pip install rasterio¬† In the next code cell…
  • Question 2: Movies In this problem, we are building a recommendation engine for an online subscription platform (like Netflix). We have test data as a list of 10 customers, such that each of them has …
  • python language ¬† Please create a python¬†module named¬†homework.py¬†and implement the¬†classes and methods¬†outlined below.¬†Below you will find an explanation for each class and method¬†you need to…
  • There should be three different python files which use the def’s inside of the function section. Python Trudy 2017 In this example we are going to become programmers for the launch of a new phone comp…
  • The data file used in this question is downloaded from https://www.kaggle.com/arjunprasadsarkhel/2021-olympics-in-tokyo and converted to a csv file. a) ¬†The Medals.csv (https://drive.google.com/fi…
  • Python import os ¬† ¬† os.environ[‘MPLCONFIGDIR’] = “matplot-temp” import numpy as np from sklearn.neighbors import KNeighborsClassifier from sklearn.model_selection import train_test_split from sklea…
  • FUNCTION I NEED HELP IMPLEMENTING (DOCSTRING EXPLAINS REQUIREMENTS): ¬† from typing import Iterator, Iterable, Tuple, Text, Union import numpy as np from scipy.sparse import spmatrix NDArray = Union[n…
  • . Write a function update_mu that computes the " matrix, and takes the following arguments as input: 1. X : A numpy array of the shape (N, d) where N is the number of pixels in the image (i.e.,…
  • My code has indentation problem, can someone help with that? Below is the error: /hw10.py: line 6: syntax error near unexpected token `(‘ ./hw10.py: line 6: `def list_average(number_list):’ #! /usr/bi…
  • Unity 1.A Unity project consists of on-disk assets that can be used by the Editor to construct things. true or false 2. It’s best practice that new GameObjects should be placed at origin, the Gear &gt…
  • (20 points, implementation) We know that symmetric positive definite (SPD) matrix A can be factorized into A =L’ L, that is, The following function can be used to obtain the Cholesky decomposition …
  • Hello, I am making a interactive story for my IT class and I need to make 20 decisions I have this so far but I don’t know how to make modules. def introduction(): ¬†¬†userName= input(“Please enter yo…
  • design a function run_sim(iterations, board_rates, exit_rates) ¬†– Executes the simulation, calculating and outputting the stop by stop volumes of passengers boarding, departing, and riding the bus li…
  • Python expression You have a group of cities on a map where each city has a coordinate represented by a list of lists that has (x,y) coordinates, e.g.: coordinates: [[2,31, [5,7], [3,8], [1,4]] Write …
  • Activity 1 Level of difficulty Medium Objectives improving the student’s skills in operating with files (reading) using data collections for counting numerous data. Scenario A text file contains some …
  • Can someone help me with these practice python questions? Make sure that each problem is contained in its own function (problem1(), problem2(), etc). You can use additional functions if required.¬† yo…
  • contents of subject.txt Code |CSE4IP&CSE1PE Title| Introduction to Programming FieldCount |3 F| 30 |30| 40 StudentCount |26 S| 18447565 |VANDERGRAFF | T | 74.0 | 42.5 | 57.0 | S |18907347| MARS |V…
  • Consider two dataframes¬†df1¬†and¬†df2(This dataframe will have only one row of data) where the data is of two dimensional points. Find the euclidean distance of the point in¬†df2¬†with all points in?…
  • Write a Python module that calculates the 95% confidence interval for population proportion
  • Note : Assert statements are not required for this question. You may use loops for this question. ¬† A lot of games nowadays have a competitive system in which players can play to increase their skill…
  • The third part of the program should print the customer bill to a .txt file. This includes three functions. A Heading including restaurant name, address, phone number, hours of operation, cashier, and…
  • question: Refactor the run turn method on the City class. Separate the code into smaller, simpler methods for better understanding and ease of testing. You can use the three methods provided (move inf…
  • Implement recursive function¬†webdir()¬†that takes as input: a URL (as a string) and¬†non-negative integers¬†depth¬†and¬†indent. Your function should visit every web¬†page reachable from the starting …
  • What commands are used in Python when building a collage?
  • Without using imports, can anyone explain how to preform encryption and decryptions with certain conditions in python? Prompt: Decryption: Write a function scramble ( ) that takes three arguments, in …
  • Letty is hired as a Sales Executive and her role is to sell items which are given to her in a bag. The bag contains n items where each item has an associated ID. Letty is inherently lazy and plans to …
  • 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. F…
  • 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 seconds sinc…
  • I have coded the following to give me a multi-plot scatter plot, however it is only giving me one of the plots within the output. I am not sure what needs to be modified or changed to give me two scat…
  • could i get answers and explanations for these questions please urgent needs to be in tomorrow. 1. Using Cramer’s rule obtain the solutions to the following set of equations: 2×1 + X2-X3= 0 X1 + X3 = …
  • Google Colab- Python Programming-Please help ¬† Retrieve a presidential speech from the Miller Center(link provided below).¬† ¬† The speech must be different from John Adams December 19, 1799: Death o…
  • how to find the height of binary search tree? Please help me in code for height of BST. Below is python template. class MyBST(): def __init__(self, data): # Initialize this node, and store data in it …
  • Car Class Design a class named Car that has the following fields: yearModel: The yearModel field is an Integer that holds the car’s year model. make: The make field references a String that holds the …
  • PLLLEAASEEE NNOTTEE THHISSS ISSS PPYTHHONN NOTT C++. Write a program that generates a random number and asks the user to guess what the number is. If the user’s guess is higher than the random numbe…
  • When I attempt it, there is a syntax error, and it won’t properly print. ¬†. Lab 6A Task #1 Using the given values for a and b create a plot of the overall graph from 0-10 for the x values. Next creat…
  • Analyze the problem presented below and compose the Decomposition. Additionally provide a brief explanation of what each function is doing and its data requirements. Finally include the programming st…
  • I am working through my zybooks activities and I need help understanding what I’m supposed to do here. Program that lets a user enter N and that outputs N! (N factorial, meaning N*(N-1)*(N-2)*…*2*1)…
  • Hello I’m really confused on the spacing for this python problem. The result should be how it is in the picture: def main(): ¬†¬†courses = [‘CS 152 Introduction to Python Programming 21’, ¬†¬†¬†¬†¬†¬†…
  • Write a program using list to read a sequence of values and prints them, and highlighting the largest number.¬†These are the required functions¬†a. def readValues() – to read in a series of floats b…
  • Small ($5.00) 1 topping: $0.75 2 toppings: $0.70 3 toppings or more: $0.65 Medium ($6.00) 1 topping: $1 2 toppings: $0.90 3 toppings or more: $0.80 Medium ($7.00) 1 topping: $1.25 2 toppings: $1.15 3 …
  • Use python. A module is simply a file that contains Python code. When you break a program into modules, each module should contain functions that perform related tasks. For example, suppose you are wr…
  • . Introduction: You are programming the pathing for a turtle Al in a video game: the turtle is trying to avoid danger and make it to the water. Specifically, the turtle is placed within a grid of sq…
  • Learning Objectives Create a function in a modular structure Use Lists of tuples to calculate weights Loop over the input string and the list of words Print analysis of the given input Instructions A …
  • Can someone help me make numbers that resemble handwriting in python turtle? please don’t use turtle.write in python3, and IN TURTLE All numbers from 0 to 9
  • It says there are 5 or 6 errors in this python code. can someone fix this code for me. # Vehicle Class, source code module: vehicle.py import re import sys import datetime class Vehicle: ¬†¬†def __ini…
  • Code the function greedy_predictor¬†, equation(i, data, y) and least_squares_predictor(data, y) with explanation and computational complexity. Do not use numpy/matplotlib/pandas & do not import li…
  • Python Question:¬† A variable used to specify change in state of another variable is called a _____? ¬† I’ve tried dependent, independent, local, intervening, and it keeps saying incorrect.
  • If you were asked to impute null values in a column of a file that was 365 Gigabytes, what would you do?¬† What tools would you use?¬† What tools would you NOT use?¬† What would you do if you were ask…
  • How do I get the out put to read: Your large pistachio ice cream cone will arrive shortly? So far, it reads like this and I want it to read like the sentence above?: print ( ‘Your coneSizes:’ ,custome…
  • Lesson 7b Notebook Quiz This quiz is designed to prompt you to engage with the use of the pandas data framing library in Python, particularly apply, filtering, and reduction. ¬† Overall course grade A…
  • Input : [1,2,3,,4,………….., 20], Target sum of integers = 23 Output: [[3,20], [4,19], [5,18],…..[1,2,20],……… [1,2,3,17],……..[1,2,3,4,13],……] [e.g., all possible combinations of t…
  • This assignment is based on Exercise 7.1 from your textbook.¬† Part 1 Encapsulate the following Python code from Section 7.5 in a function named¬†my_sqrt¬†that takes a as a parameter, chooses a starti…
  • Why is my Break statement and loop to the beginning not functioning? def addition(var1,var2): ¬†return var1+var2 def subtraction(var1,var2): ¬†return var1-var2 def division(var1,var2): ¬†return var1/v…
  • The function¬† latLngDistanceMeter , present in vincenty.py, accepts two tuples as paramters where each tuple contains the coordinates (latitude,longitude) of a point on the Earth and performs the vin…
  • Hi I need help with my computer science project in which we create family trees. The coding language is python , python 3 to be specific, and we cannot use methods such as break, continue, pass, lambd…
  • The function¬† latLngDistanceMeter , present in vincenty.py, accepts two tuples as paramters where each tuple contains the coordinates (latitude,longitude) of a point on the Earth and performs the vin…
  • Project help: Please edit the original codes so I can earn stock profits on the simulator based on the handout provided below:¬† ¬† ¬†. import requests import numpy as np s = requests . Session() #s ….
  • . For this assignment, we will write two versions of the same class. To summarize, this program will: Have three separate files: modClassV1.py, modClassV2.py, testClass.py Create a class type of you…
  • A python program with a class called Room with instance variables for roomNo and floorLocation. A constructor to initialize the value of roomNo and floorLocation. A method called displayRoomDetails() …
  • Prompt the user for unique integers that are greater than 0. ¬†Ensure that the user only supplies 5 positive number, and reject any duplicates or invalid data. Output the largest 3 integers in ascendi…
  • No Inbox – boyu18 x BU Registration – X Course Home X C Why Does A $ X Take a Test – E x [Solved] ‘Real X G tax multiplier f X 171 CS 111: Final P X Homework He X + C cs.bu.edu/courses/cs111/problem_s…
  • This is the scenario: ¬† The United States Census Bureau determined that the mean number of children in an American household is 1.86. Suppose 50 households are polled and the sample mean is found to …
  • this code for Currency Converter i need to add image for wallpaper please and make it in good design : from tkinter import * import tkinter as tk OptionList1 = [“IND”, “USD”, “EUR”] OptionList2 = [“EU…
  • csv ¬†. In the attached file problem_2 AR. csv, you are given 1,000 consecutive samples generated using the following Python code: Z 5.0 – import numpy as np 2.5 – p = len(weights) z = np…
  • Program 2: Drawing rectangles (25 marks) a) Write a program to draw a Sierpinski carpet on an image containing two background rectangles according to the following criteria: Ôā∑ Your program “L9Q2init…
  • Can someone help me with part2?. Question 7 In the following question, we will take a closer look at the Roof Material feature of the dataset and examine how we can incorporate categorical features in…
  • def kth_smallest(lst: List, k: int) -> Any: ¬† ¬†“””Return the <k>-th smallest element in <lst>. ¬† ¬†Raise IndexError if k < 0 or k >= len(lst). ¬† ¬†Note: for convenience, k cou…
  • This isn’t the answer and I just wasted an unlock. COP IDDDC Lab Assignment 3 20 Points For the following program: 1] Create an algorithm called exemptAlgorithm.txt 2] Create the source code called ex…
  • (You will need to submit a full set of pseudocode for the above scenario) Python 2.(The program should be well commented, have self documenting identifiers, and easy for someone reading the code to…
  • Load the hmeq_small.csv data set as a data frame. Standardize the data set as a new data frame. Normalize the data set as a new data frame. Print the means and standard deviations of both the standard…
  • Can you help me to do homework? Please help me. Homework 3 in Python 3.8 IDLE Your program will manage a set of customers and a set of books. Customers will rate individual books and the program will …
  • ((Write-) a Python program for the following problem. Please use PyCharm to type and test your programs.¬† A sorted bag is a bag in which all elements are sorted in ascending order. The array-based im…
  • Make ¬†a¬† Python Code ¬†to¬† Calculate the Maximum Likelihood Estimation , it is better if there are graphical results (plt.show ()). data that is used freely (can CSV from the internet) or create da…
  • Use 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 ,¬† ins…
  • Need help for this question 2. COnsider the following set of data, which is the heights (in inches) of players on a baseball team: 80, 78, 72, 79, 75, 72, 72. For help with this question, see the Pyth…
  • I have two given.py file and .txt file (this is the given text file information ) B001,book,Patriot Games,15.95 B002,book,Origin,19.95 C001,cloth,Armani Suit,800.00 B003,book,Animal Farm,9.97 B004,boo…
  • Code the function greedy_predicator without using numpy/pandas Please include explanation of the code & the computational complexity To see the description of the function: Scroll down the informa…
  • Can someone please write a Python code for the following task. Thank you.. Task 4 Now that we have the functionality to find an ORF in a DNA sequence and predict the peptide that would be trans…
  • Could you please help (3) Write a function createFile() that will accept file name as an argument, generate a DNA sequence of Length L and store it in to a file. I The file should contain N DNA sequen…
  • I can’t figure out what is wrong with code in 2.3, I’ve only gotten 50% correct To do this, we’ll use resampling. That is, we won’t exactly simulate the observations the RAF would have really seen. Ra…
  • csv link: https://drive.google.com/file/d/1mz3haAWDMhxU3_TQ9Q31JP1c6_HU5aG0/view?usp=sharing. In the attached file problem_2 AR. csv, you are given 1,000 consecutive samples generated usi…
  • I dont know how to draw the birds, or the grass, or the fence or the house. I am including the draw2D library this time. ¬† MY CODE: # Import the functions from the Draw 2-D library # so that they can…
  • Assume that you have 5 lists with each containing 10 elements:‚Äč Name = [“ABC”, “XYZ”,……..] ‚Äč Sub1 = [87, 98, …..]‚Äč Sub2 = [67, 89, ….]‚Äč Sub3 = [23, 45,…]‚Äč Sub4 = [34, 67,…]‚Äč Su…
  • This is a julia program problem not Python. I can’t understand what I to do. Is there any one who can help me?
  • Using the environmental data for each of the provinces in Canada, and weighting each piece of data by the number of cities in the province, calculate the mean temperature and mean precipitation for al…
  • This is my work for the assignment. My professor said this after I submitted it, getting 80/100 first try. I get one more attempt: ¬† “You were so close. You did not accomplish requirement 3, create t…
  • from typing import List # TODO implement fibonacci numbers # parameters: num -> int, numbers of fibonacci’s to generate # returns: sequence -> list, generated fibonacci sequence ¬† def fibonacci…
  • Please convert the following matlab code to python code. (Make sure the graphics are the same.) ¬† %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%% Main File %%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%…
  • please help me!!! 2. [Weight = 2] We have seen from the class that PROCO(a, b) returns the "sum" of a and b by a table lookup and PROCI (a, b, c) is constructed based on PROCO(a, b). Functio…
  • String Manipulation. Let’s start with two expressions In¬†[¬†]: s1 = ‘-‘ s2 = ‘+’ Write string expressions involving s1 and s2 and operators + and * that prints out: -+ -+- +–+– +–+–+–+–+–+–+-…
  • Please help with these python programming!!! 1. In a program, variable age is an integer and school is a string. With these two variables assigned to proper values, how to use the format method in Pyt…
  • . Consider the following multilayer neural network with the transfer function for each layer: Input Sat. Linear Layer Linear Layer 2 a = satlin(w’p+# ) a = purelin(w’a + b) Where satlin is define…
  • PROMPT: This program finds the unique letters from a given string and prints the unique letters. For example: word ‘LITTLE’ has ‘L’, ‘I’, ‘T’, ‘E’ are the unique letters. Instructions: The program rep…
  • Can you guide me with this. Please make sure to use 2-D lists, make sure there is only 1 return statement in the function, seperate the function and the main file and use .format (format for python). …
  • the above csv link¬† https://iu.instructure.com/courses/2048187/files/133420529/download?wrap=1 ¬† please attach a picture of the code and the output. Write a Python program to plot the t-distribut…
  • Can someone help me fix the indentation problem. Below is the code def celsius_to_fahrenheit(celsius): ¬†¬†for celsius in range(min, max + 1): ¬†¬† fahrenheit = round (celsius * 9/5 + 32) ¬†¬† print(c…
  • python help do not use python built in function for question. Steganography is a method of message concealment where the message is hidden within another piece of data like an image or video. For exam…
  • Write the pseudocode and program structure (using comments) and finally write the program for the following problems with the screenshot of the output. Each problem is worth 10 marks. The body mass in…
  • Implement a sliding window for an arbitrary input list. The function should take the window width and the window increment as inputs and should produce a sequence of overlapping lists from the input l…
  • Pick any of the time series dataset accessible: https://data.world/datasets/time-series. For the dataset you have picked plan 3 distinct representation questions, do the perceptions utilizing procedur…
  • using python’s¬†random number generator as noted below ¬† (x = random.randint(a,b) )¬†using python generate four integers between -50 and +50 and displays the calculations noted below.¬†See the follow…
  • can you do problem one and two in pyhton Problem 1: reconstructBT Given the preorder and inorder traversals of a tree, construct the binary tree, assuming the values of all nodes in the tree are disti…
  • Ignore the part in the problem statement about following the quadratic spline example code. Please just program in Python an optimization method which uses the Linear Spline method (given above if pri…
  • What is the time complexity of the following: f(N) = N^2 log N + 2^N
  • Please help me with this oneūüôĀ I’ve been struggling. No one wants to answer so I ask here againūüôŹūüŹľūüôŹūüŹľ. Feel free to ask questions. Thankyou in advance ūü•ļ. E2 [Process Creation] Write a P…
  • Overview ¬† ¬† Scenario ¬† You work in a government department in IT that deals with space exploration. You are asked to write a program in Python that simulates space exploration. The organization ha…
  • Code is provided below here ¬† https://colab.research.google.com/drive/1zBap45W_4xQo-TMcBOuE9nbltKRqI2_0?usp=sharing ¬†. 1. Provide a descriptive analysis for this dataset. Precisely, for DC power …
  • Use python to develop A working tic tac toe simulation A minimal interface A simple AI – Note: This variable should not change 3. Write the play_game() method: . For this method, you will be simulatin…
  • Project 1 (DO IN PYTHON)¬† This dataset: https://raw.githubusercontent.com/cmparlettpelleriti/CPSC392ParlettPelleriti/master/Data/Proj1.csv is adapted from the World Health Organization on Strokes (it…
  • For this challenge, you will output a pattern that resembles a chessboard by using the letter X and O. The pattern needs to be an 8 x 8 matrix with alternating X and O in each row. Here is the catch, …
  • List the top-5 most popular locations for:¬† a. dropoff based on “DOLocationID”, sorted in descending order by popularity. If there is a tie, then one with a lower “DOLocationID” gets listed first.¬† …
  • One lap around a standard high-school running track is exactly 0.25 miles. Write the function miles_to_laps() that takes a number of miles as an argument and returns the number of laps. Complete the p…
  • . Exercise 1 – Remove Special Usernames Write a function called clean_users (in the file exercisel. py) that does the following: Function clean users(1) . takes 1 parameter L – type list (of strings…
  • explain this coading of tic tac toe ¬† ¬†. Questrion2.py X 4307815.py import random Gclass TicTacToe: def _ _init__(self) : self . board = 18 def create_board(self) : 10 for i in range (3) : 11 row = …
  • . 5. Write a python program that asks the user to enter a sentence and creates a list of words in that sentence (2 points) 6. friends = (‘sam’,’andy"mary"andy"john""andy&quo…
  • Using Pygame and Repl.it with some elements of python coding. I need help with Pygame and how I can make a business card that has graphics and text on it. I was using a Burger King. and then trying to…
  • Question 12: Write the pseudocode of the following loop and draw the process flow.Pseudocode is a text-based detail design tool. Remember to indent any dependencies. while True : reply = input( ‘Enter…
  • Given a list of health points (containing ints/floats)¬† from various characters in Overwatch and a sequence of instructions (list of tuples), apply all instructions to the list of health points in th…
  • . How many How many You will How many How many You will How many How many You will Sample Interfaces people pizzas divide people pizzas divide people pizzas divide are sharing pizza? 7 will be order…
  • hi can someone help me on this lab? I am getting some error, it works once then got problem. This lab about web scraping code & plot/graph of data, and we have to pick wiki page of any state. You …
  • Please help me!! It is due in one hour. don’t now how to code these using python!
  • IDK how to make a claculator with this because im using online emulator Unit 9 Assignment 1 1 . Payroll Program with Input Validation Imports System , Console Module Module Sub Maino Dim rate As Doubl…
  • Why am I getting a keyerror for ‘quantity’? Is there something wrong with my dictionary? Is a get() statement necessary?
  • prepare Exercise 6.4 from textbook “Boolean functions”¬† using recursion ¬†and the¬†is_divisible¬†function from Section 6.4.¬†“(As an exercise, a function is_between(x, y, z) that returns True if x ¬†…
  • can someone help me with this code? Input a six-digit integer. Assign first_three (int) to be the first three digits. Assign last_two (int) to be the last two digits. Assign middle_two (int) to be the…
  • Consider a feed-forward network which implements a function y(x, w) in which y is the output variable, x is the vector of input variables, and w is the vector of weight parameters. We wish to use this…
  • CSc 110 – Benford’s Law Benford’s Law is a mathematical law that describes the behavior of naturally-occurring numbers in some kinds of numerical data sets. I recommend that you watch this video befor…
  • Write an if statement that assigns 0 to x if y is equal to 20 . ¬† ¬† 2. Write an if statement that assigns 0.2 to commission if sales is greater than or equal to 10000 .
  • Assignment Background Some have raised questions about Covid-19 data, especially questioning if Covid-19 is causing significant problems. One advantage of learning to program is that you can examine r…
  • Write a program in Python that performs the following tasks in order: 1. Takes the size of maze as an input from the user and assign a variable name “n” to this value. Create and print a maze of size …
  • Can someone please answer these questions? The AI solution outlined Natural Language Processing. NLP enables understanding, interaction and communication between humans and machines. Our AI solutions …
  • Code def count_syllables(word): word = word.lower() number = 0 last_character = ‘Z’ for character in word: if last_character in ‘aeiouy’: pass elif character in ‘aeiouy’: number = number + 1 last_char…
  • list in Python ways clear .please expert teachers only.
  • Regular Expression that will match a date that follows the following standard “YYYY-MM-DD”. in python 2 Regular Expression that will match a North American phone number. 3 Regular Express…
  • Requirements: Use the provided template to complete the following. The details are in the skeleton file. 1. The Pet class: a. Assign values to two variables: kind and color b. Implement the construct…
  • I need help writing a program that generates a random number in the range of 1 through 100, and asks the user to guess what the number is. the user’s guess is higher than the random number, the progra…
  • Please solve this python3 problem!. Write a function k_in_num which takes in two integers, k and num. k_in_num returns True if num has the digit k and returns False if num does not have the digit k. 0…
  • design and program a very simple game is my assignment and I don’t even know how to begin?
  • Design and implement ‘Store automatic system’ similar to the Apple store, allowing the staff to communicate and provide an excellent customer experience. You should build a Client/ Server-side softwar…
  • 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)…
  • Thank you very much! I vote up and tip paypal! C D hackerrank.com/test/717afongsmr/questions/41f3rq7 2h 55m 1. Get IOT devices by Parent Python left Id 1 > ALL 10 In this challenge, the REST API co…
  • The transpose of a matrix can be thought of as another matrix with rows and columns switched. For example, the transpose of 1 2 3 4 5 6 is 1 4 2 5 3 6 Write function called¬†transpose¬†that returns th…
  • 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…
  • Conditionals IF statements. CSC 104 – H c) if (day = = ‘Friday’ OR day = = ‘Saturday’) AND time = = ’10pm’: print(‘time to go out’) else: print(‘stay home’) day time Outcome Monday 10pm Monday 7pm Fri…
  • Write a function decipher(s) that takes as input an arbitrary string s that has already been enciphered by having its characters “rotated” by some amount (possibly 0). decipher should return, to the b…
  • I need help with the code and answering the question for the report.. In this assignment, you will write a program to test the performance of three operations 1. dictionary lookup using key (d [ key])…
  • In my home area you’ll find a file named ‘e_coli_k12_dh10b.faa’. It contains all of the polypeptide sequences in the E. coli K12 genome in FASTA format. Your task for this exercise is to generate an a…
  • Write the main function which will: 1. Generate a random integer between 1 and 100 which will be the side of the square 2. Pass that number to called functions called square_area and square_perimeter….
  • Palindrome Wonderland ¬†. In a secret place near the hack hill of CUHK1 there is a palindrome wonderland. People there uses palindrome as their language. A palindrome is a string that reads the same b…
  • . Program 1 – Pizza Pay Calculator: Learning outcome focus: Input, Processing, Output File name: a1_1_pizza_pay_calculator.py Warm Pizza is a new company revolutionising the pizza home deliver…
  • can I get help in coding the function? I attached everything Functions No fancy narrative this time, just a few problems to solve using recursion. You must use recursion in each function to get full c…
  • I can’t figure out the error How can i fix the error. Assembler Debugger Statistics Source Code – untitled.pep* ; global variables maxv : . EQUATE 12 ;arrays will have 12 bytes arr1: . WORD 5 : kux* *…
  • Please help me out, it’s a python programming question. Here is a dataset relate to movies. https://drive.google.com/drive/folders/1SIjTRxjutHMJ7tzmM5Tq3_b1eamY0UNT?usp=sharing If there is any problem…
  • solve like this exactly¬†. Format String Vulnerability Lab Task1: The Vulnerable Program I launch 2 VM, one is SEEDUBUNTU and the other one is SEEDUBUTNTU CLONE. After I run "sudo ./server&quo…
  • 3. ¬† 4. 5. ¬†. Given the following declaration, which of the following statements is NOT true. distance = 18 + 29 * 18 0 ‘distance’ is the name of a variable that will store int data 0 …
  • how will i be able to write such recursive function
  • 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:…
  • PLEASE USE SIMPLE CODE NO STRINGS AND NO DICTIONARY. 6. averageWithPolicy(scores) [25 pts] Consider the following excerpt from a course syllabus: In order to reward improvement, I will replace one qui…
  • Need to build python program to parse timelog data file and the most important thing is that dont use “re” which is regex and datetime which is also a module. and please try to provide hints which doe…
  • Have my programming in python exam tomorrow! Thank you in advance!. Analyze the following code, what is the output from the program? import math clef main”: rad1 = 3 rad2 = 1 areal = math.pi * rad1 …
  • this exercise expected output is in the docstring def word_anagrams (word, wordbook) : (str, list of str) -> list of str – a string (representing a word) – wordbook is a list of words (with no word…
  • What happens if you have two values with no operator and a space in between them and why?
  • We will be working with some data about food. The foods you see in the grocery store are required to have nutrition labels, which provide information to consumers about which nutrients are present in …
  • AutoSave (. Off) . () Exercises_Normalization_Nursery School Pets.docx – Protected View – Saved to this PC O Search Abhinand Suresh AS X File Home Insert Draw Design Layout References Mailings Review …
  • Good evening, I am struggling with this one for some reason. I can’t get a program to work correctly and I just keep getting errors with both programs. How would you program both parts of the question…
  • Very easy Write a Python program to perform the following sequential steps: (1) Create a DatetimeIndex object which includes 30 time points with an interval of 1 day, beginning from 1 Nov 2020. (2) Cr…
  • request: r = requests.get(‘https://api.github.com/user’, auth=(‘user’, ‘pass’)) r.status_code 200 r.headers[‘content-type’] ‘application/json; charset=utf8’ r.encoding ‘utf-8’ r.text ‘{“type”:”User”…..
    • Assignment: Develop a python script to convert an IP address from a string to an integer Use a hardcoded IP address of “192.168.30.125” Display the integer version of the IP address Integer result …
  • Need to submit the code and output screenshots. ¬†. The robot uses battery power to move. Battery usage is 23% per second. Assume the hatter},r is full},r charged when the robot is told to move from i…
  • URGENT need this done within the hour, thanks! much appreciated.
  • Project Part 1 The project for DS710 is structured to be completed in three parts. This is the first part, in which you will write some reusable code which will help you in Parts Two and Three. Purpos…
  • Problem 3 In mathematics, the error function is defined as: a 2 erf(a) = -x dx A. Estimate erf(1.5) using the two-points Gauss quadrature approach. If the exact value is 0.966105, determine the absolu…
  • Use python to solve the problem, thank you #Download data for 4 of your favorite stocks using yfiance #starting date: 01-01-2019 #end date: today (date you attempt the question) #plot them on the same…
  • Question 3: items_by_region Now let’s find the most common item by post code. The post code information is in the practices DataFrame, and we’ll need to merge it into the scripts DataFrame. Pandas pro…
  • Please Finish This By 2PM today, I need this sent in mircosoft Word with answer and results. Directions are in the Document attached. bplist00ÔŅĹ###########! _##WebMainResource_##WebSubframeArchives_#…
    • Create a Python program that uses a while loop and prompts the user for a series of inputs. You should use a sentinel value to signal when the loop should terminate. Calculate and display the sum o…
  • need help this one the out put should be like below old salary percent raise new salary
  • Python Please: ¬† Write a program whose input is two integers, and whose output is the first integer and subsequent increments of 5 as long as the value is less than or equal to the second integer. Ex…
  • in python, many thanks!. 5. (10%) What is the purpose of the following program, or more specifically, what will the program print? 1 = [1, 2] k, j, n = 1, 1, 1 while k < 10000: repeat = True while …
  • It is very common in numerical analysis problems that involve linear systems, the matrix of coefficients is banded. A banded matrix A = (aij ) has upper bandwidth u if aij = 0 whenever j > i + u an…
  • . Please input an option or type ‘quit’ exit the program: 3 #invalid option 1. Purchase clothes 2. Checkout Please input an option or type ‘quit’ exit the program: quit >>>. AK Tops, 19.99 …
  • 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 befo…
  • A list is sorted in ascending order if it is empty or each item except the last one is less than or equal to its successor. Define a predicate¬†isSorted¬†that expects a list as an argument and returns…
  • Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: The input file for your ori…
  • What is the output of this code and why? ¬† n = 1 p = “A” while n < 10: ¬† ¬† p += p ¬† ¬† n += 3 print(n, p)
  • what values does the variable¬† out¬† take if the following lines of code are run: X=np.array([[ 1 , 0 , 1 ],[ 2 , 2 , 2 ]])¬† out =X[ 0 : 2 , 2 ] out What is the value of¬† Z ¬†after the following co…
  • Given ¬†perfect size integer array and two integers start and end, write ¬†method that returns ¬†new perfect size array that contains the elements of the input array between the first occurrence of st…
  • Python code to solve Algorithms, I have the starter code and the Output for the code. Description:The activity selection problem is to select the largest possible set of non-overlapping activities(mut…
  • is the name of the built-in variable that can be used to ensure executable code within a module is not executed unless the module is executed directly.
  • Create a loop to call the plot function in (b) with images from each set to create three figures. Note: the code has to select the images randomly. Include all the 10 digits in each figure.
  • Please help my homework¬† I will put CSV file myself, so just create like output like that. thanks¬†. 2. Earthquake Data This project allows you to experiment with real-world earthquake data from t…
  • I need a Python program to determine whether a password meets all the requirements for a secure password. The program should prompt the user for the candidate password and output either that the passw…
  • I need to do an online Python visualization tutorial of my choice. The tutorial should have 6-10 creations and include visualizations. Examples of visualizations are Scatter plot Histogram Box plot Li…
  • Solve the following multiple choices : 1) The following is missing the keyword to:¬† ______ base64 a) input¬† ¬† ¬† ¬† ¬† ¬† b) def¬† ¬† ¬† ¬† ¬† ¬† ¬† c) name ¬† ¬† ¬† ¬† ¬† d)¬† import¬† ¬† 2) How c…
  • Write down the Greedy Constrain for the Kruskal Algorithm.
  • could you please type out the code? the code I typed in runs perfectly fine but it only displays “what is your name?”. Prompt For this project, you will be developing a PY file that contains your code…
  • Domain -Banking Focus Optimization-Business challenge/requirement FinBank is the latest entrant in the banking market of Thailand. The verification process for opening a bank account is done manually …
  • Add / modify code ONLY between the marked areas (i.e. “Place code below”). Do not modify or add code elsewhere. 2. Run the associated test harness for a basic check on completeness. A successful ru…
  • Programming Language: Python Full instructions below, please use the layout typed below (mind the indentations). All comments (#) should be replaced with code or include code before it. Comments may b…
  • Programming (206-003- S2022) Dashboard / My courses / CSCE206-003-52022 / Labs/Quizzes / Lab 8 Lab 8 Opened: Tuesday, 29 March 2022, 12:00 AM Due: Saturday, 2 April 2022, 12:00 AM #Make 3 classes #Cir…
  • Need solution for the following Questions: ¬† Q3- Design the learning curve and talk about what you see. ¬† Q4- Explain these graphs. If you see any issue, suggest a solution to resolve it. Make the m…
  • what is the average and worst case big-oh notation for a search, If n is the number of items being searched and we had a perfect hash function?
  • . zy Section 7.9 – IT 140: Introduction X Course Hero X + V X C learn.zybooks.com/zybook/SNHUIT140v3/chapter/7/section/9 it Apps ) mySNHU Login y! Yahoo @ Homepage – South… [ Mail – Syjud, Micha…..
  • Looking for someone that is a pro with pandas and working with csv files. I have a csv file that contains crash statistics and I am wanting to calculate the number of accidents in each hour of the day…
  • R STUDIO CODES (STATISTICS) PLEASE I NEED HELP FROM QUESTION 3 TO QUESTION 6 DATASET TO USE treatment SCL urban 0.07 urban 0.27 urban 0.03 urban 0.82 urban 0.56 urban 0.66 urban 1.48 urban 1.01 urban …
  • Implement recursive function webdir() that takes as input: a URL (as a string) and non-negative integers depth and indent. Your function should visit every web page reachable from the starting URL web…
  • Can’t seem to get my code working for adding items to my inventory or win/lose scenario. Any help would be appreciated ¬†. main.py X main D # Print instructions for game def show_instructions () : pri…
  • The following block of code represents a random walk of a robot moving along a 1D line. The robot starts at coordinate 0, then randomly hops from point to point as per the line (5) below. What possibl…
  • I am trying to remove stopwords from a larger .txt file. This is what I have tried. I am having trouble tokenizing the file. I have tried a few other methods to tokenize the file, but this is the most…
  • I need help with these linked list problems in Python. The linked lists problems are intended to be solved using recursion. I am going to provide the class which will allow you to interact with a link…
  • Object Oriented Programming in Python 1. (4 points) Using Python create abstract base class named OptionsPricer. The abstract base class should contain a constructor, a member function named price, as…
  • Include example Python code and output with your answers. If you are trying to print a string, what happens if you leave out one of the quotation marks¬†or both and why? You can use a minus sign to ma…
  • (10 DO) 65 – 2 points Dans la cellule ci-dessous, completez la definition de la fonction micro_precision_average. Vous devez utiliser uniquement les parametre pouvez utiliser aucune fonctionnalite de …
  • Please help me to write a program that prompts for the user’s first name and last name (separately). Then print a string composed of the first letter of the user’s first name followed by the first fiv…
  • What would the Python code for this question be? A few comments would be helpful. Question 1 [10 Points] Complete the symptom_similarity function, which measures the similarity between the symptoms of…
  • [1 pts] Part A. Write a program for the GW Admissions Office. a) Request the staff to enter a string, to indicate someone’s NetID. b) Generates an email address, by appending "@gwmail.gwu.edu&…
    • Write a function ‘rolling_dice()’ which simulates the rolling of two dice (discrete values 1 to 6) and ¬† accepts two input values the number of throws and the face value of the requested double t…
  • lab9.py .py lab9.py> def cost_to_hike_optimized(m: list[list[int]], start_point: tuple[int, int], end_point: tuple[int, int]) -> int: THIS IS AN OPTIONAL PART OF THE LAB, YOU WILL NOT …
  • This question about probability Make the python program to solve this question! In a sample of 100 steel wires the average breaking strength is 50 kN, with a standard deviation of 2 kN. To solve this,…
  • This is the code to write if the number is Happy Prime or Sad Prime but I am getting error HELP ME WITH THIS. ¬† def getNumber(): ¬† ¬†n = input(“Enter the number”) # asking user to enter a number. ¬†…
  • I need the following questions below coded in Python. Thanks!¬† ¬† IMPORTANT: The directions include sample code from the dragon-themed game. Be sure to modify any sample code so that it fits the them…
  • Please use Python for the question 13 attached below in 5.13. Question 13 is related to question 12. The solution to question 12 is attached below in 5.12.
  • What is a good source to use in the beginning of coding within python? Visual code or sublime? Which interface is easier to use?
  • This is for IT 140. It needs to run on python3/codio. Plase help! I am in need of a script for a simple grocery list! Project 2: Grocery List Introduction Your task for this project is to make a ver…
  • Describe how¬† catching exceptions ¬†can help with¬† file errors . Write three Python examples that actually generate file errors on your computer and catch the errors with try: except: blocks. Includ…
  • PART 1 ¬† Sometimes, team members want to send secret messages to each other. In order to do this, there needs to be an encryption process such that other people cannot understand the secret message. …
  • Assessment Details The six‚ÄĒsteps of problem solving must be evident in your assignment. Namely: 1. Identify the problem ‚ÄĒ state the task in your own words e_g_ implement lGut‚ÄĒUp method Analyse …
  • How can I design a flowchart using Raptor to enter any five numbers and display the greatest number entered?
  • Build a complete Graphical User Interface for a simple Python Application for collecting and processing its data. must have event handler to process data must perform at least one computation process …
  • What are the different parts of a function definition?
  • Can someone explain this code line by line. Like what each line does ¬†. W def getInputFile( ) : get input of file name from user 6 7 Returns : 8 string: the file name to decrypt 9 10 filename = input…
  • Hi can help me with this question ? Step by step guidance preferrred . Thank you in advance ! Restrictions ‚ÄĘ You are not allowed to modify the input dictionary. Assumptions ‚ÄĘ money >= 0. In Tut…
  • Write 5 programms using any 5 built-in functions in python
  • Write a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. Then, get the last value from the input, which indicates …
  • void CovidCollection::display(std::ostream& out) const: update this function to display the total cases and deaths of the entire collection. See the sample output for the format. DO NOT USE MANUAL…
  • Bandit is a tool that can be used to check existing code in your Cloud9 IDE for possible vulnerabilities.For example, the following code (albeit maybe not that useful) has a potential concern as the e…
  • Python problem: The inverse of a map is a new map where the values of the original map become the keys of the new map and the keys become the values. For example, given the map {1:2, 3:4} , the invers…
  • The boltzman_meanfield function must take the following input arguments: images: A numpy array with the shape (N,height,width), where N is the number of samples and could be anything, height is each i…
  • a program can read in text from the keyboard until an exclamation mark (‘!’) is found. (Note that the exclamation mark might¬† not be on the first line of input. It might be many lines down!)Using a l…
  • This question is about¬† sorting . Python In real life, map applications have been used extensively. A very common feature is to find the nearest gas station or restaurant. Q1)¬†Design a function in P…
  • Here is a code I started #write your function(s) here if __name__ == ‘__main__’: ¬† ¬†initial_list = input() ¬† ¬†if initial_list == ‘[]’: # empty list ¬† ¬† ¬† ¬†item_list = []¬† ¬† ¬†else: ¬† ¬† ¬† …
  • Use an update cursor to update the field ‘narea’ in the¬†OTTAWA.gdb\DATA\Neighborhoods attribute table with the ratio of total dwellings (TOTDWL2011) to urban dwellings (URBDWL2011). ¬† Data file loca…
  • import csv from datetime import datetime import matplotlib.pyplot as plt import matplotlib.ticker as mtick data = [] csv_file = open(‘produce_extra.csv’, ‘r’) reader = csv.reader(csv_file) for row in …
  • . w AutoSave On Problem Set – More on Functions(1) (1) . Saving.. Search (Alt+Q) jazzy m File Home Insert Draw Design Layout References Mailings Review View Help Comments Share 11 ~ A A Aa Ap Find C…
  • The chain_switch generator function (a decorator for iterables) has one predicate argument followed by zero or more iterable arguments. If this generator function is passed only the predicate argument…
  • Write a program using functions and mainline logic which prompts the user to enter a number, then generates that number of random integers and stores them in a list. It should then display the followi…
  • can you please solve the question ¬† You will program a mobile robot, called “Pioneer P3-DX”, to explore a maze-like environment (see Figure 1). This robot has two wheels, driven by independent motors…
  • Dashboard X nov-15.ipynb (2) – JupyterLab X + X C hub.science.ontariotechu.ca/user/100820459/lab/tree/nov-15.ipynb File Edit View Run Kernel Tabs Settings Help + C lab08_assignment (1).ipynb X _ nov-1…
  • Written #2 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 yo…
  • I extremely need help with this in Python!! This program will requires me to make a basic parser for an input string that is somewhat like Python. Python has an older parser module and a newer ast mod…
  • Use Microsoft Visual studio and IIS. Create a web service to add records to database, service name: Exam2Service . Table name: studentinfo . Id, lastname, firstname, mi, email, contactno, address, gua…
  • 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…
  • Parsing and Manipulating XML Data XML is the basis for many interfaces and web services. Consequently, reading and manipulating XML data is a common task in software development. Description An online…
  • The output:. Z OT 4 Part 1 – Password Strength Often when you create a password it is judged for its strength. The estimate of strength is couse by applying several rules – – about the length of the p…
  • Here is the romeo.txt file link: http://www.py4inf.com/code/romeo.txt 1. Download a copy of the file romeo.txt Write a program to open the file romeo.txt and read it line by line. For each line, split…
  • I need some help with this question. Which of the following function convert a string to a float in python? int(x [,base]) long(x [,base] ) float(x) str(x)
  • This is the python programming problems. Please help me. Thank you :). (d) The following code defines a class Person class Person: "’persona class’" def _init_(self, name, dob, addr, inc…
  • 1 “Pima India Diabetes Dataset” is shared with this assignment. For this dataset, implement the following questions in Python: a. What proportion of people report they have diabetes according to giv…
  • Write a program to ask a user to enter the NRIC number, and apply the following rules to check whether it has a valid format. a.¬† ¬† ¬† ¬† ¬†Has a length of 9.¬† b.¬† ¬† ¬† ¬† ¬†Starts with a “S” and…
  • I am unsure why I am getting a traceback error in this python code. any help yould be greatly appreciated!!!! ”’ The task is broken down into three sections. Section 1 – User Input Section 2 – loop t…
  • Create program of this using linked list, recursive algorithm, bubblesort, insertion, and selection, if u cant do 1 of here its fine, if the program can’t go with insertion its fine but do other Quest…
  • . Problem 3 Stars and Galaxies Far, far, away there is a galaxy formed by a huge number of stars. Stars are located in a spiral way around the center of the galaxy. As the distance from a star to th…
  • Making a 2D list To create a 2D list, we simply create a list as normal, then insert more lists as elements in the first list. It is convention to use newlines to make your 2D list look nice and reada…
  • . . 2 pts: Successfully retrieve and display text of a web-page (speech, article, book, etc.) Remove extraneous text from the text that should not be part of the text analysis. (e.g. intro of commen…
  • def countdown(n): if n <= 0: print(‘Blastoff!’) else: print(n) countdown(n-1) Write a new recursive function countup that expects a negative argument and counts “up” from that number. Output from r…
  • python question! my code only work for form a matrix please edit my code like the pdf said, it must have two magicsquare(n) ¬†and printsquare(..) Please help! def printsquare(n): if(n%2==0): exit else…
  • ### In jupyter # (a) Determine the shape, number of dimensions and type of¬† # elements in the numpy array arr # (b) Determine the sum of elements in arr # (c) Determine the mean of elements in arr # …
  • How do you code the following: Problem 1: List (or tuple only, no dictionary) that contains the months of the year. ( do not hardcode the month number) Problem 2: Complete a loop to print the number a…
  • Q3: Write a Python program to read two strings of words separated by a comma. Then print out a list containing all the words that occur in the two sets together. Print out a second list that contains…
  • Hi just wondering a couple quick things. How can i remove the “0”‘s from the liste so i can get a minimum that isnt “0”. Also why doesnt the function sum(liste) work but the min max and length functio…
  • How could this application be created using python ? write a menu-driven program that allows a user to create a shopping list. The user should have the option to add an item, remove an item, sort and …
  • Part One: Programming Write a program to ask the user for their favorite item in a given category. Then provide feedback if their item is on your list. Use the following guidelines to write your progr…
  • The dataset is df, which is provided below: df = pd.read_csv(‘http://people.bu.edu/kalathur/datasets/usa_daily_avg_temps.csv.gz’, header=0) Q1 . Show the distribution plot for the ‘avgtemp’ attribute….
  • Emma is playing a new mobile game that starts with consecutively numbered clouds. Some of the clouds are thunderheads and others are cumulus. She can jump on any cumulus cloud having a number that is …
  • COULD YOU PLAESE HELP ME COULD YOU PLAESE HELP ME COULD YOU PLAESE HELP ME Write an expression that is the value of the first three characters in the previously – assigned string – valued variable dow…
  • Using Spyder or Jupyter Notebook, find the rank of this 3 x 3 matrix. Screenshot the entries with complete name as comment. W N – N – O – ON
  • my_list = [{ ‘name’: ‘get groceries’, ‘description’: ‘buy some jam and peanut butter’, ‘deadline’: ’02/23/2022′, ‘priority’: 2, ‘completed’: False }, { ‘name’: ‘get some sleep’, ‘description’: ‘8 hour…
  • ONLY PART C IS NEEDED I HAVE DONE A AND B HERE IS MY CODE. I DON’T KNOW WHAT’S WRONG WITH IT import numpy as np¬† import matplotlib.pyplot as plt¬† def func(t,r): ¬†¬†x1=r[0]¬† ¬†¬†x2=r[1]¬† ¬†¬†y1=r[…
  • Could you please help me with this python question Define a function write Scores with two parameters . The first should be the name of a file , and the second should be a list of integer scores . The…
  • I need help with the following: How do I add a dictionary so the player has some guidance on the next action to take? When the player replenishes their HP, it goes above the max of 100HP – how do I ge…
  • . List=13: Multiplication Table function makeMultiplication Table() that takes two parameters, m and n, where m equals the number of rows and n equals the number of columns. This function should ret…
  • Hey, the first photo is the csv file. the second photo is the question, I have the load data file which has all the stored data from csv file. the last photo is code that I did it but there is an erro…
  • can u please help me with my programming project and what to do for every slides To develop a Menu for Computer Shop and payment system using Python. The application allows users to online order compu…
  • Hello here is a Google doc link to the coding lab that I’ve done in Zybooks. I’m confused on why my code isn’t outputting in part 4. Unit Test and part 5. Unit Test is there anything that my code is m…
  • Unlike the perceptron, adaline does not guarantee that the output will actually separate 2-label data points that are linearly separable. Construct a 2-dimensional data set (i.e. the data points and t…
  • # Inputs import sys A = float(sys.argv[1]) B = float(sys.argv[2]) C = float(sys.argv[3])
  • plz be quick Q9(i) [10 points] Alist al = [3, 4, 6] and a tuple bl = (3, 4, 6) are different, because a list is mutable while a tuple is immutable. Explain what mutable means, and give code examples t…
  • 3: pears Enter a menu option: 3 Which number to delete: 3 pears was deleted Enter a menu option: 2 1 : bananas 2 : apples Enter a menu option: 4 have a great day!
  • Reminders of things to practice from previous weeks: <br> Descriptive statistics: ¬†mean( ) max( ) min( )<br> Coerce to numeric: ¬†as.numeric( )<br> ## Part 1: Use the Starter Code B…
  • Problem 1 (2 marks) 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 na…
  • For the bubblesort calculation, express its best-case őė intricacy and depict, for some random contribution of inconsistent size n, one stage that would set off this best-case conduct. Then, at that p…
  • Attached Files: File Numpy_Python_Cheat_Sheet.pdf Numpy_Python_Cheat_Sheet.pdf – Alternative Formats (649.441 KB) To show that you can work with arrays in Python , use NumPy library to convert the fol…
  • How would I run logistic regression in python when my independent variables are weight, height, and age , my dependent is Group for a dataset “People” .
  • . QUESTION 1: a The mathematical equation that describes a sinusoidal wave as a function of time (t) is given below, where A is the amplitude of the sine wave, f, is the frequency in Hz, $ is the ph…
  • write ¬†program that gets names of students and their marks.stop entering marks when the user enters stop. ask the user to enter a lower limit and upper limit and display all the names of ¬†student wi…
  • Write code that reads from the attached comma delimited file EmplData.txt to initialize a list of Employee objects. Then, using the initialized objects print a list of Employee IDs, Last Names and …
  • Here is link to download file: https://drive.google.com/drive/folders/1pztVrUXygjU18It_i51kIXMlsB580C75?usp=sharing In my command prompt to run python MA_RUICHAO_proj2.py –option remote, it encounter…
  • I’m having a problem solving this. This¬†is supposed¬†to represent¬†a group of students in a course. A group of students in a course will be assigned an assignment and produce a collection of¬†assignm…
  • . . city_connects (self, sideA, sideB) Returns True or False, based on whether or not the two sides are both cities and they are connected. (See Tile 7 for an example of a tile with two city sides t…
  • I was hoping if someone can help me for this programming. But it is an excel VBA programming. I assume people who are good at python should be good at VBA too haha. Thank you 1 IBM, QCOM, GOOG, BAC, Z…
  • I am new in programming and my question is that what I can do in order to understand programming easily and to become a good program. right now I getting hard time to understand pseudo code and flowch…
  • Write a program to calculate the BMI (Body Mass Index) and BMI’ (BMI Prime) for a user. The BMI and BMI ‘ are calculated by: . BMI: user mass (kg) / user height (m)^2 . BMI’: user BMI / user BMI upper…
  • use a List of objects to solve the student table code. This is topic: for this code I have 3 requests: 1. Create a directory like this: print(“”” 1. ¬† ¬†Prompt user to enter a student info 2. ¬† ¬†Pr…
  • Read file and create json data array Phase 1: Test Environment¬† The program below is an implementation of a python program that lists 2 pre-set books to search, or accept user data. presetlist=[[ “Ca…
  • 29 LAB: Leap year ¬† A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, …
  • As photos attached below, please review my codes then do and fix some others things as mentioned below: ¬† Use functions, repeat until the user chose to exit, and validate all your entries.¬† ¬† If th…
  • Build a two-class logistic regression model from scratch. You will need to work on the following: a. Implement the sigmoid function from scratch and call it sigmoid_f Implement the hypothesis function…
  • Geometric Matrix operation Topic 10 Geometric Matrix Operation The exercise contains two sets of problems. The first set tests your algorithmic capability in terms of matrix (which has simple syntax y…
  • Was wondering if anybody could help with the below. I have had one tutor help me with this and his knowledge was fantastic and taught me about the assert method when testing but now I was wondering if…
  • Hello, I was wondering if you could help me with a Python assignment. I’m currently in a beginner level programming course and I have been stuck on this question. ūüôĀ Here are the problem instructions:…
  • Odd/even – Each player rolls four dice. For each odd number rolled the number is subtracted from their total, for each even number rolled the number is added to their total. Even numbered dice can be …
  • Python program to assign grades to students MARK at the end of EACH semester. The program must do the following: -Ask for the student’s tutorial mark ( over 25%.) Store it in a list called listTutoria…
  • pls use python to solve this question…….. 2. One important application of spline interpolation is the construction of smooth curves that are not necessarily the graph of a function but that have a…
  • How do I create a side view of a car with windows, tires, roof, front and rear bumpers using only the graphics library. Also need to color the car and tires and have to use. Line, Circle, Rectangle, p…
  • Exercise 5 Modify the chaos Program so that the number of values to print is determined by the user. Have to add line … I don’t know how to change this loop. I added below script and run, “How many …
  • . Q1. Write a function getICO(page_url, domain_name, limit = 20) to scrape all ICO inforamtion , including Name (see (1) in Figure), URL (the hyperlink of (1) in Figure), description (see (2) in Fig…
  • Using python, how can I make a program that will compute for the Least Common Multiple of two positive integers (if not positive, the program will ask the user again to input another number) using onl…
  • I need help with a python assignment. I need to assign a string of my favorite movie character (Indiana Jones) and the movie he is in ( Indiana Jones) to a variable. For example, ” Carol Danvers in Ca…
  • Please answer this question. Thank you. Determine the tightest simple bound of the worst-case computational complexity of the following function in terms of the size of the input list (n=len(Ist)) and…
  • Implement the three gcd algorithms (euclid’s, consecutive integer, and middle school) in the text. Use 31415 and 14142 as input integers and output the time required for each algorithm. ¬† *CODE REQUI…
  • Trying to make function that adds elements of a column together from a 2D list… ¬† So far I have this: def sum_col(list_2d): # create and return a list with the numbers resulting from # adding numbe…
  • Note: To clean up the output, we can use the round function to round the Celsius temperatures to the nearest integer. Note that the round is similar to the functions we’re writing, except that it is p…
  • (Decision, String, List 20 points): Write¬† a ¬†Python program to build a simple “English language” calculator that does the following: ‚ÄĘ Takes a three or four-character string from the user, where …
  • Problem : Make 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 = integ…
  • Question 10 (10 points) Which if not a benefit of functions? What is a function? Functions eliminate crashes in your code O With functions, you don’t have to repeat the same code over and over again. …
  • Assignment #10 Sentiment Analysis is a Big Data problem which seeks to determine the general attitude of a writer given some text they have written. For instance, we would like to have a program that …
  • Can anyone explain how to tackle these problems in python? I’m new to learning about dictionaries. Here are the files that i’m working with: shorturl.at/lpINT shorturl.at/otJM6 shorturl.at/bjsw0 short…
  • This question is for a¬† python code ¬†that takes a problem from the textbook “Starting Out with Python FOURTH EDITION by Tony Gaddis” and adds additional steps. Problem from book Additional steps The…
  • Creating a programme about a smart alarm Question 1 ‚ÄĘ Alarms The program should enable the user to schedule and cancel alarms. The alarm should notify the user when the relevant time is reached. Ala…
  • I want to create a pandas data frame, Here’s the code ¬† ¬† import requests import json ¬† key =¬† ¬† places = [‘Toronto’, ‘Montreal’, ‘Victoria’, ‘Madrid’, ‘Barcelona’] ¬† for city in places: ¬† url …
  • Create a simple program that asks the user for their name ( first, middle, and last). Then return back to the screen their initials in caps and reversed. Example: What is your name (first, middle, and…
  • A product module controls a vehicle park of known limit. Calls to the module’s techniques enter () and exit() are set off when vehicles enter and leave by means of the obstructions. Give pseudocode fo…
  • Display ¬†a program in python to find those numbers which are divisible by 3 and multiple of 9,between 300 and 900 (both included). 2. display a python program that prints all the numbers from 0 to…
  • 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…
  • Please don’t copy from chegg and course hero can anyone convert this to python? package stages; import controller.Simulator; public class MemoryStage extends Stage{ /** * Constructs a new memory stage…
  • how do i print the stuff that is underlined in red within the for loop at the top of the screenshot. if i extend the for loop brackets to the end of the underlined text, it still doesn’t print. it onl…
  • Consider the following recursive Python function: 1.1) (2 points) What is the value returned by¬†bad(4)? 1.2) (3 points) Consider what happens if we evaluate¬†bad(6). Describe the value that would be …
  • hi could i get some help with the following questions on the screnshots please with explanations this work has to be handed in by this friday and i dont understand all i know s that matrix is…
  • """Part 3: Refer to file weights. It contains the weight (lbs) of randomly selected males from United States, Verify whether the weights seem to be normally distributed""&quot…
  • The objective of this assignment is to introduce you to the concept of a digital “notebook”. ¬† Notebooks are a combination of Python code snippets or “cells” that you can edit, run, re-edit, re-run, …
  • My flow chart and pseudocode, correct or incorrect? Loop through list Start Pseudo code Start List=["January", "February", "March", "April", V "May", …
  • How I create a song identifying mobile app in python ?
  • download files for this assignment from this site scroll down the page you can see 3 files ——> https://ufile.io/f/sbkqx ¬† The goal of this project is to gain more practice with strings, functi…
  • 16 Which of the following statement is true about Business Intelligence * BI convert raw data into meaningful information ¬† ¬† BI has a direct impact on organization’s strategic, tactical and operati…
  • Implement a solution to the classic knapsack problem. You are given a knapsack that can hold up to a certain weight (its capacity), and several items you may choose to put in the knapsack. Each item h…
  • Hi ¬† I am having a hard time understand how to implement Nonce. I am trying to implement this: Below are the instructions: ¬† ¬† import hashlib import math import random import sys # Do NOT alter …
  • Within the context of human resources (HR), attrition is a reduction in the workforce caused by retirement or resignation. This is a serious problem faced by several organizations around the world as …
    • Word look up algorithm Write a function called word lookup that takes a string argument. The function should check if the characters in the string can be used to make any of the words in the ‘word…
  • Please define the function first (def XXX), write the codes, and return the function in the end (return XXX). Thank you! Q2.1. Define a function tokenize (doc, lemmatized = True, stopword = True, punc…
  • 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 …
  • why do you use coefficient of correlation, instead of covariance, when calculating the association between two random variables? a) None of the above b) Covariance is not suitable to use when the unde…
  • Using recursion: ¬† def num_digits(n): ¬† ¬†“”” ¬† ¬†Returns the number of the digits in the decimal representation of n. ¬† ¬† ¬† ¬† ¬† ¬†Example: num_digits(0) = 1 ¬† ¬† ¬† ¬†Example: num_digits(3) …
  • Please provide me with the correct code for this with clear format. < > learn.zybooks.com C Module Three – IT-140-T2160 Introduction to Scripting 20EW2 3.13. LAB: Exact change Course Hero =zyBoo…
  • Please show work! from drawtool import DrawTool import numpy as np dt = DrawTool( ) dt . set_XY_range (0 , 10, 0, 10) dt . set_aspect ( ‘ equal’ ) # The image file is expected to be in the same folder…
  • We have a function that outputs “Welcome, user” as it is called. We want to make it more personalized, so redesign the given function so that it will take the name of the user as input and output the …
  • I need the code for the following graphs, i am having a lot of trouble with them. Please help !!. 80 Linear amplitude spectrum – display your name here 70 60 50 40 30 20 10 0 0.00 1100.00 2200.00 3300…
  • Given Code: ¬† #In the previous problem, you were given a dictionary where #the keys were names and the values were days of activity #on a class forum. You returned the name of the most active #studen…
  • . Q1: MCS Roast weing assignments shen by the MICS ave collectively decided to have a contest with the professors we diade participants into two things team when they roast a participant from the op…
  • Hello, I wrote this code in order to obtain a series of monthly weather observations in Oulu for a period from 1960 to 2020 and then I saved the data to a local file using package pickle. I used the d…
  • Hello, I was wondering if you could please explain to me how to execute this code? I am not sure what to do and also if you could explain what is happening in the code that would be nice. Thank you! G…
  • What are some advantages related to a REST API in python?
  • Question I need to add the edges to the nodes . As well as the total number of edges and nodes. class Graph: ¬†¬†# Do not modify ¬†¬†def __init__(self, with_nodes_file=None, with_edges_file=None): ¬†?…
  • How can I design a program using Raptor that tests extrasensory perception? The program should randomly pick a color from Red, Green, Blue, Orange, Yellow, and Purple,¬†and will be asked to predict th…
  • Python code solving { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# __ECC108 – Summer 2019-2020 – Home…
  • Please solve using python. Read the minuet measures from standard input into a 2D list with dimensions 11 √ó 16 Read the trio measures from standard input into a 2D list with dimensions 6 √ó 16 Write …
  • Question 4: Testing CashRegister [10.0 marks]¬∂ ¬† Place the CashRegister calss in a file called cashregister.py and write following test code in the cell below. a Complete following test code: Import…
  • Midi music In this program, you get to make the computer play a song of your own composition! You may write your own song or play a ‘cover’ of a song of your choosing. Hopefully you will have some…
  • . Question 1: The class diagram below illustrates a hierarchy of classes that model simple HTML documents. The classes of this hierarchy suffice to model the following HTML page: Nod _attributes: _c…
  • In [30]: trainData, temp = train_test_split (df, test_size=0.5, random_state=1) In [31]: validData, testData = train_test_split(temp, test_size=0. 4, random_state=1) In [32]: temp Out [32] : Id . . . …
  • Write a program that reads a list of integers into a list as long as the integers are greater than zero, then outputs the smallest and largest integers in the list. Ex: If the input is: 10 5 3 21 2 -6…
  • Call your class¬†Car. ¬†__init__()¬†method with¬†self¬†as the only parameter. This method should do the following:¬†‚󶬆Setanattributex(representingthecar’sxcoordinate)to0. ‚󶬆Setanattributey(repre…
  • Codio i rejecting my code even though it is identical to their output. The only difference I am noticing is the gap where the output is written. Codio’s output seems to have space at the top and mine …
  • I need help with an assignment. I have a Python code below: alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss =…
  • `rhyme` is a string. Write code that uses dictionary accumulation to assign `word_freq` to be a dictionary where the keys are words in `rhyme` and the value is the frequency of that word. Note: this w…
  • What language was designed based on a theory of recursive functions and is considered to be an ideal language for solving difficult or complex problems?
  • PROBLEM 4 Residential and business customers are paying different rates for water usage. Residential customers pay $0.005 per gallon for the first 6000 gallons. If the usage is more than 6000 gallons,…
  • How can i add this code to main function i couldnt be success to add or how can ńĪ rewrite it Problem 2. (Normalization) Compose a function called normalizeO in normalization.py that takes an array a …
  • This reference monitor does not run correctly. How would you change it to pass the following criteria? ¬† Tests on a working reference monitor that has an issue with threading defenses. (0.0/3.0) Test…
  • python please Race results. ¬†Write function¬†calc_results(race_data)¬†where¬†race_datais a list of data dictionaries with the raw race data for a half-marathon (13.1 mile) race. Each dict has 2 keys,…
  • craete GUI application using python : that takes full name: text box residency: radio button programm: drop box courses: check boxs bottons: reset, ok , exit
  • I need help writing a program that allows a user to do one of five things at a time: 1. Add students to database. ‚ÄĘ There should be no duplicate students. If student already exists, do not add the d…
  • Question 1 Notifications A key part of an alarm is notifying the user to an event. The smart alarm will use two types of notifications. For alarm notification announcements we will use text-to-speech …
  • What is the indentation (per code block) in a standard Python notation?
  • python program that performs the following mathematical operations and prints the results with the operations name
  • What is best function to create degree 3 polynomial in python? (b)¬†[3 point(s) Coding] Degree-3 polynomial regression For this sub-question question, we will use the dataset provided in the following…
  • Q3 [1] What changes to your code would you need to make so that the program accepts either an uppercase or lowercase letter as the correct letter? Note: For example, if the correct word is¬† mango, yo…
  • Python: write a program that has 3 functions. Process: ‚ÄĘ All functions are run through the main function ‚ÄĘ Define your functions first and then call functions as required ‚ÄĘ Feel free to use any …
  • Can you please¬†Implement and test the Rational Number Program (pic 1 and 2). Then, implement the Operation __add__, __sub__, __mul__, __truediv__ for the Rational Operators (based on examples in pic …
  • py) Write a program that reads a list my_list from the user. (Use the eval() function approach that we¬† covered in Lab 9.) First print the value of id(my_list), then insert 47 as the first el…
  • Text classification in python, how to load text files from selected folders? for example, there are 5 folders with subfolders. The first 3 folders will be treated as training data. The rest two folder…
  • . Window H View History Bookmarks Profiles T " Chrome F .. . Quiz: Unit 8: Final Exam x parkInstructure.com/courses/65282/quizzes/572523/take/questions/14656805 ($152 > Quizzes > Unit 8: …
  • Help with Python Run Module Error!!! – PermissionError: [Errno 13] Permission denied Everytime I run my program I am getting this error and I need help on fixing it. I can’t seem to figure it out. A d…
  • Write a program called lookup.py that enables DBVac employees to look up a customer by name or CustID, then output the data regarding the matching customer(s). Your program should: Include a comment i…
  • Use merge sort algorithm to sort a 2-dimensional list based on the second dimension. There are 10,000 elements in each dimension and the elements are random integers between (0,5000). Create python pr…
  • Choose either T (True) or F (False): (a) One can design a classifier for the XOR problem using a MLP with linear activation functions in the hidden layer and sigmoids in the output layer. T F (b) L2 r…
  • Use the 20Newsgroups data from the drive to compute¬† 10, 20, and 30 topics, using TopicModelingGUI Submit your observations about the experiment, in 3 bullet points(write your observations when using…
  • How do I write definition for a class named Kangaroo with the following methods: An __init__ method that initializes an attribute named pouch_contents to an empty list. A method named put_in_pouch tha…
  • A Python program that processes a file called¬†books.txt¬†whose structure is described on slide ‘Dataset for Q2 and Q3’, to produce output with the following structure (however, your program is allowe…
  • Background: A startup company wants to host its Python and React based application (Backend: Python API and Frontend React) using AWS. But they are not familiar with the AWS cloud platform. They want …
  • Use Python Turtle to Solve this Write the function clique(r, n) that draws n equally spaced red points on the circumference of a circle of radius r (pixels) centered at the origin, then draws a blue l…
  • At an airport, a traveler is allowed entry into the Ô¨āight only if he clears the following checks: 1. Baggage Check 2. Immigration Check 3. Security Check The logic for the check methods are given be…
  • Please use Databricks Wa_hdma dataset – https://drive.google.com/file/d/1Prd-zPTuCbeOaWhG_ewD8bg5MUug43LI/view Housing data dataset- https://docs.google.com/spreadsheets/d/17vwZTAL-5iorEElw790zxKzbEwy…
  • turtle module in How can we use python programming ?
  • URL: https://www.kaggle.com/saife245/english-premier-league Description 1 : This dataset contains detailed in-match statistics of team performances in the English Premier League (EPL) and trends from …
  • Modify the merge sort algorithm to sort a list of integers in descending order by using the following list: [5¬†¬†11 ¬†¬†7¬†¬†3¬†¬†5¬†¬†4¬†¬†7¬†¬†11¬†¬†9¬†¬†4] a)¬†¬†¬†¬†Your code with com…
    • please help to salve a program that uses input to prompt a user for their name and then welcomes them. Note that input will pop up a dialog box. Enter Sarah in the pop-up box when you are prompted…
  • In this problem, we’ll analyze some fictional tweets and find out whether the overall sentiment of Twitter users is happy or sad. This is a simplified version of an important real world problem called…
  • PYTHON PROGRAMMING Can someone please fill in the functions in this Jupyter notebook file (link to file given below). There’s alot of pseudo code to help fill in the functions with code, please someon…
  • Please refer to the image down below and program in Python. Create a new program called "PassingValues" in Repl.it. In this program, you will make a couple of functions that use parameters. …
  • You work for a small company that creates text-based games. You have been asked to pitch an idea to your team for a text-based adventure game with a theme and environment of your choice. Your game mus…
  • (3 pts) Fill in the last line (for each complexity class), which shows the size of a problem (M) that can be solved in the same amount of time on a new machine that runs twice as fast as the old ma…
  • Python Programming: Read a txt file from user and print the count of every word in the file except extra spaces and special characters.
  • Please help with the assignment: c. Override the _str_() method so it returns a string containing the employee’s name, address, phone and badge number, but not their salary. For example, the output ma…
  • Please generate your own data using numpy and pandas libraries dimension of at least 1000X5 Data should include at least one column of random categorical feature(male,female or black and white), three…
  • . 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…
  • “A businessman named Alan has an office calendar with 12 free meeting slots, numbered simply from `1` through `12`.\n”, ¬†¬† ¬† ¬† “Alan has 3 stakeholders, Liam, Mia, and Sofia that he needs to meet …
  • there are three exercised questions, can someone can help me about the entire process about these questions thanks Many e-mail servers ignore the presence of periods in the username part of an e-mail …
  • Define a business class. create constructor (__init__) to set up the business with initial values including name, address, founding year, email address and phone number. create function called change …
  • There is another solution, the function reverse() does not work.. ## Insert your answer in this cell. DO NOT CHANGE THE NAME OF THE FUNCTION. def count_examples (Data) : # # # # # # YOUR CODE HERE cou…
  • Choose the output of the following code:¬† List = [2,4,2,5]¬† List[2],List[3] = List[3],List[2]¬† List[-2] = 3¬† List[1] = List[2]¬† print(List)¬† ¬† ¬† ¬† a. 2, 4, 5, 2 ¬† ¬† b. 2, 4, 3, 2 ¬† ¬† c. 2…
  • Implement a program that requests a positive integer n and prints on the screen all the positive divisors of n.¬† Note:¬† 0 is not a divisor of any integer, and n divides itself.
  • . 41 42 43 45 47 49 50 51 52 53 54 55 56 #The following lines of code will test your class #If it works correctly, it will print 3, 2, and l #in that order, each on their own line. new_stack = St…
  • python 3, Write Python program that connects to a sqlite database. Create table called Horses with the following fields:¬† id (integer): a primary key and not null name (text) breed (text) height (rea…
  • I’m trying using Python 3.8 (Spyder). My plan is to make an interactive code that records a nurse’s annual update report. We have a similar application we use at my work for all our volunteer nurses b…
  • Assuming that the original text is in UPPERCASE and punctuation is absent, if the encoding matrix is¬†np.asmatrix(‘[-3,-3,-4;0,1,1;4,3,4]’) and the resultant matrix that represents the transmitted mes…
  • According to the dendrogram shown below, select the pair of observations which are most similar. ¬† 1)1 ¬† b)2 ¬† c)3 ¬† d)4 ¬† e)5 ¬† f)6 ¬† g)7 ¬† h)8 ¬† i)9 ¬† j)10 ¬†. 0.9 0.8 0.7 0.6 0.5 0.4 0.3 …
  • Problem 3: Plot election data Write a function called plat_iranian_least_digits_histogram that takes a histogram (as created by ones_and_tens_digit_histogram) and graphs the frequencies of the ones an…
  • Write a program that make a dictionary called favorite_places. Think of three names to use as keys in the dictionary, and store three favorite places for each person through list. Loop through the dic…
  • Write Python program to ask the user’s choice of Rock paper scissors. The program then, randomly, chooses a choice for itself (the computer) and then compares it with the user’s choice. The final outp…
  • Q1: Web-Scraping Go to website¬†https://www.cb.cityu.edu.hk/is/people/academic.html, write python program to find all the staff with title of chair professor, professor, associate professor and assist…
  • write one program that:¬† ¬†1. Uses files – open, read/write, delete to handle data.¬† ¬†2. Uses exception handling – try and except to catch and handle exceptions. Value, data Type, Zero Division, Sy…
  • Python coding 6% sales tax How do i code this in Python. Sales Tax Calculator with 6% sales tax for multiple items
  • Create a program using python or JAVA that allows the user to do some basic functions. First, ask the user if they would like to find out sqrt, log or factorial of a number, then return the results. H…
  • Specifications and Pseudocode Translate and test the first version of the program (competition_v1.py) and check how it handles incorrect data, and the impact of the dodgy data on the results (e.g. sco…
  • Finally, place both nested loops in one outer infinite loop so that your turtle draws forever.
  • Complete the function fuzzy_colnames so it behaves as described in the docstring. Keep in mind that your function should produce the correct output for any data frame that meets the conditions specifi…
  • 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…
  • A palindrome is a sequence of characters which reads the same backward or forward. For example, “anna” is a palindrome because reversing the letters gives “anna”, which is the same as when the letters…
  • RAST scale: https://en.wikipedia.org/wiki/Radioallergosorbent_test. Problem 2: Design a data definition to represent the severity of a person’s allergy (modelled on the RAST scale). Specifically, a pe…
  • A software company sells a package that retails for $200 for each package.¬†¬† Quantity discounts are given if you purchase more than one package at a time. The discounts are given by the following ta…
  • The project is called the Boring Space Dragon Adventure, because you can make the game exciting, boring, interesting, or adventurous. You can write your game about traveling to distant planets, explor…
  • I am having a much harder time than I should be having with the below, which effectively consists of taking the key of a nested dictionary, and printing it, along with the nested values associated wit…
  • I have some problem on how to solve problem, can someone please help me? If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used…
  • UCSD’s Housing Crisis The article we linked in Question 1 notes that UCSD admitted a record-breaking number of students this application season, despite the pandemic. According to data provided by …
  • .I am trying to use two microbits – one as a beacon and and the other¬†giving¬†DIRECTIONS¬†to the beacon using north, south, east, and west arrows ¬† Please provide block code or python code. You can …
  • PYTHON and documented explain Implement the __str__ method for the UnorderedList class, so that when the list is printed, it shows something like: item1 -> item2 -> item3 class Node: def __init_…
  • hi, can you please help me with this homework problem 1 createfiles download link ==> https://drive.google.com/file/d/1n9Dwh8oVHcaA-DBjR9GZgiDHwvRI62VG/view?usp=sharing instruction on how to execut…
  • Write a Python program to read and display the records in the attached coffee.txt file. After you open the file, write code lines to perform the following actions: ¬† Read the first record’s descripti…
  • Please assist, python 2.7 Part C: Networked Client/Server Applications Reread section 10.2 and run the time and day server program in server . py by clicking on it OUTSIDE of IDLE. N ow, run the cl ie…
  • Objective : Build a syntax analyzer that parses Jack programs according to the Jack grammar, producing an¬† XML file that renders the program’s structure using marked-up text. The analyzer’s output sh…
  • Write a code to create a text file called FavBooks.txt. ¬† Edit your code to take 4 inputs from keyboard. The inputs should be your 4 favorite book names. Write down those book names in the FavBooks.t…
  • Could I please get some help writing this program in Python in the SIMPLEST way possible? Thank you! My task is to form a program that incorporates a list of integers.¬†The program will have th…
  • i have wrote the dice_roll function, how can i write this program (second_stage) with loop? (wat i need to do is to contiuesly roll the dive until i got 7 or the input no,) o second_stage: This functi…
  • # Demonstrate you knowledge of the correct (best) Python vocabulary for questions 1 – 6 # 1.) A subclass is said to ______________ from its parent class. # 2.) This approach to programming models its …
  • Instruction of the program This program has 5 options.¬† The first number entered by the user indicates the option. Every option inputs a lowercase sentence from the user. ¬† ( Tip : use the split met…
  • write program to find the minimum number of notes required for the amount of M available note denominations are ¬†500,50,10,1 M=1543
  • Question: Python MRjob mapReduce I have a file consist of a list of both numeric and alphabetical words using MRjob in python, how do I output top twenty and bottom twenty words lowercase and only fin…
  • Please use Python to solve them, totally incorrect or copied answers will be send back to tutors, thank you! ¬†. import numpy as np co2Values = np. array([ [319.44, 320.44, 320.89, 322.14, 322.17, 321…
  • 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 67¬† 2016-2017 D W D W …
  • Hello, So I understand the programing side of this assignment but im kind of confused by the task. I attached pictures for part a – “a. Generate x, sin(x) for x values ranging from -2PI -> 2PI with…
  • . Pass Task 2.3P: Email validation using regular expression Task description: Use regular expression to implement a function which accepts a passed string and check if it is a valid email address. A…
  • Do not use global variables in the program. You are to develop a menu-driven program that will allow the analyses of the data provided. The user of the program must be able to obtain the average ty. a…
  • Hi, So in the code below at the very bottom I am not sure how to complete the “Instantiate CRUD object with above authentication username and password values” and “return example query” section, they …
  • What is the output of the following code segment? mystring = “Every good boy does fine.” x = mystring.find( “boy” ) y = 19 newstring = mystring[x:y] if newstring.find( “do” ): print ( “YES!” ) else : …
  • . Question 4 (1.5 points) As seen in our class, the following code generates random integers from 1 (inclusive) to 10 (exclusive) arranged in a 3-by-2 NumPy ndarray (Le, a. matrix with 3 rows and 2 …
  • DATA POINT: First, we need to copy, paste and save the file below as 10.05 Points.txt 0,0,1,1 0,0,4,3 -1,-1,3,2 0,0,1.7320508,1 ¬† While solving, we will have to use the Cartesian Coordinate system, w…
  • Highway Robbery! Use skills learned in Units 1 – 5 and include: user defined input function(s), user defined calculation function(s) and user defined output function(s) project must contain a minimum …
  • Python Case Study: Income Tax Calculator Use the water fall model and break it down in to first four phases of the software development process, and explain what they accomplish. Each year, nearly eve…
  • I try to built a table to display a compound rate using For loop by python .the table at beginning should input the start balance, year of investment, interest rate and compound frequency. besides, th…
  • Modify the merge sort algorithm to sort a list of integers in descending order by using the following list: [5¬†¬†11 ¬†¬†7¬†¬†3¬†¬†5¬†¬†4¬†¬†7¬†¬†11¬†¬†9¬†¬†4] a)¬†¬†¬†¬†Your code with com…
  • Can you please help me identify what I am doing wrong and leave a correct answer below explanation.¬† 1.22 LAB: Expression for calories burned during workout ¬† The following equation estimates the av…
  • I need help with this implementation of an AVL Tree – INORDER_TRAVERSAL Skeleton code is provided – Must be in Python AVL Tree Implementation Complete the AVL tree implementation by using the skeleton…
  • Questions What l thought about the topic? ¬† What wwee would like to shaaare about the topic? 1. Explain the relationship between wealth and health that you tend to see throughout the world. ¬† ¬† …
  • Need Help thanks. 3. (4 points) Within your code’s main portion, write some test code for both of your functions. For power_set, verify that the function works correctly for arguments of several diffe…
  • PrintPyramid UnluckyNumbers Stack Trace. #define number of stars numStars = 6 #define function – takes a number of stars and prints an upside-down triangle def printTriangle( ) : print Triangle(numSta…
  • Casting Assignment Write small program that accepts any input and converts it to an integer, include docsting at the beginning of the code. “”” Program: cast_to_integer.py Author: Your Name Last date …
  • Data set of telecom operators. Create models that focus on customer churn and evaluate models. Modeling the dataset: https://drive.google.com/file/d/1VVYGMHv8jrzSQonbBd9C90ljPtyasnbX/view?usp=sharing …
  • Please create program as per givendetails 2-Page1.png” /> . Ivy-3…..u..- -‚ÄĒ u v. u H… You are tasked with creating a text‚ÄĒbased program for simulating a Container Recycling Machine using th…
  • Problem 5: Verifying a signature ¬†You have a list of messages, one of which is from Alice, but you’re not sure which one it is. You’ll need to use Alice’s signature to figure out which message was ac…
  • It’s a python programming problem. I need to use pandas,datetime to do some data processing. https://drive.google.com/drive/folders/1SIjTRxjutHMJ7tzmM5Tq3_b1eamY0UNT?usp=sharing This dataset is about …
  • Project 1: Caesar Cipher ¬† I need the pseudocode of this project. Assignment Overview In this assignment, we are going to implement a simple encoding and decoding of text. As a result of working on t…
  • pars a string into meaningful subcomponents:¬† ¬† “Imagine a (multiline) string like:\n”, ¬† ¬† ¬†“Columbia to Launch 25 Million Dollar AI-based Climate Modeling Center\n”, ¬† ¬†“Author: Kim Martineau…
  • Question 3: OOP (Encapsulation, Polymorphism and Inheritance) Given below is a class circleType that implements the basic properties of a circle. class circleType: ¬†¬†¬†¬†¬†radius = 0.0 ¬†¬†¬†¬†¬†def…
  • Can someone lend me a hand of how to approach this? Thank you in advance for your insights! Assignment 10 – Functions In Assignment 9 you created a calculator that output among other things the sine, …
  • Please help me with my code. The first picture is what I have so far but the program says it is incomplete. Please add comments for each line so I can understand better. The program also needs to outp…
  • NEED HELP IMPLEMENTING THE FUNCTIONS WITHIN CLASS VECSPARSETFIDF: import math import re from collections import defaultdict ¬† class VecSparseTFIDF: ¬† ¬† “””This class calculates TF-IDF vector ¬† ¬† …
  • How I can get this to work ? please help All input to the program will be interactive from the keyboard. The output of the program will include: a. The name of the salesperson b. Their longevity with …
  • Background: Net present value of a set of cashflows is the total discounted value of all flows, where each flow is discounted (divided by) the interest rate compounded by time. Assuming cashflows occu…
  • Hello i have started learning Python programing from online source ,i have learnt much , I need this project to be done so i can learn that how an expert codes and flow of code,please try to make it s…
  • Explain different methods for generation of pseudo random number with python program.
  • Given code for question 1: number = int(input()) numbers = [] while number != -1: numbers.append(number) number = int(input()) target = int(input()) k = int(input()) def isExist(# define parameters): …
  • Write the code that opens an output file with the filename fifty.txt, uses a loop to write the numbers 1 through 50 to the file, and closes the file.
  • Using the DecisionTreeClassifier() on the iris data Write a program that splits a dataset into training and test set, builds a classification tree, and outputs a confusion matrix. The program should…
  • . Home x Discussion x zy Section 3.16 – CYB 130T: Object-( x zy Section 3.10 – CYB 130T: Object-( X + V X – -> C a learn.zybooks.com/zybook/CYB_130T_55317551/chapter/3/section/10 =zyBooks My libr…
  • Consider the parent process as P. The program consists of fork() system call statements placed at different points in the code to create new processes Q and R. The program also shows three variables: …
  • Question 2. ¬† (3 points) What other attributes did you use for the analysis? Explain how you used them and why you decided to use them. Provide a complete list of all attributes used. ea08b483790c2a7…
  • Which of the following data items would also make sense as an attribute of the Student Class? GPA – a float containing the student’s Grade Point Average classlists – a dictionary containing lists of a…
  • . Recall the treasure_hunt function from lecture: def treasure_hunt (mylist) : Args : mylist: list of strings Returns : Index of word containing ‘treasure’ Searches for the string ‘treasure’ in each…
  • add the following to your existing code. DO NOT re- write the whole program from scratch! a)¬†The INTERACTIVE part of the program should repeat 5 times (see sample output) b)¬†Add a message based on t…
  • 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 function called¬†print_volume (r)¬†that takes an argument for the radiu…
  • I need help to write a code for this exercise. arato.int.unideb.hu # B. front x # Given a list of strings, return a list with the strings # in sorted order, except group all the strings that begin wit…
  • For each year in which games were held, what proportion of gold medals did the host country win? You will need to combine multiple datasets to complete the analysis. ¬† This is a data analysis problem…
  • a program that will open a BLASTN (nucleotide to nucleotide search) output file, parse out specific information, and produce formatted output that will be written to STDOUT (i.e. Standard Output; the …
  • Using jupyter notebook Part 2 – Assume we have a Poisson random process in which we expect 5 arrivals per hour. Generate 100,000 random numbers reflecting the number of random arrivals in one minute. …
  • is identity : this Boolean function takes a square matrix (numerical list of lists) and returns True if it represents an identity matrix, False otherwise. An identity matrix has 1’s on the diagonal, O…
  • Need help with this API python assignment.¬† Link to assignment – https://docs.google.com/document/d/135iikgNy9jtawEwzqpmSacGibPOowSvyR1Br5su8Cgo/edit?usp=sharing. Select an API of your choice. Make a…
  • This program word_triangle.py contains two functions, iterative_triangle and recursive_triangle, which take a string as input and print a triangle of its letters. A sample run might look like this: en…
  • please help me solve this python problem. I am unable to code this program. Please help me solve it. Requirements: Structure of the Code Your application can be programmed as a single class including …
  • 1 Write a function called min num that takes one parameter, a list of integers, and returns the minimun number from that list. You CANNOT use the built-in min function. Think of the algorithm required…
  • Risk parity. Download the historical data from Aug 25, 2020 to Sept 24, 2020 of Microsoft, Google, Amazon and Tesla from Yahoo finance (e.g. https://finance. yahoo.com/quote/AMZN/history?p=AMZN for Am…
  • from sentences import get_determiner, get_noun, get_verb, get_preposition, get_prepositional_phrase import pytest def test_get_determiner(): ¬†# Test the singular determiners. ¬†singular_determiners =…
  • We often need to determine quickly whether or not some values are the same, or are different, or are in sorted order. For this first part of the assignment, you will write several functions to answer …
  • I am having trouble incorporating the random number generator into my existing function. The documentation states that: In order to model real-world traffic more accurately, this program will use a ra…
  • numpy and pandas ¬† Dataset is the df ¬† 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]…
  • Write a recursive method binary() that takes a non-negative integer n and prints the binary representation of integer n. >>> binary(0) 0 >>> binary(1) 1 >>> binary(3) 11 &gt…
  • Python Code homework The popular child’s song “10 Green Bottles” proceeds as follows: The verse then repeats with 9 green bottles, and so on until the last verse Do A function that will produce the ly…
  • 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. Please give a pr…
  • You are tasked with creating a program for a pizza shop – however, as this is a comparative languages course, you will be creating the same application in the following programming languages: ‚ÄĘ Pyth…
  • Find the number of lines in the file and assign it to "ans5" variable.
    • For this part of the homework you will write code to get valid input from the user. Your program will need to continue to re-prompt them until they provide a username that is at least 4 characters …
  • Problem 1: ¬†Write a program that will calculate the problem and stop after the condition has been met. This is an IF/THEN/ELSE problem. a=1 b=a+1 c=a+b ¬† Condition: If c is less than 5, the…
  • Using the documentation supplied as comments in the code, explain why the postcondition is fulfilled. You can assume that each code block fulfils its stated objectives. import¬† copy def¬† extend_part…
  • Write a python script to do the following tasks. Attach the python script as well as the screen shot of your execution. Before createfremoye any directory, you need to check if that is already exists …
  • Write a program that implements the pseudocode below: Ask the user for amount of social media followers they have. Compute and output the their influencer tier as follows: ¬†– Error if followers less …
  • COMPUTER SCIENCE : CSIS-152 HOMEWORK 2 Write program to compute payroll information for an employee. Input: The program should ask the user for the following: 1.¬†¬†¬†¬†¬†¬†Social Security Number 2.¬†…
  • Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. Auxiliary highways are numbered 100-999, and service the …
  • Create a Python program square . py that first reads any integer (larger than or equal to 3) from the keyboard and then prints a non-filled square of the type pre- sented below. An error message shoul…
  • Please explain the answers. Question 1 How does the reverse_str function improve the following program? def rec_reverse_str(st, pos): Returns a new string that is the reverse of st When first called, …
  • To demonstrate pandas skills and ability, answer these questions: Are Americans facing an increasing, decreasing, or steady likelihood of death? What are the four leading causes of death for Americans…
  • . 1. Find the second largest number Compose a function, second_largest, that satisfies the following: The function second_largest finds the second largest value in a list of unique numbers. You m…
  • PYTHON Get a .txt file and read its lines (with a for loop). Then you need to save the (x,y) pairs read from the file. When you’re done, sort them all, and print them out, one per line. Assuming that …
  • I need help with this assignment in Python. Can you provide an explanation as well? PART C A just number is a positive integer that contains no odd digits (i.e. all its digits are even). For example, …
  • Hello! I’m trying to get a bar graph using data from a csv. I’m having trouble with bar plots and I’m trying to get the number of genres the data file has. Do I need to do something before this? Here’…
  • Trees and back arcs in a DFS for the above input and output template, programming language: python. 3. Tree and back arcs in :1 LIFE For a given set of digraphs, write a program that performs DFS on e…
  • Build code segment to print a two-dimentional 5×4 array (i.e. grid). The elements of the grid should be randomly selected from the inclusive interval [-50, 50]. Set the seed to 1 to reproduce the resu…
  • An object of type Car is available with the following methods: ¬† year(): returns the year the car was built price(): returns the price of the car Write a function called new_cars(cars_list) ¬†that re…
  • . Store and print the deviation from mean of elements in each list In [ ]: # Create a new List called deviation_1 A Store the deviation of each of the numlist_1 elements from mean_1 # print the List…
  • Please help with the following PYTHON problem :). In the space below, write a recursive Python function removeOddDigits (s ) that takes in a string s as its parameter and returns a string with all odd…
  • Modify this code should display only those students who have more than 60 credits and have a GPA of 3.5 or more. Also, when a student does not meet the requirements note who does not meet this in outp…
  • 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…
  • Getting the data ¬† Data sources ¬† List of New York counties ( https://www.newyork-demographics.com/counties_by_population ) Population of counties – 2020 census (same source as above) GeoJson file w…
  • calulate the sum of this number n = 2.8546721 using the function “math.fsum” in python
  • Suppose passengers arrive to a bus stop according to a Poisson process with rate 2/min, while buses arrive to the bus stop deterministically every 10 minutes. Generate a stream of 50,000 passenger arr…
  • I know I can write a function to perform some task, whether it be calculations, repetition, etc. What I don’t know is this: Sometimes, instead of directly assigning literal values to local variables, …
  • Can someone help modify the tcp client-server program to have the connection between the client and the server to go on until the user enters bye?¬† ¬† server.py ¬† from socket import * serverName=”lo…
  • How to compose a Python program that and reads text from a file (does not process punctuation), encrypts it with a Caesar Cipher, and displays the encrypted text?
  • Urgent!! Please help!. # PART 1: Complete the function make_rank_from_range below so that it # works correctly as described in the docstring. You may NOT change the code # pieces that have already bee…
  • R Programming How would I write the code to answer these questions? Given the CVS file looks like this: QUESTION 1 For the Cross Tab analysis to test of independence between netdome (“I don’t have a c…
  • Write a python program that does the following: 1. Reads a ‘numbers.txt’ file (2 lines at a time) that contains numbers (integers) 2. Reads a ‘operators.txt’ file (1 line at a time) that contains oper…
  • Part A: WORD & 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…
  • Module 4 Required Coding Activity – Python Fundamentals ¬† Be sure to complete the tutorials and practice for this module prior to attempting this activity. Assignment Requirements NOTE: This program …
  • . Exercise 1 You are required to formulate the game Reversi as a reinforcement learning problem in a simple formulation. The formulation should be as precise as pos- sible. Below are conditions on t…
  • #this code was based on the problem seen on the attached picture #THIS CODE NEEDS TO HAVE A GRAPH USING MATPLOTLIB. I NEED A HELP WITH IT. IF YOU CAN CODE SOMETHING THAT IS BETTER WITH THIS THE PLEASE…
  • Q 1: Problem Description [10+2+3+3+2 =20 Marks] Stuck in the lockdown, a group of friends decided to do something fun remotely. They explored different apps and games to play online but one of them su…
  • **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…
  • Help with a program for course registration.¬†Students can use this program to add and drop courses.¬†There should be a loop in the program that tells the user to enter A to add course, D to drop cour…
  • please fix my code and focus on the expected results screenshot.¬†https://imgur.com/a/MFTXMAs here is my code: girlList = [] with open (“d:\\Python\\GirlNames.txt”) as bh: ¬†¬†for name in bh: ¬†¬†¬†¬†…
  • The question is related with the Artificial Neural Network Course. Subject is (Perceptron Learning Rule). Could you obtain code on Phyton? It should run 9 cycle in code.
  • This is the first part of the problem. In more complex programs, it is good practice to get one part of a program working before moving on to the next part. A guide for doing that is below: (1) First,…
  • this is information ..there are two other parts to this question uploaded seperately.. please also see them and answer completely .. thanks … Extension: Protein Folding and Self-Avoiding Random Walk…
  • Write a program that removes all vowels from a string and displays the modified string.¬† Your program will prompt the user to enter a string (a word or phrase).¬† Once the string is entered, the prog…
  • if i have [‘country’, ‘try’] how do i translate to [‘countyeeh’, ‘tryeeh’]?
  • A farmer, wolf, cabbage and goat have to cross a river using a boat that can only accommodate two entries at a time. Wolf and Goat cannot be together without the farmer( or wolf would eat the goat ). …
  • Hi, I am having trubble finding the top 5 states by population and graphing the resoultes in a bar graph. Python command line menu-driven application that allows a user to display, sort and update, as…
  • I want to solve this problem: Problem: Object-oriented programming In a simple mortgage one borrows money from a bank and makes a fixed-size payment each month for the life of the mortgage. At the end…
  • Some researchers are investigating whether a drug that has been tagged with a short DNA sequence, t, would be able to bind to a longer DNA sequence, s, from a cell. To do this, they want to know the n…
  • Help on my python assignment!! Compose a program that calls a function to decide whether the average is a passing grade. Grade total and the number of grades is captured in main and passed to the func…
  • please help me with this question. Problem 22: Write a function called reverse_vowels. This function should reverse the vowels in a string (USER INPUT). Any characters which are not vowels should rema…
  • For CMU CSP I am working in 3.3.5 Hiding Hippo, and this is currently the code I typed.¬† ¬† ¬† app.background = ‘navy’ hippoFace = Group( ¬† ¬†Circle(240, 150, 20, fill=’lightPink’), ¬† ¬†Circle(160,…
  • A university conducted a survey of its recent graduates. The university wanted to measure the quality of a new Engineering course. A survey was conducted during the first offering of the course to eva…
  • You must include a docstring and comment in your code!¬† I require comments explaining your code and a docstring to aid users with the function’s intent.¬† A description of the logic is required.¬† ¬†…
  • . Our task is to build an interpreter for a simple Python program with a limited syntax, simulating the computer’s execution. Let us start by interpreting an input text file consisting of a sequence…
  • I don’t know how to do this. Please show me how to do this because I’m just lost Ask the user for a sentence. Using a for each loop, look at every letter in the sentence in order to count how many tim…
  • The pandemic is over and you decide to take a much needed vacation. You arrive in a city called Geometrica, and head to the bank to exchange N dollars for local currency. In Geometrica they have a cur…
  • You should come to the lab with a program that does the following: ‚ÄĘ Presents the user with the following options: – A – Add a new grade – R – Report – Q – Quit ‚ÄĘ If the user chooses A, the system…
  • I have imported a text file into python into a dictionary form. The first line of each paragraph is the key and the rest is the values, separated by ‘\n’ and ‘\n\n’. As I have made changes to certain …
  • def average_height(heights: List[int]) -> float: ¬†¬†“””Return the average height in the given list ¬†¬†of heights, ignoring any values that are less¬† ¬†¬†than 0. The list will have at least 1 non…
  • how to make a function that will Determine the Distance from Potential Zombie We will define the distance from potential zombie as the longest contact tracing path downwards in the data set from a sic…
  • Assuming that the original text is in UPPERCASE and punctuation is absent, if the encoding matrix is¬†np.asmatrix(‘[-3,-3,-4;0,1,1;4,3,4]’) and the resultant matrix that represents the transmitted mes…
  • . The last four digits of the card_number column . A column that displays an X for each digit of the card_number column except for the last four digits. If the card number contains 16 digits, it shoul…
  • If you’ve taken Calculus II, you’ve probably encountered Simpson’s rule for approximationg definite integrals. The calculation is similar to trapezoidal rule: [‘s(a)day (15(20) + 45(21) + 25(32) + 4f(…
  • . Problem 1 Write a while loop that lets the user enter a number. The number should be multiplied by 10, and the result assigned to a variable named product. The loop should iterate as long as the p…
  • (DISCUSSION: Dictionary Methods) Briefly explain the operation of each of the following dictionary methods: add keys values items 2. (WHAT’S WRONG WITH THIS CODE?) The following code should display …
  • Template ¬† “”” A driving range for test-driving instances of the Car class. “”” from math import cos, dist, radians, sin import random import tkinter as tk from tkinter import ttk from car import Car…
  • Flag colours ‘blue’, ‘white’, ‘red’ ‘blue’, ‘white’, ‘red’ ‘green’, ‘white’, ‘red’ Table 1. consonants= [‘Bravo’ , ‘Charlie’ , ‘Delta’ , ‘Foxtrot’, ‘Golf’ , ‘Hotel’…
  • Stage 1, 2, 2a are there for context, I need help with Stage 3. Code up until stage 2a that I am having is below: ¬† print(“\nResults”) # List to store divers data such as name and five scores divers …
  • pls help me The equation ph = -log(C) is used to calculate the ph-value of an aqueous solution, where C is the hydronium ion concentration. To determine the type of solution in our experiment, we divi…
  • # Welcome user to game print( ‘Welcome to the K-9 Cop Text Based Adventure Game!’ ) def intro () : print( ‘Collect 6 items to win the game or get chased by Kilo the K-9 Cop!’ ) print( ‘Move commands a…
  • How do I scrape all posts from the Inspiron sub-community (link: https://www.dell.com/community/Inspiron/bd-p/Inspiron?ref=lithium_menu)? I need to find discussion title, author of the question, time …
  • Solve using Python. The dimensions and boundary conditions of the cylindrical catalyst are as follows: R (the radius in r) = 0.4 m L (the length in z) = 1.0 m k (rate constant) = 0.0179 1/s D (diffusi…
  • i need python code for this question¬† i need code which i can copy paste in my ide . …….. ….. ¬†. Example 4 Set weights Wi and nodes so that the approximate formula f(x)da = wif (21) + w2f (12)…
  • In your own words, describe the relationship between classes and objects
  • Question 1:¬†Raptor flowchart. Pseudocode. Python.¬† The number N factorial, denoted by N!, is defined to be the product of the first N positive integers: ¬† N! = 1 √ó 2 √ó . . . √ó N For example: ¬† …
  • I need some guidance on how to get started on this project that I am doing. you know, a big problem in today’s exchanging messages among people is the spam email. It is a major problem and it holds a …
  • This lab gives you practice writing programs similar to the ones in Chapter 3 of the course text:¬† Introduction¬†to¬†Computation¬†and¬†Programming¬†Using¬†Python ,¬†by¬†John¬†Guttag. There¬†are¬†ten?…
  • . l m I 99.1: Enter the output of classes as numeric types. D 375510.2331213.q132w7 Jump to level 1 Type the program’s output Active
  • In question 4, I put the code from this document, but it returned the following error: ————————————————————————— NameError ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† …
  • . 3. Write and test the following function: def interest_payments (principal, rate, payment) : Prints a table of monthly interest and payments on a loan. Use: interest_payments (principal, rate, pay…
  • Write a program using flowchart (or python, c++) that computes for the average of scores of a student. Scores accepted must be between 0 to 100. Sample console: Enter test scores from 0 to 100. To end…
  • plz solve this as soon as possible. language is PYTHON. plz plz plzz do include the pseudcode and flowchart alongwith the source code. GUI is not necessary. Part A: Pizza Ordering System You are requi…
  • A set is a data structure that stores elements. You can use the hashing technique to implement a set to achieve O(1) time complexity on search, insertion, and deletion for a set Group of answer choi…
  • ITP-150 – Module 5 – Assignment – List of Counters – Instructions Recall the third looping problem from our last assignment: Simulate rolling a 6-sided die. This time, do not print the number that was…
  • This is the whole question. Need code in Python. DO NOT ASK FOR MORE REFERENCE!. Recall the Davis-Putnam algorithm, we can use it to search for a solution to the Satis- faction problem. One of the req…
  • Write a function that computes the following recursive relation for a given n : A (n) = ( 2 * A (n -1 ) + A (n -2 ) ) /2 where A ( 0 ) = 1 and A ( 1 ) = 2 def A (n) :
  • https://docs.google.com/spreadsheets/d/e/2PACX-1vSMXUFqBQrah1et2sOMieg1R8sNuIcOVkXt846HG-690ZWMIrhJE_HOy5gk5lg5Aw/pubhtml Explore the data ( for example look at the data, plot graphs ( histogram, pair…
  • In a file named exam_divide_and_conquer . py, create a function, do_max that takes a single argument (elements), which uses the divide and conquer algorithm strategy to find the maximum value in an un…
  • Quiz Grading App quizGrade.py You have been asked to write an application that automatically grades a quiz. The quiz has 16 multiple choice questions. The correct answers are: I. A 6. D 11. B 2. C 7. …
  • please assist List the top 10 distribution centers that have highest number of delayed deliveries? Show the distribution center ID, the city, the center’s zip and the number of delayed deliveries. ( U…
  • I’m just wondering how to get the approximation of the value of e by python by using the continued fractions.My code doesn’t turn out right. 3ALgoritnmzcomputes an approXimation tor the vaLue or e u51…
  • Use Python Language Postfix to Infix using Stack Develop a stack application that can convert Postfix notation to Infix notation using the following algorithm. In your stack application, you can use o…
  • A research laboratory was developing a new compound for the relief of severe cases of hay fever. In an experiment with 36 volunteers, the amounts of the two active ingredients (A & B) in the compo…
  • see the attached picture. write a function grade_stats that as a patameter a list representing Collections Programming Write a function grade_stats that accepts as a parameter a list representing the …
  • . 1 of 2 Spring 2022 CIS 524 Project 2 (Due Mar. 21) In this project you are asked to write an interpreter which uses the top-down recursive-descent method to parse and evaluate a very simple progra…
  • Random number Guessing Game Rock, Paper, Scissors Game Requirements of Project Write the Pseudocode Draw the Flowchart Write a program using Python programming language that lets the user play the gam…
  • Implement a function matrix_mul (A,B) to multiply two matrices. The function must return a resulting matrix or raise an exception if multiplication between A and B is not possible.
  • Create a class of name person that has the following data attributes: First name: First name of person Last name: Last name of person 2. Create another class of name employee that inherits person c…
  • Need to do 1.¬†¬†¬†¬†¬†¬†Populate a list of size n = 25 with random integers in the range 10 —- 60 inclusive but do NOT include any duplicates.¬†The list of n integers should include only unique val…
  • how to write this formula Week. “FORMAT(‘Calendar1′[Week Start Date1],”M/D/YY”)& “-” &FORMAT (‘Calendar1′[Week End Date1],”M/D/YY”)” using query editor in power bi?
  • Using the full python code below, please answer the following questions using python code: ¬† (i) Fit a KNN classifier on the transformed data set. Here k is a hyperparameter, and you can experiment w…
  • For handing in: ¬†A text file explaining the bulleted backprop algorithm, your pseudo-code implementation in python of back-prop, delta-update code for the neural network weights with properly comment…
  • What is the output generated by each of the following pseudocode¬†segments: a. a=1 b=2 c=5 while a < c ¬†¬†¬†a = a+1 ¬†¬†¬†b = b+c endwhile output a, b, c b. d=4 e=6 f=7 while d > f ¬†¬†¬†d = d …
  • If your car gets 27 miles per gallon of gasoline and you drive it 1,000 miles per month, how many gallons of gas will you use in that month?¬† ¬† ¬† ¬†¬† gallons
  • Question 1: Lilliputian Library¬† Your friend is running a small library in their front yard, and they keep an inventory of all books¬† in the library. They would like you to write a program that will…
  • Define a function¬†lineStats() that takes one parameter: ‚Äč-¬†paragraph, a string of words and white spaces The function returns a list containing the number of vowels in each line. for¬†example,…
  • class Motorcycle: def¬† init ¬†(self, model, fueltank_cap): self.model = model self.fueltank_cap = fueltank_cap self.distance = 0 self.fueltank = 0 def refuel (self): pass def reset (self): pass def m…
  • Grades txt below¬†. COMS-170: PROGRAM PROGRAM 6: FILES AND EXCEPTIONS OVERVIEW Most programs store and read information each time they are ran. So far, we have created programs that only operate at ru…
  • Define the class method ‘__init__’, which initializes an instance of ‘MobileInventory’ and accepts an input through the argument ‘inventory’, and assigns the value to the attribute ‘balance_inventory’…
  • Task 1. Load data in NumPy Array (4) Write a function load mydata (filename) that considers filename (type string) as input. The filename should be a csv (comma separated values) file with the columns…
  • Write a python program without a function that does the following:¬† Prompts the user to enter four delimited numbers in one request.¬†¬†¬†¬† Be sure to tell the user in the prompt what delimiter you …
  • Which of the following is the correct expansion of list_1 = [expri) for i in list_0 if func(i) ] ? O a. list 1 = [ O b. list 1 = for i in list 0: if func (i) : list 1. append (expr (i ) ). O C. for i …
  • What would be the output of the following code in python? ¬† print(1) if(True & False) ->>print(2) Print(3)
  • Load the CSV file (using Python).¬† ‚ÄĘOutput the total number of rows and columns. ¬†‚ÄĘ Output the number of non-null rows (by column).¬† ‚ÄĘ Output the number of null values (by column). ¬†‚ÄĘ Ou…
  • QUESLIVII S ( 1 PUIIIL) Mr. Campbell wrote the following piece of code: w while number < 5: print(number) 6 number = number – 1 What mistake did he make? number should increase, not decrease O Ther…
  • this is all the code i have for this problem im lost on how to make it work¬† Rankine code¬† from steam import steam class rankine(): ¬† ¬† def __init__(self, p_low, p_high, t_high=None, name=’Rankine…
  • I want to make a character line up perfectly with a total of 80 characters from the beginning to the end (ex. 6 * 6 36) where from the first six to the last 6 in the 36 there are a total of 80 charact…
  • How do I upload a file from my local box to Amazon Web Service (AWS) EC2 directory
  • There is a file lets call it the.faa. It contains all of the polypeptide coding sequences in the E. coli K12 genome in FASTA format. Your task for this exercise is to generate an amino acid usage repo…
  • hi kindly assist me no importing anything¬† Doctests and method headers below Question 4: In this question, we will be implementing classes that abstract different weapon types in the game VALORANT. D…
  • (what two mistakes are here in python code) ¬† for num in num_list: if num % 2 == 1: nums_list.remove(num)
  • I dont understand how to write this function in python.¬†. 4. [60] Putting All Together While the textbook provides solutions and simple implementations to the previous problems, in this part, y…
  • . Task 3 . By clicking on the map, give the user the option to Add a new event, or Retrieve information. If Adding, use a subform to obtain the relevant information (see figure below) and insert int…
  • I need help to code a program in python that reads a character, then reads in a list of words. The output of the program is every word in the list that contains the character at least once. Assume at …
  • In this assignment you will solve the N Queens problem. The problem is to place N Queens on an N X N chess board so that no 2 queens attack each other. In chess a queen attacks another queen if they a…
  • what are the answers to this problem using python programming? 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, CE). Then p…
  • Instructions : Write a program madlibs.py to automatically generate madlibs stories. Your main() function should define lists of ~25 words for each different type of wordslot in the story below (a lis…
  • can you please help me make a code for this one. def mark2grade(number): ¬†¬†mark = int(number) ¬†¬†# insert code below to convert marks to letter grades, ¬†¬†# do not add any extra return statement ?…
  • Need solution for the following Questions: ¬† Q3- Design the learning curve and talk about what you see. ¬† Q4- Explain these graphs. If you see any issue, suggest a solution to resolve it. Make the m…
  • I am doing a machine learning module on my computer science course and one of my lab questions asks us to compare our multi layer perceptron classifier to the ensemble classifier using using 2 metrics…
  • Programming Principles Assignment: Individual Programming assignment (“Dice Game”) Assignment Marks: Marked out of 20, (15% of unit result) Background Information This assignment tests your understand…
  • Give code for a python program to check a given number is even or odd
  • The main purpose of this problem is to gain a deeper understanding of the back-propagation through time algorithm for a recurrent neural network via an example. We will use the recurrent neural networ…
  • PYTHON PROGRAM Note:Machine Problems: import of numpy/tabulate modules is not allowed Note: Do not use Global Variables – Miss Cruz gives a series of exams during the semester in her Python class. At …
  • I cannot get the expected outcome. I input Jeanne as the first name, Hanson as the last name, Salary as 70000.00, and Rating as 2. The outcome should be Jeanne Hanson Bonus of $10500. This unlock did …
  • In Python construct a recursive function getJpgDir () that takes a string representing a name of a directory as a parameter and returns the full name of the first directory that contains a file in JPG…
  • # Display all rows that have ID greater than integer n def display_gt(self,n): # —— Place code below here \/ \/ \/ —— # ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ Place code above here /\ /\ /\ ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ
  • My question: How to change my ContactList __str__ method to return a value error if wrong. I thought I understood how, but I was wrong. I feel like it should be simple, but I could be wrong like I was…
  • hello can someone code a machine learning algorithm for a restaurant in python? there are no specifications to the homework, this was just the instruction, which I have no idea of. and the teacher onl…
  • Using a predefined abstract data class for a QUEUE, such as¬† ArrayQueue, which we defined in class, write the code to perform the following: ¬† create 2 Queues called Q1 and Q2 that contain character…
  • Can someone write me a program that will use Python to interact with a web API (Application Programming Interface)to dynamically collect weather information from a Natick, MA weather station and displ…
  • In Python what is the difference between the interactive mode in the interpreter and script mode?
  • What is a function prototype? When is a function prototype necessary?
  • To display an error dialog named “Variable is not assigned”, use __________ Group of answer choices tkinter.messagebox.showinfo(“showinfo”, “Variable is not assigned”) ¬† tkinter.messagebox.showwarnin…
  • Write pseudocode to describe an efficient MapReduce algorithm (mapper and reducer) that allow to merge those datasets to provide a relational dataset with all initial data from a rides dataset along w…
  • Please make some comments in each section of de code or class. You’ll create the following classes using inheritance: o¬†A base class called Pet o¬†A mix-in class called¬†Jumper o¬†A Dog class and a C…
  • I need a function largest_pow2(n) that takes a positive integer n and that uses a loop to find and return the largest power of 2 that is less than or equal to n. The function should find the appropria…
  • Checkpoint 2: Parsing some files Copy your file from checkpoint 1 to a new file called check2. py. We will not use the function you have just implemented in this part, but it is good to keep it around…
  • Write a function flatList(lst) to make a flat list out of a list of lists (20 pts). Test case: test_list = [[70, 20, 30], [90, 100, 30], [90, 70, 60]] print(flatList(test_list)) [70, 20, 30, 90, 100, …
  • Hello, could someone please help me figure out what the errors are in my code? Thanks in advance. Question Four Write a Python program that accepts a list of passwords (separated by commas) from…
  • picture python programming QUESTION # 1 In one concise sentance or phrase, please describe what the following functions return. Assume all import statements are made and all variables are declared and…
  • Use and call functions Call a function with a parameter Import the random module Use if/else if/else statements to determine the flow of the program Comment your code Debug your code Test your code Sc…
  • I’m trying to solve this project in python language using pycharm ¬†I’m trying to solve this project in python language and wanted to get a result like the attached picture but I am getting an error. …
  • . Write a program that: 1. prompts the user to enter his name. 2. welcomes the user to the program. 3. prompts the user to enter four Ô¨āoating-point numbers. 4. prints the largest and the smallest …
  • Please assist. I believe what I have for total =+ numbers in c is the answer for number 4 a. Is there a different way to sum the total of the inputs? c) Complete the following program to average a col…
  • Please note that the fLReplace function should take three arguments. Original String, old Substring to be replaced and the new Substring to be replaced with where f is the first alphabet of the first …
  • simple code please: ¬†input a code to iterate over all multiples of 3 between 0 and 100 (inclusive), and print the ones that are divisible by 2. Use the range() function to obtain a list of multiples …
  • The first script for today will use a while loop. Ever been in trouble with a¬† parent or teacher or cow, and they gave you until the count of ten to do whatever?¬† That’s what your script is all abou…
  • will give high rating if correct! Python Activity:¬† Given: (see pic)¬† Code for copy (Template – see below the picture)¬† class MinHeap: def __init__(self): #Filler for zeroth element to have the act…
  • this is a hackerrrank exercise ¬†. DNA sequences are strings made up of the letters: A. T. G. C: they stand for the names of the 4 nucleobases (often shortened to just bases) that may appear in natura…
  • please do not use another answer from course hero. this is a different problem than all the other ones on the internet. thank you. ¬† **given code to begin with** from tkinter import * class MyFrame(F…
  • Task 01 In this task, we’re going to build a Fibonacci sequence generator function with our while loop. Specifications Begin by considering the following statement: lastnum, curnum = curnum, lastnum +…
  • I wrote a code an get an error for this and im not sure how to fix it: ¬† midtermMarks=[48.0, 64.25, 71.80, 82.0, 53.45, 59.75, 62.80, 26.5, 55.0, 67.5, 70.25, 52.45, 66.25, 94.0, 65.5, 34.5, 69.25, 5…
  • how to write a python program that returns a password that is composed of your ID and Full Name after being scrambled and ignoring any spaces.¬†¬† ¬† Example:¬†If your ID is 123 and your full name is …
  • This program will simulate the game of Mastermind. This is a board game in which one player chooses a secret combination of four pegs (usually choosing from six colors).¬† The other player than makes …
  • Task 1: Basic Calculator <¬ß2.1 Conditionals; ¬ß4 Functions> Implement a function calculate(x, y, operator) that takes three arguments: two integers, and one of ‘+’, ‘-‘, ‘x’, ‘/’. The function …
  • This is python. Please let me know how to make python programming for this. Activity #1 : Writing and testing a larger program – To be done as a team In engineering and science, it is common that we w…
  • Package Newton’s method for approximating square roots (Case study 3.6) in a function name¬† newton . This function expects the input number has an argument and returns the estimate of its square root…
  • Python Code Basic No Imports: ¬† ¬† Implement a function endsWith that accepts two arguments, a target string and a list of words. The function returns a list containing all words in the list of words…
  • Complete the following Python code (the condition for¬†if) to find and print the¬† last index ¬†of the maximum value in the¬†aList. Assume that¬†aList¬†is already initialized as a list with¬† duplic…
  • The Node-Packing¬†decision problem may be stated as follows: given an undirected graph G=(V, E) and an integer K, is there a subset S¬†‚äÜ V with |S|‚Č•¬†K such that each edge in E is incident to at…
  • phyton project ¬† ¬† C3PO has arrived at BHCC and you are instructed to chat with him while he is waiting to meet up with his other pals from the Millennium Falcon.¬† You are going to have C3PO respon…
  • How do I split a list of strings into a list of integers? For instance, lines = [ ‘11221222’ , ‘13221121’ , ‘14421441’ ] output = [[ 1 , 1 , 2 , 2 , 1 , 2 , 2 , 2 ], [ 1 , 3 , 2 , 2 , 1 , 1 , 2 , 1 ],…
  • 4) Try to well document your codes using comments (10 points) In Python, there are two ways to annotate your code. 1) The first is to include comments that detail or indicate what a section of code -…
  • Learning Journal Unit 7 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 me…
  • Question 10 Assume the variable country stores the string ‘United States’. What is the value of country [2 ] O s Oi On OU A Moving to another question will save this response.. Question 9 On which lin…
  • help me with these two codes Exercise 1: Write a program that reads a number from the user and then constructs the following pattern depending on the entered number as shown below Hint: use a nested f…
  • def change_last(self, v: int) -> Optional[int]: ¬† ¬† ¬† ¬†“”” ¬† ¬† ¬† ¬†Change the last node in this linked list to contain v, and return the ¬† ¬† ¬† ¬†value that used to be there. ¬† ¬† ?…
  • 1).¬† The Drunkard’s Walk A mathematical process known as a¬† random walk is used to describe many physical and biological phenomena such as diffusion, Brownian motion, animal foraging, etc.¬† A¬† ran…
  • I need to use my last week’s code to add to it this week. Here is my last weeks code: print(‘Welcome to my Guess the number program!’) count = int(0) #Generate a random number number = random.randint(…
  • 1-A program that converts a color image to grayscale. The user supplies the name of a file containing a GIF or PPM image, and the program loads the image and displays the file. At the click of the mou…
  • how do I get this to print the four lines? def purchase(): ¬†¬†purchaseAmount = int(input(“Enter purchase amount:”)) ¬†¬†calculate_stateTax(purchaseAmount) ¬†¬†return purchaseAmount def calculate_stat…
  • I am running code for a python class. ¬† counter=0 x=str(“was founded in the 20th century”) for value in umSchools. values(): ¬† ¬†if int(value)>1900: counter+=1 ¬† ¬†newerSchools = str(umSchools.k…
  • I need someone to help me with a python programing assignment for me. I am willing to pay $50, for it, let me know if you can do it, I will send you everything you need. P1: Quiz Z, extended . In this…
  • Businesses or companies can fall prey to default if they are not able to keep up their debt obligations. Defaults will lead to a lower credit rating for the company which in turn reduces its chances o…
  • Object oriented concepts What is the combining of data and code in a single object known as?
  • Maya Aztec pamahalaan,ekonomiya,relihiyon,kontribusyon
  • Source: https://archive.ics.uci.edu/ml/datasets/covertype¬† ¬†. This dataset contains a variety of cartographic variables (features) and the forest cover type (the class). The features are a mixture o…
  • Question 1 Which language does a computer know? A. Java B. C++ C. high-level D. machine language 4 points Question 2 Misuse of a language’s grammar rules is called a(n) ____ error. A. illegal B. log…
  • positive_words = [“amazing”, “appreciate”, “awesome”, “beautiful”, “best”, “brilliant”, “celebrate”, “cheer”, “cool”, “delicious”, “eager”, “enjoy”, “fortunate”, “fun”, “glad”, “good”, “happy”, “kind”…
  • back to top A local sports club needs a membership fee calculator program to help their staff calculating the fees for their customers. The base annual fee may vary each year, so the exact discount am…
  • Here is the question and a sample solution. I don’t really understand what that sample solution is doing, could you please make it clear? Thank you! Part B1: Bounded Lists def lex_suc (bitlist, upper_…
  • Using turtle graphics make a 6 point star Python programming
  • In this module you learned about object-oriented programming. You learned about how to create classes and instantiate those classes as objects. Design the wireframes and storyboard¬†object dictionary …
  • Do the following comparisons using indexing: . Check if the second value of list_1 is one of the last three values in list_3 (Hint: remember operator in ) . Store the result in comp_result_1 . Check i…
  • Chapter 8 is a short but very important chapter concerning Strings and String manipulations. In particular, to be able to use the many built-in Python string methods. Table 8-1, Table 8-2, contain a t…
  • Optimize a Function ¬† Create a wrapper function my_opt(A, b, method) that takes as input a matrix of values A and outcomes b and tries to fit the best line ūĚ϶ūĚõĹūĚĎč that approx. the data either…
  • Can one block of except statements handle multiple exception?
  • python code to build a decision tree with several depths using a train and test dataset from scratch
  • Please perform the following steps to build linear regression model. (Do not use In-built linear regression function) Split the dataset (80, 20) into training and testing set. Train a Linear Regressio…
  • Can someone show me how to plot 2 basic graphs in the same plot using R programming?
  • Add / modify code ONLY between the marked areas (i.e. “Place code below”). Do not modify or add code elsewhere. 2. Run the associated test harness for a basic check on completeness. A successful ru…
  • CSC 325¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Organization Of Programming Languages¬†¬†¬†¬†¬†¬†Fall’20 Conversion To Postfix. Answer All Questions.. Please show all work / steps for each proble…
  • Suppose you have a deque D containing the numbers (1, 2, 3, 4, 5, 6, 7,8), in this order. Suppose further that you have an initially empty queue Q. Give a code fragment that uses only D and @ (and no …
  • THE PROBLEM COVID-19 Vaccination Corona Virus Pandemic situation is not hidden from anyone in the world. The situation is coming into control after the release of Covid-19 Vaccine. Let us assume that …
  • Write a program in python that reads the student information from a tab separated values (tsv) file. The program then creates a text file that records the course grades of the students. Each row of th…
  • 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…
  • This assignment is to use wxPython on Python version 3.7.4 to make a shipping calculator. The total cost will vary with package weight, shipping speed, and any extras the user might request. The layou…
  • Below are the URLs for three geospatial data files stored in the cloud. ¬† https://www.dropbox.com/s/x5toufwueq6bkuj/Borough%20Boundaries.zip?dl=1 ¬† https://www.dropbox.com/s/51fe39ttwjygr74/Subway%2…
  • #graph.py class Graph(object): def __init__(self, graph_dict=None): # initialize a graph object # use an empty dictionary if no dictionary is given self._dict = graph_dict if graph_dict!= None else {}…
  • Import the chipotle.txt file, and save it in variable chipo. To load this file using read_csv() function, you need to provide another parameter: read_csv(‘filename’,sep=’\t’) 2. Try the following …
  • Using Python: Evaluate the Na√Įve Bayes model on the¬† framingham_nb_test ¬†data set (attached below) . Display the results in a contingency table. Edit the row and column names of the table to make t…
  • Use Python ¬† Implement a function that will plot a 2D hyperplane (as a line) with a given normal vector and bias. w¬†=¬†np.array([1.0,¬†1.0]) and b¬†=¬†0.5 ¬† ¬† ¬† ¬† An output like this should be p…
  • Write pseudocode and program structure for the problem given below;¬† Problem: Reads in three numbers and writes them all in sorted order.
  • I am working on a python code and I am getting the error “SyntaxError: ‘continue’ not properly in loop.” Is something wrong with the indentation in my code? import requests from bs4 import BeautifulSo…
  • Question no 1 data link please https://drive.google.com/file/d/1kshBCskH2qiWJ_FwIIxCrgGhvDrJTrcR/view?usp=sharing ¬† 1) plot the graphs of raw data and find there is any gaps/errors and missing values…
  • I need to return the top 10 pickup-dropoff location pairs having the highest number of trips (count). The location pairs should be ordered by count in descending order. If two or more pairs have the s…
  • . Colonial Adventure Tours calculates the total price of a trip by adding the trip price plus other fees and multiplying the result by the number of persons included in the reservation. List the res…
  • The Task is to write a Python code. Output should be a tuple with the Filename, index, length and peptide sequence of the longest open reading frame of the file. The File is a Fastafile, meanin…
  • I need help with this code in python. int randWalk(int oldValue, int updateSize) ; Inside your function definition for randWalk, write the code for randWalk to take an integer value and modify it by a…
  • How to find minimum and maximum values in an array without using ‘for value in arr:’ or ‘min(arr):
  • In the case of second-order differencing of train data for time series, do we need to use the differenced time series for building ARIMA/ SARIMA model, or do we need to use the original train data onl…
  • So my code is not giving me a result indicating an error. can someone tell me what I did wrong for # 5. succeed in these tasks. An experiment was conducted providing evidence that infants younger than…
  • WebForms&UI.py I am working on this assignment ¬†CST 111 ¬†Topic 4 WebForms&UI.py. ¬†using JES Python Here is my program:¬† def addPost(): ¬†file=open file=open (“c:/inetpub/wwwroot/iisstart.h…
    • suppose you have 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 …
  • Question 1: ¬† Complexity is an important concept in coding as we want our code to be as efficient as possible. This is especially important for games such as Dota 2, where players perform split-secon…
  • While preparing this problem set the jury has run into the following problem: it was necessary to send by e-mail the texts of the problems. As it is well known, e-mail is not reliable, messages are se…
  • Write a function called multiples_char(phrase, k) that given a string and a integer returns the string that results from concatenating the characters that are in indexes that are divisible by k . As u…
  • Please help with practice problems 1 and 2.. Here’s an example list of friends for us to work with. my_friends = [ { "name": "bimmy", "height" : 600}, {"name" :…
  • Question 1 1 pts Given the following code entered in the IDL shell: >>> names = ["Dancer", "Prancer", "Vixen", "Rudy"] >>> for each in names: …
  • . I’d like to write comments for each classes and functions… need to do a doostring on each number I have put in the images. if you can more explanation please do it. Thank you
  • Please help answer these python exercise questions from this wedsite ¬†https://firas.moosvi.com/courses/2020_WT1/data531/practice/04_lists_exercise.html
  • I am struggling with this python exercise. I am attempting to run the zybooks Python simulator for:¬† Name Format, since Many documents use a specific format for a person’s name. ¬† If the input h…
  • if ¬† not ¬†type(x) is str: ¬†¬† raise ¬†TypeError( “Only strings are allowed” )¬† simpler one using a print() statement: if ¬† not ¬†type(x) is str: print ( “Only strings are allowed” )¬† In both abo…
  • Hello, I am receiving some issues with my Python 3.x code. It seems that when the code runs, it outputs on infinite loop. Can someone help me? import pandas as pd import numpy as np import matplotlib….
  • Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. Describe each possibility in your own words. Define “precondition” and “postcondition” as…
  • Question 2: (Choice of¬†Pseudo or Raptor) + Python ¬† The information of credit card transactions are stored in file with the following format: date, company,¬† amount ¬† Example: 15/1/2021, Best Buy,…
  • I NEED A PYTHON PROGRAM FOR THIS NOT A TEXT GIVE ME OUTPUT OF CODE. PASTE THE CODE HERE AND EXPLAIN HOW IT WORKS Create a python program for the given problem. Part 1: Sort Analysis Program A: Bubble …
  • Let’s suppose you have a certain amount of money in a savings account that earns compound monthly interest, and you want to calculate the amount that you will have after a specific number of months. T…
  • I want help to get a python¬†module named¬†homework.py¬†and implement the functions¬†outlined below.¬†Below you will find an explanation for each function¬†you need to implement. This assignment¬†is s…
  • INSTRUCTIONS : 1) Python Programming 2) You cannot use Builtin Libraries
  • Create the ‘edu.uah.python.finalproject.aviation.menu.MenuOptions’ module: ‚ÄĘ Using PyDev in Eclipse, create the Python package ‘edu.uah.python.finalproject.aviation.menu’. ‚ÄĘ In the package ‘edu…
  • Program week 6 -ROE in Python : Project Specification It involves using the with open statement, then doing a loop that will read one line in the file, process the data and read the next until all lin…
  • Q1 Regular Expressions 34 Points For each of these regular expression questions, write exactly to the specification. If it’s a constraint, it has been specified. If something is not specifically state…
  • Write a program that does the following:¬† a. Prompt the user to enter a number No validation required for this problem.¬† b. Take that number (n) and compute the value of n cubed, divided by n¬† c. P…
  • I have lab03 in Mohawk College in 10001 comp programming fundamentals it’s about debugging with data
  • 1 ) What of the following are correct statements about missing values in data? Choose all that apply.¬† a ) Certain analytics algorithms can tolerate (i.e., work with) data with missing values b) Miss…
  • Prep of the Census file for use in a database ¬† A User Defined Function that removes all other columns from the data set in the nested structure EXCEPT the following columns. The following 29 columns…
  • Write a function that returns the last element of a list. Eg., l = [1, 2, 3, 4] last_element(l) -> 4
  • I need help with classification in python: Q2. How to determine¬†K¬†in k-fold cross validation? This question will use assign4_train.csv dataset. Use this experiment to find the best¬† k ¬†for k-fold …
  • Write a Python function, which takes as argument a Python list of characters in upper- and lower-cases, char_list, to determine the frequency of each unique lowercase character in the list and returns…
  • . Exercise 1: Truth table Edit Metadata – Run the code cell below to create the the truth_table data frame that corresponds to the table below. The NA entries correspond to blanks. – Use mutate( ) a…
  • What is the code to do this? List names are entirenutrients_prices.txt, grocerycontainer_prices.txt, haltandbuy_prices.txt, speciality_prices.txt, Tobuy.txt implement the function that allows Python t…
  • Can someone help me to solve this problem? Below you will find an explanation for each function¬†you need to implement. def read_last_line (file_path: str) ->str: “”” Reads the last line of the fil…
  • . IT209: LA if 1 Due: Due in lab/as directed by the lab instructor Topics: Functions, Read File, Dictionary, Looping , List Problem Statement: Category total count In this assignment, you are given …
  • Your car gets 27 miles per gallon of gasoline and you drive it 1,000 miles per month. If gas costs $1.40 per gallon, how much will you spend that month for gas?
  • Can you help me with these two questions? It’s python codes.. Question 10 Which function below is more DRY? Why? def find_mel(string, letter): def find_me2(string, letter): for i in range( len(string)…
  • Body Mass Index (BMI) is a number calculated from a person’s weight and height. The formula for BMI is: weight / height 2 ¬† ¬†where weight is in kilograms and height is in meters. Write a program t…
  • Hi, why does this code give output of 20? x = 9 y = 5 def f(x): return g(x) + y def g(x): return y + x print(g(f(y)))
  • Page of 2 ZOOM #!/usr/bin/env python3 “”” Project Statement The application shown has five errors. Find and fix the four errors so that the program allows the user to input as many items and their cos…
  • Code in Pyhton define function as def bfs_path(graph, s, goals=[]): def dfs_path(graph, s, goals=[]): and expect output as following iamges Part B: Path to goal Write new functions dis_path and bfs_pa…
  • Even though you already know what you did to exploit the target, analyzing the logs is still valuable. It will teach you: What your attack looks like from a defender’s perspective. How stealthy or det…
  • A program that asks users for their sandwich preferences. The program should use PyInputPlus (import pyinputplus) to ensure that they enter valid input, such as: ‚ÄĘ Using inputMenu() for a bread type…
  • A program ( store automatic system ) in PYTHON using Tkinter . The app is basically a shop of any type preferably in the same style as the apple store ( UI and looks ). The shop should first prompt th…
  • 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…
  • How to convert an image from RGB to Grayscale in Python?
  • What function randomizes the items of a list in place?
  • U = { ‘Ada’, ‘Bob’, ‘Cass’, ‘Dee’, ‘Ed’ }, and sets¬†set1¬†=¬†{¬†‘Ada’,¬†‘Bob’,¬†‘Dee’¬†}¬†and¬†set2¬†=¬†{¬†‘Dee’,¬†‘Ed’¬†} are given. How to write binary literal value that encodes¬†set1¬†as a 5-bit …
  • When is a while loop the most appropriate choice when code in your program needs to be repeated? Group of answer choices ¬† A. When the number of times the loop needs to run is not known in advance. ?…
  • #1) Move all the functions into Mylib.py #2) Use import to include Mylib into the code #3) Test the code and make sure that the prior code is still working #4) Add the following function into Mylib sc…
  • Define the class method ‘__init__’, which initializes an instance of ‘MobileInventory’ and accepts an input through the argument ‘inventory’, and assigns the value to the attribute ‘balance_inventory’…
  • R-CNN Here we will use a pre-trained model to detect and segment objects using Mask R-CNN.¬† Setup: Note that the file mask_rcnn_demo.py contains comments for how to setup your environment – the in…
  • Please help me with this question (the answer is not answer key). Question 1 1 pts Decide whether or not the following would require a helper function(s). A function that sorts a list of strings alpha…
  • make_objects(places_lst, g):¬† This function takes the list of places places_lst and the adjacency matrix g as arguments and returns a dictionary of Place objects that are in the places_lst. Actually,…
  • Simulation in Python How to simulate the number of people entering a shop in one hour in shopping mall (let random variable X be the number of people). and how to simulate this random variable for dif…
  • In Python. ¬† Complete question can be found @ https://ucarecdn.com/0217f979-24d5-4673-8061-fcb65ee0a7b3/ ¬† Please follow all the instructions.. Functions You must effectively modularize your program…
  • need some help pls with the code. I think mines is wrong. ¬† might have to download: pip install mathplotlib ¬† thank you ¬† https://drive.google.com/file/d/1I9rsWE4I96mZln89olPVbi7Ii1bTyh8z/view?us…
  • The following code produces a microscopic image of a bacteria that are overlapping shown below after the code >>>import numpy as np >>>import scipy as sp >>>from scipy.ndima…
  • . l. [3 marks] Determine whether the following statements are True or False. Show your work by evaluating one step at a time as we saw in class. The grade for this comes Ô¨Ā’om the shown work. (You …
  • An insurance company recorded the weekly car claim as below:¬† car_insur_claim = [2, 10, 3, 3, 6, 5]¬† Suppose these are the corresponding weekly claims for January, 2022.¬† Define a time series us…
  • Creative Randomness and Repetition Use Python’s Processing Mode You will create 2 sketches for this assignment. 1) In class we created a sketch that incorporated elements of randomness.¬†¬† Ellipses o…
  • Hello, I need help with this problem please. Grades for classes at a school have the following rules: There are two to five grade categories. e.g. Labs, Quizzes, Projects, Exams. Each category has fiv…
  • I am trying to get my game to save new lines of player data to the CSV file. It currently just writes over the last name and score from the previous game, I just cannot figure out how to continually a…
  • I am using Windows 10 and i am trying to write in Sypder. I am adding the dictionaries to the comment. 2. (30 points) Translation by Ribosome a. Make a dictionary of RNA codons and aminoacids (no poin…
  • please answer in python, jupyter notebook and dont upload a chegg answer here. this is the link with the file image_caption https://drive.google.com/file/d/1gvYQ3E1S-_iddyF9Ei2wZQ5nvIW35iq5/view?usp=s…
  • Please use the python program. ¬† Question: The National Weather Service computes the wind chill index using the following formula: 35.47 + 0.6215 x T – 35.75 x V 0.16 + 0.4275 x T x V 0.16¬† where T …
  • Hello everyone! ¬† i need to fix the code in the <script> tag so so that when the inputs are focused, a red frame is added. Event handling should happen on the formElement, In HTML please.. <…
  • Could you help me code with Python please? Thanks in advance! The Fibonacci sequence is defined using the following recursive formula: F(0) = 0 F(1) = 1 F(N) = F(N-1) + F(N-2) if N > 2 Write a func…
  • Hello , I was wondering if you could help me with my python problem and my home work is in python not in C++ . Note: the program should be in PYTHON
  • Write a few sentences in which you tell your tutor about your experience of the quiz. For instance, you may have found some Block¬†1 Quiz questions particularly interesting or challenging. In that c…
  • A={35,1) ; B = {35,1,6} So, AX AND (x E A -> x E B) AND Ex(xE B ^ x notE A) O True O False. The truth set of P(x) where the domain is the integers and P(x) is "(x| = 1" is: 01 0 -1 0 0 0 …
  • In Python 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…
  • In this question, you are going to implement a human vs. human version of Notakto. Notakto is a tic-tac-toe variant. It is played across three 3 x 3 boards: Board A, board B and board C. When you star…
  • In this lab, you will be creating your own CLI (shell) in Python. You should use Python 3+. The following is a list of commands that it should support: cd <directory> – change the current defaul…
  • Summary: There are two ways you can use the Google search engine: 1) using the Google Search API. 2) construct an HTTP requrest and send it to the Google server. In this assignment, we will use the se…
  • I require a python or Mathamatica code for the following question with graphs regarding the change-point algorithm using the greedy method, formulas for this problem can be found on this link cannot a…
  • Write code so that the following terminal command has the given output: python testFile.py 50 25 75 Output should be: Average: 50.0 The code should find the average of the numbers given via the com…
  • Please use Python to complete the question Use the ToyotaCorolla.xlsx dataset (attached below). The data dictionary sheet in the Excel spreadsheet provides a description of all the variables in this d…
  • . Bachelor of Information Technology WENTWORTH INSTITUTE HIGHER EDUCATION ICT113 – Programming Fundamentals Assignment Write the pseudocode and program structure (using comments) and finally write t…
  • Chrome File Edit View History Bookmarks Profiles Tab Window Help Wed Feb 16 12:36 PM … *Course Hero C coursehero.com/qa/wait/38025827/ Python Relocated Items Screen Shots 300.0. … Quiz: Module 5 q…
  • Create one Python arithmetic module which consists of two functions (please finish the function body first): add (x, y) and get_length (x). def add (x, y) = add two numeric numbers x and y get_length …
  • int_list=[ 1 , 2 , 3 , 1 , 2 , 3 , 4 , 5 ] new_set={} def list_to_set (int_list) : for i in range (len(int_list)): new_set.add(int_list) print(new_set) help me to print it is printing as empty.
  • Show a program to solve computational problems using structured programming.¬† ¬† The program allows a user to practice addition, subtraction and multiplication of numbers.¬† ¬† The scope of the progr…
  • Perform regression analysis to predict the profit of each the 50 startups mentioned in the dataset by taking all the input parameters(multi linear regression). Use the dataset given below. The dataset…
  • Hello Tutor, Please help me to solve this problem as soon as possible. I would leave good feedback and mark it as helpfulūüėäThank you so much. “In this exercise, you are going to practice using condi…
  • In Python, You will create and submit a text file with a¬† minimum of 5 records in addition to the example below. The file is named¬† Grades.txt and contains the following format:¬† Ôā∑ first line …
  • Python Adding features to the model update _init_ method so that it initialized attributes for three additional dictionaries: Update you init method so that it initializes attributes for three additio…
  • create_network(file_name) (35 points) This is the most important (and possibly the most dicult) function to solve. The function needs to read a le and return a list of tuples representing the socia…
  • I need a program that asks the user for a number in the range of 1 through 7. The program should display the corresponding day of the week, where 1=Monday, 2=Tuesday, 3=Wednesday, … 6=Saturday, 7=Su…
  • from typing import List def insert(lst: List[int], v: int) -> None: ¬†¬†“””Insert v into lst just before the rightmost item greater than v, or at ¬†¬†index 0 if no items are greater than v. ¬†¬†&gt…
  • I’m struggling to define this code and to return it. Can someone show me how to do it? ¬† Can you help to call_API() this function by read_csv() function? Can you help me clean_data() function? Can yo…
  • Take a look at the code examples below and see if you can figure out what the code will do and what the output will be. NOTE: These programs do not give very good prompts and outputs and comments – in…
  • CIS 115 final project A ten and thirteen digit ISBN
  • 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…
  • I need help, something’s wrong with my code: def NutriFacts(n):¬†#def. of 1 servings Nutritional facts for Parmesan Crisps ¬†¬†print (str(n*1.28) + ‘grams Total fat’) ¬†¬†print (str(n*0.86) + ‘grams S…
  • 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…
  • Inspecting Modules ¬† ¬† Scenario ¬† You want to check the attributes of itertools. Aim ¬† Use built-in Python functions to inspect modules. Steps for Completion ¬† Start by entering import itertools….
  • PYTHON PROGRAM graphics.py ¬† Create a Python program (IDLE 3.9). The program includes GraphWin (graphics.py), move method, checkKey. Create a window with the same height and width. Make a blue circle…
  • Given the pseudocode below: Module getStats(Real scores[], Integer size) Declare Integer counter = 0 Declare Real min = 100 Declare Real max = 0 Declare Real total = 0 While counter < size If score…
  • Task 3: (Advanced operations) 1. Write a function to find out the even numbers that are present in the list and output another list with those numbers. Sample Input Sample Output 1 -> 2 -> 5 -&g…
  • Python exercises ¬† 1.Use a string loop to define a function is_dna(s) to return True if the string s consists entirely of DNA bases, and otherwise returns False. Test your function on at least 2 rand…
  • Only Problem C please Problem A. (10 ¬†points )¬† Creating characters First, you’ll need a¬†Character¬†class, which represents a base character template for all of the specialization classes to build …
  • Hello, please help correct and finish the code below, according to the question at the bottom. Thank you so much! Unfinished code: import math x= input().split() n= int(x[0]) d= int(x[1]) nx= [] ny= […
  • Help please!. Lab: Guess the random number Given the code that reads a list of integers. Create the number_guess() function, which should choose a random number. The random number should be between 1 …
  • plz provide answers along with python codes. ” https://drive.google.com/file/d/1peArS50HaUgJVJLMRGY9EVCWuwbG-gaX/view?usp=sharing ”¬†is a dataset that contains the names of various colleges. This part…
  • To define this function I have to use a filter function previously defined (the code is below for that). I’m not sure how to implement it into this function. I think there will be an input of two tupl…
  • my code isn’t working due to the args 1) Create a Python function to calculate an integral I,, = ] sin mx sinnx dx by quadrature. Modify your integration routine from hw8 Q4 to include a tuple of addi…
  • print( “You’re in a post-apocalyptic world. You live in Town X. A villain has taken over and barracaded himself in one of the buildings. \nHe is threatening to blow up your only home with his patented…
  • Revision: run the datafile thru the python script myMapper.py and then take the output data file and use it’s output and run it thru the myReducer.py script. datafile.txt = {increasement 822 tonsillol…
  • Write a python program to 1. Create a list that contains 1000 items. 2. Calculate the 25th, 50th and 75th percentile for the data in the list. 3. Store the calculated values in step 2 in a text file.
  • I need help figuring out how to write the Python 3 code for this challenge: X to the Y We will pass in 2 values, X and Y. You should calculate¬†X Y XYand output only the final result. You will probabl…
  • def pairs (n) : “””Returns a new list containing two element lists from values 1 to n >>> pairs(1) [[1, 1]] >>> x = pairs(2) >>> x [[1, 1], [2, 2]] >>> pairs(5) [[1…
  • . Page 2 of 5 Main Module ZOOM + k Start input_meal calc_tip calc_tax calc_total print_info End. Page < 3 of 5 ZOOM + k Starting Out with Programming Logic and Design W input meal Module calc_tax…
  • Write a function reviewMyAccount(pin, d) that takes as input the user’s pin number and the dictionary. The function prints the user’s first name, last name and balance. This function does not return a…
  • I have N1, N2, N3, C1, C2, C3 and e = 3. I am trying to implement Hastad’s Broadcast attack in python to determine the message m. I understand the attack and the chinese remainder theorem but not how …
  • You will use a¬† while loop ¬†to issue requests for information about all starships in Star Wars. The API to use is located at http://swapi.dev/api/starships/ Note that the data you get back is a dict…
  • I was wondering how I would get the table printed out through this lucky sevens game programing. The program should have at least TWO functions (Input validation and Sum of the dots of user’s two dice…
  • OUTPUT “This program prints selected numbers in in given range.¬†“) ¬†anotherGo¬†‚Üź “Yes” ¬†WHILE anotherGo = “Yes” ¬†¬†¬†¬†¬†lowNumber¬†‚Üź USERINPUT ¬†¬†¬†¬†¬†highNumber¬†‚Üź USERINPUT ¬†¬†¬†¬†¬†x?…
  • Problem 3¬† Let F be a single round of a Feistel cipher operating on 64-bit blocks, so that inputs to it are¬† (ūĚĎéūĚĎéūĚźŅūĚźŅ, ūĚĎéūĚĎéūĚĎÖūĚĎÖ) where ūĚĎéūĚĎéūĚźŅūĚźŅ and ūĚĎéūĚĎéūĚĎÖūĚĎÖ are each…
  • class WordGame: ¬†¬†¬†def __init__(self,secretword): ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†self.secretword=secretword ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†self.rightguess=” ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†self.wrongguess=” ¬†¬†¬†def guess(…
  • Code a program that allows the user to evaluate the score of any word. For this exercise, assume that the value of any character is the ord() value minus 97; and also your program should consider only…
  • . Write a Python program to generate 5 lists of 6 random numbers each and save them in a on Ô¨Āle. The numbers must be between 0 and 20. The txtÔ¨Āle should have one list per column and the column s…
  • From the crime statistics data (FBI_CrimeData_2016.json linked below), I need to produce the following output: 1. A bar chart showing the number of “Murders by Region”. 2. A bar chart showing the numb…
  • Can someone help to correct my code? ¬†I am trying to insert the link to open the actual file, but I need the data input to be as listed: vaccination.csv (or enter) population.csv (or enter) ¬† If I p…
  • Simple Reflex Agent¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬† Schematic dia…
  • Project Description ¬†Part 1 Write a function that parses a binary number into a hex number. The function header is: def binaryToHex(binaryValue) Write a test program that prompts the user to enter a …
  • 1:43 Done Airports.csv Rank Airport Location Country IATA Code ICAO Code Passengers Year China Guangzhou Baiyun International Airport Baiyun-Huadu, Guangzhou, Guangdong China CAN ZGGG 43760427 2020 Un…
  • Create a game that should look like a game someone might want to play (i.e., probably not just a lot of colored boxes).¬† ¬† It must include all of the following: User Input Either through the keyboar…
  • Download the data on vehicle accidents from NYPD ¬† This data set contains geographic, categorical, and time series data. ¬† Create one display for each type of data to present an interesting insight….
  • Python code that will read 10 numbers from the user, and then print the first number, the sum of the first 2 numbers, the sum of the first 3 numbers, and so on up to the sum of 10 numbers
  • Using the example Python code for unipolar NRZ line coding, please generate the corresponding waveforms for these line coding schemes: polar NRZ, unipolar RZ, bipolar RZ, and Manchester NRZ. ¬† bin_st…
  • Write a recursive function called convertToDecimal that accepts a binary number (string type) and converts it to decimal. Assume a valid binary number is passed so there is not need for error checking…
  • .Remove empty strings from a list of strings ¬† str_list = [“Emma”, “Jon”, “”, “Kelly”, None, “Eric”, “”] ¬† Original list of strings ¬† [‘Emma’, ‘Jon’, ”, ‘Kelly’, None, ‘Eric’, ”]¬† ¬† After remov…
  • ”’ ¬†¬†Assumes L is a nonempty list of pairs (item, weight).¬† ¬†¬†An item may occur in more than one tuple, in which case¬† ¬†¬†its total weight is the sum of the weights in its tuples. ¬†¬†Retu…
  • 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…
  • Use Pyspark and Spark’s Machine Learning Library (Pyspark MLlib). Don’t use Pandas¬† ¬† DataSet : https://ucarecdn.com/16ce291d-673d-4493-9e60-07afe0865165/ ¬† a) Data Cleaning and Feature Selection: …
  • Write a function that calculates your total savings in 2 years if you put $10,000 in term deposits with a 2-year rate of 3.0% per annum. Interest is compounded monthly. ¬† FV=PV√ó(1+r)^n ¬†PV is the a…
  • 6:55 < Joban nilu.docx Q1) (100 pts.) Software companies often offer their customers the option to lease the software yearly or purchase it for a one- time fee. Also, they offer numerous add-on opt…
  • Exercise 5 – There are 2 Parts, please submit both ¬† ¬† PART 1: General questions¬† What is Agile software development and why it’s relevant? ¬† Why waterfall approach is rarely a great solution for …
  • Plz help my hw. There is alot of numbers so just cording and I will put CSV file myself.¬†. 2. Earthquake Data This project allows you to experiment with real-world earthquake data from the United Sta…
  • Dots and Boxes This exercise is about the following topics: ¬† Writing two classes in the same program Using a two-dimensional list as a field of an object ¬† Initial preparations Create a new project…
    • Program design type program, in a file called countdown.py, that includes and utilises the functions described above to simulate the letters game from the Countdown game show. The program should a…
  • Copy/paste this rball.py file on your Python IDLE, run it to see how it works, if needed, read the textbook Chapter 9. This program uses what we learned so far to simulate a game. When running it, m…
  • should return 2. It should function equivalently to the str.find() method but¬† cannot use ¬†any existing method from the string class OR the “in” operator.
  • Please help debug my solution for 16 and 17: 16. Add Rotation to the Left Read the specification for the function rotate. This function has an optional parameter right, which is False by default (mean…
  • PS: Coding with Python programming language plz, Thx! #2 points #create a function exampleTwo with one parameter which will be an array of arrays, where inner arrays have 2 elements #iterate over each…
  • TOPIC: LISTS AND DICTIONARIES Lists – Multiple values can be contained in a list, which is a type of value. There are no values contained within a list value; rather, the term “list value” refers to t…
  • CREATE A PYTHON PROGRAM, GIVE ME THE OUPUT OF THE CODE AND EXPLAIN HOW IT WORKS Program C: Recursive Power Method 1. Design a function that uses recursion to raise a number to a power. The function sh…
  • # Complete the code You can utilize the image and its gradient to tweak the image. The model might be more/less confident on classify the tweaked image. Complete these functions img_negative_tweaking(…
  • COMP1039 Problem Solving and Programming Programming Assignment 1 Acey Deucy & PSP Password Generator Prepared by Jo Zucco SAIBT Modifications by Andreas Jordan November 2020 Contents INTROD…
  • . Lab Assignment #2a Questions to think about: Is this linear "extrapolation"? If so, why are we are we using linear extrapolation despite all the warnings not to use it? Is there ever a c…
  • front_back # Consider dividing a string into two halves. # If the length is even, the front and back halves are the same length. # If the length is odd, we’ll say that the extra char goes in the fr…
  • Want to know to make def count_connected_components(self) and def has_cycle(self). Also in def add_vertex(self, v: str), want to make sure u, v are not in the target adjacency list before adding them …
  • Given the weekdays and times, I want to plot for each weekday on the a histogram of the amount of events per hour. ¬†I would like to know how to do this in python ?
  • I have been given a task for python.¬† So we have been given a problem, where there is a circle and we need to find all the distances inside and outside. Here is one of the solutions: Using Binary Sea…
  • Write a class definition named Book. The Book class should have data attributes for a book’s title, the author’s name, and the publisher’s name. The class should also have the following: An _ _init_ _…
  • Question 20¬† You have been asked to.write.a program that will ask the user for his or her pizza order and display it. The order will include the size of the pizza and the type of crust, cheese, and t…
  • https://drive.google.com/file/d/1CekcBXFT_w3dbZNrXiPfn0ioiP0devKT/view?usp=sharing kindly find the data in the attached google drive since it is too big to attach ¬† For the file weather_report.txt, y…
  • voici d6q1 : ¬† ¬† ¬† voici d6p1 : ¬† ¬†. Classe Personne FF## class Personne ( ) : ""classe qui definit les attributs et methodes relies a une personne donnee. #votre code ici FF##; #4#4###…
  • These exercises focus on creating and using our own functions: l¬†def¬†¬†¬†¬†¬†– defining a function l¬†parameters l¬†return values l¬†calling a function Q1. ¬†Writing function that takes as an argu…
  • Next, copy in your strip_punctuation function and define a function called¬†get_pos¬†which takes one parameter, a string which represents one or more sentences, and calculates how many words in the st…
  • solve the following please What will the program print, Explain in your own words why? L’ 25 def f (x) : 26 X=0 27 return 2 * X 28 29 def g (x) : 30 return x + 5 31 def h(x) : 32 return x ** 2 – 3 33 …
  • Now write a function cycle (input_list) that performs a cycling of the elements of a list as before, but this time returns the result as a new object and does not mutate the input argument. For examp…
  • Return a list of club recommendations for person. Thank you
  • I need help writing this in python¬† ¬† Classes and Objects¬† Write a python program that will create two classes; Services and Supplies . Class Services should have two private attributes numberOfHou…
  • Please fix the errors shown above Instructions FILETREE viewfiles.py X + >_ Terminal X + ~/sandbox viewfiles.py 1 import os as operationSystem sandbox $ python3 viewfiles. py Write a recursive func…
  • Lab9-Natural Language Processing – Finding Text Similarities Total Marks: 8 Marks + 2 marks (individual assessment)= 10 Marks This assignment is about finding the similarities in given sentences. Id T…
  • The below script inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher. The script works for any printable characters. Provide answers for A, B, C, D, and…
  • I really fight with programming and am trying to get over the hump. Need a pointer in the right direction. Issue is: program using integers user_num and x as input, and output user_num divided by x th…
  • please answer my question in picture attached Create a tail-recursive version of the following mystery function below that is robust, i.e., correctly handles all inputs. You may create other functions…
  • txt has some of the code provided for a Drawing app in Python using Pygame. In your lab, write the rest of the code to perform the following tasks: import pygame import random # optional for th…
  • Hint:¬† Work on the methods in the order they are found in the documentation below.¬† def read_last_line(file_path: str)->str: ¬† ¬†“”” ¬† ¬†Reads the last line of the file at the specified file pa…
  • (numpy and pandas) Write a program to plot a bar plot of seven students representing their marks in Mathematics using plotly. ¬† ¬† ¬† ¬† ¬† marks = [76,98,78,98,89,56,69,76] ¬† ¬† ¬† ¬†students = [‘S…
  • python programming (a) The file data4.txt contains 4 data sets, with well separated means, that are mixed (randomly) into a single file. Your task is to separate the 4 data sets and report their mean …
  • This is a python programming question¬†. Consider a polynomial p(a) defined as p (x) = Ilg-1 (qx + 1) = (x + 1)(2x + 1) (3x + 1) … (Nx + 1), where N is a strictly positive integer. Write a function …
  • Using Python how do i solve titan insurance case study
  • Need solutions in python I really appreciate your help Q. You are asked to compute weekly payment for an employee working at CubixLabs. TheCubixLabs has a policy such that, if the employee works less …
  • Write a function called word_freq that accepts a string as a formal parameter and uses an accumulation pattern to return a dictionary that contins the number of occurrences for each word in that strin…
  • . Question 1: Quadrature [16 marks] In the course, we have seen Newton-Cotes interpolatory quadrature rules, which have the particular property that they use equally-spaced nodes. Other types of qua…
  • I need another function to determine a 10% discount for age question, i have attempted many different ones but have deleted them out of my program as none were successful. Also, the total i highlighte…
  • What is the output for this?¬†. a = for i in range (3,9) : print (a*2+3
  • The class¬†Kart represents a general kart in Mario Kart. ¬† In the constructor (__init__), we must initialize 4 instance attributes (properties) with certain default values. There will be no parameter…
  • . D Question 2 20 pts ements Suppose you wish to process quarterly sales data by business. Show below is sample data, Each line shows the business name, sales in the first quarter, sales in the seco…
  • Define a Bank Account class, which is used to instantiate objects such as account1, account2, and so on. The constructor of this class will initialize two instance attributes name and balance, with th…
  • Q1 . Write a Python function to change the last letter in a string end with “T”. Test Data: st = “123456” Expected Output: ‘12345T’
  • # Get tree height from userheight¬†=¬†int(input( ‘Enter height of tree: ‘ )) # Draw one row for every unit of height row¬†=¬†0 while¬†row¬†<¬†height: ¬† ¬† # Print leading spaces; as row gets bigge…
  • 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 w…
  • Program 4: Blackjack Part of the card game Blackjack involves dealing two cards from a shuffled deck of cards; to each of the players. (There’s more to it than that, but we’ll start with this). Create…
  • (***IN PYTHON***) highlight: This function takes two string arguments. The first is a filename and the second is a keyword to be searched for in the file. Whenever a line is found that contains the ke…
  • Make function that takes a dictionary (the castaways dictionary below) as input and returns a sentence like this for each member: ¬† #Gilligan and –a random other castaway– fought over who could wea…
  • You have been retained by Widget Sales Company, an international company with offices in 25 countries, to develop a website that will allow its employees to enter travel expenses incurred on a busines…
  • Build a code in Python for below problems and provide comment on each code line for understanding ¬†¬† 7.1 build Simple Student Class with constructor to get first name and last name 7.2 build Address…
  • import pandas as pd from datetime import datetime import matplotlib.pyplot as plt #pick any date after January of 2010 #let’s pretend that you had $1000 dollars to invest at that date #how much would …
  • Here is a list of some office hours: Dillan – Mon @ 10:00 in CSB 231 Evan – Mon @ 10:30 in CSB 114 Brian – Mon @ 11:20 in CSB 114 Efrain – Mon @ 12:10 in CSB 114 Eena – Tues @ 8:50 on Zoom Holly – Wed…
  • Lab activity #5: Implement lists in a modular Python program Program: Calculator, version 4 Overview Objective: The calculator allows the user to perform multiple calculations with any number of opera…
  • Please answer this question with Python code. Thanks! In In: Task 1 In this task, we want to implement the E-step. Write a function f ind_logw that calculates the log WU matrix, and takes the followin…
  • The question I am having trouble with requires a very simple answer using the included variables (which are in bold). I included a very similar question below that I was able to answer to give you an …
  • What are some good resources to get practice problems and better understanding of Python for beginners, focusing on creation and management of lists and how Python executes math?
  • Below is the problem from HW#1 that is referenced in the above problem. I ONLY need the solution to Question 3 above.¬† ¬†. Question 3 ‚ÄĒ Programming (20 points): Design a genetic algorithm to solve …
  • This question tests your understanding of Object-Oriented Programming. The following code defines the start of a class to represent bank accounts: class BankAccount(object): interest_rate = 0.3 def in…
  • FOOD 1980 1985 1990 1995 2000 2005 BEEF 72.1 68.1 63.9 63.5 64.5 62.4 PORK 52.1 49.2 46.4 48.4 47.8 46.5 FOWL 40.8 48.5 56.2 62.1 67.9 73.6 FISH 12.4 13.7 14.9 14.8 15.2 16.1 Output: four html files w…
  • please help me with this ASAP Write a Python class deÔ¨Ānition called CellPhone to represent a monthly cell phone bill. The bill should contain the following information: 0 customer name (default valu…
  • 3: Create a Python program that accepts two numbers as input from the console window, adds them, and prints the result to the console window as output [2|] pts]. Attach your Python code Ô¨Āle to your…
  • Problem: Check if any of three numbers is sum of others # Input: a as an integer from 0 to 100 a = 2 # Input: b as an integer from 0 to 100 b = 2 # Input: c as an integer from 0 to 100 c = 1 # Output:…
  • 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…
  • Exercise #5: ¬† Write a Python class to reverse a string word by word. ¬† Exercise #6: ¬† Write a Python class named Circle constructed by a radius and two methods which will compute the area and the …
  • An Insurance firm providing tour insurance is facing higher claim frequency. The management decides to collect data from the past few years. Make a model which predicts the claim status and provide re…
  • Question Prompt: Utilize Anaconda Jupyter Notebooks (or Jupyter Labs) to reproduce the Code that can be found in the following data screenshot, to the right. Find a different set of points for the poi…
  • Problem 3:- <br/>Define another pytest test class¬†‘TestInventoryAddStock’,which tests the behavior of the¬†‘add_stock’¬†method, with the following tests: -Define a pytest class fixture ‘setup_c…
  • Please fill the blanks(recursion). version D 16/18 version D 17/18 Free Response 3: arrange(L) [10pts] (This is part of FR3 on the previous page. Fill in the blanks!) Note: This is a backtracking prob…
  • Please help with an example problem 7. The order of the names of friends matters. Dictionaries are unordered, so order does not matter in them. Code that goes along with the problem below. https://pas…
  • Task 1: Nested recursion (a recursive function call from the inside of another recursive call) can be confusing.¬† Detail visualization with the calling direction can be used to clear such confusion. …
  • TASK A . CLASSIFICATION. Classify each of the following as ICT or NOT ICT. ¬† Set A. * ¬† CHOICES: ICT OR NOT ICT ¬† ¬† 1. Digital Watch ¬† ¬† 2. Vintage Telephone ¬† ¬† 3. Headphones ¬† ¬† 4. Barcode…
  • Hello, I need a python program that does the following: allows the user to play Rock, Paper, Scissors against the computer. When the program begins, you randomly choose a number from 0 to 2, which wil…
  • Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– E…
  • Hello! I need a little help with my inventory system for this text game I am making. The collectable items are supposed to be in the same dictionary as the rooms and directions. However, I am unsure o…
  • Could you please quickly help me with this test? Thank you :). @given (lists (integers()), integers()) def test_append (Ist: List, v: int) : ""Test that . . . nnn # TODO: Complete the docstr…
  • This case-study examines the patterns, symmetries, associations and causality in a rare but devastating disease, amyotrophic lateral sclerosis (ALS). A major clinically relevant question in this biome…
  • I have a module named “Artificial Intelligence & Machine Learning”. Kindly help me by doing all the Tasks given in the picture. Task 3 must be coded in Python programming language. Questions in th…
  • I need help with this Python 3 ASAP!!!! For this assignment, It asks to make an quiz creation program. This program will take input from the user to build up test questions. This program must have the…
  • Design a class called ItemToPurchase . This class has the following attributes: item_name, item_price, and item_quanity The ItemToPurchase class should have methods to return the current values of the…
  • Python Programming Can someone please help me with this assignment? And please add comments in the code so I can learn from it. ¬†. User types The banking system has two types of user. customer and ad…
  • (15 pts) Write a function that meets the following specifications. You can assume "good" values – we will not pass you a list containing element that are not integers. However, you shoul…
  • For this assignment, you will be creating the functions that have to do with the Board in a file named BoardGenerator.py. In it we will place the CreateBoard(), ShowBoard(), and PlacePlayer() function…
  • In Python, create a class named Node that has the following fields: k (key), c (color), p (parent), g (left), d (right), t (size), pred (predecessor) and succ ( successor). This class implements a dis…
  • I am trying out this code but I keep running into a problem. I keep getting the message “invalid syntax” and it highlights “a” as the syntax error (in the 5th line). I’ve substituted it with several n…
  • 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) international…
  • The Slim Pickins Cafeteria needs a program to compute and print a food bill for each customer. You have been employed to create this program using Python. The following directives need to be included …
  • . Use the following properties: water density = 1000 kg/m3 water viscosity = 0. 00089 N.s/m pipe roughness = 0. 00025 m. Your program should print the flow in each segment of pipe, nicely formatted,…
  • numpy and pandas ¬† df=pd.DataFrame({‘id’:[‘i10012’, ‘i10013’, ‘i10014’, ‘i10015’, ‘i10016’, ‘i10017’, ‘i10018’, ‘i10019′,’i10020′,’i10021’], ‘age’:[19,18,28,33,32,31,46,37,60,25],’sex’:[‘female’,’mal…
  • hello everyone! please help me with these questions? I have completed it but I am not sure i did correct. No data is missing. if you familiar with jupyter notebook , then you can help me. you have to …
  • Write a function that takes a list li, and returns a list of the items that appear only once in li, in sorted order. You can assume the list contains simple objects of the same type, such as a list of…
  • from sklearn.linear_model import LogisticRegression from sklearn.ensemble import RandomForestClassifier from sklearn.datasets import fetch_20newsgroups_vectorized from sklearn.model_selection import t…
  • please use phyton ¬† Q1.A ¬† Q1.B ¬†. Write a program which calculates a future date from the current date and a number of days. Name your program "YourUserNameAl Q4. py", e.g. abcda104. py….
  • Hi and thanks for your question! Unfortunately, it looks incomplete. Please resubmit the question with detail. We’ve credited a question back to your account. Apologies for the inconvenience.
  • Hello, ¬† I’m trying to write code in Colab (python) using the uszipcode package. I imported uszipcode as Zipcode. ¬†I’m trying to identify the Zipcode when I have the City and State. ¬†I only want to…
  • Install a new Centos 7 VM into your existing c7host, using any of the installation methods covered in this course. Ensure the machine has the gnome-desktop. Set the hostname of this machine to be assi…
  • FIRST – Create the following matrix: ¬† [[‘a’, ‘b’, ‘c’], [‘d’, ‘e’, ‘e’], [‘f’, ‘g’, ‘h’], [‘i’, ‘j’, ‘k’]] ¬† ¬†SECOND – Use list comprehension or transposition to create the following output: ¬† [[…
  • I want to compare which string is greater, or which string wins. However, I do not know how to assign a value to a string. My objective is to write a function that determines who is the stronger playe…
  • The volume of a sphere is 4/3ŌÄr3, where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. composed a function called print_volume (r) that takes an argument for the radius of the sphere…
  • help with this question For this homework you should have at least the follo at_min_payment() amount of the mortgage (called the annual interest rate (should be a float term of the mortgage, In years …
  • Create a GUI that converts temperature from Celsius to Fahrenheit and vice versa. Temperature unit should be choose using radiobuttons.
  • Job Estimator In VScode create a function that will generate an estimate for a painting job. The input parameters are: The number of square feet to be painted The coverage factor – the number of squ…
  • Hi, the following code creates a copy of list, how can I amend the following so that the list gets modified? def insert(lst, idx, elem): ¬†¬†lst = lst[:idx] + [elem] + lst[idx:]
  • Objectives: ¬†the usage of functions, and loops¬† ¬† Write a Python main function that asks the user to enter the width and length of a rectangle and then display the rectangle’s area. The main functi…
  • Hi, i’m not sure on how get over this kind of question. Do help me clear my confusion. Q5. An algorithm for finding the maximum element of an array is in the following def arrayMax(a, n) : currentMax …
  • Create Class for Employee: data Members: name pay hours Accessor Methods: Set method and Get method: for each data member Member Methods: Mutilator Method: emppay(): Pay = hours * 80
  • Given the 2×2 magnitude array and a 2×2 angle array (values in degrees) for a cell shown below, use 4 unsigned angle bins [0-45), [45-90), [90-135), and [135-180) as shown in the notebook to calcul…
  • [bitcoin_converter.py]¬† A program that converts bitcoin to dollars (USD). At the end of this description, you will find an example of the inputs and outputs for a correctly written program. The pro…
  • There are three parts to this question. I have completed part 2a and part 2b. I am stuck on part2c. If you could help me with the code for part 2c that would be great. I am providing the instructions …
  • program in python taking input string from user to print the number of vowels and consonants/
  • A college maintains two files- one for sociology majors, the other for anthropology majors. Both files contain the students ID number, last name, first name, and each students Grade point averages. I …
  • Please work only 1.3. Please attach your Python code. Let us sample the function ()=sin(2)g(t)=sin‚Ā°(2ŌÄft) at sampling interval =1dt=1, for frequency values of =0,0.25,0.5,0.75,1.0f=0,0.25,0.5,0.75,…
  • test: ABS = \ ¬†¬†[(‘abs’, (0), 0), ¬†¬†¬†(‘abs’, (5), 5), ¬†¬†¬†(‘abs’, (-5), 5), ¬†¬†¬†(‘abs’, (2.75), 2.75), ¬†¬†¬†(‘abs’, (-2.75), 2.75)] ALL = \ ¬†¬†[(‘all’, ([]), True), ¬†¬†¬†(‘all’, ([True, Tr…
  • Basic output with variables A variable like user_num can store a value like an integer. Extend the given program as indicated. 1. Output the user’s input. (2 pts) 2. Output the input squared and cubed…
  • (20 points) For the problem of Ô¨Ānding similar documents in large datasets, we typically consider apply- ing the “Shingling ‚ÄĒ> Min-Hashing ‚ÄĒ) locality-sensitive Hashing” steps to efÔ¨Āc…
  • Make a psuedocode for this with short explanation¬† ¬†. Overview In this assignment, you will gain more practice with designing a program. SpeciÔ¨Ācally, you will create pseudocode for a higher/lower …
  • How can I do this? (5.1). Homework Help – X HKUST – myPortal X HKUST Canvas – C X COMP1021 Lab 5 X B 07_1021_making X PDF to PPT Conve X Can you remove X N 2 3 zip code : 4 x + X *amaziograph.py – C:W…
  • Python “””Geography Grades 3 Make a copy of your program for the problem Geography Grades 2 and change the code in such a way that your program can process multiple groups. These groups are on the inp…
  • In this homework, you will analyze a data set of movies that can be found in data/movies.csv. In the cell below, I have read in the data just to show you the format of the data set. movies.csv path :h…
  • Question 4. Use the 3×3 array to do the following (10 Point) arr33 = np.array(([5,10,15],[15,25,40],[35,30,25])) 1) Index array([15, 25, 40]) (2.5 points) 2) Index the element of 30 (2.5 points) 3) In…
  • I need help with understanding debugging. My book says there are three types. ‚ÄĘ There is something wrong with the arguments the function is getting; a precondition is violated. ‚ÄĘ There is somethin…
  • Compute the probablity density at¬† [0,0] , i.e.,¬†f((0,0)) . This should return a¬† scalar ¬†value. d = 2 n = 500 data, centers = make_data(d, n, 3) def compute(data, h): ¬†¬†### ¬†¬†### YOUR CODE HE…
  • i need to get this answer for the question but it says 8 pls do rectify and let me know input() disp_data.py() import pandas as pd def printColumns(): ¬†¬†¬†¬†print(“\nColumn Names:”) ¬†¬†¬†¬†for col …
  • For the given list [9,-2,5,-8,”9″,10,10000,”apple”,0.6,”a”, “green”] print¬†¬†the following: Element at position 3 in the list Third element of the list from the beginning of the list Fourth element c…
  • “”Prep 4 Synthesize === CSC148 Fall 2019 === Department of Computer Science, University of Toronto === Module Description === This module contains four functions for you to implement, where each opera…
    • LAB: Warm up: Basic output with variables This zyLab activity prepares a student for a full programming assignment. Warm up exercises are typically simpler and worth fewer points than a full prog…
  • Write a program that will output the volume of a ball. Ask for the radius. In python
  • which of the following statements are true. Which of the following statements is true? a) Elements in sets have ordering but elements in lists do not. b) Keys in dictionaries have ordering but element…
  • I need assistance with code that takes a list of numbers and prints out the stats for it. the stats are as follows: -The sum of all numbers in the list -The average of all the numbers -The highest num…
  • In PYTHON 3- Implement a subclass (described below) of “Word Guess”, a variant of the game Hangman. In this game, a word is first randomly chosen. Initially, the letters in the word are displayed repr…
  • Write a function rev_diag_elems_greater_than (table, x) that returns True if all elements on the reverse diagonal of a given input table table is greater than a number x and, otherwise, returns False….
  • Question 1 a)¬†¬†Write program that will calculate and print bills for the city power company. The rates vary depending on whether the use is residential, commercial, or industrial. A code of R means …
    • A telecommunications provider has categorized its customer base by service usage patterns into four groups. If demographic data can be used to predict group membership, the company can customize o…
  • Create an algorithm in python. The algorithm determines the maximum sum that you can obtain in a sequence of numbers, adding the longest subsequence contained within it. Analyze its complexity. It als…
  • Books My library > CIS261: Python Programming | home > 2.6: Python expressions Feedback? CHALLENGE ACTIVITY 2.6.2: Sphere volume. Given sphere_radius and pi, compute the volume of a sphere and a…
  • This is the assignment im stuck on in which part 1a, 2b, and 2a and 2b CIS 1400 Rational Lab Rational Objects 50 Point Versions Assignment Purpose: The purpose of this lab assignment is to demonstrate…
  • How do i get my code to output all the prompt results by entering the presetlist value numbers (0-2) ? For now it’s only outputting all the results by entering the nz_mms_id. I would like to have it i…
  • Discussion Topic: Lists or Dictionaries? In this module, you are working with lists and dictionaries. Consider the following scenario before you make your initial post. Lists and dictionaries in Pytho…
  • PLEASE HELP ASAP !! I WILL RATE !! PYTHON ONLY USE THIS CODE !! import math class Polygon ( object ): ¬† ¬† def __init__ ( #mention input parameters here): ¬† ¬† ¬† ¬† #write code here ¬† ¬† def input…
  • from typing import List def find_sorted_sections(lst): “””Return a list of tuples indexing the runs of lst. Precondition: lst is non-empty. >>> find_sorted_sections([1, 4, 7, 10, 2, 5, 3, -1]…
  • Question 1 Alarms The program can enable the user to schedule and cancel alarms. The alarm can notify the user when the relevant time is reached. Also, alarms that have gone off get recorded in notifi…
  • In your bin directory, create the file tarchiver.py, and populate with our standard beginning: #!/usr/bin/env python3 ¬† # tarchiver.py # Purpose: Creates a tar archive of a directory # # USAGE: ./tar…
  • I am trying to get these results:¬† [[‘49647.0’ ‘82.3’ ‘B-‘]¬† [‘49865.0’ ‘87.1’ ‘B+’]¬† [‘88260.0’ ‘80.4’ ‘B-‘]¬† [‘73216.0’ ‘84.0’ ‘B’]¬† [‘62539.0’ ‘79.1’ ‘C+’]¬† [‘38180.0’ ‘70.4’ ‘C-‘]¬† [‘75682….
  • need help to construct a simple python program Question 7 10 pts Write a function that gets a list of numbers as an input and returns the centered average of its elements. Centered average is average …
  • .I’m having trouble with my python assignment..I’m trying to do a rental car script..and I’m running into problems
  • a new Python program (preplist.py) that contains a main function and another function named¬† change_list . Refer to the SAMPLE OUTPUT after reading the following requirements. In the¬† main¬† functio…
  • The aim of this tutorial is to learn to process natural languages using dictionaries. Make a Python program that performs the followings: 1 . Make a text file that has around. 2 . Use the dictionary c…
  • For this assignment, create a simple Python packet sniffing application using the third-party library Scapy. You can use Python’s default editor IDLE (Integrated Development and Learning Environment) …
  • PLEASE DO NOT COPY AND PASTE FROM ANY OTHER SOURCE. ANY COPIED WORK WILL BE REPORTED. THANKS. Complete the following program using Python Language. ¬† ¬†. b. Create a cuboid object c1 with dimension l…
  • Python Programming student_data.csv: ¬† G-ID First_Name Last_Name Q1 Q2 Q3 T1 T2 T3 Ex1 Ex2 G0M0011 Wayne Green 9.8 6.1 9.18 11.69 11.4 12.55 23.94 24.93 G0M0039 Leigh Wood 9.51 9.34 6.75 14.26 14.53 …
  • Write a Python¬†program in that randomly generates an integer¬†from 0-99 (inclusive), prompts the user to enter an integer¬†from 0-99, and prints out how much is won according to the following rules: …
  • I am having trouble writing these user defined functions and could use some direction.. def first_repetition(s) : This function looks for the first location in its string parameter where there are two…
  • File = Bankdata.csv URL : https://docs.google.com/spreadsheets/d/1Qn4pdGrhzLjoXy1F871BalEz57rqdsB8OvLd4AbhCbA/edit#gid=1783727779 For information on attributes please refer to this link:https://docs.g…
  • From the below figure, XTS-AES computes the value T by multiplying the 128 bit AES ciphertext by őĪ j in GF(2 128 ) modulo x 128 + x 7 + x 2 + x + 1. Here, őĪ is a primitive element in GF(2 128 ) that…
  • What will be the output of the following Python code? print(‘{0:.2}’.format(1/3)) a) 0.333333 b) 0.33 c) 0.333333:.2 d) Error 2. What will be the output of the following Python code? print(‘{0:.2%}…
  • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
  • !!!!DO NOT ¬†CREATE A CALCULATOR FOLLOW INSTRUCTIONS!!!!!!! (Notice: The following question asks for a program that generates random math quetions, NOT A CALCULATOR.) Implement a tkinter-based GUI pro…
  • This is python programming. and the replace method in class card will not be used in this lab so no need to do this method. please help. Thank you !!!. AbacoStack is a game invented for this course so…
  • please use the parameter given, thank you. def cost_to_hike_naive(m: list[list[int]], start_point: tuple[int, int], end_point: tuple[int, int]) -> int: Given an elevation map <m> and a start …
  • This function takes a binary string S of length less than or equal to 64 as input and returns another binary string as output. The output binary string should be a run-length encoding of the input str…
  • I want to scrape data from a marketing website. Using this code, I could get some data. After a while, scraping stopped. When I take screenshot from website to know what was happened. The screenshot s…
  • 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…
  • A python program needs to ned written: from typing import Dict, List def lost(woods: Dict[int, List[int]]) -> float: ¬†¬†”’return the expected value of the number of minutes it will take a lost pe…
  • R programming please provide answer with screenshot a. Install the package¬†“faraway”. b. list the function available¬†in the package “faraway”. c. list the detail information for the dataset “chicago…
  • 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 a web form that adds a journal entry…
  • is there a way to make the uniqueUrls inline function into a block element? ¬† url = ‘https://casl.website/’ # making requests instance page = requests.get(url) # using the BeaitifulSoup module soup =…
  • Show a simple Python application and save the file in an appropriately named file. The application should be unique (something you create) and be less than 10 lines of code. For example, it could be a…
  • The question about python application to solve the probablity problem. Make the python program (pseudocode) to solve this question ! Suppose that start-up companies in the area of biotechnology have p…
  • could you please check the below code against the error ¬† import scipy.integrate as integrate import math def p(x, mu=0.0, sigma=1.0): ¬† ¬†x = float(x – mu) / sigma ¬† ¬†return math.exp(-x*x/2.0)…
  • . (4.2) Assume that a Bayesian classifier returns the following outcomes for a binary classification problem, which are sorted by decreasing probability values. P (resp., N) refers to a record belon…
  • This is python homework and I need help with coding the first task!. Iterations Theory In this homework we Will approximate the log‚ÄĒfunction by an iteration method. Every iteration improves the resu…
  • Como programar en python:¬† ¬† Ser√≠a realizar el c√≥digo
  • Please don’t copy from chegg and course hero ¬† ¬† please answer part 2 only ¬†. Write the python code to complete the Following. Submit by copying the CODE into the answer part. If your code does not…
  • Provide the command that will list all of your virtual machines in the command line whether they are turned on or not.
  • Main¬† class ¬†named Mammals that prints: Mammals don’t lay eggs Sub¬† class ¬†named Dogs that prints: Dogs bark Sub¬† class ¬†named Cats that prints: Cats hiss Create an¬† instance ¬†of all three …
  • “”” ——————————————————- [program description] ——————————————————- ” ——————————————————- “”” …
  • Problem – 4 Create a 3×3 NumPy integer array, and then do the following: (a) sort the array by the second row, and (b) sort the array by the second column. For example, Printing the Original array: …
  • I need help with a Phython compiler coding formula. The weight is 70.5, multiply by earth weight of 0.165 to get a Moon weight of 11.6 when formatted to 1 decimal point.
  • My previous questions was unfortunately not answered using Python. I need help from a data scientist who knows Python who can answer the questions below please. ¬† I need to create a code in Python us…
  • How can I create my own Python code examples that demonstrate each of the following. Example 1: Define a function that takes an argument. Call the function. Identify what code is the argument and what…
  • Multi-agent Pac-Man coding XCS221. Following is my code implemented for getAction() class MinimaxAgent(MultiAgentSearchAgent): “”” Your minimax agent (problem 1) “”” def getAction(self, gameState): “”…
  • I have an assessment coming up and these are the types of Q’s that we will be asked. ¬† Can you explain how to do them while commenting the steps: ¬† Make the code for a password generator. The user s…
  • 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…
  • // Global constants for tax calculationsConstant Real COUNTY_TAX_RATE = .02Constant Real STATE_TAX_RATE = .04 // main moduleModule main()// Local variablesDeclare Real¬†monthSales,¬†countyTax,¬†stateT…
  • Please help with the find_logW function using Python code. Thanks! *EM for Topic model in Matrix Form For you convenience, we bring the reading assignment file here so that you can use it. Caution Dep…
  • I have to create a program that converts roman numbers into numbers (1,2,3 etc) but ¬†I have trouble doing it the question says to use the following¬† M = 1000, D = 500, C = 100, X = 10, V = 5, I =1 T…
  • . 4. Implement a class named "Rectangle" to store the coordinates of a 30 points rectangle given by (x1, y1) the lower bottom corner and (x2, y2) the upper top corner by doing the followin…
  • Min Heap or Priority Queue (50 points) Please implement the min heap or priority queue which include heapify(), percolate_up(), percolate_down(), delete_min(), insert(x), heapsort() and give bigO nota…
  • I need help with these two points below based on the scenario underneath Provide the regex code that would be required to meet the task presented. Describe the relevance of the task: Were regular expr…
  • Implement a class Student. For the purpose of this exercise, a student has a name and a total quiz score. Supply an appropriate constructor and methods getName(), addQuiz(score), getTotalScore(), a…
  • Copy your resulting file from the first question to a new file, perhaps called Point2d_q2. py . 1. Write and test the implementation of the method __str_which returns a string created from the valu…
  • . Home x Discussion x zy Section 3.16 – CYB 130T: Object-( x zy Section 3.10 – CYB 130T: Object-( X + V X – > C a learn.zybooks.com/zybook/CYB_130T_55317551/chapter/3/section/10 =zyBooks My libra…
  • Teachers in most school districts are paid on a schedule that provides a salary based on their number of years of teaching experience. For example, a beginning teacher in the Lexington School District…
  • I am trying to understand how to loop a list that will display months of the year monthsOfTheYear = [‘January’,’February’,’March’,’April’,’May’,’June’,’July’,’August’,’September’,’October’,’November’,…
  • Write a regular expression, usable with Python’s re.search, which captures in its capture groups the parts of a rudamentary URL as defined below: ¬† Examples of URLs: ¬† http://bing.com https://goo…
  • 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 d…
  • I am designing design a program that will ask users to enter a series of 20 numbers. Basically the list show store the following. The lowest number in the list. The highest number in the list. The sum…
  • i have worked on the project but wanted to confirm i did the right thing. 1336 Programming Assignment 2: Combat Display the newr game state Print the game state as described above Test the warrior’s…
  • 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…
  • Types of Constructor Types of Constructor Let see methods of object creation, Constructors. We are going to use the default and parameterized constructor here. and along with setter and getters. Creat…
  • Need help with python code along with output. printi’Largest integer= ‘, lL1.max_int{)) print(‘5mallest integer= ‘, lL1.min_int()J print(‘\nList |L2: ‘) lL2.print_list{) printi’Largest integer: ‘, lL2…
  • menu-driven program for De Anza College Food Court. (You need to use functions!) Display the food menu to a user (Just show the 5 options’ names and prices – No need to show the Combos or the details!…
  • How do you define a function in Python? How would you return a value from a function?
  • #my code def mCn(m, n): ¬†¬†if n ==0 or m == n: ¬†¬†¬†¬†print(str(m) + “C” + str(n) + ” = 1″) ¬†¬†¬†¬†return True ¬†¬†else: ¬†¬†¬†¬†print(str(m) + “C” + str(n) + ” = ” + str(m-1) + “C” + str(n-1) + ” …
  • Question 4 [20 marks] Write program named pluralOfNoun.py that takes a noun from the user and forms its plural on the basis of these rules: a.¬†¬†¬†¬†If a noun ends in ‘y’, check that the character be…
  • Write 2- to 3 essay summary that outlines the lessons you learned in this database class. Reflect on how these lessons can be applied toward more effective database management and reporting. And how c…
  • Write a program that: It’s a one assignment. (1) Prompt the user to enter four numbers, each corresponding to a person’s weight in pounds. Store all weights in a list. Output the list. (2 pts) EX: Ent…
  • Part 1 Write Python program that does the following.¬† Create string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, animal…
  • How do you do a code without decimals?. Write a program and that calculates and displays different suggested tip amounts, much like you see at he bottom of restaurant bills. Here is an example of the …
  • 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…
  • Exercise 1: Below and Above Average Write a program that read a number N from the user. Let the program generate N random values. Afterwards, your program should display the average of all of the rand…
  • How to find the outliers in python using box plot for many columns of data. all are numeric data
  • PYTHON ASSIGNMENT ON 2D IMAGE MANIPULATION 2D image manipulation¬† Start with a low-pass filtered normalized Gaussian noise image. These could, for instance, be a biological cross-section of overlappi…
  • Python Programming Can someone please help me fill in these answers in python. I posted this question before but someone answered them wrong so I am posting again with images of the required output as…
  • Thanksgiving is coming so let’s use regex to find valid coupons. There are two versions of coupons: ‚ÄĘ The first version starts with the company name, amount of the discount followed by a percent sig…
  • 7.5: Modify the above program to work correctly. nums1 = [] nums2 = [] user_input = input(‘Enter first set of numbers: ‘) tokens = user_input.split() ¬†# Split into separate strings # Convert string…
  • i need python code for this question¬† i need code which i can copy paste in my ide ¬† .ffffff …….. ….. ¬†. Example 3 Suppose that for every hso 4(h) is an approximation of the value of M and M …
  • #!/usr/bin/env python3 # Student ID: [seneca_id] def function1 () : schoolName = ‘SICT’ print( ‘print() in function1 on schoolName:’ ,schoolName) def function2 () : global schoolName schoolName = ‘SSD…
  • anyone pro on python come on chat need to ask few question
  • Write a program to remove all duplicates from a list. def createList()- allow the user to input data into the list def removeDuplicates() – function will remove duplicates def main()- call the above f…
  • secret_num = 10 temp = secret_num + 8 temp = temp * 2¬† temp = temp / 4 answer = temp – secret_num / 2 print(answer) Try changing the secret number(i.e secret_num). Why is it working?
  • 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 do I make a program that requests (input statement) t…
  • Please explain why I keep getting these errors and what I can do to fix it, Also can you explain lines 17,18 and 21. Thank you.¬†. Python 3.8.0 Shell 0 X Khan_U8_7.py – C:/Users/Wally/AppData/Local/Pr…
  • Ask the user for a range (a starting number and an ending number).¬† Count ¬†how many numbers are prime numbers and how many numbers are perfect numbers between that range and¬† print ¬†those numbers.
  • Assume we have only two features in our training dataset that is already classified into class C1 and class C2. The transposes of the feature vectors are given below for each class: C1: [2 6], [1 1], …
  • need to write a Python statement to decrease the fourth item in a List by 2. For example, if myList contains¬†¬†¬†¬†¬†¬†[10,20,30,40,50],¬† ¬†myList should become [10,20,30,38,50]
  • This is for python 2, please assist with Part B. Intro. to Computing (810:051) Lab 10 Name: Part B: For this part of this lab, you will be developing a generalized Die class that can have any number o…
  • please provide answer written in spyder tool * *7.9 (Geometry: intersection) Suppose two line segments intersect. The two endpoints for the first line segment are (x1, yl) and (x2, y2) and for the sec…
  • Jessi is a veterinarian. Everytime a dog patient comes in, she has to flip through the papers and look for the dog’s name. If she has records of 100 dog, worse-case scenario, it’ll take her 100 flips …
  • will give thumbs up if correct! PYTHON Activity GIVEN (see pic) ¬† Code for COPY (see below the pic): #CODE¬† class FileNode: ¬† ¬† def __init__(self, filename, depth=0): ¬† ¬† ¬† ¬† “””This function …
  • Next Worth 1 point Checkpoint 4.21 Write a for loop that uses the range function and a target variable named number, that displays the following set of numbers: 0, 10, 20, 30, 40, 50 … 1000 Type you…
  • need python code help for the following. need to make algorithm ———————————————— Superstar Energy Australia (SEA) Billing System —————————————…
  • . Question 2 (65%): Result-guessing game Task Description: Gary and Tom are playing a result-guessing game together. Overall, this game is simple, the judge will give a positive integer to the parti…
  • Define a function add_suffix that accepts two arguments: words, a list of strings suffix, a string The add_suffix function should mutate words to add suffix to the end of every word. Your function sho…
  • Automobile Accidents. The file accidentsFull.csv contains information on 42,183 actual automobile accidents in 2001 in the United States that involved one of three levels of injury: NO INJURY, INJURY,…
  • In this HW, you will use the NetworkX library to analyze a twitter dataset. The twitter dataset is provided on this page: https://snap.stanford.edu/data/ego-Twitter.html (Note the statistics about thi…
  • Python program that defines a function called my_greatest. The function must print an appropriate message (in any language). However, the program must prompt the user for three numbers. All three numb…
  • Python:¬†. Question 4 You are given the partial code. Note that the code does not produce the GUI in Figure Q4(a). Instead, it produces a GUI in Figure Q4(d): Develop GUI for an application based on u…
  • I’m working with the top script which gets one TXT file from an online source (URL is to a GitHub Repository) and converts it into a CSV file. However, I want the script to get multiple TXT files from…
  • Create a python program to ask the user for their favorite item in a given category. Then provide feedback if their item is on your list. Use the following guidelines to write the program. 1. Make a l…
  • Write code that uses slicing to get rid of the the second 8 so that here are only two 8’s in the list bound to the variable¬†nums. nums = [4, 2, 8, 23.4, 8, 9, 545, 9, 1, 234.001, 5, 49, 8, 9 , 34, 52…
  • create_pixel In this coding challenge, using python you will define a function create_pixel(r, g, b): which takes in three integers that represent red, green, and blue. Your task is to return a tuple …
  • Output has been already provided thanks. Background Information In the Tennessee Lottery’s Powerball game, each ticket costs $2 and consists of two parts: . Five distinct integers (i.e., no duplicates…
  • make only python program Source \documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \usepackage{natbib} \usepackage{mathpazo} \bibpunct{(}{)}{;}{a}{,}{,} \usepackage{chngpage} \usepackage{…
  • Write a function shampoo_instructions() with parameter num_cycles. If num_cycles is less than 1, print “Too few.”. If more than 4, print “Too many.”. Else, print “N : Lather and rinse.” num_cycles tim…
  • Task 1. (2 p.) Requires: variables, data types, and numerical operators basic input/output logic (if statements) you should Write a program that presents the user w/ a choice of your 5 favorite bevera…
  • Solution Solved in Excel. Background: One of the most important hydrological processes in river basins is the generation of runoÔ¨Ā (Ô¨āow) at the outlet of a catchment due to precipitation falling on…
  • I need Python code. In problem 1-a, it should be PLOT THE POSITION y VERSUS vy FOR D=0 AND D=0.025 kg/m.. Problem 1 a) A soccer ball is dropped from a height h=2m. The motion of the ball is determined…
  • How do I create a python calculator to determine the price of an item after sales tax is applied?
  • Write a simple Python program that prompts the user for their birth year.¬†Using only the birth year, echo back to the user how old¬†the user is¬†now and how old¬†the user¬†will be in the year 2035.¬†…
  • Define a class called Contact which takes a name (a str) and phone_number (a str) argument. Give this class a method called to_json, taking no arguments, which represents a contact object as a JSON ob…
  • Please help me solve this python 2.7 exercise. — Which of the following data structures may be converted to a Python dictionary by calling: dict()
  • Question 6: Using 2 dimensional lists to build a table [7.0 marks] Write Python statements for performing the following tasks with a table of m rows and n columns. (you can assign any values to m and …
  • how do you in python create the following functions: ¬†shapes(): takes the shape name and a number as parameters, and calls the proper function to calculate the area. ¬†areaCircle(): take one number a…
  • . GolfScoreReader.py Write a program that reads the records from the golf. txt file written in the previous exercise (GolfScoreWri ter . py) and prints them in the following format: Name : Emily Sco…
  • 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…
  • I’m having trouble with my coding, could you start the coding with def function and explain why you are using this format on the comments?
  • these are two codes do them in python¬† #Assignment: Loop over examScoreList and find avg and provide GPA #Assigtment: create password make sure 8 digit long and have least one number
  • . Program 2: Create a collage (30 marks) a) Choose the picture you wish to use in your collage. You can (a) download and use a personal picture file (jpg or .png) in your collage, (b) use the …
  • data: Date High Low Open Close Volume Adj Close 1/4/2021 125.92 123.04 125.85 123.94 5179200 119.5775 1/5/2021 126.68 124.61 125.01 126.14 6114600 121.7001 1/6/2021 131.88 126.72 126.9 129.29 79…
  • CST / Math Data Mining Fall 2018 AUD 426, TU, TH 12:30pm-1:45pm HW 1 PR Directions Each step 1pt – 6pts total. Data frame in Janka.xIsx files contain two meaningful attributes. Please write the R prog…
  • Task 1 Complete the function to return the current working directory import os # Complete the function to return the current working directory def getCurrentDirectory(): # Student code goes here # exp…
  • Finding Numbers in a Haystack In this assignment you will read through and parse a file with text and numbers. You will extract all the numbers in the file and compute the sum of the numbers. Data Fil…
  • Practice: ¬† 1. Get data on the following four stocks from yahoo finance:¬† MS, GS, JPM, C Use the date range 2013/1/1/ to 2018/9/24 Compute the cross correlation coefficients on the stocks Calculate …
  • I need help in sentiment analysis and finding reviews with a .csv file that are ‘comparative opinions’ as written in Jindal and Liu textbook.¬† ¬† ¬† ‘Comparative opinions have different semantic mean…
  • Question I.¬†Fidelity¬†Stock Market The Fidelity Investments¬†webpage (https://eresearch.fidelity.com/eresearch/goto/markets_sectors/landing.jhtml) reports the stock market¬†changes by sector in an HT…
  • . Challenge 2: Machine Learning . Retrieve data from https://jkpfactors.com: Region: World; Data Frequency: Monthly; – Theme/Factors: All Factors; – Weighting: Equal Weighted. . Retrieve monthly ret…
  • Python program that defines a Person class with the following methods.: Ôā∑ __init__(first_name, last_name) # Constructor method to create new Person object. # where first_name and last_name are strin…
  • Problem 1: For this problem, you will build classes for dice and cups.. For this problem, you will build classes for dice and cups. Begin by creating a W class. The class should include the following …
  • include an if statement at the beginning of the dictionary’s for loop to see whether each person ahs more than one favorite language by examining the value of len(languages). If a person has more than…
  • You can turn a word into pig-Latin using the following two rules (simplified): If the word starts with a consonant, move that letter to the end and append ‘ay’. For example, ‘happy’ becomes ‘appyhay’ …
  • Please please please I BEG help me write a program to calculate the minimum allowable implant stem diameter under this loading scenario. PLEASE HELP ME WRITE THIS PORGRAM
  • Create a scatterplot of highway mpg on the y-axis and displacement on the x-axis. Add a smooth line (without confidence interval shading) to your plot. What can you say about the general trend of the …
  • Please help me add 2 buttons to the application below, add 2 buttons to modify the value in the Entry. Instructions: If this value is the displayed result, also invert the result. – a +/- button to in…
  • Having spent the last couple of hours grading assignments, I decide it’s time for a break. I take out my favourite colouring book, turn to a random page I haven’t coloured in yet, and lay it on my des…
  • A Python program: A class named BlackBoxGame for playing an abstract board game called Black Box. It takes place on a 10×10 grid. Rows 0 and 9, and columns 0 and 9 (border squares), are used by the gu…
  • Also if you could give a brief description, regarding scope and what happens ¬†. Question 9. Given the following code, please trace through and write the output below. a = 6 b = def foo (a) : global b…
  • Hello, I need help with modifying my code. I am¬† restricted to using “WHILE” loop and “conditional statements.” ¬†The question insists on ¬†not using “FOR” loops or list module I need help modifying …
  • class named Course in a file called Course.py that has the following data attributes: Name – Name of the course Number of the Course – Number of the course. Credits – Total Number of credits for the c…
  • I need help with the ‘top_20_neighborhoods’ question which it won’t let me select. It says it is answered but it is not.. ax axs [V] , sns . countplot ( x=’Neighborhood Code’ , data=neighborhoods . so…
  • 1/ The scores from a class test are as follows: five students scored 12, three students scored 60, four students scored 72, six students scored 100 points.¬†form a Python program to print the Mean,¬†M…
  • In python. Problem 1: Create a function modinv (a, m) that returns the smallest, positive inverse of a modulo m . If the god of a and m is not 1, then you must raise a ValueError with message "Th…
  • from copy import deepcopy from random import randint ¬† ¬† class List : ¬† ¬† ¬† def split_th ( self ): ¬† ¬† ¬† ¬†¬† “”” ¬† ¬† ¬† ¬† ——————————————————- ¬† ¬† ¬† ?…
  • I’m working through an assessment (Berkely, Data 8.2) and am stuck on the question below. I have created the table non_death_penalty_rates but do not understand what is required for the second part, s…
  • 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…
  • Let us build two predictive models on the following dataset: (http://archive.ics.uci.edu/ml/datasets/breast+cancer+wisconsin+%28original%29) ¬† # load the breast cancer Wisconsin dataset from sklearn….
  • Create GUI paint using tikner and python also add layout and music to it. Room Paint X In the Toy Room A B C
  • A Robot moves in a Plane starting from the origin point (0,0). The robot can move toward UP, DOWN, LEFT, RIGHT. The trace of Robot movement is as given following: UP 5 DOWN 3 LEFT 3 RIGHT 2 The number…
  • In each case, write a program implemented using Spark (on Databricks), to: Find the 5 most frequent and 5 least frequent (but present)t ¬†bi-grams for your dataset (only digits, not the decimal point …
  • No need for the plot related codes. Just the model estimation part: Load Iris data. Estimate the SVM classifier of three types of Iris using hard margin SVM (C = Inf) cross-validation = 3. Use the cod…
  • I am in the process of writing this text adventure and I am having trouble with something… I am trying to get it so the input allows me to write “Go (direction)” but whenever I put the word “Go” int…
  • The question(s) are meant to be used for practice in preparation for the future quiz. You may collaborate with others on this practice worksheet Try your best to create a python program that can calcu…
  • Continuously Compounded Interest def compound_interest (principal, interest_rate, time) : ”’ – Given an initial investment (principal), return the amount earned using the formula for continously comp…
  • CIS150AB – Lab 6¬† ¬† Glendale Coffee Company (GCC) Background: ¬† For this assignment, you will need to create two parallel arrays using the test data below.¬† Your program logic should ask for the c…
  • Now, you will implement “if statements” in a program by modifying the program you created in Part 1. In Part 1, you calculated the total cost of fiber cable installation by multiplying the number of f…
    • Which following statements about ArcPy are true ? Group of answer choices more than one can be correct a) ArcPy provides Python access for geoprocessing tools, and useful functions and classes in…
  • Assume the variable¬†g¬†refers to the adjacency matrix of a graph,¬†i¬†and¬†j, refer to two specific vertices, and there are two collections of vertices¬†a¬†and¬†b. Give a Python expression that evalu…
  • PYTHON PROGRAMMING:Term Project (1): Statistics of Gas Prices Specifications: The data for this product is stored in the text file named GasPrice.txt.¬† The file contains the weekly average prices for…
  • I have Chosen Tkinter For the Table Please Make for 5 different Tkinter Research and prepare the report that evaluates three to five open source Graphical User Interface (GUI) libraries.¬†Based on you…
  • ****USING PYTHON**** Your job is to read the information from this text file ( monthly_sales.txt ) and save the info in a dictionary. Then, you will build a menu and ask the user for an input. Ex: Pre…
  • Hi there, I need this question to be answered in python please! I want to ask a user how many dice they want to roll (1-5) And then I want to ask a user how many times they want to roll the dice (1+) …
  • https://spacy.io/usage/linguistic-features#named-entities¬†(Links to an external site.) Scroll down to the heading, “Named Entity Recognition 101.” You may read the content that precedes this on the p…
  • Construct a class named as Persons. The class should have the class method named as Greet and must print the following as a sentence for example: Hi, ABC, how are you doing?. Here ABC should have your…
  • ) Write a python program which charts the daily high and low temperatures in NYC in 2021. A csv of the data is provided: nyc_weather_2021.csv Source: https://www.ncdc.noaa.gov/ [ Suggested Approach)…
  • In Python This exercise is part of the¬†‘GCDE Week 6 Exercises – Advanced – untimed’¬†exercise set. If you get stuck on this exercise, you can click¬†here¬†to skip to the next unfinished exercise in t…
  • Hometown City USA is analyzing traffic patterns to determine whether traffic lights are necessary at tracked intersections.¬†Each tracked intersection has a data file where each line contains the numb…
  • 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…
  • . Soit la base de donnees d’un festival de musique : Dans une representation peut participer un ou plusieurs musiciens. Un musicien ne peut participer qu’a une seule representation. Representation (…
  • Minimum field width (optional). If specified as an ‘*’ (asterisk), the actual width is read from the next element of the tuple in values , and the object to convert comes after the minimum field width…
  • I couldn’t understand this. High-level idea Create a text file to be encrypted. Create encryption keys. Do encryption by applying substitution encryption algorithm using the generated key on the text …
  • Most Common Integer ¬† Create a program/code that takes a non-empty array of integers and returns the most common one. If there is a tie, it outputs the greatest integer among the tied results. ¬† For…
  • Need help creating a list (or tuple only, no dictionary) that contains the months of the year using Python. ( do not hardcode the month number) The output should like this: Month 1 is January, …Happ…
  • Can someone explain this coding line by line, like what each lines does. Thank you The assignment is below the code and text files are there too ¬† # program that prints data for a school library ¬† d…
  • Examine the Python statements in the file named “lab10a.py”, then extend that program to do the following tasks:¬† a. Display each players’ hand after the first card has been played from each han…
  • Exercise 7 Use the function design recipe to develop a function named bank_statement. The function takes a list of floating point numbers, which will always have at least one number. Positive numbers…
  • Can some one help me with a python code for INSERTION sort, which should take the data from a data set of 100 numbers from an csv file . Here is the link for the data set. Kindly help. ¬† https://www….
  • Case Study Domain – HR focus – Insights from data Business challenge/requirement SFO Public Department – referred to as SFO has captured all the salary data of its employees from year 2011 – 2014. Now…
  • Fetch the SANS list of recommended IP addresses to block (https://isc.sans.edu/ block.txt), recommended using the Python library requests (like we used in Project 1) to download the block.txt file fro…
  • Complete the python code below to recursively calculate the fastest tour (the path and starting point that leads to visit all lighthouses finishing at the earliest possible time). This can be modeled …
  • Develop a program that creates a Histogram visualization that shows the frequency of the number of runs scored by the Diamondbacks for each game in 2019 and 2020 per the attached¬†list of runs¬†in eac…
  • please what is wrong with this python code def Books(): Us = {} for t in open(‘Books.csv’): t = t.replace(‘”‘, ”) (useri, book, year) = t.strip(‘\n’).split(‘;’) user.setdefault(useri, {}) user[user][…
  • Write a Python program named simwalk.py, which will be given three command line arguments: the dimensions of a hypothetical town square as its first two arguments , as well as the third argument being…
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!

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

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

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

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

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