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.

  • Chrome File Edit View History Bookmarks Profiles Tab Window Help O O 49% Q Sat Nov 13 1:58 PM Mail – Shah X M How was yc X WeBWork : X C Project 8 – X BULLS at V X CSE 231 X S Quiz Submi X Homework X …
  • I have this Dictionary and I need to make a game in Python, where my player can move between rooms following the dictionary directions. I need to get an output saying the current room of my player. I …
  • while True: ¬†word = input() ¬†word2 = word.split(‘ ‘); ¬†if word2[0] == “quit”: ¬† ¬†break; ¬†print(“Eating”,word2[1],word2[0],”a day keeps the doctor away.”) ¬† # The code above does not have commen…
  • 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…
  • https://scikit-learn.org/stable/modules/generated/sklearn.datasets.fetch_california_housing.html#sklearn.datasets.fetch_california_housing For Q3 -> Please use MSE as your cost function. 3) From…
  • Database Design and Analysis The following database project will create educational attainment “demand” forecast for the state of California for years greater than 2010. The demand forecast is the exp…
  • Need to create a new rectangle of width w and height h.
  • Analyse the code and explain what is the purpose of for loop and if condition in the following code. def main(): ¬†¬†num_list=[55,67,98,6,90,55,44] ¬†¬†check=num_list[0] ¬†¬†for num in num_list: ¬†¬†?…
  • The GPL license provides four “essential freedoms”. Write a short summary of each¬†freedom.
  • Choose one of your favorite book at goodreads.com (e.g. for the book “The Midninght Library”, the URL is: https://www.goodreads.com/book/show/52578297-the-midnight-library?from_choice=true ) ¬† Q1. Wr…
  • Python help!! Thank you Home Tools Term Project 442(… pa13.pdf X ? 2 /3 + 144% Task 1 – Plane A Plane represents a specific airplane that be parked in a hangar. class Plane: Define the Book class. d…
  • which condition such as “ecount<.33″has a__value. a. numeric b. alphanumeric c.boolean d.character 51.which operators uses > or < to compare date for conditions a.smooth b.logical c.arithe…
  • How to write this python program?. Exercise 5.3 Collatz Conjecture The Collatz conjecture is a conjecture sequence that always reaches 1. The sequence is deÔ¨Āned as: start with a positive integer num…
  • Function cout_vowels that takes two arguments a string and an empty dictionary. The function should count how many the vowels aeiou appear in the string and use the dictionary to store these counts. W…
  • In PYTHON Use the function design recipe to develop a function named a get_books_by_publisher. The function takes a string as an input parameter, which is the publisher’s name, and the dictionary wher…
  • Can you help me with the 4th dot point of this practice python exercise? I have written the code for the first few points, however, I am not sure how to go about the last dot point (red arrow) I need …
  • How Do Others View Python? ¬† Find a video or a website where the author is talking about Python, and cite the source. Then answer the following: Is what they are saying positive or negative? Describe…
  • Dataset Link: https://www.cs.toronto.edu/~kriz/cifar.html. Object Recognition in Images with CIFAR-10 The goal of this assignment is to let you explore and understand Machine Learning (ML) algorithms …
  • I have a 8 different dataset as shown below. The data given here is about livestock raised across Nepal according to different districts/regions and the commodities produced by them.. There are many r…
  • How to round away from zero a float array ?¬† ( hint : np.uniform, np.copysign, np.ceil, np.abs)
  • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
  • Hello !! I need some help doing this assignment .Its a python assignment so please help me solve this.
  • I’m having trouble creating a solution within a single line as there is also a str and int issue when joining the two -Process the list of dictionaries to a list of supplier names formatted as¬† suppl…
  • Previous Page Next Page Question 3 (1 point) What will be the output of this statement? counter = 1 sum = 0 while counter < = 6: sum = sum + counter counter = counter + 2 print(sum) 09 O7 12
  • what do you think that isinstance() method is useful in inheritance? if so explain it by using multilevel and multiple inheritance.
  • Compute the pair sequence alignment using generalGap.py and localAlign.py scripts for the following sequences: ¬†¬†¬†a) THISSEQUENCE ¬†¬†¬†¬†¬†¬†¬†CONSEQUENCE ¬†¬†¬†b) ALIGNMENT ¬†¬†¬†¬†¬†¬†¬†ASSIG…
  • def peer_evals (ratings) : “””Calculate scores from a peer evaluation. Imagine a class where every student has rated every other student. A table that shows the peer evaluation ratings might look some…
  • In this lab, you will work on the scripting code that connects a front-end application connects a database residing at the back-end. ¬† We will use python at the front end to connect to the database. …
  • i need help for pseudocode and flowchart for part1 and part2 i am already done with my codes , please click on the link to check https://pastebin.com/9Crp7Jrd this is an example of the pseudocode that…
  • Go to the website https://celestrak.com/NORAD/elements/¬†(Links to an external site.) and download the data for¬†100 (or so) Brightest¬†(Links to an external site.) Write a program that reads the file…
  • Given that the following code is incorrect, what code would fix the following code snippet? grade = int(input(“Enter student grade: “)) if grade >= 90 : letterGrade = “A” if grade >= 80 : letter…
  • I have a txt file below shown in the picture the txt file is compiled with twitter data and I am required to find and extract everything behind the id, created_at and text, i wrote a code which is sho…
  • Please dont copy Chegg and answer all questions ¬† 1. ¬† Binomial distribution (20 + 10 points) ¬† ¬† ¬† ¬†Write a program to simulate an experiment of tossing a fair coin 16 times and counting the nu…
  • Hello working on an assignment and I am having issues with some errors. I have listed the code, assignment instructions and screenshots of my errors. I need help with the errors so I can know where to…
  • Programming Project: Implement following binary-search tree functions – find_largest_element()¬† ¬† ¬† ¬† # find the largest value in the tree – print_Tree():¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† # p…
  • 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…
  • Assume you have created a mechanical robot that can perform the following tasks: ‚ÄĘ Stand up. ‚ÄĘ Sit down. ‚ÄĘ Turn left 90 degrees. ‚ÄĘ Turn right 90 degrees. ‚ÄĘ Take a step. Additionally, the …
  • Python is used by thousands of people to do things from testing microchips at Intel, to powering Instagram, to building video games with the PyGame library. Although you have just been introduced to P…
  • Use the Zelle graphics.py library, Python code covered in this course and data structures covered in this course to solve the following problem: Bubbie’s Bagels is a new ‘bagel-sandwiches-to-go’ estab…
  • Python Programming Can someone please help me solve this Introduction to Python assignment which uses lists and tuples ¬†. Exercise 3 – Stocks and Shares A stocks and shares portfolio will have a numb…
  • The second image represents the small_reviews CSV file. The third image shows the book_names CSV file. ¬† With these two CSV files provided, how should I implement the code? (Description shown on the …
  • Please answer 1a. ¬†I have a python script. you need to edit in order to solve the question. – loading the matrix/vectors into your program¬† – code performing the needed row operations. – calculating…
  • def occurrences(s,t): result= s.count(t) return result this is mine python code about this question. only one test case is wrong, >>> occurrences(‘aaab’, ‘aa’)¬† 2¬† how to fix this question?…
  • Question 7: Creating truth tables from circuit diagrams (6 marks) Download A B C D1 D2 0 0 0 0 OH 1 0 0 0 1 O 1 H Are D1 and D2 logically equivalent? Yes No. Question 7: Creating truth tables from cir…
  • What is ‘Math’ Module in Python 3 Please explain in a very Simple Language
  • . 2 Voters in Florida (30 points) The Ô¨Āle FloridaVoters.htm1 (downloaded from here) contains a Web Table of republican and democratic voters in various counties in Florida. Write code that reads i…
  • WRITE THE EQUIVALENT PYTHON CODE FOR THE FOLLOWING JAVA CODE MAKING SURE IT FUNCTIONS THE SAME WAY. ¬† public class AlphaBetaPruning { ¬† ¬† // Initial values of Aplha and Beta ¬† ¬† static int MAX = …
  • You are required to 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 Nitra…
  • You must make a python program in Pycharm that will identify 1 st and 2 nd order systems. The python file must read a txt file, and analyze that file. The program must determine and display the differ…
  • Design a recursive function that accepts two arguments into the parameters x and y. The function should return the value of x times y. Remember; multiplication can be performed as repeated addition…
  • Exercise 4 (10 marks) Please use list comprehension to write function divisible_sublist (list1, di, d2) in the script p4. py which takes a list of numbers list1, and two integers di and d2 as argumen…
  • def usage(): ¬† ¬† “TODO enter docstring” ¬† ¬† pass # TODO: delete this line, replace with valid code. ¬† def days_in_mon(month): ¬† ¬† “TODO enter docstring” ¬† ¬† # return days ¬† ¬† pass # TODO: d…
  • 1 v def sim_battle(lpack: list, rpack: list) : Write a function sim_battle(lpack, rpack) that simulates the battle 2 #so fight does not end prematurely Desired question between lpack and rpack and ret…
  • please explain with comments for each below: CAUTION You are not allowed to use the built-in methods¬†max,¬†¬†min¬†and¬†sorted You are not allowed to use the¬†sort¬†method of lists, or any similar art…
  • help with writing a python program with a main function to read the file, and produce a list of all countries with a population above 400,000,000. ? Modify your program so that the user can enter a…
  • Assume you have been given the following dataset stored in a Python/datframe object , called messyDataFrame, write Python code snippets to clean this dataframe object accordingy to the following …
  • Python Binary search question Draw the binary search tree that results from inserting the following values (in the following order) into an empty binary search tree: 13, 17, 10, 16, 11, 9, 8, 14, 4, 7…
  • Write a program using if, and elif and else, that asks the user what their favorite food is. Then for at least 4 different foods tell the user how you feel about that food. If they type in a type of f…
  • Create two separate lists, one called books and one called authors.¬† ¬† ¬†In the books list, add the following book titles: ¬† ¬† ¬† 1. War and Peace¬† ¬† ¬† ¬† 2. Huckleberry Finn¬† ¬† ¬† ¬† 3. T…
  • . Lab10 Implementation Note: . Make sure that graphics . py is on the same directory where you keep lab10 . py You can find graphics . py in brightspace – Week 9 The graphics library does not work i…
  • Python: Currently working on a program that prompts users to insert the name of city and its temperature for 5 different cities. Then the program should calculate the average temperature from those ci…
  • ……………………… 6. (3 pts) Briefly explain what would happen if we tried to sort a list containing numbers and strings? Why?
  • PYTHON: Write a new DataFrame named¬†df¬†that merges¬†monthly_factors¬†and¬†ind¬†by the row index¬†‘Date’¬† df = print a head of df to see what it looks like. df.head()
  • I am struggling with coding this in python: Statistics are often calculated with varying amounts of input data. Write a program that takes any number of integers as input, and outputs the average and …
  • I have attached my code below I need to edit my code and a dictionary to it. Please use the code provided below and edit it using simple python. Thank you¬† ¬† In this assignment you are asked to modi…
  • For the final assignment you will create program to find out if a family needs to pay taxes on their yearly income including property, federal and health.¬† You will notice that some lines on the form…
  • Please use any image you want with the direction below for analysis. For this question you will implement the k-means clustering algorithm and apply it to color a image your choice. you are allowed to…
  • Please provide clear explanation for each part. ¬† The texts below provide you with the format you should use to define your tests. Each test should be done inside a function, such as: def¬†test_somet…
  • python , please make use of spyder. DAT129: Homework 2 When crew members of the starship Enterprise discover a planet with breathable atmosphere, they need to determine whether it is suitable for huma…
  • . Subsequent words def words_with_letters (words, letters) : This problem is an excuse to introduce some general discrete math terminology that helps make many later problem specifications less conv…
  • Please answer this question as soon as possible thanks Question 5 (10 pts) Write a function grep ( fname, s) that searches for a sequence of characters inside a text file. It takes two strings fname a…
  • def add(self, item): """Adds item to self.""" # if item not in self, add the item and increase size def remove(self, item): """Precondition: item is in se…
  • Define a function¬† input_tracker(number)¬† that prompts the user to input values into the console a number of times. The function will return a dictionary where the keys are the different answers the…
  • def exercise07( sd, m, s ) : # The function exercise07( ) receives integers sd, m, s which are standard deviation, mean and size respectively. # Return an ndarray filled with s random numbers conform…
  • # 10 pts – This is the interface for how transactions are added def add transaction ( self , s , r , V ) : Is = # Get current timestamp tx hash = # Hash of timestamp , sender , receiver , value* new …
  • Degbug the “what_to_read” method so that it does the following: 1) Allows user to narrow the random selection by category (e.g. action, horror) while still randomly picking a book from the entire Libr…
  • Define a function¬† mindic(dic)¬† which, given a dictionary as input, returns the minimum numerical value from the elements of the dictionary as output. For instance,¬† mindic({1:[100,5432],2:[10,1,32…
  • i know i did not do something right but i can’t find it in m crud here since it will not run all the way ¬† from pymongo import MongoClient from bson.objectid import ObjectId from pprint import pprint…
  • I have a lot of multiple choices question how i can send all one time. QUESTION 16 According to what we discussed in class, which of the following works as an ORM so that when you write code for the d…
  • # Complete the body of the function below according to its docstring.¬† # Use the following text, as well as the docstring description and the examples¬† # to help you understand what you need to do. …
  • Assume a function for a bank account named, withdrawal(amount, balance) is already defined. Furthermore, assume that the function returns the update balance when the function succeeds, and the origina…
  • Next to the above two lines, write a functional Python code that will create a Tk (tkinter) window with a button in it. Set the button caption to "Resize". Each time when the user clicks …
  • You need to produce a list of word whose word length is an even number. The function¬† selectWord ¬†that is passed the string parameter¬† word . The function returns¬† True ¬†if the length of the stri…
  • I’m using python 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
  • Here is a list of questions for my project due at 12PM tomorrow. I am completely stuck. Is there anyway that I can get assistance? The dataset is based on Preliminary data Fifa 2018. ¬† Preliminary Da…
  • def scale(s, k): ¬†¬†“””Yield elements of the iterable s scaled by a number k. ¬†¬†>>> s = scale([1, 5, 2], 5) ¬†¬†>>> type(s) ¬†¬†<class ‘generator’> ¬†¬†>>> list(s) …
  • PLEASE HELP ME WITH THIS ENTIRE PYTHON PROGRAMMING PROJECT (USE THE CONCEPT CORRELATION ) Activity 1: Correlation Coefficient The below tips dataset of a restaurant contains the information of total b…
  • csv: test_data.csv: ¬†. Problem 1 (60 points) X 2 . 0 – 0- Test data -5 -2 Test data Training data Training data Z 20 10 – Test data 0 – Training data 10 20 30 40 50 60 Time (s) Figure 1…
  • need help. We have created functions in the past that can remove every other node in a linked list, but Lukas wants a custom linked list mutated according some new specifications. He gives you a lis…
  • Step 1: Generating population data ¬† This block of Python code will generate unique TPCP population data of size 500 observations. You will use this data set in this week’s discussion. The numpy modu…
  • My following program – when I run it in the module it says line – if cost_items < 0.00: – is an invalid syntax. What am I missing? # display a welcome message print(“Shipping Calculator”) print() #…
  • Plz give the detail coding fast in copy and paste format fast STUDENT DASHBO Question 12 points SAVE ANSWER The turtle enclosure in the image below is 30 meters by 30 meters square. The image shows th…
  • # Calculate the velocity required to escape a circular orbit of Earth, # depending on a user-entered orbital distance. import math escape_velocity_meters_per_sec = 0 ¬†# Required velocity to escape or…
  • . Question 1: Noughts and Crosses Game According to Wikipedia, Noughts and crosses game is played on a three‚ÄĒby‚ÄĒthree grid by two players, who alternately place the marks X and O in one of the n…
  • Which of the lines of code below will create the following scatter plot, given the¬† pandas ¬†dataframe,¬† df_total ? import matplotlib.pyplot as plt plot(kind=’scatter’, x=’year’, y=’total’, data=df_…
  • I want to add the function of this program class base_class: ¬†¬†”’ ¬†¬†base class, will use a template for children classes; will not be used for creating objects ¬†¬†”’ ¬†¬†def __init__(self, ip_a…
  • Let’s learn a little about MultiIndex in Pandas. (Very easy and interesting) Reference: https://nbviewer.jupyter.org/gist/kmsaumcis/3397e614a0d9e8c63e17dd2191865b0d – in this link example is given. us…
  • Please solve the code and find the mistake. And please don’t copy from chegg and course hero. ¬†. main.pas program d; 2 function pow(x, n: integer ) : integer; 3 begin 4 pow: =1; if n = 0 then YOU pow…
  • Python The following equations estimate the calories burned when exercising Women: Calories = ( (Age x 0.074) ‚ÄĒ (Weight x 0.05741) + (Heart Rate x 0.4472) ‚ÄĒ 20.4022 ) x Time / 4.184 Men: Calories …
  • Question 1: Make a program which, given an integer¬†?¬†as input, will produce a mathematical expression whose solution is¬†?. The solution is restricted to using exactly four¬†4’s and exactly three of…
  • Hello¬† i need help with this question¬† Question¬† ¬†Write a code that creates a set of passwords, based on a list of enetered country names. Each password should be a combination of: The first three…
  • An audio description of the following can be found at: Blackboard>Tools>Blackboard Collaborate>Decision Science Room (April 21) Project: Design a decision fusion tool to perform weighted fusi…
  • please solve it and provide python code also ¬† ¬† ;;;; ¬†. 3. RSA encryption (10 points) You’re going to send me an encrypted message using RSA. In other words, you’re Alice and I’m Bob. You will use…
  • 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…
  • Hello, I am currently working on a project in Python and having some issues with it not working. ¬† In this project, I am managing stock price data using data structures and algorithms I learned ab…
  • Copy the¬†countdown¬†function from Section 5.8 of your textbook. def countdown(n): ¬†¬†¬†if n <= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) Write a n…
  • Add three methods to the¬†Student¬†class that compare twoStudent¬†objects. One method (__eq__) should test for equality. A second method (__lt__) should test for less than. The third method (__ge__) s…
  • I’ve ask this several times and in several different ways. This is in Jython (Python) ~ I can open a .py file and edit it, but I need to save it before running the code. I either get a ‘directory not …
  • Complete the programs below to clearly print the necessary information to the user based on each program overview given. This program will ask a user to enter a movie and a character from that movie. …
  • Hello Tutor, Please help me to solve these problems as soon as possible. I would leave good feedback and mark it as helpfulūüėä Thank you so much. 3. Given n is 10 and d is 3. a) Compute and print the…
  • CHALLENGE ACTIVITY 4.9.1: Conditional expression: Print negative or non-negative. Create a conditional expression that evaluates to string "negative" if user_val is less than 0, and "no…
  • What should be project proposal idea for Data 603 – Big Data Processing ?
  • Use the binary_tree¬†implementation we discussed in lecture recording and add the following two member methods: def copy(self) -> Node :¬†a method that creates an exact (deep) copy of the binary tr…
  • Python Programming: Using Numpy, Accept ints from user until the user enters a 0. Then calculate mean, median and standard deviations of all¬†entered values. Display stats.
  • Hi I’m looking to complete this assignment and I need assistance. The Professor allows collaborations with other sources CHI Ill I’ll-mi. I EtllcÔ¨āu- Eli-I DleIÔ¨āII. Wale Billie Pythm Flagrant thIt …
  • . 1While True loops and the break keyword should not be used in our assignments. Try using the algorithm for the best practice while loop featured on the assignment sheet. The break keyword is also …
  • i have question about python working in stats but i cannot attach files here, i dont know how
  • Please help me do these activities using python tuples Activity 1: Changing Tuple Items Given a few random names stored in the names_tup tuple, write a code to remove raj from the names_tup tuple and …
  • what is the python code for this? please structure the code with comments and indentations. Write a function called ‘reverse date’ to reverse the order of the date in the following string using regula…
  • . Question 1 (10 points) Chief Meme Officer In popular texting apps, the practice of typing a word in all capitals is generally to indicate screaming (or) anger. Whereas you may have noticed sometim…
  • base code#—————————————————- # Lab 4: Web browser simulator # Purpose of program: # # Author:¬† # Collaborators/references: #—————————————–…
  • Julius Caesar was not only a famous dictator, general, and cipher enthusiast, but he was also a best-selling author. “caesar.txt” is a file containing his autobiography, written in Latin. Design a com…
  • Why would a programmer use the logical operator or in an if statement? ¬†When an action is to be taken that requires both conditions to be false¬† When an action is to be taken that requires both cond…
  • Can someone explain to me how to upload a file in course hero when I want to ask a question? The options in “enter the question box” only allow images, questions, and codes. What about if I have an ex…
  • 10 00 # create your objects here 10 class CelestialBody: 11 def _init__ (name, position, mass, radius) : 12 self . name = name 13 self . position = position 14 self . mass = mass 15 self . radius = ra…
  • A half life is the amount of time it takes for a substance or entity to fall to half its original value. Caffeine has a half life of about 6hours in humans. Given caffeine amount (in mg) as input, out…
  • For this homework, you need to submit a Python program that does the following: Stores your first name as a variable. Use all lowercase letters when you declare it. ¬† Stores your last name as a varia…
  • I have completed most of the code but am unsure how set up step 1 so it can be used by steps 8-10. ¬†Any help would be appreciated as this is supposed to go into one function. Here is my code: ¬†I hav…
  • Problem 1 Your task is to analyze and draw insight and conclusions from the dataset births.csv provided to you. The data was collected and published by New York City. It is limited to NY city. The da…
  • 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…
  • Question 1.1: ¬† For this week, we will be implementing various functions related to the MOBA (Multiplayer Online Battle Arena) game Dota 2. Dota 2 is a hero-based game where players can choose fro…
  • I’d like help with this. I need to use Panda, Numpy, and matplotLib in Python. The type of program I’m writing is described below. The two csv are Housing.csv and P I need to load one of two CSV files…
  • I need python code of the following: 14. One python statement to store the names of the five countries(you pick the names) in a list named nations. =================================== 15. refer to the…
  • “im having trouble in my block of code in python. i cant figure out why im getting $800.00 for the amtDue print, the mileCharge is getting 500 and i cant figure out whats wrrong. I have the calculatio…
  • Hello, I am wondering if there are ways to make scatter plot. I am having trouble with this one. It is questions 2b, c, d, and e in this problem set. What are some ideas on how to co this? XCS229i Pro…
  • matplotlib python code.. 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 create a zoomed in version of the graph around the maximu…
  • Kindly see below the program and do it following : Practice reading other people programming logic. ¬†¬†¬†Practice¬†debugging skills. ¬†¬†¬†Gain debugging experience. ¬†¬†¬†Identify language syntax er…
  • Hello, Can someone please help me with the question above? ¬†Thank you¬†. Dataset Description This is a description of the dataset that will be used in this lab. Dataset File: mammal sleep…
  • Hello, I have issues getting my Decision tree code working utilizing a Utility class similar to the following. I am having a recursion issue towards the bottom of the learn function, with the self.tre…
  • Write a script that builds an interface with a few options. When the script is executed, the screen is cleared and the following menu is displayed: Main Menu 1. Information 2. Networks 3. Operating sy…
  • 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 u…
  • This assignment will extend Unit 6 Assignment 2 to include both first and last names for students and multiple exam scores. You can start with either your source code from the prior assignment or the …
  • I am producing arrays out of images which are producing 10000s of arrays based on the pixel. how do I downsize them? ¬† CODE –¬† ¬† from sklearn import cluster import matplotlib.pyplot as plt import n…
  • https://github.com/openredact/openredact-app/blob/master/backend/cli/redact.py ¬† please, can someone explain methestructure of this code
  • Real estate business “Buywithus” is looking to expand its customer base by having a single-page web application with a Chatbot. The business is suffering because real estate agents are faced with lead…
  • Applying your Python 3 programming skills to a topic of interest to you! Your choose which chapter (from 11 – 18) to “dig into” (chapter 18 ) sending Email and text messages !!!!!!!!!!!!!!!!!!!!!!!!!!…
  • 26 The cryptography function crypto() takes as input a string (i.e., the name of a file in the current directory). The function should print the file …
  • # q2 – create a function named: ¬†validate2Lists() # ¬† ¬†– add a meaningful docstring # ¬† ¬†– accept 2 list parameters in this order: # ¬† ¬†— a list of 3-character strings, e.g. [“2KL”, “ZQQ”, “A…
  • I have to review the customer requirements and create an IPO chart / breakout (I’m also not sure what “breakout” means) that determines the additional inputs, processing, and outputs. but I’m not sure…
  • . Sample Test Cases The red text is the part you need to input via console. Sample Test Case 1 — 8 is the target number. “1,2,3,4,5” is the list of integers. Please input the target number and …
  • Develop an executable (.exe) that is a simple hospital information system (HIS) ¬† HIS: Mandatory Functions 1. Patient Module: store and retrieve patient information from input. First name, last name,…
  • Hey, this is a assignment from CMU academy. However, if you need to know documentation and other properties visit https://academy.cs.cmu.edu/docs For this task, you will create a program of your choos…
  • Which of the following orders will produce a binary search tree with the best search? a. inserting the items in a random order b. inserting the items in order c. inserting the items in reverse order.?…
  • Computer Science how to create Boxplot labeled with p-value of Mann-Whitney statistic in Python? x1 = [“46274″,”92645”.”22837″,”61116″] x2 = [“30222″,”38462″,”20974″,”2232”] And change the label SS an…
  • Please whitespace matters in this assignment Please also the examples code ¬†to test your code. Thanks!. (1) Prompt the user to enter four numbers, each corresponding to a person’s weight in pounds. S…
  • import java.net.*; import java.io.*; //tcp_server.java public class tcp_server { ¬† public static void main(String[] args){ ¬† System.out.println(“tcp_Server connected….”); try{ ¬† ServerSocket ss=n…
  • Please use python. Caluclate the expansion to second order using Taylor’ Series of sin(x), cos(x), (1‚ąíx)n and compare values of the actual function with your approximation by plotting both in the sa…
  • . Question 0.2. Now that we have a function that computes the variance, we want to write a function that computes the standard deviation. Fill in the missing code to complete the function compute_sd…
  • Please copy and paste the link to see if it works. ¬†I need help on how to add changes? ¬† Crime_and_Punishment_w_Solutions_v3.ipynb – Colaboratory (google.com) You should make changes and tweaks to t…
  • Write Python Code PM. Use the Sieve of Eratosthenes algorithm to eliminate primes in a list of numbers from 1 to N. Your code initializes an array or list with single digits taken from your student nu…
  • Solving this python class car problem. Please help me solve it. ¬† ¬†¬†1-¬†define a class Car that ¬†¬†¬†¬†– has a “brand”, “model” and a “year” all defined with type hints ¬†¬†¬†¬†¬†making them of st…
  • 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…
  • Create a python script file (named tuple.py) that demonstrates the basic elements of creating and populating numeric and string tuples. Tuples are much like Arrays in other programming languages. Crea…
  • please see the details from the attachment, let me know if you have any question. For this assignment you will be writing a series of programs that should be stored in their own "py" files. …
  • Project Description This project involves creating a spell-checker problem that accepts a word from the user, look up that word in an available corpus and perform spell-correction on the word if the w…
  • please make sure to read the question properly. This is the third time I’m asking the same question because I was given a random answer that had nothign to do with what I asked. Thank you!! ¬† ¬†. fro…
  • A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself (= it can only be divided by 1 and itself).’ The first few prime numbers are {2, 3, 5, 7, 11, …..
  • For this assignment, continue to use variables, functions, and control structures to improve the “View all Employees” functionality developed in Week¬†3 and utilize functions and the passing of parame…
  • Having a very difficult time programming this. My logic and output is not quite right, please help. Directions: Output: provided code: class Person(object): ¬†¬†”’creates a Person object with name, i…
  • q 5 Write ¬†program that: asks the user to enter five test scores. accepts grades that are greater than zero and less or equal to 100. displays a letter grade for each score and the average test score…
  • Define a function drawCircle. This function should expect a Turtle object, the coordinates of the circle’s center point (x, y), and the circle’s radius as arguments. The function should draw the ci…
  • This project is about writing the program to capture the input from the user and determine how much will hotels cost for planning a vacation. There are four hotels, and the user indicates which one (…
  • what should i type there ? should i type that directly into vs code ? for animal in animals[10:]: print{f"The {animal.title{}} is an animalG, where {animal.title{]} is each individual animal&quot…
  • Write an in_order(x, y, z) function that returns True if the three parameters are ordered strictly increasing or strictly decreasing. Parameters are a priori numbers, which can be compared using > …
  • how do you solve the block world agent?. class BlockWorldAgent : def _init_(self) : #If you want to do any initial processing, add it here. pass def solve(self, initial_arrangement, goal_arrangement )…
  • I need help making a tic tac toe game in Python 3.8, it is already started, but I need help finishing the code.
  • How would you write this program in Pycharm? Discuss any difficulties you were faced with.
  • please help! Module 8 Lab 11 < Instructions Deliverables: You must submit your .py file. Name the file: lastname_firstname_lab8.py. Example: bond_josh_lab8.py Perform the following steps in the fil…
  • Hy ¬†can i please get answers of all 5 ques in proper details¬† Asap within 1 hr¬†. (75) Pc Whats Assign N Netflix Alexar Course As X 5 Power Po O * [Solve > questi b questi S New T| A prin | b mod…
  • def exercise14(words): Exercise14() receives a Python list of words. Create and return a pandas DataFrame or Series that tabulates the length of each word i.e. a list of the words hello, car, bye wou…
  • I need help with these two problems: 1. Create a program that draws a house on the screen. (using draw.polygon )¬† House should include: – Black door, ROUND window, Triangle roof 2. Create a program t…
  • I’m not sure if this is deemed basic or advance since this is my first question. If this is deemed an advance please let me know for future questions. THIS IS PYTHON ONLY! Explain lines 20, 22, 24, an…
  • I am working through the following notebook and I am running into 2 issues: 1- Within the “Correct Two Data Points” section, I am getting the titles to show within the output but there is no actual da…
  • I just need help with these 3 functions. I have been trying for a while and am having trouble. I’m assuming that they all need to have for loops but I am not sure. Any Help is Appreciated. # Precondit…
  • computational maths 1. The following code finds and plots the turning points of the function f(x) = 2x" – 3x-+5 f = lambda x: 2*x**3-3*x**2+5 fprime = lambda x: 6*x**2-6*x x = [-1] while x [-1] &…
  • Question 1. your parallel code and compare it to the serial code (it will compare answers and speed). Remember to try different start and end values in the main() function in diver.py Question 1 (20 p…
  • I need to extract all the images from each PDF file, as the program extracts images it needs to create a new folder labeled with the PDF file’s title, and then all images extracted will be saved in th…
  • Create a logic that allows multiple sets of scores to be averaged. Valid entries must be numeric and in the range of 0 through 100. Calculate the average of the scores entered. Allow any number of sco…
  • # Load the data and libraries import pandas as pd import numpy as np from scipy import stats import matplotlib. pyplot as plt plt. style. use ( seaborn-whitegrid’ ) def laplace_mech (v, sensitivity, e…
  • tmp = “Good Day”; ¬†print( tmp[2:4]) ¬†¬†¬†¬†tmp = “John Doe”; print( tmp[5: ] ) Exact Output: 2. ¬†sentence = “Hi Bye” ¬†¬†¬†¬†¬†tmp = list(sentence); print(tmp) Exact Output: 3.Use a string meth…
  • Write a bash script to take two string values as command-line arguments and compare the characters of both strings and print which characters are common in both strings. You have to define the functio…
  • Can someone help me implement this? Below I have provided the question and the DR.py file. ¬† DR.py File import argparse import os import os.path as osp import numpy as np import matplotlib.pyplot as …
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
  • I have to use the “classicmodels ”¬† database I installed in MYSQL, make a Python script that deducts one percent from the amounts paid for purchases made in the month of December. The amounts custome…
  • UTP FBTO015 STRUCTURED ALGORITHM & PROGRAMMING SEMSEPT 2021 LAB EXERCISE WEEK 9 (LAB 2) Learning Outcomes Upon completion of this lab session, learners will be able to: 1. convert mathematical for…
  • Hi Team , Need your help to finish one of my project assignments. This is part of IOT project using Python codes, this expects the simulation using MQTT tool.¬† I have pasted the detail of the require…
  • What is the codes for the following Instructions – – The code editor should contain your find_min function. We are free to define more than one function in our code. In the code editor, write a second…
  • def exercise 1 1 ( n ) : 1 1 1 Using Numpy , create a single dimension array , array _ Id , of size n containing integers @ to n – 1 Reshape the array . The reshaped array , array _ reshaped , should…
  • How do I go about solving this? I am just stuck and have no ideas on how to implement this and make the program! All of this can be accomplished by writing loops, but have no idea which loops to use a…
  • solve the following question using python:. [1]: Question 1 [25 pts]: Write a class SpecialList that can hold only strings. Note. Only Python built-in functions are allowed to be used in this question…
  • This is coding question. I don’t know question 1 and 2.. Let’s start by finding the total number of minutes you spent exercising each day. Question 1. Write a function called compute_exercise_time . I…
  • what’s the problem here? I print out different number in second one. numString = Safe Decoder avg = 0.0 return avg else: Function Name: safeDecoder() for t in numString: sum_num = sum_num + int(t) Par…
  • I need someone to review my python code and help me fix the errors please. Code below: ”’Import”’ import sys import math import json import os.path import datetime ”’Person Class (Name, Address)”’…
  • The display method of the Smartphone class should call the display method of the Phone class and they both should be named the same (display). The author of this document cheats by changing the name o…
  • I am studying how a game called Conway’s Game of Life using Python, where I declare the following Global Variables: ¬† Step1: MAX_ROW = 30 – # total number of rows MAX_COL = 60 – #total number of colu…
  • 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 …
  • Define a class called Animal that abstracts animals and supports three methods: ¬ß¬†setSpecies(species): Sets the species of the animal object to species. ¬ß¬†setLanguage(language): Sets the…
  • I have the steps.text file if you need it. Thanks. def main( ) : # Open steps. txt for reading # Set the counter and an accumulator day_count = 0 total_steps = 0 # Loop through the file for step in st…
  • Tic-tac-toe Game You are expected to implement the game with a user interface. Use print statements for the user interface and the input() function to get user actions. Game : Tic-tac-toe You should h…
  • When you are monitoring Event IDs on any Microsoft system, you will find that the following Event IDs are important for a technician to determine that unauthorized access (or perhaps authorized access…
  • Creating a Python program (You can use google collab for coding) 1. Create a Python program that will produce an output of sum of 10 numbers less than 5 using FOR LOOP statement. ¬† 2. Create a Python…
  • Please make a Graphical User Interface project using Tkinter. It may be a guessing game (for kids),¬†¬†sales and ordering for online store, or any GUI application of your choice.
  • You are given a string S of length N which encodes a non-negative number V in a binary form. Two types of operations may be performed on it to modify its value: if V is odd, subtract 1 from it; . if V…
  • dont use any Shortcut please. Try to use sidenotes 3. Solve the differential equation by separation of variables: dx 2 y ln x y +1 dy 4. Evaluate the triple integral integral xyz dV; G is the solid in…
  • Write a Python program that takes as input non-negative integer n and then computes an approximation for the value of e using the first n + 1 terms of the continued fraction Task 1: Continued Fraction…
  • 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 m…
  • Provide an explanation of the differences between using Lists and Tuples? Following your description please provide examples of how you would use each
  • In Python, a syntax error is detected by the ________ at _________. A. compiler/at compile time B. interpreter/at runtime C. compiler/at runtime D. interpreter/at compile time Group of answer choices …
  • . Prof. Kutsal Dogan As signment O 3 1 Instructions Create a Python Ô¨Āle named youerupNumberAsg03.py post it on Canvas. This is a group assignment. You may complete in groups. Max group size is 3. …
  • Write the header comments and description of the program. ¬†Develop a Python program that prompts the user to input the number of rows and columns they want the game board with. Possible alternative…
  • + PCRS + PCRS VEERS: Jamie de J… pcrs108.utm.utoronto.ca/108/content/challenges/55/1#python-8 A pcrs108.utm.utoronto.ca/108/content/challenges/53/2#python-10 -> C A pcrs108.utm.utoronto.ca/108/co…
  • What is log likelihood and how do you find it of a set of data that comes from negative binomial distribution in python
  • In python. Thanks a lot, I appreciate it.. Write a complete Python program that prints the following figure as console output. Use functions to capture the structure of the figure and to eliminate red…
  • How do I code this in python? Write a function max_magnitude() with two integer input parameters that returns the largest magnitude value Use the function in a program that takes two integer inputs, a…
  • Suppose we roll two dice 10 times. We denote the value of sum of faces as X, and denote the observed values of each trial as x_1, x_2, …x_10. Which of the following is/are true about X? a) X can onl…
  • For Programming Assignment 1, we are going to code Phase 1 of an IPv4 Address Checker. This script requires loops (while and for) and if statements and the ability to work with Strings. We are going t…
  • Use loop Hints: Identify the constants ( or¬†Input) Processing Identify the condition Use a while loop with the above identified condition. Output Display the result 1) Write a program for the followi…
  • How do I attach files to tutor questions? I do not see anywhere to attach
  • Writ a program that can be used at cash register of a fresh food shop. The program maintains a dictionary of vegetable names and their prices. When the program runs, it should display a menu letti…
  • Consider the following two assignments: my_grades = [64, 67, 58] my_grades[1] = 74 Draw (or describe) the objects and labels that the Python interpreter creates in response to the first assignment. Th…
  • Using python verify that ‚ąĎ k = 0 n ‚ąí 1 ‚Äč ( a + k d ) = a n + 2 d ( n ‚ąí 1 ) n ‚Äč is equal to ‚ąĎ k = 0 1 9 9 ‚Äč k Expected Output: sum = 19900
  • 21) (25 points)¬† Lucy’s Lemonade has grown and now wants to do their payroll on the computer. Lucy says the system should handle a maximum of 10 employees.¬† Lucy has created a simple text file with …
  • Class: Engineering Dynamics Please answer completely and show all necessary steps. I have the math solution below. I just need a program in Python or MATLAB that would solve it for me. W/ =mes if Toe …
  • Exercise 7: Coin Toss Create a program in Python that will mimic a coin toss. The program needs to accept either heads or tails as possible values for a coin. It will then count how many times heads i…
  • Identify a programming scenario in which you would use a dictionary, a list, a tuple, or a set. Describe it in terms of the type of data required, how the data will be used, and speed of processing re…
  • Assessment Details The Federation University Australia Robot Wars are about to commence! The competitors are busy training and now it’s time to prepare to sell spectator tickets. Your task is to desig…
  • I need help writing a program that reads a list of words. Then, the program outputs those words and their frequencies in python. 6.18 LAB: Word frequencies Write a program that reads a list of words. …
  • def get_top10(master_dict) ÔɆ list of tuples¬† a. Sort all the countries in the world by GDP per capita. Return the top 10 countries with the highest GDP per capita. Each tuple in the list will be in…
  • Write function named extractEvenLess that finds all even integers less than a threshold value in a list of integers. The function extractEvenless takes one parameter: a list of zero or more integers n…
  • I am having trouble as to what I should put in the bold areas for the below code? import sys,os,re import time ¬† # define global variables used as counters tokens = 0 documents = 0 terms = 0 terminde…
  • Class Material Private String _type Public Module Material(String type) _type = type End Module Public Module display() Display _type End Module End Class Class Furniture Private Material _material Pr…
  • what is wrong with the code? Trying to convert dataframe to csv and exporting into local system. However, output says, none ¬†. In [27] : x = dengue_drp_1_inc_rearrange_col_2. to_csv("C: \\Users\…
  • def __getattr__(self,name): pat = r’^^(?P<self>)_prev(?P<num>\d+)$’ #^_prev(\d{1,4})*$ print(str(re.split(pat, name))) if not re.match(pat, name): raise NameError(f”Time.__setattr__: {name…
  • How we can differentiate between a pre and post increment operators during overloading?
  • This is a question on neural networks and machine learning, I’m confused on. This is the link to notebook:- https://colab.research.google.com/drive/1Z2GJMGyBHZrdlP2Qn-HK3P3HwUrTHrU2
  • Implement bubble sort, an inefficient, in-place sort described on Wikipedia. Name your function bubble_sort. wikipedia link : https://en.wikipedia.org/wiki/Bubble_sort
  • create a function second_largest(lst) that return the second largest number in the integer list list. for example,for the input [1,3,7,6,2] the function shuld return number 6. you can assume that inpu…
  • Task 3: Simple Tables Implement a function addition table(numbers) that takes a list of n numbers and returns an n √ó 3 table where the first row contains the given numbers plus 1, the second row cont…
  • The space csv file will be linked below the comment section. Full and clear steps in needed. Thanks. Most of us have always been fascinated with mankind’s struggle to overcome Earth’s gravity well and…
  • A python function that takes a string as argument and returns the inverses of that string.
  • 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…
  • So I have this CRUD application code attached below and I am trying to determine how to develop a Python testing script that imports the CRUD Python module to call and test the C and R instances of CR…
  • 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 Cut-Up method 2. Analyse the …
  • . 1 Turtle Olympics Write a program (or function if you know how) which uses a turtle or turtles to draw the Olympic ring logo. Extra credit if you can get the rings to overlap and cross over and un…
  • I need help with counting the steps for Collatz Conjecture. 1) The user should be able to enter the number 2)II need it to count how many are in the list instead of printing everything in the list. Th…
  • In Python I’m getting incorrect code. Write a program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters “Quit”, “quit”, …
  • Write a function prereq_filter(students, courses) which receives a list of students and a list of courses that are a prerequisite. The method must return a new list with the names of students¬† that h…
  • 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 ¬†. Declared Disaster X Digital Real Estate X FSA Public Ser…
  • What is wrong with this program? it gets me a name error ‘calculateTip’ is not defined. def calculateTip(food): tip = food * 0.15 return tip def calculateTax(food): tax = food * 0.07 return tax def re…
  • Write a Python program that stores data about individuals in one dictionary and stores data about marriages in a different dictionary. Your program must combine the data in the two dictionaries and pr…
  • Python Programming 3 Write a function numLoops(n) that takes a positive integer and executes the following algorithm. If the number is even, divide it by 2; otherwise, multiply the number by 3 and add…
  • if i could get help with the following please explain if you could 10:30 PM Thu Jun 18 1 64% <Back MATH 211 B: MATH THNKN… Notes Week 3 7 Python3.pdf caen nine you run 10 . Fred Portier Math 211 …
  • can you help me with this question and give me detail soluitons? Do not import set modules .. . < > G online.cs.uwaterloo.ca C < Previous Instructions Polygons Dates A Course is a Course, of …
  • 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…
  • Assume three dictionaries are assigned to the variables,canadian_capitals,mexican_capitals, andus_capitals. These dictionaries map provinces or states to their respective capitals. Write code that cre…
  • Locate or write two Python scripts that support security automation. Discuss their use in cybersecurity.¬†Explain why you selected these two and specifically how they are useful
  • 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. In the end, write out some …
  • . PROGRAMMING TEST A: LEVEL ONE SAVE EACH FILE AS THE RIGHT NAME OR YOU WON’T GET THE MARKS! Step Skill Instructions Save As Open Template. Write a program that asks the user for their name and thei…
  • double- ended queue Suppose you have two nonempty stacks S and T and a deque D. Describe how to use D so that S stores all the elements of T below all of its original elements, with both sets o elemen…
  • . 3. solve(images, mode) This is a high level function, solving the whole problem by calling other functions to solve sub-problems. Add logic inside the loop if the mode parameter has the value N…
  • coding using python ¬†. 3 Coding: Note : you pick the appropriate parameters in these problems. 1. Let X1, X2, . .. , Xm iid N(, o’). Consider the hypothesis test: Ho: 1 =1 HI: u= 2 a. Let a = 0.05 an…
  • pages Function Name: square_contents¬† Description: Define a recursive function that accepts a list of numbers as a parameter and returns a new list with all the initial contents raised to the pow…
  • Write a looping segment that uses a single for() loop to display the following message, according to these loop control settings. Chicago loop control variable: counter control variable ( initial valu…
  • can you match the following please. Match the following terms with correct definition. Q v Function header A. begins with the def keyword, followed by the function’s name and . v Parameter parameters,…
  • Only need help on Question 2 , Question 1 is completed (refer to colab link): Reference Colab link: https://colab.research.google.com/drive/1EyaZes6QFse_qlHm-1Ha5iOoTaJqhuRb?usp=sharing Dataset: https…
  • Expressions can be written in a form called postfix notation ¬†(also known as Reverse Polish Notation, or RPN).¬† In such a system, the expression: a b + c d – * = would be rendered as the infix expre…
  • Assignment 6a: numpyPurpose Using libraries is a key part of any programming language. Python is rich with libraries that help solve mundane problems or provide frameworks, so that you can solve your …
  • ”’PART A. Section of Custom_Script.py: —— File Read Template Provided ——– # # Run to see Input1, Input2 & Output before you code next sections # # Read test_data.csv and CONVERT to Float…
  • “”” File: useArraysAndLinkedNodes.py Author: Derrf Seitz This program exercises arrays and linked nodes. The following files must be in the same folder: ¬†arrays.py ¬†node.py “”” # <your name> #…
  • Code: import matplotlib.pyplot import numpy myImage = matplotlib.pyplot.imread(‘flower.png’) height=myImage.shape[0] width=myImage.shape[1] for x in range(0, height-1): ¬† ¬† for y in range(0,width-1)…
  • The code I have as of now is def unscrambleTuples(list_of_tuples): ¬†¬†tupleslist=[0,1,2] ¬†¬†for i in list_of_tuples: ¬†¬†¬†¬†if type[i] == str: ¬†¬†¬†¬†¬†¬†i==tupleslist[0] ¬†¬†¬†¬†elif type[i] == i…
  • Write a function replace_chars (word, k) that replaces the letters from the kth position with another char. This char is in the position in the alphabet that is the same position as the original chara…
  • How to solve this code? can_hike_to: (List [List [intjj , List [int], ListEint], int) ‚ÄĒ> bool. The Ô¨Ārst parameter represents an elevation map, the second represents a start cell, the third repr…
  • Hello, ¬† I have a merged dataset where I am trying to fill in the NaN’s with the mean value of the State unemployment data. ¬†I can run the below code without error however, when I run a check to con…
  • . FileNotFoundError: [Errno 2] No such file or directory: ‘parker. txt’. Test Case #1: We know distance 10.3 light years and speed 34391 miles per hour It will breach in 200895 years. Test Case #2: …
  • Create youown Python code examples that demonstrate each of the following. Do not copy examples from the book or any other source. Try to be creative with your examples to demonstrate that you invente…
  • The lab 7 starter file:¬† import os import sys import pickle def process_files(dir_name): ¬† ¬†“”” ¬† ¬†Loop over the directory with name dir_name, open all the .py ¬† ¬†files in read mode as text fil…
  • I want to find the customer already in our database who is most similar to the new customer for the recommend 10 book from books.txt file using the ratings from ratings.txt file for example we rate 10…
  • Hello, I need help solving this Lab simulation, It uses Simple statistics types statements and I am very new at python on so I need help solving it. It is very difficult. It is very confusing since th…
  • Do the necessary transformations for input variables for getting better R^2 value for the model prepared. Build the model and predict for the output variables. USING PYTHON CODE ONLY 1 ¬†Emp_data -&gt…
  • The following is a pattern of numbers that has a significant role in the history of mathematics and science. Starting from the second row, the first and last numbers are 1 and each of the numbers in b…
  • Hello, I need help solving this Lab simulation, It uses Conditional expression: Print negative or non-negative for if-else statements and I am very new at python on so I need help solving it. It is ve…
  • Given fYn(y) how would I use matplotlib to graph the equations to reflect figure 3?
  • Part 1.¬† Manually copy file ‘IT109-Lab9-input.txt’ into the same directory in which you keep your Python programs. Open the file using a text editor or Word, read the contents, then close it.¬† Then …
  • Please help! Problem Statement The system we shall analyse in this assignment is our neighbourhood medical walking in clinic. Indeed, their administrator has asked us to create a simulation program, s…
  • I need help with the following question. Thank you!
  • Hello could you please answer this using Python ll’ake the linear demand and functions for the market for beef: Demand: P = a, – 510,; + cf; mwMF=w+hw where a1 and a; are demand and supply intercepts,…
  • Your final script will scrape the¬†https://casl.website/¬†within CyberApolis.¬†¬† IMPORTANT you will not follow any links that veer outside of CyberApolis IMPORTANT you are allowed to use standard pyt…
  • I need explanations for this code please: import turtle def bar_chart(x,y,labels,values,colors): ¬† ¬† height = max(values) ¬† ¬† width=40*len(values) ¬† ¬† turtle.penup() ¬† ¬† turtle.goto(x,y) ¬† ¬†…
  • write Python code to implement a basic Markov Chain Monte Carlo algorithm. The purpose of the algorithm is to estimate the posterior density of a random process by combining your prior beliefs and you…
    • Read through Midterm.py.¬†Define and describe a software process (using a process model), which you will use to approach the changes to Midterm.py you will make during this test. Each activity type…
  • In an electronic shop, laptops of brands ‘Dell’, ‘HP’, ‘Lenovo’, ‘Sony’, ‘Acer’ are available. Unit price of the brands of pen drive is 40000, 42000, 40180, 39400 and 39300 respectively and the availa…
  • Please convert below Matlab code to Python ¬†. im_train = loadMNISTImages (‘train-images-idx3-ubyte’) ; for i = 1:784; PC = PCA_SVD (im_train, i) ; recon = PC’ + im_train; normal = recon * PC; diff = …
  • I have not done the part where it says if its divisible and day >= 21 ¬†yet, but I am having an error as it says it cannot define season. This is what I have so far: (thonny/python) # Input # Ask u…
  • . 2. (10pts) Consider the problem of randomly grouping a class of 21 students into 7 groups. Create a Python program that: (a) asks each student of their full name; and (b) prints the list of the me…
  • question 2 2. Create a new optional type of die. In addition to a normal and a "cheat" die, add a "weighted_die" class and make it an additional option for the user’s dice. A weigh…
  • what is python development environment and what is it made up of?
  • Problem 2: In this particular project, we are going to work on the… ¬† Problem 2: In this particular project, we are going to work on the inaugural corpora from the nltk in Python. We will be lookin…
  • These functions are in order 1-5 in what to do with them in each part of the uploaded document def service_count1 (db : {(str,str):int}) -> {str:int}: def cando1 (service : str, db : {(str,str):int…
  • Paython script Create a Payton script to input 2 numbers from the user(read statement). The Payton script will then ask the user to perform a numerical calculation of addition, subtraction, multiplica…
  • Part I: Downloading the US Census Income Dataset We will use one of the datasets of the UCI data repository. It contains many datasets that are used by researchers and data scientists to evaluate new …
  • I need a python program as an online shopper. The store offers two types of discounts. The first is a cash-off coupon, that is earned by shopping. You may apply one $5 or $10 cash off coupon per order…
  • Implementation of Newton Raphson Method for an oil tank. You have a spherical storage tank containing oil. The tank has a diameter of 6ft. You are asked to calculate the height h to which a dipstick 8…
  • Function get_list_stats(), the function prompts the user to enter positive integers, space to end the input . If the user entered anything other than an integer it will be ignored. If the user entered…
  • “Alcohol is a drug that is processed by the body in a predictable way. Because alcohol can impair someones driving, in Australia you are not legally allowed to drive unless your blood alcohol level (B…
  • I really need help with some python code please. I am learning and writing functions and then calling them to several menu options but keep getting error messages. Any guidance to understand where Im …
  • What is wrong with this code? It kept on saying I got it wrong.¬† 1. s1 = “apple” 2. s2 = “banana” 3. s3 = “orange”¬† 4. joined_with_cammas = s1 + “,” + s2 + “,” + s3 5. print(joined_with_cammas) ¬†. …
  • Hello can anyone help me solve this in Python 3.10?. Murach’s Python Programming Case Study by Section: Blackjack For this case study, you will develop a program for a Blackjack card game using the …
  • -when the user chooses add: prompt for the song’s title, artist and year, error-checking each of these [3, 5], then add the song to the song list in memory (not to the file); new songs are always unle…
  • Define the max_x function, which takes two arguments: (1) a function -call it f- (of one parameter)and (2) any iterable that produces values that can be passed as arguments to f. When max_x is cal…
  • In English , describe how you would optimize the suspension of the quarter car model using:¬† scipy.optimize.minimize.¬† Your discussion should be sufficiently explicit to translate into an object-ori…
  • Task You are to plan a plane ticket ordering program as described in the following description. Use what you have learned in class, including simple functions, selection and repetition. Assignment 2 w…
  • Get creative and write your own, unique quiz program. The quiz must pose¬† three questions ¬†that you make up. Question 1 should require a¬† string answer, question 2 should require an integer ¬†(int)…
  • Question: ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† Lab Assignment #3 – Use MLPs for expectation/characterization issues Practice 1: Multi-layer Neural Network compose a scikit-learn based application to antic…
  • I am encountering a problem that is to show the histogram for the population for the Massachusetts cities (state_id MA). Also need to have a brief interpretation of the figure. I am not sure if my his…
  • Hi, can you explain how to fix 3.4.5 in question 29? Thank you.
  • The volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. Write a function called print_volume (r) that takes an argument for the radius of the sphere,…
  • I don’t know how to code question 3 so that i have all the defs required as well as have it print out how the teacher wants it to print, these are the defs i need to use: Make a class HeapOfBeans to i…
  • Define a function to analyze a numpy array Assume we have an array X which contains term frequency of each document. In this array, each row presents a document, each column denotes a word, and each v…
  • Questions about pandas jupyter path : https://drive.google.com/file/d/1WbV_qnqs7sSsBU8Wz4wJ0tTq5vFUkKh_/view?usp=sharing data path : https://drive.google.com/drive/folders/1ukZ3xhtSxmUc9wW22TADhC_E6ZJ…
  • please can you help me? I would greatly appreciate it
  • Problem 2: Clustering the Locations Imagine first we have enough budget for three meetingups. You need to plot your clusters for the three meetingups using different colors. Based on the result, what …
  • If your student number is even:¬†Use the first 1000 digits of sqrt(2). If your student number is odd: Use the first 1000 digits of pi. ** Refer to Data for programming assignment file under modules – …
  • Computer Science 1 – CSci 1100 Lab 5 – Yelp Data webbrowser . open ( ‘http://www.google. com/maps/dir/from_address/to_address’ ) Spring Semester 2020 Here is an example for directions between RPI and …
  • Compose an iterator class for your assortment that emphasizes through your assortment and returns the things in the rundown in the request wherein they are put away. The outcomes will be like toString…
  • please help me with this This program has 10 options. The Ô¨Ārst number entered by the user indicates the option the user is selecting. Eyery option inputs a phrase from the user. The output depend…
  • Please help me. Thanks Question 2 – quadratic equation solver (25 pts) A quadratic equation is any equation that can be written under the following form: ax2+bx+c=0 a, b and c are called the coefficie…
  • silicon wafer manufacturer stores, for every part in their inventory, a part number, how many there are in the factory, and the cost for each part. Create a function called “waferstore”, that will: …
  • This the movement of a satellite in the system of earth and moon. d’ x (t) = x(1) +2 dy(t) (1 – H) (x(1 ) + H) u ( x(1) – 1+ 1) dt2 dt 73 d’ y(t ) = y(1) – 2 dx(t) (1 – H) y(t) dt2 # is the ratio of m…
  • Please, use the link to the assg, do not write anything on it, make a copy of it and post the answers here. Answer where it says TODO and the Q1, Q2 and Q3 https://colab.research.google.com/drive/1XRt…
  • How to construct a tic tac toe game using turtle graphics in python:¬†Please read the rules carefully!¬† We can use: turtle.goto. turtle.window_width, turtle.window_height, turtle.up, turtle.down, tur…
  • Please fix my program so that [0:6] and k=6 is not used. I tried “for number in range(6)” but it did not work. Please also use something else for “win=false” because I am not supposed to use that. ¬† …
  • This question deals with the recipe for making a cake. One cake requires 1 egg, 2 sugars, 3 wheats and 3 buckets of milk. Your job is to build a program to help the player determine how many cakes the…
  • How to wrtie the function palindrome_binary(n)¬†which returns a list of bitlists of length n, where every bitlist is a palindrome. The returned list of bitlists must be in lexicographical order Note: …
  • If you just gonna say “Need more info.” then please don’t come and look at my question because I am posting everything I have. Thank you This is the question Here are the examples… The final p…
  • Task 1 on Key index Searching & Sorting¬†(25 marks) Create a¬† KeyIndex class with the following properties :¬† ¬† Fields:¬† ¬† int [ ] k;¬† ¬† Description An array of integers.¬† ¬† Note: You may…
  • Compose a method calcTotal(myTree) that will accept as a parameter a binary tree containing integers and will return the sum of all the node values
  • You and¬†ūĚźĺ‚ąí1friends want to buy¬†ūĚĎĀdifferent pieces of candy. Candy piece¬†ūĚĎĖcosts¬†ūĚĎĚūĚĎĖ.The candy shop owner is greedy and wants to maximize his number of new customers, so he increase…
  • I am working on a function, and it is not correct. Here is what I have so far: def matching_parens(s): ¬†¬†“”” ¬†¬†Returns True if the string s has a matching pair of parentheses. ¬†¬†¬† ¬†¬†A matchin…
  • 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…
  • Design and produce a program to read students’ scores from an input file, compute their letter grade and display their name and letter grade. Each line of text in the input file will have all the info…
  • . Display a Dynamic Line Chart. Write the code in Python You will display a line chart of a dynamic dataset. It is advised that you start with assignment 3 and add the capability to update the displ…
  • full_lyrics = [‘A’, ‘well’, ‘a’, ‘everybody’, ‘is’, ‘heard’, ‘about’, ¬† ¬† ¬† ¬† ¬† ¬†¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†‘the’, ‘bird’, ‘Bird’, ‘bird’, ‘bird’, ‘b’, ‘bird’, ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†…
    • This program should print the numbers 0 through 10, along with their values multiplied by 2 and by 10. You should accomplish this using a for loop instead of a counter-controlled while loop. Instru…
  • Hello, The codes you sent me are to advance for me . I”m still in week 4. This is week 6 assignment. I need a example of this code. Thank you! Example output: C:\>python week4.py Welcome to the Tea…
  • another way to make a program that allows the user to play a guessing game with the computer. The user should pick a number at random. The user should keep this number in their head and not tell the c…
  • def exercise @5 ( n ) : # The function exercises ( ) receives an integer n. Return an ndarray filled with zeros of size n x n ( no rows , no columns ) # _ _ _ _ Place code below here V/ V/ V _ _ _ _ …
  • I have been developing a Python script to Calculate Straight Line Depreciation and Sum of Years Digits Depreciation I was having issues getting the callback for the Sum of Years Digits loop Here is wh…
  • K-means step by step, k=2 Extract kmeandata from cluster_data.mat as your dataset. a. Initialize the cluster centers (the means) at (-2,-2) and (4,4) b. Calculate the distance between each data point …
  • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
  • A restaurant has two types of dinner combos for customers to choose.¬† A regular dinner combo includes main dish and soup .¬†A deluxe dinner combo includes main dish, soup and appetizer . There are th…
  • Question 1:¬† Objects that “see” the data in other objects, rather than having their own copies of the data are called ________ objects. ¬† ¬† subordinate ¬† ¬† scene ¬† ¬† view ¬† ¬† aspect ¬† Views …
  • Trying to get a inline explanation to this pseudocode, if all possible. I dont really understand it and am required to explain what each line is doing. I had the answer previously answered by another …
  • (Data management contains multiple steps, including data cleaning and exploratory analysis. In this project, you will showcase skill in data management using Pandas.) Answer these questions: Do indivi…
  • Hello everyone, I am working with Djikstra algorithms and doubly linked, and I am getting the errors below, what might be the cause, please.¬† TypeError: add_edge() missing 2 required positional argum…
  • Need help please LA020692 assessment 1, unit BSBEBU401 Ed2. Task 2 You have been provided with the website customer analytics to understand the website usage and customer profile. How can you use this…
  • (I am taking an online Python class. I read ahead and this is the practice assignment. Any help with coding?) How would you code a program to perform a linear, 2nd-order polynomial, exponential, power…
  • getting error OSError: [Errno 22] and also need help on how to get label on images that say “hot dog” and “not hot dog” *my line of code is line 105-118* image helpers import requests def get_image_fr…
  • This is an exercise to practice text representation methods and NLTK package.¬† Input data –¬† The input dataset is a sample of news articles related to S&P1500 in January of 2016: < News_Artic…
  • Machine learning has now permeated multiple disciplines, even politics. The current landscape in the US is rife with data scientists and other quantitative experts making predictions about ongoing and…
  • Show me how to make a program that:-¬†¬†¬†asks the user for a number –¬†¬†¬†the program should display all positive factors of the number that is input. user inputs 100, all factors of 100 are display…
  • Fill in the blanks Complete the code to return the output X = 2 write code here X = = 2: print ( ‘It is 2! ‘) Expected Output It is 2!
  • The CarSales.txt file is in this link: file:///C:/Users/Praveshika/Desktop/CarSales.txt CarSales.txt contains the car make and sale price separated by a comma. We need to download the file and upload …
  • python program to collect input from the user for two addresses (name, street number, street name, city, state, and zip code) from the command-line prompt. first need to create variables to store the …
  • Visualizing Pairwise Fisher Discriminant –¬† Dataset: https://www.kaggle.com/c/digit-recognizer –¬† For every pair of classes (0, 1), (0, 9), …, (8, 9) – ¬†Compute the Fisher Discriminant of each…
  • (In python) The code I have so far, said that “n” is not defined¬† for i in range(1,n+1): ¬† ¬†print(n,”times”,i,”=”,(n*i)). Complete the following code, replacing the "FINISH ME" parts with…
  • Python Coding Question I have the following list: list2d = [[‘2005’, ‘New York’, ‘America’, ‘5’, ‘4’, ‘6’, ‘7’], [‘2006’, ‘London’, ‘England’, ‘5’, ‘8’, ‘1’, ‘3’], [‘2000’, ‘Tokyo’, ‘Japan’, ‘2’, ‘1’,…
  • Q2: Write a function to compute the amount accrued with simple interest on an investment given the principal amount, the annual interest rate and the number of years in the loan. Assume that the inte…
  • 10 Points Here are three versions of a code fragment located inside a function: Version A for Index in range (10) : DoSomethingInteresting (Index) if (Index % 2) == 1: print (Index) return Version B f…
  • : Using a boolean array, select the names in Year 2000 (from baby_names) that have larger than 3000 counts. Keep all columns from the original baby_names dataframe.
  • In python please. Problem 3: Program a function mod_exp (b, n, m) that computes mod m using the algorithm discussed in lecture. No credit will be given to functions that employ any other implementatio…
  • Define a function sumString() takes two parameters a and b.The function returns a string containing the a, a space ,and b.
  • output SHOULD look like: Payroll for week xyz ¬†¬†¬†¬†¬†¬†¬†James Bond¬†¬†¬†…….¬†21,500 ¬†¬†¬†¬†¬†¬†¬†Al Bundy¬†¬†¬†¬†¬†¬†…….¬†¬†¬†¬†500 ¬†¬†¬†¬†¬†¬†¬†Johnny English¬†¬†…..¬†¬†1,200¬† ¬†¬†¬†…
  • Hello Students, this is the last week for CS Dojo therefore your final projects. For this project, you will be implementing a Movie Theater App. The requirements are as follows: 1. Create two arrays: …
  • Complete the following objectives using APEX: Background Information: You have been contracted by a small company named DJ’s on Demand to create database for storing information on their jobs, event v…
  • Write a program using TKInter widgets . When run the program output window should look like Figure 2 ¬†. This is Label widget This is Button widget I Figure 2: Create Widgets
  • Hi, I need help with a python program. The program will focus on using nested for loops as well as string manipulations. ¬†You may not use any lists or list methods, or any while loops or try-except s…
  • meal_cost = 10.00 tax_rate = 0.08 tip_rate = 0.20 #You may modify the lines of code above, but don’t move them! #When you Submit your code, we’ll change these lines to #assign different values to the …
  • hi I have trouble understanding the following question could you show me how to do them? Consider the following mystery function: 1 def mystery (file1, file2) : YOUI D WN f1 = open(file1, ‘r’ ) f2 = o…
  • (this is the document and could identify how many given word is frequently used?) Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic …
  • I need help writing code 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 i…
  • I am working with a cdc data frame that has thousands of covid19 rows by state since the start of the pandemic. For some reason NYC and NY were two separate entries. Is there a way to combine these va…
  • Can someone help me on Recursive Factorial¬† ¬†. Task description: The factorial of a nonnegative integer n, written n! (pronounced " n factorial " ), is the product of n* (n – 1)* (n -2)* ….
  • Hi, so I am tasked with the following, using PyCharm, MiniConda and NumPy. You have a knapsack that can hold weight at most C (capacity). You are also given a list of N different item types, each of w…
  • . Quiz life ements Show Instructions tal Shell D Question 22 Write a python program that 1. Asks the user for a positive number of names to enter 2. Asks the user to enter that many names 3. Prints …
  • Describe how¬† catching exceptions ¬†can help with¬† file errors . Invent three Python examples that actually generate file errors on your computer and catch the errors with¬†try: except:¬†blocks. Inc…
  • . ull View Submission | Gradescc X Cengage: Digital Course Sol X & University of Arizona : CSC X proj04-long.pdf X A Due Date 12 – ENGL 108 SP x / Desmos | May tinh do thi X + V X < -> C A…
  • Here is the question: The¬†str¬†method of the¬†Bank¬†class returns a string containing the accounts in random order. Design and implement a change that causes the accounts to be placed in the string b…
  • Draw the graphs of the Manchester, differential Manchester, NRZ-I and NRZ-L schemes for each of the following data streams: a.¬†¬†¬†¬†¬†¬†11001100 b.¬†¬†¬†¬†¬†01010101
  • please assist Find the most influential product reviewer for every product. Note: the influential product reviewer is the customer who rated the product either 5 or 1, wrote a review for the product, …
  • please someone help me QUESTION 1 Version control does not allow programmers at remote locations to work on the same files at the same time.¬†(True/False) ¬†True False QUESTION 2 With version control,…
  • What are the steps to perform k fold cross validation on a split dataframe? ¬†I am attempting to code this from scratch in Python using a data grame that has already been split into x_train, y_train, …
  • Hello, I need extractLetters2 written. ¬† extractLetters2: This function will operate just like extractLetters, except here you must use a dictionary-based approach along with the translate method ava…
  • Ask the user to enter a number and then enter another number. Add these two numbers together and then ask if they want to add another number. If they enter “y”, ask them to enter another number and ke…
  • CREATE THIS PYTHON PROGRAM AND SHARE THE CODE OUTPUT Create a python program for the given problem. Program A: Recursive Multiplication 1. Design a recursive function that accepts two arguments into t…
    • Identify a named self-adjusting algorithm (e.g., “Nearest Neighbor algorithm,” “Greedy algorithm”) that you used to create your program to deliver the packages. ¬† B.¬† Write an overview of your …
  • Design your own REPL to create the following: The Adder REPL allowed the user to enter commands interactively. For example: Welcome to the Adder REPL. ??? a gets 1 ??? input b Enter a value for b: 2 ?…
  • Could you help me with this question? Please show me the codes and explanation. The Deck of Cards API ( directly search it on google) + GR BO A H : : readfree.me CD WAS//M… News article sum. I EM Ho…
  • It is required to implement a program in python, which solves the following problem: We want to simulate an ATM A simulation of an ATM will be created within a program. Like any ATM, the program must …
  • Question 4a (4 marks) A researcher is investigating the spread of disease in a population using the code below. 1. Fix any errors in the code 2. Add a figure title "SIR Model parameters: a -> …
  • what Is the answer When the following program is executed, it terminates with an error. Which option best describes the cause of this error? def cow(11, aa) : dd = aa dd = dd + 3 result = 0 for i in r…
  • My following code works but I am having one issue and that’s making a new line at a particular section. However, I tried “\n” after “Choose an option:” and still doesn’t give me the output I need. MY …
  • need help asap CodeHS Alterations to main program: Alteration 3 Four circles; Top 2 with radius 50 bottom 2 with radius 25
  • Scenario: A development team is to create software applications that allow ordering and delivery of food. Registered customers can select items from participating restaurants. The order is sent to the…
  • Q1a: Write a code segment to create and print a two-dimensional 5×4 array (i.e. grid). The elements of the grid should be randomly selected from the inclusive interval [-50, 50]. This’s the code of Q1…
  • Solve using Python/Spyder/Anaconda¬† ¬† ¬†. Problem 3 The temperature distribution for a solid slab, 0.5 m in length, is given by the following differential equation. The boundary conditions at the in…
  • A vending machine is an automated machine that is intended to provide users with a diverse range of products: snacks, beverages, cupcakes, newspapers, tickets, etc. A vending machine dispenses a produ…
  • Q1 [10] A drug company would like to introduce a drug to help patients with Alzheimer’s. It is desirable to estimate¬†őł őł, the proportion of the market share that this drug will capture. The company…
  • Python help: classes and overwrites¬† ¬† Design an Employee class to store the first and last name of an employee. Add operators or functions to the Employee class to support standard operations like …
  • Hi, I need help with this python, I had been trying this for awhile but still couldn’t run. Is possible could you please help me. The question is below. Thank you Go ahead and write a program to enter…
  • Task 7 Write a Python program to combine two dictionary adding values for common keys. Suppose¬† d1 = {‘a’: 100, ‘b’: 200, ‘c’:300} d2 = {‘a’: 300, ‘b’: 200, ‘d’:400} The expected output should be {‘a…
  • . A docs.google.com/forms/d/e. 11 . . . Consider the following data set.. 5 points Considering ‘profitable’ as the binary valued attribute we are trying to predict, which of the attributes would you…
  • Update this code so that it: Asks the user for their name. After each game, presents them with a record so far including Name Guess distribution # of games played Win % Win streak Longest 3.Saves e…
  • How to complete the three related code using python3, please give detailed explanations, thanks. 1. def satisfies(product, cond): ¬†¬†¬†Determines whether a product satisfies a given condition. ¬†¬†¬†…
  • Task 1: Partial Sums <¬ß2.2.2 For-loops> Implement a function partial sum(start, end, step) that takes three integers and returns the partial sum of a sequence. The function will return the sum …
  • Please see attachment for format. Design a Python program that connects to a sqlite database. Compose a table called Horses with the following fields: id (integer): a primary key and not null name (te…
  • In python please……. Select which statement is true for for loop. 0 a. break and continue are illegal to use in it 0 b. terminates after range is executed. O c. used commonly when a task is to r…
  • I need left and right movements and if there’s no movements the character will stand. ¬† class Player(pygame.sprite.Sprite): def __init__(self): super().__init__() player_walk_1 = pygame.image.load(‘g…
  • use a FLOWCHART and a PSEUDOCODE for each problem. 1.¬†¬† Problem 1: 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…
  • Please help: Helper: performance.py: https://pastebin.com/GWkJ6T0S nearestneighbor.py: https://pastebin.com/nJSn8ut2 stopwatch.py: https://pastebin.com/NF3p9qSY goody.py: https://pastebin.com/XYWyq7qz
  • 5.2: ¬†¬†Writ python program that does the following: ¬∑¬†¬†¬†¬†¬†takes as input from the user a date and time (24-hour clock) as “MM/DD/YYYY HH:mm:SS” o¬†¬†Assume that everything must be provided w…
  • lad: source=contents 4.3: The for Loop: A Count-Controlled Loop Worth 1 point Checkpoint 4.18 Write a for statement using the range function and a variable named number that will print the following o…
  • quality please import pandas as pd import statsmodels.api as sm import numpy as np fb_like = pd.read_csv(‘http://fengmai.net/download/data/bia652/dataset_Facebook.csv’, sep=”;”) # remove unneeded vari…
  • write a loop to print all elements in hourly_temperature. Separate elements with a -> surrounded by spaces. Sample output for the given program with input: ’90 92 94 95′ 90 -> 92 -> 94 -> …
  • Using Excel produce a plat of this equation for -15<= x <=1D; use intervals of 1 e.g.-15,-14, …… 1, 21 3, ……….. (10 points]
  • Using a file called population.json, generate a population growth tables for the US and Russia for the years 2001 on from the data [{ “population” : 145814.864 , “region” : “Russian Federation” , “yea…
  • Write a function total_len(words) that takes as input a list of 0 or more strings words and uses recursion to compute and return the value obtained by adding together the lengths of all of the stri…
  • I don’t know what I am doing wrong, but definitely a second eye is needed. Why would the numbers read from csv not match with the count from the query? This is my code in python: https://paste.ofcode….
  • TASK 1 Your boss has asked you to help identify problems with a program he has made.¬† # This program gets two numbers from the user and adds all even numbers between them # e.g. 10 (inclusive) and 18…
  • Creating a python code that passes the following test: money¬†=¬†Money(“USD”,¬†100) observed¬†=¬†money.currency expected¬†=¬†“USD” assert¬†observed¬†==¬†expected,¬†f”{observed!r}¬†!=¬†{expected!r}” ob…
  • DO NOT RESPOND TWICE IF YOU HAVE ANSWERED THIS BEFORE Please respond with the code for a program in python that I can paste on a ide like pycharm that has a loop that continues to prompt for two numbe…
  • import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import KMeans from sklearn.cluster import DBSCAN¬† from sklearn.datasets import make_blobs ¬† ¬† n_samples = [750,750,750] clust…
  • I need help coding these c) Ohm’s Law states that the current through a conductor between two points is directly proportional to the voltage across the two points with the quantity (1/Resistance) serv…
  • Hi, why do these codes produce syntax error? def f(1): return 1[:-2] print(f(f([1,2,3,4,5,6][::-1]))) def f(y): return x: x + y print(f(1)(2))
  • Submit a report on detailed study of comparison between web sockets and Web RTC.
  • 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…
  • Replicate the following while ¬†loop structure with a for ¬†loop: i = -447 while i < 500: ¬† ¬†if i % 10 == 0: ¬† ¬† ¬† ¬†print(i) ¬† ¬†i += 3
  • this course is using wing personal 7.2 python. r’l’Vijl."’¬£ Fall 2020 Assignment This project will store the lab scores for a student, maybe for you. Since we know how many labs there will be in…
  • Review the ATM program that was previously developed in Python. Rewrite the program using the Object Oriented Programming method. in Python The functionalities of the redeveloped program should be the…
  • why this doesnt work ¬† t = [1,0,2,13,0,-7,5,-20,100] q = t.sort() print(q[8])
  • Need some help! 1) Create a class that contain all prior functions 2) Test the application ¬† Assignment 1. ===== Create a simple calculator to accept two numbers and print the addition, subtraction, …
  • k-nearest neighbors, decision trees and logistic regression can ALL perform classification tasks: O True O False
  • class TreeNode: # Constructor for tree nodde def __init__(self, key, parent_node=None): self.key = key # set the key self.parent = parent_node # set the parent_node self.left = None # set the…
  • Given the list lst of psitive integers, assign the largest duplicated element to the variable max_dup. If the list contains no duplicates assign -1 to max_dup.
  • Data Files We provide two files for this assignment. One is a sample file where we give you the sum for your testing and the other is the actual data you need to process for the assignment. Sample …
  • #Complete the avg function so that it will calculate the number of of cases per month and print it to the screen. Test case input: January = “30” February = “90” March = “75” April = “91” May = “72” #…
  • Implement any program in Python firstly without any thread and later create threads to show that the execution time decreases with the increase of the number of threads (hand-written source code and t…
  • Survey data was collected on the types of food (fruit, vegetable, meat) that patrons purchase at a grocery store. The example below displays a snippet of the CSV file which houses the survey data.¬† R…
  • there is a bigger picture of Python’s uses and how it serves a broader, multifunctional role. from the list below select one of the induristies and provide a summary of how Python’s functions are used…
  • Take the original classification code and make the following modifications: . Change the number of epochs (line 22) to be 10 or 15. Is the “loss” value decreased? What happened to the training time? ….
  • My code is below. It outputs in 3 lines. I need output of the first 2 lines to be on one line and I can’t figure out how to make that happen. Everything I try to put them on one line results in errors…
  • What example of a code could I use in order to do a temporary variable? The purpose is to define an increasing or decreasing trend in a set of numbers. The input is by the end user and the amount of n…
  • I cant figure out how to create a psuedo code for this question.. Hide Assignment Information Instructions Week 6 Assignment: Create a pseudocode to do the following: – Part 1 . Step 1: Create a list …
  • no copying 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 (…
  • Add a command to this chapter’s case study program that allows the user to view the contents of a file in the current working directory. When the command is selected, the program should display a list…
  • Hello I want to understand this. This is python linkedlist. OrderedLinkedList() creates a new ordered list that is empty. It needs no parameters and returns nothing. add(item) adds a new Node with val…
  • Access the Australian Taxation Office website and find the current tax tables for individuals. Write a program that asks the user to enter their tax file number (using a ‘string’ data type) and then t…
  • FIDDLER SCRIPT: – import System; import System.IO; import System.Threading; import System.Web; import System.Windows.Forms; import Fiddler; class Handlers { static function OnBeforeRequest(oSession: S…
  • Question: Chapter 7 Homework – Salaries For Computer Occupations ¬† Windows Form for Occupations ¬†Windows application that analyzes four computer job titles from the information listed on the U.S. De…
  • 18 LAB: The name of the King! (Strings) ¬† Learning Objectives In this lab, we will work on conversions to string and string concatenations. The main task is to read some templates from the user and…
  • A function stairs(staircase) which takes information regarding a staircase, and returns the number of different ways it is possible to climb the staircase. The function must: take a bitlist of length …
  • Questions 1 Write a program that asks the user for an input of each of the date components (day, monty and year). Display the output data in the format of date/month/year for example if the user input…
  • Question Completion Status: oUM 10 ued ul paidon YOU BARU UPUL Que IMannSuLOSI-can ain fa Dawup16 used seu uoIssued Quads alaum Idaaxa ‘asInon laino Aup. UL lawssasse. 101 DamIwIans or otherwise plagi…
  • Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– L…
  • How can i learn linux command? What software that i need to run to open the linux command? What is the easiest way to understand the linux? Thank you.
  • Dataset in the picture is a sample. Couldn’t get the whole thing to show. Please share the Python code along with an explanation so I’m able to follow along. Working with different Python libraries in…
  • Hello, please help me figure out my python3 code. LAB?- Add the necessary code to the source file VOWEpr, that asks the user to enter a sentence and extracts the sentence from the input terminal. The …
  • . Home x Discussion X zy Section 3.15 – 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/15 =zyBooks My libr…
  • Hello dear helpful person. What I need is a Python Code that Takes as Input an ‚Äöinput file’ and returns a tuple with the index, length and peptide sequence of the longest open reading frame. Thank y…
  • The main objective of this to design and implement a task management ‘database’ software application1, for managing a person’s workload (or ‘ To do’ list, using the python concepts learnt so far like …
  • Make your own Python code examples that demonstrate each of the following. Make your own examples to demonstrate the following below. Example 1: Define a function that takes an argument. Call the func…
  • Predictive analytics algorithm in Python. Utilize one of the following Web sites to identify a dataset to use, preferably over 500K rows of data: https://toolbox.google.com/datasetsearch https://www.k…
  • Using the code from the csv section above as a guide, you are to write a program that reads in the crime.csv file and creates a pie chart of the crimes.¬† The data for the slices of the pie will be a …
  • In the United States, the president is elected using an electoral college system, where each state is assigned a number of votes (called electoral votes) based generally on the state’s population. If …
  • I am stuck and cant figure out the createList function part this is what i have so far from asgn_7_main import main print(main()) amount = “” def payMe(): ¬†¬†print(“\nWhat’s the most you are willing …
  • Hello there: I must complete the following lesson as exactly as the instructions are given in the Python code. After I have completed the lesson, I must test it by changing SIZE to any number between …
  • from typing import List, Set, Dict, Tuple, Optional, Text from operator import itemgetter ¬† # import spacy package ¬† # load the small english core web model from spacy. ¬† ¬† def get_lemmas(text: Te…
  • write python program to make the following game: ‚Äʬ†¬†¬†¬†¬†¬†¬†The computer creates a random number between 0, 100, but does not reveal the number ‚Äʬ†¬†¬†¬†¬†¬†¬†Then, the user is asked to guess …
  • I need help to solve this assignment. currently at the Community College of Alameda, the cost per credit hour is $274.41. However, the college wants to increase the cost per credit hour by 2 percent f…
  • The company that you work for is moving to a larger building. The new office is rectangular and will be subdivided into cubicles. Your employees want to request particular positions for their cubicles…
  • 2.1: Confidence intervals for popular means. CHALLENGE ACTIVITY 5.2.1: Confidence intervals for population means. Jump to level 1 1 Suppose the mean height in inches of all 9th grade students at one…
  • FULL CODE BELOW (Using MNIST dataset with MLPClassifier): ¬† Procedure: Use warm start and train your model using the train1 dataset for 2k epochs. Then, using warm start, continue the training with t…
  • 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…
  • . Description In this assignment, you will write a script that reads in a Ô¨Āle describing a game of Uno that is in progress and print out information about the state of the game. Input Your program…
  • Edit Metadata 11. How far will an inspector have to travel? Write distanceTraveled to be how far will an inspector have to travel to visit, in the order they occurred, all of the coordinates with comp…
  • While preparing this problem set the jury has run into the followingproblem: 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 sen…
  • Hello Partner, I am having issues with my python module here which they are several “#TODO” instructions to work on this script. I am trying to create a dashboard to connect into MongoDB as followed i…
  • “Please Fill this” from graphics import * from time import * import random #given top and lower left corner, draw the tires and car body def draw_car(win,p1,p2): carlist1=[] tire_left= Circle(Point(p1…
  • Let’s explore the first feature Sepal Length List. 1.Callculated the mean length using sum of all the values of the list / total number of all the values 2.Check if the mean is less than 5 3.Define…
  • need the code for this to see where mine is wrong thank you.. Add radio button options for filing status to the tax calculator program of Project 1. The user selects one of these options to determine …
  • Wondering if someone is familiar with tkinter and functools modules in Python, to complete several functions here and here is my unfinished codes: Add the following to the calculator: Subtraction Mult…
  • Question 1¬†110 points In this question, you will implement a class called¬†datatable¬†that will represent 2-dimensional data. You will also implement a class called¬†row¬†to represent each row in a d…
  • string = input (‘Enter a String: ‘) def Palindrome(string:str)-> (str): ¬†¬†head = 0 ¬†¬†tail = len (string) – 1 ¬†¬†while head < tail: ¬†¬†¬†¬†if string[head] == string[tail]: ¬†¬†¬†¬†¬†¬†retur…
  • Task 7 Complete the function to print the full name of the month using the calendar library import calendar # Complete the function to print the full name of the month using the calendar library def p…
  • Use the following given string line to complete (Using python) line2 = ‘From s..d@uct.ac.za Sat Jan 5 09:14:16 2008′ Use a regex to find the time part ’09:14:16’ in the line2 string. Hint: Use \d or […
  • Hello I have ¬†a final output here in my zip file. I just needed some changes from what my professor said. Zip file:¬† https://drive.google.com/file/d/16E-ePWZCm4hV9SGAUmonK6qSw0_yeUlD/view?usp=sharin…
  • Python Help! Part 1: Palindrome A string is a palindrome if it reads the same forward and backward. The words “mom,” “dad,” and “noon,” for instance, are all palindromes. The problem is to make a prog…
  • n=[[1,5],[2,4]] n=[1][2]= Can you show me the code and the answer?
  • https://www.coursehero.com/qa/wait/34823468/?question_id=34823468 ¬† This is a follow up question from above. Here is my code but its wrong import introcs def second_in_list(s): “”” Returns: the secon…
  • Create a Python program that determines the grade for an individual student based on his or her¬†average in the class. The program will include a loop that is to be performed until the user wants to q…
  • X M Your answer is ready – fme x *Course Hero X M You have been added! – for x W Chapter 10: Basic arithmet + Google Chrome < > C A pythonpremium799959929.wordpress.com/2021/07/19/chapter-10-bas…
  • using python Problem Write a program that computes the sum of the logarithms of all the primes from 2 to some number n, and print out the sum of the logs of the primes, the number n, and the ratio of …
  • You are going to correct a program that has several errors in it (specifically, one error per function). You should begin by looking at what the expected output of the program should be for various in…
  • In this module you learned about advanced modularization techniques. You learned about the advantages of modularization and how proper modularization techniques can increase code organization and reus…
  • no chegg Howe Truss The upward forces at A can be calculated by taking a summation of the moments at E Moment is distance * force Moment at E = 0 = 40*4 + 20*8 + 20*12 + 30*16 – FA * 16 FA = 65 kN Sim…
  • How would i make a ** def multiply ** and ** def divide ** symbol ? def horizontal_line(width,spec_ch): pattern=”” for _ in range(width): pattern += spec_ch return pattern def vertical_line(shift,heig…
  • . In [1] : import numpy as np import matplotlib. pyplot as plt from numpy. random import binomial as binomial 1 (1 point). Use the binomial function to simulate a binary spike train with 10000 time …
  • from pandas import DataFrame from sklearn import linear_model import numpy as np import pandas as pd Stock_Market = {‘Year’: [2017,2017,2017,2017,2017,2017,2017,2017,2017,2017,2017,2017,2016,2016,2016…
  • Problem Statement: Library Search Application Design and implement a simple interactive library search application for users. In addition to building the library repository, the program should be able…
  • Can someone please solve the Task A, B and C and please add detailed comments so that I can learn to do it on my own. It involves files handling and lists in python. ¬† Just fill the functions in the …
  • In Python: You just started your summer internship with lmmunityFlus based in La Crosse, Wisconsin. You are working with the forecasting team to estimate how many doses of an immunization drug will be…
  • Please help me with this project asap! Make sure your code is uniquely written on your own, do not copy from anywhere or else I will be charged plagiarism.¬† You answer the tasks based on The file nam…
  • Need python code to solve for x1 and x2 of: |200 0| * |x1| = |300 -200| * |.57272727 | + | -10 | |500 0| [x2] |-200 500| |.909090909091| | 340|
  • Consider this code: str1 = int(input("Enter your input: ")) str2 = int(input("Enter your input: ")) str3 = "Received input is: " print(str3 + str(str1 + str2)) Assume tha…
  • Create a pseudocode/steps ¬† (flowchart is not required) to do the following: – Part 1 Step 1: Create a list that contains a shopping list only using input() (do not include the number of the item as …
  • I need help with this homework project please.. In 1787, Wolfgang Amadeus Mozart created a dice game (Mozart’s Musikalisches WÔ¨Ārfelspiel). In the game, you compose a two-part waltz by pasting togeth…
  • Part A: WOFPlayer We’re going to start by defining a class to represent a Wheel of Fortune player, called¬†WOFPlayer. Every instance of¬†WOFPlayer¬†has three instance variables: .name: The name of the…
  • Need step by step help with homework project. Using python for distance vector routing.
  • Let’s build a Dictionary where the key is a hashtag and the value is a list of tweets with that hashtag (with the hashtag removed). For example, all tweets with a #Apple will be stored in the same lis…
  • . def alg_moving_average ( filename ) : ""This function implements the moving average stock trading algori The CSV stock data should be loaded into your program; use that dat make decis…
  • In PYTHON: create a Flask app with two routes, that handles two actions: login and signup. The login route should acquire a username and password from a POST request, and then check that the username …
  • Build a Full Adder (FA) as described in lecture, using the minterm expansion principle to create a circuit that uses only AND, OR, and NOT gates. Remember that a Full Adder adds a single column of dig…
  • Note: Some questions require using an indexed loop… ¬† Implement a function alphabetical () that takes a list of strings as a parameter and returns True if the strings are in alphabetical order in t…
  • my_integer = 3 ¬†my_float = 5.5¬† my_string = “Hello!”¬† my_boolean = False a = my_boolean + my_integer¬† b = my_integer * my_string¬† c = my_float * my_boolean¬† d = my_float * my_integer ¬† What wil…
  • (Empirical comparison of Lin UCB and UCB over finite action sets). In this problem, you will implement and compare LinUCB and UCB on 2 different cases: one where the action set is very small, and the …
  • Develop¬†a¬†shell¬†scripting¬†application¬†that¬†allows¬†the¬†user¬†to¬†perform¬†some¬†advanced¬†mathematical¬†operations.¬† Q: ¬†Find¬†the¬†even¬†multiples¬†of¬†any¬†number¬†–¬†the¬†user¬†should¬†spe…
  • . Arnold is the resident entrepreneur of PROG1783. This time he is creating a business that makes the best food in Waterloo and delivers it to your home. Arnold’s Amazing Eats is very busy! Keeping it…
  • reduce(self, reduce_func, initializer=None) ->object: This method sequentially applies the reduce_func to all elements of the Dynamic Array and returns the resulting value. The method takes an opti…
  • How can I create a program that accepts a time as an hour and minute and adds 15 minutes to the time, and output the result?
  • Consider a Python function¬† f ( x ,¬† y ). For which data types of parameters¬† x ¬†and¬† y ¬†is it possible to get the same result as passing by reference? a.list and tuple b.string and set c.dictio…
  • 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…
  • Discussion Assignment Discuss what parameters are within the context of Python functions. As part of your discussion, answer the following questions. What is the difference between a parameter and an …
  • Question: technique Dijkstra; start S := {1}; for I := 2 to n really do start D[i] := C[1,i]; P[i] := 1 end; for I := 1 to n-1 in all actuality do start pick a vertex w in V-S with the end goal that D…
  • Two sensors are installed in Susquehanna river that can measure the level of the water on two different locations. Their measurements goes through a neural network and the output shows if there is a c…
  • I need help on this assignment, please. Please assist me. I need to create a python program for an online coffee order. The coffee is sold by the pound, and the¬†price per pound depends upon the quant…
  • how to write the program that uses a while loop to determine how long it takes for an investment to double at a given interest rate. The¬† input ¬†will be an annualized interest rate and the initial i…
  • Do not use any IMPORTING.¬† ¬†. Evaluation: . 0 marks for submitting nothing and/ or files that cannot be opened. . -1 mark for lack of identification in the solution . 1 mark for displaying dots on t…
  • . “3%? l TAFEE Part 2: Create user documentation Prepare user documentation for your script (minimum 35 maximum 75 words). Type or write your instructions into the boxes below. This must include t…
  • Which of the following lines of code will sort the list of dictionaries called `state_econ` by the values stored in the key called “low_ses_prcnt” from smallest to largest value? Select as many as …
  • shirt = { “brand”:”Gucci”, “size”:”Large”, “price”: 200.00 } How do you remove the “size” key name using pop()?
  • Given an array of integers, change it in such a way that it follows a zig-zag pattern. A zig-zag array is an array where for each integer, its adjacent integers are both greater than or less than itse…
  • Use¬†dataset¬† ANN_Quiz_Data_Breast_Cancer.csv Do not perform outlier treatment/removal Split the dataset into train test with random_state=0 and test_size=0.20 Do not scale the data for this question…
  • New DG Food Agro are a multinational exporter of various grains from India since nearly 130 years. But their main product of exporting since early 1980s has been Wheat. They export wheat to countries …
  • An algorithm, flowchart and modular program based on the following: user will be prompted for their name and age, use the DATE module or class associated with your programming language to acquire the …
  • ) classification model using SVM for salary data¬† Data Description: age — age of a person workclass — A work class is a grouping of work¬† education — Education of an individuals maritalstatus — …
  • Table of Functions (Section 4.2.15) (5 points) Write three functions that will receive a parameter and do a math operation on it such as adding 5, etc. Then create a dictionary combined with these fun…
  • # Create a modified version of the Point class with three attributes # x, y, and z, representing a point in a 3D space.¬† # Include a modified __init__(), distance_from_origin()¬†methods # which exten…
  • Checkpoint 2: Assigning Numbers to Cells Recall that the completed Sudoku board has no repeated numbers in a row, in a column, or in any 3×3 block. In Checkpoint 2, your code will ask the user of the …
  • Write Python program that simulates a vending machine. The machine holds six snack items labeled them 1 through 6. The program should initially display a menu of items along with their prices: Vending…
  • I’ve written the top code. I’m not sure how to write the code for def convert_data, ¬†def is_app_only, def get_station_info and def get_column_sum. I’ve given examples of how they should be ( in green…
  • natix: Digitally Connected x HI HackerRank X New Tab C hackerrank.com/test/corgia5ghho/questions/e7pqqpd1rit Language: Pyth 1. Encrypt and Decrypt 9 10 11 Problem Statement: 12 Write encryption and de…
  • 95 use c languge !!!! Time limit: 500ms Memory limit: 256mb Description: You are given a string consisting of parentheses () and []. A string of this type is said to be correct: (a) if it is the empty…
  • PYTHON PROGRAM IDLE (3.9) This project includes Graphics.py, GraphWin not pygame. ¬†. Project for CIS 102 Project phase 3 ‚ÄĒ Final Project In this 3d and Ô¨Ānal phase of the project you print the sco…
  • This is the link which has all the files, example output and the reference: https://drive.google.com/drive/folders/1Vq6_ep5O02g1ZfrBKVYZR45OA0VE-5v_?usp=sharing. Problem Introduction There are many so…
  • Guidance writing a Python program that simulates a dice game. The number of sides on each die, the number of dice, and the number of simulations to perform will all be taken from user input. After eac…
  • # Create a modified version of the Point class with three attributes # x, y, and z, representing a point in a 3D space.¬† # Include a modified __init__(), distance_from_origin()¬†methods # which exten…
  • I need help in the assignment. The detail of the assignment is given in the below pdf file. You will develop a fully functional compiler. Your compiler will compile high-level code. MANCHESTER METROPO…
  • Write a Python dictionary that returns a¬† list of¬†values ¬†for each¬† key . The¬† key ¬†can be whatever type you want.¬† Design the dictionary so that it could be useful for something meaningful to …
  • Hi, Would you please help me define preconditions and postconditions in Python? ¬† Best Regards
  • Hi Python Experts ¬† I am looking for python 3.7.5 code preferably using pandas to do below tasks¬† Sample csv file format data for testing purpose is provided below. CMediumYesHomer1234def@x..i@xx…
  • In this imaginary university, an Instructor is paid $200 per teaching hour (lecture length), each course runs for 12 weeks, and there is a lecture very week. please show me a Python script that will o…
  • Question:¬† ¬†This is Source Code of¬† KNN Algorithm. ¬†But I wanna show the output as¬† Graph. For Example:¬† PLEASE Modify this Code as The Above Picture. Use Blue and Red Color for Two Class. ¬† ¬†…
  • c++ language is preferred but python is okay as well, thank you in advance! this is all the information provided nothing additional was given. Temperature Distribution. The temperature distribution in…
  • Triage is the medical practice of determining the severity and urgency of conditions to determine the order a large number of patients should be treated in. This is an important and challenging proble…
  • I need help with deciphering whats a paramter and a variable within a function
  • class¬†Employee: def¬†__init__(self, name, age,salary): self.name =¬†name self.age =¬†age self.salary =¬†20000 E1 =¬†Employee(“XYZ”, 23, 20000) # E1 is the instance of class Employee. #__init__ alloca…
  • What is printed by the Python code?¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†def¬†func(x):¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†return x – 1¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†a=¬†func(3) *¬†func(5) ¬†¬†¬†¬†¬†¬†print(a)
  • Output from my code is wrong should be: Enter¬† ‘boy’,’girl’, or ‘both’:Enter a¬† boy’s name: Andrew was a popular ¬† But I get: What is wrong? Enter¬† ‘boy’,’girl’, or ‘both’:Enter a¬† boy’s name: An…
  • write a single expression/statement that refers to the specified variables. ¬† Suppose that the variables and refer to words (strings). Write an expression that returns True if and only if word1 has e…
  • use pandas and matplotlib or seabone dataset: “https://drive.google.com/file/d/1dFi8qAE7LH7XKk-FUNA3r0POazwOQCXW/view?usp=sharing” Create scatter plot showing the relationship between the total revenu…
  • Hi, Im stuck on this question I need to know what the minimum spanning tree (MST) problem is and how it can be solved with Prim’s algorithm and Kruskal’s algorithm. Also what is the greedy algorithm t…
  • Please see question 7 below with additional information 801 40094 6 13125 13125 2017 808 40933 13125 13163 2011 16 466 8 13125 13163 2012 361 The column named "income_thousands" is the total…
  • I need to come up with a code to compute the following. Would prefer either python or r studio for the coding as i am more familiar with those. c. To answer the following questions, write a computer c…
  • Please input the source code and the output screenshot.In addition, if you can, code it in visual code studio(PYTHON 3)Lastly, make a code where the user will input the value in the list. The pic belo…
  • For this multi-part question, I have a question about the last paragraph where it mentions the head() function having two parameters and the value of these parameters changing based on the keys presse…
  • May you help about how to computes the total number of chats for each person who participated in the chat. Output the statistics in a JSON file. Execution format: python stats.py For example, python s…
  • The code provided below in the¬†calculate_common()¬†function works, but it’s really confusing to figure out what’s going on. Refactor the code provided so that the code within the function has fewer t…
  • i need python code for this question¬† i need code which i can copy paste in my ide ¬† ¬† Solution in octave program: for your help % clear all; f = @(x) (1-cos(x))./(x.^2); g = @(x) (sin(x)).^2./((x….
  • 1 Linear Regression 30 pts Continue with the last problem in assignment 3, in this problem you should do the same thing to implement linear regression in class. Instead of build 1d linear model, we wa…
  • PYTHON PROGRAMMING Can someone please solve these two questions using python programming? I am a beginner and don’t know how to code. Please help! ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†¬† …
  • Let’s say that I have a list such that list x = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]. Let’s also say that I want to create a list so that it contains the numbers in the starting list, but if a number…
  • Add key binding event to the following program so that the turtle will turn left 90 degree whenever left arrow key is pressed.¬† import turtle wn = turtle.Screen() tess = turtle.Turtle() # the turtle
  • The purpose is to create a program that generates 3×3 matrices, in which it asks me for the values ‚Äč‚Äčof each matrix and then shows the add, subtract, multiply or exit menu, but for some reason the…
  • py: import sys class Node (object): ¬† ¬†# constructor ¬† ¬†def __init__(self, data): ¬† ¬† ¬† ¬†self.data = data ¬† ¬† ¬† ¬†self.lChild = None ¬† ¬† ¬† ¬†self.rChild = None…
  • Exercise 1 In this exercise you will practice reading a line from input that contains several values, separating it into strings, iterating over a list, and returning values. Using PyCharm create a fi…
  • i hope tutor jobelle answer this question. please answer the 5st question in the link https://drive.google.com/drive/folders/1zH2j7jOelIn57GcVKWOPdh-ZsSLrexz0 I just want jobelle tutor to solve, pleas…
  • Please write in python and place some notes/description of whats happening in the lines of code for better understanding. First file is Priority.txt file second is the patient_info.txt. Objectives ‘ U…
  • ………………… work days = ("Mon", "Tues", "Wed", "Thu", "Fri") weekend = ("Sat", "Sun") week = work days + weekend courses…
  • Hello these are my assignment question, please help me with python def sqrt (n) : Sections 6.12-6.13 **6.22 (Display current date and time) Listing 2.7, ShowCurrentTime.py, displays the current time. …
  • I have a server code written in python with aiohttp import asyncio from aiohttp import web import socketio from aiohttp_middlewares import cors_middleware from aiohttp_middlewares.cors import DEFAULT_…
  • # q10 – create function dupWords()¬† # ¬† ¬†– accept one parameter: ¬†a tuple of strings # ¬† ¬†– add a meaningful docstring # ¬† ¬†– iterate over the tuple, determine if any word is in the tuple more…
  • Hi, I am currently working on Code 3 as presented in this document, (https://www.coursehero.com/file/14469521/BadDatevb/#/question) but I am having difficulty translating what is said in the file into…
  • Exercise 2. est_tax is the function we looked at in class. It is slightly revised here to print, rather than return, the value of the estimated tax. Enter the code into the Editor window; save to any …
  • For question 3, why is driving_start_time_hours assigned to 5/3
  • Question: Use turtle and¬† nested loop ¬†to code/create a classic image of your interest. The image I want is the one below: Scale size of image does not matter. Image does not have to be exact. !! Th…
  • From ISLR obtain the Caravan data. Please answer the following questions based on this data set.¬† a) Name Caravan data as temp1. b) Find the dimension of Caravan data. c) Find column names of Cara…
  • A robot machine is going to navigate through a series of cave connected by straight tunnels (Please see image below). It starts navigating from the A to the last cave G. Finding a shorter route is bet…
  • This is the question I am stuck on: Create a script named¬† numberlines.py . This script creates a program listing from a source program. This script should: Prompt the user for the names of two files…
  • Even/odd values in a list For a python program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither. The input begins with an integer indicati…
  • from¬†sklearn¬†import¬†datasets import¬†numpy¬†as¬†np df¬†=¬†datasets.load_wine() X¬†=¬†df.data y¬†=¬†df.target Load the scikit-learn’s Wine recognition dataset; separate 20% data as test data set; pr…
  • 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…
  • Need help with this code. Need the exact formate it is asking for. Thank you.
  • #Wordle # Generate a random word for guessing (done) #Ask the user for a word (5 characters) #Check to see if it is correct, if so, they win! # If not, do a character comparison for each word #After 6…
  • Port 2: Constructing your program AFTER doing the above, construct your program. Your program should ask users for a strain, and report the stress. As you write your program, please be Sure to do the…
  • Please see question below Edit View Cell Widgets Help Not Trusted |Python 3.7 0 The third table of the IRS data is the "main attraction." It is named Flows, and here is a sample In [ ]: pd. …
  • Create a Python function that will do the below task: Task: 1.Using the flask web server, load the HTML form contained in the variable main_page. The form should load at route ‘/’. http://flask.pocoo….
  • Python ¬† ¬† Represent and show the graph with all the nodes, edges and weight Use Dijkstra’s algorithm to find the path from node A to node H Use A* algorithm to find the path from node A to node H P…
  • def is_valid_move(board, position, player): "’ Implement. "’ board 2 [w_KING,w_KNIGHT,w_KNIGHT,EMPTY,EMPTY,EMPTY,B_KNIGHT,B_KNIGHT,B_KING] for position in len(board): if position >= 0 or…
  • It’s Halloween Night again! Michael, as old as he is, is still in love with Halloween. This time around, he’s gone trick-or-treating at Dan’s house. Dan’s always been generous with candies. He’s prepa…
    • can anyone explain why the output is 14? def foo(x,y): return lambda a,b: x*y + a*b print([foo(1,2)(3,4)]) 2) Can you please show me an example of a chained conditional and a nested conditional? Wh…
  • )¬†Create the¬†algorithms¬†in both¬†flowchart¬†and¬†pseudocode¬†forms for the following: ¬† ¬†A.¬† Write a Python function that receives miles driven and gallons of gas used and returns miles per gall…
  • letter_number Write an interactive python program that prompts users for a letter. It should then tell the user what letter in the alphabet it is. You should accept upper and lower case letters. Your …
  • Create a class called Person with the following attributes: name – A string representing the person’s name As well as appropriate __init__ and __str__ methods, include the following methods: get_name(…
  • 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…
  • python class question! please help and show code and steps! thanks! class SocialAddressBook: def __init__(self): """Creates empty address book""" def addName(self, name, …
  • k = 0.04 = (f/(1-f))*math.sqrt(7/(2+f)). 1 Use the bisection method on the interval [‚ąí1, 0.5] with a tolerance of 1e‚ąí12 to find the water vapor from the formula. Save the root to the variable A1 a…
  • This is my code : def main(): ¬†¬†endProgram = ‘no’ ¬†¬†print() ¬†¬†while endProgram == ‘no’: ¬†¬†¬†¬†option = 0 ¬†¬†¬†¬†print() ¬†¬†¬†¬†print(‘Enter 1 to enter in new data’) ¬†¬†¬†¬†print(‘Enter 2 to…
  • Ibhort Description The Memory game has appeared in many different contexts, either as a computer game or as a card game that uses a partial or full deck of playing cards. The player tries to Ô¨Ānd two…
  • This has to be done using coral language. Sites like Zillow get input about house prices from a database and provide nice summaries for readers. Write a program with two inputs, current price and last…
  • i need code in python Taxes In a (very) simplified version of the Swedish income tax system we have three tax levels depending on your monthly salary: . You pay a 30% tax on all income below 38.000 SE…
  • 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…
  • Ocean Levels Assume the level of the ocean is rising at about 1.6 millimeters per year. 1. PSEUDOCODE: Need help writing a program that: ¬†a. Set up a for loop that displays the number millimeters tha…
  • Option #2:¬†Program Corrections, Lessons Learned, and Home Inventory Program Your portfolio project consists of three components: Program corrections Lessons learned reflection Final program Assignmen…
  • It’s important to program your code efficiently. Efficient code manages errors and exceptions and cleans up memory after it ends. The try-except statements are helpful in handling errors that are dete…
  • HW 4 – Basic Pandas ¬† In this HW, you will explore the data in chickwts.csv, which contains data on the weights of chicks that were fed different types of feeds. The main purpose of this HW is for yo…
  • Create a PowerPoint that contains a FLOWCHART and a PSEUDOCODE for each problem (You may use a different application if PowerPoint is not available). Use the information below to create a pseudocode (…
  • Matrix manipulation Implement a class called MetaMat that will allow to manipulate matrices using numpy and pandas. Your class will have state variables __List, __PFrame, and __NMatrix representing a …
  • Please refer to the attachment to answer this question. This question was created from project2.pdf. Additional comments: “Can you please explain this problem to me. Thanks. “
  • (in a table): * SN * Purchase Count * Average Purchase Price * Total Purchase Value ### Most Popular Items * Identify the 5 most popular items by purchase count, then list (in a table): * Item ID * I…
    • this program calculates an employee’s annual bonus. Input is an employee’s first name, last name, salary, and numeric performance rating. If the rating is 1, 2, or 3, the bonus rate used is .25, …
  • I need to create a computer program in Python or C++ that emulates a Banyan-Batcher network with 8 inputs and 8 outputs and then scale the output to a 16 x 16 Delta Network.¬†Use a random generator wi…
  • I have questions on how to make this through the checks which are shown below(The image order is reversed I don’t know why) Instructions FILETREE viewfiles.py X + >_ Terminal X + ~/sandbox viewfile…
  • please help answer these exercise question on python – dictionaries ¬† https://firas.moosvi.com/courses/2020_WT1/data531/practice/05_dictionaries_exercise.html
  • (Help needed ) Just the mathematical formula not the python code ¬†. 1. Show a mathematical formula to calculate the dot product of given vectors u and y of length n without computing a cosine. 2. Sho…
  • We are working at a company with many Centos servers running . Make an automation python script with following: each virtual machine needs to have a backup script called backup.py installed in the roo…
  • Construct a tic tac toe game using turtle. screenshots are attached explaining the rules. and some codes are already written. turtle . clear ( ) turtle . forward ( 150 ) turtle . right ( 90 ) turtle ….
  • Complete the blank in the program below so that when the lines are executed, the f-string is printed as in the example below. Make sure to display the same number of decimal places as in the sample pr…
  • ####### YOUR CODE HERE ###### #Print out if the user’s item is in the backpack ####### YOUR CODE HERE ######
  • Altivu 3.11 Cura Ass Sains Keemputer anda Ingin membingenkan sby slur cars yang Expenddikan ujian bean bag operator yang mempanyal lima salon. Berbed jalah suipal ring dingini Ands dipilik sebagal bro…
  • Need help with this questions. Using python programming Question 1: MCQ’s 1 . How does run() method is invoked? By Thread.start() By Thread.run() None By Thread.create() 2 . How to terminate a blockin…
  • please write in python, what i need is answer written by python, i am not sure how to avoid float error in python. i have my code for this question, but wrong test 119, or u can write by yourself in p…
  • I am needing a Python program that gives reasons I enjoy programming. I list 10 reasons and as a user to give a number between 1 and 10. After given the number from the user, the reason listed in the …
  • Lab 3 – More Programming with Python (40 points) Problem 1: (20 points) Python program to read in three numbers from the user, calculates their average and print it. You do NOT have to use a loop in y…
  • Steps and tasks: 1. Import the datasets and libraries, check datatype, statistical summary, shape, null values or incorrect imputation. (5 marks) 2. EDA: Study the data distribution in each attribute…
  • Question :Given the code: dbPath = “C/temp/SomeDB.db” connection = sqlite3.connect(dbPath) cursor = connection.cursor() cursor.execute(select * from users) ¬† and assuming the database exists, with a …
  • would you please tell me how to do this questions on JUPYTER notebook ? please sent me a codes and screen short when you done , thank you¬† ¬†. Question 2: Modifying an existing class. [10.0 marks] a….
  • Write the code for the following question. If you don’t know the code, then put in comments of what you are thinking, so we can give you partial credit. Write code that creates a list of lowercase wor…
  • Hello, I need help solving this Lab simulation, It uses Input and formatted output: Right-facing arrow types statements and I am very new at python on so I need help solving it. It is very difficult. …
  • Need help writing some code I need a client command line support which leads to instantiating a PhoneBill Client(python)
  • Write a Python program that prints your name, CS classes taken (or other relevant experience),¬† and the date on separate lines. Use one variable each for the month, day, and year (3 total).¬† Make su…
  • Develop a program with this flow chart Example: Program 6-11 save_running_times.py & 6-12 read_running_times.py & 7-12 drop_lowest_score.py Start Function write_cars() First, declare global va…
  • I am having trouble coming up with a python script for this assignment using the data provided. This file contains randomly generated fictitious customer data. http://snhu-media.snhu.edu/files/course_…
  • An integer, greater than 1, that is only divisible by 1 and itself is called a prime number. All other numbers greater than 1 are called composite numbers. The integers 0 and 1 are neither prime nor c…
  • Solve the following short problems ¬†from ¬† textbook( Machines and Mechanisms: Applied Kinematic Analysis by David H. Myszka, Upper Sadle River, New Jersey 4 th Edition (2012) or Latest) ¬† Part A…
  • USE PYTHON-GOOGLE COLAB TO SOLVE THIS QUESTION ¬† 1)If the weekly sales quantity of a product follows a Normal distribution with ūĚúá=100 and ūĚúé=10. a) What is the probalitiy that the sales quantity…
  • What is the difference between a syntax, logic, and runtime error?
  • b) def Greeting(): print("Hello, World!") Greeting() c) print(3*(2+2)**2+2) d) type(range( 10)) "Python e) SHOW print(str[0:3],[3:] OOOO f) myall list = [10, 20, 30, 40] Samsung Quad Ca…
  • MixUp # Given strings a and b, return a single string with a and b separated # by a space ‘<a> <b>’, except swap the first 2 chars of each string. # e.g. #¬† ¬†‘mix’, pod’ -> ‘pox mid’ …
  • Please read it carefully and do it as they said PSP_Assignment_2_202003.pdf X Course Hero X . New tab x + X O https://moodle-saibt.axis.navitas.com/pluginfile.php/254371/mod_resource/content/0/PSP_Ass…
  • ASSERT STATMENTS AND ONE LINE LIST COMPREHENSION NEEDED ¬† Given various heroes scores from a player, we want to determine which hero the player was best at playing. However, the scores will be compar…
  • I need it in python. i keep getting no match when its supposed to be match and vice versa.. 10.1 DNA Sequence Define a function named STRcount that when passed in a DNA sequence and an STR, will retur…
  • Python Questions 1-4 The file¬† Party.xlsx ¬†contains data on a sample of voters with tracked variables, including their party preference (Party=1 or 0), age, whether they own a home, gender, marital …
  • Can i get an explanation on the question please? The question is to provide a python program that provides a yearly tuition by asking students how many credit hours they would take per semester. Curre…
  • please code in python- juypter notebook only one EFT and One Stock check the intraday volatility vs volume in python Write a summary about what you find. Anything interesing and/or worth to mention wi…
  • Your friend Maria has come to you and said that she has been playing the higher/lower game with her three-year-old daughter Bella. Maria tells Bella that she is thinking of a number between 1 and 10, …
  • Implement queue FIFO principle using list and its methods. You can use methods¬† of list , use proper methods to follow FIFO principles.¬† 6. Implement stack LIFO principle using list and its metho…
  • Stuck on one last exercise: please help. Exercise Description: A¬†set¬†is an unordered collection with the same interface as a¬†bag. However, the items in a¬†set¬†are unique, whereas a¬†bag¬†can conta…
  • Flatten the Curve! A virus has hit COD and our class is being called on to assist in flattening the curve! The key to this will be tracking who has been tested and what their test results are so that …
  • I am stuck with this question.¬†¬†Find¬†the¬†even¬†multiples¬†of¬†any¬†number¬†–¬†the¬†user¬†should¬†specify¬†the¬†multiples¬†of¬†which¬†number¬†they¬†want¬†to¬†print¬†and¬†how¬†many¬†of¬†them¬†(for¬†…
  • R programming: Hello, I am trying to write the function called my_max without using max function. I attempted to write the code but it outputs the second to largest number instead of the maximum numbe…
  • Hello, I’m writing a program that first reads in the name of an input file, X using the file.readlines() method. Second, two strings representing the lower and upper bounds of a search range.¬† Note: …
  • I need help with this program named¬† filemaker.py ¬†that will be used to store the first name and age of some friends in a text file named¬† friends.txt . The program must use a while loop that promp…
  • . Content X Zy Section 11.18 – CTI 110: Web, Pro x Course Hero X + V X < -> C A learn.zybooks.com/zybook/FAYTECHCCCTI1 10Fall2021/chapter/11/section/18 Q * =zyBooks My library > CTI 1…
  • (12 points) Page 5 of 9 You are allowed to use Wing 101 for this question A company has developed a product line of pig foods with different growth rates. The growth rate is the percentage rate at whi…
  • #Recall Coding Problem 4.3.9 (Advanced), the free body #diagram problem. If you were unable to solve that, we’ve #included the sample answer in the dropdown in the top left #– feel free to use that t…
  • Show me how to do this please???? And the steps please….. HIGHEST SUBMISSION I Submit Project DESCRIPTION Write a program that converts Celsius temperatures to Fahrenheit temperatures. The formula i…
  • Write an bash script to take a string input and find out how many times a particular character appears in the string.
  • Hello, I have a question about data analysis in Python (with Numpy or pandas or the other python modules) question: Get the total number of new daily confirmed cases and new daily deaths for each o…
  • 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…
  • Change the color of your output¬† https://www.devdungeon.com/content/colorize-terminal-output-python
  • Implement a program that reads in a year and outputs the approximate value of a Ferrari 250 GTO in that year. Use the following table that describes the estimated value of a GTO at different times sin…
  • assignment assumes its input includes spaces between every token in an expression, but many programmers tend not to use so many spaces, if the expression is unambiguous. For example, both of the follo…
  • From the string sentence = ‘we are never ever getting back together’ , How can I code the uses list comprehension to reverse the words in the string. How can I use the reversed() and join() functions….
  • Problem: Suppose your parents give you $1000 to start a college fund, and each month you contribute $200 to the fund. Suppose also that the interest rate of 6% per year is compounded monthly, which is…
  • Read and attached csv data file:AAPL.csv AAPL.csv:https://drive.google.com/file/d/13PkRsfahaBVaLi4C2vJGLtOCr_lhNzBS/view?usp=sharing ¬† 1. Write a function closure, TimeSeriesParser(filename), that pr…
  • How can I assemble a camera programmed with Python in PHP?
  • REF ¬† ¬† ¬† All python code, thanks! CSV : https://drive.google.com/file/d/1EuVYpYk6fvKhZ1knVZal86oMFu5d3Kht/view?usp=sharing. Problem1: The Estimated Value for Each Warehouse Note that you are…
  • I need to know what the code is for the phonebookclient file is to answer this.¬† I am getting an error of:¬† ¬† sandbox $ python3 phonebookclient.py Traceback (most recent call last): ¬†File “phonebo…
  • 4 Write ¬†function that takes a list of integers. The function should remove all of the even numbers in the list.
  • You are working as Python developer in ABC Company. ABC is an insurance company which provides the “protection plan” for digital devices including TV, Camera, Cellphone, …. You are asked to design…
  • Assist me in doing this please. 1. Trace a walkthrough of selection sort with the following list (Do not write a program):5 pts 4 7 11 4 9 5 11 7 3 5 Here’s a start: minPos min Val WWWWWW [4, 7, 1 1, …
  • I am looking for help with this python code and how it would look In this week, you have studied additional Python language syntax for rendering HTML templates using the Python Flask module. The Lab f…
  • Could you teach me how to use f = open(“myfile.txt”, “w”) to make a function that writes the pokemon data to a file called myfile.txt and show me where to put that one function into the following prog…
  • 14 LAB: Line charts ¬† Write a program that subsets the loads and subsets the stock market data in target.csv. Load the the data from target.csv as target. Create a new data frame, tgt_march, by sub…
  • Develop a console application in Python prompt for your investment value in dollars. It then prompts for number of years you want to invest the money for. Then it prompts for the current annual intere…
  • FInd bugs in program. // determines a price for each. // The price is 10 cents per page for the // first 200 pages, then 8 cents // per page after that. // After pricing, all the data is displayed. //…
  • A gas station attendant in the 1950’s performs a series of actions for every customer that comes in. The list is as follows. greet customer ask for required type of gas and amount ask whether customer…
  • A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year takes place…
  • Is there anyway you guys can correct this. It states ” File “main.py”, line 28, in <module> temp1 = d1[temp] KeyError: “‘” Expected output: Input String: characters in a dictionary in a dictiona…
  • Many financial experts advise that property owners should insure their homes or buildings for at least 80 percent of the amount it would cost to replace the structure. Complete a program t…
  • . SavingsAccount class: This class inherits from Account class. It will represent following account information. The field variables must be having private access. balance Initializer : Create param…
  • Implement the first part of the GirvanNewman Algorithm. That is, given a source vertex, source, determine, for each vertex v the number of shortest path starting at the source that pass through v. You…
  • INSTRUCTIONS: 1) Python Programming¬† 2) No use use of built in libraries and built in functions 3) Use comment out for understanding better Question: Write a program to check whether the given expres…
  • I need help on this one ASAP. I’ll give a thumps up.( Development of REST API services with Python, mySQL and Flask). 1. Set up a table in your database that according to the following schema: -u— P…
  • Write a function named enterNewPassword . This function takes no parameters. It prompts the user to enter a password until the entered password has 8-15 characters, including at least one digit. Tell …
  • scaling of CSV file I/O Part 1 Write Python code that creates a CSV containing 10 columns of text data‚Äč Each entry in a row should be different. Each entry should be between 3 and 25 characters‚Äč. …
  • . Question 4 (35 marks) Customers of a popular Nasi Briyani stall experience long queues when placing their orders. This has frustrated customers and so the owner wants a program that allows custome…
  • Write a menu driven Python program that: prints the day number of the year, given the date in the format of month-day-year . For example, if the input is 1-1- 2006 , then the day number is 1. If the i…
  • can u please help me? thanks in advance Use Linux or any Debian based OS, VMware etc.. In this problem you will conceptualize a Linux process as a python class. Normally the _init method is used to cu…
  • Answer with a paragraph+ explanation…..¬† ¬†. You are working for TAB Programming Corporation, and were asked to speak to a group of first year programming students. Provide the group with two situa…
  • python question In more detail, write a function to_send_reminder( users, data, day) that accepts as input a table of users users and a table with recorded weights data formatted as described above as…
  • I have two clumns. First id and second column is sell volume. The data is so huge, because number of rows is around 400,000. I need to write a python code to do sumif and countif to sum sell volume fo…
  • What is the maximum number of guesses necessary to guess correctly a given number between the numbers N and M?
  • Please solve using Python only! ¬† Write a program that reads in a string and prints whether it ‚ÄĘcontains only letters. ‚ÄĘcontains only uppercase letters. ‚ÄĘcontains only lowercase letters. ‚ÄĘcon…
  • AI and Games (20) 1. (4 points) Name two properties necessary for games to be used in relation to Artificial Intelligence. 2. (4 points) In few sentences describe the Minimax algorithm. 3. (4 points) …
  • PYTHON CODE PLEASE ¬† Write a program to calculate the total price for car wash services. A base car wash is $10. A dictionary with each additional service and the corresponding cost has been provided…
  • Premise: Tracy has a file that contains a list of actors and the movies in which they acted. She wants to know the top 3 ranked actors from her list whom have acted/appeared¬†in the most movies. ACTOR…
  • Topic -> Machine learning with physics and astronomy (using python- google colab) I was given with this lab¬† Please provide a well explained and correct solution for the following ¬† -Here is the …
  • need help for below questions? Array Attributes 1. Creat a 4 x 4 NumPy array B1 filled with 1’s of type int. 2. Print the contents of B1. 3. Print the number of dimensions of B1. 4. Print the size of …
  • Unable to output the results in the dashboard ¬† What I need: Below is a dashboard that I need to complete in order to test dashboard connection to MongoDB by writing code that returns a query, and in…
  • This is a computer programming problem in python. I put the question in bold. You just finished administering the final exam for all of the students in the “Introduction to Computer Programming” class…
  • Can someone please help me complete this code? ¬† import numpy as np def is_magic_square(matrix): ¬† ¬†“”” Checks of given matrix is a magic square or not. ¬† ¬†Args: ¬† ¬† ¬† ¬†matrix: a 2D NumPy arr…
  • Need help to complete RandomQueue.py: import random from Interfaces import Queue import ArrayQueue class RandomQueue(Queue): def __init__(self): self.queue = ArrayQueue.ArrayQueue() def add(self, x : …
  • Vowel Counter a new function that counts the #’s of vowels in a string (A,E,I,O,U) Use your character counter function to implement your new function
  • I create a program creating-handling multiple processes. Each process is to sort an integer list in an increasing order. The list is a shared variable (global) among all processes; it is initialized r…
  • I really need some help with this question. Prepared Question: Spot the mistake There are three main properties of a recursive function: . The function must call itself. . The function must have a rea…
  • Q2 Using the data source in Q1 fit the Ridge and Lasso¬†Regression¬†Models.¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • I’m using the python Program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, a…
  • please, kindly explain the main functions of these mathematical formula set line of python codes. PLEASE!!! 1 def squared_euclidean(preference, user1, user2): ¬† ¬† sum = 0 ¬† ¬† for key in preference…
  • For the given database: https://drive.google.com/file/d/1Cy2MUONZ0b7eV6ctTzRqAKqviCr6ltcg/view?usp=sharing ¬† The database contains following tables: cn, cm, ccl, oth, pas2, indiv, pres, contbyzip.¬† …
  • Use the built-in functions len() and set() to create a function allUnique(lst), which returns True if the list lst contains unique items and otherwise returns False. If you have done it correctly, you…
  • Run the dataset provided, and answer questions 1-3 in the right hand section using the setup. SIMULATED STOCK DATA ATTACHED(Excel download): https://cocalc.com/b9b87f60-bb7c-426a-ab07-d45c39621809/raw…
  • Prakash is currently working in the accounts department. He is associated with a task to display the account details of the employees depending on 2 choices to be made by the user 1. savings account a…
  • Please help me write a python code that does the following. Thank you: Hexstream is copied from wireshark: – ffffffffffff2816a850589508004a000052000100004011f0fec0a80172c0a801d900350035003ec8da3c9c0fc…
  • from¬†datetime¬†import¬†datetime,¬†timedelta #¬†Complete¬†the¬†function¬†to¬†add¬†90¬†days¬†to¬†the¬†given¬†date¬†and¬†return¬†the¬†new¬†date def¬†add90Days(someDate): ¬†¬†startDate¬†=¬†someData ¬†¬†d…
  • Need help with a question regarding dictionaries, with included restrictions.
  • Python: Get Data I tried “geojson_data = json.loads(cugir-007865-geojson.json)” but generated an error. ¬† ¬† Data sources List of New York counties ( https://www.newyork-demographics.com/counties_by_…
  • I need help with creating this graphics PA. Please DO NOT use break statements and the birds need to wrap around the screen as well as adding moving clouds. (please use graphics.py and NOT tkinter ple…
  • The inputs to a coin-flip analyzer will be either ‘H’ (for heads), ‘T’ (for tails), or ‘Q’ (to quit input). Help compute the code that would count the number of heads and tails, following the code bel…
  • Write a design for a complete solution to the problem ¬† Suppose you are given a timetable , which consists of the following: ‚ÄĘ A set A of n airports, and for each airport a ‚ąą A, a minimum connect…
    • Write a single expression to produce the tens digit of an integer number n. Examples: for n=3649, you should get 4, for n = 534, you should get 3, for n = 9, you should get 0. 2) Assume the variabl…
  • make a full and syntactically correct Python program to solve the following problem: ¬† 1.¬†¬†¬†Input a date in numeric format from the user e.g. mm/dd/yy. 2.¬†¬†¬†Examine the month entered by the use…
    • Input: Infix is a string of logical operators (Table 1) and alphabet characters from “A” to “Z” express a logic expression. b. Output: Postfix is a string calculated from Infix using Reverse Polish…
  • The company that you work for is moving to a larger building. The new office is rectangular and will be subdivided into cubicles. Your employees want to request particular positions for their cubicles…
  • Python code for the following using the DPPS.csv file. Task 1: For the given data file (DPPS.csv): 1) Open file and read into Panda’s data frame. 2) Identify attributes for which all quantitative scal…
  • Question ¬† Searchlvle is an Internet giant and search engine company that…
  • I need to modify the below code. The output should equal 3/11, 5/11, 1/11. The following link is a resource found online that should be able to help with doing so. I just haven’t been able to get anyt…
  • Tutorial 2: Socket Programming Mrs Vuyokazi Matomela is a UWC graduate who runs a successful Taxi business in the city of Cape Town. She has realized that a big portion of her business costs comes fro…
  • Create a function alpha_count that prompts users to enter a single letter from the alphabet until the user enters a 0 – indicating they’d like to stop. The function should only accept single charac…
  • Explain the following terms : Confusion Matrix Overfitting Supervised/unsupervised learning Classification Prediction ¬† Short answer questions ¬† Describe the process (steps) or life cycle of predict…
  • Hi, There, I have been working on this function but I can make it print the square root of a. How do I go about this question. “Encapsulate the following Python code from Section 7.5 in a function nam…
  • .. Please see attachment for format Design a program that takes a date as input and outputs the date’s season. The input is a string to represent the month and an int to represent the day. Ex: …
  • How would I get this into a raptor flowchart. I am having trouble with the loops. Specifically in the rateloop. Start¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† #Declarations ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • I can’t figure out what I’m doing wrong: Given three floating-point numbers x, y, and z, output x to the power of z, x to the power of (y to the power of z), the absolute value of (x minus y), and the…
  • In this example, you will determine using for or while looping the angle at which the projectile will travel the farthest horizontally. Assume a launch velocity of 100. This is what your code must …
  • CSE 1010 code for homework 7 error detection – 2018?
  • what would be the IPO chart for this program its a¬† ¬†program that will ask the user to guess a number between 1 and 10. IPO Chart Inputs Process (calculations) Outputs & IDLE File Edit Shell Deb…
  • I have been stuck on this question for a while because I don’t know how to make sure the student is inputting 20 answer choices. This is python. Please help!. Part 2a: Driver’s License Exam Note that …
  • Hello, I have the following table. I want to calculate the monthly yield (ie the MEDIAN of daily yields in the month for the bond issue). Then, I need to plot trd_exctn_dt with yld_pt. (yld_pt: bond y…
  • The consumer price index (CPI) indicates the average price of a fixed basket of goods and services. It is customarily taken as a measure of inflation and is frequently used to adjust pensions. The CPI…
  • In this project, you will use a simple, deterministic model for population growth to predict the peak world population. You will use available data for parameters in the mathematical model. The form o…
  • Perform an exploratory analysis to filter out predictors that have low ferquencies. You may use the nearZeroVar function in the caret package to do this. How many variables are left for modeling? data…
  • I have one independet variable(Blood sugar) and one dependent variable(weight). My data is for 150 undergrad student. I want to write a a python program to implement a simple linear regression with th…
  • q2- find a numpy method to convert following array¬† y = array ([[6 3 7 4 6 9] [2 6 7 4 3 7] [7 2 5 4 1 7] [5 1 4 0 9 5]]) into¬† y = array ([[2, 1, 4, 0, 1, 5], [5, 2, 5, 4, 3, 7], [6, 3, 7, 4, 6, 7]…
  • Can someone please check my code , and provide a detailed explanation regarding what is the problem with my code ? I think my code is conceptually correct, however it doesn’t work properly. Thanks ! W…
  • Need to implement War card game in python in the following way;. cards.py a. a Card class i. including self.suit and self.value attributes ii. including a _repr_() method to display card info, e.g. ‘1…
  • The purpose of this assignment is to become more familiar with bit-level representations of integers and floating-point numbers. In this project, you will implement an application, in C, Java or Pytho…
  • Use Python¬† We have been given the monthly production quantity for a certain agricultural product (let’s call it Grople syrup , note – no relation to actual Maple Syrup) in 10 different provinc…
  • Please help, please don’t copy paste from other websites.. Q09.24 Python’s bin( ) function converts an integer into its binary representation (a number represented as 1’s and O’s). Use the bin ( ) fun…
  • Please use Python programming for the following exercise: ¬† Top-selling products Read the transaction data: retail.txt . (Please go to the site below for data) https://learn-us-east-1-prod-fleet02-xy…
  • . Complete the chart below by writing the basic, simple and complex behaviors for this mobile robot: When a pushbutton is pressed, a mobile robot will go as fast as possible for 20 feet (takes 10 se…
  • Hi do I modify this program by adding a modification to each element of the array?. *Week 7 Discussion.py – C:/Users/fyapo/Desktop/Python Assignments/Week 7 Discussion.py (3.10.1)* File Edit Format Ru…
  • Describe how¬† catching exceptions ¬†can help with¬† file errors . Write three Python examples that actually generate file errors on your computer and catch the errors with¬†try: except:¬†blocks. Incl…
  • I cannot get the outcome to read as Employee Name: James Patterson Employee Bonus: $100. I input the name James Patterson, # of shifts as 1, # of transactions as 2, and the transaction dollar amount a…
  • Exercise 4.1. Make an interactive program. Make a program that (i) asks the user for a temperature in Fahrenheit degrees and reads the number; (ii) computes the correspodning temperature in Celsius de…
  • Write a method digit_string(self) that creates and returns a string of digits that corresponds to the current contents of the called Board object’s tiles attribute. For example: >>> b = Board…
  • For a given string s, return the first reoccuring character in the string. Try to get an approach that is¬†ūĚĎā(ūĚĎõ) O(n), where¬†ūĚĎõ n¬†is the number of characters in the string. If there is no suc…
  • Each of the following Python functions is syntactically valid, but is still incorrect according to its Docstring. For each one, clearly explain what is wrong with the code, and how to fix it. 2. def s…
  • In this program you will create a BlackJack Card Game in Python. Below are the requirements: ¬† Requirements: create a simple text-based BlackJack game(no need to have graphical data). You may refer t…
  • Exercise 5.3 Top-selling products (40 points) Use Python programming to find most popular single products and co-purchased products from the large transaction data: retail.txt. Each row in retail.txt …
  • I could get the answer with below code: def decode_map(mapfile, ddict, outfile): ¬† ¬†encoded_file = open(mapfile, “r”) ¬† ¬†decoded_file = open(outfile, “a”) ¬† ¬†encoded_map = encoded_file.readlines…
  • what is the worst case asymptotic performance of each method? class BSTNode : def __init__ ( self , value) : # TODO complete Node initialization self .value = value self .left = None self .right = Non…
  • Q: Write a function that will check whether the columns of a matrix are linearly independent or not. Moreover the function must also return the number of basis vectors. You are now allowed to use any …
  • . 1 Introduction The purpose of this lab is to implement a divide-and-conquer algorithm and to get more familiar with its computational efficiency. Suppose you are given an 1-D array A with n entrie…
  • I got stuck after expression d, not sure how to solve the rest.
  • b) Consider the following Python function: def lower odd (values, limit) : return [v if v $ 2 -= 1 else v + 1\ for v in values if v < limit] i) Given that function, what will the following Python c…
  • Please show me the answer in R programming language with detailed comment! (download the file from this link https://1drv.ms/u/s!AtkqHPhh-7_Mg36cYNHjPhex9rRj) Question: Divide the chemical companies i…
  • The data for this question is¬† 15 16 18 19 12 11 13 19 23 21 16 12 12 15 17 19 20 10 10 14 16 13 ¬†9 ¬†6 start_locations ¬†3 3 ¬†3 0 ¬† 3 5 ¬† 0 2 path 3 1 ¬†3 0 ¬† 2 0 ¬† 1 0 ¬† 1 1 ¬† 0 1 ¬†0 2 …
  • Using python and for loops write a function fewest_characters that takes a single argument, a list of strings, and returns the string that contains the fewest characters. In the case of a tie, return …
  • The goal of this assignment is to build a simulation of a popular children’s dice game named Beat That.¬†Beat That is an educational game in which children learn strategic thinking and the concept of …
  • How do i solve this. it is a basic python problem. Please help me solve it. “”” Task 1: Assign to a variable called “theList” the list that contains “horse”, “bee”, and “cat”. Print this list. “”” pri…
  • In python, if the script I am using contains two or more functionalities, how can you run the script continuously to allow the user to select any one of these functionalities without restarting your p…
  • Suppose three siblings, Dale , Erin and Sam , have heights hd , he and hs , respectively. Write a program that reads in integer values of their heights and outputs the ordering from tallest to shor…
  • Now complete define all_lines_ryhme function with the given information below. ¬†. def transform_string(s: str) -> str: """Return a new string based on s in which all letters have be…
  • https://drive.google.com/file/d/1oWP_pDv9o8tjhlN_DdfACXc-rwvRl3G6/view?usp=sharing ¬† the link to the remaining question¬†. MIST.3050 Programming Assignment: Basis Text Analysis This assignment will g…
  • Task 9 Complete the following function to return a random number between 5 and 8 exclusive import random # Complete the following function to return a random number # between 5 and 8 exclusive def get…
  • Initialize the tuple team_names with the strings ‘Rockets’, ‘Raptors’, ‘Warriors’, and ‘Celtics’ (The top-4 2018 NBA teams at the end of the regular season in order).¬† Sample output for the given pro…
  • I am working on the code pasted below. ¬†Every time I enter a move , North, South, East, West or exit I get ” Invalid move” ¬†can you help me in debugging this code for my IT 140 Coding class? ¬† ¬† C…
  • Problem 3 – Enzymatic Regulation (10 points) ¬† Allosteric regulation tells us that the maximum rate of production can be manipulated when enzymes are turned off by inhibitors. Simulate the dynamics o…
  • I produce a list of word whose word length is an even number. Writing a function¬† selectWord ¬†that is passed the string parameter¬† word . The function returns¬† True ¬†if the lenght of the string i…
  • Hello, I need help solving this Lab simulation, It uses Boolean operators: Detect specific values for if-else statements and I am very new at python on so I need help solving it. It is very difficult….
  • use python to answer this question ¬†. 1. Import matplotlib library using the standard abbreviation. 2. Generate a list of 100 plot point between 0 and 1 using list comprehensions. 3. Plot f(x) = sin(…
  • Python binary search tree. I have most everything figured out except for the Delete method of the Node class. I’ve tried rewriting this several times and I feel like I’m missing something very trivial…
  • py :¬† ¬† import random import time #—————————————# ¬† ¬† ¬† # Implement Recursive selection sort here. # n: size of array – index is index of starting element d…
  • Discuss what the problem is the user trying and what other models do you think could have been applied here?
  • Instructions Write and test a program that accepts the user’s name (as text) and age (as a number) as input.
  • Write a program that allows the user to do basic trigonometry functions. First, ask the user if he or she would like to do sine, cosine, or tangent (sin, cos, tan). Then, ask the user for a decimal nu…
  • training data: test data: ¬†. 20 + 0 – aVol should converge "Use a logarithmic plot, c.g. plt . semilogy. X 2 0 – Test data Test data -5 -2 Training data Training data Z 20 10 Test data Training …
  • Exercise 3: Using FlightDelay .cav , write a Python program to perform the following (1 ) Read the dataset (2) Compute the total delay time for each flight. The total delay time is the sum of departur…
  • can you please help me with the following problems? all info is provided in the screenshots ¬† problem 1 problem 2 ¬†. Problem 1: Complete the program provided below so that the output appears as show…
  • Python for Data Analysis: Can you briefly explain to me step by step how to proceed with the following question The spreadsheet named “acf351b_python_data.csv” provides a list of American and Brit…
  • also this question I don’t understand Microsoft Word – Guided-Exercis X + X < -> C @ File | C:/Users/melih/Downloads/Guided-Exercise-2%20(1).pdf M Microsoft Word – Guided-Exercise-2.docx 6 / 6 […
  • . You are given a Ô¨Āle, named student_grades.txt , where each line contains a UWNetlD, followed by a colon, and then some number of numbers separated by spaces. Fill in the code below to create a g…
  • PLEASE ASNWER THE FOLLOWING 3 QUESTIONS USING PYHON. ( 1 ) * = 3, 4 = 4 using Python TOT 3 #4 3 X _ y What is the sensurev ? (2 ) * = 3 compute Wing python what Is the answer to Zap!` ( 3) * = 3 4 = 4…
  • Why is my if function not telling whether it is a digit or not? Why is it crashing? ¬†. RESTART: /Users/chris/De L = [4,’b’,’c’,6] Traceback (most recent call last): W = 0 File "/Users/chris/Desk…
  • look at attachment for the question. The question is from ¬†a test on python
  • Welcome to my Guess the number program! You guess the number Type a number and see if the computer can guess it Exit What is your choice: 1 Please guess a number between 1 and 10: 5 Too high Please gu…
  • There are four seating categories at a concert event. The VIP seats are $100, Class A seats are $75, Class B seats are $50, and Class C seats are $25. This concert also provides meals and beverages fo…
  • Homework Four ¬† ¬†I.¬†¬†¬†¬†In this assignment I need pet inventory application by fulfilling the requirements given below.¬† First create the classes described below.¬†Then need to driver program th…
  • ..i have to design a python code for this number game with atleast 3-4 lines of explanation ( number of brother(s) x 2 + 3 x 5 + number of sister(s) ) x 10 + number of grandparent(s) alive – 150……
  • How to get smart guess from words list for target words list so the target must be guessed correctly within 3.5 turns on average ¬† i am trying to make Lingo game in python but i am not getting quick …
  • Write code so that the buggy code provided works using a try/except. When the codes does not work in the try, have it append to the list¬†attempt¬†the string “Error”. full_lst = [“ab”, ‘cde’, ‘fgh’, ‘…
  • This is a julia program problem not Python. I can’t understand what I to do. Is there any one who can help me?
  • I UNDERSTAND EVERYTHING BELOW THE LINE… However, I have an additional question… How to output the colors green blue and red instead of replacing with white squares? Please give code. ¬† ¬† ——-…
  • Please read the question carefully first then answer I need fully functional code for it thanks. copy and paste the following link in google you will get the files from which you have to solve this qu…
  • The ZIP file contains the following data files: ‚ÄĘ raw_data.txt: 0-14 97680 93991 191671 15-19 32800 32479 65319 20-24 38953 41206 80159 25-29 36775 38205 74980 30-34 37072 39197 76269 35-39 30337 31…
  • Adam is so good at playing arcade games that he will win at every game he plays. One fine day as he was walking on the street, he discovers an arcade store that pays real cash for every game that the …
  • Consider a European call option with parameters: T = expiry = 1, K = exercise price = 50; r = 0.1; ŌÉ = 0.3; S 0 = 50. (a) Compute the Black-Scholes-Merton price of the option, i.e., the exact option …
  • MCIS5313_029211S: Data Structures and Algorithms, Assignment#3: Linked List A linked list is an object that creates, references and manipulates node objects. In this assignment, you are asked to write…
  • code using python. 2. LetX , X2. … . X.., iid N(/x, of ) and Yj, Y2. . .. . Y.,, iid N(py, o? ). Let a – 0.05. Make sure you choose gx / by here. a. An exact 1-n confidence interval for of /of is ( …
  • . 1. Parse the files and import the data in the database In the moodle you will find a zip file with some csv files in it. Your task is to parse the files and insert them into the created database. …
  • write Python commands to Select a subset of the dataset and clean it ¬† Task 1 Make a ¬†boolean mask and apply it to the `CarsData` dataframe to select the data of all _sport cars_ (i.e.,`’Sports Car?…
  • The function¬†area_rect(x, y)¬†returns the area of a rectangle of length x and breadth y. Define a function¬†area_square(x)¬†that: Returns the area of a square of length x. The¬†area_square¬†function …
  • 5.2: Write a python program that does the following: ‘ takes as input from the user a date and time {24whour clock) as "MM/DD/WW HH:rnm:SS" 0 Assume that everything must be provided with …
  • B & N Booksellers has a book club awards points to its customers based on the number of books purchased each month. The points are awarded as follows: "If a customer purchases 1-3 book, the c…
  • We need write a program that adds up a series of numbers entered by user. The user should enter each number at the command prompt. The user will indicate that he or she is finished entering the number…
  • Week 4 Assignment ¬≠ Algorithms Overview In this week’s assignment, we will be seeing how different search and sort algorithms in the reading compare to each other in their time efficiency. We’ll be l…
  • import turtle def drawCenteredSquare (aTurtle,x,y,side): ¬†¬†¬†aTurtle.up() ¬†¬†¬†aTurtle.goto(x,y) ¬†¬†¬†aTurtle.dot() ¬†¬†¬†aTurtle.left(90) ¬†¬†¬†aTurtle.forward(side/2) ¬†¬†¬†aTurtle.left(90) ¬†¬†…
  • 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…
  • Question 9: 10 points In this question, we will create a prediction from boosted trees using: ¬† ūĚĎďūĚĎŹūĚĎúūĚĎúūĚφūĚĎ°(ūĚĎ•0)=ūĚφūĚĎĖūĚĎĒūĚĎõ(‚ąĎūĚĎ°=1ūĚĎáūĚõľūĚĎ°ūĚĎďūĚĎ°(ūĚĎč0)).fboost(x0)=sign(…
  • . Note: There is a newline at the end of each output file, and file1.txt is available to download. 247772.2346548.qx2rgy7 LAB ACTIVITY 7.9.1: LAB: Sorting TV Shows (dictionaries and lists) 0 / 10 Do…
  • Question ¬† ¬† Problem 1 for the Data Set Shoe-sales.csv: You are an analyst in the IJK shoe company and you are expected to forecast the sales of the pairs of shoes for the upcoming 12 months from wh…
  • Create a function called¬†csv_sum¬†that takes a filename and returns the sum of all of the numbers in the file.¬†The numbers are in csv format.¬†For instance, if the contents of the file are: ¬† 12,3,…
  • . Cluster the following 10 (x y) pairs of points to two (2) clusters. (2 2), (1,1), (2 2), (1,2) (5,3), (6,3) (2,3), (6,4), (3,4) (6,6) (x y) are representing location of points. Clusters using DBSC…
  • 23 LAB: A `for` Loop to Print Indices ¬† Learning Objective Practice looping over a collection to work with each element from the collection Use the enumerate() function to have access to indexes an…
  • Write a program that receives a list of integers from the user and does the following Displays the items in the list (2pts) Displays the size of the list (2pts) Calculates and displays the sum of the …
  • I have a question about selecting records from .csv in python. Let’s say if we want to see a person’s record on something, but there are two records for the same person, if we only want the first one,…
  • Praveen works as a Reservation manager, he keeps the record of all the booking details and reservations of the convention halls. But he wants to automate it since manually maintaining all the files …
  • Print all the parent names who has a child named “Annie” from the dictionary below. my_dict = {“Joe” : {“Children” : (“Greg”, “Anna”, “Annie”)}, “Sylvie” : {“Children” : (“Jeffrey”, “Jessica”, “Armand…
  • Question 9 A Boolean expression using the and operator returns True when: neither operand is true both operands are true one operand is true
  • Hi, I’m stuck on this question, Its regarding Quick Sort Algorithms I have the following table and i’m stuck on this question
  • It is a program¬†that will allow a user to add, list, and delete items from a shopping list. Deliverables -Steps The program should be modular. For example, you will want to have an add_item(shopping_…
  • Please give a rough explanation of what is happening in this code block with reference to the functions used ¬† import numpy as np from matplotlib import pyplot as plt mu0 = 4 * np.pi * 1e-7 # H/m a =…
  • Implement binary operator overloading on the operator – (minus) and perform addition among 3 class members of 2 objects. Give the necessary explanation for required code using command line.
  • PLEASE DO NOT USE FOR “LOOP” OR “LIST” how do i loop an input in python. For example: price = input(“Insert price of item: “) tax = input(“Insert tax rate of item: “) how do i loop this 3 times. i.e. …
  • Lambda Functions – Question One Write a Python program that takes a list of strings and prints all the strings with length greaterthan or equal to 5. You must use a Lambda function and the Ô¨Ālter fun…
  • Un audaz equipo de rescate tiene la gran misi√≥n de rescatar a un grupo de exploradores que intentaban llegar al Polo Sur a trav√©s del territorio ant√°rtico chileno. Para ello, deben llegar a la pen?…
  • 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…
  • . and the employee. An employee contributes to the pension through a deduction that is typically a percentage of the employee’s annual salary, based on some deduction rate. Gross income is how much …
  • nut: 0-50:00 Time Left:0-36:51 Shahed Abu Azab: Attempt 1 Previous Page Next Page Page 4 of 21 Question 4 (1 point) Saved Using the Boolean Operator AND will broaden your results and produce more hits…
  • What is a code in python to change the column (with date) to display a short date format (ie.Jun 2018) Currently, the column value is in the form of 2018-08-16 (datetime64[ns]). Part 3c: Month and dep…
  • Rearrange the blocks below to search for a candy bar. You will have multiple attempts to solve this. There will be more blocks than what you will need to use. Drag from here while found == False while…
  • . *Homework Help – Q&A from On! X @ Week 4/5 Assignment – ENTD20( X Download Python | Python.org myclassroom.apus.edu/d21/Ims/dropbox/user/folder_submit_files.d21?ou=51110&isprv=08db=1818158…
  • Can someone check and fix my code for me please?¬† Instruction: This exercise uses your programming environment to enhance the Web site you created last week with additional functionality to include i…
  • Write a function¬† get_letter_grade , such that when given ¬† * a lab grade score and¬† * a list of the grade cutoffs returns ¬†the letter grade of that score. Note: Your function automatically return…
  • You have probably heard of the Wordle Game , a word guessing game that is becoming a craze on the internet these days. It is not the Wordle as the famous application to draw a word cloud from text. Bu…
  • Write a function named check_str that returns True if the first and last character of a string s are the same, False otherwise. s is the parameter to the function. As an example, the function call che…
  • How to code a program in Python that checks if properties satisfy a Magic square
  • hello there 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> a…
  • I need a python program for this problem. please see attached to see the details. Thank you
  • Fill in the Blank Word Game Try prompting the user to enter a noun, verb, and an adjective. Use the provided responses to fill in the blanks and then display the story. First, it should be a short sto…
  • Pseudocode and Flowchart for¬† a Python Application which asks the user for their zip code or city. Use the zip code or city name in order to obtain weather forecast data from: http://openweathermap.o…
  • Please help match with following: User Data Administrator(DA) Systems Administrator Information Resource Manager Database Administrator (DBA) Database Security Officer (DSO) This person usually report…
  • For the following example start node is A and the goal is G. Use Dijkstra Algorithm to solve it. Arrows are showing which cave can be reached from which other cave. For example from B to D is not poss…
  • Python Programming. Please help me plot this limacon using the sample output as a guide.. The shape of a limacon is defined parametrically as: r = ro+ cos a x = r cos a y = r sin a When ro = 1, this c…
  • hi this is my question from lab03 comp 10001 programming fundamentals i need help with this lab Manual calculations debugging the bugs mohawkcollege.ca x Apps @ Mohawk College X + tent/553260/viewCont…
  • True or false Q1: Local variables can be accessed outside of a function (not a nested function) if the “global” declaration is made Q2: We can use the following code to generate a 2D array with 4 by 3…
  • Pie Chart Plotter ¬† For this homework you need to write program that will read a CSV file a plot a pie chart for this data The CSV file is located in this weeks module, it is called:¬† WI-00-SNOW.csv…
  • Creation of A Python feature, called Divisible Numbers, that takes a list of numbers and a positive n whole, and returns the number of divisible items per n found in the list. In the main part of the …
  • x is a vector of any primitive objects such as numeric, character, logical, or complex. Create a function that will change x’s missing values into a default value: 0 or numeric, “” for character, F fo…
  • A number, a, is a power of b if it divisible by b and a/b is a power of b. Add a new function called is_power that takes parameters a and b and returns True if a is a power of b Requirement 1: a is di…
  • Performing sequential search for an item that is not present in an unsorted list has Best-Case running time equals to: 1 log(n) n n 2 Performing sequential search for an item that is not present in a …
  • use a python script to calculate the squares and cubes of the numbers from 0 through 5, then printed the resulting values in table format. Reimplement your script using a¬†for¬†loop and the f-string c…
  • Make a python programming about AI Assistant. I want you to separate the file of functions and call it in the main file.¬† These are the functions:¬† Music – the AI assistant has the ability to go in …
  • Write a program to calculate a semester grade In this class. Submit a working program that mimics the output as shown below. You can be creative with your coding approach, but not the format of the ou…
  • A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year takes place…
  • **intro to python** You are given a file dobA.txt which contains the names of students followed by their date of birth in mm/dd/yyyy format.¬† need a program which given this file dobA.txt creates a n…
  • . 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…
  • You will implement the trading strategy (Bitcoin using the moving average EMA) using the Python program. ¬† In specific, your program must include the following components. Data Frame of the stock pri…
  • Twitter scraper create a¬† python program about {#NLP,#NLProc}:(teets about natural language processing) using APIs and below things: 1.¬†indicate a reasonably¬†concrete topic 2. include the¬†preferre…
  • Read three integers from user input without a prompt. Then, print the product of those integers. Ex: If input is 2 3 5, output is 30. Note: Our system will run your program several times, automaticall…
  • The NWSD function takes two arguments: the first in an int (name it n) and the second is a set of positive ints (so, it cannot contain 0; name it s). NWDS returns an int computing the Number of Ways t…
  • Write a PYTHON PROGRAM function called nPr(n, r, N) which should calculate the number of possible ways of ordering r items selected from a total of n. For example, if I have n=10 contestants, and I…
  • With Python, I am trying to get a¬†Change Calculator. When I enter a change amount (example: 33), the program should display the minimum number of quarters, dimes, nickels, and pennies that one needs …
  • Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: Ôā∑ How to format each dict…
  • For Python 3.5 Attach is a MASTER BOOT RECORD that needs to be used as a file input for the program. It will be named block.dd and you can assume that it’s in your current directory so you don’t have …
  • I am trying to write a program in python which iterates through a list and prints” Today I am going to eat a banana Today I am going to eat a pineapple Today I am going to eat a plum Today I am going …
  • Question 1 Question 2 Question 3 Question 4 Question 5 Question 6. Which statement is true? Explain your choice a. The internet mask 255.255.0.0 allows for having a subnet of 255 connections, assuming…
  • I need help with this question. It is due tomorrow so I need help as soon as possible Write a routine tor estimating the condition number fo) ot a matrixA using the L1 ‚ÄĒnormt You will need to comput…
  • This is slightly modified to the below. Please answer below: 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…
  • Use a “for” or “while” loop in a python program that stimulates rolling two dice 1000 times and displays the count of each resulting roll.
  • Answer the following with reasoning, Thanks in advance ūüėä Which of the following creates a tuple? A. tuple1=(“a”,”b”) B. tuple1[2]=(“a”,”b”) C. tuple1=(5)*2 D. None of the above 2. Choose the c…
  • In Python please ¬†. Problem 2: Create a function affineEncrypt(text, a, b) that returns the cipher text encrypted using key ( a , b ). You must verify that the god(a, 26) = 1 before making the encryp…
  • Which of the following members of a programming team would be involved in internal documentation (i.e, providing inline comments within the program code)? ¬†Only the junior developers on the team ¬†On…
  • Given a text file, your objective is to reverse as well as store the content from an input file to an output file. This reversing can be performed in two ways: Full reversing: In this type of reversin…
  • Increasing paths Problem Given a grid of nonnegative integers, return the number of increasing paths. Definitions Path: a sequence of two or more spaces for which each space is horizontally or vert…
  • 1 Time Series Data Practice(30 pts) Recall what we mentioned in the class, we have two types of data splitting for training and testing data: out of sample and out of time. It is proper to use Out of …
  • Print all letters in your name except ‘a’ with python. ¬†¬† Name is – Mohamed¬† example – if your name is ‘Hassn’, your program should print an output which is ; hssn
  • Sigmoid function is applied element-wise. It does not change the dimensionality of the tensor and its implementation is shape-agnostic in general. def sigmoid_forward(x_input): “””sigmoid nonlinearity…
  • Can someone point me in the right direction on my 5-2 Assignment: Client-Side Authentication ??? Prompt You will be given starter code that implements a preliminary dashboard and prompts the user for …
  • Please help with step 5 and beyond: https:// ¬† colab.research.google.com/drive/14EquCCliq2vfDePqb_L4uIlLcJuspTcw?usp=sharing ¬† (make sure to delete the spaces in the link) ¬†. in this project {for H…
  • Hand trace the following program: for i in range (3) : for j in range (4) : W N if ( (i*j) * 2 == 0) and ( (i*j) != 0): print (i*j, "is even") There are no input values for this exercise. Wh…
  • from sklearn.datasets.samples_generator import make_blobs from pandas import DataFrame # generate a classification dataset X, y = make_blobs(n_samples=1000, centers=3, n_features=10, random_state=1, c…
  • Write code to: – determine which column has the header ‘temperature’ – update all of the temperatures, by multiplying each by 0.5 and then adding 12 – calculate the average temperature for the data fi…
  • Hello, I need help with “len_safe” and “unique” len_safe (10 points) Return¬†¬†¬†the¬†¬†¬†length¬† of¬†the¬†input¬†object,¬†or¬†-1¬†if¬†the¬†object¬†has¬†no¬†length.¬†Use¬† exception¬†handling¬†for¬† …
  • I need help with a complicated python homework problem. I can not seem to get this to work. import csv print(‘{0:<21}{1:<10}{2:>10}{3:>7}’.format(‘State’,’Disease’,’Number’,’Year’)) with o…
  • friendsOfFriends(d) [20 pts: 10 pts autograded for correctness, 10 pts manually graded for efficiency (only if also correct)] Background: we can create a dictionary mapping people to sets of their fri…
  • 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…
  • In R, consider the contents of iris[,-5]. In Python, consider the contents of: from sklearn import datasets print(datasets.load_iris().data) ¬† Scale, standardize, and/or normalize the data using a me…
  • Implement two different versions of quicksort in PYTHON language.¬† The first version will use the first element of the array as the pivot. The second version will use the median of the first element,…
  • I am confused abut how to do this code. The second image is of the csv file to show the format of it. Thank you in advance for the help. I need to find the three year maximum, minimum, and average pre…
  • Define the function choco(n) to solve the following problem: ¬† A company packages and sells boxes with chocolates. The boxes come in two sizes: large and small. The “large” box contains 48 chocolates…
  • fix this code. In the first table, the¬†windchill¬†must be calculated using the formula and not¬†hardcoded. The WC should be calculated using the arithmetic formula provided in the interactive input. …
  • Scenario We’ve showed you recently how to extend Stack possibilities by defining a new class (i.e., a subclass) which retains all inherited traits and adds some new ones. Your task is to extend the St…
  • Please help me with this Python question QUESTION 7 Which of the following class diagrams has the correct format? Course + Course(course_id: String) +input_info() O A. [+ display_info() +code: String …
  • Python code. I would like to create the expected output. The below is the hint given. ¬† ¬† HINT: The function reverse_shapes(d, labels) is very similar to scale_shapes(d, labels). Just replace the sc…
  • The script should have a Shebang line The script should contain import sys The script should use a string object called name The script should use an integer object called age The script should use sy…
  • Write a for loop to print the multiples of 3 from 300 down to 3. 9. Write a code fragment that reads 10 integer values from the user and prints the highest value entered.
  • The attachment picture are about the task ‘s information. Please help me in Python! Thanks a lot!! Functional SpeciÔ¨Ācations: 1. The program will prompt the user for various pieces of information abo…
  • Question 5: Using Lists for Porblem Solving [3.0 marks] a. Write for loops that iterate over the elements of a list without the use of the range function for printing all elements of a list in a singl…
  • Give the őė-order bound of these sums. i) S(n)=‚ąĎ¬† iClosure Properties: (a) Polynomial-type functions are closed under addition, multiplication, and raising to any positive power a > 0. (b) Expon…
  • Question screenshot Figure 1: Sample Bar Graph Question 6: Write a program that uses the turtle library to create a bar graph. The program should take two parameter arguments: a list of bar lengths an…
  • Consider the following program:¬† def calculate (value): ¬† ¬† ¬†return value + value¬† def main (): result = 10; ¬†result += calculate (10);¬† print (“Result= {}”. format(result))¬†¬†¬† main()¬† ¬† W…
  • Considering week 6 code in the lab ( Menu – driven code for collecting sales and recording it) Improve the code for any possible Exception and input validation ( Avoid all the scenarios which may cras…
  • 6 HELP.¬† Can¬† you help me figure this out?? I really need some help!
  • please help me with simple python coding, I need help writing a code as described below. please write it or break down the parts and how to write those individually. I’m very stumped and could use any…
  • 6 . 1 .8 . Function append Parity ToFrames This function takes a list of fram es and a desired parity , and it appends a parity row and column to each frame in the list and returns the new list of fr…
  • Ask the user a true or false question. Based on the user’s response, tell them if they got it correct or not. Accept true, True, T and t for responses that are true Accept false, False, F and f for re…
  • Coffee Strength Equalization : Amla has three identical tumblers ‚ÄĒ A, B, and C. Each is 80 % full. A has coffee decoction and B and C have milk. She has to prepare three tumblers of coffee of equal …
  • #Write a function called course_info that takes as input a #list of tuples. Each tuple contains two items: the first #item in each tuple is a student’s name as a string, and the #second item in each t…
  • (30 points) Write a Python program that takes regular expression written in our notation, and produces an NDFSA te that has exactly the same language as the regular expression. The NDFSA+ should b…
  • Image Attached Includes Requirement ¬†¬†¬† def add(a, b):¬†# Defined function for addition ¬†¬†return a + b¬†# Result def mul(a, b):¬†# Defined function for multiplication ¬†¬†return a * b¬†# Result d…
  • Hi I need help with the following: for the team of online game players, I need to create a library of a test data. The test data should resemble the following structure: [(username, connection_quality…
  • May i get some help with this problem, please? uThere are four seating categories at Locklear stadium. uSTANDARD seats cost $100.00. uSTANDARD seats have an associated 5% Sales Tax. uSTANDARD seats pr…
  • Create a class Duration, which will take in a duration in minutes and seconds.¬† It should have the following property: 1. total_seconds, which stores the duration in the total number of seconds And t…
  • def¬†chars_health(chars_health_points, instructions): ¬†¬†¬† “”” ¬†¬†¬†¬†>>> chars_health([1, 2, 3, 4], [(‘heal’, 1)]) ¬†¬†¬†¬†[2, 3, 4, 5] ¬† ¬†¬†¬†¬†>>> chars_health([3.3, 6.6, …
  • 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 Responsibility) mis…
  • mostCommonName [20 pts] Write the function mostCommonName, that takes a list of names (such as ["Jane", "Aaron", "Cindy", "Aaron"], and returns the most com…
  • Give an example of a simple phyton program that would calculate the triangle and trapezoid as shown in the picture below
  • e: the pixel size can be any size of the given image. Also you cannot use any specific image modules that blur the image. Using: from PIL import Image import random
    • Sales predictions Demand for particular types of beer varies from week to week and month to month. Due to the lead time taken to produce each batch of beer, up to 10 weeks, it usually isn’t possibl…
  • Hello I am having a hard time understanding the assignment 1) Add menu items to write to a file and to read from a file 2) wrfile() ¬†with two methods to write the results to a file, and to read the r…
  • Hello, I need help solving this Lab simulation, It uses Gallons of paint needed to paint walls. for variables and expressions statements and I am very new at python on so I need help solving it. It is…
  • Please help me work on my labs 1. Define a File, Field and Record. Provide some suitable examples for each. (7pts) 2. What is a key? Why is it used? Explain different types of keys with suitable examp…
  • If you can’t use mlxtend, type in pip install mlxtend into your command terminal Bagging 1. E 1) Bootstrapping As you remember, bagging relies on bootstrap sampling. So, as a first step, your task is …
  • Answer the Following question and box the final answer .. Sort the array below using insertion sort algorithm. Show the contents of the array before and after the iterations of the outer loop. * 0 1 2…
  • Question 2: Looping through detail pages (6 points) Using the BeautifulSoup library, write a python program that extracts the author information of all the authors listed in http://quotes.toscrape.com…
  • Problem 1: Create a list that contains the months of the year. Pseudo-code start ¬†¬†¬†¬†Declare MonthsOftheYear = {“January”, “February”, “March”, “April”, “May”, “June”, “July”, “August”, “…
  • . Exercise 7.2 Squaring numbers using map Write a Python program that calculates the square values of a range of integers (the lower and the upper bound of the range is defined by the user). You sho…
  • 1Python program that prints the numbers of a given list of integers at even positions. 2.Python program to concatenate two given strings after removing the first character of each string. 3.a Python p…
  • Python Simple airline ticket reservation program. The program should display a menu with the following options: reserve a ticket, cancel a reservation, check whether a ticket is reserved for a particu…
  • Looking for some help with the following program: The second exercise produces x,y values using Python math functions. The results of these function calls will be used as input to another program of y…
  • test: lst6 = [5] lst6A = [5] lst7 = [5,2,3,10,1,10,5,6,5,8,10] lst7A = [1,2,3,5,5,5,6,8,10,10,10] lst8 = [2,3,5,4] lst8A = [2,3,4,5] lst9 = [5,2,9,2] lst9A = [2,2,5,9] SELECTION = \ ¬†[(‘selection_sor…
    • You want to make a dictionary with¬† N ¬†string keys and¬† M ¬†string values. For which of the following will it be impossible? a) N < M b)N = M c)N > M d) It is always possible to create suc…
  • Create an application using python PysimpleGUI that solves problems in the field of Engineering, Mathematics, Physics, or Sciences. Topic: Energy calculator that solves mass, velocity, and energy in a…
  • ipython programming 1. Please import the biostats.csv file (https://www.dropbox.com/s/b0g7o7tkqhimyad/biostats.csv?dl=0), and place it in an appropriate dataset.¬† 2. Fetch the Age column of the datas…
  • Write one function called test_password that takes any user input password and verify if the password meets the following requirements or not: length between 8 and 16 alphanumeric characters, and need…
  • For your assignment, create a data tracker that will capture data entered by the user over a number of cycles (days, attempts, etc.), and compute a meaningful result of the data captured for the outpu…
  • I don’t know how to solve this¬† remove_tags ¬† ¬† Similar to the make_tags exercise you completed earlier, this function should do the reverse. It should remove every HTML tag from the text it is giv…
  • In Python 4.18¬†LAB: Smallest and largest numbers in a list 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 large…
  • . Hopefully you all remember the work with Palindromes in the previous Lab (Lab-3). Given a list of words, your task is to return the first palindromic string in th list. If the list has no such mat…
  • An example of pseudo code with the months of the year in a list format and a flowchart is what I am having difficulty understanding. Like a pseudo code and a flowchart example of the months in a list …
  • Question 2 score =¬†“my”¬†+¬†” score is”¬†+¬†98¬†¬†#string concatenation print(score)¬† The output of the¬†above code snippet is:¬†my score is 98¬† Hint:¬†you can use the python shell to test the abov…
  • py from socket import socket, AF_INET, SOCK_DGRAM from sys import argv from common import ip_checksum SEGMENT_SIZE = 200 if __name__ == “__main__”: ¬† dest_addr = argv[1] ¬† ¬†dest_port = int(a…
  • Could someone please help with these python questions? Previous tutor did not answer these questions correctly. Could you please make sure for Question 4, t==4? Thanks Exercise #3 name: count_lead_let…
  • Link to the file: https://drive.google.com/file/d/1t2ms1IYHUgCmwfFsUFbKH-ilZsa2kRbD/view?usp=sharing Summarize the data set. What is the mean of mpg? What is the median value of mpg? Which value is hi…
  • Attempting a Birthday Attack on SHA-256 [Marks: 25%]. Write a Python program using cryptography.io that tries to find a collision like in Question 3 but now instead of XOR-ing the three prime numbers,…
  • I need help to finish writing a python code that will solve this problem: A statement that assigns total_coins with the sum of nickel_count and dime_count.Sample output for 100 nickels and 200 dimes i…
  • Implement a new GUI class¬†App¬†that combines user-defined tkinter widget classes¬†Calculator¬†and¬†Mortgage¬†displayed below: . . . th Loan Amount: MC M+ M- MR Interest rate: C x2 + 8 Loan terms: 9 4…
  • Given some coin denominations, your goal is to make change for an amount, S, using the fewest number of coins. Write python code to find the fewest number of coins using the greedy approach.
  • . Note: the application should enforce all the data types such as the id should be 10 digits; if the user enters 9 digits, the application should display an error message and does not submit this in…
  • Need help with python text based game moving rooms and collecting inventory. ¬†It is not letting me move rooms, it is prompting the “invalid move” code
  • Use the information in the Wikipedia (en.wikipedia.org/wiki/Master_boot_record) entry for¬†Master Boot Record that will parse a portion of the partition table. The first partition entry is located at …
  • Define the generator function¬†fib_gen, which is capable of yielding values of¬† infinite fibonacci series. The first two values of fibonacci series are 0, and 1. Create a generator¬†fs¬†from¬†fib_gen…
  • We want to report out the results of predicting the top-10 hits using either KNN, Decision Trees, or SVMS. For each model, you will tune the hyper-parameters: KNN, number of neighbors = [3, 7, 11, 15]…
  • Please answer only if you are completely¬†sure about the solutions, with explanation for each question needed 1. Is Python case sensitive when dealing with identifiers? a) yes b) no c) machine depende…
  • PYTHON¬† ¬†. *9.23 (Buttons and radio buttons) Write a program that uses radio buttons to select back- ground colors for text, as shown in Figure 9.34. The available colors are red, yel- low, white, g…
  • When staying at the “High Tech Hotel” in Imaginationland, the key card you were given is labelled in binary, stating you are staying in room (1101 1011). What room are you staying in?
  • 1 0.5 Points sky . sort_values ( ‘height’ ) O int or float O Boolean O string O array O Series DataFrame O error Save Answer Last saved on Feb 09 at 1:03 PM Q1.2 0.5 Points sky . sort_values ( ‘hei…
  • with python snippet result the following outcomes. 5’3 {MEXING AND SLICING WIS) Create an arrayr containing the values 1‚ÄĒ15, reshape it into a 3-by-5 array, then use indexing and slicing technique…
  • Please use the data file and the _toFill file to build a Logistic model inside the file. Don’t forget to use WOE file to check for IV and WOE. Please upload the filled code and .xlsx file with 5 rows …
  • Assignment 1 ¬† In this assignment you will write a dot-matrix “bitmap” display emulator, and a shape drawing program. ¬† A “bitmap” is just the idea that we can make a drawing by representing p…
  • 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…
  • use only NumPy to create the Threshold Class: Reduce the number of colors used in the image from millions to eight. In particular, set each of the R, G, and B values in the output image to either full…
  • Write a program that reads a stream of numbers from one file and writes the numbers in sorted (ascending) order to a second file.¬† Specifically, your program must ask the user to enter the name of th…
  • Create the main function to call the other functions (worth 1.5 points)¬† 2. Write a function named findMax that accepts two integer values as arguments and returns the value that is the greater of…
  • can I get help in coding these function? I have the answer for the first two but I am stuck in the rest. clearable(locations, report_location) [15pts ] Description: There was a murder at report_locati…
  • My instructor is wanting to change my code to accept more than one digit in the list from user input for Cartesian product in python. No hard-coding and cannot use itertools. Here is the current code:…
  • Your task for this assignment is to wrie a Python program that: Reads in from standard input (i.e. keyboard) a list of keyword and message pairs, one pair per line. The keyword and message are each a …
  • # PURPOSE: Detect if .py files have valid shebang lines. #¬†¬†¬†¬†¬†¬†¬†¬†¬†The .py files will be examined in a directory #¬†¬†¬†¬†¬†¬†¬†¬†¬†specified as a command line argument. import os import sys …
  • Hi, could you give me more information on what the “#TODO:” at the bottom asking for a unique identifier in this python file? If you could provide an example or tell me what to look for on my end to i…
  • The dataset belongs to a leading life insurance company. The… ¬† The dataset belongs to a leading life insurance company. The company wants to predict the bonus for its agents so that it may design …
  • Task 4: Remove Outliers <¬ß2.2 Loops; ¬ß4.1 Tables> ¬† Implement a function remove outliers(table) that takes as input an n √ó m table of numbers. The function replaces every instance of the max…
  • ****Note : was unable to load the data as it was an excel file in csv format **** This article examines how to use big data analytics services to enhance business intelligence (BI). More specifically,…
  • 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…
  • How does critical thinking relate to peer assessment? What strategies from this week can you apply when you assess Written Assignments?
  • Write a program whose input is a string which contains a character and a phrase, and whose output indicates the number of times the character appears in the phrase.
  • create class called MyQueueADT that implements a queue for a series of¬†objects. ¬†you must implement the queue to store the objects. For YOUR queue, new items should be added to the end. The point of…
  • https://drive.google.com/file/d/1ICEfwzlDRmb9LGPBTJbWtRjQ65YLSDsa/view?usp=sharing ¬†. Background Object oriented programming languages are often used when designing and developing complex systems suc…
  • Trying to figure out how to get this done with Regex ¬† function name is_valid_bc_license_plate ¬† returns true if the parameter matches this pattern: three letters then three digits, or three digits …
  • Your boss is working on a travel brochure to encourage Texans to visit London England this upcoming summer. But your boss is shocked that the summertime temperatures are in the teens! He doesn’t reali…
  • can you help me with a sample program that Uses files – open, read/write, delete to handle data.The program needs to handle data from files (open, read/write, delete to handle data). It uses exception…
  • An object of type Smartphone is available with the following methods: ¬† ¬† operating_system(): returns the operating system of the smartphone, this is a string that can be either “Android” or “iOS” r…
  • def bad_visibility(visibility,minimum): ¬† ¬†“”” ¬† ¬†Returns True if the visibility measurement violates the minimum, False otherwise ¬† ¬† ¬† ¬†A valid visibility measurement is EITHER the string ‘u…
  • python please. # Write a program to accept the cost price of a bike and display the road tax to be paid according to the following criteria : # Cost price (in $) Tax # > 100000 15% #> 50000 and …
  • Can you explain how to write this program using python 3 coding? When traveling through a gas, the speed of sound depends primarily on the density of the medium. The less-dense the medium, the faster …
  • Create the User Interface of our shiny app Define the sidebarPanel, which is two choices (use ‘selectInput’), one for the x axis of the scatter plot, and the other is the y axis for the scatter plot…
  • please solve 4 python code problems. problems are from python zybooks lab¬† 1.¬† ¬† ¬† ¬† 2. ¬† 3. 4.. 24.4 LAB: Fun with characters Complete the check character() function which has 2 parameters. A s…
  • Solve using the random module from Python: 1.Produce a program that randomly generates a dart’s coordinates and indicates to the user whether the dart strikes a dartboard of a randomly generated radiu…
  • Write a function sublist of sum (Ist, x) , that returns the first sublist of Ist that sums exactly to x. Otherwise, it should return None if no such sublist exists. Function header: sublist_of_sum (Is…
  • 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…
  • At the end of the pirate_translate function, I get the new sentence I want but it doesn’t have spaces between the words. For the sentence entered in “You are a computer scientist.” it returns yebeacom…
  • Python code that creates two Gaussian probability density function plots with different standard deviation values. Be sure to include grid lines and a title on your plot. Also, be sure to use the mark…
  • Develop a crawler that collects the email addresses in the visited web pages. You can write a function¬†emails()¬†that takes a document (as a string) as input and returns the distinct email addresses …
  • please do it in .py or jupyter notebook as you wish Find Data File on this link :- http://www.mediafire.com/file/2ee6jiqgzlnr0zz/WHO-COVID-19-global-data.xlsx/file
  • I have the function but I don’t know how to input the list in the task file 1. Write a function called add 2d list that take two 2d-lists of numbers as parameters and returns their sum(a matrix/2d-lis…
  • You are calculating the average lap time for a race car. 1. PSEUDOCODE: Help create a program that: ¬†a. Prompts the user to enter the number of laps the race car drove ¬†b. Sets up a for loop to ente…
  • this is python. Create a program that prompts the user to input an integer value "n". Then using a nested for loop (a for-loop within another for-loop) your program should draw a half convex…
  • Let’s say that we have a contest the details of which we don’t care about apart from one simple rule. “If a contestant earns a score equal to or greater than the k-th place finisher, they will advance…
  • I want to solve this problem using recursion . Please help me. 1. Write a python program with explanation to read a number n from user, calculate the sum of the following series up to n-th term, and p…
  • The following guidelines should be followed and will be used to grade your project work: ‚ÄĘ All code to be implemented and submitted as a jupyter notebook (.ipynb) file. ‚ÄĘ This is an individual hom…
  • This is the instruction for my assignment. Here is the link for data “game_test”, “game_train”, “games”, and “example_submission”. ¬† https://docs.google.com/spreadsheets/d/1pQspMaZQajdQGDG6l4qd48Fv55…
  • how would I code this: Is 49 modulus 9 equal to 67 modulus 9 and (boolean comparison) is the sum 49 & 67 modulus 9 greater than 7
  • Question 10 (5 points): ¬∂ Consider the following text. str1= “”” The Master of Science in Business Analytics is an approved Science, Technology, Engineering and Mathematics (STEM) program. The progra…
  • Subject : Artificial Intelligence Solution needed with short explanation using python . Question and Sample output is given : Constraint Satisfaction Problems (5)- Example Map Coloring Variables: WA, …
  • Need guidance and explanation on the above question my initial intuition is¬† def replace_elements(source_list, dest_list): ¬† ¬† for i in source_list: ¬† ¬† ¬† ¬† dest_list[i] = source_list[i]. Probl…
  • Help me understand the specific criteria needed in order to create a user-defined function/method in Python. Can an example of code with at least three criteria be provided to help better understand?
  • Can someone help me do some research on Cross-Site Request Forgery (CSRF) to describe the issue in more details and provide some specific instances where hackers successfully used this technique and d…
  • how to convert gene back file format to fasta file format without the use of biopython.
  • 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…
  • Question 5 (1 point) What is string. punctuation? A member function of the string class A string constant defined in the string module A function that is callable on any string object A member functio…
  • Does anyone have a game on projectile motion that I can run? Can I plz have the code and tell me how I can run the code. which compiler to use, etc. Thanks!
  • Your software company was invited to provide a proposal for a company in Australia. You currently have the cost in US dollars and need to convert the prices to the Australian dollar.¬† I need¬†a 2-par…
  • i worte this code to get all data in the journey summary – self.Text5.insert(tk.INSERT, ‘\n’.join(self.Stations + self.lines + station_between_times_string ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†…
  • A Crooked Die or Not? Supposed that you need to check a die to see if it was modified to make one of its faces more likely than the others. You roll the die 60 times and collect the below result: “` …
  • Create a Python program that contains a function that has two arguments and returns the result of some calculation. Outside the function, prompt the user for two numeric values that are to be passed t…
  • A PowerPoint that contains a FLOWCHART and a PSEUDOCODE for problem is needed. Use the information below to make a pseudocode (which can be a text-based description for solving the problems) and a flo…
  • We understand that you can manually throw (raise) an exception in Python with the keyword raise, the purpose of this is for error-checking. This can be useful for debugging purposes. ¬† ¬† But somethi…
  • I need this to output 15 I keep getting 15.0 how do I remove the decimal? Write a program whose inputs are three integers, and whose output is the largest of the three values. Ex: If the input is: Inp…
  • Display the current working directory. 2. Create a directory called CNET334_$2 under C:\ 3. Change the current working directory(cwd) to C:\ CNET334_$2 4. Display the current working directory. 5. …
  • Question 1: Given the PEP9 CPU architecture, assume that the CPU registers, flags and memory locations are in the following initial state: ‚Äč‚Äč‚ÄčCPU: A-reg 0x0000 X-reg 0x0000 N 0 Z 0 V 0 C 0 Memor…
  • I need help, please. I just can not figure out how to count the “m” and “s” to start the file. Any help with the program would be greatly appreciated. Service wants a simple program to total the amoun…
  • What is the 1.4.1:¬†Basic syntax errors. print(‘Predictions are hard.”) print(Especially about the future.) user_num = 5 print(‘user_num is:’ user_num)
  • The finite element method (FEM) is a numerical technique for finding approximate solutions of many physics and engineering problems by discretization of the domain into elements. The technique has man…
  • Table 1: Employees id name salary Table 2: Projects employee_id project_id start_date end_date ¬† Write a python script that uses pandas to find the 3 lowest-paid employees who have done at least 10 p…
  • Take a file(txt) from user as a input and remove all the blank lines and then print the count of every word as a dictionary.(Do not include special characters as a word)
  • I need help making this program in python. build a calculator which alows the user to input 2 operands and supports the following operations: ¬†¬†– add ¬†¬†– subtract ¬†¬†– multiply ¬†¬†– divide ¬†¬†-…
  • This week’s assignment involves rewriting the Python program you wrote for your assignment last week but we will be using a separate function in this case. All the requirements from last week still ap…
  • Assignment Write each of the following functions. The function header must be implemented exactly as specified. Write a main function that tests each of your functions. Specifics In the main function …
  • a forceacts on an object. a. calculate the work done by the force if the object is moving at x=[2.8]. (use trapezoidal method) b. calculate the error rate of your calculations when compared to the ana…
  • What would be a design¬†pattern “in the large” to avoid for this application, and why? (Why client-server architecture model would be a design pattern to avoid for a small application( like a small mi…
  • Question 6 See the code below: import sys try: f = open(‘textFile.txt’) s = f.readline() I = int(s.strip()) Expect IOError as e: print("1/O error([0]); (1]". format(e.errno, e.strerror)) exc…
  • a function that satisfies the following criteria: It has at least one default parameter It returns a value It contains a docstring with the following elements: ‚󶬆A brief description of the purpose …
  • 21 LAB: Where is my car?! ¬† Learning Objective: Use loops to iterate through the container Practice the enumerate() function to have simultaneous access to index and object Work with If statements …
  • homework is in the file… I need to implement Perceptron algorithm by implementing LMS algorithm
  • A¬† number N is called deficient if the sum of its proper divisors is less than n and it is called abundant if this sum exceeds n. ¬† A proper divisor of a number N is considered all the factors of N …
  • Your portfolio project consists of three components: Program corrections Lessons learned reflection Final program Assignment Instructions Program corrections : Make appropriate corrections to all the …
  • file:///C:/Users/talha/Downloads/4COSC001W_CWK_21_22_V4%20(1).pdf
  • PYTHON ¬† please help asap!! ¬†full spec, txt files, and test file can be found on this github link: https://github.com/nedski19/share.git. 2.4. Method speciÔ¨Ācations. DeÔ¨Āne a class called TankMode…
  • please can you help me? I would greatly appreciate it ¬†. Requirement 06 – Calculating Monthly Interest [30 marks] Background: Individuals will frequently put their extra cash into savings account …
  • .py file required User will choose two functions ONLY from¬†that (view, add, delete, update). You do not have to make a main menu; you can just ask the user to enter one of the two options (correspond…
  • Hi Tutor, ¬† I have an assignment for my Python Data Science course that is asking to implement a function. ¬†Below are the instructions. ¬†Can you please help? ¬† ¬† ¬† Step 1 : Load the code in Whea…
  • At last, we come to the final task of the unit. Thank you for being part of this unit. You are required to create a program that showcases the required output for the following question:¬† Many newspa…
  • Write code that will open a file, and return a string containing the first line of the file that contains 65 or more characters, but with the words in reverse order and in lower case. For example, if …
  • 1-5 Discussion: Descriptive Statistics¬† Must post first. Subscribe Use the link in the Jupyter Notebook activity to access your Python script. Once you have made your calculations, complete the discu…
  • Average Restaurant Rating and Number of Stars¬† – A restaurant receives numeric scores of 0-10 from five different food critics. The higher the score, the better the rating.¬†The average score transla…
  • (Euclidean Distance) writing a program distance.py that reads n (int) from command line, two ndimensional lists x and y of floats from standard input, and writes to standard output the Euclidean dista…
  • A small factory makes two types of cloth face masks, a single-layer and a double-layer: Each single-layer requires two minutes on the cutting machine and two minutes on the assembly machine. Each doub…
  • A non-inductive resistor is connected in series with a capacitor of 100 őľF capacitance¬† across 200-V, 50-Hz mains. The p.d. measured across the resistor is 150 V. Find the value of¬† resistance and …
  • Consider the following Python code, which defines the function binary_search(the_list, target, low, high), which searches for the target item in the sorted list the_list. The two parameters low and hi…
  • a)¬†¬†¬†¬†¬†Study the “dataframe” below and answer the questions that follow. ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Column1¬†¬†¬†¬†¬†¬†¬†¬†Column2¬†¬†¬†¬†¬†¬†¬†¬†Column3¬†¬†¬†¬†¬†¬†¬†¬†Column4¬†¬†¬†¬†¬†¬†¬†¬†Column5?…
  • Write a Python program to calculate a dog’s age in dog years. How? Each year of the first two human years is equal to 10.5 dog years. After that, each human year equals 4 dog years. (Note: That is two…
  • CP1401 Problem Description:¬† The Market Garden Simulator is a program that simulates the tranquil and refreshing activity of growing your own garden for fun and profit. You have a list of plants, whi…
  • original work please Using the class example provided perceptron model to do the classification for ¬†dataset. You can follow the class iris example, make plotting with selected features (can try with…
  • py # Implements the Maze ADT using a 2-D array. from array import Array2D from lliststack import Stack class Maze : # Define constants to represent contents of the maze cells. MAZE_WALL = “*” PAT…
  • A high school economics teacher wants to demonstrate the power of compound interest to her students.She would like you to write a program so that students can input their principal amount and the inte…
  • Are there some python projects here that I could get for class?
  • Need Help for this code please Intro to Python: Blackjack with Dictionaries We are going to enhance this program so it simulates a simplified version of the game of Blackjack between two virtual playe…
  • D Question 4 2 pts All algorithms need to be implemented with a programming language like Python or Java. (Select the best answer) True False
  • Please convert the following matlab code to python code: ¬† data = [-0.00758953886630890;-0.0121840270569924;0.0165106476359841;0.00319903019080278;-0.00352622242041000; ¬† ¬† ¬† ¬†0.0521919317323196;…
  • 2 The Sagemath Python code below will print the prime factors for all integers 1 < N S 100 and label the primes. Do not include the output from this code in your HW submission. (a) Add short com…
  • we have to Modify binary_search function that can be performed descending order search¬† Input: 99, 87, 73, 62, 55, 34, 21, 12, 7¬†¬†Key value = 12¬† Output: The key value 12 is found at the lis…
  • Download a copy of the Ô¨Āle from¬† https://www.py4e.com/code3/romeo.txt . ¬† make a program to open the Ô¨Āle romeo.txt and read it line by line. For each line, split the line into a list of words us…
  • Q how to convert this unittest code to nose test code. import inspect import re import unittest import math class Circle: ¬†¬†¬† ¬†¬†def __init__(self, radius): ¬†¬†# Define the initialization method …
  • Please write class named Employee that holds the following data about an employee in attributes: name , ID_number, department, and job title. ( employee.py ) 2.¬†¬†¬†¬†please create UML diag…
  • Write a function named secondLargest() to keep asking the user to enter a series of numbers that separated by spaces. Your function will return the second largest number in the series. For example: – …
  • For this assignment, you will design a star schema to transform data from transactional to analytical for one topic. Read the following case and the instructions for completing this assignment. Case: …
  • Program Description You work for an online song distribution company. Code a modular Python program that will accept an order of playlists that allows users to pick the platform and the number of song…
  • solve the following please use python Global Constant Real CALORIES FROM FAT CALORIES_FROM_CARBS main() getFat setFat (Ref inputFat) [gramsFat, caloriesFat) Display "Enter caloriesFat = gramsFat …
  • Part 1: Exercise 1.1 from your textbook recommends that you try to make mistakes when experimenting with a new programming feature.¬† This kind of experiment helps you remember what you read; it also …
  • An employee in your company earns $32,500.00 annually. Write a program that determines and displays the amount of his/her gross pay for each pay period, if he/she is paid twice a month (24 pay checks …
  • if input is 10 5 3 21 2 -6 How do I fix this Error = Traceback (most recent call last): File “main.py”, line 6, in <module> value = int(input()) EOFError: EOF when reading a line NumList = [] Nu…
  • Hi need some help with this part of my assignment. I do not know how to automate. Would you mind explaining to me?. Instructions In this guided practice, you will use IDLE and Python to learn how to i…
  • It is not clear how we will focus on solutions with the Random Gradient Descent Method. We stopped the algorithm when we reached a certain number of steps in the lesson. Using the code in the lesson, …
  • Activity 1 –¬† ¬† Turn the “how much money is in the cup” algorithm into a Python function. That is, write a function, how_much_money(cup), where the parameter is an array; return the sum of the value…
  • . Determine the output of this code fragment in Python x = 10 y = 15 z = 20 x = z z = y y = x print(x, y, z)
  • please write in python code,¬† code with function input and return as output, and please write briefly explanations with # in code
  • #This is for R language/Rstudio. I’m a beginner so this should take 2mintues if you know R. I’m trying to write simple R function called¬†‘greeting’ which takes one argument, a person’s name as a stri…
  • We will discover the basics of image processing, a key area in the computer science field. In part 1, we will define an abstraction of images in RGB colorspace with a Python class. In part 2, we wi…
  • Please refer to the attachment to answer this question. This question was created from CIS115_Week 7_Lab.docx. Additional comments: “Help me understand this and how to run the code so it follows the r
  • import cv2 import sqlite3 import numpy as np import requests import imutils from imutils.object_detection import non_max_suppression import smtplib import time from datetime import datetime from email…
  • The programs below utilize a series of external data files –¬†click here to download these files as a ZIP archive. You have been hired by a small software company for a “thesaurus” program that replac…
  • Provide the Python code you wrote to extract all the unique web links from the HTML code of the "Current Estimates" (in the web links section), that point out to other HTML pages.
  • DO NOT RESPOND IF YOU HAVE ANSWERED THIS BEFORE Please respond with the following code modified for a program in python that I can paste on a ide like pycharm so that it builds a list of integers from…
  • Each answer must have a short explanation in the comments (using #) – Done in python Complete the following problems in chapter 15: Generating data ¬† Use matplotlib and plotly to complete the followi…
  • can you demonstrate the code for a stack diagram? providing exmaples.
  • What is HTTP and HTTPS? What is a URL? Is an URL different from an URI, if so how? What is a Request and a Response?
  • My code from Pycharm wont successfully get deployed on Python Anywhere, Can someone help me get my python anywhere deployed?¬† ¬† i have the link for my Github
  • Use the¬† map ¬†function and the¬† scrabbleValue ¬†function to print a list of scrabble word values for the words in the list¬† words . def scrabbleValue(word): ¬†¬†return None # replace this with y…
  • Given the following 2 dictionaries in python how would you get the initial ordering to be in the same order as the goal ordering: (‘intial ordering ‘, {‘A’: ‘Table’, ‘C’: ‘B’, ‘B’: ‘A’, ‘E’: ‘D’, ‘D’:…
  • In Python please. I have been typing code which is not wielding the expected result. Thank you ¬†. Problem 5: Complete the implementation of the function decryptRSA(c, p, q, m) which depends on modinv…
  • Construct a class called Sentence which : a)¬†¬†¬†¬†¬†has a constructor that takes a sentence string as input. o¬†¬†The default value for the constructor should be an empty string o¬†¬†The sentence mu…
  • Consider an unweighted directed acyclic graph G = < V , E > a) Design an efficient algorithm in Python code or clearly structured Pseudocode to find the number of different directed paths from n…
  • can i get help in coding this function in python please? popular_genre (d) [20pts ] Description: It takes a dictionary d that represents a movie database with the structure you see below, and returns …
  • Complete the following tasks: Show each step of turning list [42, 35, 71, 34, 76, 39, 77, 47, 6, 20] into a min heap. The following is an example of heapifying [55, 73, 17, 41, 83, 89, 7, 28, 10, 69].
  • when using urljoin in python, does it combine relative links to absolute URLs, or convert relative links to URLs? I want to extract all links, save all in URLs as csv_file. Thank you.
  • Hi, can you please look over the task provided and create the code needed. Thanks, driver.py and other test files are at bottom of question. >Background With the emergence of Internet companies suc…
  • Please help with example question 8. 8. Code that goes with the problem. https://pastebin.com/DJkZ0gZZ. 8. sum_binary_tree For this function, we are using a data structure called a binary tree, which …
  • Please write the psedocode steps that turns the first list to the second list. Sub-problem 1 (Inserting a node in the end of a linked list) Given the following list list data next data next 10 20 , wr…
  • Assignment 2 Title: Turtles and Tricks Assignment Description: There are 2 questions in this assignment. This assignment will give you practice with interactive programs, if/else statements, list and …
  • I NEED A FASTER SOLUTION THAN THE ONE GIVEN BELOW!! The solution below runs in quadratic time, I need one faster than this. I REPEAT I NEED A FASTER SOLUTION!! THE SOLUTION GIVEN BELOW IS TOO SLOW! Sl…
  • Question 1 A common theme in this lab will be taking out data from a list of many list where each list is 1 row of data. This warm up is to make you familiar with this concept because you will be usin…
  • Need Python help. ¬† def list_weather_violations(directory): “”” Returns the (annotated) list of flight reservations that violate weather minimums. ¬† This function reads the data files in the given d…
  • Can u help me with the cse101 lab5 this question about the python programming CASE. In1 ( Section (11 : Introduction to Computational and Algorithmic Thinking* 1. uh #1 5 Spring 2010 Assignment Due : …
  • Part 1: 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 Multiprocessing Dictionaries As…
  • list1=[‘blue’,’yellow’,’green’],¬†and list2=[‘blue’,’red’,’white’]. Write program to get rid of the common element in the two lists from list1. For example, the common element is “blue”, so we need to…
  • need help to fix the models.py and routes.py ¬† ¬†should have ¬†models.py file that creates the database and stores all of the information in a database. Each time a city is submitted you should dis…
  • Given this function, how would I calculate the total probability? My range of values is [0,20] (inclusive). How can I iterate through all possible combinations of this range for t, c, and o (sum of th…
  • How to Plot the gray-scale image with gray colormap in Python? The result should be : In [1] : from sklearn. datasets import load_digits X,y = load_digits(return_X_y = True) X. shape Out [1] : (1797, …
  • Please help me. Consider the following lists: The names list holds the information of the names and In [2]: names = [‘Jona’, ‘Mercy’, ‘Angelica’, ‘Norman’] the stats list contains the weight (kg) and …
  • Please can you share a ‘python’ program which takes inputs from the user- name of the product, price of the product and the number of items then provides the bill ( total) reduce a 5% discount to over…
  • How to implement two functions for converting Celsius to Fahrenheit and visa versa with the following description? ¬† ¬† 1st Function Name: celsius_to_fahrenheit Parameter: temp_in_celsius – A floatin…
  • Hi there, this question is for a data scientist tutor who knows how to calculate Chi Square using scipy.stats in Python.¬† ¬† Question 1: Based on the table below, i need to Calculate the expected val…
  • LAB OBJECTTVES: – Familiarize yourself with creating and processing lists in Python. – Familiarize yourself with String operations. Program 1: A.Write a program that asks the user to enter the salarie…
  • can I get some help please. What is written down is my code, that I have on idle, I need help though please I keep getting error. ¬† the picture at the very bottom is the result of the code. There is …
  • Machine Learning: (a) Implement the perceptron algorithm for binary classification. Train and test it for classifying digits “1” and “6” in MNIST dataset. Note that we don’t need the data of other dig…
  • Good assistance appreciated, please don’t given incorrect 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…
  • python programming Name your program lastname_prog5.py and the data file your firstname.txt Start by asking the user’s name and greet them.¬† Inform them that this program provides the opportunity to …
  • I am writing a progam in Python (Spyder) for my CSE class and the purpose of the program is to change regular words to pig latin. It all works until I enter a consonant by itself, such as “b”, in whic…
  • Refer to the AsyncIO TCP Echo Client / Servier ExampleLinks to an external site. . (note default latest Python 3). Also refer to the start_server documentationLinks to an external site. (and note the …
  • 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 in a …
  • Write a Python program that prompts the user to enter five integer numbers.¬†Count the number of integers greater than 10 Required: 6 ¬†INF1511/102/1/2019 Ôā∑ Screenshot of the Countxxxxxxxx.py¬† ¬†pr…
  • Python 3 (please write comments ) For this assignment you are going to practice the basic functions of NumPy. 1. Import NumPy 2. Use orange to create a NumPy array with 100 equally spaced values in th…
  • Hi,¬† I have an assignment in my CMSC class. You should use python33 language. Attached are the coding standard and the homework instructions. dbrs3, ChefMonkey12, peter-gabriel, gauravmdhama, and the…
  • Using the attached dataset to develop, train, and evaluate a group of linear regression models to predict the price (dependent variable) of a Monet painting from a few of its features (independent var…
  • Tax Rate Single 10% $0 to $9,875 12% $9,875 to $40, 125 22% $40,126 to $85,525 24% $85,526 to $163,300 32% $163,301 to $207,350 35% $207,351 to $518,400 37% $518,401 and higher This means that someone…
  • 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). Th…
  • Using Python, determine the union, intersection and difference of the square and cube of integers ranging from 1 to 100. Sets are clearly the way to go here. You can use Math functions to generate the…
  • . Problem 1: tanc function Define the function tan c tance := as a Python function tanc (x). 1. Note that the function value at a = 0 is well defined lim tance = 1. 240 Your function should take thi…
    • Rank the following sorting algorithms from the most (1) to the least (5) efficient. Consider their average case when comparing. Explain your answer, including the case of different algorithms of th…
  • PYTHON ASSIGNMENT ON 2D IMAGE MANIPULATION ¬† (i) Run the following: ¬† >>> import numpy as np >>> import scipy as sp >>> import matplotlib.pyplot as plt >>>¬† n…
  • Write a program that reads three numbers and prints “all the same" it they are all the same, “all different" if they are all different, and "neither" otherwise. 5 pts at) Your…
  • Write function¬†should_shutdown(battery_level, time_on)¬†which returns¬†True¬†when¬†time_on¬†is less than 60 and¬†battery_level¬†is less than 4.7. If¬†time_on¬†is greater than or equal to 60, return¬†…
  • Overview In this assignment, you will gain more practice with designing a program. Specifically, you will create pseudocode for a higher/lower game. This will give you practice designing a more comple…
  • Create a list that contains the months of the year.
  • PLEASE DONT POST ANSWERS FROM OTHER WEBSITES LIKE CHEGG. ¬† ¬†. Write, test and document a Python program, in a Ô¨Āle called elves . py, to solve the following problem. With Christmas around the corne…
  • . Program Requirements For this lab you will have to plan, create and implement a user interface using Python with Tkinter. The user interface is a window that will accept either a temperature as ei…
  • Scenario Imagine that you have some data in a list that contains a lot of duplicates that you want to remove, but for simplicity’s sake, you want to avoid writing a for loop and building a new list. A…
  • import random # —————————————————————q7.py # Help Writing a function permutation(L) which # returns a random permutation of L by the following method: # (0) i…
  • How would you use direct pixel comparison using in Python to determine the pattern in the following image set where 4 is the answer?
  • Give example for below: List comprehension Nested list comprehension List comprehension with If condition and variable assignment
  • We need to create a class called¬†ExploreBot, that inherits from¬†Bot. ExploreBot¬†is a bot that will explore more systematically, generally continuing in the same direction on consecutive steps. In t…
  • 13¬†LAB: Filter and sort a list a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest).¬† Ex: If the input is: 10 -7 4 39 -6 12 2…
  • La empresa de turismo “City Tours” desea tener desarrollar un aplicativo para mostrar informaci√≥n de los lugares tur√≠sticos de las diferentes regiones del Per√ļ. Para desarrollar esta aplicaci√≥n se…
  • Suppose d = {“john”:40, “peter”:45}, to delete the entry for “john” what command do we use a) d.delete(“john”:40) b) d.delete(“john”) c) del d[“john”] d) del d(“john”:40)
  • import time import pandas as pd import numpy as np # lists of data used at variouse stages CITY_DATA = { ‘chicago’: ‘chicago.csv’, ‘new york’: ‘new_york_city.csv’, ‘washington’: ‘washington.csv’ } CIT…
  • Write a program that reads a string str and an int n, then outputs a string where the char at index n has been removed. Assume that n is a valid index (n is in the range 0..str.length()-1 inclusive).?…
  • Please see the attached files for complete description.¬† 2015-11-22, 8:52 PM return True since a[0]+a[0]+a[0]=-1+ -1 + -1 = -3. If a=[-10,2] and x=-18, triple_sum(a, x) would return True since a[0]+a…
  • def roundToThree(num): ¬†¬†¬†¬†return round(num*1000)/1000.00 ¬† # global variable multiplier_amount = 1000000 ¬†¬†¬†¬† def calculate_gains(amount_inv=0.0): ¬†¬†¬†¬†“”” Calculating the return gains…
  • Write a Python program that uses a for loop to get the age information for six students. ¬† * Find the average age and print it on the screen. * Find the median age and print it to the screen
  • Write Python program that can be used as a math tutor for young students. ‚ÄĘ The program should display two random numbers between 1 and 500 to be added, such as 247 +129 ——- ‚ÄĘ The program shou…
  • # Josh Jones #12-13-21 #COP1000 #Prof. Parham #1. Function to check if the number.txt file exists before reading data: import os.path #a module in python that contains functions for pathname def file_…
  • #¬†DO¬†NOT¬†MODIFY! # ¬† import¬†random ¬† ¬† #¬†Deck¬†of¬†cards¬†–¬†first¬†letter¬†represents¬†the¬†face¬†value¬†and # second letter represents the suit deck¬†= [‘AH’,’2H’,’3H’,’4H’,’5H’,’6H’,’7H’,’8…
  • solve this ASAP Question 3: (5) Write a function that create a list that contains the atomic numbers of the six alkaline earth metals: beryllium (4), magnesium (12), calcium (20), strontium (38), bari…
  • Need help with the following python questions please: 1: 2: 3: 4: Frequent Shopper Create a function called GetPoints that will take in to it the amount someone has just spent on their purchase and re…
  • You are given a Ô¨Āle called grades.txt, where each line of the Ô¨Āle contains a one-word student username and three test scores separated by spaces, like below: ¬† GWashington 83 77 54¬† JAdams 86 69…
  • In this file, a class called LCG whose instance can generate random numbers by Linear Conguential Generator algorithm. It should have these data attributes: self.seed, self.multiplier, self.increment,…
  • Assignment Description 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 oth…
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Example(condition.py) …
  • What will be the output of the following code Johnple?¬† class People: ¬† ¬† def __init__(self, id): ¬† ¬† ¬† ¬† self.id = id John = People(100) John.__dict__[‘age’] = 49 print (John.age + len(John…
  • Q1a: wrrite a code segment to crreate and print a two-dimensional 5×4 array (i.e. grid). The elements of the grid should be randomly selected from the inclusive interval [-50, 50]. This’s the code of …
  • Create an if-else statement with multiple branches. If year is 2101 or later, print “Distant future” (without quotes). Otherwise, if year is 2001 or greater, print “21st century”. Otherwise, if year i…
  • Example code: ¬†. Consider the two lists that are generated automatically by code provided for you. List A List B -11 2 -5 -1 -16 -2 -18 -19 19 -11 17 9 -12 -2 15 Your goal is to conduct an analysis o…
  • I am working on my course project for my data structures class and this is my code. I keep getting an indentation error which I screenshot it being highlighted in red. Can someone please help me in co…
    • (4 pts) Write a program that tests to see whether a sequence has an AT repeat. For this problem, we’ll define a repeat as 3 or more occurrences of AT, i.e. ATATAT…etc. Read in the sequence from a…
  • Please help.. Write a program that uses a Dictionary structure to accept a sentence from the user, then count the number of characters in that sentence and display them in increasing order. Note: i) U…
  • https://github.com/summerwaters11/publicdata¬† (Required datasets to be loaded) Problem 2. 1. While we can formalize the Likelihood Function there is no close form expression for the coefÔ¨Ācients 50,…
  • providing better understanding of the lists and¬†Dictionaries in Python, Answer the following using your own words and based on your understanding : How you can¬†you explain lists to a new beginner pr…
  • Write a function named¬†borderSharing¬†that accepts one argument: a string that contains a country’s three digit numeric code (the alpha 3 code, such as¬†‘USA’¬†or¬†‘CAN’).¬†borderSharing()¬†should re…
  • Using python programming, make a code to display the following issue error provided below. Bandit is a tool that can be used to check existing code. B604: Test for any function with shell equals true …
  • This is the end of a question In the program, all quizzes and exams were scored out of a 100. Suppose, the quizzes are scored out of 50 each, and mid term and final are still scored out of 100. Howeve…
  • The picture below shows an assignment that I’ve been trying to do for a couple days so far. I just have no idea on how to separate the bad IPs from the bad IP list and the server log lists. …
  • The lab assignment appears later in the document.¬†You will be required to implement several functions using template (Lab 10Template.py) provided in the Source code tab An example of a function: def …
  • A Python Assignment ¬† The time series of seismic data( seismic.mat attached) that contains a small “event” (i.e., a local earthquake). It is a seismogram with an earthquake signal that generate a lot…
  • Can you write a python code for following question thank you 6. [20%] Consider the n x n linear system Ar = b, and let A = D – L – U, where D is a diagonal matrix, L is lower triangular, and U is uppe…
  • Page 1 of 3 Objective: The goal of this project is to gain experience with mathematical manipulation of numeric values. This assignment will give you experience on the use of: 1. Integers and floats 2…
  • In main, add a loop to enable the user to run the Python program all day without having to restart the program. Make a question to the user control this loop (this question should NOT ask how many tim…
  • 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…
  • Suppose we have any array Z = [0, 1, 2, . . . , 255]. (a) Form this array without typing out all of the numbers. (b) Reshape this array to be a 16 √ó 16 matrix. (c) Determine Z1, Z2, Z3, and Z4, which…
  • 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 it in 2 variables 2. if their grade is 1, give them the sam…
  • python code, please write a program that has a class called information that has the name, address, phone number, school and major Write the initialized method and the accessor and mutator for the att…
  • How do I add an inventory system to my text-based python game? ¬† rooms = { ¬† ¬†¬† ‘Dungeon entrance’ : { ‘West’ : ‘Dining hall’ }, ¬† ¬†¬† ‘Dining hall’ : { ‘East’ : ‘Dungeon entrance’ , ‘South’ : ‘…
  • Stuck on a problem. Are you able to Write a function called get_move() that returns a random answer of ‘forward’, ‘backward’ or ‘stay’. The function get_move() takes no parameters and generates a rand…
  • download the following zip folder containing .txt and .docx file from: source: https://github.com/mbahcliff/zipfile/archive/master.zip Questions 1) extract the zip content of the file in python 2) use…
  • Please fix my code or help me with the correct answer. I would like it typed out and a screenshot to ensure I have my indentation and spacing right. ¬† Here are more hints that may help ¬† ¬† ¬†. In […
  • TURN IN #2: Severance Chapter 9 – Exercise 2 – Dictionary Mailbox Day Analysis Write a program that categorizes each mail message by which day of the week the commit was done. To do this look for line…
  • construct your own example of each possibility in Python code. List the code for each example, along with sample output from trying to run it.
  • Task 3: Insertion Sort First create file and save it as Week5_Task3. Write function insertionSort(table, column) that accepts a list of lists and a column as input and sorts the list according to the …
  • Can someone please look at this problem and Check my SQL script. I’m in a Jupyter Notebook running SQLlite3 on Python 3.6. These were uploaded in reverse order. Thanks, Exercise 0 (0 points). Run the …
  • Devise a recusive…… (a) Devise a recursive algorithm to find a?", where the inputs to the algorithm consist of a which is a real number and n which is a positive integer. Hint: Use the equali…
  • DESCRIPTION: 1.__init__(). Initialize HashMap object of size size_init (16 by default). The class data members are as follows: _size (max size) _keys (initially a list of length _size with values eval…
  • I NEED HELP DISPLAYING THIS CODE USING PYTHON 3 UZ,M2, Practice MicrosoÔ¨Ā 40461 U nit || . Focuses on Python data structures such as strings, lists, and range sequences, as well as methods for workin…
  • If it’s okay, please help for both questions. Otherwise, could you please solve question 1 for me (: Computational Thinking and Problem Solving (COMP1002) Function passingBy (f, t) Assignment Three In…
  • py Create a file named Lab12P1.py. This file will be the main module that holds the main program. In the main module, create 5 objects with the following information: Object Type Item Name Ite…
  • French country names are feminine when they end with the letter e, masculine otherwise, except for the following which are masculine even though they end with e: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†…
  • I need help with this it is NumPy, I have attached the social_indicator.txt data below. ¬† Index economicActivityFemale country region totalfertilityrate lifeMale infantMortality gdpPerCapita economic…
  • What is the most efficient way to scrape airbnb for listings?¬† ¬† I’d like to return a list of 50-100 rentals with their individual listing details as a json or pdf file from this url: https://www.ai…
  • Redo the Olympic Ring Assignment using Lists (similar to loops). Use the code to below as guide. For x in range represents 5 rings.¬† Use discernment and do not copy and past verbatim. ¬†I ne…
  • Write a payroll program that computes weekly pay, including the possibility of overtime. Overtime hours (hours in excess of forty hours in one week) are paid at “time and a half” (1.5 times the regula…
  • Given two words (start and end), and a dictionary, find the shortest transformation sequence from start to end, such that: Only one letter can be changed at a time Each intermediate word must exist in…
  • What strip() does in pyhton? Like line= text_file.readline() line2=line.strip() what does strip do here??
  • Suppose that you are provided with two lists, named arr1 and arr2 – for example, arr1 = [2,8,4,6,12,10] arr2 = [3,6,9,18,15,12] Complete this code to create a new list which only contains the elements…
  • My compiler is broken and bite the dust, and I was unable to fix it in later. Along these lines, I really want an answer for this task, and if it’s not too much trouble, incorporate the detail and leg…
  • In the following code I need help with task # 14 the output is supposed to be ¬† [array([[ 10 , 11 , 12 ],[ 13 , 14 , 15 ]]),¬† ¬† ¬† ¬† ¬† array([[ 16 , 17 , 18 ],[ 19 , 20 , 21 ]]),¬† ¬† ¬† ¬† ¬† ar…
  • WhichWhich of the is an invalid variable in python My string _1 1st_string Foo String_ok
  • Hi, could you explain why I got these two question wrong specifically. I am confused even looked at the correct answer choice And, what part does the “function of the body” refers to in Q5. Given the …
  • R programming please provide answer with screenshot a.¬†¬†Create five¬†vectors which contain the elements in the five¬†columns, respectively. b. Create a data frame which contains all the information …
  • URGENT!!!!! You are to use the A‚ÄĒPriori algorithm to perform Market Basket analysis on the following transactions obtained from a shop. The given support threshold is, s = 5 , and the conÔ¨Ādence th…
  • Lab 06 – Assignment Operations What is the value of a at each step? You will want to keep track of a in base 10 (normal) and base 2 (binary). The column on the right should help you understand what th…
  • Q#5 A quiz contains 10 questions. A quiz’s correct answers are as follows:: Your program should store all these correct answers in a list. The program asks the user to enter an answer for each questio…
  • This is Python, Thank You! ¬†Create a function¬†hello(first,¬†last,¬†flavor)¬†that¬† returns ¬†a single string as follows: hello(‘Steph’,¬†‘Curry’,¬†‘strawberry’)¬†returns the string: Hello,¬†my¬†name…
  • Write program that prompts the user to select either Miles-to-Kilometers or Kilometers-to-Miles, then asks the user to enter the distance they wish to convert. The conversion formula is: Miles = Kilom…
  • Write a program that accepts the value of the diameter of a¬† circle and reports the area and the circumference¬† (radius r = diameter / 2¬† ¬† ¬† ¬†—¬† ¬† ¬† area a = PI * r * r¬† ¬† —-¬† ¬†circu…
  • Omondi is starting a new business, a car renting business. Omondi starts with five different Cars. Each car has a model, a year when it was released, a year when Omondi acquired it, the money made fro…
  • HEY THERE. I have written a Python program that works well, but still seems to have some issues.¬† The program is a Lexical Analyzer/Scanner and lists the tokens and assigns lexemes from the strings a…
  • Consider the following function abcd(date,days): 1 def abcd(date,days): 2¬†¬†¬†¬†”’ 3¬†¬†¬†¬†date – given date in YYYYMMDD string format 4¬†¬†¬†¬†days – +/- n, +n: positive or negative integer in str…
  • I created a pygame on python that would bounce a ball around the screen. How do I augment this program so that it also achieves the following: ¬†. E Files main.py x 1 N import sys, pygame main.py . . …
  • Any help on this question would be appreciated. Project: Instruction: You have been hired by the city to visualize some simple weather data. The data provides the average daily minimum and maximum tem…
  • Python Coding Question I have the following dictionary: citydictionary = {2: Dubai, 3 : London, 4: Tokyo, 5: New jersey, 6: New york, 7: Chicago, 8: Charlotte} How to make function that takes the city…
  • Given a list of numbers num_list = [1, 2, 3, 4, 5] Which of the following for loop¬†goes through each item in the list?
  • I have implemented a lagrange_polynomial function to calculate the interpolation polynomial of y’s and x’s. I am now given the above assigment and I am unsure how to solve this.¬† The following is a s…
  • Please read all instructions carefully, and create an original code, as I have had multiple people copying solutions from Chegg which are not correct. ¬†. 4. (10 points) Let A be a square ‘matrix’ in …
  • I have data-frame in python as pattern3 and it’s content is as shown in picture. We have age from 18 to 106 and in each age we have count that how many people are voted to candidate1, candidate2 and c…
  • . There are many string methods that you can use to test, search and manipulate strings. and are some of the common methods that can be used to test what type of characters a string contains. and ar…
  • . 1. (30) In this problem you will use the file docword.nytimes.txt.gz which is available here https ://archive. ics. uci . edu/ml/datasets/Bag+of+ Words. You can read more about this file at the li…
  • i need the code and screen shot after execution. We will now create a trigger that prevents the customer balance firom being negative in the schema fior this lab. Such a business rule could be impleme…
  • Your script should take in a four digit code, check each of the digits, and then, assuming they are all correct, grant access to the system. If only some of the digits are correct, the script should o…
  • #Michael Syjud’s Text Adventure Game # Define the global variable for storing current position, inventory and available moves in a position CURRENT_POSITION = “Home” ITEMS_ON_HAND = set() ¬†# inventor…
  • The following iterative sequence is defined for the set of positive integers: n¬†‚Üí¬†n/ 2 (n¬† is even) n¬†‚Üí 3 n¬†+ 1 (n¬† is odd) I want to list the numbers from 5 to 20 according to the rule and …
  • done with Regex function name is_valid_bc_license_plate ¬† returns true if the parameter matches this pattern: three letters then three digits, or three digits then three letters, or two letters, digi…
  • Hint: Here is the general syntax for a decorator that accepts no arguments: ¬† def decorator(decorated_function:callable): ¬†¬† ¬† ¬† ¬† ¬† ¬† def wrapper_function(*args, **kwargs): ¬† ¬† ¬† ¬† ¬† ¬† …
  • I just need to create a game. I was thinking like a card game something like speed, or 21. Something simple. It’s youre choice really. Just a simple game really. I would really appreciate it!!! Oh ple…
  • Write the class of strings which represents the given regular expressions (5points)¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† a.) [A-Za-z]+ b.) [A-Z][a-z]* c.) p[aeiou]{,2}t d.) \d+(\…
  • Python Programming Please I need help with the algorithm of the following problem: A program that reads the price and the tax rate of an item as float values, and shows the information such as item#, …
  • This has to be done in Python A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 …
  • fill in the binary values for each of your controller commands. These codes will represent the digital instructions to make the Fabio character move. Indicate how each binary sequence is mapped to a c…
  • Code does not want to execute and keeps giving me unexpected indent errors. Code: import random def main(): infile = open(“StatesAlpha.txt”, ‘r’) states = [] for line in infile.readlines(): # Appends …
  • Hi How can I right aligned a list of words according to the longest word in the list using iteration and arrays? for example: list=[“Anna”,”Johan”,America”] giving us: Anna Johan America thank you
  • we ¬†have ¬† implemented ¬†generic FSA,. ¬†where fsa transitions are defined in fsa.txt and input is defined in input.txt. ¬† You are required to update that program to support NFA handling and handli…
  • Python programming The assignment doesn’t have to be exact, it can be tweaked please show out test output
  • PERFORM ALL OF THE BELOW IN PYTHON PROGRAMMING LANGUAGE ¬† Construct a 2-dimensional data set (i.e., the data points and their labels), with the properties that: ¬† a. ¬†the data set is linearly separ…
  • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
  • Q2c Write a function that meets the following specifications. Function name question_2c Parameter (s )/ This function does not take in any parameters argument(s) Retum value A string Error handling Fu…
  • The PA is not answered with the document. It is only the document.. our unit cost for keychain: .125 Does customer require design help? maybe Please answer Yes or No > > > Once the user has e…
  • Please read and follow all instructions carefully and use python if stated.¬†. Task 1: RK4 on a Second Order ODE (20 pts) Solve Problem 25.4 (6th edition) using Python. Create a script that runs your …
  • PYTHON Your final Python script will scrape a website IMPORTANT you will not follow any links that veer outside of the Virtual Environment IMPORTANT you are allowed to use standard python libraries an…
  • import random creditcard_number = [] def user_option(): ¬† ¬† option = input(“Do you want to check your own credit card number [option A] or generate a random credit card number and check it afterward…
  • Write a python 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…
  • I am supposed to complete a Literal search for ‘sit amet’. I was told I could accomplish this by searching for ‘sit amet’ as a regular expression. I am not sure what I am doing wrong. I return an outp…
    • Week 3: Types Summary: Given integer values for red, green, and blue, subtract the gray from each value 4) Week 4: Branching Computers represent color by combining the sub-colors red, green, and bl…
  • The cell below has two corresponding lists. The list rainFallMI has the average rainfall foe each month. Each element in the list months corresponds to the value in the list rainfallMI . Write code th…
  • "Wing 101 is permitted for this question." You have been hired to write a program for the Information Technology (IT) department at Carleton University. IT wants a database of students to be…
  • Requirements Pseudocode describing how to calculate for Problem I Flowchart illustrating how to program forproblem I Provide a correct response to # 2
  • Please Help! Instructions Deliverables: You must submit your .py file. Name the file: lastname_firstname_lab11.py. Example: b0nd_josh_lab11.py Perform the following steps in the file you created above…
  • HELP: TEST EACH OF THE FOLLOWING 3 PROGRAMS TO SEE IF THERE ARE ERRORS THAT NEED TO BE CORRECTED IF THERE ARE CORRECT ANY OF THE ERRORS THAT YOU FIND. COMMENT IF THERE ARE NO COMMENTS IN THE PROGRAM. …
  • def evalboostforest(trees, X, alphas=None): ¬† ¬†“””Evaluates X using trees. ¬† ¬† ¬† ¬†Input: ¬† ¬† ¬† ¬†trees: ¬†list of TreeNode decision trees of length m ¬† ¬† ¬† ¬†X: ¬† ¬† ¬†n x d matrix of dat…
  • Hi this is the code that is written, assignment it pertains to and relevant data below. Could someone 1) review code overall for meeting assignment requirements and provide recommendations on changes …
  • Can you please help. Thank you! ¬† Cr8 a GUI program that: Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to cr8 a file to store the sales receipt contents. Usin…
  • Can you change this into a for loop? helper: def words_rhyme(word1: str, word2: str, word_to_phonemes: PRONUNCIATION_DICT) \ ¬† ¬† ¬† ¬†-> bool: ¬† ¬†“””Return True if and only if word1 and word2 r…
  • Assume that ListOfLists is a list where each item in the list is itself a list. For example, listOfLists = [ [1, 2, 3], [4, 5], [6], [7, 8, 9, 10] ] Write the Python code that will: . choose a random …
  • Looks like its trying to draw a house with a graphics window. How do I take and draw a house and reduce the repetition of code segments using functions and parameters, as well as separating concerns (…
  • Please answer this Python Question ¬†. Question 14 What is true about Python packages? (Select two answers) U A. the name_variable content determines the way in which the module was run B. a package c…
  • I need a python program that iterates through the number 1-50.¬†When you reach a multiple of 5, print the word “fiver” and when you reach a multiple of 3, print the word “3peat”.¬†If there are multipl…
  • Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– L…
  • Python programming only I need help designing 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, an…
  • I am having a problem with writhing this code. Crate a module currency, which includes the following three functions that do currency conversions: to_euro(dollar): This function receives US Dollar as …
  • # Calculator Program # M4Lab1ii.py for M4 Assignment 1 # C. Calongne, 01/19/19 # Seven steps to complete in this lab: # Define a list to store the choices for +, -, *, / # Define 3 functions with loca…
  • It is a python and i want code for these problem. Land Calculation One acre of land is equivalent to 43.560 square feet. Write a program that asks the user to enter the total square feet in a tract of…
  • Searching Algorithms Exercise ¬† The three search algorithms covered in this chapter: unsorted sequential search, ordered sequential search and binary search have varying run times, with the¬† unsorte…
  • question provided in above image kindly provide solution as soon as possible need it very urgent ¬†. Question The current selected programming language is C. We emphasize the submission of a …
  • Overview: This week, you studied additional Flask functionality for creating a secure login form and associated files for a web site. The Lab for this week demonstrates your knowledge of this addition…
  • You are given a list with many words. Pull out all the words which has a ‘cat’ substring in them and insert into the list ‘cat_words’ my_list = [‘catapult’, ‘california’, ‘caterpiller’, ‘amazingcat’, …
  • Can someone explain why i am getting this error? ¬†and why i am getting just the first ticker which is AAPL and not the rest? thank you. 2 tickers = [‘AAPL’ , ‘GOOG’ , ‘BA’ , ‘MSFT’ , ‘COST’, ‘CRWD…
  • a program that takes a sequence of non-negative numbers and performs the computation suggested by these examples. A negative number is used to terminate the input but is not part of the sequence. Rest…
  • Give proper reasoning for each of the options and flowchart for each question with code 1. The assignment of more than one function to a particular operator is _ a) Operator over-assignment b) Operato…
  • urgent answer Note: Create pdf report with sample output of each question and screen shots of complete code. Sample output should include input and output of each question. 01: Create 3×3 numpy array …
  • I don’t understand this code: “from __future__ import print_function\n”, ¬† ¬†“import os, sys, time, datetime, json, random\n”, ¬† ¬†“import numpy as np\n”, ¬† ¬†“from keras.models import Sequential\n…
  • please help me to solve the problem(: 2. [Weight = 3] V2 is a very interesting irrational number. It has been analyzed and studied for thousands of years. One of the common problems is to estimate its…
  • Now we’re going to embed the Point class inside another class. Also, we’re going to put three points into one class, which will let us define a triangle. How can we do it? The new class will be called…
  • 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…
  • In the¬† Employee ¬†class add the following methods 1. set EmployeeAge – accepts age and sets it in the object 2. set EmployeeName – accepts employee name and sets it in the object 3. set EmployeeSala…
  • # give the user a chance to see whether they got it right or not before proceeding input ("\nPress Enter to continue. ..") qid += 1 # clear the screen os . system ("cls" if os. nam…
  • Design a program that displays the following menu: Select a Language and I will say Good Morning English Italian Spanish German End the Program Enter your selection. If the user selects item 1, the pr…
  • Dream Car Write a python program that contains a class called Car. o Use __init__() method initialize the following variables/fields within the class. ‚ÄĘ make ‚ÄĘ model ‚ÄĘ year ‚ÄĘ color o Now creat…
  • Course Registration application ( CRA ) (35%) ¬† In this programming assignment, you need use OOP to develop a Course Registration application (CRA) to allow students register courses.¬† ¬† In CRA, ea…
  • 1 write ¬†program that prompts the user for a list of numbers and prints out the maximum and the minimum of the numbers at the end when the use enters “done”. You must save the numbers in a list bef…
  • . Yourjob is to write the function prevword_ave_1en(word) which takes a single argument word (a str) and returns the average length (in characters) of the word that precedes word in the text each ti…
  • Maximize the function f(x1, x2) = 3×1 + 5×2 subject to the constraints x1 ‚ȧ 4, 2×2 ‚ȧ 12, 3×1 + 2×2 ‚ȧ 18, x1 ‚Č• 0 and x2 ‚Č• 0. ¬† please help with this question using brute force
  • HW – Locker Combination Python I think most people have used locker combination locks during their school days.¬†I would like to create 2¬†different¬†combination lock numbers, call the function 2x The…
  • Please answer this question as soon as possible thanks Question 4 (10 pts) A permutation of a list is a list that has all the same items but possibly in a different order. The table below outlines tes…
  • Driving is expensive. Write a program with a car’s miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 miles, and 400 miles. Output each floating-point…
  • Apply forward elimination to this system of linear equations to put it into the upper triangular form. Write each row operation you make to solve the problem. Write the matrix and the right-hand side …
  • Can someone help me write this code or provide a general outline please. We are only using simple and basic python programming functions. Thank you for the help! NOTE: not allowed to use the built-in …
  • (10 pts)¬†Use the dataset “mtcars” which is built-in RStudio.¬†You can see the structure of the data by the command “head(mtcars)”.¬†Use the “mpg” column as your dependent variable Y, and do the fo…
  • Hello, please help continue the code below or alternatively, write entirely a new one. Thank you so much. Grades: View X Edit Page "Erica’s Favorites" . ( X E CCCH 9051 – Google Docs X ed (1…
  • Linux OS Test your¬†grep¬†command skills by completing the following tasks: Create a file named¬†diff.txt¬†inside your¬† ~/workspace/project-log/¬†directory with the following format: Version : 2.0 us…
  • write a function acronym() that takes a phrase(i.e.,string) as input and then returns the acronym for that phrase. Note: The acronym should be all uppercase, even if the words in the phrase are not ca…
  • PDE CITP1 10HW04 (2).pdf X PDE CITP +110+HW4 (6) (1).pdf X + X G File | C:/Users/chami/Downloads/CITP+110+HW4%20(6)%20(1).pdf 1 of 1 Q + A #Programmer : John Doe #Date: 09/26/2011 #Abstract : This pro…
  • tkinter label does not respect justify function it’s still center-aligned (the default). from tkinter import * window = Tk() window. title( ‘ Loan calculator’) window . geometry("450×155+100+100&…
  • This script will track certain medicines in stock at a pharmacy. It features a dictionary with drug name and quantity in stock, as well as a second¬†dictionary to track an index number/medication numb…
  • Package Newton’s method for approximating square roots (Case Study:… ¬† Package Newton’s method for approximating square roots (Case Study: Approximating Square Roots) in a function named¬†newton. T…
  • Part 1: 1.¬†¬†¬†¬† Make a Crop class, ideally in a separate file and then you can import it into the main class to test it out. 2.¬†¬†¬†¬† Make a constructor for the crop class, this constructor shoul…
  • Fill in the blanks to define a function that takes two arguments and prints their multiplication. print mult(x, y) output print(x *
  • def feet_to_user(feet): ¬† ¬†# // for floor division ¬† ¬†a = feet // 2.5 ¬† ¬†# type-casting to return an integer ¬† ¬†return int(a) # main driver code # taking input from the user as a float value n…
  • distance = int(4.0) speed = int(12.0) time = distance / speed print (“time”) ¬† How will I be able to add units to my code (km/h) for speed, (km) for distance? Also, write the time in minutes?
  • . 1 “hurt a # Complete the following definition. ######## def findRunBits(s}: "’Returns the number of bits to use for compressing string s. Assume s is a nonempty string. Specifically, return…
  • py ¬† from socket import socket, AF_INET, SOCK_DGRAM from sys import argv from common import ip_checksum ¬† SEGMENT_SIZE = 200 ¬† if __name__ == “__main__”: ¬† ¬† dest_addr = argv[1] ¬† ¬† dest…
  • A template for your program including the functiion to read the input data is given here :- from z3 import * import re class Instance: ¬† ¬†def __init__(self): ¬† ¬† ¬† ¬†self.number_of_students = 0 ?…
  • how can i create function called straight(hand) that determines whether a given hand is a straight. a straight is a hand that contains Ô¨Āve cards of sequential rank. The cards may be of diÔ¨Äerent su…
  • Hi can you help me to write python code based on the below pseudocode: (the part already completed, need python code only) Start ¬†¬†¬†¬†¬†¬†Declarations ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Num numOfStars ¬†¬†?…
  • Question: Give the composing rules for Peano regular numbers and their eliminator.(ii) Using the principles given above, characterize the expansion function.] (iii) Let a parallel tree be either a Lea…
  • . Give a direct implementation of the num_children method within the class Binary Tree.
  • How can I move the blue circle and fill it to color blue and move it to the middle bigger circle at 45 degrees and add the TMCC beside it? #function to write the heading def heading(): ¬† ¬†# get head…
  • Please help answer question by writing python code.Thank you very much. Please ask for further inquiries. You have a drone that can fly for a distance of D before it runs out of battery. There are N c…
  • To create the dashboard, you will create the different components in Python code. Dashboard web applica!ons lend well to the MVC design pa$ern. Using this design pa$ern, the model is contained and acc…
  • i need answers of this homework its bout python X + X Your program should take emp G * BCIS313_takeHomeExam2.pdf * BCIS313_takeHomeExam2.pdf M X Homework Help – Q&A from C * X oard – Blackboard Le…
  • for i in range(-3, -1): print (i, end = ‘ ‘ ) a) no output b) -3 -2 -1 c) -1 -2 d) -3 -2 e) none of the above Please explain how you got to the answer through process of elimination.
  • The Star Wars dataset consists of two data files each represented in a CSV format: The result_header should be list of lists containing a concatenation of headers1 and headers2, with the field2 omitte…
  • # 8.) #¬† Refer to (you may copy and edit) the dog.py file from our book: #¬† https://github.com/ehmatthes/pcc_2e/blob/master/chapter_09/dog.py # create a class called Puter. # It should include these…
  • 3.2: Function call in expression. CHALLENGE ACTIVITY 5.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 stateme…
  • 1* Q1. What are overfitting and underfitting? Hint: Page 11-12 of L3_Regression.pdf¬† ¬† Q2. Please describe at least two strategies that can help avoid overfitting.¬† ¬† Q3. Linear regression can onl…
  • Problem 8 The variable sentence stores a string of words. Write code that does the following: Compute the number of words that begin and end with the same letter including one-letter words. Store the …
  • Define a function *onlyEvenWords* that accepts the string parameter *s* and returns a new string containing words in *s* whose length is an even number. Each word in *s* is separated by a space charac…
  • Hello, I wrote this code: import numpy as np import matplotlib.pyplot as plt #np.random.seed(seed=10000) “”” Schelling segregation model example Two types Initial location random within unit cube Agen…
  • Check Show answer Feedback? CHALLENGE ACTIVITY 5.8.1: Nested loops. 383254 2048946.qx3zqy7 Jump to level 1 Type the program’s output i = 1 " < < < < N < – < while i < 16: j =…
  • Python Prog 1 Write a program that asks the user for the number of males and the number of females enrolled in a class.¬†The program should display the¬† percentage ¬†of males and females in the class…
  • Please use Python! ¬†. Question-1 1-) By using for loop print all even numbers between 111 and 11 in ascending order. (i.e. 12 14 16 …. 110) Question-2 1-) By using while loop print all odd numbers …
  • During your research project, you have collected many data files. All files have .txt format, and the first lines of each file contain the place and time where and when the data was collected. Right n…
  • Describe how¬† catching exceptions ¬†can help with¬† file errors . Write three Python examples that actually generate file errors on your computer and catch the errors with¬†try: except:¬†blocks. Incl…
  • A word is called as a good word if all the letters of the word are distinct. That is, all the letters of the word are different from each other letter. Else, the word is called as a bad word. This can…
  • Could you build this python code ? Below is task2 completed. Case Study Impressed by your programs implemented in Assessment 2, the Subject Coordinator of COMP101 has asked to develop a program solvin…
  • 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 do this in python? 3. Function One: hello Specification The first function you will write should be called ‘hello’. Your function should take one (1) argument (recall arguments are the inputs…
  • the Merge Sort algorithm which operates on a list of Email objects, and sort them in non-increasing order by the length of the¬†sender string (that is, longest sender name to shortest).¬†This algorith…
  • 1). Using relevant example, build an asynchronous notification to the UI displaying “Account created successfully” using python/django-channels (websockets) and djangorestframework. Notification to di…
  • Problem 1a. Write a function named hasFinalLetter that takes two parameters 1.¬†¬†¬†¬†¬†¬† strList , a list of non-empty strings 2.¬†¬†¬†¬†¬†¬† letters , a string of upper and/or lower case letters Th…
  • For this assignment we will crawl web pages, collect images, and then write the resulting images to a web page. 1.¬†¬†¬†¬†Copy the files LinkCollector.py and Crawler.py from d2l>content into your w…
  • can i get help in coding this function in python please? subset (group, total) [20pts] Description: Creates and returns the smallest subset of group that has a sum larger than total. If there are more…
  • Hello, ¬†I’ve created a dictionary to store all of the movies but I can’t seem to get them to print. I keep getting this error whenever I try to run it: Traceback (most recent call last): File “main.p…
  • Python ASSIGNMENT ¬† Link to access attached data https://drive.google.com/drive/folders/1DteO-LcrjqEZlcIXg2AGFmKtXM8AFR3z?usp=sharing NB: ¬† The dataset attached contain training( training data.csv) …
  • Assignment 03C – Caf√© Invoice¬†¬†¬†¬†ALIGNMENT: This assignment provides practice with using a repetition structure to get multiple¬†¬†ASSIGNMENT: The Simple Caf√© has a simple menu (at right). The u…
  • I’m stuck at some of the questions, please need help with correct answers 1 . How does run() method is invoked? By Thread.start() By Thread.run() None By Thread.create() 2 . How to terminate a blockin…
  • ‚Äč‚Äčhttps://docs.google.com/spreadsheets/d/1Lf-fbhi1gSTLld9KuGbeuCnoUcItiUxfCZS3wIi-JLc/edit?usp=sharing Can you create a code to ask the lowest, highest, median and mean income of the following cou…
  • Need help with Python program. I need to include an Object-oriented language into an ATM program. The program needs to have a minimum of 1 class preferably called “Account”. How do I establish a class…
  • . 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/16 =zyBooks My libra…
    • Create your own module (20 points) Create one Python module: arithmetic which has two functions: add(x, y) and get_length(x). The description of two functions are below: def add(x, y): # add two n…
  • I am having trouble with the last part of this equation. Design an algorithm, using pseudocode, that does the following: opens an output file with the external name number_list.dat , uses a loop to wr…
  • Please write Python code for the following question: Please write the test cases after main() ¬† ¬†. The starting code is also shown here. There are three functions of importance (shown in blue) impor…
  • Unobtainium is is very strange element with atomic number 125, symbol pr. There are two kinds of commonly occuring Unobtainium (although being invisible it is hard to detect), pr322 which is relativel…
  • An important step towards using the data created by next-generation sequencing runs is gathering some simple statistics on the sequence reads produced. For this question use the file ‘flax_seq.fasta’ …
  • Coding in python. 1. Setup Run the two cells below to load the packages and data necessary for this exam. The dataset CPS85 contains data on 534 individuals surveyed in the year 1985. wage = The hourl…
  • You have been asked to create a data table on the dashboard which shows an unfiltered view of the Austin Animal Center Outcomes data set. You have also been asked to add a geolocation chart to the das…
  • I’m new to programming and Python. I’m trying to figure out the answer to this problem. For the live of me I can’t seem to get it right. I’m just not getting it and I feel so stupid. The topic is Read…
  • # A Morse code encoder/decoder MORSE_CODE = ( ¬† ¬†(“-…”, “B”), (“.-“, “A”), (“-.-.”, “C”), (“-..”, “D”), (“.”, “E”), (“..-.”, “F”), (“–.”, “G”), ¬† ¬†(“….”, “H”), (“..”, “I”), (“.—“, “J”), (“-…
  • Hello, Can you help me? Allowed to import any libraries and use Python 3. ¬† 2 csv files for testing your python program file1.csv https://drive.google.com/file/d/1XB9CDdO_lx5Bmj0hoq_xjKAgJK6-MHOI/vie…
  • Complete the function that takes a list as input and returns a randomized item from that list import random as r def selection(x): # Student code goes here print(selection([‘apple’,’banana’,’orange’,’…
  • The following is part of the relational schema for a database that ACME Video Stores Pty Ltd has recently implemented: MOVIE ( MovieID , MovieTitle, MovieReleaseDate, MovieLength, MovieInColor, Studio…
  • https://www.coursehero.com/tutors-problems/Computer-Science/26712884-i-have-to-use-this-format/ I need acces or the answer to this question! Please
  • #The line below will open a file containing information #about every pokemon through Generation 7: pokedex = open(‘../resource/lib/public/pokedex.csv’, ‘r’) #We’ve also provided a sample subset of the…
  • (listdiff.py) Write a function diff(list1,list2). When called with list arguments list1 and list2, it should¬† return a new list dlist without duplicates, with dlist containing each top-level element …
  • I need help understanding how to recreate the following in Jupyter Notebook. Among other things, this assignment requires the student to understand time series and Fourier analysis (see Digital Signal…
  • Exercise # 1 . Complete the code below to produce a working Pandas Chain . Hints are* provided wherever feasible .
  • How do I code for a problem like this?. PRAC.PY – Programming practise RAC.PY X PRAC.PY > … #python #encoding: utf-8 # B. both_ends # Given a string s, return a string made of the first 2 # and t…
  • PYTHON: Q1:¬† Write your own versions of the Python built-in functions min and max. They should take a list as an argument and return the minimum or maximum element. Hint: Pick the first element as th…
  • We have three messages a. nanksdahjkahjkhasdjkhahkshshjhs b. kfkllkasjkdjaklsasdklasdhasdhhaklashkaskl c. —-jkshjkshshjdfhj msdsbm,dbfk—— how can we decrypt the follwing messages using the encry…
  • This assignment requires a raptor flow chart.¬† Sample setup ¬†for flowchart¬† Sample set up for python¬†. Page 1 of 3 COMS-170: PROGRAM PROGRAM 4: REPETITION STRUCTURES OVERVIEW Instead of coding the…
  • DISPLAY IN CODE: [1] Write Python program to search the numbers (0-9) of length between 1 to 3 in a given string. String: Exercises number 1, 12, 13, and 345 are important ¬† [2] Write a Python progra…
  • NEED ASAP. Worksheet 2.4 DS100-1 IMPORTING DATA IN PYTHON APPLIED DATA SCIENCE Name: Page 1 of 1 Write codes in lunxter notebook as required by the problems. Copy both code and output as screen grab o…
  • FOUND If the word is in the dictionary, it is correct. There is no need for a change. Print it as found, and go on to the next word. Otherwise consider all of the remaining possibilities. DROP If the …
  • I need some help with my code I have uploaded it to mediafire below. https://app.mediafire.com/myfiles I’m running the code and there is an issue in the Class Graph area in the code and the add method…
  • Hello, I’m having an issue with making a Python program to determine the body-mass index of a collection of six individuals. The program needs to ¬† include a list of six names.¬†If prompting for the …
  • All Problems (two files total): ant.py racetime.py ¬† In this homework on classes and objects, you will simulate a race among a bunch of Ant objects. They’ll scoot left-to-right across a 150×150 matpl…
  • In python , How do you put a list of items (e.g. [“red”, “yellow”, “blue”, “white”, “black”]) together into a string with the character “:” as a spacer?
  • What will be the output of the following Python code snippet? X=”hi” print(“05d”%X) a) 00000hi b) 000hi c) hi000 d) error 2. What will be the output of the following Python code snippet? X=”san-fou…
  • Question 1: Your task in this question is to make a flow chart and then write a program in Python that calculates the value of F from following equations. [Marks: 25] i=n 2a; + 3i F = do + i=1 bi Wher…
  • This programming assignment requires a maze module. The maze module will be inserted as a block of code below. You will need to save the maze module as mazeSmart.py and import it into your main.py fil…
  • Reformat a series of strings into Camel Case by returning the fragments from input as a single “sentence”. ¬† I would like to understand how you approached this problem and arrived at your solution. P…
  • Create a program in python that determine the functions value in progressing the game snowman. For each miss, add a part to build a snowman piece by piece.
  • Task 3: Insertion Sort First create file and save it as Week5_Task3. Write function insertionSort(table, column) that accepts a list of lists and a column as input and sorts the list according to the …
  • In Python, using using PyPDF2 and request library, extract the text from the following two PDFs directly from the web: PDF 1 (only pages 3 – 16): https://www.eia.gov/outlooks/aeo/pdf/aeo2018.pdf PDF 2…
  • In this lab assignment, students will demonstrate the abilities to: – Use functions in math module – Generate random floating numbers – Select a random element from a sequence of elements – Select a r…
  • can some one explain this for me plz Given the scenario, select the flowchart that bests models the problem. Maria and Anna are going out to dinner and a movie. Maria is paying for dinner and Anna is …
  • Suppose we have a class named Courses with an attribute courseHours and we need to create a method named coursesFees of the course as follows:. When the courseHours is 5 then fees are 1000$ and when t…
  • 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. Please state t…
  • Fall 2021 Due: Tuesday, Dec. 21 11:59pm HW #7 CSC104 KB/NB in Blackboard Python While loops Utilizing a While loop. Write a program that takes in two integers as input. The output is a countdown start…
  • Implement the¬†Needleman-Wunsch algorithm using fixed gap costs in Python. For extra credit (5pts) use affine gap costs instead.¬† Name your python file NW_GE.py Expect an input file (get the name as …
  • Make a program that input code, name, basic salary and designation of an employee of at least five students in a file “employee.txt”. Basic salary of “Manager” is 70000, “Supervisor” has 50000, “Worke…
  • Write Python code and flowchart for the following program.¬†Ask for the number employees on Khan company payroll.¬†Use for loop to enter the height of each employee, determine and print the height of …
  • def convert_to_poly(lst, n): def check_sum_exists(a, b, c, n): ¬† print(‘– Test 1 –‘) a = set([1, 2, 10, 11]) b = set([2, 5, 8, 10]) c = set([1, 2, 5, 8]) assert not check_sum_exists(a, b, c, 12)…
  • Part 1: Capture Network Traffic Write Python code that captures activity your current computer network and displays the output in non-human readable form (exactly as the output comes from the network …
  • Data Assembly pandas pd matplotlib. IPython. Assignments # Use the four data assembly functions (e.g., iloc, loc, concatenate, merge) to do the following tasks Import two datasets 52000 pd. 52001 p…
  • can u help me in creating the python script: Write a script called netconfig.py that will prompt the user for the following values, and write their answers into an ifcfg file stored in the /etc/syscon…
  • allows a user to enter and validate their phone number and zipcode+4. Then the user will enter values of two, 3×3 matrices and then select from options including, addition, subtraction, matrix multi…
  • Firstly , like all inverse problems, we need to decide (arbitrarily or otherwise) what model best represents the true underlying behavior of the model (i.e., without the noise). In our case, we ass…
  • Modify the file¬† course_dict_7.py ¬†(found on this Moodle block) to include an edit feature that allows the user to change data (room, time, or instructor) for any existing course found in the course…
  • How can I reorder the x-axis (years) from (2017-2021) and delete the ‘cluster’ column only on the x-axis? import seaborn as sns import pandas as pd from matplotlib import pyplot as plt url = ‘https://…
  • # 10 points def exercise05( ) : Data set: Boston Load sklearn’s Boston data into a DataFrame (only the data and feature_name as column names) Load sklearn’s Boston target values into a separate DataF…
  • Question 10 (5 points): ¬† Consider the following text. ¬† ¬† str1 = “””The Master of Science in Business Analytics is an approved Science,Technology, Engineering and Mathematics (STEM) program.The pr…
  • Do you have a source code for Hawk program for a second-price sealed auction.
  • Using the pandas read_csv method, parse the data and assign the results to a variable called¬† df_original Use the¬† pd.to_numeric ¬†method to convert US Salary Data or Hours Worked to a numeric fo…
  • make an arrays python code. BUBBLE SORT The solution must be a programming code in any language or a simulation where EVERY STATE AND VARIABLES are being displayed.There will be a specific question to…
  • Describe the difference between a¬† chained conditional ¬†and a¬† nested conditional. Give life examples of each. Deeply nested conditionals can become difficult to read. Describe a strategy for avoid…
  • Question: A regular deck contains 52 cards. There are 4 suits: Hearts, Diamonds, Spades and Clubs There are 13 ranks: Ace, King, Queen, Jack, 10, 9, 8, 7, 6, 5, 4, 3, 2. Create two classes,¬† Card ¬†a…
  • I need help with writing a code for the question that has the function def search(t, value): … ***YOUR CODE HERE*** 1 # Tree Class 2 class Tree: 3 def _init_(self, entry, branches=( ) ) : 4 self. en…
  • I need help with the following question. Thank you! ¬†. Given the below data frame called brandsDE, how would you accurately create a subset of the data frame where brands match the following b…
  • Hello ! Please help me with ¬†activity 1 and 3¬† The CLL weather file : https://drive.google.com/file/d/12ZWhzAK9EtwKMK3EhuGRVsmSNEGXH6mU/view?usp=sharing. Activity #1: Matrix multiply and plot Create…
  • In the array declared below the element considered to be in the first row and first column can be accessed by what commandDeclare Integer values[3][4] -values[0][0] -values[1][1] -value[2][3] -value…
  • Write a single Python statement that will create a list containing the following names: ‘Batman’, ‘Superman’, ‘Zorro’, and ‘Ironman’.¬† ¬† 2. Assume that the variable named chemicals references a l…
  • How can I write this code for the output to be a logo? What is a greyscale image? – By greyscale, we mean black‚ÄĒand‚ÄĒwhite (no colors) but more speciÔ¨Ācally (and typically) 256 shades of grey. – C…
  • Recursion-Only maxOdd(L) ¬† Without using iteration, write the recursive function maxOdd(L) which given a possibly-empty list L of integers, returns the largest odd integer in L, or None if L does not…
  • I’m having some difficulties with the following question for my Python practice. Predict the outcome of each line: #i=1 #j=0 #while i<10: #i+=1 #j+=2*2 #print(i) # Line 1 #print(j) # Line 2.
  • Write a function called is_all_even that takes a list of lists as a parameter and returns True if all of the integer elements of the lists are even. For example, if passed in the following list of lis…
  • he file format in¬†index.txt¬†is an unusual one. It has three fields — name, scores, and ID — that are comma separated but the scores column consists of “bar” (i.e.,¬†|) separated scores. Furtherm…
  • I need Python code from OOP I want simple code python Contain (class )¬†requirements student management system¬† This is required Represent each student using a Python class, such that grades for all …
  • File: grades.py According to school Policy, if you score 86% in a subject, you will receive an HD grade; 40% will get you an N, etc. (grade under 50 : N 50-64: P 65-74: C 75-84: D 85-100: HD ) Write f…
    • CONTEXT : Medical research university X is undergoing deep research on patients with certain conditions. University has an internal AI team. Due to confidentiality the patient’s details and the co…
  • These data from the file come from a Negative Binomial distribution. Write a function to compute the log-likelihood. These are the things I have done so far so can you please help me with this questio…
  • Problem 5 – Twitter Sentiment Analysis 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…
  • Design a¬†Fuzzy Logic¬†Control Synthesis for An Airplane Antilock-braking System in python?
  • PYTHON PROGRAMMING heap sort is a comparison based sorting technique based on the Binary Heap data structure. It implements the sequence as a max heap, and removes the root node until the heap is empt…
  • The data comes from a Negative Binomial distribution. Write a function to compute the log-likelihood. HINT: You can let log(0) = 0 if required. The Negative Binomial distribution has two parameters, N…
  • A product cost is discounted based on the age of the customers. For example, if a customer’s age is 60 years, the customer gets a discount worth 16% of the product price. The following table shows the…
  • . Description Jacob is a gifted undergraduate mathematics student at the University of Alberta. For his summer research project, he has decided to investigate points in detail. After weeks of re- se…
  • please dont use shortcuts THSK I Write a Student class to get the desired output as shown below. 1. Create a Student class and a class variable called ID initialized with 0. 2. Create a constructor th…
  • Write a program to get the number of stalls and stall details and calculate the total revenue of all the stalls.calculate the stall cost for each stall each cost will be calculated by separate thread….
  • Hello experts, this is for R programming. I’m trying to read the dataset into R and save it to the workspace with the file that I was given. I saved it in the same file where my R script is, but when …
  • Build a program to design a version of¬†Rock-Paper-Scissors where the user plays the computer. But I want your program to cheat¬†–¬†yes, cheat. Normally in a Rock-Paper- Scissors program the user woul…
  • You will be developing a Python program to process a list of exam scores.¬† The exam scores are entered by the user at the keyboard, one score at a time Exam scores need to be at least zero and at mos…
  • make a program that uses nested loops to draw this pattern: ******* ****** ***** **** *** ** * please make in python
  • . (25%) You are given the following data: You need to determine the value ofy at t = 0.03 s and t = 0.25 8. You choose to do this by interpolating this data on a new time axis, resampiing from dt = …
  • Referring to # 24 . How would it be assumed that the first deposit is made at the end of each year January 2014, and the balance would be displayed in account at the end of each year from 2014 – 2018….
  • Hi i want ant object except laptop or computer. Pick an object around you and create a class out of it (except the one I did in the class) – plan your class (Name, Parameters, Functionality) —UML –…
  • What will happen if you try to set a value to a constant once it has been declared?
  • . Home | iCampus X Bb Week 8 – Computer Programmin x Zy Section 8.5 – CIS 110: Computer F X Homework Help – Q&A from Onl x + X C D learn.zybooks.com/zybook/Strayer_-_CIS110Winter2022/chapter/8/s…
  • . ‘I. Write a function total_len(words) that takes as input a list of 0 or more strings words and uses recursion to compute and return the value obtained by adding together the lengths of all of t…
  • 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…
  • odeint:¬† ¬† function SolveODEs() clf ¬†%clear any existing plots % ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†Time range ¬† Initial Conditions [t,y] = ode45( ¬†@deriv, ¬† ¬†[0,2], ¬† ¬† ¬† ¬† ¬† [1,0] ¬† ¬† …
  • Design a method that allows you to determine if a person is a minor by returning true, if the age is less than 18, or false, otherwise. 4. You’d like to be able to compare instances of your class u…
  • please do it python. Problem 3 Definition: A number in a string s is defined as the longest possible consecutive sequence of digits (between 0 and 9), containing at least one digit and at most one dec…
  • String Mountain ¬†. Using while loop or for loop to write a script p3 .py that reads an integer value 11 and a string str from the user’s input and then produces a 2n-1‚ÄĒcolurnn block, repeatedly. …
  • Using MY_DICT = {a’:15, ‘c’:18, ‘b’:20}, write a program to: calculate and print all the keys as a list. calculate and print all the values as formatted comma separated data (not as a list). print all…
  • i am having a little trouble in my block of code for Python, this is in Codio. below is my code and im getting this error message, Starting Odometer Reading: Ending Odometer Reading: Traceback (most r…
  • TEST CASES: def test_prediction(capsys, min_f1=0.89, min_accuracy=0.97): ¬† ¬† # get texts and labels from the training data ¬† ¬† train_examples = classify.read_smsspam(“smsspam/SMSSpamCollection….
  • Python Answer Problem ¬†1 and pass test ### An iterator for the set of edges def graph_edges(self): ¬†¬†¬†¬†“””Yields the edges of the graph, one by one.¬†¬†Each edge is yielded as a ¬†¬†¬†¬†pair of v…
  • Hello, I need help with two problems. I have attached the “Problems” pdf which has the two questions and examples of how the output of the code should be. My programs/solutions are “frac_add.py” and “…
  • When launching a program using the following command: > python¬† TestProgram¬† gateway¬† 192.1.68.1.1¬† 24 What is the data type of value stored in¬†sys.argv[3]?
  • Hi, I need assistance on how to solve this question due to complexity of the question. I am unable to solve the question. Thank you. Q6. Implement a class called Student in Python which has the follow…
  • Please follow the steps below to implement a linear regression model to learn a 3rd-order polynomial function. ¬† ¬†1. Generate 20 pairs of (x, y) values following the steps in P4 of MP #1. They a…
  • #!/usr/bin/python import re # Regular expression for detecting patterns # TODO: Fill in the quotes with a python regular expression that represents the required strings. myRE1 = ” ¬†# RE for st…
  • computer science 101: please see attached and include Python code as text. thanks!
  • Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program? A¬†– PYTHONPATH B¬†– PYTHONSTARTUP C¬†– PYTHONCASEOK D?…
  • Can any one help me with to change this c++ code into python code. And here my key length should be 13(k=13). #include <iostream>¬†¬† #include <string>¬†¬† #include <cctype>¬†¬† usin…
  • Paul Stender’s car has a rocket attached to it.¬†¬†While on, the rocket provides a thrust force of 51,500 Newtons.¬†¬†¬†The car has as mass of 3,222kg.¬†¬†The coefficients of friction with the road an…
  • Task 1: Use of range() In a separate file, write a short program that uses a for loop to output every third number starting at 11 for 5 iterations. Print the numbers on a single line. Use comments to …
  • . Write a program that inputs a filename from the user and prints to the terminal a report of the wages paid to the employees for the given period. . The report should be in tabular format with the …
  • I need to create a program that will ask for a player’s name, age, and their 9 score from each hole from the 9 hole golf game they just played. Then the program needs to output the player’s name and t…
  • Describe (do not code)¬† MapReduce algorithms to take very large files (TBs) of integers and compute the: (a) largest integer. (b) average of all the integers. (c) number of distinct integers in the i…
  • NEED HELP IMPLEMENTING THE FUNCTIONS IN THIS CLASS (DOCSTRING EXPLAINS REQUIREMENTS): import random ¬† class BootstrapResampling(): ¬† ¬† “”” This class implements the non-parametric bootstrap resampl…
  • Hello, ¬† I have this data set to compute the globally maximal measurement value from all sensors (including the “BrokenSensor”). Implement your code in the global_max_measurement_f_map and global_max…
  • write a python program that reads files containing text. Read each line and send it to the output file, preceded by line numbers. If the input file is ¬†Mary had a little lamb¬† whose fleece was white…
  • the two different types of functions are called¬† fruitful ¬†and¬† non-fruitful . Describe both and give an example in code.
  • Please refer to the attachment to answer this question. This question was created from Learning Guide Unit 6_ Discussion Assignment.pdf. Additional comments: “Describe the difference between objects a
  • I need advice on how to make a multiple choice quiz through python, but the code doesn’t work. class Question: ¬†¬†def __init__(self, question, answer): ¬†¬†¬†¬†self.question = question ¬†¬†¬†¬†self.c…
  • import unittest from typing import List def contains_even(values: List[int]) -> bool: ¬† ¬†“””Return True if and only if values contains at least one even number. ¬† ¬†“”” ¬† ¬†for item in values: …
  • Please code the function greedy_predictor under Part 2: Task A Input: A data table data of explanatory variables with m rows and n columns and a list of corresponding target variables y. Output: A tup…
  • This is a introduction to python tasks 1.Load the well-known Tips data set, which shows the number of tips received by restaurant staff based on various indicator data; then implement the factor plots…
  • in python Write program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters “Quit”, “quit”, or “q” for the line of text.¬†…
  • 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…
  • I am having an issue getting the code found below to read csv files, analyze them, as well as kick out a plot for downloading. Please show me what I am doing wrong. #import statements import numpy as …
  • code an function¬†colex_bitlists(n)¬†that accepts as input a non-negative integer¬†n¬†and that returns as output a list of all bitlists of¬†n¬†elements in co-lexicographic order. For example: >>…
    • 2) 3) 4) 5) ¬†. Functions must be in a separate file, functions.py, with testing done from the various task files requested.. 1. Write and test the following function: 1 def day_of_week(day_number)…
  • In this “mini-project” you will be creating your own command-line based music search utility using Python3 and the Mutagen ID3tag library. (The following uses standard “command-line notation” but with…
  • Write the following function to process the file and generate the comparison counts for each Letter object: def do_comparisons(file_variable, bst): “”” ————————————————…
  • Write a function¬†extractFromQueue (k, q) that takes the element k and the queue q as input parameters.¬†The function searches for the element k in q, deletes it and returns True if found and returns …
  • Answer the following using the framingham_nb_training dataset below, Convert all variables ( Death ,¬† Sex , and¬† Educ ) to factors. Create two contingency tables, one with¬† Death ¬†and¬† Sex ¬†and …
  • This lab aims to help you with parts of your project. Specifically, please write the class Contact that is required in your project: –¬†¬†¬†¬†¬†¬†¬†Each contact has first and last name . For simplicit…
  • can you help me figure were line 6 is wrong, please? def ismutable(v): ¬† ¬†“””Checks if v is a mutable object””” ¬† ¬†try: ¬† ¬† ¬† ¬†if isinstance(v,list) or isinstance(v,dict) or isinstance(v,set) …
  • 3.2: Bidding example. Write n expression that continues to bid until the user enters ‘n’. Sample output with inputs: ‘y’ ‘y’ ‘n’ I ‘ll bid $7 ! Continue bidding? I’ll bid $15 ! Continue bidding? I’l…
  • I need help with tasks 1 and 2… All the data is given… Thank you!. a + Code Python 3 (ipykernel) O # O [5]: df_fake = pd. DataFrame(fake) df_fake [5] : title text subject date Donald Trump Sends O…
  • Find the number of characters in the Ô¨Āle and assign it to "an53" variable. (Note: please all kinds of characters, including numbers, alphabets, special characters, and even spaces)
  • please refer to the attached document. Exercise 10.4 Check credit card number Write a program to read a line of credit card number which each 4-digit parts are separated by space and use the ‘Luhn Alg…
  • a dictionary called¬† employees ¬†pairs names with the their salaries. need a Python code to print the¬† largest ¬†salary of all of the employees in the dictionary. example dic: {“Jill Jones”:30000,¬†…
  • I need help solving this coding problem in python.¬† ¬†Create list baseball_height that contains data of the baseball players’ height in inches baseball_height = [74, 69, 71, 73, 76, 79, 75, 81] #Use …
  • Please, I need to know how to analyze the complexity of this algorithm in Python and explain it, also explain if it is possible to find an algorithm that does the same function, but in a shorter time …
  • If Tutor cannot understand question please refer images to solve it. Using Lists A list is a group of objects/elements.¬† The elements can be numbers, strings or other lists.¬†Different data types can…
  • Use ipywidgets to w r i t e a simple programme that allows a user to calculate the nth root of a number, x^(1/n), where n > 0.¬† Use sliders to specify n and x.¬† The output should be of the form “…
  • solution in python script. ENED 1100 – Fall 2021 Homework 11.1 INDIVIDUAL ASSIGNMENT: See the course syllabus for a definition of what constitutes an individual HW assignment. Task 1 (of 2) Workpla…
  • Error occurs for all years except 1903, 1904, and 1994 (Correct print statement). It will temporarily work without error if entering year in consecutive order beginning with 1903, then 1904, 1905… 1…
  • . Construct a single Python expression which evaluates to the following values, and incorporates the specified operations in each case (executed in any order). (a) Output value: ‘ hopeless’ Required…
  • I am trying to combine two files information but i couldnt be succeed, i would be really greatefull if someone help me to solve this question. The basic data-structures for storing books and customers…
  • Alternatively, you can answer by providing descriptions of the drawings. In that case, keep close to the formulations used in the long figure descriptions of the examples given in‚ÄĮSection 4.5 of Blo…
  • PLEASE HELP ME WITH THESE PYTHON PROGRAMME QUESTIONS¬† 1. Import Modules First import all the necessary modules to create a DataFrame and box plots. ¬† [ ] ¬† #¬†Import¬†the¬†‘pandas’,¬†‘matplotlib.py…
  • For Question 1 and 2! thanks from ast import Return import os import pandas_datareader as pdr import numpy as np import datetime ticker=’MXL’ input_dir = r’C:\\Users\\marso\\Desktop\\Boston Univ…
  • Please refer to the attachments below for the python program.¬† ¬†. The code of a sequential search function is shown on textbook page 60. In fact, if the list is already sorted, the search can halt w…
  • py class LinkedListNode : def __init__(self, initialHead = None, initialTail = None) : self.setHead(initialHead) self.setTail(initialTail) def setHead(self, other) : self.__myHead = …
  • my_data = [ {"name": "Virginia", "universities": [ {"name": "UVA", "enrollment": 21985, "location": "Charlottesville"}, …
  • Hi, I need help with my python programming assignment. I did the first part as you can see with def exists_triangle in the second picture, but it’s just missing 3 more doctests. You need to add at lea…
  • 16 LAB: Warm up: Drawing a right triangle ¬† This program will output a right triangle based on user specified height triangle_height and symbol triangle_char. (1) The given program outputs a fixed-…
  • What is wrong with the second cell code. Trying to classify 1st cell output. I need kurtosis for the 1st cell output in the end.
  • A Python program to take two strings as input from the user and then remove characters from the first String which are present in the second String. ¬† Sample Input : First string = “abcde”, Second St…
  • Can you show me how to make a class that reads the students names and scores in a text file and then calculate the average and median scores based on all of the students?
  • Please provide 3 different examples of CNN models using python code
  • The Boston Housing Dataset Here is some information on the dataset. You may need to refer to this in future questions Each row represents a town in the Boston area The varriable we will be predicti…
  • Need help with my Python GUI project. I’ve completed most of the requirements on the rubric but all I’m missing is implementing a function for the submit button that stores the data in a csv or txt or…
  • Hi, I am preparing for my upcoming Exam and i want this beginner level python project to be solved please comment all the working, As this is beginner level work so please make it simple as please sho…
  • I need help with writing the code for this. Please provide me with the correct code. Ô¨ā Iearnlybookscom 1.23. LAB: Warm up: Variables, input, and type conversion My library > IT 140: Introduction …
  • program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singu…
  • An equities analyst is studying the pharmaceutical industry and would like your help in exploring and understanding¬† the financial data collected by her firm. Her main objective is to understand the …
  • Load Iris data. Use data transformations a classification algorithm of your choice to achieve greater than 98% accuracy in cross-validation (cv = 3). In¬†[1]: import numpy as np from sklearn import da…
  • I need help with python code, I am getting error for the below code. Problem 1 Fix the compilation issue of the below program. Basically the programmer intended to send in variable list of arguments t…
  • Do a short program that read the file¬†input.txt¬†and returns a list of all the line numbers in that file which contain the word¬†cat¬†anywhere in the line and in any case (i.e., the line should be co…
  • How to write Python code in turtle that can draw multiple(different sizes) stars using Pythons FOR Loop and While Loop . How to make a loop that repeats it over and over , drawing lots of different ra…
  • A hotdog stand sells hotdogs, potato chips and sodas.¬†Hotdogs are $2.50 each.¬†Potato chips are $1.50 per bag.¬†Sodas are $1.25 per cans.¬†Design a program to do the following.¬†Ask the user to enter…
  • user_int = int(input(‘Enter integer (32 – 126):\n’)) 2. 3.# FIXME (1): Finish reading other items into variables, then output the four values on a single line separated by a space 4.¬†¬† 5.# FIXME (…
  • Write a function named `firstAndLast` that accepts one str parameter and then reports the first and last characters of the String. For example, the call `firstAndLast( ‘spoon’)` would output: first:…
  • When resequencing a genome a researcher is often interested in how the polymorphisms in a genome are positioned relative to the reference. They may have questions like “are the polymorphisms evenly di…
  • Practice #6 Utilizing the Caesar Cipher (ROT-3), change these lines of text 1. pdwk iru fbehuvhfxulwb lv doprvw ryhu!! 2. Zkhq zloo pb vfkrro eh grqh iru jrrg? 3. Rqh ri pb idyrulwh errn vhulhv ri doo…
  • i need help on this practice coding question please.. if name main rewardsDictionary = { 2569: [‘Charles Babbage’ , 8, 12, 218378], 1580: [‘Ada Lovelace’ , 5, 2, 96207], 2241: [‘Katherine Johnson’ , 1…
  • I have this code except I dont know how to add “Would you like to continue?” str=input( “Please enter a sentence: ” ) str=str.lower() Alphabet=[ ‘a’ , ‘b’ , ‘c’ , ‘d’ , ‘e’ , ‘f’ , ‘g’ , ‘h’ , ‘i’ , ‘…
  • A Python function, called Divisible Numbers, that takes a list of numbers and a positive n whole, and returns the number of divisible items per n found in the list. In the main part of the program, as…
  • Create a function called¬†recommend(temp,¬†forecast)¬†that¬† prints ¬†out a recommendation about what to wear and bring based on the weather.¬†temp¬†is an integer number that represents the temperatur…
  • Write a program that reads a word and prints each character of the word on a separate line. For example, if the user provides the input "Harry”. the program prints: 5 pts hq-s-REI a) Your c…
  • (object oriented prograMing python )Given as input two whole numbers representing a time like time, minute. Additional input is a time shift in minutes. Print the time prior to a time shift and the…
  • Hello Course Hero In this Python Program: I need help with designing the basic program (see below) Create 2 functions and call each function inside of a print statement to test that each function retu…
  • please give me the python code for the question. The dataset has been collected from the Directorate General of Health Services, Bangladesh. The dataset has 626 rows and 4 columns.(Please collect the …
  • . 7. [20 points] Please fix the 4 bugs in the following Python program which do level-order traversal for a binary tree. class TreeNode: def _init_(self, v, 1=None, r=None) : self . value = v self. …
  • Create a Python program that: Allows the user to enter a person’s first name and last name. The user should be able to enter as many names as they desire. Create a function that takes the first name a…
  • how would I display this code 11. Write the code for a String Analysis Program. 0 Create the function strAnalysis that takes a string argument. I Check if string is digits 0 If digits: convert to …
  • Activity 1: Preparation For this part of the project, put together a document (e.g. Microsoft Word file) you will use to plan your program. You will turn in a PDF of this document. First, examine the …
  • ealiza un programa que solicite un numero positivo y calcule la ra√≠z cuadrada de ese n√ļmero. Si el usuario¬† introduce un n√ļmero negativo se deber√° solicitar de nuevo el n√ļmero.
  • Please help¬†. Question 3: Generate permutations Given a list of unique elements, a permutation of the list is a reordering of the elements. For example, [2, 1. 3] , [1, 3. 2] , and [3. 2. 1] are all …
  • Identify a large company for which you would provide data analysis as a consultant. Design a Python program which addresses the need to pull specific data for a company or organization. Create a Word …
  • Please note that the original database must not be altered. Thanks ūüôā
  • no chegg We will be implementing various functions related to the MOBA (Multiplayer Online Battle Arena) game Dota 2. Dota 2 is a hero-based game where players can choose from over 100 diverse heroes …
  • In python, all my elements within a list are lists as shown below. How to make each element a float rather than a list? Basically, I want one list with float elements, not list elelemts. Any help woul…
  • Hello, I’m going to attach all of the questions as a picture. Please also show easy-to-understand steps. Still, if specific problems need a little explanation, then a tiny description would be much ap…
  • I have to build off of a previous assignment that I have shared in the Google Drive link at the bottom and I am not too familiar with CSV files and working in Excel. Below is the original question and…
  • Exercise 1 (1 point). Complete the implementation of make_itemsets_apply () so that it be- haves as described above. If implemented correctly, then ingredient_sets = make_itemsets_apply (recipes, extr…
  • What steps should we take to ensure the reliability of our code?
  • Uses the file cardio_train.csv downloaded from https://www.kaggle.com/sulianova/cardiovascular-disease-dataset Implements a function analyse(gender, age) where gender is one of ‘F (for female) or ‘M’ …
  • I have hard time with number one and two, ¬†and don’t understand how do I write in for¬†pseudocode for my programming and see sample Output below. I am hoping that you can help to explain that to me h…
  • Python Programming Please someone solve this question in Python. No plag please and please add comments for my understanding. Thank you.. A computer programmer is to generate the following sequence of…
  • I’m doing a project on Repl.it using Pygame any ideas for a theme I could use for this project? Written theme for your pygame. It should be different than our class theme (Snowman vs. Penguin) Python …
  • Hi, Im not sure why i am getting this error on my python hw View Insert Cell Kernel Widgets Help Code Markdown Raw NBConvert Heading – Part 1 of 2: Processing an HTML file One of the richest sources o…
  • How would you solve this problem with the following sample data? diseases = {“Alphaitis”: ¬† ¬† ¬† ¬† ¬†{“A”: “+”, “B”: “0”, “C”: “-“, “D”: “0”, “E”: “0”, “F”: “+”, “G”: “0”, “H”: “0”, “I”: “+”, ¬† ¬†…
  • Write a function called all_smaller(x, values), which returns True only if every element of the list of integers values is smaller than the parameter x. Otherwise, False is returned. ¬† Example: all_s…
  • How can I solve this problem for step 1 and 2? ¬†I am stuck. ¬†. EDV HW 2 more description with exa… 1 page (D Q The main objective of HW 2 is to implement the RSA algorithm, one of the most famous …
  • Hi, please help me with this python problem. Please let me know if you have any questions. Thanks!!. . A word or a name formed by rearranging the letters in another word is called an anagram. (ex: *Ic…
  • Design a student database for MIT where students can borrow books from the library. The class holds the following information about each student: studentName, studentID, booksBorrowedList. The followi…
  • Feedback? CHALLENGE ACTIVITY 5.2.2: Basic while loop with user input. Write an expression that executes the loop body as long as the user enters a non-negative number. Note: These activities may test …
  • Given the following definitions: x = 4 y = 6 b1 = True ¬† b2 = False b3 = x == 10 b4 = y < 10 ¬† Which of the following Python expressions will evaluate to True? (a) b4 ¬† (b) b2 and b3 ¬† (c) not …
  • Problem 3 – Conditions and loops Q10: Calculate and display the sum of all the numbers divisible by 7 between 18 and 534 i.e. 21+28+35+…+525+532.
  • I need help adding and subtracting the quantities of the label that holds the subtotal of all the quantities from other items in Python GUI tkinter. Then adds to the listbox or subtract from it and re…
  • I get that it is ‘\W+\W+’ but I keep getting: [‘. ‘, ‘ .’] when I should be getting: [‘Game17.exe’, ‘CV_2.tex’, ‘data.TXT’, ‘archive.bz2’] can you see my error? ¬† regexp = ‘W+\W+’ # Main program (do …
  • Using only NumPy, write the Noiseify class, which adds random noise to an image to produce a grainy, aged-film effect. The code should add a random number between ‚ąí5 and 5, inclusive, to every Red, …
  • . The Hill Cipher is a polygraphic encryption cipher that is based on some basic linear algebra and modular arithmetic. It can be broken via chosen plaintext attacks (CPA) where an attacker has acce…
  • from scipy.stats import skew skew(kurt) ¬† from scipy.stats import kurtosis kurtosis(kurt) ¬† kurt = array range from 0 to 670 values(categorical to integer) ¬† How to plot skew and kurtosis for the k…
  • 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)¬†__init__ : add two instance variables to s…
  • Hello there. I am writing a code for my Software development class for my final exam. It is a Python code not a Java Code. The theme of my code is for people wanting to join or being interested in joi…
  • You are required to work out the annualised investment return required given a target wealth to be achieved some time in the future. For example, for a target wealth of $1,000,000 in 25 years’ time, g…
  • Objectives:¬†¬† a new, reusable class a program to test the new class, and this test program’s source code is separate from the new class itself ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~…
  • I have this code below that asks the user for a string and converts it to uppercase. Then it creates a dictionary that contains all the alpha characters as keys and their counts as values uses a for l…
  • Python program that will compute the car rental prices.¬† The program takes the input of days, selection of VIP membership, and optional additions. The program calculates and displays the rental price…
  • Can you help me to do¬†homework? Please help me. Homework 3 in Python¬†3.8 IDLE Your program will manage a set of customers and a set of books. Customers will rate individual books and the program wil…
  • . In [97]: import numpy as np d = dict([(y, x+1) for x,y in enumerate(sorted(set(d2) ) ) ]) enu = [d[x] for x in d2] npenu = np . array (enu) unique_counts = np . unique (npenu, return_counts=True) …
  • Though intentionally easy from the financial viewpoint, this assignment will give you more experience on the use of Python’s Control structures Loops Lists Graphing using Matplotlib ¬†Background The f…
  • question-1 please help with this assignment (20 pts.)Forward Rotation: Write code to perform forward rotation on an image. Starter code available in directory Tranform/ Transform/geometric.py: Edit th…
  • There are four errors in the following program that will prevent it from running as intended. For each error, state what the error is and give the correct Python statement. 1 %%sim_magic -b Coloured…
  • Project 4: Coffee Machine CS 1410 Background In this project you will implement an object-oriented design that simulates a vending machine that dispenses different types of (old-fashioned) coffee as w…
  • Shipping Program This program should let the user enter any number of items into the program and then calculate and output the Subtotal, Tax (if CA), Shipping and Handling, and Total Due. ¬† Use at le…
  • Sorry I know I already asked this question before but then when I got the answer help I realise I forgot to provide the txt file that goes along with it. So sorry about that I’ll just post the questio…
  • In Python 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. Comp…
  • Use Python Coding for each data set in Assignment4_linear_regression_data.xlsx: Create a scatter plot and visually decide if a linear model is appropriate (a matrix scatter plot will would be most eff…
  • You will use GuessingGameApp.py and complete the TODOs in docstrings and comments to make a GUI version of a Guessing game. You can write your own but I separately provided a GuessingGame in GuessingG…
  • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
  • my assignment is Write a function jscore(s1, s2) that takes two strings s1 and s2 as inputs and that uses recursion to compute and return the Jotto score of s1 compared with s2 – i.e., the number of c…
  • Q5: Which year has the highest percentage of blowout games, which is defined as a winning margin of at least 30 points?
  • Task 4 Another issue with our current random walk model is that our assumed annual magnitude of the stock price’s movement is the same 1% regardless of the risk profile of the company. For example, an…
  • My instructor wants me to write a python program using classes that tracks information about a loan.¬†¬†The program should initially ask for the amount of the loan, then repeatedly present the user wi…
  • Problem: ¬†A car rental company hires you to develop their reservation system using PYTHON. The system should deal with customers’ queries providing a quote for the given dates and type of car. It …
  • QUESTION 21 Use the following strings and lists for the next set of questions: l = [“Name”, “Age”, “Occupation”, 25, 15, 1, 25] s = “This is the first string” t = “This is the second string” y = “O…
  • Can you check my code and give a crrect output. my python version is 3.9.7( as soon as) Server_Phase4.py ¬† import socket¬† ¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • Write function¬†long_enough(strings, min_length)¬†that returns a list of all the strings in the list¬†strings¬†with a length greater than or equal to the given¬†min_length. For example: TestResultstri…
  • 9 Debugging 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…
  • Q1 (1mark): Create a function that can accept two arguments name and age and print its value
  • Can anyone help me these question. I just have a lot of other assignment to try the. Can anyone just answer with python? Does Rogain promote hair growth ? You will analyze the results of a randomized,…
  • Root Finding Methods (Solve this BY HAND. For each method, write down the equations you are using to calculate next iteration as well as the relative error. Use either Python or a calculator and wr…
  • Using the list names defined as follows: names = [ “Euclid” , “Archimedes” , “Newton” , “Descartes” , “Fermat” , ¬†¬†¬†¬† “Turing” , “Euler” , “Einstein” , “Boole” , “Fibonacci” , “Lovelace” , ¬†¬†¬† …
  • The error is cause because i’ve redefined a variable from my first function but i cant figure out how to fix it can you please help Code: # Define two constants, the values used to select a diagonal T…
  • Script¬†that asks for a filename (to which mbox.txt and mbox-short.txt will be used) and looks for lines of the form Download¬†www.py4inf.com/code/mbox.txt¬†and¬†www.py4inf.com/code/mbox-short.txt¬†to…
  • or this assignment you will be writing 3 programs which should be saved independently as their own “.py” file. The filename you should use for each program is outlined in the sections below. When you’…
  • Please modify or submit a new code for the problem below. The code at the end DOES NOT work for the Sample Input 1. Instead of printing an output 20, 9, 9, it outputs 45, 96, 21‚ÄĒwhich is a wrong ans…
  • you will create single Python file which will define a single function (recognize_ip_address).¬†The recognize_ip_address function will take only a string as its argument (string), and will return T…
  • I am stuck (“Enter problem sting like this, N1,N2,Operator”)) here #11 def calculate(): ¬†¬†try: ¬†¬†¬†¬†lowRange = float(input(“Enter your lower range:”)) ¬†¬†¬†¬†highRange = float(input(“Enter your …
  • Fix this: Vehicle class: ¬†-2¬†attributes are not declared private as required by this assignment!¬†¬†need self.__color for example. -3 Constructor:¬† why is the VIN set to 1 in here?¬†¬†It should be …
  • . Q3. (10 points) Suppose you are given a definition of an exception class, which raises an error message when a user’s account no cannot be found in a given list ‘accounts’. FYI, in a real-life set…
  • Consider the situation where there are 5 possibilities for rockets. Each rocket has a different launch velocity and angle. Your program must identify the velocity/angle combination that results in …
  • Complete the code in the function that, given a list L of positive integers and a digit d , counts the number of occurrences of d in the numbers of the list L . Here are some execution examples: >&…
  • Python programming— Make a program that can read sensor data from our three different sensors, process that data, and output whether or not it’s abnormal. Please refer to the images (1 and 2) for mo…
  • (a)¬†Write¬†the¬†code¬†for¬†these¬†two¬†equations.¬†¬†¬†Let¬†R=10000,¬†C=1e-6,¬†and¬†Vs=10.¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • Please use recursion to write the function indexMap() which takes a list possibly empty list L and maps each value in L to a set of the indexes L where it occurs. (.find() and .count() are not permitt…
  • Create a¬† comment block ¬†with the following information: Your Name Course Name, Section (example: ENTD200 B002 Spr15) Instructor name Week¬†#¬† Date completed 2.¬†¬†¬† Problem 1: ¬†Write a p…
  • If the menu has the following options: menu = { ‘1’ : ‘Use the treadmill’, ‘2’ : ‘Exercise with dumbbells’, ‘3’ : ‘Exercise with weight machines’, ‘Q’ : ‘Exit’ } , then the call to print_menu(menu) wi…
  • Make a list of 10 integers of your choice. Iterate over all the elements of the list using a for loop and for each element (integer) check if it’s even or odd and print out Even or Odd respectively.
  • def nameOfBestCustomer(sales, customers) that accepts two lists: sales and customers and returns the name of the customer with the largest sale.
  • 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 against a night sky. Modularize…
  • All information is provided below, kindly respond to this convolutional neural network question. Convolutional neural networks In this question you will construct a convolutional neural network to cla…
  • Since binary trees are non-linear, they cannot be implemented using an array. A.true B.false
  • Please show how to write the following code in Colab: ¬† Now,¬†we¬†need¬†to¬†open¬†a¬†file¬†that¬†we¬†save¬†our¬†score¬†in¬†it,¬†called¬†Score.txt. #¬†Please¬†check¬†if¬†Score.txt¬†contains¬†anyting¬†…
  • A canoe trip consists of paddling across lakes, and hauling gear across portage trails between lakes.¬† In this question you will create a representation of lakes and portages in a park. You will then…
  • using python. 3 Coding: Note : you pick the appropriate parameters in these problems. 1. In this problem we explore what happens when we use (inapproriately) the t- CI for a non Normal population. Let…
  • In the prediction game, the first player gives the second player some stock market data for some consecutive days. The data contains a company’s stock price on each day. The rules for the game are: Pl…
  • There is no partial marking in the problem. Given a weighted undirected tree of / nodes and Q queries. Each query contains an integer D. For each query, find the number of paths in the given tree such…
  • . 3. The Death Penalty Some US states have the death penalty, and others don’t, and laws have changed over time. In addition to changes in murder rates, we Will also consider whetherthe death penalt…
  • answer the following python question¬† reference from matplotlib.patches import Polygon from numpy import float_, int_ import matplotlib.pyplot as plt def plot_transformation(xys_original, xys_transfo…
  • This is the CPT200 week 3 assignment. Could you please help me do my assignment and I need a step-by-step explanation and I want this in the easiest way?¬† ¬† For this assignment, you will Utilize loo…
  • what I the answer What would be the data type of the return value of the following function? def foo(word, position) : letters = [‘a’, ‘b’ ] if position < len(word) /2: return letters[0] else: retu…
  • Imagine that you were a manager at factory and were responsible¬† for quality control.¬† You need to assign a metric to determine if a batch of parts are quality.¬† Design a proposition that scientifi…
  • Hello, could you please help me with my coding assignment? Can you also add comments for each line of code so I can understand it better? The code also needs to reflect the outputs from the third pict…
  • Here is my homework with my source code, so I would like to have tutor to give me some comment based on my source code work to the exercise’s situation. Please note that you just need to leave a comme…
  • “Write” a Python function called¬†arrange( seq, *dims )¬†that arranges the values in the provided sequence,¬†seq, according to the dimensions provided in¬†dims. The¬†arrange()¬†function should return …
  • Read the comma-separated file (data.csv)¬†containing coordinates (latitudes and longitudes), reverse geocode each coordinate, using the GeoPy – Nominatim reverse geocoding service,¬†and save the resul…
  • Need assistance with creating code to continuously asks the user an exam score given as integer percentages in the range 0 to 100. If a value not in the range is input except for -1, print out an erro…
  • Hi¬† ¬† I need to create a Python script to interact with the following server script: ¬† # server script import socket def server_program(): ¬† ¬†host = socket.gethostname()# get the hostname ¬† ¬†po…
  • How to implement learn function in decision class tree? import csv import numpy as np # http://www.numpy.org import ast from datetime import datetime from math import log, floor, ceil class Utility (o…
  • please help me fix why that code no runs on my JUPYTER notebook, when you done please sent me a correct code an show me a screen short. Question 3: Rewirting CashRegister class with more functionality…
  • Write a program that accepts a sentence and calculate the number of upper case letters and lower case letters. Suppose the following input is supplied to the program: Hello world! Then, the output sho…
  • I am trying to code this and keep getting errors. Question : Input a list of integers, print True if 6 appears as either the first or last element in the list. The list will be length 1 or more.¬†Also…
  • Find how many different holding patterns the sequence converges to? where Xn = a*Xn‚ąí1 +b if Xn‚ąí1 is odd and Xn = (Xn‚ąí1)/2 if Xn‚ąí1 is even, a and b are positive integers. For each of the a, b p…
  • INSTRUCTIONS This assignment tests¬†your ability to create simple regression solution to a prediction problem. You will use a dataset of bike rentals from¬†Capital Bikeshare system, Washington D.C., U…
  • Code a function file_copy that takes two string parameters (in_file and out_file) and copies the content of¬† in_file into out_file. Assume that in_file exists before file_copy is called. For example,…
  • I was required to Construct a class that represent employee of a company. Each employee is defined by an integer id number, a pay rate, and maximum number of hours the employee should work each week. …
  • Can you help create a program that calculates the tip and total for a meal at a restaurant. ¬† Sample output: ¬† Tip Calculator Cost of meal: 52.31 Tip percent: 20 Tip amount: 10.46 Total amount: 62.7…
  • Hi, Can I get help on how to format the below data in Python? The very bottom screenshot is how it is supposed to look in the end. I just need help with the coding on how to get it to look like that. …
  • Answer the questions below program 3-1 program 3-2 program 3-5 tructure User: Joy King – Added: 9/9/12 Watch Video Week’s assigments Submit the Raptor solutions for programs from Chapter 3 1. Program …
  • Using the IDLE development environment, make a Python¬† script ¬†named¬†tryme4.py.¬†(Note: an alternative to IDLE is to use a free account on the pythonanywhere website:¬†https://www.pythonanywhere.co…
  • make a new .py file for Checkpoint 3 that starts with the line from Date import Date This will allow you to use the Date class without having to write something like d = Date.Date() which is what you …
  • def is_sink(elevation_map: List[List[int]], cell: List[int]) -> bool: ¬†¬†“””Return True if and only if cell exists in the elevation map ¬†¬†elevation_map and cell is a sink. ¬†¬†Precondition: elev…
    • LAB: Count input length without spaces, periods, or commas Given a line of text as input, output the number of characters excluding spaces, periods, or commas. Ex: If the input is: Listen, Mr. J…
  • 14 (Ch 5) LAB Warm up: Drawing a right triangle (Python 3)
  • PART 2: Coding ¬† SPECIFICATION ¬† Descriptio n: This program uses the covid_comorbidities_USsummary.csv data to print totals and create a bar and pie charts showing the number of peopl…
  • I need to make a Python program that does the following.¬† I need to make a string that is a long series of words separated by spaces. The string can be names, favorite foods, animals, anything. Then …
  • i hope tutor jobelle answer this question. please answer the 1st question in the link https://drive.google.com/drive/folders/1zH2j7jOelIn57GcVKWOPdh-ZsSLrexz0
  • Hi , I’m Jun , I have a task to do which is to take the text file as input and represent in 2D dimension table :¬† The textfile as input : – – – – X – – – – – X – – – – – – X X – and this is what I’ve…
  • Exception Handling You decide to upload your recent project to a programming community website for feedback, and one thing that community users keep pointing to is the lack of exception handling. Real…
  • 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): ¬†¬†¬†¬†“”” …
  • . G h icampus.instructure.com + 88 a Amazon Simple Hire Checklist Lecture Notes and Videos for Chapter 9: 2021FL-MATH-171-W… Calculus 2: Modeling with Differential Equations (Video #11) -… x …
  • How do I write the code for this?. Introduction to Programming (I Functions (14th October, 2021) Create a function that takes three integers: a, b, x. . Return True if x is an element of [a, b] range …
  • What is a function that will ask the user how many integer division problems they want to practice. Then create a loop that will create integer division problems using random numbers. Then later displ…
  • Q8: Filling the missing values in the specified formate¬∂ You will be given a list of lists, each sublist will be of length 2 i.e. [[x,y],[p,q],[l,m]..[r,s]] consider its like a martrix of n rows and …
  • Pet Class: Design a class named Pet, which should have the following fields: name: The name field holds the name of a pet. type: The type field holds the type of animal that a pet is. Example values a…
  • If your python script contains two or more functionalities, how can you run the script continuously to allow the user to select any one of these functionalities without restarting your program in a ne…
  • Introduction In this assignment, you will write a program to recommend medical treatments based on the clinical attributes of a patient. You will be using the invasive Breast Carcinoma (BRCA) dataset …
  • The client, Indigo Community Services and Health Hub, takes on new customers every week. The customer service staff need a folder for each new customer, which is used to store all the communications a…
  • Question1: Handwriting Recognition using Machine Learning! Write and submit your python codes in “Jupyter Notebook” to perform the following tasks. Make sure to provide proper descriptions as MarkDown…
  • Import the students list from the given Python script (i.e. data.py). You may use the given script (i.e. template.py) as a starting template to address the following. ¬† here is the template.py: from …
    • In this assignment I need pet inventory application by fulfilling the requirements given below.¬†for which i must first create the classes described below.¬†Then I HAVE TO MAKE driver pr…
  • Write a program that prompts the user for their classification. If they are a junior or senior, prompt the user for the following: Attending post-graduate school Going to work Have other plans If they…
  • I am struggling with doing this optional practice problem in my CSE class. Do you know how to code this? Write a program that Ô¨Ārst gets a list of integers from input That list is followed by two mor…
  • Greedy Residual Fitting question: The relevant link: https://drive.google.com/file/d/1Mvt3EDArVGdIEiN9h-OmvhB6yfApIGt0/view?usp=sharing We start using a greedy approach to multivariate regression. Ass…
  • Create the specification of an ADT (Abstract Data Type) and the respective class in Python for natural numbers, with the constants 1 and 0. For the methods consider equality, sum and product. The prog…
  • Discussion Forum Unit 6 Describe the difference between¬† objects ¬†and¬† values ¬†using the terms ” equivalent ” and ” identical “. Illustrate the difference using your own examples with Python lists…
  • This assignment will extend Unit 3 Lab 1. You will develop a new class, ArtistTurtle, that extends the turtle class to include a new method, draw_smiley. The draw_smiley method should have a size para…
  • filename = raw_input(“Enter filename to read: “) file = open(filename) print “Last Name\tHours Worked\tWages Paid” print “———\t————\t———-” for line in file: name, wage, hours = lin…
  • Develop a wxPython application that will allow the user to select from a menu selection to generate artificial IoT data.¬† ¬† Use the faker package to generate the following data: ¬† 1000 User records…
  • 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…
  • How to print dictionary in a file vertically so that each line has one key and one value
  • 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 for high school, the available val…
  • As text¬† ¬† ¬† from datetime import *¬† from calendar import *¬† def isValidYear(year):¬† if year.isdigit():¬† if int(year) >= MINYEAR and int(year) <= MAXYEAR: #constants imported from datetim…
  • Use a dictionary method to return all the keys of the dictionary as a view object. Select the code to return the output d = { ‘title’ : ‘The Giver’, ‘author’ : ‘Lois Lowry’ , ‘rating’ : 4.13 V d. ? in…
  • A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year takes place…
  • 2 Write a program that repeatedly prompts a user for integer numbers until the user enters ‘done’. Once ‘done’ is entered, print out the largest and smallest of the numbers. If the user enters anyth…
  • # Define variable to hold grand total called ‘grand_total’ #Define a ‘for’ loop. for ??????? in ?????????: #Calculate the total cost for the grocery_item. #Add the item_total to the grand_total #Ô¨āu…
  • An ‘if condition’ can be used in many ways. Explain all of these ways with the help of suitable example code
  • Sven’s Sweets sells gourmet cookies. His wholesale orders for special occasions must be placed in 10-box cases. The “Spooky Special” box costs Sven $10 wholesale and sells for $12 retail. Any boxes no…
  • . Academic Plan x Discussion zy Section 4.3 – CYB 130T: Object-O X + V X – -> C @ learn.zybooks.com/zybook/CYB_130T_55317551/chapter/4/section/3 =zyBooks My library > CYB 130T: Object-Oriented…
  • The purpose of this assignment is to become more familiar with bit-level representations of integers and floating-point numbers. In this project, you will implement an application, in C, Java or Pytho…
  • I am trying to get my code to do the following: -Update my CSV file with the winner of the game and their score -Have the CSV file keep adding each winner from game sessions, it currently just overwri…
  • Write a program that uses the datetime library to get the current time and then separately display the hours, minutes, and whole seconds portions of the time. This should be done by defining 3 differe…
  • The operands of the logical operators should be boolean expressions, but Python is not very strict. Any nonzero number is interpreted as True.
  • Add a command to this chapter’s case study program that allows the user to view the contents of a file in the current working directory. When the command is selected, the program should display a list…
  • Part 1 The following 2 debugging assignments begins with some comments (lines that begin with 2 slashes) that describes the program. Examine the pseudocode that follows the introductory comments. Disc…
  • Write a function to read data from a file. The function q2_func that you need to write has the following def line: def q2_func(filename): where the input filename is a string containing the name of th…
  • Please read it carefully and do it as they said. PSP_Assignment_2_202003.pdf X Course Hero X . New tab x + X O https://moodle-saibt.axis.navitas.com/pluginfile.php/254371/mod_resource/content/0/PSP_As…
  • I need to turn this pseudocode into a python program. ¬†Input your full name¬† ¬†¬†Input your current age ¬†¬†Input your desired retirement age ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Calculate the number of ye…
  • Using Python 3.8. Need help with these 2 questions, they are connected. THANK YOU! 1.) A¬† Prime Number ¬†is an integer divisible only by 1 and itself. All integers less than or equal to 1 are¬†NOT¬†p…
  • help please Q1. The daily spending of 5 customers in PKR on Product X and Product Y is as under: [03 Marks] Customer X Y AWNH 20 40 80 20 90 30 10 50 5 85 10 a) Plot a scatter chart. Take Product X on…
  • PYTHON PROGRAM Note: Machine Problems: import of numpy/tabulate modules is not allowed do not use global variables I inserted a png file pf the problem below 2. Write a Python program that will load a…
  • INSTRUCTIONS This assignment tests¬†your ability to create a simple regression solution to a prediction problem. You will use a dataset of bike rentals from¬†Capital Bikeshare system, Washington D.C.,…
  • help with python plz ¬† Consider the classification task in question 4. (question 4 is down below) Pick a feature selection method (e.g. mutual info classif). 5.a Report the top 5 ranked features. 5.b…
  • Update the program to improve the formatting of the numbers and the strings. ¬† Console ¬† ================================================================ ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Baseball…
  • Can someone do a screen share and show me how to execute this python source code please?
  • Please help me with these python exercises so that I may study them one by one run each exercise on your compiler and screenshot the output
  • What is the code for this on python? 2. Given f(x) = 1/ x^3 : a) Find (f(x + h) ‚ąí f(x))/ h , then expand and simplify the result (in that order) b) Substitute h = 0 into your result. In a print stat…
  • Note: For the data FIFA world cup data and phone data (CSV File ), you may refer to the drive link as I could not able to attach the file in it. https://drive.google.com/drive/folders/11sceYzaBGAYcsbh…
  • Hi, I am having trouble writing a Python program code for this pseudocode. Please help thank you. #Random number, loop while true #ask user for number. Check to see if the value is a number between 1 …
  • Described (in detail and with an example) how to use 1D Covnets for spelling correction.
  • Assignment – Game – Player Class The first step will be our Player Class. To accomplish this, we will need to do the following: ¬† We need to install blessed so we can get color in our console. Go to …
  • I keep receiving an error message when I RUN my code. I believe the error is in my source code for defining and initializing a list and the source code to opening and reading a txt.file. I would like …
  • please help me with the question. Please refer to the attachment for information. (1 question) Functions file: 2def.py Restrictions: this function file cannot use: print, sort, max you may have no cod…
  • Create the zigzag.py program from the directions contained in the Zigzag.pdf file. (This is also listed on pages 72 – 74 of the 2nd Edition.) 2. Add three comment lines at the top of the program th…
  • i couldnt understand how to combine two program and write them in txt file Problem 2. (Basic Filter) Compose a filter temperline. py that reads a sequence of integers between 0 and 99 and writes 10 in…
  • What can I do to this code to make it satisfy this problem? : Create, a mathematical model of population growth in which the growth ratio is highest at a certain optimal population size, but it goe…
  • What would the following Python code print out? stuff = dict() print (stuff.get( ‘candy’ ,-1)) What would the following Python code print out? stuff = dict() print(stuff[‘candy’])
  • For example, we have some people rate the sentiment of a couple of sentences. There are two classes: pos (positive) and neg (negative) The rated sentences are listed below ¬† semantic_data = [(‘I l…
  • How do I design a flowchart in Raptor that simulates a slot machine game?¬†When the program starts,¬†it¬†should greet user and then start the game. 1.¬†¬†¬†¬†¬†¬†For each game ask the user for a bet a…
  • a program to read data from the file “water.txt”, which was created in Problem 1.¬†Calculate water charge for each customer.¬†Residential customers pay $0.005 per gallon for the first 6000 gallons.¬†I…
  • Write a function called prev_month(this_month) that takes a string of 3 characters as an argument representing a month abbreviation and returns the 3 character abbreviation for the previous month. Use…
  • list of integers from 0 through 52 and assign that list to the variable¬†numbers
  • . 1. [4 marks] In a file called ql.py, write a function called isPalindrome() that takes a string as the input and returns True if the string is a palindrome and False if it is not. A palindrome is …
  • Hello, any help you can provide is appreciated. The team I am working with and I are very confused. Thank you. ¬† . I am the most confused about having the user “make a move” but I am confused abou…
  • These are general python questions: What are the methods associated with an object of type ‘dictionary’? What are the attributes associated with an object of type ‘dictionary’?¬†¬† What are the two py…
  • A company has developed a product line of pig foods with different¬†growth rates.¬†¬†The growth rate is¬†the percentage rate at which a pig’s weight will increase each week.¬†For example, one food cou…
  • I’m creating a user interface that will convert a temperature from either Celsius to Fahrenheit or vice versa depending on the radio button the user picks. I need help with my main function determinin…
  • Hello Tutor. I have been working on code for an indexer. It can parse the terms in a corpus, add them to a database and process them with a porter stemmer and do other processing. Although I know that…
  • 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…
  • ) Using a dictionary with string keys and integer values, implement a simple database for tracking different items and their quantities in inventory. That is, for a dictionary¬† dict ,¬† dict[‘apples’…
  • 1 PomC) What type of data is assigned to var1? (iLe, string, integer, ist Budies) some_list = [ ["a", "9"], ["b", 1] ] var1 = some_list[ 1 ]
  • How should I start to write the member functions 1. def selectNGramModel (self, sentence) : 2. def weightedChoice (self, candidates) : 3. def getNextToken (self, sentence, filter=None) : also some tes…
  • Help with List ¬† 1. How do return a copy of the list containing the values(data) between two cutoffs? For example, if we are given an input_list, a lower cut off value and an upper cut off value, How…
  • Based on this, ¬† I need help with coding for these two parts. These are based on python. ¬† ¬† ¬†. b_capgain = 3000 b_year = 3000 b_age = 3000 epsilon = 1 n = len(adult_data) def query1(): return np….
  • need quality Im receiving the following error for the code below: farthest_unlawful_possession_of_handgun_crime_map = folium.Map( location =(41.8781, -87.6298),zoom_start=11) folium.Choropleth(geo_dat…
  • Write a program that outputs inflation rates for two successive years and whether the inflation is increasing or decreasing.¬† Ask the user to input the name of a product, the current price of the pro…
  • q3-find k = 14 smallest value¬†in array using partition method of numpy while array is¬† X = np.random.randint(0, 100, (60))
  • _Ex1_Define a recursive function¬†removeAll¬†that expects an item and a Lisp-like list as arguments. This function returns a Lisp-like list with all of the instances of the item removed. (Hint: Keep o…
  • . Test 2 Write, save, and run a Python program, named Test2 py that will do the following when run. Upload your Test2 py file to the Test 2 assignment folder in the course shell under Assessments &g…
  • [Help] Please help, don’t use functions or modules, thanks!!
  • Use Seaborn to create scatter chart for the 6-months bins for total orders for every product for the following list of Zip Codes: [60623, 60663, 60609, 60660, 60615, 60622] ¬† cursor.execute(“””SEL…
  • What is the output of the following code? age = 15 . age to drive = 15 if age == age_to drive: print (age == age to drive) print ("I drove before 15") True I drove before 15 True I drove bef…
  • How do i get this code to print each partition information seperately after the information has been entered. def main(): ¬†¬†hex_string = input(‘Input a hexadecimal string:’) ¬†¬†byte_array = bytearr…
  • Write a Python application that allows the user to convert between temperatures in fahrenheit and temperatures in celsius. Below are the formulas for both, where Tc is temperature in celsius and Tf is…
  • When I enter 555-GET-FOOD ¬†I get 3663 but I should get 555-438-3663 What is wrong? ¬† Code: def main(): ¬† ¬†phoneNumber=input(“Enter a phone number to be translated:”) ¬† ¬†phoneNumberSplit=phoneNum…
  • Can you help with this python function. Only use one return statement (at the end of the function). ¬†¬†¬†¬† def ¬†combine( self ,¬† source1 ,¬† source2 ): ¬†¬†¬†¬†¬†¬†¬†¬†“”” ¬†¬†¬†¬†¬†¬†¬†¬†——–…
  • http://prntscr.com/l9513i Can someone help me with this? I don’t quite get how to strip and split lists to only count the positive integer numbers.
  • Write a program that computes the fuel efficiency of a multi-leg journey. (Refer to exercise 9 of Chapter 8.) ¬† Prompt for the starting odometer reading. ¬† Get information about a series of legs. Fo…
  • Galileo was an unmanned NASA spacecraft which studied the planet Jupiter and its moons, as well as several other solar system bodies. It was launched on October 18, 1989, and arrived at Jupiter on Dec…
  • Perform the following activities in Python. The data can be found here: https://drive.google.com/drive/folders/1c70af2WNeS_TKEUdbrMvKScStIeVd8M4?usp=sharing 1.¬†¬†¬†¬†Load the data in each of the text…
  • #Task 3 #Complete the function that takes as input an integer for a number of days and prints the total number of seconds in that number of days import datetime def currentDate(x): currentDate(4) #exp…
  • Password validation. Please write in Python and using def functions. Part 1a: Password Validation You have been asked to write a password validation program for a small website. The website requires i…
  • python programing: .py file required 1. Cryptography using python. One of these algorithms is Caesar. Look into the code given there and test it on your PyCharm, pass to the function , ” learning comp…
  • Design a Python program that will demonstrate the confidentiality and integrity tenets of protecting Personally Identifiable Information on some same healthcare data. Examine the sample (fake) dataset…
  • what is the code for Problem 6? Thanks # BEGIN PROBLEM 6 ll * * * YOUR CODE HERE * * * II # END PROBLEM 6 return scoreo, score1
  • I am supposed to take in a string representing an integer as input, and outputs yes if every character is a digit 0-9. Ex: If the input is: 1995 the output is: yes Ex: If the input is: 42,000 or any s…
  • In Python A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output is the miles walked. Output each floating-point value with two …
  • I’m having a hard time creating this code and executing it without error. Please help me understand… I need to make an automobile class that will be used by a dealership as a vehicle inventory progr…
  • Problem 3. Problem 3. (10 points) (a) Write a program to determine if a positive integer, N, is prime. (b) In terms of N, what is the worst-case running time of your program? (c) Let B equal the numbe…
  • could u aid with this. Be sure to use the .format method of python and make sure to separate the main file and the function file. As well, only use one return statement in the function (at the end of …
  • I have this question mostly figured out, but I am having trouble with one part. The question is as follows: Define and test a function¬†myRange. This function should behave like Python’s standard¬†ran…
  • Data Analysis Using Python by University of Pennsylvania. [9] : 11 11 " Q4: Who is the director with the most movies? First get the number of movies peru "director_name", then save the …
  • Question Im (still) having trouble understanding image encryption using XOR:… ¬† Im (still) having trouble understanding image encryption using XOR: so the code i have: ¬† import numpy as np import …
  • I’m having trouble defining this function. I know I have to use string methods ( THE ONES THAT ARE ALLOWED IN THE GUIDELINES ) in order to filter the string and get rid of spaces, whilst also checking…
  • def¬†is_leap(year): ¬†¬†¬†¬†leap¬†=¬†False ¬†¬†¬†¬† ¬†¬†¬† if¬†(year%4¬†==¬†0): ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† if(year%100¬†==¬†0): ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† if¬†(year%400¬†==¬†0): ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†…
  • def factorial(n: int) -> int: “””Return n! for positive values of n. >>> factorial(1) 1 >>> factorial(2) 2 >>> factorial(3) 6 >>> factorial(4) 24 “”” fact = 1 fo…
  • 10.1: Simon says. ¬† “Simon Says” is a memory game where “Simon” outputs a sequence of 10 characters (R, G, B, Y) and the user must repeat the sequence. Create a for loop that compares the two strin…
    • Which of the following about if statement is true? A. The condition is a Boolean expression B. A Boolean expression is something the computer can test whether it is true or not C. If statement is u…
  • Hello I typed this code. I have to show the most popular utility company according to the bills.CSV file (link in the comments) i.e. the most popular utility company is the one with the most bills aga…
  • Using the text below, make a python dictionary and: released = { ‘iphone’ : 2007, ‘iphone 3G’ : 2008, ‘iphone 3GS’ : 2009, ‘iphone 4’ : 2010, ‘iphone 4S’ : 2011, ‘iphone 5’ : 2012, ‘iphone 5s’ : 2013,…
  • All the info needed should be here. Thank you!! 2. E 2) Bagging classifier from decision trees In this section, you will implement a Bagging algorithm based on the DecisionTreeClassifier I provided a …
  • import math import numpy as np from functools import reduce full_roster = { ¬† ¬† “Manny Machado” : “Dodgers” , ¬† ¬† “Yasiel Puig” : “Dodgers” , ¬† ¬† “Aaron Judge” : “Yankees” , ¬† ¬† “Clayton Kersh…
  • idx=length.index(max(length))¬† ¬†¬†(idx1,idx2)=xypos[idx] explain to me what these lines of code do
  • Explain the importance of providing parameters to methods, and describe how a parameter is declared within a header.
  • . 1 Introduction This lab is to provide you with coding experience of a greedy algorithm (Algorithm 1) for solving the set covering problem (SCP) for cases of k-cover. 2 Deliverables Submit a single…
  • Hello, ¬† Ive been asked to 2 a couple of things with a dataset I brough into Jupyter. The goal of the dataset is to identify individuals for promotion. I need to: ¬† 1) add some descriptive analytics…
  • Tiny Sales Company Phase 1Overview You have been approached by the Tiny Sales Company, a small distribution company, about the possibility of creating a project that will automate their existing manua…
  • Describe how tuples can be useful with loops over lists and dictionaries, and give Python code examples. Your descriptions and examples should include the following: the zip function, the enumerate fu…
  • For this assignment, you need to create a checklist, a flowchart and a program for the Monroe Coffee House…the details are in the attached document… ¬† As you can see above, this program …
  • I don’t thoroughly understand how to do operations, this is a question that was done for last week, but I had gotten wrong. My teacher doesn’t give answers, so I’m just stumped. Can I get someone to e…
  • Hello, can anyone help me built a code for my finals? these are the instructions: Build a new Python script called final.py. It should contain a shebang, and the main block that will only run when the…
  • Which of the Following is the use of function in python? Options: A> all answers are correct b> Functions don’t provide better modularity for your application c> Functions are reusable pieces…
  • PART A (Respond to the following question a,b,c) : ¬† Code Snippets Code 1 def yell(name, phrase): ¬†¬†¬†print(name, “, “, phrase.upper(), “!”, sep=””) ¬† def count(num): ¬†¬†¬†print(num, “one-thousan…
  • Could you please write me a user manual for this code, cheers ¬† ¬† ¬† detail_emp={} inventary={‘R’:0,’S’:0,’L’:0,’M’:0} name_gadget={‘R’:’Router’,”S”:’Switches’,”L”:”Laptop”,”M”:”Mainframe”} def main…
  • Program: Foot Bones Quiz ¬† Create a function that will iterate through foot_bones looking for a match of a string argument Call the function 2 times with the name of a footbone print immediate feedba…
  • Write the code for your Retirement_Account class, Traditional, and Robo accounts. Use the stock_class code as a guide. Check your code comments. Comments should describe each major section of code. In…
  • Write a Python module, solver.py, to find the roots of functions of one variable. In class, we implemented the Secant Method. We will add a few more methods to this module here: 1. Secant method: see …
  • This must be done in PySpark! I have a Caesar Cipher problem where I need to load in an encrypted text file, take a sample of that text, compare character frequencies to the [expected frequencies][1] …
  • Write a program on Python 3.10.2 ( https://www.python.org/downloads/ )that manages the email address of our contacts. Your program must contain a class named¬† contact ¬†that has 3 attributes (instanc…
  • How to calculate the distance between two columns in Euclidian in a data frame ¬†(it will be python code)
  • How can I read txt into lists??? Using os maybe For example a txt file with tickers in it: FB BABA T GE INTC TSLA NVDA PG TSM CSCO ABBV INTC PYPL AAPL MSFT AAL DAL KO V JNJ PFE DIS CODE: def get_tics(…
  • . Scraping fidelity.com In this assignment, you will scrape data from fidelity.com. The goal of the exercise is to get the latest sector performance data from the US markets, and to get the to…
  • Respond to the following :¬† It is important to program your code efficiently.¬†Efficient code manages errors and exceptions and cleans up memory after it ends. The try-except statements are helpful i…
  • Could you help with these 7. Write and test the following function: I def matrix_rotate_right(a) : Returns a copy of a 20 matrix rotated to the right. a must be unchanged. Use: b = matrix_rotate_right…
  • As developers, how do I explain the process for writing a method that calculates the daily price for a mutual fund? What questions do you need to ask so that I can begin to calculate the daily price f…
  • im stuck between these the code for the account.py ” import pickle class Account(object): ¬†¬†pass #remove pass instruction and class definition here class CheckingAccount(Account): ¬†¬†pass #remove p…
  • True or False 1.¬†¬†¬†A dictionary is an ordered data structure. 2.¬†¬†¬†A stack is a random-access data structure. 3.¬†¬†¬†A standard list in Python is an unordered data structure. 4.¬†¬†¬†A python t…
  • Write a function rep_every_other(sentence, char) that receives a sentence and a character and replaces every other occurrence of that character in that sentence (starting with the first one) with a “*…
  • Please help me add 2 buttons to the application below, add 2 buttons to modify the value in the Entry. Instruction: If this value is the displayed result, also invert the result. – a +/- button to inv…
  • Nobody likes a pocket of low denomination coins.¬† When a cashier gives you change, most likely, you want him to give you the largest coin denominations possible.¬† Let’s designate quarters, dimes,…
  • http://prntscr.com/l95c5s I don’t understand how to make the function return True if the list has is at least one run. I’d appreciate any help.
  • Function Description: The Python function is mortgage() It receives 2 parameters (salePrice, creditScore ) from the program that invokes it.. The first is a float; the second is an integer. The …
  • The representation of two queens on a 3×3 grid is as follows. Chess in NxN sizes Possible placement of the viziers on the board without eating / attacking each other The following equation is given…
  • I’m trying to figure out what I’m doing wrong on line 8, I’m having trouble with the spacing. I’ve tried getting rid of the spaces between the B and + and + and C/3, but it still is wrong.
  • Can anyone help me figure out why my app isnt running on heroku and here is my github repository https://github.com/gummi989/midannarverkefni
  • Get a python function that makes a random password from capitalized and lowercase letters, numbers, and !@#$%^&*. ¬†It should have an argument for password length, and should check to make sure th…
  • General Quiz Instructions . This 75-minute exam has 12 questions, and it is worth a total of 50 points. Watch the Canvas timer, quiz will submit automatically 75 min after you start it. All quizzes su…
  • Give python code for to multiply 2 given numbers. Iam new to programming.
  • Can you help turn this game into a python code in phycharm. PSUEDOCODE: INTRO: text setting the scene, two options SOUTH or EAST IF EAST, player enters a hallway with a door at the end (No Items), two…
  • please can you help me? I would greatly appreciate it ¬†. Requirement 02 – Pseudocode [10 marks] Background: Pseudocode is regularly created to help design applications before any actual code is wr…
  • Draw an inheritance diagram that shows the inheritance relationships between the classes: C ) School Classes – caution : Some classes don’t have an inheritance relationship with the other classes 4…
  • We have the following population data for mock states A-G. Marij_Legal indicates via dummy variable whether or not the state has legalized marijuana. # Mock Population Data random_pop1 = [random.randi…
  • Explain the computational complexity of the code below: def relevant(products, preferences): ¬†¬†“”” ¬†¬†Filters a product table for relevant products given user preferences. ¬†¬†Input : A product tab…
  • Python Language ¬†. Programming Activity – Activity 2: Personal Message: Store a person’s name in a variable, and print a message to that person Your message should be simple, such as, “Hello Eric…
  • please really explain the code. A) What is the output for the following code? B) Explain what the code is doing. i = 0 mypi = 0.0 while round(mypi*4,2) != 3.14: mypi + = ( (-1)**i / (2.0*i + 1)) i+= 1…
  • 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…
  • Quiz Instructions this 75-minute exam has 12 questions, and it is worth a total of 50 points. Watch the Canvas timer, quiz will submit automatically 75 min after you start it. All quizzes submit will …
  • Need a little help with this function………. def get_movie_credits_for_person(self, person_id:str, vote_avg_threshold:float=None)->list : “”” ¬†¬†¬†¬†Using the TMDb API, get the movie credits fo…
  • Can you help me build this with Apache Spark.¬† Select a publicly available dataset of any size Build a regression model using random forest regression Build a regression model using linear regression…
  • The question is shown below : Write a recursive function,¬†displayFiles, that expects a pathname as an argument. The path name can be either the name of a file or the name of a directory. If the pathn…
  • Programming Project Project Descrpiton You have learned quite a lot about the basics of Python programming.¬†In this project, you will integrate what you have learned to develop a larger program. This…
  • Write a program that defines each of the following two functions.¬†Each function has a single¬† int parameter¬† N ; when called, it should print the given pattern for this¬† N .¬† Then define and call…
  • Part 1 How can I produce a list of words whose word length is an even number using a function¬† selectWord ¬†that is passed the string parameter¬† word . The function returns¬† True ¬†if the length of…
  • Understanding Python please complete the small program (do not use more than 35-40 lines). ¬†. import sys jones’ handles all the numbers from 1-9 ones = {"one": 1, "two": 2, "…
  • Dear tutors : Could you explain to me with details mylist = [ [2,4,1], [1,2,3], [2,3,5] ] a=0 total = 0 while a < 3: ¬†¬†b = 0 ¬†¬†while b < 2: ¬†¬†¬†¬†total += mylist[a][b] ¬†¬†¬†¬†b += 1 ¬†¬†a…
  • Create a numpy array [[0, 1, 2], [ 3, 4, 5], [ 6, 7, 8],[ 9, 10, 11]]) and filter the elements greater than 5 .
    • A program that ask user for the name of the file. the program should display the contents of the file with each line preceded with a line number followed by a colon.The line numbering should start …
  • Define a function process_string(s) with the following characteristics in python: It accepts a string s as a parameter I returns a list with the following characteristics: ¬† ¬† ¬† ¬† ¬†¬† The string …
  • Hi, can you explain how to dix this code? Please don’t copy the answers from other websites. Thank you! 2. Write a function locate median that takes a file handle as an input and find the median of a …
  • can you help me with this one? Do not use “for”, any loops, set, any modules other than math. Thanks a lot! . . . < > G online.cs.uwaterloo.ca C Functionally Gridy | Assignment Module 4 | CS 116…
  • u zy Section 13.3 – CSCI 160: Compute X Course Hero x New Tab + X > C A learn.zybooks.com/zybook/UNDCSCI160StokkeFall2021/chapter/13/section/3 =zyBooks My library > CSCI 160: Computer Science | …
  • i plugged this in but why is the answer c instead of b? 3. Assuming a user enters "28" as their favorite number, what is the output of the following program? num = input("Please enter y…
  • Help me with this assignment http://www.cs.middlebury.edu/~cs101/homework/hw10.html
  • In this problem, we will be writing pieces to simulate the¬†Monty hall problem. Monty Hall was the host of “Let’s Make a Deal” in the 1960’s and 70’s. The problem can be summarized by the following: S…
  • I have a dict look like this {‘001’: {‘name’: ‘He’, ‘title’: ‘ProductionWorker’, ‘departament’: ‘department test’, ‘job_title’: ‘worker’, ‘hourly_pay_rate’: 100, ‘weekly_working_hours’: 40, ‘shift’: ‘…
  • Recursion to find sum for each element of the same list in a 2D list¬† ¬† I know in python 3 you can find a sum of a 1D list like the following: def listsum(numList): if len(numList) == 1: return numL…
  • You decide to upload your recent project to a programming community website for feedback, and one thing that community users keep pointing to is the lack of exception handling. Realizing that they are…
  • Write a function called¬†word_count¬†that takes a string and returns a dictionary that maps every case-insensitive word in the string to the number of times it occurs in the string.¬†Don’t worry about…
  • Show that the VC dimension of the triangle hypothesis class is 7 in two dimensions.¬† (Hint: For best separation, it is best to place the seven points equidistant on a circle.)
  • Link to Csv file: https://drive.google.com/file/d/1q6KNmWeRolghLvzOrNGWtbXwfm-JCOw1/view?usp=sharing USVideos.csv – Descriptive Analytics 1 Data Provided: For the project, we will be using YouTube’s o…
  • The first portion is the instructions. The 2nd portion is part of question #1. The yellow highlight is the question I’m asking in the screenshot . . . . . Follow the function design recipe, define a f…
  • Write the python code for merton jump diffusion model
  • How do I begin the first and second section of this lab attached? Lab 7, CPE 101 For this lab you will explore compound data types (objects). Download lab7.zip, place it in your CPE101 directory, and …
  • python program to collect input from the user for two addresses (name, street number, street name, city, state, and zip code) from the command-line prompt. first need to create variables to store the …
  • Could you please help me to simulate pinhole diffraction with python?
  • I need the code please1 Clip x eCampus: Home books.com/zybook/CYB_130_53744141/chapter/5/section/18 zyBooks catalog ? Help ary > CYB 130: Object-Oriented Scripting Language home > 5.18: LAB: Mil…
  • Develop and test a program that allows the user to enter a spelled phone number for the last four digits as below (for example, 410-555-book) and generate the phone number that produces the spellin…
  • Objective: Work with lists Work with lists in functions Work with strings Work with files Assignment: Part 1: We need a program that stores information about a list of students who are members of a cr…
  • please use PYTHON to solve this. thanks a lot. ASAP
    • Import the dataset (the file format is .csv) located at https://ptrainor-iteach.s3-us-west-2.amazonaws.com/survival.csv into R. This data is the survival times (time from cancer diagnosis to death)…
  • Calculate the result of the following function calls. Make sure to show your work tracing the recursive calls. def factorial(n): if n == 0: return 1 else: return n * factorial(n-1) ——————-…
  • You saw the¬† card_dealer.py program that simulates cards being dealt from a deck. We are going to enhance this program so it simulates a simplified version of the game of Blackjack between two virtua…
  • What is the flowchart for the algorithm? Thank you! Algorithm Step 1 Give program description that this program is designed to calculate payroll based on individual wage rate and working hours retriev…
  • #this code was based on the problem seen kn 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…
  • Write a function named draw_triangle() that prints out a right triangle using asterisks.¬† The function takes a single integer parameter that is the base and height of the triangle.¬† You can assume t…
  • Given the equations (a) Solve by Gauss elimination with partial pivoting. Show all steps of the computation. (b) Substitute your results into the original equations to check your answers. ¬† Please so…
  • How do you find log likelihood of data using nbinom?
  • text mining / python programming Reimplement the path similarity between two words in WordNet using the NLTK package. The path similarity between two words is given by 1 1+d where d is the shortest pa…
  • For each of the time complexities give the tightest bound in terms of a simple poly-logarithmic function using big-oh notation. Note: use the ‘^’ symbol to indicate exponents, i.e., write O(n^2) for O…
  • (Problem 3.2.a, p.88) Sales of Riding Mowers: Scatter Plots. A company that manufactures riding mowers wants to identify the best sales prospects for an intensive sales campaign. In particular, the ma…
  • 5.2: ¬†¬†Write python program that does the following: ¬∑¬†¬†¬†¬†¬†takes as input from the user a date and time (24-hour clock) as “MM/DD/YYYY HH:mm:SS” o¬†¬†Assume that everything must be provided …
  • please solve these python code problems. there are five problems. problems are from python zybooks lab. 1. ¬† 2. 3. 4. 5.. the output is: 0 is not a valid interstate highway number Ex: If the input is…
  • INSTRUCTIONS : 1) Python Programming. 2) No use use of built in libraries and built in functions 3) Use comment out for understanding better. 4) Use Functions name and parameter name is same as given …
  • #Using Spark RDDs only from pyspark import SparkContext sc = SparkContext(“local[4]”, “hw1”) import wget fileName = ‘https://people.bu.edu/kalathur/datasets/stocks_2013_2021.txt’ wget.download(fileNam…
  • If i have a dictionary like this {johnny: 5, susie: 7, johnny: -1, abe: 2, abe:3} How could I make it so that the values are added up? So output I want: {johnny: 4, susie:7, abe:5}
  • IE]: 3: Start yeur program with the following code fer main: #Lab 6‚ÄĒ3 Practicing fer leepe #the main functien def main{): #A Basic Fer leep #The Second Ceunter cede #The Accumulater cede #The Avera…
  • An object’s momentum is its mass multiplied by its velocity. You need a program that accepts an object’s mass (in kilograms) and velocity (in meters per second) as inputs, and then outputs its momentu…
  • program that takes in a positive integer as input, and outputs a string of 1’s and 0’s representing the integer in binary. For an integer x, the algorithm is: As long as x is greater than 0 Output x %…
  • How do i get the output from the third image? I am confused. I can’t hard code it. I need to use the data from the last image and double interpolate it to get the desired output from image three. Than…
  • #!/usr/bin/env python3 “”” Code file for M269 20J TMA01 Question 4. Student version 4: 22/04/2020 “”” class WaitingList: ¬†¬†“”” ¬†¬†An implementation of waiting lists, using Python lists. ¬†¬†¬† ¬†¬†…
  • Question 1.1.1. Make an array containing the numbers 2, 4, and 6, in that order. Name it even numbers .. Question 1.1.2. Make an array containing the numbers 0, -1, 1, x, and e, in that order. Name it…
  • 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 …
  • 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…
  • I use this code but I keep getting an error import os import json import sys # Accept root directory as argument and use os.walk to traverse the path root_dir = str(sys.argv[1]) path = os.walk(root_di…
  • a function col_to_list that takes a list of lists of integers and a column number as input. The function returns a single list of integers consisting of numbers from the specified column. If one or mo…
  • PLEASE NEED HELP IN THIS TWO PAPERS YEAR SUMMER 2019 EXAM LEVEL: Bachelor Deadline: COURSE: ICT 2130 Programming in Python 10th October 2019 Lecturer: MOUTLEN Albert, Engineer. TOTAL: 60 marks Instruc…
  • A python code for backpropagation is uploaded on Canvas. Please go over the code and write one page report about all the functions and classes that you see in code.
  • Table 1 ‚ąí CUSTOMERS Table: Table 2 ‚ąí ORDERS Table Query 1: List the customer whose age is between 20 to 25. Query 2: List the customer whose name starts with ‘K’. Query 3: List the customer whose …
  • I have to write this in python. Cannot use numpy. The matrix for this is: [[0,1,0,1,0,0,1,0,0,0],[0,0,1,1,0,1,0,0,1,1],[1,0,0,1,0,0,0,1,0,0],[1,0,1, 0,0,1,0,1,1,1],[1,1,0,0,1,0,0,1,1,1],[1,0,0,0,1,1,1…
  • Please help with example practice problem. ¬† Class Below: https://pastebin.com/228zZxrU Function Below: Test Case Below: https://pastebin.com/iqmArHQN ¬†. class CountingQueue (object) : def _init_(se…
  • Write the code that will produce the outcome above.. List List 1: BB218 Internet in Practice List 2: 1. BB218 2. Jan-April
  • What is the syntax to add 10 contacts (family, friends, business) to a directory (myDirectory.dat) using Python?
  • calculator should have multithreading . ¬†tasked with creating a basic calculator in Python, with a fully functional GUI, using any library they see fit to help implement the GUI Ôā∑.Tutorials explain…
  • please use python (iv) Draw an outline of the phase space and estimate the directions of trajectories within each region separated by those nullclines. 7. Consider the following continuous-time dynami…
  • Write code that iterates over numList and uses a lambda function to compute the square of each value in numList. Print each value and the square of the value on one line. ¬† I’m given: numList = [1,2,…
  • Question 4a and 4b: Race/ethnicity data at KU Here are the number of students by race/ethnicity at KU in the Fall 2020 and Fall 2021. Race / Ethnicity Fall 2020 Fall 2021 Total 27619 27685 American In…
  • Using Random Numbers(Monte Carlo style experiment) to estimate the value of mathematical pi. First generate a random point on the X,Y axis where both X and Y are between 0 and 1. Using those points yo…
  • plz be quick 131 listl = [3, 4,6] list2 = [1, 4] list3 = list2 list4 = list1 list5 = [3, 4,6] list2 [1] = list4 list4 [0] = -1 list1 [1] += 1 Show the state of the notional machine after this code is …
  • 9 Debugging 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…
  • I need help with Flowcharts and a PSEUDO CODE for each problem Demonstrate a pseudo code and a flowchart to solve each problem.¬† ¬†¬†¬†¬†Problem 1:¬†Demonstrate a list that contains the months of the…
  • In the Vole Architecture folder there is a problem that reads as follows load two registers with 3A and 43 respectively and store the sum in memory cell BB¬† ¬† ¬† how can I provide the…
  • ists and arrays can be valuable tools for the programmer. 1. Provide an example of a ‘list’ and explain how it would be used as part of a problem solution. 2. Provide an example of an array and ex…
  • Explain how to synchronize threads to implement critical sections and avoid race conditions.¬† (You can use a related program.)
  • How can I use a for loop to iterate through a list and then print a certain thing based on an if statement inside the for loop in this code? I think this code works fine on Python 2.7 but if I had to …
  • Computer Science Use python to come up with the following regular expression 1.)Find all the words that start and end with an ‘s’ AND have at least one more ‘s’ between the two. For example sisters 2….
  • Example 2 Input: AKUNA, A, 10, 11 : 01:00 AKUNA , A, 10, 11 : 02:00 AKUNA, A, 10, 11 : 03: 00 EXCHANGE , A, 10 , 11 : 04:00 EXCHANGE , A, 10, 11 : 02:00 EXCHANGE , A, 10, 11 : 03:00 Output: True Examp…
  • Hello These are the modules that are installed on the my PC. python-3.7.7-amd64.exe mysql-connector-python-8.0.19-windows-x86-64bit mysql 8.0.19 I am testing connectivity¬†from this article https://de…
  • I need a code for this Python3. I do have some coding but I need more. 1) In the "Task" column, describe each of the programming tasks you must complete in order to build your project. 2) In…
  • #Write a function called write_weird_file. write_weird_file #should take two positional parameters. The first should be #a filename, and the second should be a list. The function #should also have thr…
  • How can I enter any three numbers in Python where the program displays the three numbers in ascending¬†order?
  • For this question, you need to use airquality data. You can access this data from R without any library. This data includes some missing values which are shown as NA in the data set.¬† a) Find the …
  • . 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 t…
  • Using Python Programming, make a menu to select and then make pick-3 or pick-4 lottery number generator. Once chosen, the lottery number will be generated and displayed for the user to see. 0 – 9 are …
  • . o] Write a function deÔ¨Āned as: def Cramer {Rang} : Purpose: use Cramer’s method to Ô¨Ānd the solution to a set of N linear equations expressed in matrix form as Ax = 1). Both A and b are conta…
  • Need help with sections marked #YOUR CODE, the instructions for the code are given in comments #!/usr/bin/python3 #============================================================================== #descr…
  • I need help with this program. I am not sure how to identify the colors in the list that is generated randomly by python. My code and program for this is attached below import random colors=[“R…
  • Please provide python (using pandas) to answer this. Consider the following dataset that has info about 10 people. ID job marital education default housing loan contact P1 unemployed married primary n…
  • How do I add a value to a variable per increment? I am doing a fuel cost program and need to add $29 per 3000 miles. Step 5: Calculate the total cost If the total number of miles the user inputs excee…
  • Fun√ß√£o imprime_palavras(nome_ficheiro) Escreva uma fun√ß√£o em Python, chamada¬† imprime_palavras , que recebe como argumento uma cadeia de caracteres¬† nome_ficheiro , abre o ficheiro cujo nome foi…
  • py: Euclidean distance :¬†how would I write a program that takes two floating point values x and y as command-line arguments and prints the distance of the point (x, y) from the origin (0, 0)…
  • simulate course grade Assignment1= 98/100 assignment2= 100/100 Assignment3 = 99/100 Assignment4= 55/100 Assignmrnt5= 90/100 Assignment6 = 97/100 Assignment7 =88/100 Assignment8=90/100/100 Assignmen…
  • = zyBooks 1.22: LAB: Expression for calories burned during workout LE zyBooks catalog ? Help/FAQ 1 1.21 LAB: Divide by x 1.22 LAB: Expression for calories burned during workout The following equation …
  • The following is an outline of the assignment: Given a prompt, the program will find the first paragraph of the corresponding Wikipedia page. The program will select N (default N=10) random words, whi…
  • IN PYTHON create a function conv2d(arr, filter, p) to implement 2-D convolution with zero padding of size p (no strides, no dilation). (Zero-padding means that we ‘pad’ zeros along the borders) given …
  • class SingleLinkedList: ¬† class _Node: “””Lightweight, nonpublic class for storing a singly linked node.””” __slots__ = ‘_element’, ‘_next’ # streamline memory usage ¬† def __init__(self, element, ne…
  • The main function is partially written for you. You must include the following code in your program without modifications. def main( ) : course_list = student_list = admin_list =
  • Case Study Domain -Retail Focus Visualize the sales data Business challenge/requirement BigMart is one of the biggest retailers in Europe and has operations across multiple countries. You are a data a…
  • write the following script on Python 3.8.1. Only use basic arithmetic including //, %. (a) Writea function GCD(a,b) which takes as input 2 non-negative integers a, b and returns gcd(a, b). Your functi…
  • Provide four data elements and the corresponding data types that you would use in¬†building a Python application for storing the names, birthdates, and addresses of members of an extended family. Prov…
  • Working on JES and trying to display an image of an Antelope. ¬†I get this error message The error value is name pickAndshow is not defined Name not found globally, A local or global name could not be…
    • What sequence type you should use to create a look-up table between the following departments and colleges? The science college has departments of geo, bio; the Arts college has departments of anth…
  • A file type mismatch detector.¬†Remember that Linux does not care about file extensions, at least not in the same way Windows does.¬†This means it’s possible that we could have actual Python files in …
    • Which NumPy function was used in the lab to initialize all the entries in an array to the value 2022? a) np.fill¬† b) np.init¬† c) np.full d) np.setval
  • I would like support on explaining python DFS & A* algorithms.
  • function write_stock that asks the user to input a company name, its associated ticker symbol (eg. Exxon, XOM), and the price per share of the stock.¬†These are then written to file stock.txt one item…
  • Your program should do the following: 1. Prompt the citizen for their weight in kilograms. 2. Prompt the citizen for their age in solar cycles. 3. Prompt the citizen for their gender identification (R…
  • What is the password that will successfully pass the verify function? ¬†. import sys def verify (submission) : processed = [ ] if len (submission) % 2 != 0: return False for i in range(0, len(submi…
  • 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 represent d…
  • In this return is there a way to print the line sorted by year? if state in line: #after it finds city it checks if the state is in the line return (f”{line}”)#if the state is in that line it returns …
  • I have some rough idea of how the knight moves, but idk if its right or not. I am attaching images of question. Allowed, Required and Forbidden . Required: Use if _name_== ‘_main_’ in each file. . Req…
  • This applications ‘myapp'(a website for a products store) was developed in Django and use with PyCharm . Please help me to answer questionÔľö ¬† Add a ‘Forgot password’ link on login page. It should e…
  • Part A: mpumng Doonean values Trom tne Keyboard Write a simple code to ask the user to enter a Boolean value from the keyboard. The user should be able to enter a value indicating Boolean True and Bo…
  • I got stuck with the last part of this lab, please help. I will attach the data by the end.¬† ¬† The last part of the lab involves computing and storing the following statistics/properties of the data…
  • Please use python code!! Problem 2: Make a histogram Requirements: Write a function ones_and_tens_digit_histogram(numbers) that: Takes as input a list of numbers Produces as output a list of 10 number…
  • Problem: ¬† Provide flowchart for both problems What has been done: #problem 1 #Pseudocode #step 1:- call main function¬† #step 2:- main function call payroll #step 3:- payroll input hours and hourly …
  • Use any one of the programming languages C/C++/Python/Java/R to find the probability that a student receives a test score less than “C’/ greater than “D”/ between “E” and “F” by assuming that the aver…
  • please use comments so I can understand and also provide screenshots of output. Introduction : (Python) The assignment involves using other libraries such as Beautiful Soup and requests libraries and …
  • The aforementioned file’s contents are as follows ¬† angles.csv stance hip angle knee angle ankle angle 0 37.14871979 6.875712395 -20.74449348 1 37.40672188 9.019633293 -23.24953575 2 37.45936508 1…
  • Given the code in the image below, 1. Determine the recurrence relation of the code assuming both appending to a list and string concatenation run in constant time 2. If a has length n, what is the wo…
  • Write a recursive method Total(start) that will return the sum of all the values of the “_element” instance variables for all nodes in a binary tree, where the parameter “start” points to the root nod…
  • Acquire power data from this source: https://www.bmreports.com/bmrs/?q=demand/rollingsystemdemand for at least 10 days and not more than 40 days. The website limits the window size, so you will need t…
  • Hello, I’m looking for some help solving question 1 and question 2 that are shown in the attached screenshots. The first two screenshots have contextual information for the questions and the third scr…
    • Implement the following query using Hadoop streaming and python with the lineorder table. http://rasinsrv07.cstcis.cti.depaul.edu/CSC555/SSBM1/SSBM_schema_hive.sql ( you still have to add the …
  • Yes this is what i’m having a hard time with. Would I just type this code into my python idle
  • Code under below link downloads excel files correctly except cases when there is a space between the two strings, For example for state ‘West Virginia’ it doesn’t download although the link itself wor…
  • Sorted books by barcode string maximum number: Until the End of Time Published in 2022 Barcode string: 54 86 554 Mathematics Series Published in: 1986 Barcode string: 46 57 564 The Soul of a New Machi…
  • Consider a list S=[“a”, “2”, “3”, “4”, “e”].¬† ¬† 4 [3pts]) ¬† Using S, write Python statement to make [“a”, “2”, “3”, “4”, “c”, “e”].¬†¬† ¬† 5 [4pts]) In the following statement, the variable f …
  • Write a function named formAdverb(s) that accepts an adjective string s , then forms an adverb from the adjective, and returns the adverb. – In most cases, an adverb is formed by adding ‘-ly’ to an ad…
  • I am not sure if this is the correct code to count in how many lines the character i appears. That is counting the number of lines when the letter “i” appear in there (ine_count function or num_line)….
  • show skill in data management using Pandas:¬† read in csv file, then perform data cleaning then write code to answer the question below What are the four leading causes of death for Americans? ¬†https…
  • Implement max features functionality: As a part of this task you have to modify your fit and transform functions so that your vocab will contain only 50 terms with top idf scores. This task is simi…
  • cat_names = [“Dewey”, “Peach”, ¬† ¬†“Daisy”, “Cookie”, “Luna”, ¬† ¬†“Fiona”, “Neko Chan”, “Pepper”] x = 1 for CatName in cat_names: ¬† ¬†y = CatName[0] ¬† ¬†if y == “D” or y == “P”: ¬† ¬† ¬† ¬†x = x +…
  • Assume a class of 20 students with attendance ranging from 0 to 100%. The university has decided to give bonus attendance to students with attendance between 70 and 74 %, bringing the total to 75%. Af…
  • Kind of in a time crunch. Would appreciate an answer asap, thanks!. Q11 Graphs 4 Points The dictionary bua_st0ps maps Integers representing bus stops to a list of the bus routes that stop at the bus s…
  • Diabetes is diagnosed by measuring patient’s fasting plasma glucose level (FPG).¬†If FPG is higher than 125, the patient has diabetes.¬†If FPG is higher than 100 but not higher than 125, the patient h…
  • Purpose: To simulate a quarter car based on the¬† ¬† ¬† ¬† ¬† model described in the assignment Inputs: ¬† time ¬† time_array ¬† y_road ¬†an array of road heights ¬† ms ¬† ¬† the mass of 1/4 of the ca…
  • Taylor Series can be used to approximate functions. In this question, we will approximate¬†exex, which is calculated as: exex = ‚ąĎ‚ąěn=0xnn!‚ąĎn=0‚ąěxnn! ¬† Write a function e_approximation(x, n) whi…
  • use the Python programming environment to write a code that can find the intgration of a function using composit Simpson 1/3 and composit Simpson 3/8. use the Python programming environment to write a…
  • Make a Python Package with 5 modules inside of it.¬† Ps. Don’t give me a package about Math arithmetic(add,sub,multiply,divide,remainder)also, don’t give me package about car, animals. Lastly, don’t g…
  • Given an elevation map in a csv file like this: ¬† ¬† Crop a given map using the 2 corners provided so that the new cropped map will have the 2 given corners as in the example below: ¬† How will we co…
  • # ! / Usr / bin / env python import socket import subprocess import sys from datetime import datetime* # Clear the screen subprocess . call ( ‘ clear ‘ , she ]1 = True ) # Ask for input remoteserver …
  • You need a function that calculates the distance an object falls over time.¬†The formula for this is: d = 4.9 * t2 d = distance in meters t = time in seconds Provide program that: a. Prompts the user …
  • What is the return type of function id in python ¬†reprogramming ¬†?
  • Hi there. I am having some trouble getting to the body of this function. I will also provide examples of what ArxivType and NameType are: ArxivType Example: ‘008’: { ID: ‘008’, TITLE: ‘Intro to CS is …
  • Python files only Please Please develop a Python application that meets the requirements described below: ¬† Library: users should be able to search for books by title or by author, and should be able…
  • Hi, I am trying to develop a text based game in python. I am having issues with my loop. It is only reading one command Im not sure what I am doing wrong please help.¬† Here’s my code: #A dictionary f…
  • Brownian motion simulation using Python. For N 2 1 and a collection {{n}-1 of independent identically distributed standard normal random variables, we can approximate a Brownian path at time te [0, 1]…
  • I am trying to display the equation of the answer in this code (I basically want to display the equation of the graph), but I dont know how to do it. refer to the photo this is the code that I did: im…
  • Please solve the problem1 in python language(solutions, plot…) Black-footed ferrets is an introduction of the equation to solve p1 ūüôā ¬†. In: Black-footed ferrets Let PN be the population count of a…
    • (Please do not send your answer in print screens or pictures.) Encapsulate the following Python code in a function named¬†my_sqrt that takes a as a parameter, chooses a starting value for x, and r…
  • Examine Your Data: ¬† Experiment with some of the examples used in the lecture portion of this lesson. Using the same selection techniques that you used earlier, run each line in Steps 1 through 4 fou…
  • Question: Hello, I need help with modifying my code. I am¬† restricted to using “WHILE” loop and “conditional statements.” ¬†The question insists on ¬†not using “FOR” loops or list module As can be se…
  • DESCRIPTION: Complete class OrderedList and implement the following methods. Remember that you cannot simply append to an ordered list. append() and insert() methods should call add() to properly upda…
  • Do Exercise 6.4 from your textbook¬† using recursion ¬†and the¬†is_divisible¬†function from Section 6.4.¬†Your program may assume that both arguments to¬†is_power¬†are positive integers. Note that the…
    • Define a class BankAccount that models a bank account. The constructor should take argument holder with the name of the account holder, and number the ac- count number (an integer). These should b…
  • Write a program that implements merge sort algorithm using an IDE.
  • Create Python code examples that demonstrate each of the following. Do not copy examples from the book or any other source. Try to be creative with your examples to demonstrate that you invented them …
  • Hi, kindly State the several programming languages that that have been influenced by the design and the philosophy of the python’s programming. Thank you.
  • code an function¬†colex_bitlists(n)¬†that accepts as input a non-negative integer¬†n¬†and that returns as output a list of all bitlists of¬†n¬†elements in co-lexicographic order. For example: >>…
  • [M4_CSQ3] Draw a flowchart and construct a python program to Write a Python program to create and accept a two-dimensional list of M elements with different data types. Use this list as a database to …
  • Design a Temprature class in Python. Make two methods: 1. convertFahrenheit – It will take celsius and will print it into Fahrenheit. 2. convertCelsius – It will take Fahrenheit and will convert it in…
  • line 31, in fonctionSelective2 ¬† ¬†if (m[i][j]) % 2 ==0: TypeError: ‘int’ object is not subscriptable What does that mean? How can it be fixed? ¬† ¬† PROBLEM: give a matrix m as input. Output has to …
  • ANSWER THE FOLLOWING QUESTION IN PYTHON AND PUT THE ANSWER IN THE ORGINAL QUESTION WHERE IT IS SUPPOSED TO BE ! ¬† #!/usr/bin/python3 import unittest # ————————————————…
  • this is just a practice question not an assignment .Define a definition for the function, pow(x, N), to compute x N for integer x and integer N, e.g. 3 1001 . (Large numbers will require long integers…
  • Problem – FP growth implementation ¬† A sample dataset has been provided to you in the ‘./data/dataset.pickle’ path. Here are the attributes for the dataset. Use this dataset to test your functions. D…
  • Takes a number between 1 – 32767 from the user and passes the number to a function (print_value) as an argument.¬† The function will display the digits in the number separated by two spaces
  • . 7. (10 points) Supposed you wanted to store a user profile that contained the following fields (and corresponding data types): userID (integer), firstname (string), lastname (string) and salary (f…
  • 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…
  • Explain the tools you would use and how you would debug your script for a logic error, where the program runs successfully but doesn’t give the correct result. And for a syntax error, which crashes th…
  • help¬†. 5. Extract following matrix from the 2D array below (5 pts) array([[ 8, 9, 10], [13, 14, 15], [18, 19, 20]]) In [16] : my_matrix = [ [1, 2,3, 4,5] , [6, 7,8,9, 10] , [11, 12, 13, 14, 15] , [16…
  • For this assignment, make a Python script to allow users to enter the following string values: employeeName, employeeSSN*, employeePhone, employeeEmail, and employeeSalary.
  • https://1drv.ms/x/s!AsJmq4RS6w5ulHUTrVjkBlp4vh8i?e=EqvAGL. A Lab 5] Create a data frame using the mpg.csv file 0 Modify the data frame to drop name, displacement, horsepower, weight, and origin 0 Disp…
  • The new def function should be (def nearestneighbor(p, community, df)) where p is your chosen coordinate, community is as in the case below triangle, and df are the pre defined function that will be u…
  • Please help with python!!! The following is an algorithm in pseudo-code that computes the shortest pairwise distance from a list of points. Implement this algorithm in a Python function called¬†get_sh…
  • Please read it carefully and do, as they said what to do 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/254…
  • Hamedani, M. (2019, February 18). Python tutorial for beginners [Video file]. Retrieved from https://www.youtube.com/watch?v=_uQrJ0TkZlc ¬† By the end of the assignment, you will have worked through t…
  • hi please do the task asap. very very urgent. please read the pages 1,2,3,4 in order answer in python programming. very very urgent. w… ._… “my-.." 1pm…. (35%) Perform Exploratory Data An…
  • need help in this assignment This is a Python programming exercise which will involve using a dictionary and simulation. The two tables shown below are from the course text, Exploring Bioinformatics, …
  • write code in python 3 question: To further expedite the flow of traffic on a specific runway, an Air Traffic Control Station monitors aircraft, already in flight, to determine their best landing orde…
  • COMP 3140 Assignment#3 Due on or before 6/19/2016 at 11:00PM All programs should be written using Python programming languageEach question should be saved in a file name following the format Q#.py. Q1…
  • Construct a computer using turtle graphics that competes against the user. And check which player has a three in a row pattern. def check_game_over(board): signature: listCstr) ‚ÄĒ> bool Given the …
  • Looking for help with assignment 3 so I can identify issues with my own code get a better understanding and then write the code myself after. the assignment questions are listed below: page 1 page 2 p…
  • Write a program that takes in a positive integer as input, and outputs a string of 1’s and 0’s representing the integer in binary. For an integer x, the algorithm is: As long as x is greater than 0 Ou…
  • In most cases, it is possible to prevent an exception from terminating a program by using the try and except statements. Select one: True False
  • QUESTION 4 What is the value of variable¬†num¬†after the following code segment? num¬†= 10; while¬†¬†num¬†> 0:¬† ¬†¬†¬†num = num¬†-1; QUESTION 5 What is the value of variable¬†num¬†after the follow…
  • Single Lane Highway Problem Description Certain number of cars are passing a single lane road. Speeds of all cars vary. It is easy to see, that depending on the speeds of the cars various groups will …
  • For data: GeneExpression.txt https://drive.google.com/file/d/1F6L-knsV7666pQ1viadLPA3GY2eQvOTf/view?usp=sharing ¬† Please try to give an explanation of each point if possible. Homework 4: Gene Express…
  • Write a function findMissing(lst) to find missing numbers in a sorted list range (20 pts). Test case : print(findMissing([1, 2, 4, 6, 7, 9, 10])) [3, 5, 8]
  • Coding Guidelines [ ignoring these guidelines will result in marks deductions even if your program is syntactically and logically correct] : 1- Comment your code where necessary to improve the readabi…
  • Here is my dataframe: Hungry Tell Number Age 0 1 Yes 3 16 1 1 Yes 6 16 2 0 No 9 18 3 1 Yes 4 24 4 0 Yes 7 27 5 0 No 8 24 6 1 Yes 15 35 7 1 Yes 8 38 8 0 No 6 39 9 0 Yes 13 35 # Creating the dictionary …
  • program that will ask you to input three numbers and will then print out the largest one. Number: 5 Number: 12 Number: -4 The largest was 12.
  • Design an algorithm using pseudocode or a flowchart to meet the program specifications. Your algorithm must use appropriate constructs. Algorithm Pseudocode: 1-¬†¬†¬†¬†¬†Generate a Random Number betwe…
  • Please help, Thanks a lot Question 1. Study the example below carefully and write a program that works exactly like the example. The text in bold indicates the user input. How many numbers to put into…
  • Questions 8-10 the data in World_2017.xlsx to answer Questions 8-10. In¬†[6]: # load data w =pd.read_excel( “World_2017.xlsx” ) w .head() Out[6]: [Q8] ¬†Use heatmap to show missing data. List¬† countr…
  • Does anyone know how to do this? I’ve been stuck on this for over 2 hours. Given the list NUMS, using a loop, make a new list containing all the odd integers. NUMS = [0,1,2,3,4,5,6,7,8,9]
  • #Beginner — self taught Python coder here I’m practicing A* search (Manhattan distance from current position to goal as the heuristic function) I would like for the code below code to be able to run …
  • Six dump trucks are used to haul coal from the entrance of a small mine to the railroad. The figure below provides a schematic of the dump truck operation. Each truck is loaded by one of the two loade…
  • The program should: 1- Define and implement a function that accepts a list, then returns a list of the minimum and maximum numbers. 2- Call your function by passing on the list the user entered. 3- Lo…
  • Checkpoint 2 Before getting started, copy checki . py to check2. py and develop your code for Checkpoint 2 in check2. py. Now modify your code to ask the user for the id of a restaurant from 1 up to a…
  • I need to modify the functions of a previous assignment that should have try-except structures to deal with any errors that may occur, which is most likely to be an unreadable file path. I have the pr…
  • SUDOKU: INFERENCE (BASIC PYTHON) ¬† Inference is the process of deriving a logical conclusion from a set of given facts. In the context of Sudoku, a player attempts to infer the correct values for emp…
  • Chalkboard In this assignment, you will write a drawing program, a bit like MS Paint or Adobe Photoshop. Your program should open up a graphics window and allow the user to use the mouse to draw on a …
    • LAB: Divide by x Write a program using integers user_num and x as input, and output user_num divided by x three times. Ex: If the input is: 2000 2 Then the output is: 1000 500 250 Note: In Pytho…
  • 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…
  • I am doing this programming assignment for my python class, and I need help completing it Parsing and Manipulating XML Data XML is the basis for many interfaces and web services. Consequently, reading…
  • every_second_line -15 Complete the following function according to its docstring description. Notes: . report is a file open for reading, not a string representing the name of a file. . the method str…
  • Using Python, Juypter Notebooks ¬† The instructions ¬†. Digital Real Estate (2022): Be X M Week 8 | Homework 8: Line: X DRE HW 08 Instructions.pdf * *Course Hero X PDE HW 07 Instructions.pdf X My Driv…
  • I don’t understand why their is an error. Could you help me and tell me why it is? Pc File Edit View Navigate Code Refactor Run Tools VCS Window Help workman_week6 [C:\Users\range\PycharmProjects\work…
  • def readfile(filename): ¬†¬†¬† ¬†¬†#prompt user for filename and open file in read mode ¬†¬†filename = input(“Temperature anomaly filename:”) ¬†¬†list_tmp = [] ¬†¬†file = open(filename, ‘r’) #opening …
  • Given a DataFrame of numeric values, say df = pd.DataFrame(np.random.random(size=(5, 3))) # a 5×3 frame of float values how do you subtract the row mean from each element in the row? ¬† ¬† need code(p…
  • (base) C:\Users\19563>python Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type “help”, “copyright”, “credits” or “license” for more informati…
  • Subject: Write a complete Python program that (1) Read an eight digit decimal integer from the keyboard with proper prompt. The prompt should remind the user that the integer should not start with 0. …
  • Which of the following pairs of statements would cause the expression ¬†a1 and b1 ¬†to evaluate to¬†True? Select one: a1 = True b1 = False a1 = False b1 = True a1 = True b1 = True a1 = False b1 = Fals…
  • Write the function¬† scrabbleTuples ¬†that accepts the list parameter¬† words ¬†and uses the¬† computeScrabbleScore ¬†function developed earlier to return a list of tuples. Each element in the list is…
  • 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 mouse…
  • Train-test split¬∂ It is common practice to randomly partition available data into a training and test set to more accurately gage how well a model will perform on new data. It is possible (and somewh…
  • Writ a Python program that does the following.¬† Creat a string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, animals, an…
  • Problem: An Internet Service Provider (ISP) must, as part of its service to customers, provide a Domain Name Server (DNS). A DNS is a server that maintains a database of domain names, such as www.grif…
  • # 10 points def exercise05( ) : Data set: Boston Load sklearn’s Boston data into a DataFrame (only the data and feature_name as column names) Load sklearn’s Boston target values into a separate DataF…
  • Write program to create list of randomly generated numbers in the range 0-99. Then delete all the numbers from the list that are divisible by 3 and convert all the left numbers into a single digit. E….
  • Errors are :¬† ¬† Output is nearly correct; but whitespace differs. See highlights below. Special character legend ¬† Input Brice Marden 1938 -1 Distant Muses 2000 ¬† Your output Artist: Brice Marden,…
  • Create a function that takes a chair of characters and returns a histogram in the form of a dictionary ‚ÄĘ The main program must take the dictionary and display it in alphabetical order.
  • Google textsearch API Documentation : https://developers.google.com/places/web-service/search#TextSearchRequests Google’s text search API returns a list of places based on a free form string query. Fo…
  • Im trying to do it on Python 3.8.1. I just need to know the input for it. Thanks in Advance, Massimo Ulto You may use %%, //, /, and divmod only to verify the correctness of your functions. (a) Implem…
    • LAB: Name format Many documents use a specific format for a person’s name. Write program whose input is: firstName middleName lastName and whose output is: lastName, firstInitial.middleInitial. …
  • Can u answer me for the following question.I mark it the 3rd questions.I am not sure,That is correct 11 12 13 14 15 16 17 18 What is the correct output of the following code: > >> greeting = …
  • Python Applications for Lab1: (total 100 points): This lab consists of two parts. The first exercise (40 points) allows the user to use a menu to select and then generate pick-3 or pick-4 lottery numb…
  • n=5; for i in range(n): ¬†¬†for j in range(i): ¬†¬†¬†¬†print (‘* ‘, end=””) ¬†¬†print(”) for i in range(n,0,-1): ¬†¬†for j in range(i): ¬†¬†¬†¬†print(‘* ‘, end=””) ¬†¬†print(”) output is: * * * * * …
  • Compare the results of the Python/Java-based SIR with the results obtained from your spreadsheet. Are there differences? What may cause these differences?¬† ¬† a short report that answers questions…
    • Fill in the following blank so that the spatial extent of the environment settings is set to the combined extent of ¬†inputs arcpy.env.extent = “[a]”¬† ________________? 2) Fill in the following bl…
  • Design this python atm program in Object Oriented Programming. The code should have the same functions at the atm program (account as the class). Be sure to have 2 separate files: the main file and th…
  • 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…
  • can someone explain to me how exactly to use flask in python to build a simple web page?
  • I ‘ve linked in Pandas and imported the datetime as date #Step 1(10 points): Remotely Download “Treasury Constant Maturity Rate” from FRED #(https://fred.stlouisfed.org/categories/115) from 02/01/2014…
  • . 1 Task Goal The goal of this assignment is to practice writing regular expressions (regexes). In order to complete this task, students will need to have an understanding of how to write regu…
  • Need help with In[7] and the very next line.. In [7]: M # Write an array called a1 that will be incorrectly partitioned by the tryPartition algorithm above # Your input when run on tryPartition algori…
  • how to implement above fuzzy level controller in python Fuzzy Logic Level Control of a Cylindrical Water Tank Consider a cylindrical water tank, Water enters the tank from the top at a rate proportion…
  • Problem Description A small car yard dealing in second hand cars needs an application to keep records of cars in stock. Details of each car shall include registration( rego ), model , color , price pa…
  • I’m not sure how to finish #10 and get the expected values that the question is asking, I am still missing the “[(‘heTay’, 11), (‘uickqay’, 25), (‘rownbay’, 15), (‘oxfay’, 18), (‘umpsjay’, 21), (‘vero…
  • Here is the instruction for my assignment. Here is the link for data “game_test”, “game_train”, “games”, and “example_submission”. ¬† https://docs.google.com/spreadsheets/d/1pQspMaZQajdQGDG6l4qd48Fv55…
  • Think of your own question and create a chart/graph to answer it (python)
  • This is my code, I am having trouble with the test functions. Also, if you see a more efficient way of writing the code let me know. The goal is to add three separate Red Green and Blue filters to an …
  • . You have four point charges. Their location and charges in cartesian coordinates are: A charge ‚ÄĒq located at (a,D,0), another charge ‚ÄĒq located at (‚ÄĒa,0,0), a third charge +3q located at (0,…
  • Activity 1: ¬†Let’s review these operations first: str1 = “python” str2 = ” rocks” str3 = “!” str4 = str1 + str2 str5 = str4 + str3 * 3 #What is str5?¬† We can also instruct the computer to search for…
  • [35 pts] Imagine you are a small business owner, and you must decide the price at which to sell your product. You have historical data on sales of a similar product. Use the Python notebook titled ‘ P…
  • Can someone explain this code please? Maybe add comments for explanation on the lines of code def read_tsv_file (tsv_file) : ¬† import os ¬† output = [] ¬† with open(tsv_file) as instream: ¬† ¬† for l…
  • Where are module variables, parameters, and temporary variables introduced and initialized in a program?
  • Write program that creates a dictionary containing course numbers and the room numbers of the rooms where the courses meet. The dictionary should have the following key-value pairs: Course Number (key…
  • the simple exponential smoothing model is being applied to forecast sale figure( in 1000) for a real . Consider the simple exponewhat is the point forecast of sales in time period T+1ntial smoothing m…
  • function swap(txt, s1, s2) to swap the contents of the substrings s1 and s2 in the text string txt.¬†Return the result as a new text string.¬†Use the docstring “””Swaps substrings s1 and s2 in text st…
  • 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…
  • Complete the code so the program will print as follows: [Line 1] 1* + 2$; [Line 2] 2* + 1$; [Line 3] 3* + 0$ *$$ **$ *** i=1 while i <= ____: print(“*” * (___) + “$” * (___) i += 1 ¬† Complete the …
  • TicketMachine class, which models a ticket machine that issues flat-fare tickets. The price of a ticket is specified via the constructor (you can use price variable). Your TicketMachine class will…
  • . zy Section 6.12 – IT 140: Introduction X java – Varied amounts of input de X + V X C learn.zybooks.com/zybook/SNHUIT140v3/chapter/6/section/12 it: Apps ) mySNHU Login y! Yahoo @ Homepage – South…..
  • Section 6.2 of your textbook describes incremental development . Do the exercise at the end of that section: As an exercise, use incremental development to make a function called hypotenuse that retur…
  • Please give me solution.. 1. [4 pts] Write a program for scientists to convert between Fahrenheit (F) and Celsius (C). a) Request the scientist to enter 2 inputs: (1) a string (F/C) & (2) a tem…
  • Python 3 language Problem Description Suppose you are a university student and you need to pay 1536 dollars as a tuition fee. The college is offering a 10% discount on the early payment. How much mone…
  • Develop a grade managemennt system in Python for a GWU professor. Follow the 4 steps below. Create a dictionary (e.g., mydict) to record the grade of 3 students (in the given order): Chad: 59; Musk…
  • program that takes a Python Dictionary object and converts it to a¬† JSON file using . dumps . Object should define a celebrity. ¬† please include comments too
  • A basketball game has four quarters.¬† how can I write program to do the following.¬†Use a for loop to input scores of team A and team B in each of the four quarters.¬†Every time a score is entered…
  • Correct the following code and identify the 3 logic errors: def hasFourHs(astring): ¬† ¬†count = 0 ¬† ¬†for ch in astring: ¬† ¬† ¬† ¬†if astring == ‘H’: ¬† ¬† ¬† ¬† ¬† ¬†count = count + 1 ¬† ¬† ¬† ¬† …
  • The volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi”¬†where pi is 3.144. Write a function called print_volume (r) that takes an argument for the radius of the sphere, and prints the vol…
  • TASK 3 Write a python script that will check if an email address is valid or not. You need to write regular expressions for email validation. An email is string or a set of ASCII characters that is di…
  • Required Python code for Univariate, Bivariate and Multi Variate, Time series and trends in sales
  • #1.1. Import functions:¬† Write a new function in your functions file (as noted above). Create 2 functions; one to convert a value from Fahrenheit to celsius and the second function to convert from ce…
  • What can be the default questions and answers for a chatbot application designed using AI for a real estate agency? Main menus are: Buy, Rent and Sell
  • 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…
  • You are given an array A of N integers and an integer K. You want to remove K consecutive elements from A in such a way that the amplitude of the remaining elements will be minimal. The amplitude is t…
  • I can not get the validation part of the program to work the program is asking the user to enter 3 numbers if the user enters a negative number it should ask the user to reenter a number the validatio…
  • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
  • Question: Use the dataset SeaPlaneTravel.csv to build a model to forecast the demand (passenger traffic) of traffic using time series algorithms. Domain – SEA Transportation focus – forecast demand Bu…
  • 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…
  • One of the advantages to writing a program that is subdivided into methods/modules is that such a structure allows different programmers to write separate methods, thus dividing the work. 1. What is t…
  • 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 …
  • Write a fruitful function tag_discount(color, price) that accepts a string color and a float price and returns the amount of the discount based on 25% if the color is ‘red’, 10% if the color is ‘white…
  • Code the following in Python. The input will be read from a file. ¬† SAMPLE INPUT 1 Y Y N N N N Y Y N N N N Y N N Y N N N N ¬† SAMPLE OUTPUT 1 row=4 column=5 grid¬†=¬†[[‘Y’,¬†‘Y’,¬†‘N’,¬†‘N’,¬†‘N’],[‘…
  • Question 1.1.3 What is the longest word in the dataset whose stem wasn’t shortened? Assign that to longest_uncut . Break ties alphabetically from Z to A (so if your options are "albatross" o…
  • **Text mining** plays an important role in many industries because of the prevalence of text in the interactions between customers and company representatives. Even when the customer interaction is by…
  • The process for coding Newton’s method: 1) Begin by creating a function, named F, that takes in some value, ūĚĎ•, and returns the value of some function ūĚĎď at that value, ūĚĎ•. For writing and testi…
  • Hi could you please assist me with this question using a for loop. Don’t use the built in max() function as this is very easy. Instead use a “for loop” to implement the solution. The question is to be…
  • Fulcrum def can_balance(items) : Each element in items is considered to be a physical weight, and guaranteed to be a positive integer. Your task is to find and return a fulcrum position in this list o…
  • I am trying to run a web scraping in python to get all the unique web links that point to other web pages of a certain link, both from that link and outside that domain and then populate them into a C…
  • All the questions should be done by python code, please show all the code.¬† Define a function to find the maximum and minimum of a sequence with n numbers.. Problem 7 (1 pt). Define a function to fin…
  • Script in Eclipse on PyDev…………………….. Note : Each problem may or may not build on the problem before it . 1 . Create the data file ‘ pilots . dat " : Using PYDev in Eclipse , creat…
  • Utilize a programming language (Preferably C++ or python) and design a Turing Machine to perform the activity to search a sub-string ‘abbaab’ ? If no string was found, system must convey appropriate m…
  • Create the Galaxy Map Before exploration can even commence, you need to create map of the known galaxy. In order to do , you are given the size of the galaxy to explore through the MAP_SIZE variable. …
  • A pandas data frame object df¬†has three records and two columns (named ‘a’ and ‘color’) as shown below: ¬† ¬†a ¬† ¬†color 0¬† 1¬† ¬† ¬†r 1¬† ¬†2¬† ¬† ¬†g 2¬† 3¬† ¬† ¬†b ¬† Show the output when the fo…
  • I need help figuring out the bug in the script I created for the following assignments requirements: Assignment instructions: Employee Management System – Functionality 3 Prior to beginning work on th…
  • An oscillator is transmitting a noisy sine-wave z[n], where, In = 100 cost 37an 11 -+ 0} + 25e where, + ~ Uniform(-1, x} and e ~ W(0, 1), 0 < n < 1024 ((0,1), stands for a Gaussian distribution …
  • Lab 4A 100 points 1.5.? [0, 1, 2, 3,4, 5, 5, 7, 8,9] 1 ‚ÄĒ Use the list above to create an array. Print your results. 2 ‚ÄĒ Create an array of 5 @. Print your result. 3 ‚ÄĒ Create a matrix of three ro…
  • Enter a number. Display a message indicating positive or negative.
  • Hello, I need help with some coding. I need to know what code needs to go in the fields that are marked in red for the uploaded document. I am stuck there I don’t know what else to do. I put some code…
  • Create a Python program that contains a function that has two arguments and returns the result of some calculation. Outside the function, prompt the user for two numeric values that are to be passed t…
  • these are the keys and values in the dictionary called inventory basketball :(’50’, ‘B0009KMXWY\n’) candy-bar :(‘5’, ‘B00E3K3UX2\n’) chair :(‘100’, ‘B01N2M6ZTK\n’) Music-player :(‘240’, ‘B07SD95QCP\n’…
  • Write a function that takes in a string and rotates is such that it¬† moves each character one space to the right, with the last character moving to the beginning. Return the rotated string. See more …
  • Create an empty set called my_set, add all odd numbers up to 20 to the set using a fro loop and print the set
  • The volume of a sphere is 4/3ŌÄr3, where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. Write a function called print_volume (r) that takes an argument for the radius of the sphere, a…
  • I have a dictionary like¬† {‘stats’: [‘min’, ‘max’, ‘count’, ‘mean’, ‘stdev’, ’25th’, ’50th’, ’75th’], ‘Hydropower’: [0.0, 1202.43, 88, 48.82, 143.61, 0.885632595, 7.597013, 35.99700727], ‘Solar’: [0….
  • from numpy import asarray¬† dengue_files_A = asarray(‘dengue_files’)¬† dengue_files_A ¬† output – array(‘dengue_files’, dtype=’<U12′) ¬† I need arrays but the output is something else. New to pytho…
  • import argparse import os import time import sys import string # Handle command-line arguments parser = argparse.ArgumentParser() parser.add_argument( “-d” , “–decrypt” , help= ‘Decrypt a file’ , req…
  • you only need to submit the debugging problem and one of the shipping charges problems. ¬† ¬† ¬† ¬† ¬†. Server Not Found X N Student Links – N X Applications | Ra X N ExtraCredit MidTEX N Calendar X L…
  • Please answer below questions: 1: How do you install a Python Module name beautifulsoup4, please write the full command with the proper syntax. (hint, for both question 1 and 2 use the Python Index Pa…
  • Given the pseudocode below: Class Material Private String _type Public Module Material(String type) _type = type End Module Public Module display() Display _type End Module End Class Class Furniture P…
  • What am I missing in this code that is not allowing me to output exact change for parts 4 and 5 of this lab?. 5.19 LAB: Exact change – functions coin bypet ine dollars, quarters, diet. riches, and pin…
  • Once you can demonstrate it working, input a string (using a GUI), encrypt it, store it in a file, retrieve it and finally decrypt and display it underneath your input. I will be impressed if you also…
  • Need help with this python assignment, ¬† This is the link to the assignment, https://docs.google.com/document/d/1Otn6UOlj1TPwDbFgxAa7gSEvgFGxw620nSw1K4sBUG0/edit ¬† Please send the link after the com…
  • Hand trace of solved problem below. It must follow this format in the picture. Solved Problem: python a program to calculate a preeletion. A preeletion is calculated as the total of an inincastet and …
  • Assume that a file containing a series of integers named “numbers.dat”¬†exists¬†on the computer’s disk.¬†Design a program that reads and displays all of the numbers stored in the file and calculates t…
  • could u possibly helpp with these and explainn the solutiion as well Question 1 (2 points) Write the for loop code that uses i to count from n down to O (inclusive) with an Increment of – 1, Question …
  • I made a dictionary, animals, that has animal as keys, with their associated sound as values. animals = {‘dog’: ‘bark’, ¬† ¬† ¬†‘cat’: ‘meow’, ¬† ¬† ¬†‘rabbit’: ‘thump’, ¬† ¬† ¬†‘mouse’: ‘squeak’, ¬† …
  • I want to ask how to solve question 1.1 using python code?. Part 1: More Filters! (3 Points) Blend Filter Function Name: blend Parameter: fmgt – The 2D list representation of an image 1’ng – The 2D li…
  • . Write a trace for the following program: def formatNumber(number): if number % 2 = = 1: formattedNumber = "–" + str( number ) + "-" else: formattedNumber = "-" + str…
  • How many different repetition structures does Python support? What are the major differences between them?
  • Create the dictionary frequent_words, which filter words having frequency greater than five from word_frequency. Finally print the length of dictionary frequent_words. Hint : Use Dictionary comprehens…
  • Please provide me with the correct code with a clear format. < > learn.zybooks.com Module Two – IT-140-T2160 Introduction to Scripting 20EW2 2.13. LAB: Count characters Course Hero =zyBooks My l…
  • functional Python Numeric Exploration: Body Mass Index Recall that the body mass index (BMI) is defined as BMI = m h2 where m is mass, in kilograms, and h is height, in metres. Below is a code that co…
  • I want a python code to merge 100 excel file (with format .csv)?¬† I have 100 excel file in python and I want to merge them in order and make one file. Could you plaese help me?
  • Hello, How can remove a document that I posted by mistake? It was an email that was sent to me and I posted it with a lot more info than I was suppose to.
  • program a codes in the mblock python (ide.mblock.cc). the viruses balls (red balls) is need to put in the quarantine area and need to have a general program or six programs for six patterns to insert …
  • QT – Loops: Division Write some code that uses a loop to find all the values from data_list that are perfectly divisible by 4. Use a for loop with a conditional to do this, and save any values from da…
  • A food fest is organised at the JLN stadium. The stalls from different states and cities have been set up. To make the fest more interesting, multiple games have been arranged which can be played by t…
  • I need help editing the starter code below. I’ve attached the screenshots of the python code. The cache data in yelp_data.txt is located in the drive folder below. Please get back to me asap. https://…
  • need help to write a function in python Write a function called “displaySequence” that accepts 3 numbers (as strings) from the drop down lists in the form (fn, sn, and n). This function displays as ou…
  • i keep getting this wrong ¬†. Home x Content 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/sect…
  • 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…
  • Can anyone help me figure out why my app isnt running on heroku and here is my github repository https://github.com/gummi989/midannarverkefni
  • Write a program that prompts the user for their age larger than 14 years and determines approximately how many breaths ¬†the person has had in their life. The average respiration rate of people change…
  • #task1 movies = pd.read_csv(“C:/Users/kazer/OneDrive/Desktop/mid sem py/movies.csv”) ratings = pd.read_csv(“C:/Users/kazer/OneDrive/Desktop/mid sem py/ratings.csv”) users = pd.read_csv(“C:/Users/kazer…
  • def f (n) : return 2 *n + f(n -1 ) print(f( 3 )) whatis the output ? Consider a Python function¬† f ( x ,¬† y ). For which data types of parameters¬† x ¬†and¬† y ¬†is it possible to get the same resul…
    • Write code statements to make a new file ‘hello.txt’ and store the following text in it. You do not need handle any exceptions. (6 marks) (treat each other with respect.) B. Assume that variable hf…
  • Using turtle graphics, write a program that displays your first and last initials. Choose a color and¬†penSize¬†of your choice.You will want to draw your first initial, raise the turtle’s pen with¬†pe…
  • Some investment advisors say that it’s reasonable to expect a 7% return over the long term in the stock market. Assuming that you begin with $1000 and leave your money invested, calculate and display …
  • Explain in Python, What is a class and a function. Create an example class with a function which will print the sum of two numbers. Set the two numbers as 5 and 6.
  • Hello, I need help solving this Lab simulation, It uses Using math functions for variables and expressions statements and I am very new at python on so I need help solving it. It is very difficult. It…
  • What is the python code? Word triangle Write a program word_triangle.py that contains two functions, iterative_triangle and recursive_triangle, which take a string as input and print a triangle of its…
  • rDIUS . . Find the highest pressure reading and relevant details from concatenated DataFrame and display the output as shown in FIGURE Q2(f). Sensor ID 503 City Gambang PressureReading 975.7 dtype : o…
  • Storyboard (Description and Map) The Giant Troll has taken over the dining room, and your friends who invited you to the Thanksgiving party will be arriving in the next hour. You have to defeat the Gi…
  • The question involves writing a Python program to compute the average quiz grade for a group of five students. Your program should include a list of five names. Using a for loop, it should successivel…
  • Question: Reverse engineering In the FizzBuzz question, it’s an exercise to calculate a value based on whether the input was divisible by 3, 5, or both. If we looped that function through integers fro…
  • The following Vole architecture machine program calculates the sum of 1 + 2 + 3 + 4 + 5 (== 10 in hexadecimal notation 10 == 0F) which register contains the result (sum)?¬† Use the emula…
  • 1 # read a particular line from a file. User provides both the line 2 # number and the file name 3 4 file_str = input( “Open what file:” ) 5 find_line_str = input( “Which line (integer):” ) 6 7 try : …
  • How do you structure a code for a ¬†Metropolis-within Gibbs with the following conditions. In class we highlighted independent normal-gamma priors to estimate the center and spread of an underlying no…
  • Design and implement a single program: to produce a simple graphical representation of a set of triangles, as shown in Figure¬†1. The output should consist of four triangles with sides of length 20, 4…
  • Please solve. Thank you 414#4 Number Analysis Program For this problem, do not use any built-in functions (max, min, average, etc.) You must loop through the array and do the searching and calculating…
  • Problem 2: Create a loop to print the month number and name (do not hard code the month number)
  • Hi, please help me with this question. Please find the details in the attachment. 6. The following code is an example of how to use matplotlib to draw multiple dots or lines by passing lists to the pl…
  • Code a program in python which generates a pair of random integers (x, y) of several thousand digits and applies the extended Euclid algorithm to find their greatest common divisor c as well as a pair…
  • Use Python programming to find most popular single products and co-purchased¬† products from the large transaction data: retail.txt. Each row in retail.txt is one purchase¬† transaction from a custome…
  • . Problem 3 – Angle Adder Precise angle measurements (and geographical coordinates) are often expressed in the DMS (degrees, minutes, seconds) format. For example, we might describe an angle precise…
  • write a code with name with the last letter (Upper cased) to the beginning of the rest of the name. For example, if the name is Rajeev, create Vrajee. Hint: Use name[-1] to access the last digit Chall…
  • hello, can you write the code for this in python? thank you a. The club name (e.g. any name doesn’t matter) b. Monthly fee for regular members (79) c. Discount (on regular fee) for student members (e….
  • It discusses how people can decide on what is morally correct
  • please help me with it 15. (+5) List the letters associated with the following problems in the order of increasing complexity of the problems. A. Sorting a list B. The halting problem C. Searching thr…
  • We want to modify elevation_map so that the elevation of each cell¬† ¬†between cells start and stop, inclusive, changes by amount¬†delta. Header of function: def update_elevation(elevation_map: List[L…
  • Use random number generator in Python to estimate the area of the ellipse: Procedures: Given coordinates of F1,F2, length of major axis, and coordinates of a random number P, note that |PF1| + |PF2| =…
  • INSTRUCTIONS : 1) Python Programming¬† 2) No use use of built in libraries and built in functions 3) Use comment out for understanding better 4) Use Functions name and parameter name is same as given …
  • Complete the¬†read_movies¬†function for the¬†Movie_utilities¬†module. Test this function with the file¬†movies.txt. Test¬†Movie_utilities.py:¬† def read_movies (fv): ¬†¬† “”” ¬†¬†———————…
  • Write a program that asks the user to input names and phone numbers for a phone book. This information should be stored as all uppercase text in a dictionary. The user will be asked to enter -1 to qui…
  • PLEASE PLEASE PLEASE HELP ME with this python coding project. I need any help i can get to create a python coding script. Let’s think about the case of a newly formed dike consisting of stationary m…
  • If i have a dictionary like this {johnny: 5, susie: 7, johnny: -1, abe: 2, abe:3} How could I make it so that the values are added up? So output I want: {johnny: 4, susie:7, abe:5}
  • Hi Python Experts¬† ¬† I am looking for enhancements to already existing python code . Recent code can be found here , kindly save this for testing. https://file.io/EnxCTOdx9tdI This was tracked from …
  • txt ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† Jill.txt ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†Sally.txt Thin Mints, 22.50 ¬† ¬† ¬† ?…
  • in python define a function named¬† countVowelsOdd(…)¬† which receives one string st ¬†and returns¬† the number of vowels in the string that are in an odd position in the string ¬†(recall that vowel…
  • The purpose of this question is to test your understanding of how to define a new function that calls another function in its body. Define the function show_new_integer(). This function takes an integ…
  • I need help ASAP. look I need help, not the actual answers, this is stupid, I am tired of revising. For this assessment, you will continue to use the SQLite3 library to perform common database tasks u…
  • I did not do well on the following assignment, please kindly share the solutions with explanations so that I may rectify the same mistakes in the future, the marking rubric is attached. ¬† Marking Rub…
  • CODE SHOULD BE IN PYTHON ¬†–¬† ¬† R-9.5 The min method for the UnsortedPriorityQueue class executes in O(n) time, as analyzed in Table 9.2. Give a simple modification to the class so that min runs in …
  • 6 .3 .3 . Function repair Frames This function takes a list of 9 9 frames and a desired parity . It returns list of repair statuses one for each frame To do this iterate over all the frames one at a …
  • Helper functions (no need for testing) are used to make life easier in solving the actual function. Define the function is_vowel_phoneme^^^^^plz explain. #helper function def transform_string(s: st…
  • I need help with the following: An example of pseudocode for four string matching algorithms such as Exact match of entire string Substring exact match Starts with Ends with I need to write out the ps…
  • “”” main.py “”” import pandas as pd import utils def fuzzy_values(df): ¬† ¬†“”” Replaces the values in THE FIRST column of the data frame `df` according to ¬† ¬†the following criteria (IN THIS ORDER):…
  • def preorder_r(self): “”” ——————————————————- Prints the contents of the tree in preorder order. (Recursive algorithm.) Use: bst.preorder_r() ———————-…
  • Part 1 Section 6.2 of your textbook describes incremental development. Do the exercise at the end of that section: As an exercise, use incremental development to write function called hypotenuse that …
  • 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 a…
  • Need to know the python code to complete question 3.5 Problem: A rugby team has 15 players. A bus company has big buses that can carry 18 passengers and small buses that can carry 10 passengers. Big b…
  • Please include all the coding for this problem. If possible, please include a picture of your actual coding.
  • I need help with python programming. Please let me know if you can help.
  • Implement the inter leave function, which takes a star parameter Ists containing an arbitrary number of lists of potentially different lengths, and returns an iterator that interleaves over the elemen…
  • Please pick on of the jot notes as the correct answer: Tensors ¬† 1. Which of the following is affects the channel axis of image tensor? Grayscale vs color image Number of kernels Kernel size ¬† 2. Wh…
  • Hi, Im really stuck on this question can anybody help me Underneath is the 3 Python Files, I can upload it as text if its not legible Q3.Tests Q3.Graph Q3.Py from TMA02_Q3_graph import Graph 8 def fri…
  • thx!. 3. [2|]I points] Free Response: packItems 1it"ou’re about to travel home for Thanksgiving, so you need to pack up your stuÔ¨Ā! How‚ÄĒ ever, you have so much stuÔ¨Ā to bring home that you?…
  • Python program that uses an¬†input validation¬†while¬†loop¬†and¬†to ensure that the user enters a¬†valid month number¬†of the year. The loop should continue to run until the user complies. Sample Outp…
  • You are provided below with a simulated dataset of series of stock returns. These returns have been generated with a predetermined average momentum during one period and a predetermined average mean r…
  • We are also not provided with doc-test examples in the question unfortunately. Thank you
  • [20 points] Parameter Sweep on k-NN – Dataset: https://www.kaggle.com/c/digit-recognizer – Divide it randomly into 65% training and 35% test data – Build a k-NN classifier with the following hyper-par…
  • Hi, so I am having trouble with the final part of my project. It is a cannon ball and as shown in the picture, it gradually loses power. A lesson on this would be great. I will paste the Mapping_for_T…
  • Hi i am unable to solve this python problem someone please help me solve it. I need to make a code which will give out the result of the ending of the link. The code should ask the user for all links …
  • The csv file for the dataset: https://drive.google.com/file/d/1jBUKNWZmYaWrmxdMBLbMc2kk7TFfhpc6/view?usp=sharing The Cars data set downloaded from https://archive.ics.uci.edu/ml/datasets/Auto+MPG A de…
  • Please help me. Here is my question. Please show all your work. appreciate, If there is any missing information or any problem please let me know.. Activity 1: String index and Slice In [ ] : W Given …
  • A Tour of the Given Program File A program of this size is complex enough to require functions, and the functional design has already been provided in a Ô¨Āle named mastermindpy . Download this Ô¨Āle …
  • Using the various organizers above, I need help constructing a rough draft of your speech below Task: Deliver a speech that protests against a problem that you see in your community. The problem that …
  • Please refer to the attachment to answer this question. This question was created from HT Assignment.pptx.
  • A block of code preceded by while x < 10: continues iterating as long as what is true?
  • I’m going to do Supervised Learning Classification in Python. After I import libraries and dataset, how can I encode categorical data fields, and split data into train and test datasets? ¬† My dataset…
  • Import pandas and load the olympics.csv. Show the first 10 rows. Here is the URL of dagta: https://raw.githubusercontent.com/franklin-univ-data-science/data/master/olympics.csv ¬† List the top three c…
  • “””A program that displays the list of letter frequencies from user entered input By prompting the user to enter a word one at a time and then displaying the letters along with the number of times the…
  • I added the ability to delete passwords, but my decryption is not working for me. How do I do it? The program will be able to: Lookup passwords for websites Add new passwords for websites (encrypting …
  • Your task is the following. Create correct Guess counter.and set it to zero. Generate a list of size 50. Populate the list with random integers between 1 and 100. Find the third highest integer in the…
  • 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…
  • Complete the function below which will return a list ¬†of keys from a dictionary where the stored data value matches the supplied search data value.¬† If there are no matches, the empty list [] should…
  • (Python)Calculate the average of TotalCharges for customers that have churned. Count and print the following: number of customers in the dataset, number of customers that churned, number of customers …
  • Note: Inside the game loop, you will need to draw all objects every time the loop executes. Draw the field and the quarterback on the left side of the field using turtle graphics as a stick figure. Ra…
  • Make a Python program that accepts a string as input. It should analyze some characteristic of that string and display the result of that analysis. Some examples are Finding or counting a certain char…
  • I need help with this part,¬† ¬† ¬† ¬† ¬†. 7 No multiplication problems presented 8 9 Total division problems presented: 1 10 Correct division problems: 0 (0.0%) After implementing “drill” mode yo…
  • Mastermind first creates a hidden code of length code_length consisting code pegs with possibly duplicate colors chosen from a sequence of colors . 2.Coderbreaker provides a guess ofthe code . 3. M…
  • I WANT TO KNOW THAT WHY MY THIS DATABASE IS NOT CONNECTING TO JUPYTERNOTEBOOK BECAUSE IT IS NOT SHOWING THE TABLE ON GUI WHEN I AM CONNECTING IT TO THE DATABASE IN SQLITE3
  • QUESTION 1 John is new to programming wrote the following piece of code to find the average networth of the data. However, his codes were met with syntax, logic bugs and exceptions. data = { ‘Jeremy’:…
  • Average Steps Taken A Personal Fitness Tracker is a wearable device that tracks your physical activity, calories burned, heart rate, sleeping patterns, and so on. One common physical activity that mos…
  • import os def Find_row (row_no) : i = 10 this_row = list() print( ‘=====================’ ) for line in fred: if i == row_no: this_row = line i = i + 1 return line with open( ‘fred.csv’ , ‘r’ ) as fil…
  • I have attached a file of the code I’m supposed to use to: -Pull stock information from the internet¬† -Plot the opening, high, and lows over time This is what I have so far:¬† import urllib import cs…
  • Need help for this problem: Helper: performance.py: https://pastebin.com/GWkJ6T0S stopwatch.py: https://pastebin.com/NF3p9qSY goody.py: https://pastebin.com/XYWyq7qz
  • I am having trouble with how to start this assignment. We are supposed to use functions & classes for this assignment as well. I guess my main issue is how do I build a dice simulation? ¬ß¬ßEEEEEL…
  • Below is a bit of code that generates an error. The function works correctly but an error thrown when the program is run. Run the program and view the error. Inspect the code. Why does it cause an err…
  • Python using QT Designer – Adv Widgets, Menus, Toolbars ‚ÄĘ You are required to develop a single screen application. ‚ÄĘ To display the current time in (i.e. system clock), today’s sunrise time, and t…
  • def get_sum_value(d: Dict[str, Dict[str, int]], item: str) -> int: ”’given a nested dic, return the sum of int values associated with the given item, which represents a key that could appear in ea…
  • Here are the two text files: A:¬† 01010101010101001011111010101010 01010101010101001011111110101010 01010111111111001010101010101010 01010101010101001010111111111010 01010101010101001111111110101010 0…
  • Help me fix this code¬† #Mya Nanmoo #Module 11 #March 03/2022 ¬† a = {“Mocha”: 3.5, “Latte”: 2.5, “Cappicuno”: 2.0} for item in a.keys(): ¬† ¬† sale = 0 ¬† ¬† qty = input(f”How many {item}s sold? “) ?…
  • Need help with this question. 1.3 Particle Physics Particle physics involves the study of elementary particles at the atomic level. The data we will use consists of measurements of a particle’s positi…
  • Please help me with this computer science question. The program can be coded in Java or Python I have attached reference code for both. Thank you for your help. Attached are the details and the code i…
  • What is your conclusion? For different measures, which firms are improving and which firms are becoming worse over time? Across different firms, which one is doing better? You can perform this anal…
  • Hi There there seems to be a expert tutor who answered Q3 in the comment section of the link below and indicated the answer is not fully coming true. can you please re-load? https://www.coursehero.com…
  • This is a programming question by (jupyter) python for analysing under-fitting, over-fitting and just-right by logistic regression: ( https://gitlab.com/byungwoohong/class-2020-1-machinelearnin…
  • Question 2 a) Design a base class for Vehicle with fields such as name, model year, total mileage, Vehicle Identification Number (VIN) b) Design subclasses for Wheeled Vehicle, Boat, Car, Bike, 2door …
  • . Methods In addition, you will need the following methods. I parseMove( J (prof’s solution: 10 lines of code) (1.5 points) I The user will input moves to a command line interface in the following f…
  • Problem: The people of ancient land of Pacific Baza had a simple mathematical system that knew only natural numbers and addition. The genius Bazan scholar, Gringo el Possum, built a computer from wood…
  • Hello, i need an example for usage of tcconfig library in PYTHON CODE and not command line. I want to limit a bandwidth
  • make an ¬†python code ¬†. INSERTION SORT The solution must be a programming code in any language or a simulation where EVERY STATE AND VARIABLES are being displayed. There will be a specific question …
  • import pandas as pd STARBUCKS_FILE = “All_Starbucks_Locations_in_the_US.csv” FILTERS = [ “Store Number” , “Name” , “Street Address” , “City” , “State” , “Zip” , “Latitude” , “Longitude” , “Feature-Sta…
  • Error for the following code:¬† ¬† Error Message: “the call list_weather_violations(‘/home/codio/workspace/.guides/tests/testfiles’) crashed. Traceback (most recent call last): ¬†File “/home/codio/wor…
  • Question 2. Part a, b, and c In In 2: Examining the data We will explore the table to better understand the information behind it. Question 2a Examining the entries in the data frame res , we notice t…
  • Question 2: The array diabetes_proportions contains the proportions of the population without and with diabetes. Complete the following code to simulate 5000 values of the statis- tic under the null …
  • program to read the input lines and process them. End the program when current line has a word “bye”. After reading each line, find the total or average or min or max of all the numbers in the line. G…
  • ¬† Question 1 ¬† What are some principles that you can follow to effectively frame a business question so that it can be answered by data? (Check all that apply) ¬† 1 point ¬† Use no more than seve…
  • Project 3 CPSC 207 – Fall 2021 Transmitting sensitive information over the internet can be dangerous unless that information is en- crypted. A simple form of encryption is the Caesar cipher that we sa…
  • Subject: Obtain the target string literal “far and cold” solely by using the original string literal “Old McDonald has a farm” and string operators/functions [], [:], +, *, and len(). Minimum number o…
  • Write a program that randomly generates 10 integers between 1 and 10 (inclusive). Output the following. ¬† The 10 randomly generated numbers The median of these numbers The largest and smallest number…
  • 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 …
  • There are a total of¬†customers in this data file (i.e., in the test mailing). There are¬†males and¬† females.
  • import calendar, datetime # Complete the function to print the full name of the day of the week def printWeekdayName (year, month, day) : # expected output: Friday printWeekdayName( 2001 , 8 , 31 ) # …
  • Create a program that asks the user to enter their name and their age. Print out a message addressed to them that tells them the year that they will turn 100 years old. Extras: Add on to the previous …
  • please make sure to read the question properly. This is the third time I’m asking the same question because I was given a random answer that had nothign to do with what I asked. Thank you!! ¬† ¬†. fro…
  • NEED HELP IMPLEMENTING THE FUNCTIONS IN THIS CLASS (DOCSTRING EXPLAINS REQUIREMENTS): import random ¬† class BootstrapResampling(): ¬† ¬† “”” This class implements the non-parametric bootstrap resampl…
  • Write a python program to find the factors of a given number. The factors of a number are those, which are divisible by the number itself and 1. For example, the factors of 15 are 1, 3, 5.¬† Please fo…
  • Hello, I need help solving this Lab simulation, It uses Find abbreviation for String and Files statements and I am very new at python on so I need help solving it. It is very difficult. It is very con…
  • Exercise 5 – Python program with multiple modules to sort a list of numbers Write a Python program to sort a list of numbers in ascending order. Your Python program must have a function called¬† sortN…
  • 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)…
  • Please solve the neural network question attached below. It is a continuation of already provided code in A4Q3.ipynb file. Code is also provided below from keras.models import Sequential from keras.la…
  • This info is for a previous question. So here is how the txt file looks. Cape Girardeau, MO 63780 Columbia, MO¬†65201 Kansas City, MO 64108 Rolla,MO¬†¬†65402 Springfield, MO65897 St. Joseph, MO64504 S…
  • Can you help me make the functions work with the 3 imported modules only? I need to write the code inside each functions to make it work. The instructions are given in quotations (“”) under each funct…
  • Pet Class Design a class named Pet, which should have the following fields: name: The name field holds the name of a pet. type: The type field holds the type of animal that a pet is. Example values ar…
  • I have a large dataframe with thousands of rows. I need to create remove every row of ‘Puerto Rico’ within the dataframe via python. How would one do this? The dataframe is essentially daily data of c…
  • make a couple of functions that will use parameters. Follow the prompts below in order to create your program. Writing step-by-step instructions for programming so that everyone understands them is ha…
  • 2 ASSOCIATION RULE MINING U.S. CENSUS DATA 50 POINTS] Load the Adult dataset from here. The dataset is an extraction from the 1994 U.S. Census. More information on the dataset can be found here here B…
  • Please answer them with steps in comments of the program
  • Hi, Im really stuck on this question can anybody help me Underneath is the 3 Python Files, I can upload it as text if its not legible Q3.Tests Q3.Graph Q3.Py from TMA02_Q3_graph import Graph 8 def fri…
  • this is the code which is used to encrypting the input string, but now i’m confused about how to change the code in order for me to decrypt the in put string…. def caesar (X, k, m) : if m not in [1,…
  • I’m in need of a Computer engineer professional to conduct an interview for my technical writing class. The interview is designed to help me gain insight of what is like to be in our field of study. I…
  • regex You are working on cleaning the data you scraped from one website. You notice that the file contains messy names related to Coronavirus. You need to replace them all with the word “Covid”. The m…
  • Calculate the "exact" value of the sum using the expression at! SN = N *math.sqrt(23.0) For each of the S N that you calculate, determine the absolute and relative errors of the results. Pre…
  • Problem Description You are required to develop a banking system in which a customer can deposit cash to a checking account, withdraw cash from the account, query the balance of an account, or tran…
  • Instructions for M5A1 Lab: Practice with Dictionaries, Sets, and Objects Write the following programs in Python. Submit a single Word document that contains all relevant Python code and a¬† screenshot…
  • Overview As you are preparing for your final text game project submission, the use of dictionaries, decision branching, and loops will be an important part of your solution. This milestone will help g…
  • Need ans for Question (d) and (E) Captured with Xnip 3. [16 marks] Euclidean distance d(a, b) between two real vectors a = (a1, a2, . . ., an) and b = (61, b2, . .., bn) is given by d(a, b) = d(b, a) …
  • . File Selection View Go Run Terminal . test_sentences.py – .vscode – Visual Studio Code X EXPLORER … test_sentences.py 5 . ~ sentences.py 1 DO … .VSCODE C: > Users > frey_ > Down…
  • . 0P5245 Winter” 2922 Assignment 2 instructions For HarshMor’e You may retuse your assignment 1 vm, or install a new Centos 7 vm into your existing c7host, using any of the installation methods …
  • Next, copy in your strip_punctuation function and define a function called¬†get_neg¬†which takes one parameter, a string which represents one or more sentences, and calculates how many words in the st…
  • Implement using Python, the following method that takes as input a list of positive integers and returns an AVL tree object:¬† def create_avl_tree(L):¬† “””Return an AVL tree object containing element…
  • Consider the following code: def fun (word, position) : ¬†if position < len(word) : ¬†fun (word, position+1) ¬†print (word[position], end=” “) a. What would be the output for fun(‘Python’, 2) b. Ex…
  • The answer is not correct at all.. der is_leap_year (year): if(year % 400 = = 0): return True elif year % 100 == 0: return False elif year%4 == 0: return True else: return False if name ‘main ‘:
  • . Lander USW00024021 42.8153 -108.726 LANDER HUNT FIELD 1946-05-29 2021-12-31 Cheyenne USW00024018 41.1519 -104.806 CHEYENNE WBO 1871-01-01 1935-08-31 … (458 rows omitted) The cities table has one…
  • could you help me build a basic card game blackjack in python. This is the starter code. “”” from random import * NUMCARDS = 52 DECK = 0 PLAYER = 1 COMP = 2 cardLoc = [0] * NUMCARDS suitName = (” hear…
  • Use the FDR to design and write a function called "blFilter". The function tak an image as input parameter and converts each pixel as follows: green is changed to 1.5 times its original valu…
  • Python console application that prompts the user to enter a sentence.¬† Your program will flip the words that the user provided into reverse order, keeping the position of any commas in the sentence i…
  • (6 pts) The following two functions each determine the distance between the two closest values in list 1, with len (1) -N. (a) Write the complexity class of each statement in the box on its right. …
  • Please help me with the following question Write the missing code so that executing the code below prints ([-1, -4], [3, 5, 2, 5, 4, 0, 8]). L = [[-1, 3, 5], [2, -4, 51, [4, 0, 8]] nonneg = neg = for …
  • Download the data Grocery from this website www.kaggle.com/irfanasrullah/groceries¬† I just want to know how to Implement the apriori¬†and the fp-grow algorithms and test them on the data set.
  • trying to write data from twitter into a csv file but the csv file is empty
  • https://docs.google.com/spreadsheets/d/1fJj1UM_Gg5BQ1ZoF-C2XN-OJXi_RdnuS3vLDlY5Tve8/edit#gid=1598486409 ODE Homework 2.pdf X + X File | C:/Users/sjaim/Downloads/Homework%202.pdf Not syncing . . . 1 of…
  • We will be writing the function print_formatted_tasks() that takes in a list of dictionaries, each dictionary representing a task (think of a task manager application). Background Oftentimes, data …
  • Hello, I need help solving this Lab simulation, It uses Basic function call for function statements and I am very new at python on so I need help solving it. It is very difficult. It is very confusing…
  • It’s a BFS/DFS related problem. Hint : run regular BFS. Start from the goal node, stop when the first start node is found. DFS can be used to solve the problem too, but it is a little more complicated…
  • Consider what happens if the loop in the ArrayQueue._resize method at lines 53-55 of Code Fragment 6.7 had been implemented as: for k in range(self._size): self._data[k] = old[k] Give a clear expl…
  • this is a python programming question, and using corrective form to solve it thanks I’Mlike Your In “’sT In this problem in the" module. py" file! Complete the rotate l’ function , which La…
  • . 5. Implement Algorithm 6.2 on your system and run it on the problem instance of Exercise 1.. Algorithm 6.2 The Best-First Search with Branch-and-Bound Pruning Algorithm for the 0-1 Knapsack proble…
  • I keep getting this error: AttributeError: ‘NoneType’ object has no attribute ‘calculate_distance’ What does that mean, do I need to define calculate_distance?
  • Part 1 Section 6.2 of your textbook describes¬† incremental development . Do the exercise at the end of that section: As an exercise, use incremental development to writ a function called¬†hypotenuse?…
  • Need help producing a command line menu-driven python application providing users with the ability to search and display U.S. State Capital, population and Flowers. The second part documents your test…
  • hello everyone! somebody please help me from part B , I am stuck on it. I have completed it but I am not sure if it correct (from part-B). please download it, all the code is there and there is no dat…
  • Q) An analyst would like to form customer segments from a data set with 20 variables and 90,000 observations. Which type of cluster analysis would you recommend? ¬† a)Hierarchical ¬† b)K-means ¬† c)Ag…
  • Briefly define the following basic techniques and technologies that represent recent related advances in computer architecture, parallel processing, distributed computing, Internet technology, and inf…
  • . 1 def check_duplicate(L) : Given a list of numbers, return True if a number has appeared more than once, and False otherwise. OVOUAWNH return False x = [1, 3, 2, 18, 9] y = [81, 5, 1, 1] LC z = [0…
  • python please¬†. In this part of the assignment you will be working with a data-set of video game sales from 1980 – 2020. First, head towards kaggle.com and have a preview of the data-set that we will…
  • Write a python script called grouper.py that will take the name of a file as a command-line argument. ¬†Each line in the file will contain the name of a group to create, followed by a :, a numeric id …
  • I’m trying to build a python program that generates a certain amount of random numbers (lets say 100) between 20 and 200. The program should then print out any odd numbers that are less than 100.
  • I have an issue with my code below. On line #318 response = conn.getresponse(complete_url) I’m getting an error below: NameError: name ‘conn’ is not defined I am unable to write this line of code – “r…
  • The CNN Money’s Market Movers website ( https://money.cnn.com/data/hotstocks/ ) tracks the most active stocks on a real time basis.¬†Specifically, the most active, the top gainers and top …
  • An integer is said to be a perfect number if the sum of its factors, including 1 (but not a number itself), is equal to the number. For example, 6 is a perfect number, because 6 = 1+2+3. Write a funct…
  • Make a Mad Libs homework assignment. Use 5¬†variables and use 1¬†of the variables 2¬†times,¬†and make a story, 1 of the variables must be a number Have 1 comment in your code Make up your own variable…
  • Python please Enter a statement of your choice, and create a program that does the following: Counts the number of characters in the statement Removes vowels from the statement Counts the number of ch…
  • Imagine that you are a data scientist for an online company which sells kitchen appliances. In recent months, the company hasn’t met their monthly sales target and they suspect this is due to their we…
  • Modify the result of Script #3 to use Positional Parameters instead of prompting the user for information, the information will come from the command line. Add a user with password Add a group without…
  • How do you cumsum in r to find the trend in number change?
  • A teacher wants a program to give extra points to students who fail a test. Help with a Python program to do the following: (a)¬†Ask the user to enter 5 test scores.¬†Store the scores in a list. Displ…
  • for this lab we have to use jupyter notebook. please help me Marking Raw Data: https://docs.google.com/spreadsheets/d/1fNfEn6T-a7hnS8kgVPDoRJeNqeRLWkR_GlR0wQbNkTk/edit?usp=sharing pyplot.ipynb: https:…
  • Write a Jupyter Notebook to find the 9991th¬†to 10000th¬†prime numbers. Display the numbers to the notebook Output the numbers to a data file called¬†prime.txt. Demonstrate that you used “continue” an…
  • function called¬†surface_area_of_cylinder¬†that takes two arguments. The first is a float representing the radius of a cylinder. The second is a float representing the height of a cylinder. The functi…
  • The factorial of any number ūĚĎõ is written as ūĚĎõ! and defined as the product of all positive integers less than or equal to ūĚĎõe.: ūĚĎõ! = 1 √ó 2 √ó 3 √ó … √ó ūĚĎõ By definition, 0! = 1! = 1 …
  • Having the hardest time with this, any help/explanation greatly appreciated! Design a Python project manage_course. ¬† Add a Python file course.py to this project.¬† Define a class Course in th…
  • How to use Python code to solve below two problems? ¬† ¬† 1. If i have following datasets “Children” ¬†and “Teachers” , how can I write the Python code to find out who are the top 3 teachers teaching …
  • In this project we’ll make simulation of a restaurant with different types of customers. We have obtained a (fake) data set from a restaurant containing the customer ID, the time when the customer cam…
  • I need to write code that will again find the reverse alphabetical position; however, in this code, I need to be able to write it for an entire string, not just a single character. My code has to use?…
  • Exercise 3.2 1. Generates a list L of 15 random numbers between 1 and 100 2. Replace each element in L with its square. 3. Count how many items in L are greater than 60. 4. Count how many items in L a…
  • Design a python program that lets the user enter the total rainfall for each of 12 months into an array .¬† The program should calculate and display ‚óč ¬† ¬† the total rainfall for the year ‚óč ¬† ¬†…
  • . Q4 Debugging and Efficiency 6 Points For the following two questions, consider these two functions: def number (n) : III Generates a number, based on a certain algorithm. n0, n1, final = 0, 0, 1 f…
  • Needs to be done in Python Here is the data Sheet: https://easyupload.io/yxy9gc. Sunny Health Insurance provides different types of insurance plans to its customers. The company has access to a data…
  • Need Help with this Homework question on programming please. # DON’T CHANGE OR REMOVE THIS IMPORT from random import shuffle # DON’T CHANGE OR REMOVE THESE LISTS # The first is a list of all possible …
  • Hometown City USA is analyzing traffic patterns to determine whether traffic lights are necessary at tracked intersections. Each tracked intersection has a data file where each line contains the numbe…
  • please show ,me hoe to Create a class Qualification with public member variables: Qualification name and number of modules required.¬†¬†The following specifications are required: Ôā∑ 1. Add init() met…
  • please answer this o Write the Python function that takes in two lists (of integers) and creates a new list by interleaving the items in the input lists. For example, if list1 contained 4, 5, 6, 7 (in…
  • #Right now, the code below will encounter an error when num #is 0, but it will not print anything when it does, and then #it will keep running for num = 1, num = 2, and num = 3 #afterwards. Modify thi…
  • Need in Python Code vle.phoenix.edu C Facebook ecampus : Home View Assessment I Have An Algorithm On Jython However The Outputs … | Chegg.com Course Hero X DAT/210: Data Programming Languages Wk 1 -…
  • List of Features 1) Read and initialize the contact book from a file or program 2) Display options to user ( features from 3) to 8) ) Display all contacts 4) Add a new contact (name, phone) 5) Sear…
  • How can I ask the user for an input of one character , and loops until they put only one character? I don’t have the proper understanding of how len works yet so helping with this example and a summar…
  • D Question 20 5 pts The word is a Boolean operator that takes two strings and returns True if the first appears as a substring in the second: O and not O in
  • Write a program 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 different base. A codon is any…
  • Create the following variables in your Python notebook: myname = “John Smith”¬† myincome = 98765.4321 myzipcode = 49401¬† The¬† expected-output¬† of your print statement should be as follows: Hello, m…
  • . Question 2 (60%) Write a program as a simple calculator for integers. In this program, the user can choose from addition, subtraction, multiplication and division by giving an integer, only 1, 2, …
  • Need to do python exercises for homework, any help? Input files Contents of¬†rwc.csv New Zealand,46 – 15,Argentina ,01/06/1987,31 France,70 – 12,Zimbabwe ,02/06/1987,58 Wales,40 – 9,Canada ,03/06/1987…
  • Consider a solution for a Programming for Data Analytics report card that, when given a student’s name and overall average as input prints a corresponding message. For example if average is 90-100 it …
  • An e-commerce website wishes to find the lucky customer who will be eligible for full value cash back. For this purpose, a number N is fed to the system. It will return another number that is calculat…
  • Hi, please help me with these Python questions. Thank you! Did I do Q3 correctly? 1. Uber Below we load tables containing 200,000 weekday Uber rides in the Manila, Philippines, and Boston, Massachuset…
  • . Worksheet 4 Subroutines Unit 11 Programming Techniques Task 2 IS numbered 2. It is possible to return more than one value from a function. Consider the following Python cars. Custon ee space progr…
  • When is a for loop the most appropriate choice when code in your program needs to be repeated?¬† When is a while loop the most appropriate choice when code in your program needs to be repeated?¬† What…
  • . Task 1 (3%): Let df be a pandas DataFrame constructed with the following code: data = np.array([0, 7, 3, 6, 2, 8, 5, 9, 4]).reshape(3, -1) df = pd.DataFrame(data, index=[‘One’, ‘Two’, ‘Three’], co…
  • For what size of filter kernel does it become more efficient to perform convolutions by instead computing Fourier Transforms, and why? (c) For an aligned stereo pair of cameras separated by base dista…
  • . Problem : Wordle 175. You have probably heard of the Wordle Game, a word guessing game that is becoming a craze on the internet these days. It is not the Wordle as the famous application to draw a…
  • function name=upAnd that will take three int values. The function will return true if the numbers are in descending order and false if they are not. Example: if the inputs are : 2,49,114 It is Ascendi…
  • .. please see attachment for format Given a line of text as input, output the number of characters excluding spaces, periods, or commas. Ex: If the input is: Listen , Mr. Jones, calm down. the …
  • Please help me with the following problem In class. we mentioned the MNIST data set of handwritten digits. iron can obtain it from: htt : ann.lecun.corn exdo rnnist indeschtml In this problem, you wil…
  • 5. Write a program that replaces words in the sentence “I like to go dancing in the rain, but rain should not be too heavy” such as dancing with driving, rain with forest and heavy with long. …
  • provide a comparative technology evaluation of doctest and unittest for testing wc.py. This includes assessing the testing needs of wc.py (look at your existing tests!) and the design sweet spots of t…
  • Make a program that asks the user for a dollar amount as input. a. In a world where stamps cost 57 cents (the horror), print a message to the user indicating how many first class stamps they can purch…
  • Given a group of boxes carried on a trolley, it is requested to arrange these boxes on top of each other to reach the minimum possible height. To enable the man to control the stability of the boxes, …
  • Q#2 Write a program that reads the contents of file Numbers.txt into a list. The lowest number in the list. The highest number in the list. The total of the numbers in the list. The average of the num…
  • any ideas to solve? One of the criteria to register to a primary school is the distance from home to the school. Given a school location a, b, c and d and location of applicant addresses with ID O to …
  • How do I find the euclidean distance between two lists without using either the numpy or the zip feature? Furthermore, the lists are of equal length, but the length of the lists are not defined.¬† ¬† …
  • INSTRUCTIONS : 1) Python Programming¬† 2) No use use of built in libraries and built in functions 3) Use Functions name and parameter name is same as given in question. 4) I will give helpful for sure…
  • Understand the Kaggle House price calculation notebook in the link below. ¬† https://www.kaggle.com/andrej0marinchenko/house-price-calculation-methods-for-beginnners/notebook¬†(Links to an external si…
  • I need help on a python project. The project is through Google Colab. There are more instructions on the link: https://colab.research.google.com/drive/1IVJ7uS-J6N61c2d3fkLcU5NjY7VSjPkF?usp=sharing ¬† …
  • Consider: answer = “” while [condition]: ¬† # some statements ¬† # some statements ¬† answer = input(“What do you want to do? > “).upper() ¬† Which of the following conditions will cause this loop …
  • Hi! I had submitted this question before and got this answer, the answer is all correct I was just wondering if someone could fully explain the concept of if __name__ == “__main__” :¬†¬†¬† main() I am…
  • HomwWork help please. Both f(n) = n – 1 is and f(n)=n +1 are one-to-one functions. O True O False. Use the method taught in class to convert the numbers 151, 30,and 210 to binary, and then hex. Also, …
  • Question: Two part question: 1) Write a program in Python for:¬† Alphabetic Order: ¬† ¬† ¬† ¬† The following words have three consecutive letters that are also consecutive letters in the alphabet: THI…
  • How to construct a python space invaders game only using turtle graphics? We can use: turtle.goto turtle.window_width, turtle.window_height turtle.up, turtle.down turtle.begin_fill, turtle.end_fill tu…
  • simulate course grade Assignment1= 98 assignment2= 100 Assignment3 = 99 Assignment4= 55 Assignmrnt5= 90 Assignment6 = 97 Assignment7 =88 Assignment8=90 Assignment9=100 Assignment10 = 100 Project1…
  • class base_class: ¬†¬†”’ ¬†¬†base class, will use a template for children classes; will not be used for creating objects ¬†¬†”’ ¬†¬†def __init__(self, ip_add): ¬†¬†¬†¬†self.ip_address = ip_add ¬†¬†?…
  • Problem: The people of ancient land of Pacific Baza had a simple mathematical system that knew only natural numbers and addition. The genius Bazan scholar, Gringo el Possum, built a computer from woo…
  • Problem Statement: (Use parameterized constructors in all classes to initialize default values)how to create a bank class with the following attributes: o IFSC_Code o bankname o branchname o loc how C…
  • Using box and pointer notation, draw a picture of the nodes created by the first loop in the tester program.
  • Add a command to this chapter’s case study program that allows the user to view the contents of a file in the current working directory. When the command is selected, the program should display a list…
  • Worth 3 points Use the variables k, d, and s so that they can read three different values from standard input–an integer, a float, and a string respectively. On one line, print these variables in rev…
  • Write a program that reads a floating-point number and prints “zero” if the number is zero.¬†Otherwise, print “positive” or “negative”. ¬†Add “small” if the absolute value of the number is…
  • Company Tesla¬† Go to yaahoo finanace and access the historical data Then divide the sample for model estimation and in sample Then you need to do the remaining 5 parts.¬† These are easy but i am conf…
  • The monthly payments for a given loan are divided into amounts that apply to the principal and to the interest. For example: if you make a monthly payment of $500, only a portion of the $500 goes to t…
  • Instructions ITEC 2270 Assignment 1 ¬† ¬† Purpose:¬† Student will demonstrate they can write a simple output program using Python. ¬† ¬† Write a program that displays your initials in the form of a 7 …
  • Implement the three new player types: RandomPlayer, NastyMirrorPlayer, CountingPlayer Implement a more compact reporting format. Instead of printing out the entire population, your program should coun…
  • In main, I need to add a loop to enable the user to run the Python program all day without having to restart the program. I also have to make a question to the user control this loop (this question sh…
  • def¬†calculatemilesPerGallon(milesDriven,¬†gasUsed): ¬†¬†¬†¬†miles¬†=¬†milesDriven / gasUsed ¬†¬†¬†¬†return¬†miles ¬† flag¬†=¬†1 while(flag¬†==¬†1): ¬†¬†¬†¬†milesDriven¬†=¬†float(input(“Enter¬†number …
  • Please write a golden section optimization function in PYTHON that meets the specifications below.. gs_max General Description This function uses the golden section algorithm to find the maximum of a …
  • Given M busy-time slots of N people, You need to print all the available time slots when all the N people can schedule a meeting for a duration of K minutes. Event time will be of form HH MM ( where 0…
  • When I run this , it gives me an error: X.shape[ 1 ] = 2 should be equal to 64 , the number of features at training time. from matplotlib.colors import ListedColormap def plot_decision_regions(X, y, c…
  • Write function¬†numPairs that accepts two arguments, a target number and a list of numbers. The function then returns the count of pairs of numbers from the list that sum to the target number. In the …
  • create dataset showing what colleges in US having track the number of coronavirus cases reported among students and employees. ¬†Conduct the preliminary analysis by running one of the data mining tech…
  • i need help on these 4 coding practice problems please. i didnt know how to do or start them ¬†and need them to study for an exam please and thank you. Someone please help. Description Prompt the user…
  • Question: Can you help me fix the error in my python function? Note that we can’t use method calls or indexing and can only use the functions provided here: https://ecpyfac.ecornell.com/docs/introcs/ …
  • Digital Ribosome Level of difficulty: Moderate Inside the cells of living things are small organelles (biological ‘machines’) called ribosomes that construct proteins by reading and translating DNA. T…
  • Working on this Python project but having issues. Python ¬† ¬†¬∑ Create a program that takes one command line argument. It will be an integer.¬† ¬† ¬∑ For each number between 1 and the argument (inclu…
  • (Hard) Add reporting support for weather data. There can be multiple data values inserted in each day for every device. We need to aggregate those to give an overall view for each day, per device. …
  • Part 1 Section 6.2 of your textbook describes¬† incremental development . Do the exercise at the end of that section: As an exercise, use incremental development to write function called¬†hypotenuse¬†…
  • The first time Mary run her program, and she got the following output: ¬†explain why and give a way to fix that problem?¬†. Student Name: Mary main . Test object at 0x7f86a7f12f50> main . Test obje…
  • complete function in python. This function should be named¬†close_coord¬†and should be put in a file named¬†coord.py. This function will have one parameter. The parameter will be a 2D list, in which…
  • Design a class named TermPaper that holds an author’s name, the subject of the paper, and an assigned letter grade. Include methods to set the values for each data field and display the values for eac…
  • I have the following: abs(x 4 ) < 10 -16 How to solve for abs(x)?
  • Allow approximately 1 hour. Here is a Python program which encodes Euclid’s algorithm. Remix < > main.py 1 # Euclid’s greatest common divisor algorithm # Ask user to input two integers n= int(in…
  • python3 , using functions on the left side. Write a function filter_sequence which takes in two integers, start and stop, as well as a function cond, which takes in a single argument and outputs a boo…
  • Implement a class Time. A Time object has the instance variables of¬†hour and minute.¬†It also has the methods resetTime (sets the Time to midnight), addMinute (adds a minute to the current time), and…
  • An online store allows customers to apply coupons at checkout. Currently, the store has a few coupons valid:¬† ‚ÄĘ DEAL10: gives 20% off on purchases of 20$ or more.¬† ‚ÄĘ DEAL100: gives 35% off on pu…
  • You can use any dataset you want for this. No reference is given. ¬† Part – 2 (Feedback submission 2): 1. Objectives: a. Scraping of the data and show sample data. b. Use the API to gather the data an…
  • Write a script that inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher. The script should work for any printable characters. An example of the program …
  • The file can be found: https://docs.google.com/spreadsheets/d/1p5f-L3t0_tVIpl7NHWFmaQLB0-ODPD7IF8tCeZ6Hn0w/edit?usp=sharing Problem 1 Our goal in this problem is to write a function that returns the n…
  • 3 Code a program that read weather description, temp, pressure, humidity, sunrise with use of the weather API you need to use is below https://samples.openweathermap.org/data/2.5/weather?zip=21043,u…
  • application should be able to accept Student data from the user and add the information in a file type of your choice. 2. Student Data should include the following StudentID FirstName LastName Major…
  • num_insects = 8 # Must be >= 1 if (num_insects<=100) ¬†¬†print(“%d “, num_insects<=100) ¬†¬†¬† while((num_insects>=1)&&num_insects<=100) num_insects=num_insects*2; if(num_insect…
  • Question 1 (4 marks) List and Queue Given the following sequence of data inserted in the following order 65, 32, 67, 37, 32, 40, 26, 72, 20, 52, 65, 95]: Draw a circular linked list of size 14 with th…
  • The following questions tests your understanding of iteration (e.g. loops and generators), decision making programming structures etc. Remember, you will not be marked down for small errors in syntax …
  • Git Hooks (Write a script in any scripting language in post-commit file such that it automatically triggers push after committing the file ) ¬†. Your local repository is test Step1: List all the files…
  • paragraph_str = “”” programming is such a blast!¬†¬†if you ask me, this is pretty much as cool as it gets! i even get slightly high from coding! do it while listening to some bachata and it becomes th…
  • AVL Tree Implementation: RESTRICTIONS: You are not allowed to use ANY built-in Python data structures and/or their methods. In case you need ‘helper’ data structures in your solution, skeleton code in…
  • Good afternoon. I would really appreciate it if somebody could you help me write the following code in python using separate functions. I am new to this language therefore would like some guidance. Th…
  • Please help with this function. Thank you. Tools 7. Im Terminal ture Fy Collapse EZ: Reading . CSV File dule with a function to read CSV files (converting them into a 20 list) is function will be used…
  • For a given string s, return the first reoccuring character in the string. Try to get an approach that is¬†ūĚĎā(ūĚĎõ) O(n), where¬†n is the number of characters in the string. If there is no such char…
  • 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…
  • This is python question. When you run the code, the answer should be 9. I already got 9. I wanna see your solution. The code has debug, it is here where you see ??? (question marks). Just replace ques…
  • NOTE, you may NOT import any external modules in this assignment Please take a pic of your work(problem1\2) and write your code in the this block with your code screenshot on local computer(problem 3\…
  • Using recursion: ¬† def sum_to(n): ¬† ¬†“”” ¬† ¬†Returns the sum of numbers 1 to n. ¬† ¬† ¬† ¬† ¬† ¬†Example: sum_to(3) = 1+2+3 = 6,¬† ¬† ¬† ¬† ¬†Example: sum_to(5) = 1+2+3+4+5 = 15 ¬† ¬† ¬† ¬†Paramet…
  • Hey guys! the following code I have works. However, I need the code to only return valid emails. Can someone help me with this? import urllib.request import re web_page = ‘https://www.secdaemons.org/a…
  • the program must write each link found to an output file named “links.txt” each image found on the homepage to a file name “images.txt”. Any image or link that contains the word “nursing” must be writ…
  • Q3: Write a Python program that asks the user to enter the following information 0 His or her name 0 His or her age I The name of a city 0 The name of a college 0 A profession – A type of animal 0 A …
  • Please convert below Matlab code to Python ¬†. im_train = loadMNISTImages (‘train-images-idx3-ubyte’) ; for i = 1:784; PC = PCA_SVD (im_train, i) ; recon = PC’ + im_train; normal = recon * PC; diff = …
  • 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…
  • This question provides an opportunity for you to demonstrate your understanding of the problem-solving approach taught in TM112 and the patterns introduced in Block 1 Part 4 and Block 2 Part 2. You ca…
  • Please don’t copy from chegg and course hero ¬† Write the output of the following pseudocode, for each of the following parameter passing methods in a¬†¬† tabular form (Must be in order given below an…
  • Original: This is a TEST: 6+7=_. Length: 22 chars 2nd char: h 2nd last: Switched: =_.s is a TEST: 6+7Thi Digit sum: 13 >>> explore_string( ) Enter 10 or more chars ending with a period: ->…
  • 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…
  • Please do the problem C part Problem C. (10 ¬†points )¬† Creating a Game class ¬† Now that you’ve created your character classes, you will now make a Game class. This class will keep track of the stat…
  • Please help me out. It’s a python programming problem. I need to use pandas to process some data. please find the dataset in this link.https://drive.google.com/drive/folders/1SIjTRxjutHMJ7tzmM5Tq3_b1e…
  • This code is giving me the error ” invalid syntax” on the Lambda function but I don’t know why, also I need to test this function with some make up number for trainExamples, testExamples, featureExtra…
  • šĹŅÁĒ®ŤüíŤõá ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†. Definition. Supposed is a dictionary whose keys and values are ints. A path in d is a list [(k1, v1), (k2, v2), (k3, v3), …] such that: . d [k1] == …
  • Ask the user for a state and its capital city. Print “The capital of ________ is __________” where the first blank is the name of the state, and the second blank is the name of that state’s capital¬† …
  • Balut – each player rolls five dice. the goal is to make set of dice, or a straight (all numbers 1 to 5 or 2 to 6). highest score set wins . hands are ranked as follows: five of the same number, strai…
  • Hyppthesis using python #Given a fair coin, compute the likelihood of seing a value of 469. #What is the p-value of our test? #If we have a significance of 5%, do we reject our null hypothesis of “Thi…
  • Write a class in python that finds a pair of elements (index of the numbers) of a given matrix whose sum is equal to a specific destination number. a. Input: numbers = [10,20, 10,40,50,60,70], targ…
  • Make a program that declares three functions which accepts a list of numbers in reverse order from main program and find the smallest numbers in the list by one function. Another function should creat…
  • In the above question if the answer is true then obtain a number in which the second and the third digit are one more than that in the given number. Example: Number 5342, sum of the first and the last…
  • Overview Module 5 Assignment 1 features the design of pseudocode to support a Python program that requires coordination between the control structures and modules of two programs. This lab asks you t…
  • Download [‘AMZN’, ‘CMG’, ‘GME’] 5 year from 2015-01-01 to 2020-01-01 close price data using yfinance package. Downsample data into monthly, by choosing the average price of each month. 1. Find two tan…
  • For this program we are going to implement a keyboard-based checkout system for the students who work at the Activities Recreation Center. In general the program will works as follows: (1) The program…
  • For this challenge ,create a cone that has two attributes radiuds=r,height=h .and two methods are volume- pi*r^2*(h/3) surface area :base:pi*r^2,side:pi*r*(r^2+h^2)^1/2 make only one class with functi…
  • Please help draw the 3 dimension graph with matplotlib in python. Thank you.
  • Dataset : https://drive.google.com/file/d/1SZuTy379t55Ua4dIUggkRgH9m4z_32sW/view?usp=sharing ¬† 1. How many incidents have taken place in May 2015?¬† 2. By race, how many people got injured in the loc…
  • Need to write python code using the Tkinter library in python creates a window that collects 3 numbers and displays the sum and average of the numbers. your windows should be similar to the following …
  • need the python code for the questions. code template: a = [ “Euclid”, “Archimedes”, “Newton”,”Descartes”, “Fermat”, “Turing”, “Euler”, “Einstein”, “Boole”, “Fibonacci”, “Nash”] vowels = [‘A’, ‘a’, ‘E…
  • BASIC PYTHON PROGRAMING how do I get rid of the trailing decimal zeros at the result, but leave the decimals if are not zero (get rid of “.o” but keep “. 2” or “.14”). print (“Cost: “) cost = float (i…
  • A Moving to another question will save this response. Question 30 A class definition called Property is given below. Add a method that displays a brief description of the property when the Python prin…
  • QUESTION 1 How many times will the loop body execute? ¬† ¬† ¬†¬† x = 3 ¬† while x >= 1: ¬† ¬† ¬† ¬† x = x – 1 ¬† ¬† ¬† ¬† 1 ¬† 2 ¬† 3 ¬† 4
  • Please, I need help to fix the error message of STEP 5. Thank you.. File Edit View Insert Cell Kernel Widgets Help Trusted |Python 3 O + H Run C |Markdown v Step 5: Hypothesis Test for the Population …
  • Using VS Code: The final result should look something like: ¬† ¬† ¬† ¬† ¬† ¬† Follow the steps below. Each copy should run in its own right. The last iteration should produce output similar to the ima…
  • Semantics: Exercice 10 in chapter 10 of NLTK book: 10. Analyzing the Meaning of Sentences (nltk.org) ¬† Modify the sem.evaluate code so that it will give a helpful error message if an expression is no…
  • (15 points) Complete Exercise 8.31 in the textbook. See pages 105-107 for additional information about the time module. 8.31 Implement class Date that support methods: init__(): Constructor that t…
  • I am trying to figure out how to implement a method I created in a function . The method is : def setPopulationOfCountry (self, country, population) : country = country.title() if country in self….
  • Please I need help writing a function that can read the lines on these books. I am working with three books, but want to generate code so that it can be adapted to iterate through other texts retrieve…
  • Create a “Magic 8 Ball” Program that uses an array or list and generates a random number to choose from that array of possible responses. You may use the following code as a starting point, but make s…
  • COVID-19 Data Collection and Analysis by Visualization. ¬† This is another option for students who are more interested in data collection and visualization.You must collect your own data from public w…
  • . CHALLENGE ACTIVITY 6.2.1: Reverse sort of list. Sort short_names in reverse alphabetic order. Sample output with input: ‘Jan Sam Ann Joe Tod’ [ ‘Tod’, ‘Sam’, ‘Joe’, ‘Jan’, ‘Ann’ ] 247772.2346548.q…
  • . # – # Lab 3: Numerical Tic Tac Toe class # # Author: Collaborators : # References : # – class NumTicTacToe: def _init_(self) : Initializes an empty Numerical Tic Tac Toe board. Inputs: none Return…
  • Start by defining how many guesses you want to make. For the sake of this experiment, choose guesses = 5000. Here, you only need a single loop as opposed to the double for loop from last time, and …
  • How to maneveur vertically in python? How to Get past 1st line of code in python? I am new to python and ¬†I am stuck on the 1st line, ¬†when i press enter to go below that it runs my txt instead of d…
  • The Dataset ¬†contains transaction information on how people spend money on musical festivals. The dataset contains data about 3 festivals and over 2 years: 2018 and 2019. The festival names were Magi…
  • the output needs to to show number of pennies, nickels, dimes, and quarters and if the input is more than one dollar then it shows a error message saying input is more than one dollar This is the star…
  • Using IDLE IDLE is a particular Integrated Development Environment (IDE) that is typically included in a Python installation. An IDE will enable you to use a text editor to create programs (in the cas…
  • There are two parts to this assignment, please make sure to give yourself enough time to complete both parts. 1) Setup Data Science environment and get exposed to relevant packages ¬†¬†a) install Anac…
  • a program that accepts the lengths of three sides of a triangle as inputs. The program output should indicate whether or not the triangle is an equilateral triangle. Use¬†The triangle is equilateral.?…
  • “Python’s standard library has a module called [`string`](https://docs.python.org/3/library/string.html) which contains a number of useful string constants which can be tedious to manually type o…
  • Task 1 You need to write a program that computes the trajectory of the bread. When this program is invoked a user must be able to select one of the following three options: i for specifying initial co…
  • This is the suduku: bd = [ [ ‘1’, ‘.’, ‘.’, ‘.’, ‘2’, ‘.’, ‘.’, ‘3’, ‘7’], [ ‘.’, ‘6’, ‘.’, ‘.’, ‘.’, ‘5’, ‘1’, ‘4’, ‘.’], [ ‘.’, ‘5’, ‘.’, ‘.’, ‘.’, ‘.’, ‘.’, ‘2’, ‘9’], [ ‘.’, ‘.’, ‘.’, ‘9’, ‘.’, ‘….
  • need help with these questions thx 4.2 Problem 1 (1 mark) Problem: Write a function that given two lists, returns the list of all the elements in the first list that do not occur in the second list. Y…
  • In this assignment you will create and use a database to find meanings and synonyms for given phrases. To do so you will use tables of synsets — sets of one or more synonyms (specific phrases) that s…
  • python program, i’ve inserted a png file below 1. Write a program that gets strings containing a person’s first name and last name as separate values, and then displays their "initials", &qu…
  • Hello teacher, I wrote a small program according to the teacher’s request, I hope you can run it and take a look. Also can you teach me how to design a flow chart? Thank you Project Requirement EMLear…
  • How do i write a program that has the following functionality: It asks the user to enter his/her name as a first name and a last name. It asks the user to enter his/her birthday in the form of three n…
  • please help me to write the function of following python def ip_class(ip): ¬†¬†”’ ¬†¬†Function takes in a ip address in string format.¬† ¬†¬†Returns which class the IP address belongs too.¬† ¬†¬†IP a…
  • How can I use a recursive function called¬† power ¬†that does exponentiation? The function should accept two arguments: num and exp. The function takes num and raises to the power exp. Cannot use the …
  • # Inputting first item details first_item = input(‘Enter food item name:\n’) first_item_price = float(input(‘Enter item price:\n’)) first_item_quantity = int(input(‘Enter item quantity:\n’)) print() #…
  • My object is a vehicle that can travel a certain distance depending on the fuel and mileage with the function to get the total distance traveled by the vehicle. Attributes: Fuel: float value that cont…
  • This problem is from hacker rank. Need help finding out the exact output of the question being asked. Must pass all test requirements. Thank you.. Outlook cengage My All Contests > 1500522 > 6 M…
  • Please sow work! . For example, consider these three variations: Indent-case #1: if c = = ‘a’: print ( ‘yes, a’ ) else: if c == ‘b’: print ( ‘no, b’ ) print ( ‘ hello’ ) o Indent case #2: if c = = ‘a’…
  • . Question 2 (5 pts) Design an OOP System for a Calculator. Your design that you submit should at least 3 classes / entities that you would deÔ¨Āne. Tips: 1- Think of hi gh‚ÄĒlevel abstraction of a …
  • I need the codes for the above functions in python Task 3: Decomposition with Graphs Graphs are often used to represent networks – for example, social networks like Facebook, Instagram, and Twitter co…
  • Using the code below explain the questions ¬† car1 = (‘name’: ‘put-put’, ‘age’: 20, ‘color’: ‘black’} car2 = (‘name’: vroom-vroom, ‘age’: 2, ‘color’: ‘red’} car3 = (‘name’: ‘vrrrraaah’, ‘age’: 1, ‘col…
  • urgent!! Python Programming Write a Python program in Wing. Save your file as "MT2QProg_initials.py". When finished, upload your file as an attachment for this question within Blackboard. Th…
  • Give two additional instances of asset in computerized correspondence frameworks. [4 marks] (b) For the three assets, demonstrate how much all out asset can be expanded. [6 marks] (c) How are assignme…
  • Finally, load the Sciamgo Journal and Country Rank data for Energy Engineering and Power Technology from the file scimagojr – 3. x1sx, which ranks countries based on their journal contributions in th…
  • Create a rock, paper, scissors game. A player will battle against the computer. a. Have the computer pick their weapon at random using the choice function b. Ask the player to pick their weapon us…
  • how to develop a Python program that gets student’s quiz scores in a class, and solve the number of students took the quiz, the quiz total sum, and the quiz average. Write the Python program that perf…
  • AVERAGE STEP TAKEN A personal fitness Tracker is a wearable device that tracks your physical activities, calories burned, heart rate, sleeping patterns, and so on. One common physical activities that …
  • COP 1000C Project 150 points Who Wants to Be a Millionaire Your final project will be to create quiz game similar to “Who Wants to be a Millionaire?” Requirements: ‚ÄĘ Your game will include 5 questio…
  • HI! I’m currently doing a really basic travel program that basically: Here are core specifications for the software. 1.¬†¬†¬†¬†¬†Input. a.¬†¬†¬†¬†¬†Your program will read the file items4.csv , which i…
  • Hi, I am working on learning Python 3, specifically generators. I’m working on the following practice problem. I want to have a function that returns a generator yielding even numbers (in order) from …
  • Fill in the blanks in the following code. Line Numbers: 14,17,18,21,22, and 27 must be completed and write output using phyton¬†. O Purpose: Read 10 numbers and display largest. smallest.and average. …
  • Python Programming help needed the steps are in place with comments. # birthday.py: estimates the number people that must be sampled until a # pair of them share a birthday. import import import impor…
  • I need help answering these two questions. Question3: The relationship of liquid inflow rate to bottomhole flowing pressure is called the IPR (Inflow Performance Relationship). By plotting this relati…
  • txt https://docs.google.com/document/d/1oNcHZwphFLSMAbCBt-Hv2A2vr6MXbdvmHcahtDxYm7M/edit?usp=sharing ¬† ¬†. Problem : Wordle 175. You have probably heard of the Wordle Game, a word guessing …
  • What are some projects that I can work on in order to learn the python programming language. I am intermediate level.
  • def merge(A,B,sep): “””Merge two lists of text strings using a seperator sep””” C = [] # finds the length of the A n = len(A) # merges the both the lists and appends the data into the C for i in range…
  • Implement quicksort algorithm in a PYTHON programming language. ¬† This version will use the first element of the array as the pivot. ¬† Please help me with a PYTHON code , It needs to take the input …
  • Scenario ¬† You work for a small company that creates text-based games. You have been asked to pitch an idea to your team for a text-based adventure game with a theme and environment of your choice. Y…
  • dataframe, compute the averageincome difference between male and females across industries e. Using the industries
  • please help me to do documentation python program design im so confusing this¬† PSP 0101 – PROBLEM SOLVING AND PROGRAM DESIGN INDIVIDUAL ASSIGNMENT – 15% INSTRUCTION This is an individual assignment…
  • file:///C:/Users/talha/Downloads/4COSC001W_CWK_21_22_V4%20(1).pdf
  • Consider the loop from Section 8.3 of your textbook. prefixes = ‘JKLMNOPQ’ suffix = ‘ack’ for letter in prefixes: ¬†¬†¬†print(letter + suffix) Put this code into a Python script and run it. Notice …
  • Write a Python program to compute the frequency of words from the article. The output should print the result after sorting the words alphanumerically in ascending order. Suppose the article (includin…
  • Worth 1 point Checkpoint 4.17 Write a for loop with a range function that prints the following output. Name the target variable number UIAWNHO Type your program submission here.
  • Assume that the population of Mexico is 121 million and that the population increases 1.01 percent annually.¬†Assume that the population of the United States is 315 million and that the population is …
  • Simulate in python: Take a coin with P(tails) = p. Flip the coin N times and let X be the random variable that indicates how many times the coin comes up tails. Now simulate this RV for different p’…
  • Please don’t take my questions if you want to copy from somewhere else. I need an accurate answers and explain why. Thanks QUESTION 5 Writ an input validation¬† loop ¬†that asks the user to enter a sc…
  • A number has a digit-position match if the ith-to-last digit is i. For example, 980 has the 0th-to-last digit as 0. Or 98276 has the 2nd-to-last digit as a 2. ¬† Write a function that determine if a n…
  • hello, i am new tho python and having a problem as follow. it is asking to strcon b and a and i did as follows: def strcat_ba(a, b): ¬†¬†assert type(a) is str, f”Input argument `a` has `type(a)` is {t…
  • . Question 2 Use the Python code for image compression to compress the national flags of different countries of your choice. The smalles rank / gives the numerical rank of the flag. Pick up any 5 na…
  • Write a program that can read “country_data.xml” The program should have the follow functions: 1. Read country names from “country” and “neighbor”. 2. Break country names to letters. 3. So…
  • Problem 1 (python) Using python:¬† a. Find all generators (mod 115). How many are there?¬† b. Find all generators (mod 1117). How many are there?¬† c. Find all generators (mod 10,007) using this *fast…
  • I have a csv and 11 text files (10 job applications, 1 job skills outline) that I want to search using Python. I want to use Python to go down the csv column of unique application numbers, match it to…
  • Write a ¬† if/else ¬†statement that adds 1 to¬†minors¬†if¬†age¬†is¬† less ¬†than 18, adds 1 to¬†adults¬†if¬†age¬†is 18 through 64 and adds 1 to¬†seniors¬†if¬†age¬†is¬†65¬†or older.
  • From a list of words in Python, find the 25 most frequent words and the 25 most frequent words that start with ‘m’. (50 in total) Print the word, the number of times it occurs, its rank in the overall…
  • Review the above EliteVideo case data (picture inserted) from the perspective of a database administrator assigned to build this database. Select one of the entities shown in the ERD for the EliteVide…
  • # (i) : 0 < i <= len(a_list) AND # returned_partitions = the list of all partitions of a list[:i] i, returned_partitions = 1, [[[a_list[0]]]] Here is the last objective: # i >= len(a_list) …..
  • Your menu might be similar to this. However, yours must use sub-menus. Ex. If you complete both of the guessing game Problem Statements 4 and 5, when the user selects 5 that in turn should display a m…
  • import csv def main(): ¬†¬†¬†courses = [[“Python”, 3], ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†[“Trig”, 3], ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†[“Physics”, 4], ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†[“Yoga”, 2]] ¬†¬†¬†with open(“co…
  • For m=4 bits. , using the signed two’s complement representation, (neatly) construct a table consisting of all possible 4 bit sequences along with their base 10 values. 2. Using the signed two comp…
  • 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…
  • The calculated ramp length is 13.0 Requirements: . 3 pts – Write you code in a script and name your file using your last name – for example: LastNameRamp.py . 8 pts – Place a comment at the top of you…
  • 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 …
  • Write a python code that will draw an equilateral triangle. Call this this function n times from a main function to draw n nested triangles.¬†(input n and side of largest triangle) Proper spacing, com…
  • *MUST ANSWER USING GRAPHICS.PY PROGRAMS ONLY* NO TKINTER 2. (15 points) Problem 2 gives you practice with interactive graphics that use mouse clicks rather than the console to get user input. It also …
  • write anwer. CO 4/8 b) Write a Python program to calculate and display the discounted poss, with usus action on console as below: 0 Ask the user to enter the original price (in HK$). O Ask the user to…
  • Python Coding Style menu to select and then generate pick-3 or pick-4 lottery number generator. Once the user makes their choice, the lottery number will be generated and displayed for the user to see…
  • I created a pygame where two characters shoot bullets at each other. fix this code so both characters can shoot bullets at each other. import pygame, sys pygame.init() #helpful variables ¬† size = wid…
  • print( "Your Team’s Relative Skill in 2013 to 2015") print( – # —- TODO: make your edits here —- mean = your_team_df [ ‘elo_n’ ]. mean ( ) median = your_team_df[ ‘elo_n’ ]. median( ) var…
  • . Database Setup Sign-in to your MongoDB Atlas account. Locate the¬† cybr ¬†project name from the left-hand drop down menu and select it. Under the “DATA STORAGE” section, select “Clusters.” Under the…
  • change_notes(filename, changes, shift)¬† Description: Changes the notes of the song given by the filename based on the parameters passed to the function. If a note appears as a key in the dictionary o…
  • Given an n-element sequence S, you have an algorithm B that chooses (first integer less than n/logn) bn/lognc elements at random and executes an O(n 1/2 )-time calculating for each. What is the worst …
  • Question 1 This question is about understanding heaps. a)¬†Draw the heap we obtain if we start from the empty tree and add consecutively the numbers: 42, 21, 40, 3, 56, 99, 58, 21, 46, 49 b)¬†Write do…
  • The code is error after this and does not run. Please find the issue and resolve all the code. elif i in tmppbl : raise Exception (f"Duplicate symbol ({i})") else : tmppbl . add (i) del tmpp…
  • Hi there, trying to use some of my questions before they expire. This is an assignment that has been giving me trouble. Thought? How would you work through this?¬† ¬† #—–this is the question ¬† ”’…
  • Computer Science Write Python class that takes a string and returns with a valid phone number. Number format is ten-digit numbers consisting of a three-digit area code and a seven-digit number. Clean …
  • TEST EACH OF THE FOLLOWING 3 PROGRAMS TO SEE IF THERE ARE ERRORS THAT NEED TO BE CORRECTED IF THERE ARE CORRECT ANY OF THE ERRORS THAT YOU FIND. COMMENT IF THERE ARE NO COMMENTS IN THE PROGRAM. YOUR C…
  • Problems from Python Create a Jupyter Notebook (.ipynb). Use markdown to clearly label each of the problems.¬† 1. Write a program that takes in user input in degrees Fahrenheit and converts it to degr…
  • Call the function that returns the difference of two numbers, pass into the function the numbers 6 and 3. Store the above result in y.
  • The chief of naval operations of a noteworthy armada of warships has enrolled your administrations! It is your Kongou* that fills in as your essential war vessel, and you have never lost a fight in yo…
  • How to make the Python code to implement your design in #2. Make sure you test the code with multiple inputs. Include screen shots of your code and runs. ¬† ¬† 3.¬† Design a flowchart that des…
  • Use the Fashion MNIST dataset from the keras package. Perform exploratory data analysis. Show a random set of SIX (6) images from each class in the dataset with their corresponding class names. Prepar…
  • explaining the python code line: using python to generate the viete’s formula: python function: ¬†. Consider the following > > > x = [3, [‘a’, ‘b’]] > >> import copy > > > y…
  • Write one python program using this condition below. 1. Uses files – open, read/write, delete to handle data.¬† 2. Uses exception handling – try and except to catch and handle exceptions. Value, data …
  • Describe the difference between data flows, data stores, and processes.
  • Need help with this question required only from 1c to 1e. Question 1: Consider the following optimization problem: ruin f(x), xER3 where the function is deÔ¨Āned as follows: 1 f(x1.x2.x3}= ¬ß[(2X1‚ÄĒx…
  • Please use Python (Anaconda Spyder), really appreciate it. Take the system of equations created by the market for beef and chicken: Beef: Demand: PB = a1 – b1QdB + C1Pc Supply: PB = a2 + b2Q dB Chicke…
  • Part A: WOFPlayer We’re going to start by defining a class to represent a Wheel of Fortune player, called¬†WOFPlayer. Every instance of¬†WOFPlayer¬†has three instance variables: .name: The name of the…
  • def eval_expression(string): ¬† ¬†“”” ¬† ¬†——————————————————- ¬† ¬†Evaluates a postfix expression. ¬† ¬†Use: answer = eval_expression(string) ¬† ¬†—————-…
  • File All_Tests.txt has these fields separated by space: ¬† ¬† ¬† ¬† First Last Test Score Example rows: Veneet Stewart Test1 88 Veneet Stewart Test2 78 Elizabeth Drake Test3 55 … Create a new file T…
  • Write a Python program that calculates a weighted arithmetic mean of 4 float-point numbers: Ex:. W W /=1. Follow these steps to calculate the weighted arithmetic mean: 1 Assign a weight to each value …
  • Question 1 In the recent COVID-19 pandemic, many disruptions to various aspects of our daily life have been created and show up visibly in many areas when data analytics is applied. You are to identif…
  • how to code this method: using this formula: python please help asap!!. a likelihood: This method takes two parameters in addition to self, data and hypothesis. data is a set of numbers, in the form o…
  • Para esta tarea tienes que indicar con color los diptongos, hiatos, rompediptongos y triptonogos. 1. Lleva el paraguas y la boina porque hay mucha nieve afuera. 2. Fuimos al teatro a ver una obra exce…
  • What are the best programming projects or software regarding calculus, physics or chemistry using Python? Please give me at least 5 with an overview. ūüôā
  • Please help. I need a Python 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, i…
  • Problem 2. (PicoBot: North-South Coverage) Write a PicoBot program north_south.pb with four rules that instruct the botto go all the way north, turn around, go all the way south, and stop. Your progra…
  • How to do you use the BeautifulSoup screen-scraper library to make a .csv file of all 500 supercomputers listed at¬†the following url? — https://top500./lists/2018/11/ 1) Using the resulting dataset,…
  • Tests your Python skills and capacity to plan a statistical analysis. You need to develop a simple game consisting of a rectangular grid (of size height x width) where each cell has…
  • I keep getting out of range errors, and the the program tries to default input to the Salc function in mylib line 66, in <module> ¬†¬†¬†scalc(p1) line 46, in scalc ¬†¬†¬†if astring[2] == “+”: In…
  • Using Python object oriented programming, implement a class called¬†Interval¬†that represents a one-dimensional open interval on the real line. This main purpose of this class is to simplify overlappi…
  • py import numpy as np import pandas as pd import math # function name: find_class_averages # inputs: file_name- name of csv file # class_names- list of strings representing class nam…
  • code in python with the template and test case Jina recently got a computer with two memory sticks. The computer will allocate requested memory from the largest available memory stick if possible (or …
  • Q1 – Making Lists Below are the results of a hypothetical experiment of measuring the height of a class in a land far away: . Vy is 5.6 feet tall . Sarah is 5.4 feet tall . Tina is 6.1 feet tall . Muq…
  • Write a function add_powers(m, n) that takes a positive integer m and an arbitrary integer n, and that uses a loop to add together the first m powers of n (from n**0 up to and including n**(m-1) power…
  • Write a program that performs the brute-force attack to break the password. The following table shows encrypted passwords using the crypt() function. Your mission is to break the password correspondin…
  • Import the pandas library as pd, then use the read_csv function to import the prices15 csv file, make sure that you parse_dates and also define as the column index the ‘date’ column. Print the first 3…
  • Ques 1 : for function f(x,y)=x ^ 2 +xy, verify that the analytical results of ‚ąāf/‚ąāx and ‚ąāf/‚ąāy are the same as the results from the computation graph below using the chain rule at x=2 and y=3. …
  • . Q06.70 Create a figure that has four subplots all in one row. In each of the subplots plot the function: y = ex Use the same values of x and y in each subplot. Set the values of x with NumPy…
  • . In this lab you’ll be creating your own class called Fraction which stores a fractional value. Your Fraction class will have the following integer member variables: num: representing the numerator…
  • Below code works for other links but not for the one that contains %20% , could you please help me download the file? import requests, os import http.client http.client.HTTPConnection._http_vsn = 10 h…
  • Please help in below program: Write a Python program that uses NumPy to calculate and print average of each assignment group from the file scores.npy. File in the below path: https://www.dropbox.com/t…
  • please take this csv file and make a bar graph of it using python . download link : blob:https://app.codingrooms.com/202793d8-5673-4ec9-af53-046e4e469087
  • implement a human vs. human version of Notakto. Notakto is a tic-tac-toe variant. It is played across three 3 x 3 boards: Board A, board B and board C. When you start the game you should output the bo…
  • The 2D exam grades data for notebook. I am stuck at Exercise 3. There is an error for the expected output on the tester. Note: the boxes show the notebook input. The texts after each box is the result…
  • The CNN Money’s Market Movers website ( https://money.cnn.com/data/hotstocks/ ) tracks the most active stocks on a real time basis.¬†Specifically, the most active, the top gainers and top …
    • The question picture is attached down below: Make a python program: 1- You are required to write a python program to calculate the sphere surface area and sphere volume. In your program you should …
  • In Python Write a program with total change amount as an integer input that outputs the change using the fewest coins, one coin type per line. The coin types are dollars, quarters, dimes, nickels, and…
  • I need help with this assignment. I am using PyCharm Pro 2019. I need help writing a Python program that gets the root document (“/”) from catalog.champlain.edu¬†(Links to an external site.)¬†and extr…
  • Is there a way to format numbers from a spreadsheet into the correct tn format in python? Can a column be removed from the same spreadsheet so when the info prints it is correct? here is a sample of m…
  • I have to create python programs for the following questions . I also have to use functions/multiple functions in each question. The professor has also given us example outputs for each problem which …
  • I want to import pylab library in python code but I am unable to do so because on execution it is showing that pylab not available
  • how can i make a python program based off the information below using loops and prompting all of the grades and displays them back on the screen? What is your grade for assignment 1? 9 What is your gr…
  • I need some expert in programming especially to those who is Electronics and Communications Engineering . I badly need your help for this written report . ¬†It will help me big time. Thank you for und…
  • . Part 3 (10 points) . a) Show only the Stock, Open, and Close columns. . b) For each stock, how many days over the entire dataset did that stock’s closing price was above the opening price? Show th…
  • I need help with the following assignment: Task 01 In this exercise you’ll be adding exception handling to a function that already exists. Specifications On a new notebook, paste function below >&g…
  • . First, perform the following tasks: . Make a linear regression model with all the features in the dataset. Use train_test_split to keep 20% of the data for testing. – Use your model to predict val…
  • Welcome to my Guess the number program! You guess the number Type number and see if the computer can guess it Exit What is your choice: 1 Please guess a number between 1 and 10: 5 Too high Please gues…
  • We are doing a Pygame project, uses python too but on repl.it Draw a business card that has graphics and text. -the graphics must include at least one of each of the following: circle (or ellipse), po…
  • age 1: Question 1 (10 points) Which code can you use to print if a test score is a pass or a fail? Page 2: if (score>=60): 2 print("passed") else print("failed") Page 3: 3 if (s…
  • Without converting the numbers to decimal, sort the following binary numbers in descending order (largest to smallest): 01000100 10001010 10100011 10001100 10100101
  • What will be the value of¬†a¬†after the following code has executed? a = [ “holiday” , “celebrate!” ] quiet = a quiet.append( “company” ) The value of¬†a¬†will be
  • I have a question about coding in Spark SQL using python. I firstly have two data frames here. from pyspark.sql import Row customers = spark.sparkContext.parallelize([ Row(customer_id=’1122334455′, fi…
  • Provided is a buggy for loop that tries to accumulate some values out of some dictionaries. Insert a try/except so that the code passes. If the key is not there, initialize it in the dictionary and se…
  • This is Python Inside Jupyter Notebook. ¬† I don’t know how to change the corners of the graph or how to put the input statement so that they take specific values. and I don’t know how to set a tolera…
  • Hi, I need a Python Code for this and can you also provide an explanation as well. In addition, I need a generalized code that could work for any valid input and the code shouldn’t be specifically Har…
  • Essay Analyzer Many websites out there allow you to upload your essay and give you a general analysis of it that may help you improve your essay or see where it stands (An example of this is: www.expr…
  • any ideas to solve this question? Teng-teng or also known as ketingting is often playing by girls rather than boys. It also is not hard game although used many energy. Teng-teng played by a group of c…
  • Please Help me with this Question: People in remote areas has insufficient resources, thus they have very different living style. Besides other things, they use to play quite different games. Interest…
  • A number, x, is a power of y if it is divisible by y and x/y is a power of y. what is a function in Python that takes parameters x and y and returns True if x is a power of y.
  • How did you use lists in this activity to abstract away detail?
  • please help me , i got stuck with this question
  • what I the answer What would be the output of the following program? Please note that the operation x % 10 (i.e., x modulo 10) is always the same as the rightmost digit of x (e.g., 123 % 10 = 3). Zz =…
  • Assignment 2 (Due Week 6) ¬† Python program that will compute the car rental prices. ¬† The program takes the input of da…
  • Define: Interpreted vs. Compiled Languages Interpretive Overhead Scripting (Procedural) vs. Object Orientation vs. Logic Programing Paradigms Programming Libraries/Modules Command Line (Prompt) ASCII …
  • 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://google…
  • Given a list of strings named listOfThings and a whole number thingIndex , write a¬†function that prints the item in listOfThings at thingIndex.¬† For example, given listOfThings = [“Baroness”, “Masto…
  • import unittest def¬†find_second(target:¬†str,¬†string:¬†str)->¬†int: ¬†¬†¬†¬†index¬†=¬†-1 ¬†¬†¬†¬†for¬†i¬†in¬†range(len(string)¬†–¬†1,¬†-1,¬†-1): ¬†¬†¬†¬†¬†¬†¬†¬†index¬†=¬†string.find(target,¬†i) …
  • All instructions are included in screen shot. ¬†Ive included three photos to use, you can choose which is easiest. Ive tried and cant get this please help!. Grammarly SecurePlan (u/Sec… 09 Python Pr…
  • Develop a program that reads and plots the high, low and closing stock prices found in the attached csv files:¬†Amazon.csv¬†Marriot.csv¬†Netflix.csv¬†United.csv¬†Zoom.csv.¬†¬†Your program should work …
  • Parentheses are used in mathematical expressions to denote modifications to normal order of operations. They must be used in pairs and can be nested inside another pair. For example, parentheses in th…
  • ***Please use standard libary , turtle does not work*** ¬† Only need help with 1 question . Please help with the function at the end named def¬†kink_polygon(poly): ¬† Instructions :¬† Iterate through …
  • i’m currently working on a project and applying logistic regression to do data mining task. However, I’m asked to define the functions and methods but I’m confused between them. can you help me to ass…
  • Hello, I need help solving this Lab simulation, It uses Print multiplication table for Lists and Dictionary statements and I am very new at python on so I need help solving it. It is very difficult. I…
  • Creating a student database program.¬† This program will allow the following: Add a new student to the database 3pts Remove a student from the database 5pts Display details about a student 3pts Displa…
  • Describe in English how you might model an email message (similar to what you see in mbox-short.txt) using classes .¬†You should describe at least two classes: one for messages (called message ), and …
  • Write a function that takes, as an argument, a string, and returns a list consisting of all of the letters in that string, and omits any digits, punctuation, or blank spaces. Name this function return…
  • 4COSCO01W: Software Development I – Coursework specification (2021/22) Module leader W Purdy Weighting 50% Qualifying mark: 30% Description: Coursework The coursework rationale is: Learning Outcomes L…
  • Want in Python¬†. 1. Write a program to implement a (16,12)‚ÄĒlinear code. Your program should be able to encode and decode messages using coset decoding. Once your program is written, write a program…
  • How can I make a program in Python using repetition structures to process a customer invoice? The program should allow me to enter item description, unit price, and number of items purchased. The prog…
  • IMMEDIATE: Need help (in 20 min or less!) with the below: 1: 2: 3: Question 1 2 pts This type of loop executes a specific number of times. O number-controlled loop O count-controlled loop O Boolean-co…
  • Competency In this project, you will demonstrate your mastery of the following competency: Translate requirements to solve problems computationally Scenario You work for a small company that creates t…
  • Using pseudocode, design an algorithm that will prompt for and receive 10 integers from an operator at a terminal and store each integer in an array. Display to the user the average of the integers an…
  • using this dataset YEAR MONTH DAY DAY_OF_WEEK AIRLINE FLIGHT_NUMBER TAIL_NUMBER ORIGIN_AIRPORT DESTINATION_AIRPORT SCHEDULED_DEPARTURE DEPARTURE_TIME DEPARTURE_DELAY TAXI_OUT WHEELS_OFF SCHEDULED_TIME…
  • Question: Reason The motivation behind this program is to acquire knowledge of C language builds and straightforward document input/yield. Program 1 Filename to be submitted: birthday.c (You will just…
  • Write a MATLAB code to do the following: 1. ¬† ¬†Upload any sound clip as you want. 2. ¬† ¬†Do many processes on it as : ¬†√Ņ ¬† ¬† ¬†Adding noise ¬†√Ņ ¬† ¬† ¬†Speeding it ¬†√Ņ ¬† ¬† ¬†Slowing it ¬†√Ņ…
  • this is Python. 2 Required Please download the authlog.txt file and prepare a Python script which does the following: 1. Using the authlog.txt file provided here please prepare a GUI front end that wi…
  • By using list comprehension, please write a program to print the list after removing delete numbers which are divisible by 5 and 7 in [12,24,35,70,88,120,155].
  • Problem 1 Write down program that writes the following data to file books.txt .¬†Include the semicolons. Fiction;Abraham Lincoln Vampire Hunter;Grahame-Smith;Wiley;13.99 Fiction;Frankenstein;Shelley;P…
  • NOTE: for Q3, you do not need to use a loop as instructed. ¬†. Q3: Here, I’m looking for the ability to update a cell based on other values in the same row, using .iloc (or loc) and .at. This will inv…
  • Return key_to_value inverted so that each key is a value (for non-list values) or an item from an iterable value, and each value is a list of the corresponding keys from key_to_value.¬†The value lists…
  • Please use Python codes to answer following qusetions. ¬† The question investigates the relationship between Sales and TV advertising expense. The data is given in following table.¬† ¬† TV Sales 230.1…
  • Please help me. Here is my question. Please show all your work. appreciate, If there is any missing information or any problem please let me know.. Activity 1: String index and Slice In [ ] : W Given …
  • Which module do you need to import in order for this function to run without error? 01 def sample_words(n=4): 02 ¬†¬†¬†¬†# samples N words from our library and returns them as a list. All words 03 ¬†?…
  • I’m having a hard time creating this code and executing it without error. Please help me understand… I’m trying to make an automobile class that will be used by a dealership as a vehicle inventory p…
  • ****NEED SOME HELP WITH PYTHON CODE**** I have a code that that is supposed to simulate the spread of Covid-19. In my code I had the uninfected particles as blue, then when they came into contact with…
  • Hello, Using Pandas and Pokemon dataset pokemon.csv available at: https://www.kaggle.com/rounakbanik/pokemon ¬† I need help with below 2 questions: 1.¬† ¬† 2. Thank you!. 13 Q13: Display all of the in…
  • . 3. Use pyplot to graph your Rankine cycle from homework 6 part 2 on a T-S diagram. The graphs should look like the following graphs (including title, axes labels, and summary notation): (we are co…
  • A robot machine is going to navigate through a series of cave connected by straight tunnels (Please see image below). It starts navigating from the A to the last cave G. Finding a shorter route is bet…
  • I need this in Python Please I’m Stuck Question Details: Write a program that reads whitespace delimited strings (words) and an integer (freq). Then, the program outputs the strings from words that ha…
  • (Object oriented programming python) this program is a simple guessing game. The computer is to generate a random number between 1 and 20. The user is given up to five tries to guess the exact number….
  • 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…
  • In English , describe how you would optimize the suspension of the quarter car model using:¬† scipy.optimize.minimize.¬† Your discussion should be sufficiently explicit to translate into an object-ori…
  • Chapter 5¬†complete Programming Exercises #15¬†from chapter 5.¬† ¬†It mentions that your program should work by using those two¬†value returning functions.¬†There are multiple ways to solve this one,?…
  • Johnny, graduate recently got a job at CSE in Ottawa. As part of a pilot project, every month CSE announces a list of 3 prime numbers (all less than 28) in proxy repositories which automatically sign …
  • . 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. …
  • A robot machine is going to navigate through a series of cave connected by straight tunnels (Please see image below). It starts navigating from the A to the last cave G. Finding a shorter route is bet…
  • lottery program instructions: program that picks four random numbers between 1 and 10 the program does not pick the same number twice also count the number of re-tries to get four different numbers ma…
  • You are given two complex numbers. You will print the result of their addition, subtraction, multiplication, division, and modulus operations. The real and imaginary precision part should be correct u…
  • plz help. String puzzles The second half of the problem focuses on strings. In particular, you will be working with the following strings: b = ‘boston’ u = ‘university’ t = ‘terriers’ We’ve given you …
  • Could I get some help on this? ¬† csv: https://docs.google.com/spreadsheets/d/17UEOK8zmUAc_9c3eJ4dqwlKASS9mCxDs8tXm4las0Nw/edit?usp=sharing ¬† Code: import numpy as np import pandas as pd import math …
  • (Find the two highest score) write a program that prompts the user to enter the number of students and each student’s score, and displays the highest and second highest score.¬† i want it in python. I…
  • I need assistance with some Python.¬† I have ~388 TEXT files in JSON format, which I need to convert into one CSV. Is this possible? I’ve attached screenshots for reference.¬† ¬† ¬†. MedicalPractices_…
  • whic h function is used to get documentation on specific modeles ,functions, variables , and classes in python from below ()find ()help ()abs ()lost
  • Link to USVideo_clean.csv Data file for the question : https://drive.google.com/file/d/10v6V6hOeHGDeOesjRE0-nzVjhpXAKDZ0/view?usp=sharing Question : # The list to hold all the csv data ¬†¬†youtube_usa…
  • Print all letters in your name except ‘a’ with python. ¬†¬† Name is – Mohamed¬† example – if your name is ‘Hassn’, your program should print an output which is ; hssn
  • Statistics are often calculated with varying amounts of input data. Create a program that takes any number of integers as input, and outputs the average and max. Ex: If the input is: 15 20 0 5 the out…
  • A flash memory stick is an example of what type of storage media? ¬† a. semiconductor storage media ¬† ¬† b. optical storage media ¬† ¬† c. electrical storage media ¬† ¬† d. magnetic storage media
  • for the two series given below, a = pd.series([np.nan,np.nan,4,5],index=[‘a’,’b’,’c’]) b = pd.series([0.,2.0,np.nan],index=[‘a’,’b’,’c’]) the following pandas code generates the same output as the num…
  • Python binary search tree. I have most everything figured out except for the Delete method of the Node class. I’ve tried rewriting this several times and I feel like I’m missing something very trivial…
  • I need help with my python code, thanks! I keep having to repost no tutor is found. I included links to both starter_code.py and best_picture.txt in the instructions for tutors: ¬† Instructions: There…
  • Use zipfile to create a ZIP file containing the TXT, CSV, JSON, XML and YAML files from this lab 1. Create a list named files_to_zip with the following filenames: ¬† classic_books.txt classic_books.cs…
  • python programming questions. really need help! ¬†The problems are attached. 1. Write a Python program that prompts the user to enter the current month name and prints the season for that month. 2. Wr…
  • Many problems in computer science and in engineering are solved on a two dimensional numerical grid using techniques that are variously called “gradient ascent” (or “descent”), greedy search, or hill-…
  • I am having a hard time understanding nested loops in python. Could you please explain the concept and principals to me in a clear and concise way? I already have the answer to the following due to th…
  • Summoning Charm:¬†The Summoning Charm (Accio) was a charm that summoned an object towards the caster. Consider the following code: class Spell: ¬† ¬† def __init__(self, incantation, name): ¬† ¬† ¬† ¬†…
  • How to design and model classes in python and use them in a single program?
  • Insert the following code into python to help you answer the question below: import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) import glob impo…
  • . 1. It is that time of year again!! Time for the Annual Quidditch World Cup Event. The finals are scheduled to start this Monday, so you must get your bets in soon. The two teams in the finals are …
  • Develop python code with the following functionality: Trim the airplane: For given values of the velocity¬†V¬†and flight path angle¬†ő≥, compute the angle of attack¬†őĪ, the value of the commands¬†T¬†…
  • Question 1: Basic truth tables (4 marks) A B A . B A +B A ~A NN A 0 0 0 0 1 1 0 1 1 Create a New Study Set | Quizlet https://quizlet.com/create-set
  • I am trying to run this code on Visual Studio code but I keep getting error (below) import sqlite3 #Part 2A userTable = ”’CREATE TABLE tweetUser ( id NUMBER (50), name VARCHAR2(50), screen_name VARCH…
  • Question ¬† ¬† Problem 1 for the Data Set Shoe-sales.csv: You are an analyst in the IJK shoe company and you are expected to forecast the sales of the pairs of shoes for the upcoming 12 months from wh…
  • Write a class ‘Example’ that initializes two values ‘v1’ and ‘v2’ to ‘0’ by default, and prints the values in this form: “Value 1: 20, Value 2: 30”. When two objects of this class are added together u…
  • Need to fill ngram method COUNTRY_CODES = [‘af’, ‘cn’, ‘de’, ‘fi’, ‘fr’, ‘in’, ‘ir’, ‘pk’, ‘za’] def start_pad(n): ¬†¬†”’ Returns a padding string of length n to append to the front of text ¬†¬†¬†¬†a…
  • How to I program coordinate descent optimization to find parameter estimates for ridge
  • 15 LAB: Currency exchange ¬† Learning Objectives use if/else statements to correctly match the provided target to what’s stored in the program store the input values and hard-coded values to use the…
  • answer #1 ¬† answer #2. Requirements Edit the sun-and-earth visualization code given below. At the end of the draw_sun_earth function, note that there is a section of code that nearly repeats the sect…
  • [1 point] Demonstrate four ways you could call the Copy Features tool in python.¬†You can use any feature class to test your code. ¬† [1 point] Demonstrate 4 ways you could call the Intersect tool in …
  • Can you help be verify if the code is correct for the ones highlighted in RED and can you help me with the ones in BLUE?. 105 while True: 104 try : 105 item_count = int(input(‘Enter the item count: ‘)…
  • 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 a…
  • I have attached the question with what I thought and what I am confused about. CISE 6. a) Write a function, average ( ) which takes an array, and returns the average of the values in the array. Test i…
  • 4 Boolean functions ¬†Functions can return booleans, which is often convenient for hiding complicated tests inside functions. For example: def is_divisible(x, y): if x % y == 0: return True else: re…
  • Code python numpy on jupyter notebook. Use the numpy.org website to find 50 attrubutes and methods of numpy and code them.
  • Please help with questions 5-8 (using python programming). #5 – hiddenMessage(S) Write a function hiddenMessage(S) which takes a string, splits it by spaces, and returns a new string that is composed …
  • Hi I am looking for Question 5 : Reverse engineering def reverse_engineer (seq) : “”” Reverse engineer an input sequence Parameters: seq – list of strings Returns: list of values corresponding to each…
  • how to write pythonic¬†function sum_first_n_squares(n) that uses a list comprehension to calculate the sum of the squares from 1 to n, inclusive.¬† E.g. sum_first_n_squares(3) == 1^2 + 2^2 + 3^2 == 14
  • This is for Python version 3.8.5 and please include pseudocode.¬† program7_1.py This assignment is about temperatures and requires the¬† main ¬†function and a custom¬† value-returning function . T…
  • can you please give answers for input, output, pseudocode, flowchart and desk check for this question. Write a program that allows a tax accountant to computes personal income tax. Your program will a…
  • Use read_csv() function to read the dataset from Url above into pandas dataframe. ¬† ¬† ¬† ¬†* I. ¬†Name the dataframe as `CarsData`, and use the correct parameters to parse the dataset. ¬† ¬† ¬† ¬†* …
  • Now for the main logic:6.Don’t forget to call the main method:7.Copy the code, and get it to run. This will also be the base on which to build additionalfunctionality in later Performance Assessment…
  • Consider the binary search algorithm from Section 12.6.2. If no match is found, the binary/Search function returns -1. Modify the function so that if target is not found, the function returns ‚ÄĒk…
  • Hello, I need help to develop the pseudocode for the following problem. The one I am putting together wont be accepted by coursera and I tried everything. Here is what I have so far: class¬†Entry¬†: ?…
  • Definition Snap! ERG Determine the length of a list ¬† Add an element to the end of a list ¬† ¬† ¬† ¬† ¬† Delete an element from a list
  • Describe the difference between¬† objects ¬†and¬† values ¬†using the terms ” equivalent ” and ” identical “. Illustrate the difference using your own examples with Python lists and the ” is ” operator…
  • I am getting this error,¬† “TypeError: The view function for ‘send_message’ did not return a valid response. The function either returned None or ended without a return s..>@app_Obj.route(‘/send_me…
  • Python Can someone please help me fill in this jupyter notebook file in python. First 6 parts are already done Link to csv file ——->>> https://gofile.io/d/N0a3WO ¬†. Question 7 : Load ‘ex…
  • socket programming question (client-server) ¬† Write a program to maintain a telephone directory of the employees of an organization. If the employee has more than one number store all the numbers. Wr…
  • PYTHON program to record the details of books in a library (e.g., Book Title, Book ID, Author(s), etc.) in a dictionary as follows: Books = {(Book ID, Book Title): (Subject, Author(s), Edition, Publis…
  • How do I write out the program on RSLogix? How do I write the part where it says Bul.1763?. Solution: NO MC PB MOTOR BIT 1:0 33-0 0000 Bul. 1763 NO MC PB 5 2 MOTOR BIT 1:0 33:0 0001 (U) Bul. 1763 NO S…
  • How do I workthis assignment?. ASSignment Tetuback senseLT-140]F1 – PYCHARM INTRO REVISED OCTOBER 2021 Please review the feedback for each component of the assignment. To resubmit it, please click her…
  • how does the python interpreter know what lines of code belong to the loop body answer
  • I am having trouble for the questions below in the document 3-page-001.jpg” />3-page-002.jpg” />3-page-003.jpg” /> 1. Write a function that returns True if the sentence string sentence contai…
  • In Python: ¬† Write a program that uses the loop to draw an octagon with the word “STOP” displayed in its center. The STOP sign should be centered in the graphics window. Remember to use a repetition …
  • question 7. 7. Add a new column to the dataframe referenced in question 6 to represent the color of each fruit using the map function. (4 pts) In [ ] : fruit = pd. Series (np. random. choice ( [ ‘pear…
  • Note this assignment uses a number of topics from earlier sessions (flow of control, functions, lists), in addition to the latest topics (files, parsing, dictionaries). You should develop your program…
  • What are the tools that help to find bugs or perform static analysis?
  • 101 – Python Activity 10 coding python core Given a linux file mode (permissions) as an integer, return the permission string that the mode represents. Example 1: mode = 511 511 == 0b111111111 permiss…
  • Please help me. Thanks. Question 1 – Clock conversion (25 pts) Write a Python function that converts a clock reading from 24h system to 12h system. For example. 14 becomes 2. 23 becomes 11 and so on. …
  • I’m taking a python class. Any help? I need to set up a python program that can solve a multi-dimensional function using the bisection and secant methods.
  • Say I have the Breadth First Search Algorithm Code made to traverse a maze that I’ll paste under question and I would like to run it on different size pacman mazes (small, med, large) example of the d…
  • Print the following pattern * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  • WIDGET SALES COMPANY PHASE 2 In this phase you will provide the detail that each of the roles must perform in completing the website. Project Manager Provide a timeline for the various activities that…
  • I have a hex string that looks like: ‘\x00\x00\x00\x00\’ In the example above, I want to get 8*8= 64 boolean falses in an array. How do I do that? unhexlify gives the following error: Non-hexadecimal …
  • Some starting test code, which you will need to modify, has been included, below. This code prints a bar chart, much like was done in the labs. You should modify this code so that it generates your ta…
  • Repeat the exercise from Q4 but with 10,000 bootstrap samples instead of 10. Set the seed to 1 first. Expected value
  • Q8: Filling the missing values in the specified formate¬∂ You will be given a list of lists, each sublist will be of length 2 i.e. [[x,y],[p,q],[l,m]..[r,s]] consider its like a martrix of n rows and …
  • Hi, ¬† I’m currently trying to create a class that can add new users (username & password) with a two basic checks before adding them to the dictionary: 1. does the username exist in dictionary, i…
  • Write a function called next_month(this_month) that takes a string of 3 characters as an argument representing a month abbreviation and returns the 3 character abbreviation for the following month. Us…
  • https://docs.google.com/spreadsheets/d/1Lf-fbhi1gSTLld9KuGbeuCnoUcItiUxfCZS3wIi-JLc/edit?usp=sharing https://data.census.gov/cedsci/table?t=Income%20and%20Poverty&g=0400000US13%240500000&tid=A…
  • Step 1: Start a new file. In IDLE, select File and then New File . A new window will appear. This is the window to input your new Python program. Now, type in your new program. Step 2: Write a program…
  • I have attatched the question with what I thought about the question and what I am confused about. Exercise 1 " Finite differences can be used to estimate the derivative (rate of change) of some …
  • def myFunction(): ¬† ¬† n = -1 ¬† ¬† while n < 0: ¬† ¬† ¬† ¬† n = int(input(“Enter a number: “)) ¬† ¬† return n print(myFunction()) ¬† ¬† Assuming the¬†user enters: -9 then -5 then 4, what will …
  • Create a flowchart about this program Your program must prompt the user for their city or zip code and request weather forecast data from openweathermap.org.¬†Your program must display the weather inf…
  • need help on following python practice quesitions 1.Make a function find(str, char) that takes a string and a character (respectively) as arguments and returns the index of the first occurrence of t…
  • Lists three possibilities to consider if a function is not working while debugging. Describe each possibility. Define “precondition” and “postcondition” as part of your description. Show an example of…
  • You have the following appointment slots booked during the day: 8am – 10am, 11am – 12pm, 1:30pm – 3pm, 2pm – 5pm. Write a program that takes as input a list of booked appointment slots, and returns sl…
  • function called straight(hand) that determines whether a given hand is a straight. a straight is a hand that contains Ô¨Āve cards of sequential rank. The cards may be of diÔ¨Äerent suits. But, instead…
  • write code that accomplishes the following: Program 1: reads the entire contents of a file (‘text.txt’) and writes everything read to an output file (‘Report1.txt’) Program 2: reads from a file of num…
  • . and the employee. An employee contributes to the pension through a deduction that is typically a percentage of the employee’s annual salary, based on some deduction rate. Gross income is how much …
  • Read the charlotte_hornets.txt file into a list … 1. Create an empty list assigned to a variable named hornets_stats 2. Read file charlotte_hornets.txt using Python’s open() function. – NOTE: Use wi…
  • ITI1520 An Ottawa Senators hockey player qualifies for the bonus program if he has more than 20 goals or collects more than 25 assists, or gets 25 penalties during the regular season. Players who qual…
  • 3 Sales of Toyota Corolla Cars. The file ToyotaCorolla.csv contains data on used cars (Toyota Corollas) on sale during late summer of 2004 in the Netherlands. It has 1436 records containing details …
  • You can here download two files each containing 10000 integer values. just simply copy the link into google . ¬† https://homepage.lnu.se//staff/jlnmsi/python/2021/10000_integers.zip ¬† ¬† ¬† The main …
  • need the solution in python programming for the above question ¬†. TASK 1 (OF 2): When considering the design of a physical system, one key element to consider is the material being used. When first s…
  • Complete the definition of the following Integer class: class Integer : def init (self, num str) : " Initializes an Integer object representing the value given in the string num str”’ def add (…
  • question 1 1. Make a new subclass of turtle called rainbow_turtle based on the examples in turtle variations.py_. o The turtle’s initial pen color should be set to a random color. 0 The turtles pen co…
  • This is a python question, ńĪ need a unique code for this please.
  • how do I prompt for users name as requested below Your Output their name and then welcomes them. Hello Sarah Note that input will pop up a dialog box. The page at "https://www.py4e.com" says…
  • Learning Scala : Ch 5: Functions as first class citizens Write a function literal that takes two integers and returns the higher number. Then write a higher-order function that takes a 3-sized tuple o…
  • Question 5: Majority-Rules circuit (8 marks – 2 marks TT, 2 marks BE, 4 marks drawing) A Output (D) Boolean Expression O 0 0 0 1 0 O 0 1 0 1 N Circuit Diagram:. Question 5: Majority-Rules circuit (8 m…
  • Please refer to the attachment to answer this question. This question was created from Assignment 4.docx.
    • Create the list you ended up with in Working List, but this time start your file with an empty list and fill it up using append() statements. ‚ÄĘ Print a statement that tells us what the first car…
  • I need help to have my code match the following task= this is my code: import matplotlib.pyplot as plt import numpy as np import pandas as pd from sklearn.datasets import load_breast_cancer cancer=loa…
  • Question: Use the following datasets: BX-Book-Ratings.csv, BX-Books.csv, BX-Users.csv to develop right recommendation for users as it will entice the user to rent more books. You will also get exposed…
  • Part 1: Please help me answer these questions: 1.) What is a function? Why are functions used? 2.) List some common mathematical, string, statistical and utility functions(Chapter 2, sprankel) 3.) Com…
  • The required output is as follows: 91m Question Grade Points: 1 Question Grade Points: 1 You have been provided the following conversion formulas: # Fahrenheit to Cetsius Conversion = (Fahrenheit ‚ÄĒ …
  • Need a code for python: Get user input and store a variable Declare and initialize a variable age_in_years from user input (do this in¬† camper_age_input.py ) Call the function convert_to_months(age_i…
  • format(“Pakistan”,’<20) is an example of a function that accept two arguments to align text in left or right side with the given width in second argument. Make a program using user defined function…
  • import csv import os from src.planet import Planet def generate_planet_list(file_path): ¬† ¬†“”” ¬† ¬†Read in the data from data/planets.txt (ignoring comment lines) ¬† ¬†construct a list of Planet in…
  • I need to turn the attached flowchart into Python Code, here is the code I have so far: total=input(“Enter Total Bill:”) people=input(“Enter Number of People Present”)) choice=(input(“Is Every Person …
  • Write a program that will generate a random recycle bin. This program will have a menu that allows the user to generate a new recycle bin, print the current recycle bin, add an item, remove an item …
  • Using python I am trying to make class named Employee that holds the following data about an employee in private attributes: name, ID number, department, and job title. The class should include an acc…
  • Hello! I want to return¬†a¬†new¬†list¬†with all¬†the¬†positive¬†numbers¬†in¬†the¬†float¬†list,¬†(float_lst)¬†correctly¬†rounded¬†off to¬†integers.¬†For¬†example,¬†the¬†input¬†[1.3,¬†2.67,¬†-2.25,¬†4.8…
  • solve the folllowing cp problem: In Chefland, there are¬†N¬†cities (numbered¬†1¬†through¬†N) connected by¬†N‚ąí1 bidirectional roads. Each city has exactly one garden. For each valid¬†i, let’s denote …
  • Implement the following function in the PyDev module Functions .py and test it from a PyDev module named t14. py: 1 def matrix_transpose(a): 2 …" 3 _________________________________________…
  • Topic: LINKED LIST I need a Python class, ‘nodeType’, that has two instance variables Info and Link. Implement unsorted linked list as attached below. The Python class should include two methods, one …
  • style issues. thing on your list of tasks is to identify any style issues in some code. Given this piece of code (below) that returns the slope and y-intercept of a line based off of 2 points, identif…
  • Using lists and loops, including and especially in nested forms ¬† 1. Write a program called means.py that implements 3 functions: mean_all, mean_by_row, and mean_by_col. You will be handling lists of…
  • code with explanation¬†. write values Define a function named write values with two parameters. The first parameter will be the name of a CSV file that will be written to (a string). The second parame…
  • Add a wrapper to this function so that it computers multiple runs (a user-specified value) and computes an average accuracy over the multiple runs rather than a single accuracy? Code: import¬†csv impo…
  • Do some research and describe one language other than Python that you feel would be beneficial to your career and one that would not. Be sure to include your reasoning. If you are not a developer, how…
  • I need help with these two python programs (three_shapes.py and bouncing_balls.py). Note: these two programs involve the use of graphics.py and a “Game” class which need to be imported within three_sh…
  • In this exercise, you need to practice writing functions. Please write code for the following functions: main() menu() calWeight(from, to, weight) calLength(from, to, length) calVolume(from, to, volum…
  • please sovle this for me¬† note that the engineering tool mentioned in the assignment is referred to skills such as python, matlab, solid works, etc. Assignment For the assignment, you will create and…
  • how do i solve this problem using right to left indexing by that i mean [:1] and still using recursion?. # Function 1 def dec_to_bin (n) : ‘takes a non-negative integer n and uses recursion to convert…
  • have to write the following in the correct order Match the following parts of function calling with the order in which they would be executed by python. Context is switched back to the point of callin…
  • Implement the following function in the PyDev module functions.py and test it from a PyDev module named task 1 def get_pay(hourly_rate, hours_worked): “”” ———————————————…
  • write an expression that returns True if the str associated with s ends with “ism”
  • Observe the following code snippet. Some code is missing. Write a Python program that satisfies the following specification such that the following code is syntactically and logically correct. def …
  • Scenario: Novice hackers are trying to write a Python code with a malicious code segment injected to attack.¬† ¬† Step 1: Write a simple Python code. For example, a code shown on slide 6. ¬† Step 2: C…
  • How do I code to have a player pick up items in the rooms?. def displayIntre ( ) : print (‘The guinea pig was on her way to snooze in the master bedroom after win g her second salad’ ) print ( of the …
  • Help with Python code: I am doing my paper for C996 programming in python. I was able to write the code (don’t know if it is correct). I have to extracts links that point to other HTML pages and inclu…
  • data science : Give the number of travel advisories, by level, for international travel given by the US government. Data available at: url=https://travel.state.gov/content/passports/en/alertswarnings….
  • Write a python program that prompts the user to enter 3 names. Store each name in a separate variable. Then display the names back to the user in every possible order. ¬† ¬∑¬†¬†¬†¬†¬†¬†Print t…
  • IPO Chart for calculate the total paint required and cost to paint a room.
  • PYTHON CODE PLEASE ¬† Write a program that reads a text file containing synonyms for a word and outputs synonyms that begin with a specified letter. Use the attached file educate.txt to help you write…
  • Hi I am looking for a solution with the use of no external librariesl I dont quite understand the logic for this.¬† ¬† Say I have a specific set of string such as ‘AAAUGTUGCCAGAGTA’ I would need to ha…
  • Table 2: Demandas 1. Considere el arbol mostrado en la Figura 1. Se desea ubicar una instalacion de manera tal que la distancia total recorrida (ponderada por la demanda) sea minima. Usted debe: (a) E…
  • how to delete numbers, symbols(but not spaces), and months(in words) in a text file, and generate the result to a new file using os.path.join?
  • Implement a variation of a list type in Python, specifically a typeIncreasingList that acts as an increasing list of elements. It must implement the following 3 methods:-append(self, val): First, it r…
  • Hi, can you please help me with my assignment below? ¬†I need to extract the year from the file name. ¬†Thanks. ¬†. M Inbox (1) – marie.ninobla@gmaiX Integrating Structurally Identical X Multilndex / …
  • Can someone point me in the right direction on my 5-2 Assignment: Client-Side Authentication ??? Prompt You will be given starter code that implements a preliminary dashboard and prompts the user for …
  • For the recurrence T(n)=4T(n/2)+n find őė(n)? Consider we have 2xn size arrays. What can be the operation using both arrays.
  • I have a question on my assignment i seem to not understand.
  • the control structure to calculate a grade.¬† The grade is based on 4 homework assignments of 50 points each, 2 tests of 50 points each and final exam of 100 points.¬† The final exam is worth 50% of t…
  • Prior Code:¬† randoms¬†=¬†np.random.standard_normal(1000000) plt.hist(randoms,¬†bins¬†=¬†30) plt.ylabel(“Frequency”) plt.show() ¬† Using Python: ¬† From a z-score of -4 to 4 in intervals of 0.5, use t…
  • zyDE 4.2.1: While loop example: Ancestors printing program.
  • def isComposite(x): ¬† ¬†“””Returns whether or not the given number x is composite. ¬† ¬†A composite number has more than 2 factors. ¬† ¬†A natural number greater than 1 that is not prime is called a …
  • Develop a program, in which¬†you’ll design¬†a class that holds the following personal data: name, address, age, and phone number. As part of the program, you’ll then create¬†appropriate accessor and m…
  • A MySql and Pycharm question,: when I run ¬†” select * from sanguo where country=’ŤúÄ’ and attack > (select attack from sanguo where country=’ť≠Ź’ order by attack desc limit 1); ” ¬† It has this er…
  • Write a program that creates three classes – Circle, Square, and Cube. For each class, provide methods accessor and mutator, method find_area() that will calculate the area of the shape, and method di…
  • Please answer the questions correctly. Please read the question from bottom. Note: USE PYTHON PROGRAMMING LANGUAGE AND YOU MUST USE FILE ¬†I/O ¬†FOR BOTH INPUT AND OUTPUT. W31 Modify your code for the…
  • . Question 4 (Translate complex logical condition) Assume that the variable g refers to the adjacenty matrix of a graph. Write a python code to return all non-shared neighbours of vertices x and y. …
  • Write C code that has two string variables called word1 and word2. Word1 will be equal to “Hello” and word2 will be equal to “world”. Use these variables to print “Hello world” to the screen and take …
  • The dataset belongs to a leading life insurance company. The company wants to predict the bonus for its agents so that it may design appropriate engagement activity for their high performing agents an…
  • Question 2 (90 points) a) Using the Internet, search and retrieve one Python example program that utilizes the concept of queue using Python List. Next, search and retrieve one Python example program …
  • File = Bankdata.csv URL : https://docs.google.com/spreadsheets/d/1Qn4pdGrhzLjoXy1F871BalEz57rqdsB8OvLd4AbhCbA/edit#gid=1783727779 ¬†Data Preprocessing Q. Explore the dataset to identify the features a…
  • PLEASE NEED HELP ASAP, NEED CODE IN PYTHON. THANK YOU AND GOD BLESS!. PE 11: Graphical User Interface (GUI) Learning Outcomes 1. Utilize the tkinter to create a GUI 2. Implement widgets on a scr…
  • Problem: ¬† Example of a flowchart and pseudo code to do the following:- You are going to modify week 4 assignment (2 problems) to use input() function (no hard coded values) to prompt the us…
  • Write code below that does the following: Shifts with wraparound the list colors three positions to the right and stores the result in rotColors . Print rotColors This means that the last three elemen…
  • Write a function that will be given a positive integer (n), and return a filled 2D array containing n rows and 4 columns, with values as described below. Each row in the array will represent a positio…
  • Q2 P1¬† ¬† Given two separate lists of song lengths, we want to separate the two lists based on a given threshold. The first list,¬†play1, should only have song lengths that are lower than the thresho…
  • Hello Tutor please kindly access the 2 datasets files using the google link I shared, it will be easy to get the access to the dataset this way. !!! ¬† ¬† About the Data sets required for solving the …
  • Question 3 (1 point) Using the variable name from q2, show the code to add the values "o" and "u" to that list.
  • Copy the BLASTN file from¬†/export/home/jgreene2/bin/final.blastn¬†to your directory. Open the file, extract the query name and length for display in the output, and then parse just the acce…
  • Retype the following statements. Complete print_shape() to print the below shape def print_shape ( ) : # FIXME: complete function to print desired shape return Example output: * * * * * * * * * 376628…
  • Write a Python application that is a mathematical/statistical calculator based on user input. The user will first choose between a mathematical or statistical mode. In the mathematical mode, the user …
  • Define a function that recieves 2 numbers as input parameters and returns True or False depending on whether or not the first number is twice the second. isDouble(12, 6) ‚Üí True isDouble(4, 6) ‚Üí…
  • question # 2 if print the value of the valable say.5 Which of the following print statement should be used to fill in the blan print(say_hi) print( hello.say_hi) O print(hi.say hi) O print( say_hi.val…
  • Requirements You will use Python to list your morning routine. Your morning routine is often similar day-to-day, such as getting dressed or brushing your teeth, but that routine can vary slightly ever…
  • The statement d=deque(maxlen=5) does which of the following? It adds elements above five to the middle. It adds elements above five to the left. It adds elements above five to the right. It limits the…
  • About the dataset (Customer Tip Data) ¬† The dataset contains information about the 244 orders served at a restaurant in the United States. Each observation includes the factors related to the order l…
  • I’m attempting to construct a 3x3x3 rubik’s cube that can solve for bottom cross and then afterwards bottom layer. The cube needs to be scrambled with colors blue, red, green, orange, yellow and white…
  • # – i skriptet kan du da erstatte disse 4 kodelinjene med kall til siksak( ) # # Utskriften etter endringen din skal vare eksakt den samme som for programmet ble endret. Hvis du er i tvil om hva du sk…
  • How many women have their ‘BloodPressure’ equal to the median of ‘BloodPressure’
  • I am looking for answers to #1 listed here on this problem set in R code. I included descriptions for all three datasets needed for this problem.¬† ¬† ¬† ¬† ¬†. out of 100) are placed on the "Nat…
  • # First, read about Look-And-Say Sequences here: # https://en.wikipedia.org/wiki/Look-and-say_sequence # Now, write a non-destructive function lookAndSay(lst) # that takes a list of numbers and return…
  • What would the value of x be if we executed the following codes a=1 b=2 x=a+b x=10 1)10 2)11 3)12 4)13
  • Explain mathematics of genetic algorithm, using dummy data. 2. use python programming to solve the problem discussed in 1 using genetic algorithm.
  • Extract following matrix from the 2D array below (5 pts) ¬† array([[ 8, 9, 10], [13, 14, 15], [18, 19, 20]]) my_matrix = [[1,2,3,4,5],[6,7,8,9,10],[11,12,13,14,15],[16,17,18,19,20]] arr=np.array(my_ma…
  • Extend your solution so that the program uses Python to save the input progression data to a list, tuple or directory. Then access the stored data from the list, tuple, directory and print the data in…
  • I can’t seem to get this one right either. My output in codio looks exactly the same as the expected output but I still get the “output did not match…” message. Here is my code: ____________________…
  • last line is not visible , gives erroe.. # Tuning "max_depth’ & ‘min_samples_split’ parameters by using above tuned "tfidf_max_depth" & "tfidf_n_estimator" hyperparame…
  • It’s missing the rest of the codejQuery22409214470253228562_1637534215535!!. # Modify the code below Program: newton . py Author: Ken Compute the square root of a number. 1. The input is a number. 2. …
  • Many companies use telephone numbers like 555-GET-FOOD so the number is easier for their customers to remember. On a standard telephone, the alphabetic letters are mapped to numbers in the following f…
  • I need to understand what is missing in the below reqular expression Here is my code matchers = { ¬†¬†‘name’:”'”[‘\w\’*’]*”><span>(.+)</span>”’,¬†¬† ¬†¬†‘stars’: ”’title=”([0-9.]+) s…
  • How can i write a program to prompt the user for hours and rate per hour using input to compute gross pay. Use 35 hours and a rate of 2.75 per hour to test the program (the pay should be 96.25). You s…
  • Hi can you help me with this question. Also since I can’t send the txt files I have also posted a screen shot of the txt. Can you help me debug . I have posted the question desricption , sreenshot of …
  • Python problem: Let’s assume that four staff members (Analysia, Bernard, Christie, and Diana) want to teeter (i.e., sit) on these totters, and let’s further assume that Analysia weighs 30kg, Bernardo …
  • Question Create a single fabric task called "listUserinfo(username)" in a fab file called ‘fabfile.py". The listUserinfo(username) task should perform the following operation on the vm …
  • input to be in this form. (a) Experiment with different network topologies using convolutional and other layers (similar to our MNIST example) and try to find those hyperparameters that yield maximal …
  • I am having an issue getting the code found below to read csv files, analyze them, as well as kick out a plot for downloading. Please show me what I am doing wrong. #import statements import numpy as …
  • from Part A of Code: system sys class City: ¬†¬†def __init__(self, Name_of_City, population): ¬†¬†¬†¬†self.set_Name(Name_of_City) ¬†¬†¬†¬†self.set_population(population) ¬†¬†def set_Name(self, Name): …
  • . Instructions: 1. Read the scenario below. 2. Write a pseudocode solution that can determine how much a salesperson earns in commission for a month and how much they will receive from, or pay ba…
  • Programming Language: Python The file to be used is “Google_Books_Dataset.csv” Must import load_dataset.py¬† this file: filename=”Google_Books_Dataset.csv” def book_category_dictionary_list(filename):…
  • Getting Started Download the starter code from this shared folder¬†(Links to an external site.) . ¬† ¬†https://drive.google.com/drive/folders/1D8nWBhH85parnbZTg2LNLCBFJW8th76_ You may want to make a n…
  • Question 1: The following code examine two variables — x and y — and prints the largest multiple of 10 among them. ¬†If none of them is a multiple of 10, it prints a message to that effect. def l…
  • PYTHON PROGRAMMING Question: Having trouble with the implementation of an insert and delete function in a maxBinaryHeap (maximum Binary Heap operation): This is what I have so far class MaxHeapPriorit…
  • Just looking for something general here (numbers don’t need to be verified), but the relevant variables for this problem set are as follows: -EDUC1: 1 if “less than high school”, 2 if “high school”, 3…
  • I need help with error to get the expected output below Link to CSV file: https://drive.google.com/file/d/1q6KNmWeRolghLvzOrNGWtbXwfm-JCOw1/view?usp=sharing Question 5 [2 marks] 1] Title of the most p…
  • As part of its acquisition and expansion strategy, KSM is investigating acquiring an auto insurance company that will allow them to complement their auto sales by also providing insurance to their cus…
  • Please support for segmentation based on credit card usage. a ) Hierarchical clustering b) Please support , how to find optimum clusters on scaled data c) ¬†Please support to determine optimum cluster…
  • 4:58 4. Enter the required program attributes for your program. 5. Create your test cases BEFORE you start to code 6. Create Modules/Functions with meaningful names that meet the following hierarchy/s…
  • 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…
  • QUESTION 3 The Salary Strategy A company requires a program that will read an employee’s TRN Number, pay rate and the number of hours worked for the week. The program should then validate the pay rate…
  • This code is intended to print this, but in python, the output is NameError: name ‘Instance’ is not defined. What changes in the code do I have to make? Please show Work!
    • Let X = amount of time (in minutes) a ice cream man gets a new customer at his cart. The time is known to have an exponential distribution with the average amount of time between a new customer bei…
  • In Python, i have a dictionary that has a letter and a number, for example; dic = {‘a’: 1, ‘b’: 2, ‘c’: 3… and so on} and i want to know what kind of script i would have to do to put it in the forma…
  • Please help in below python program: In the below dataset, ‘id’ is the first and ‘class’ the column. We do not consider these two columns for kmeans computation. Use columns a2 to 10 for k-means compu…
  • A)Suppose that information about members of a club is stored using a binary search tree. The club inserts the information about each member into the data set using their age as the key upon joining. C…
  • Anyone know how to program this? I am at a lost and if someone could explain how to program this I would greatly appreciate it. CSc 110 – Digital Assistant O H. Mark. Can Google Many of us have used a…
  • Define function print_popcorn_time() with parameter bag_ounces. If bag_ounces is less than 3, print "Too small". If greater than 10, print "Too large". Otherwise, compute and print…
  • Can someone please assist as I’m completely lost. I need help executing code in Python that first gets a list of integers from input. The input begins with an integer indicating the number of integers…
  • This‚ÄĆ ‚ÄĆexercise‚ÄĆ ‚ÄĆdemonstrates‚ÄĆ ‚ÄĆthe‚ÄĆ ‚ÄĆuse‚ÄĆ ‚ÄĆof‚ÄĆ ‚ÄĆthe‚ÄĆ ‚ÄĆ‚ÄĆdouble‚ÄĆ‚ÄĆ ‚ÄĆdata‚ÄĆ ‚ÄĆtype‚ÄĆ ‚ÄĆand‚ÄĆ ‚ÄĆPython’s‚ÄĆ ‚ÄĆ‚ÄĆMath‚ÄĆ‚ÄĆ ‚ÄĆlibrary.‚ÄĆ ‚ÄĆThe‚ÄĆ ‚ÄĆgreat‚ÄĆ…
  • Mastermind first creates a hidden code of length code_length consisting code pegs with possibly duplicate colors chosen from a sequence of colors . 2.Coderbreaker provides a guess ofthe code . 3. M…
  • Using the formal definition of Big – O, prove that y=n^4+3 does not belong to O(1)
  • def test_get_recommendation(self): random.seed(4) conn = sqlite3.connect(‘small.db’) conn.row_factory = sqlite3.Row ret1 = (‘Recommendations for Rich Thompson\n’ + ‘———————————\n…
  • Load the “COVID19_v4.CSV” dataset, from the csv dataset in the given link (https://drive.google.com/file/d/1UTWFR0yaZVqGzGpq3xpjDcGWHUpiDIug/view?usp=sharing) load it into Python. This is a fictional …
  • python programming -obtains 10 stocks from a web JSON API -stores the data from those stocks in .csv files – can append new data (not rewrite the entire file) -perform the 3 analyses on the data (alre…
  • Describe how¬† tuples ¬†can be useful with loops over¬† lists ¬†and¬† dictionaries , and give Python code examples. Make your own code examples.¬† Do not copy them from the textbook or any other sourc…
  • Stuck on a python problem, please help Generate a¬†retirement planning table. Get just one input the¬†amount to be spent each month from the user. The user should enter a number greater than or equal …
  • CPSC 1301 COMPUTER SCIENCE 1 SPRING 2022 the user’s weekly usage of single-use plastic bags, bottles, and straws Assignment 2 – Computational Thinking and MicroPlastics [e.g. bagsPerWeek = int(input(&…
  • I can only move one circle, I want to know how I can move 10circles at the same time def drawCloud (win, x1, x2, yl, y2) : list1 = list2 = list3 = x1, x2, yl, y2 = 5, 10, 20, 22 for i in range (10) : …
  • You are supplied with a CSV file called¬†rwc.csv¬†which contains results for all Rugby World Cup pool games up to and including 2011. The fields in each line of the CSV file are as follows: Winning te…
  • A Python application that supports voter registration. The application will launch and run from the command line prompt. The application will prompt the user for their first name, last name, age, c…
  • temp = infile. readline () # the above line of codes gets the next line of stuff from # the file – the Loop update print (List of Lists) # Prints out the List of Lists to see what we have You should c…
  • I am having trouble understanding regular expressions using Python. Can someone help clean the attendance column using regular expressions then store the cleaned column into another column named atten…
  • Write a function named pnamedtuple that is passed information about a named tuple: it returns a reference to a class object from which we can construct instances of the specified named tuple. We might…
  • PYTHON: ¬†I’d really like help doing this in Python GUI. I’ve watched quite a few tutorials now but I’m not finding what I think I need for this problem.¬† Write a python program which displays a simp…
  • Begin a dot-matrix “bitmap” display emulator, and a shape drawing program. The dot-matrix display is 80 wide by 24 tall, so it has 80*24=1920 bits. It only has two colors: off and on. Off will be repr…
  • What is wrong with this code? It kept on saying I got it wrong.¬† 1. s1 = “apple” 2. s2 = “banana” 3. s3 = “orange”¬† 4. joined_with_cammas = s1 + “,” + s2 + “,” + s3 5. print(joined_with_cammas) ¬†. …
  • #! /usr/bin/python3 import unittest Classifying loudness def loudness (db) : Assumes db is an integer greater than or equal to 0, representing loudness in decibels. Return the string representing the …
  • A palindrome is a word or a phrase that is the same when read both forward and backward. Examples are: “bob,” “sees,” or “never odd or even” (ignoring spaces). So I need help with a code whose input i…
  • Can someone write me a python program that will do the following? Can you please focus on adding If, Elif, and Else. Also, for or while loop.¬† Thank you. ¬† Your first challenge consists of creating …
  • Write the function getting_diagnostics(patient_set, diagnostic_by_patient), which first computes, the frequencies (i.e. counts) of diagnostics for patients in the given patient_set. Then, the function…
  • Need help in enhancing the following example attached. 1.by enhancing class that contains using prior functions 2.by enhancing class in the module 3.also converting all the functions into methods in t…
  • it is about some multiple choices on python Pace University CIS 101 CRN 71376 Professor Pantoliano Fall 2019 Student Name_ Mile Wang Exam #2 December 5, 2019 Exam Instructions: Answer all questions. T…
  • Fun√ß√£o dias_mes(mes, ano)¬† Escreva uma fun√ß√£o em Python, chamada¬† dias_mes , que recebe dois inteiros positivos,¬† mes ¬†e¬† ano , tais que 1 <=¬† mes <= 12. A fun√ß√£o dever√° devolver o …
  • . Population of China Population in Millions Age Group 0-9: 154 10-19 : 156 20-29:177 30-39:229 40-49 : 200 50-59 :236 60-69 : 150 70-79:84 80-89 : 29 90 and older :4. Sample output. When I ran my s…
  • Part 1 Write a Python program that does the following.¬† Create a string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, an…
  • in python, fix the scoring point in my code. This game can be played between 2 to 6 players user has to choose how many player can play.After each player’s roll, calculate the score for the roll based…
  • Suppose d = {“john”:40, “peter”:45}, to delete the entry for “john” what command do we use
  • i need python code for part 4¬† which i can copy paste on my ide¬† ¬† ¬†. Write the python code to complete the Following. Submit by copying the CODE into the answer part. If your code does not compil…
  • http://prntscr.com/l95xfz I don’t understand how to take a list of numbers and how to return the longest run. I’d appreciate any help.
  • In Python, You will create and submit a text file with a minimum of 5¬† additional records from example below. The file is named StudyHours.txt and¬† contains the following format:¬† Ôā∑ first line …
  • I want python code to create some graphs based on the data from the GitHub where I can get the possible graphs like number of people got sick with COVID county wise from one state and filter them into…
  • need help in this 16:450. 1KB/: @ 1 Implement the design of the Pikachu and Charmander classes that are derived from the Pokemon class so that the following output is produced: Driver Code: class Poke…
  • A graph needs to be made that represents what is shown in the picture. Using matplotlib to create the most detailed graph.
  • [29] : I test cases to try out rand. seed (2021) random walk (150). [28] : #Question 4 [6 points) def random_walk (n) : simulate a n steps _ dimensional randon walk and display …
  • I am trying to convert binary code to decimal example of binary coded called chunks chunks = [“00000110”, ¬† ¬† ¬† ¬† ¬†“11010010”, ¬† ¬† ¬† ¬† ¬†“11010010”, ¬† ¬† ¬† ¬† ¬†“11111011”, ¬† ¬† ¬† ¬† ¬†“0…
  • Please fill in the blanks(recursion) ¬†. version D 14/18 version Free Response 2: Recursive Functions [20pts] Part 3: The following function does the same thing again, only this time Part 1: The follo…
    • What is the difference between syntax and coding?
  • Cryptography¬†is the science of secret writing‚ÄĒmessages that other people can’t understand unless they have a secret¬†key. Diplomats and generals have used cryptography for thousands of years; e-com…
  • 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…
  • Make a program where it’s a loop of rounds where player & house will take turns throwing the dice. At each turn, the system will ask the player/house whether to stay or roll. If the house has a ru…
  • The implementation for each scenario is provided in a Python file with five classes, one class for each scenario, you need to use it to add the new algorithms to each class accordingly. remove_second_…
  • I’m creating a user interface that will convert a temperature from either Celsius to Fahrenheit or vice versa depending on the radio button the user picks. I need help with my main function determinin…
  • 1) Modulize using a Main area that controls the modules.¬† It is recommended that you design this problem using a structure chart and pseudo code prior to writing the program.¬† ¬† ¬† Q.2) After fin…
  • The Teacher wants me to use def main function. ¬†. Content X Homework Help – Q&A from Onl x + X – > C A faytechcc.blackboard.com/ultra/courses/_35066_1/cl/outline P4HW2 – Employees Pay Introduc…
  • The scenario below is about time and precision of QR decomposition. But can someone else provide me with a more in-depth analysis of what this is abou.t¬† ¬† ¬† Simulation scenario 3. Time and precisi…
  • I have been given the task of using tkinter to creature a user interface that will calculate the area and perimeter of a rectangle based on user input for length and width. I have been provided a demo…
  • how to add noise to the class label in a dataset( labels are nominal values i.e. yes or no)
  • Sort short_names in reverse alphabetic order. Sample output with input: ‘Jan Sam Ann Joe Tod’ [‘Tod’, ‘Sam’, ‘Joe’, ‘Jan’, ‘Ann’] ¬† ¬† user_input = input()¬† short_names = user_input.split() ¬† print…
  • I am OOP-coding a text-based Adventure game, and I think I’m pretty close to the answer, however, my directions take the command + a space as the right direction, therefore, something that should just…
    • For the following problem, submit a flowchart and screenshots of your program code and the output of the program. Set the first score to zero. Ask the teacher if she wants to enter a score. If the …
  • Python Your task is to created Widget that has the appearance and functionality of the image presented at the bottom using only the graphic library that has been used during the course. We put the doc…
  • . A normal die (dice) has 6 faces. Each face shows a number from one to six. Create die class (MSDie). A die knows two things; ‚ÄĘ How many faces it has, ‚ÄĘ Its current value. A die has the following…
  • 12 LAB: Seasons ¬† Write a program that takes a date as input and outputs the date’s season. The input is a string to represent the month and an int to represent the day. Ex: If the input is: April …
  • Creating a student database program.¬† This program will allow the following: Add a new student to the database¬† Remove a student from the database¬† Display details about a student¬† Display all stu…
  • Python I’m having trouble with the following. I’m not use to classes, and am not sure how to go about this. I have to keep in mind the guidelines. I will be running it through a tester. What is below …
  • What is the output from the following code? def square (x) : x = x * x num = 7 square(num) print num
  • So i’m trying to calculate bmi but I don’t think it is right. This is what I have print(“Enter your height”) feet = int(input(“Feet: “)) inches = int(input(“Inches: “)) weight = int(input(“What is you…
  • Q 2¬†– What is the output of print list[1:3] if list = [ ‘abcd’, 786 , 2.23, ‘john’, 70.2 ]? A¬†– [ ‘abcd’, 786 , 2.23, ‘john’, 70.2 ] B¬†– abcd C¬†– [786, 2.23] D¬†– None of the above.
  • This is the head of a pandas dataframe called ‘trees’. Write code that returns the empirical distribution of types of lights that are available. Write code the returns the number of unique stores that…
  • I need help completing this program in PYTHON. TCP client socket // *******¬† client.py ¬†file ****************** // # don’t modify this imports. import socket import pickle ################ Client So…
  • Most in this class have probably used a spellchecker at least once in your life (more likely, many times). Spell checkers are built into a number of programs, including microsoft word, apple pages, gm…
  • Write a single Python statement that creates an empty dictionary named elements.¬† ¬† 2. Write a single Python statement that creates a dictionary containing the following key-value pairs: ‘x’ : 4 …
  • One Dictionary ¬† input an integer between 0 and 999 and return a string containing the English words for that number.¬† For example, if the value of 142 is entered, then the code should print out …
  • II need to write code to draw this and I finish 80% of this work but I have the question. How to write the code to add the name of every month in X axis and range of sensor reading values(-0 , 45 , 90…
  • 6¬†Warm up: Parsing strings (Python 3) (1) Prompt the user for a string that contains two strings separated by a comma. (1 pt) Examples of strings that can be accepted: Jill, Allen Jill , Allen Jill…
  • . Q1. (5 points) We will be formulating a simple calculator using object-oriented programming principles. Our calculator will have 4 simple arithmetic operations : Addition, Subtraction, Multipli…
  • This is telling me my output should be “no change” and it is. It does not give me an error in develop mode but when I submit it, I get an error. What is wrong with this?¬†. 2.27 LAB: Exact change Writ…
  • Native Search (your language’s built-in search, e.g. find() in Python) Brute-Force ( https://www.geeksforgeeks.org/naive-algorithm-for-pattern-searching/ ) Knuth-Morris-Pratt ( https://www.geeksforgee…
  • Write a program that: ¬† Asks me to enter numbers over and over until I enter “0” When I enter in “0”, the program should stop and tell me the biggest number I wrote For example: Enter a number: 28 En…
  • Hi how do I store the return value of decoded_msg as outfile ? ¬† def decode_map(mapfile,ddict,outfile): ¬† ¬†f= open (‘mapfile’, ‘w’) ¬† ¬†decoded_msg=” ¬† ¬†for i in f : ¬† ¬† ¬† ¬†if i in ddict : …
  • Hi, I have this homework and I am not sure how to do it.. ASSIGNMENT 3 Contents Purpose……………………………………………………………………………………………………..
  • Consider a Superclass named “Vehicle” and a subclass named “Car” that are intended to represent those real-world concepts. What are some attributes and methods that you would expect to see for Vehicle…
  • Modify the program of Project 4 to compute the area of a triangle. Issue the appropriate prompts for the triangle’s base and height, and change the names of the variables appropriately. Then, use the …
  • A group of statisticians at a local college has asked you to create set of functions that compute the median and mode of a set of numbers, as defined in Section 5.4. Define these functions in a module…
  • This code keeps getting syntax error because of number 1 on def reverse segment how can I fix this issue? def reverse_num(1): ¬†if int(l) > 0: ¬†¬†¬†print(l,”\n”) ¬†¬†¬†reverse_num(int(1)-1) ¬†else…
  • . In the paper "Security and Privacy Grand Challenges for the Internet of Things", it is noted that the approach of providing the identity for digital IOT devices via secret keys stored in…
  • Finding Numbers in a Haystack 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 Files We provide two files for …
  • Part 4: Odds of winning with Monte Carlo "Let’s put everything together! Given a starting_hand, use Monte Carlo simulation to determine the probability that your hand will win, lose or tie! Our n…
  • HI, ¬† Python Scanner (Tokens/Lexemes) I have written a Python program that works well, but still seems to have some issues.¬† The program is a Lexical Analyzer/Scanner and lists the tokens and assign…
  • Can I get more advises in the last question? Thank you
  • Although you can programmatically alter pixels in any way that you wish, some operations are common enough that Python has pre-built functions that use the graphics hardware in your computer to quickl…
  • Need help to solve this python project.¬† All the information and references in this GitHub repository¬† ¬† https://github.com/weichen-ua/MIS543O_Project2
    • Compare¬† heapsort and¬† mergesort , stating their advantages and disadvantages, as long as any relevant implementation details. ¬† 2-Name a sorting algorithm that has different time complexity in …
  • Please convert this algorithm into Python code “Teleportation in Astro Haunted Galaxies” You have a teleporter that can take you from galaxy i to galaxy j. Cost to teleport is given by c(i,j), which c…
  • I need help doing questions 3 and 4 from my computer programming homework (python3). Without question 3 I can’t do question 4. There are also a few restrictions I’ve included below.
  • String cleaning Hacker Hugo is working on a script that collects a list of free proxy servers and stores them in an SQLite database. The script collects the URLs of the proxies from several public sit…
  • How do I fix this error? I ¬†think I already installed python3 and flask but the terminal on the left keep saying “No module named ‘flask’. Terminal Shell Edit View Window Help 95% . Fri 6:15 PM Q DE …
  • First, in notebook below, do the following: Create a new Class, and two derived classes that inherit from this base Class (These could be classes you’ve created previously) This could be, for example,…
  • https://drive.google.com/file/d/1gHpeGHUgyt4SYnDr_tTC7G9ubIt9liNd/view?usp=sharing https://drive.google.com/file/d/1e433dd9T5BLolDomM2PKiriLaQaW7cPj/view?usp=sharing. I[36]: TASK 4 ‚ÄĒ Expanding date …
  • First make an ‘x’ variable that ranges from 0 to 250 in 1 increments. Make this a column using the reshape() function of a np.arange object. Then using ‘y’ equal to 0.25 x+4. Calculate y for all x….
  • A Python program named¬†GUESS_NUMBERS.PY. Use¬† NUMPY ¬†to generate a random number between 1 and 100. Then, accept INT input and ask user to guess the number. Inform if high or low. Exit when entered…
  • Could anyone solve that for me? Drag and drop the appropriate text from the options below to complete the Python code, so that it prints out every third number in list L. Forthe list [1, 2, 3, 4, 5, 6…
  • https://en.wikipedia.org/wiki/Golf Reference. Golfers who want to play a game will need to form a Flight. A Flight is made up of minimums golfers and maximum 4 golfers. _name (@ <): the name …
  • pdf Link is¬† http://web.eecs.utk.edu/~kaisun/Oscillation/2021Contest/. In the attached zip Ô¨Āle problem_4_data.zip, you’ll Ô¨Ānd four .csv Ô¨Āles and a HEADME.pd:E Ô¨Āle describing the data…
  • distance = int(4.0) speed = int(12.0) time = distance / speed print (“time”) ¬† How will I be able to add units to my code (km/h) for speed, (km) for distance? Also, write the time in minutes?
  • Don’t use tkinter mode I have my own code but it is showing an error I will share it if you are willing to determine what is wrong thanks. Purpose: Practice extracting and using data from Degree of Di…
  • . () Practicals/prac_03 at master . CP1 X + V X A github.com/CP1401/Practicals/tree/master/prac_03 Q 2 README.md When you write your decision structure, remember to start at one end of the "num…
  • Competencies In this project, you will demonstrate your mastery of the following competencies: Write scripts using syntax and conventions in accordance with industry standard best practices Develop a …
  • Python – Input three countries and store them in a list.
  • please solve those questions for me thanks a lot!!! from sklearn.linear_model import LogisticRegression from sklearn.ensemble import RandomForestClassifier from sklearn.datasets import fetch_20newsgro…
  • Does C3 always returns 0? If so, why. -def fn1(a) : return int(a/2)*2 -def fn2(a): return a -def c (a b) : if fn1(a)-fn2(a)== 0 : return a else: return b -def c2(a b): if a%2 = = 0: return a else: 28 …
  • I have errors on this one – I have updated spaces, indents and still can’t run it…please help is appreciated import sys “”” This is a copy to run test before final submision “”” ”’ Section 1: Colle…
  • Northwestern University Northwestern University – PREDICT 410 Exercise5.pdf Get the trDFgrouped data starting from the May heavy day counts to the August heavy counts Group xyz customers using BUYER_S…
  • python 2.7 Program must read as the pdf shows for each problem. This is a program called missing.py the comments are added. CS110 Homework 5 (Input and Output) Swami Iyer Problem 1. (Min Max ) Write a…
  • Hi, there I need help with this question please I don’t understand fully how to write the code for it. Could you please provide me with an easy understanding to write the code. The question is: We hav…
  • Please describe the correct option and ¬†it is correct. Please don’t copy paste from internet.as this question already available. I need new answer.. Question 3 7 pts Which of the following statements…
  • Use the following business rules I need to create Crow’s Foot ERD. I also need to write appropriate connectivities and cardinalities in the ERD. A department employs many employees, but each employee …
  • Create a simple Python application following the requirements below to allow a user to encode a piece of text using a cipher, or to decode the text using the same cipher. A "cipher" is a met…
  • Suppose s1 = ‘ant’ s2 = ‘bat’ s3 = ‘cod’ Write Python expressions using s1, s2, and s3 and operators + and * that evaluate to: a)¬†¬†¬†‘ant bat cod’ b)¬†¬†‘ant ant ant ant ant ant ant ant an…
  • PROGRAM 2 Write a program to convert infix expressions to postfix expressions. Please read about these expressions in the section "Converting Infix to Postfix" in textbook Chapter 7. During …
  • 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 …
  • Python,…. what am i doing wrong? i keep getting 25 or 43 instead of 2+5 or 4+3 Assign total_owls with the sum of num_owls_A and num_owls_B. Sample output with inputs: 3 4 Number of owls: 7 total_owl…
  • and that is my code: db = {} ¬†# an empty dictionary while True: ¬† ¬† print(“”” ¬† ¬† 1. ¬† ¬†Prompt user to enter a student info ¬† ¬† 2. ¬† ¬†Print out all the students info ¬† ¬† 3. ¬† ¬†Compute t…
  • Please help with this 2 part question can’t figure out will rate! Thank you!! import random trials = successes = for i in range(trials): # Count number of heads in 4 tosses: count = 0 for i in range(4…
  • Fill in the blanks of the flowchart.¬† A program that checks whether a user input number is a narcissistic number or not.¬† A narcissistic number is a number that is the sum of their digits when raise…
  • A Series by default have numeric data labels starting from __________. a. 3 b. 2 c. 1 d. 0
  • using python 3.7.2 solve the problem please A) Use a for loop to make 10 random numbers between 20 and 30¬†and store them in a variable¬† numList ¬†. ( Hint: use¬† numList.append(number) , where¬† num…
  • I wrote a code that searches mulitple text files and returns potention applicants whose applications match a set of specific skills. ¬†My code is mostly doing what I would like it to do.¬† ¬† How do I…
  • Problem 1 An instructor teaches two classes this semester.¬†Recently he gave the same test to both classes.¬†Write a program to analyze the test scores. (a) Enter the scores of students in class 1.¬†E…
  • Need help for this problem: Helper: performance.py: https://pastebin.com/GWkJ6T0S nearestneighbor.py: https://pastebin.com/nJSn8ut2 stopwatch.py: https://pastebin.com/NF3p9qSY goody.py: https://pasteb…
  • Please need help with these three different program. 12.19 LAB: Elements in a range Write a program that first gets a list of integers from input. That list is followed by two more integers representi…
  • Hey, if anyone can help me get a solution to this problem using the blocks (from the drag from here box) would be amazing!! ¬†. Faded Parsons Problems Problem Statement The SmartFridge class is used b…
  • There are six full-time teachers at Willowbrook, three for the pre-school-kindergarten program, two for the grades 1-3 program, and one for the grades 4-6 program. There are five teachers aides, for t…
  • I feel like I kinda got the correct information put into the IPO chart however I think I messed up in the output section if someone could please let me know if I messed up with the IPO chart then than…
  • Trying to figure out the following question, first is the question, next is my solution. Am I right please explain either way with corrections as needed. Give a concrete implementation of the pop meth…
  • In this assignment, you will again modify your Quiz program from the previous assignment. You will replace the text based dialog boxes with button-based dialog boxes specialized for multiplechoice and…
  • In this project, you are to implement a reliable FTP client program written in Python. We are establishing our own protocol for performing a file transfer from a server to a client. INSTRUCTIONS TO CA…
  • I need help for python program using Flask to perform following functionality. a. Password Login form – This Python form allows a user to login to a simple web application with a username and password…
  • Problem 1 #Last problem, you wrote a function that generated the all- #time win-loss-tie record for Georgia Tech against any other #team. # #That dataset had a lot of other information in it. Let’s #u…
  • Can someone show me how to plot 2 basic graphs in the same plot using R programming?
  • Consider the loop from Section 8.3 of your textbook. prefixes = ‘JKLMNOPQ’ suffix = ‘ack’ for letter in prefixes: ¬†¬†¬†print(letter + suffix) Put this code into a Python script and run it. Notice …
  • . Q1.[2 points] Given a JSON string person, use the json library to parse the string into a dictionary and then return the languages spoken by the person. input to function :json string – person. ex…
    • Assume that two 2d points are represented as Python pairs (tuples with 2 elements), x and y. Give a Python expression that is equal to the Euclidean distance between x and y. Recall that the Euclid…
  • please help me in solving the answer for the following Question: Define another pytest test class¬† ‘TestInventoryAddStock’ , which tests the behavior of the¬† ‘add_stock’ ¬†method, with the following…
  • 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.¬†…
  • Write list functions that carry out the following tasks for a list of integers (copy the ONE_TEN to a separate List so you can reuse them). ¬†¬†For each function, provide a test program.¬†Us…
  • Details of history_dict: Define a class named history_dict, derived from the dict class: it will store the current associations of its keys, a count of how many times an association for each key has b…
  • Which module is being used in this code? import math num = 10 print (math.sqrt(num)) library start math num
  • I am struggling with the class. All instructions are in photos. Please let me know if you need more explaination Those are supported codes in python: graphics.py: import tkinter import time import sys…
  • We are passing in a list of numbers. You need to create 2 new lists in your chart, then put all odd numbers in one list put all even numbers in the other list output the odd list first, the even list …
  • Can use strings, lists, sets, dictionaries, tuples, if elif else statements, for and while loops. And ONLY the following methods: Operational or Non-Destructive methods: count()-, index(), sorted(), r…
  • NLP using python Python – Speech to TEXT configuration¬† ¬† Define the pre-requisites for python environment to support Speech-to-TEXT and Text-To-Speech? ¬†(List down all needed packages for Voice Re…
  • if you have three devices (a,b,c) and you want to get the the distance saved when you compare the distance from (a to b and c to b) with the distance from (a to c) while ignoring device b what to writ…
  • Python code¬† ¬† Shifted QR algorithm ¬† steps are below¬† ¬† ¬†. Goal: Your goal is to write a function QR (A, tolerance) whose input parameters are an n x n symmetric, tridiagonal matrix A and a des…
  • How to find the subset of n elements using a Stack S and a Queue Q using Python?
  • Write function that will accept two numbers through the parameter list and return the largest of the two. 2. Write function that will accept three numbers through the parameter list and return eit…
  • Please refer to the attachment to answer this question. This question was created from CS 177 Exam 2 – Example 2.pdf.
  • A display of cans on a grocery shelf consists of 100 cans on the bottom, 96 cans in the next row, and so on in an arithmetic sequence, until the top row has 4 cans. ¬†Write program to determine how ma…
  • Input Format For Custom Testing The first line contains an integer, n, the number of items needed Each line i of the n subsequent lines (where 0 s i < n) contains an integer, itemCount(i], the item…
  • For my assignment, I have to bubble sort a list using a recursive function. The list in question is a list of tuples. The function takes two arguments, list_to_sort and key. “Key” decides what index o…
  • from sklearn.metrics import mean_squared_error rmse = mean_squared_error(test[‘Rose’],predicted_auto_ARIMA[0],squared=False) print(rmse) ¬† Gives me the bvelow error ¬† ——————————-…
  • Trying to display all U.S. States in Alphabetical order along with the Capital, State Population, and Flower.¬† state_dict = {“Alabama”: {“Capital”: “Montgomery”, “Bird”: “Yellowhammer”, “Flower”: “Ca…
  • You need a program that can calculate the average of five test grades. 1. PSEUDOCODE: Create a program that: ¬†a. Starts with a total variable that is set to 0 ¬†b. Uses a for loop to prompt the user …
  • Hello, I would like to ask you how can I run a loop that generates the same code with as many as I want names (well 1, well 2, well 3,…..) same as (CK-1, CK-2,….) without the need to write the sam…
  • Please help with Exercise 2 and exercise 1 if possible. page 6 page 5 page 4 page 3 page 2 page 1 From our earlier discussion, recall that the formula for the transition probability is total number of…
  • Write code that when executed in PowerShell, will satisfy the following requirements: Display the contents of the c:\windows\system directory¬†recursively. Include only the name, and last write time i…
  • Consider what happens if the loop in the ArrayQueue._resize method at lines 53-55 of Code Fragment 6.7 had been implemented as: for k in range(self._size): self._data[k] = old[k] Give a clear expl…
  • Multidimensional knight moves def knight_jump (knight, start, end) : An ordinary chess knight on a two-dimensional board of squares can make an "L-move" into up to eight possible neighbours….
  • ANYTHING THAT I AM GIVIN WILL NOT BE USED AS MY OWN, I JUST NEED GUIDANCE FOR COMPLETING THIS. ¬† ¬† Competencies In this project, you will demonstrate your mastery of the following competencies: Appl…
  • I need to make a button in the Streamlit app that when you click on it , it plays music
  • Write a module named temperatureConverter.py with the following functions, and use these in your own program, mymain.py. fahrenheitToCelsius(tempInFahrenheit) that accepts a temperature in Fahrenheit …
  • Develop a program in python 1.User can input the temperature inCelsius. 2.Convert temperature function returns Two values (both Celsius andFahrenheit). 3.Output is a string that looks like a string as…
  • “Please use Phyton” ¬† [ Coding ] Use the Naive Bayes Classifier to implement a spam filter that learns word spam probabilities from our pre-labeled training data and then predicts the label (ham or s…
  • Staff members are attending a conference. The conference runs for two days and staff members can attend either day, or both days.¬† If they are attending day 1, they will receive the red conference pa…
  • 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 …
  • For assignment 08, we’re basically going to reproduce the barcode parser developed in tutorials 35-36, with a little twist.¬† The parser should take two filenames as command-line arguments. 1.¬†¬†¬†th…
  • Write the first line of the Python definition for a class named Terrier. The class will extend the class named Dog.¬† ¬† 2. Examine the following class definitions: class Fish: def __init__(self, t…
  • NOTE: Please name this file ¬†yourlastNameLab01.py.¬†As an example if your last name was Euclid then you should submit EuclidLab01.py (+15) Write a Python program that will prompt the user for three i…
  • what are some of the examples of Python scripts that support security automation and, their usefulness in cybersecurity.
  • Hi, ¬† I’m looking to get some assistance with a class I’m putting together that can add a new user to a program (username & password) The two checks performed are: is the length of the password g…
  • # ! / Usr / bin / env python import socket import subprocess import sys from datetime import datetime* # Clear the screen subprocess . call ( ‘ clear ‘ , she ]1 = True ) # Ask for input remoteserver …
  • Select any dataset that contains at least 100 observations and at least 10 attributes. Perform detailed analyses of the selected data by using one data reduction method (Singular Value Decompositio…
  • Why does it keep showing the error, File “/Users/joeyriggle/Documents/final project.py”, line 41, in <module> ¬†¬†l.append1() TypeError: append1() takes 0 positional arguments but 1 was given cl…
  • . task 4 . 2. improved task 4. ite a program that will be able to handle unit conversion, as follows: The program will ask the user what they want to convert: 1) weight or 2) length. If the user ent…
  • answer all In the Pac Man game. ¬†need Pacman to run the maze on his own and collect all the dots. Pacman is stuck in a loop on the top left of the corner after clearing some of the dots. ¬†fix it. ¬†…
  • How do I write a program that ask the user to enter the first name , the last name , and the telephone number and save in a file? Let the user to choose to enter more, or to finish. If the user choose…
  • During your shift period, you notice that a particular complaint is being reported on¬† “low disk space on Server A”, you engage the Technical Team to fix it, but it keeps¬† coming up even after th…
  • Can help how to write Python code to answer those questions? ¬† 1. In below two datasets “Athletes” (contains details about the participating Athletes) and “Coaches” (details about coaches, countries …
  • question 2 Question 2: Question: Change the code in the exam python file, so the function call question 20 results in the image in the right hand column. It currently produces a different image. def t…
  • There are lots of public APIs on the web ¬†I found a ton on GitHub ¬†https://github.com/public-apis/public-apis¬† ¬†We will use a Free Currency Rates API from GitHub¬† ¬†Our call will be to get curren…
  • Hello, I’m looking to solve the two questions shown in the screenshots below. I’m confused as to how to unroll a code and think I may be overcomplicating the concept. Could someone please help me answ…
  • 1) Individual DataFrame rows can be printed using the index value with the . iloc command (True/False) ¬†True ¬†False ¬† 2)Series objects can be created with a label-based index by specifying the labe…
  • 6) Relaxation method: Relaxation is used to solve problems of the form x = f(x) by plugging an initial value of x into f(x) to get x, then plug that back into f(x) and so on. So the iteration looks so…
  • Write a function coin_flip that accepts as its parameter an input file name. Assume that the input file data represents results of sets of coin flips that are either heads (H) or tails (T) in either u…
  • All instructions are in photos. I am struggling with the class. ¬† ¬† ¬† ¬† Those are supported codes: graphics.py: import tkinter import time import sys ¬† class graphics: ¬† ¬†def __init__(self, w, …
  • All other characters do not contribute to the score. For example, the name ‘carlin’ breaks down to 0 + 3 + 0 + 0 +3 + 0 =6. Because the ‘a’ and the ‘I’ are vowels hence contribute 3 each to the score,…
  • Part B is a continuation of part A but post answers separately for both parts.. (Part B, 7.5 points) Define another class OLED which is a subclass of Television class. This class will contain the f…
  • Describes a block of code that uses exception-handling An exception handler for NameError exceptions An exception handler for ValueError and NameError exceptions A catch-all exception handler Causes a…
  • 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 that each key stores the row number from the file a…
  • Can some one help me with a python code for Shell 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.kagg…
    • Implement fixed_length_cost to compute the costs for fixed length encodings for each text file.¬† -Complete the implementation of Huffman coding in make_huffman_tree. Note that we manipulate binary …
  • What is the output of the following program? str1 = ‘{2}, {1} and {0}’.format(‘a’, ‘b’, ‘c’) str2 = ‘{0}{1}{0}’.format(‘abra’, ‘cad’) print(str1, str2)
  • import math def max_magnitude(user_val1, user_val2): if (math.fabs(user_val1) > math.fabs(user_val2)): return user_val1 else: return user_val2 if __name__ == ‘__main__’: x = int(input()) y = int(in…
  • Solve the following Vector problem and I have attached example: BVVectors.py ¬†Vec _mag () ¬†Vec _ add ()¬† Vec _ sub()¬† Vec _ mult ()¬† Vec _ div()¬† Vec _ DtPr () ¬†Vec _ DtCs () ¬†Vec _ CrPr ()¬† …
  • Age Classifier: Write python program that asks the user to enter a person’s age. The program should display a message indicating whether the person is an infant, a child, a teenager, or an adult. F…
  • D Question 4 1 pts Given the following class class Dog: def init_(self, name, age, gender ) : self . name = name self . age = age self . gender = gender def is_female (self) : if self . gender == ‘F’ …
  • i need python code for this question¬† i need ¬†pythoncode which i can copy paste in my IDE ¬† this is question ¬† ¬† below is the answer of above question ¬† ¬† …. ………….,,,//. Example 2. Us…
  • COUNT¬†WORDS IN A¬†LIST The¬†full lyrics of¬† Surfin’ Bird¬† by the Trashmen¬†are contained in the below list of words which you can use in your¬†.py¬†file. full_lyrics = [‘A’, ‘well’, ‘a’, ‘everybody…
  • I have a dataset, including columns of month and amount. About the amount, it contains positive and negative integers. like this, amount month -100. 1 -500 1 400 1 350 2 -230 2 400 2 360 3 -120 3 -80 …
  • Why am I getting the error:¬† ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all() Fielding is a DataFrame, but I am not sure why I am getting this…
  • Pearl’s Pancake Pad is a growing restaurant business, and they’d like to upgrade their existing pen-and-paper system for tracking tickets to a digital point of sale system. They are asking you to desi…
  • Define a class called¬†Dog.¬†The initializer takes 4 arguments: a breed (such as¬†‘Australian Cattle Dog’), the dog’s name (also a string), an age (integer), and a weight (float).¬†Set instance variab…
  • import¬†os #¬†Complete¬†the¬†function¬†to¬†read¬†the¬†contents¬†of¬†the¬†specified¬†file¬†and¬†print¬†the¬†contents def¬†printFileContents(filename): ¬†¬†with¬†open(os.path.join(filename),¬†‘r’)¬†as¬†…
  • Please assist with part D for python 2.7 Consider the following program incrementingThreads . py which creates a user specified number of IncrementingThread objects, and starts them running concurrent…
  • Python Quiz Application (PQA) that tracks the user and results of each attempt to a multiple choice quiz that is graded at the end of the attempt. User are required to log into the application before …
  • i have an intro to python course. what is the easiest way to learn python?
  • Make a python program that will ask the user to enter the amount of a purchase. the state sales tax is 4 percent and the county sales tax is 2 percent.The program should display the amount of the purc…
  • I can’t make this code to work, can you please help? import csv import sys # The password list – We start with it populated for testing purposes passwords = [[ “yahoo” , “XqffoZeo” ], [ “google” , “Co…
  • need a help implementing machine algorithm from scratch ¬† class KNNHomegrown(object): ¬† ¬† ¬† ¬†def __init__(self, n_neighbors=5, p=2): ¬† ¬† ¬† ¬†self.n_neighbors = n_neighbors ¬† ¬† ¬† ¬†self.p = …
  • is my output chart correct ?. 21. GIVEN THIS CODE: inp = int(input("P1ease enter an even number From 2 to 100: ")) print(inp) if inp >= 82: print("dish") elif inp < 80: print…
  • Question 1 : Consider a 256K x 64 DRAM chip. (a)¬†¬†¬†Determine the parameter ? and ? of the chip, respectively. (b)¬†¬†¬†Determine the capacity of the chip (in Mb). (c)¬†¬†¬†Determine the number of b…
  • Help writing a program that makes both a list L and a tuple T with the following values: a) the numbers 1 to 100, inclusive. b) the odd numbers from 1 to 101, inclusive. c) the squares of numbers from…
  • These are supposed to be done in python. I can’t understand. Please help asap 1. Generate random real numbers that is uniformly distributed between 0 and 20. Generate 1000 numbers and plot the histogr…
  • Hello, I have to create an option to show the bills (bills.csv) in date order, I’m totally lost actually. I put the option on the menu (option ¬†6) and I my foonction is called “bills_bydate” I believ…
  • Question 25 (2 points) Given two lists: A and B. If A is pre-sorted and B is not sorted, then the Selection Sort algorithm would take the same amount of time, in terms of the Big-O notation. O True O …
  • can someone help me figure this out please?. (15) DeÔ¨Āne a function called connected_components which will take as input a graph object representing an undirected graph and will return a list which c…
  • Create a function num_intersections(expressions) that takes a list of expressions as an argument will return a list of the number of times each expression in this list intersects with every other expr…
  • A Pythagorean triple is a triple of numbers ( x , y , z ) such that¬† x 2 + y 2 = z 2 . For instance (3,4,5) is a Pythagorean triple because 3 2 +4 2 =5 2 . Pythagorean triples correspond to triangles…
  • How can i creat a new df from a sorted daytime index df to normal index: example: First: Next: Final:
  • csv: ¬†. In the attached file, problem_1_data. csv, you’ll find 1000 unlabelled two-dimensional points (Fig. I below). Select only one value for k from the set {2, 3, 4,5, 6} and: 1. Cl…
  • Using the above functions, move (copy) the code for the three functions (calculate_unique(),¬†split_dataset()¬†and¬†calculate_common()) into a file named¬†my_experiment.py. This file should be stored …
  • File Reading, EBNF, Regular Expressions, and Python’s re Module PYTHON REGULAR EXPRESSIONS (1A and 1B are related to each other, please answer ALL parts) 1a)define regular expression ¬†pattern that ma…
  • 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…
  • . 9.10 (LAB) Merge 2 dictionaries (Python 3) You are to write a function called merge that takes 2 arguments, both are dictionaries. Your function should return a new dictionary that has both dictio…
  • Which of the followings is about marks in "visual encoding"? (A) Position (B) Tilt (C) Shape (D) Areas
  • do the following ¬†from this screenshot? ¬†Python file. ¬†output from your file. screen shot showing you used the debugger. X AutoSave @ Off PerformanceAssessment5_5DataFile (1).csv * Search (Alt+Q) B…
  • The csv file position. csv is in the form of: 0,1,2,4,5….. 0,2,3,4,6…… 0,5,7,9,11….. Problem 1 – Class Examples . Filename: qr . py . Data file: positions . csv Use the csy file provided to ge…
  • I keep getting the wrong output when try myself I could use some help. zyBooks cata > IT 140: Introduction to Scripting v3 home > 7.8: LAB: Word frequencies (lists) 7.8 LAB: Word frequencies (li…
  • need help coding. Problem 3: Isograms Complete the function isogram that takes a string and returns True if no letter of the string occurs more than once. You cannot use any built-in Python functio…
  • please use python 11.9 LAB: Replacement words 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 …
  • I am creating a function that checks the index of the close bracket of the same type when the index of an open bracket is given. When there is no close bracket, then -1 will be returned. For example: …
  • CST-215 Python Program 1 The purpose of this assignment is: ‚ÄĘConstruct logical circuits from compound logic statements. Write a python program that implements a parallel adder that is capable of add…
  • Hello, I need help creating a short program in python that will prompt a user to enter 2 integers and then save them as the lower being x and the largest being y. I would also like to find a loop that…
  • Write a Python function named¬† numVowels ¬†that is passed a string containing letters, each of which may be in either uppercase or lowercase, and returns a tuple containing the number of vowels and t…
  • Write a program to prompt for a file name, and then read through the file given as ‘mbox-short.txt’ and look for lines of the form: X-DSPAM-Confidence: 0.8475. When you encounter a line that starts wi…
  • . Input Format A single line containing space-separated elements of path Constraints nil Output Format Print the string resolvedpath Sample Input 0 usr . . usr . local Sample Output 0 /usr/ local/
  • This assignment is specifically meant to test your understanding of¬†HTTP API requests. Please write code for the following functions in a module named homework.py and submit the module file to Grader…
  • I am working on an assignment. ¬†I have the code, assignment outline and screenshots. I installed requests and there are no errors on code. Just stuck on how what to do next? How do I run the API on t…
  • LAD ACTIVITY 1.23.1: LAB: Warm up: Variables, input, and type conversion main.py Load 1 user_int = int(input(‘Enter integer (32 – 126): \’)) 2 user_float – float(input(‘Enter float: \’)) 3 user_char =…
  • I want to create a program that houses passengers on a boat. Boats will range from personal boats (just 1 or 2 passengers) to cruise ships (hundreds or thousands of passengers). Would you use an array…
  • Question 31 Input 32 The first line of the input consists of 33 34 an integer numOfProducts, 35 representing the number of products 36 (N). 37 The second line consists of N space 38 39 separated integ…
  • Design a class to represent a bank account. Include the following members: Data members Name of the depositor Account number . Type of account Balance amount in the account Methods To assign initia…
  • . Q3: Cool Chemicals In an alternate reality, chemistry Professors Hodge and Sibia have teamed up to design a chemical compound X such that when X is added to Dan’s favorite food (saltine crackers),…
  • In the earlier team project (Lab 02), your team created a program that interpolated between two values. This was a one dimensional (1D) interpolation, since you were interpolating only a single value,…
  • Develop the first application (SLE-ALE) shown in the email attachments. You must document the :1. Input- process-output chart, 2. variable list,3. English method (pseudocode), 4. Python code with inte…
  • I am a retailer of suitcases. I can purchase suitcases from two suppliers. Supplier 1 sells one suitcase for $10. Supplier 2 sells suitcases in the following fashion: (a) It is a fixed cost of $1200 f…
  • how do I get this to run the totalTax? def purchase(): ¬†¬†purchaseAmount = int(input(“Enter purchase amount:”)) ¬†¬†print(“The amount of the purchase is,”, purchaseAmount) ¬†¬†calculate_stateTax(purc…
  • Hello, please help me with this PYTHON script – Centos 7 Operating System ¬† Reference: ¬† ¬† https://wiki.cdot.senecacollege.ca/wiki/OPS245_Lab_5 #!/usr/bin/env python3 ”’ This python script is base…
  • [10+15=25 pts, implementation] Consider the Bayes net given below, which includes five boolean variables. P(A) = 0.02 A B P(B) = 0.03 (X|A,B) = 0.6 P(X|A, ~B) =0.75 P(X|~A,B) = 0.24 P(X |~A,~B) = 0…
  • Write a single python program that will perform two different tasks: 1. Read a number in feet, then converts it to meters, and displays the result. One foot is 0.450 meters. 2. Read the base and the h…
  • Could you please help me out to simulate airy disk diffraction with python?
  • https://docs.google.com/presentation/d/1MmzGMI5aufvGHYlFdkB_70ZmgL7sBznUSzVtAVgR5Wo/edit?usp=sharing. The Ô¨Ānal proyect will test you on everything we have learned in thls course. You will create a D…
  • This is a two part question: ¬† ¬† ¬†. What will be the output, if we evaluate the following postfix expression using stacks? 5 10 – 10 / 10 + O -4 10.5 9.5 O 6
  • I need help with writing this PYTHON CODE. you can use this csv file has the book data. Also, i already have a code that sorts the books by each category in a dictionary, i just need help writing code…
    • This question should be answered using the Carseats data set. (Use library(ISLR) ) a. Fit a multiple regression model to predict Sales using CompPrice, Income, Advertising and Population. b. Write …
  • 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…
  • Hi Could i please have help to solve a python based coding problem. ¬† I just need a step by set walk through how the data is parsed until the final outcome can be achieved. Please do not use any pyth…
  • Write a function that will receive integer n as a parameter, calculates then returns the value of sum of 1+2+3+… +n
  • Discussion at least three differences between Linear Regression and KNN model… Please answer in detailed each differences…
  • Template ¬† Video ¬† Rubric ¬†. & ‘1’" a m"… ‘1 113’" . . : . a _ a! . "copyright", "credits" or "license()" for more information. Type &quo…
  • Please solve the following Question In Python. Please do in python data structures. Thanks & Regards,
  • Please read all the information first. Farkle game in python PLAYERS –¬†¬†¬†¬†¬†¬†¬†¬†you should enter the number of players as a parameter (2 to 6 players). –¬†¬†¬†¬†¬†¬†¬†¬†So, there user has…
  • CAN U write the python code of this CSL is a chain of computer service stores. The number of hours of skilled repair time that a computer store requires during the next five months are 6000, 7000, 800…
  • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
  • Please help on the best program for this. While Loop Instructions Write a program that finds out the perimeter of a multi-sided shape. Perimeter of a multi- sided shape can be found by adding all of t…
  • # Molly Darby # A dictionary for the Abandoned Hospital Text Game # The dictionary links a room to other rooms. rooms = { ¬† ¬† ‘Entrance’: {‘South’: ‘Reception’}, ¬† ¬† ‘Reception’: {‘North’: ‘Entran…
  • . Question 1 Explain in your own words why we cannot use a for loop to solve Slot Machines. Question 2 What is the problem in the following code? * = 10 while x > 1: yay – 1 Question 3 Listing 4-…
  • Next to the above heading. write Python code to create a "main()" function which asks user two questions, "Enter the Ô¨Ārst number [n1}:" and "Enter the second number (n2}:…
  • if I want to rate the outcome of a movie on a scale of 1-5 using python programming language to print the following : If 5: five-star rating, the movie was an absolute one!! if 4: 4 out of 5 star rati…
  • 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…
  • python coding 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 distinct. The preorder and inord…
  • Implement a superclass Appointment and subclasses Onetime , Daily and Monthly .¬†An appointment has a description (for example, “see the dentist”) and a date.¬†Write a method occursOn(year…
  • please input a function getDay(date) that takes a space separated string as a date (MM DD YYYY) and it returns the week day that date was on (e.g. Monday, Tuesday,…). Obs. do not use Python string b…
  • I need help with all these questions.¬†. 4. Given the following code. When it is executed, the user types 5 and hits return. What does the program print? value = int(input("enter a number: "…
  • Appreciate your help in decoding the program of check digits as soon as possible
  • PLEASE CODE IN PYTHON ¬† Simple Statistics Given a set of numerical data, there are several ways in which to describe it. One way is the so-called 5-number summary . The five numbers used to describe …
  • Python programming. Please help me with this problem using the sample output.. A projectile is an object moving only under the force of gravity. In modeling the motion of a projectile we assume no air…
  • IN PYTHON: Please help me output an author name and URL. I understand they need to be stored when they are entered but can you show me how to do that? I’ve provided my entire code below and they are s…
  • def reverse ( self ): ¬† ¬† ¬† ¬†¬† “”” ¬† ¬† ¬† ¬† See the example of reverse on the Exam web page for clarity ¬† ¬† ¬† ¬† ——————————————————— ¬† ¬† ¬† ¬† Change…
  • Design and Build a Web Blog Application: ¬† ¬† ¬† 1. Web application should be a blog having 3 posts on home page ¬† 2. Each post should be saved in the SQLite database ¬† 2. Each post should display …
  • In this project you will implement K-nearest-neighbor classification following the given specifications.¬† Given a number of examples of d-dimensional vectors and their class labels (a label is one-di…
  • Please help me Q1, 2, 3, and 4. Thank you in advance! 1. Uber Below we load tables containing 200,000 weekday Uber rides in the Manila, Philippines, and Boston, Massachusetts metropolitan areas from t…
  • Python : Patient Fees – using Graphical User Interface (GUI) You are to write a program using GUI that computes a patient’s bill for a hospital stay. The different components of the program are: The P…
  • Question 3: Data get from: https://archive.ics.uci.edu/ml/machine-learning-databases/00350/default%20of%20credit%20card%20clients.xls ¬† Preparing X and y arrays. a) Delete the columns ‘SEX’ and ‘MARR…
  • . For the fifth/last point, determine how rooter’s function object (see box to right of graph) can store attributes named f and iterations: f refers to the callable object bound to solve_root’s f pa…
  • How can I code this in python: ¬† Use loops to input a list of employee names and salaries and store them in parallel arrays.¬† End the input with a sentinel value. The salaries should be floating poi…
  • import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class StudentList { ¬†¬†public static void main(String[] args) { ¬†¬†¬†¬†Map<String, String> students = new HashM…
  • The shaded region under a Normal distribution with mean 0 and standard deviation 1 (Standard Normal distribution) is shown. Which of the following is the best choice that corresponds to the shaded reg…
  • Please help to get the sample I/O ¬†same as I have provided. ¬† Please help to get the sample I/O ¬†same as I have provided¬† ¬† Please help to get the sample I/O ¬†same as I have provided¬† ¬† …
  • a function¬† countChars () that takes two strings as parameters and prints the number of times each character in the first string appears in the second string. You may assume that the first string doe…
    • What sequence type you should use to create a look-up table between the following departments and colleges? The science college has departments of geo, bio; the Arts college has departments of anth…
  • Here’s my code: i wrote it in C, since i’m not familiar with other programming languages. Lab 2: and I’m not sure what to do in lab 3, I sent lab 2 and its answer since I don’t know if it will be rela…
  • Could anyone help me with Python please? Google Drive Set-Up(Just part of problem, if file is needed here is the link: https://brucepucci.github.io/problem_sets/hw_7_files.zip) If you want a walk thro…
  • Python basic coding Do provide screenshot with description of the program. DO not attempt if you cannot do it within an hour ¬† 1.¬†Find all occurrences of “USA” in a given string ignoring the case ¬†…
  • how do i go about this, please use for loops. 6. Implement the following function in the PyDev module functions. py and test it from a PyDev module named to6. py: def draw_triangle(height, char) : Pri…
  • clatatrarne, find the Industry that has the Largest Income difference between male and female work ers f. Using the
  • When will, in practice, the central limit theorem not be very useful? Give a general description and three examples.
  • On the subject of using incremental development in Python 3. The only examples I can find are find the slope between 2 points and the Pythagorean theorem but its not helping me in understanding the su…
  • What does the following Python command refer to? cursor = arcpy.da.SearchCursor(fc, [“NAME”]
  • Code is to be written in Python 3.x Objective: The makeNoise() function of the Animal class will need to be overridden in each subclass. The makeNoise function will need to print the sound the animal …
  • hello dont copy Genetic Algorithms is one of a set of meta-heuristics that have been applied to optimization problems that do not have algorithmic solutions. These problems have to rely on heuristics …
  • Why do the methods percDown, minChild, and percUp used the tuple index 0 when comparing tuples in the self.heapArray? and Why do the methods decreaseKey and __contains__ used the tuple index 1 when co…
  • . Our first project(Python) Our first project is on SAT by means of the 23 solver. For positive integers n and k, define the graph G[n,k] by V = {1, …, n} and E = { {u,v} : u, v in V such that u ?…
  • In the following questions you need to import functions from Numpy. For example the computation of matrix determinants can be done with the help of the function det of the library numpy.linalg.
  • Use basic python code like in operations. DO NOT use math operation, max, min, abs, lambda, dictionary, etc. Write a function discover_hobby(season) which is a string that displays the current season …
  • This is a Jupyter Notebook assignment for Python. You will be reading in 14 csv COVID-19 files which I will provide, I also have additional files as well to help you with the code, but I will provide …
  • 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. Also, alarms that have gone off get recorded in …
  • . Part (B) [4 points] Here, we will explore the 1xml library which provides a very easy and convenient way of querying the XML data to perform analytics and gain insights on the dataset. The xpath m…
  • How do you write a python program to generate a Graphviz file from either a .fsa or .ndfsa file. It needs to generate multiple arrows between the same two nodes.
  • in python Give example of any 2 inbuilt modules. At-least show use of¬†3-5 functions of that modul
  • hello, im trying to complete codio IT 140 challenge question. (5.3 Challenge: Fixed Length records) I have entered the code verbatim but im getting this error, LAST RUN¬†on¬†6/11/2020, 12:16:59 AM Pro…
  • How would you go about this? ¬†¬†¬†I need to Design a program to store water usage data of 4 customers in a text file.¬†The program needs asks the user to enter account number, customer type (R for re…
  • Part I: pandas pandas : data FiveThirtyEight makes a lot of their data publicly available, so to get some practice using pandas , read in a dataframe directly using the pandas function read_csv ( ) . …
  • # This is the flower box and it should at the beginning of each assignment ¬† # You must add comments to your code # Program name : Wk7_firstname_lastname.py # Student Name : Ymmas Azaba # Course : EN…
    • LAB: Exact change ry > IT 140: Introduction to Scrip g v3 home > 3.13: LAB: Exact change zyBooks catalog ? Help/FA 3.13 LAB: Exact change Write a program with total change amount as an inte…
  • Consider a hypothetical classification problem for which a set of models’ performance needs to be evaluated using the following outcomes. ¬† The following table summarised the mean accuracy (mean stan…
  • Question: Use the following datasets: BX-Book-Ratings.csv, BX-Books.csv, BX-Users.csv in this casestudy to develop right recommendation for users as it will entice the user to rent more books. You wil…
  • I need help following match: Using the custom XML tags “Customers”, “Customer”, “CustId”, “CustName, “CustCity”, “CustState”, and “CustEMail” complete the document below. The “Customers” tag contains …
  • Python Basics 3 – [If statement] Objectives 1. Write and read Python programming language codes for textual and sentiment analysis. (LO2b, LO3a) 2. Identify contemporary issues in financial reporting …
  • Question: Write a Python Program to Implementation of A* Search in Artificial Intelligence. ¬† Requirements: Graph Values have to take from User Input Source Node have to take from User Input Goal Nod…
  • write sequence in Python – ask for N and print “Hallo” N times
  • Question: With the code below and using OpenGL and C++, I need to alter the state of the brick upon collision. For example, I need to change the color of the brick when it is hit by a circle. DO NOT i…
  • A plane starting from the original point (0,0). It can move toward UP, DOWN, LEFT, and RIGHT with a given steps. Please write a Python program using Manhattan distance formula to compute the distance …
  • “”” Code file for M269 20J TMA01 Question 3. Student version 4: 24/03/20 “”” “”” The following table determines which amino acid is produced by a particular 3-base DNA codon. It uses a Python structur…
  • In this lab, we used two methods (split and splitlines) for counting the number of lines and labels within the kddcup.data.corrected dataset. What is difference between them? 2.¬†¬†¬†In this l…
  • An array A contains n – 1 unique integers in the range [0, n – 1]. So, there is one number in this range that is not in A. Design an O(n)-time algorithm for finding that number. You are only allowe…
  • Instructions The attached CSV file¬†hw-data.csv¬†contains randomly sampled values of height (in cm) and weight (in kg) for various test subjects, along with an associated gender (m / f). Read the nume…
  • this is snipet of the code this is the complete question Given an array of integers, determine the number of moves to make all elements equal. Each move consists of choosing all but 1 element and incr…
  • Does anyone have a game on projectile motion that I can run? Can I plz have the code and tell me how I can run the code. which compiler to use, etc. Plz make sure the code belongs to you, and not be f…
  • what is the solution of this exercise ? # Returns the list of all lists of the form [L[i_0], . . ., L[i_k]] such that: # io<… <ik L[i_0] < . . . < L[i_k] there is NO list of the form [L[…
  • Write a program that will display the following options A. Add Record B. View Records C. Clear All Records D. Exit If A: The user will input the following information (name,email,address), The app wil…
  • Prove proposition 8.8 part 3 on page 315 [HINT: Use induction on h and the definition of the height]¬† ¬†. Proposition 8.8: Let T be a nonempty binary tree, and let n, ng, n and h denote the number of…
  • Assume the following data is available in a Human Resources System. ¬† Employee Name Salary Bonus Vacation Days Date of Hire John Smith $80,000 $8,000 15 June 11, 2015 Don Thomas $70,000 $7,000 15 S…
  • For the past several years, employers have started to give a lot of weight to applicants who not only have a degree, but who also have one or more certifications. Do some research on the Internet and …
  • I have a midterm coming up and we took a practice exam to prepare for it. I’m having trouble understanding “for” statements such as #34 and identifying the issues in questions #41 and #42. How …
  • Hello, I need help creating a short program in python that will prompt a user to enter 2 integers and then save them as the lower being x and the largest being y. I would also like to find a loop that…
  • Hello, i have this dataset needs to be python program, doing a sensitivity analysis. can someone help me please CHANNEL ROI per $ Awareness Master Metric Max Spend Spend ROI Awareness Display 0.15 5 0…
  • def main () : day = 0 total_produce = 0 print( “After {} days, you have {} plants and your total produce is {}.” .format(day, len(plant_list), total_produce)) menu = [ “(W)ait” , “(D)isplay” , “(A)dd …
  • . Load Data from this location https://raw.githubusercontent.com/ashish-cell/BADM-211-FA21/main/Data/concrete.csv and save as data_df. [10] data_df = pd. read_csv( "https: //raw . githubusercon…
  • RESTRICTIONS: You are NOT allowed to use ANY built-in Python data structures and/or their methods. You are NOT allowed to directly access any variables of the DynamicArray class. All work must be done…
  • python code to match the output above. list_of lists being a list of n lists of length 11, …, In, returns a list of n lists of length 11, …, In consisting of all elements in list_of lists ordered …
  • 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…
  • Submit one .py file for each problem of this homework (filenames are specified below). You may submit multiple times right up until the deadline. ¬† This handout on 2d lists ¬†may be useful. ¬† Your s…
  • def charInWord(word, char ): ”’ -charInWord() takes in a parameter word and another parameter char and determines whether char is contained in word. -If word is not a string type, or if char is not a…
  • Write in pseudo code an algorithm to traverse a graph and verify if the graph has an Eulerian cycle or path. First consider how you will represent the edges and vertices in your code and show this.
  • Implement function translate() that provides a rudimentary translation service. The function input is a dictionary mapping words in one language (the first language) to corresponding words in another …
  • Design a python program to ask the user for the number of items in a list. ask the user to input each numerical value one by one. Print all of the elements of the list, and find¬†and print the minimum…
  • Words with given shape def words_with_given_shape (words, shape) : The shape of the given word of length n is a list of n – 1 integers, each one either -1, 0 or +1 to indicate whether the next letter …
  • Meters to Feet Write a GUI program that converts a distance in Meters to the equivalent distance in Feet. The¬† user should be able to enter a distance in Meters, click a button, and then see the e…
  • Question 6 (1 point) What is the output of the following code segment? num = 3 List = [2,5,8] for 1 in list: num = num + Z print (num)
  • Changes: ‚ÄĘ 1.1 – Clarified instructions for exercise 6 This problem builds on your knowledge of nested data structures, string processing, and implementation of mathematical functions. It has 7 exer…
  • 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…
  • Need help with the Python / Flode chart (From CODIO) – to help, I presented an EXAMPLE question similiar to the one I am asking, explaining the diagram and what each symbol represents, etc – to give a…
  • Identify six common joints ¬†in the body and list the following: –Joint name –Joint classification –Anatomical description in relation to the sternum (e.g. anterior, distal, etc.) –Example exercis…
  • . Question 4 (35 marks) Customers of a popular Nasi Briyani stall experience long queues when placing their orders. This has frustrated customers and so the owner wants a program that allows custome…
  • Compulsory Task 1 ‚óŹ Create a simple calculator application that asks a user to enter two numbers and the operation (e.g. +, -, x, etc.) that they’d like to perform on the numbers. Display the answer…
  • Write a Python program to check if two given numbers are coprime or not. Return True if two numbers are coprime otherwise return false
  • Need to build a function in python which accepts parameters as below: def function_Test (self, X, y, split_attribute, split_val): and does the following https://paste.ofcode.org/ESSWzeuF9N92ZwpuVLmrvz
  • Develop a simple encryption scheme using a binary search tree. To encode a sentence, insert each letter into a binary tree using the ASCII value as a comparative measure. To encode the sentence¬† meet…
  • . If your salary is more than Rs.10,000 & you are owing a car than you are of "executive grade", but if you are not owing a car than you are simply an "officer grade" e…
  • Canvas Which of the following are often used to "monetize" a botnet, either directly for the operator or thr the botnet services to others? Select all that apply. ( a) Infect USB drives. ( d…
  • This assignment from Park University which is the class I am in. Python code. when it comes to filling the empty array y with the results of the if test of what number of the list a is more than the a…
    • In total, how many distinct Ô¨Ārst names are there in the dataset? Each name must be counted once. For example, the name David may be given to many babies. It should count as one. 1.9 How many di…
  • Could you give me your contact like Facebook imessage? I have a test at 10:30 am on DEC 6. Could you help me to figure out the Python question (I will sent the question to you)? IF you want, please gi…
  • there are 4 16 byte partitions in the string it needs to separate them and be able to identify all of the other required information. there would be a column for each. such as # of partitions, startin…
  • PYTHON program is required which uses Gaussian elimination and back-substitution to solve a square (same of equations as variables) system of equations. You should get the system of equations from a f…
  • What is the value of n after the following statements? n = 0 for a in range(1,10): if a < 5: n=n+a print n
  • QUESTION 25 Which of the following statements is faise? O The min function’s documentation states that min has two required parameters (named arg1 and arg2) and an optional third parameter of the form…
  • 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…
  • Design and implement a Python program that will Check whether some numbers, stored in a file, represent a particular coding of a frieze, and – either display the period of the pattern of the frieze an…
  • (numpy and pandas) ¬† Plot a horizontal bar chart and vertical bar chart for the following data. ¬† Name Sheldon Amy Priya Raj Maths 72 34 54 76 Geography 98 98 78 87
  • Competency In this project, you will demonstrate your mastery of the following competency: Translate requirements to solve problems computationally Scenario You work for a small company that creates t…
  • Modify the program you created in Project 5 so that it prints the object’s kinetic energy as well as its momentum.
  • . Homework Help – Q&A from Onl x Home x Content X zy Section 1.20 – DAT 210: Data Proc X + V X – -> C a learn.zybooks.com/zybook/DAT_210_55523737/chapter/1/section/20 1 8 : =zyBooks My librar…
  • I JUST NEED HELP WITH THE GRAPH FOR ALPHA 1 AND ALPHA 100 MY code is below HERE IS MY CODE: import numpy as np import numpy.linalg as lin import matplotlib.pyplot as plt def sgen(x,a,b): ¬†¬†sx=a+b*x …
  • Write a function trickWithPrime that takes two numbers as parameters, where the first number is greater than 3. For each prime number between the two numbers entered add 17 to its square and calculate…
  • Hello, I need help solving this Lab simulation, It uses Function stubs: Statistics for function statements and I am very new at python on so I need help solving it. It is very difficult. It is very co…
  • I am running into another issue with my project. The types are not happy with each other and I am not clear how to fix this issue. On line 149 in my for loop it gives an error. How do I fix this error…
  • Create recursive function to recursively unzip zipped files.¬† The zip files to unzip zipped files may contain additional zip files that also require unzipping
  • Use a list comprehension to square each odd number in a list. The list is input by a sequence of comma-separated numbers. Suppose the following input is supplied to the program: 1,2,3,4,5,6,7,8,9 Then…
  • PYTHON Using turtle¬† Your program should do the following: Draw a square with a length of 80. The center of your square should be at (0, 0). Use any color you want; in the example screen captures her…
  • I need help with converts temperature from one of the units Fahrenheit, Celsius or Kelvin, to another by creating a Python function. –¬† x ¬†– which can be either a number (int or float), or a list of…
  • I need help answering these questions. They relate to eachother. Question1 : The Corey and Brooks-Corey models are given for calcualting the water and oil relative permeabilities. I Corey Relative Per…
  • I need help creating this program using turtle in python. I am using VS code if that makes a difference. ¬† 1. You will start this program by asking the user how many stars the user wants: Example: En…
  • i need only pesudocode and flowchart to convert Binary into decimal and decimal into binary in PYTHON. PLZ DON’T COPY, The pseudocode must be in typed form and flow chart must be formed using online t…
  • Help with Correct answers 11 . What is the exception raised for an error that doesn’t fall in any of the categories? LookupError ReferenceError RuntimeError SystemError 12 . How to detect the status o…
  • I need help writing the function in the attached .PNG file below, please add comments to the code to help me understand
  • I can not get the script to print in the correct format of : mine prints the first two line together? What would you like to do? Your current balance: 500.25 account_balance = float(500.50) def balanc…
  • Identify & describe at least six factors that can be used to evaluate the quality and veracity of a Data Model. ¬† ¬† b) Identify and explain at least eight factors that can negatively impact the?…
  • A – Sieve of Eratosthenes¬† The sieve of Eratosthenes is a way of computing all the prime numbers below a certain number. (A prime number is a number that is only divisible by itself and 1). This algo…
  • I need help with my code for HW5 part 1. I’m having issues with formatting the grid and neighbors. Is the issue with the grid a spacing or my code? For the list of neighbors would it be best to…
  • research topic is (WEB MINING TECHNIQUES for SEMI-STRUCTURED DATA). I will NOT focus on analysing the text after scraping the web data, I will leave text mining part out of it. 1. List some techniques…
  • Please do NOT import statements ( ie. import numpy as np). def get_nearest_station (my_latitude: float, my_longitude: float, stations: List[‘Station’ ]) -> int: ""Return the id of the sta…
  • Consider the loop from Section 8.3 of your textbook. prefixes = ‘JKLMNOPQ’ suffix = ‘ack’ for letter in prefixes: ¬†¬†¬†print(letter + suffix) Put this code into a Python script and run it. Notice …
  • Follow the steps below to find the optimal hyperparameter.¬† ¬† ¬† ¬†1. Set the order of the polynomial function to 1, 3, 5, 7, 9, respectively, and for each order, perform 5-fold cross-validation…
  • Lab 7: Web Scrapers and Spiders ¬† After reading the materials from this week’s topic, research online and find at least one or two scholarly articles related to the legality and /or on secur…
  • Create program using “Searching Algorithm-Hashing Search”¬†, give me the diagram of the #1 and analysis and code for the #2 question and explain how it works Create a python program for the given prob…
  • I(m) = I(n/k) + (k – 1) (1) Here & is a variable and can be a function of n as well. (a) (10 points) Suppose we set k = vn in equation 1. Find asymptotic running of I(n) in this case. (b) (5 point…
  • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
  • Q1: Combinations Let’s familiarize ourselves with some built-in Scheme procedures and special forms! Use Ok to unlock the following “What would Scheme print?” questions: scm> (or 1 #t) ; or special…
  • function called verifValid(grid, row, col, num) that takes a 9 x 9 matrix that represents a sudoku game, and checks if we can add the value num in position of index row (for the row) and col (for th…
  • Please Get To Me As Soon As Possible And Show Me How To Do This Assignment By Actually Scraping Fidelity’s Website Please! In [ ]: # Run this cell and do not change it with open( ‘ sector Performance….
  • I need the codes for these, there aren’t any answers in this website. ECE-203 Programming for Engineers Laboratory Experiment 3 Name: Part 1 – In Lab Assignments (Due end of this lab session) (10 Po…
  • . Question 10 What will the following code display? class Person: def get Info (self) : return "getP" def printPerson (self) : print (self . getInfo () ) class Student (Person) : def getIn…
  • What is an example of code with B608: hardcoded_sql_expressions as a problem?
  • Hello I need help with the following question using Apache Spark/Scala on Databricks: Data provided below. Please copy and paste the links below.¬† ¬† I have 2 datasets provided below where one includ…
  • a program on python that print tic_tac_toe game board
  • Please help me use Python to answer these questions. Thank you!. Simulation problem: Suppose that electrical shocks occur according to a Poisson process with rate A = 0.25 per hour. Each shock may cau…
  • need help¬† ¬† https://doc-0c-9k docs.googleusercontent.com/docs/securesc/29314ftq6u7pt6ln7iclpu1h8bbt5mek/0ll4e1mhsf5hasnnlcc93dogf6n4sjtg/1634264700000/06681915423969605569/06681915423969605569/1reL…
  • Suppose now that the university is going to extend their system by creating two derived classes based on the Student class, UGStudent and GradStudent: class GradStudent(Student): def __init__(self, fi…
  • How to program that contains a¬† function ¬†named¬†max.¬†The program¬†accepts two integer values as arguments and returns the value that is the greater of the two. For example, if 7 and 12 are passed …
  • Is python difficult to learn? And tips to get my hang on things?
  • GETTING STARTED WITH PYTHON Begin your paper with a short Introduction. Then in a bulleted list, briefly describe the following variable types: Integers Floating point values Boolean Values Strings De…
  • Hi Team, I have received help on my assignment earlier and while executing the code i am getting syntax errors, need help on the same.¬† Thanks in advance. ¬† ###########################Main.py ¬†– St…
  • I need more of an explanation and steps with this problem please! many thanks!. (3) This exercise is about elliptic curve ElGamal cryptosystems. Alice and Bob agrees to use the public prime p = 3863 a…
  • Define a Python function that takes two lists as arguments. The function must return a list containing the elements that list1 and list2 have in common. Use the main() method to test your function. Th…
  • .. Please see attachment for format Given 4 floating-point numbers. Use a string formatting expression with conversion specifiers to output their product and their average as integers (rounded)…
  • i in python please (please explain every line. The passenger throughput of an airport is shown in the figure. The passenger throughput of 2023-2033 is predicted by regression analysis. year 2009 2010 …
  • Modify¬†jeopardy_categories.py¬†to print both the category and game number: ¬† ¬† jeopardy_categories.py import sqlite3 connection = sqlite3.connect(‘jeopardy.db’) cursor = connection.cursor() cursor….
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
  • Output the following figure with asterisks. Do not add spaces after the last character in each line. ***** * * ***** * * *****
  • A wholesale distributor operating in different regions of Portugal has information on annual spending of several items in their stores across different regions and channels. The data (Wholesale Custom…
  • What will be the output of the following Python code? list1 = [1, 2, 3, 4]list2 = [5, 6, 7, 8]print(len(list1 + list2)) 1.2 2.4 3.5 4.8 What will be the output of the following Python statement? >&…
  • https://1drv.ms/x/s!AsJmq4RS6w5ulRjbq4DhnEBlIoxy?e=J3tKez https://1drv.ms/x/s!AsJmq4RS6w5ulROPdVpoicTDrHoV?e=AHDnez https://1drv.ms/x/s!AsJmq4RS6w5ulRVJlOpxybRS2rHP?e=e0gntq https://1drv.ms/x/s!AsJmq4…
  • (Palindromes) A palindrome is a string that’s spelled the same way forward and backward. Some examples of palindromes are: “radar,” “able was i ere i saw elba”. Write a function testPalindrome that re…
  • hi ¬†ive kept all the files required in the google drive: https://drive.google.com/drive/folders/1N83QZSZzFcJwuwEf5Ug3foL9OtK7AoHs?usp=sharing ¬†. Home Tools MA1505 test AY2… Week 8 – Studio… Read…
  • Creation of A Python feature, called Divisible Numbers, that takes a list of numbers and a positive n whole, and returns the number of divisible items per n found in the list. In the main part of the …
    • Basic output with variables (Java) This zyLab activity is intended for students to prepare for a larger programming assignment. Warm up exercises are typioaiiy simpler and worth fewer points than…
  • Create a script called health.py to process the file In the script load the health data using the json libraries Use a for loop to move through each dictionary in the health data. Use the csv librarie…
  • I have been working since 10am this morning on trying to code this in python, and am so lost and don’t even know what to do. I have watched video after video on ‘if, else, elif’ programing and don’t e…
  • Through Python, a dictionary or list is often used to store a sequential collection of elements. Suppose, for instance, that you need to read 50 numbers, compute their average, and then compare each n…
  • how to write pythonic¬†function sum_first_n_squares(n) that uses a list comprehension to calculate the sum of the squares from 1 to n, inclusive.¬† E.g. sum_first_n_squares(3) == 1^2 + 2^2 + 3^2 == 14
  • Make Python game called flow. You can check the picture I’ve attached. The point is that it doesn’t have to be fancy with a score or extra features. The player should just be able to select a dot with…
  • A program that will ask the user to enter a digit/character. ‚ÄĘThe program will display the digit/character back on the screen. ‚ÄĘIf the digit/character entered is q the program ends. If not, the ab…
  • The floor of a room is to be carpeted while leaving several square spaces without carpet where kiosks will be installed. a) Write pseudocode to represent the logic of a program that allows the user to…
  • use turtle graphics to create an interactive forest drawing application. Start by creating a module ‘utilities.py’ which should contain four drawing functions as listed below. ‚ÄĘ draw_triangle(centre…
  • What is the correct code to complete this function?. def check_syllable_counts (poem_lines: POEM, description: POETRY_FORM_DESCRIPTION, word_to_phonemes: PRONUNCIATION_DICT) \ -> List [POEM_LINE ] …
  • Federal law requires that hourly employees be paid “time-and-a-half” for work in excess of 40 hours in a week. For example, if a person’s hourly wage is $12 and he/she worked 60 hrs in a week, the per…
  • Every file that you submit must contain (as a comment) at the top your name, your Seneca email, Seneca Student ID and the date when you completed the work. If the file contains only your work, or work…
  • please assist PYTHON / SQL Calculate the total number of orders per product category per Home Zip Code per purchase month. Sort by home zip code, cateogry and month and show the first 12 records. ( Us…
  • Hi, I need help with this problem. I need to write a program that asks the user the numbers to form two 6×6 matrices and then¬†to find the sum of the two matrices. I need it to print somethig like thi…
  • Prompt the user to repeatedly to do the program( input (Yes or No)). If they respond Yes, go into the loop and prompt them for last name, month and sales. Write a function to compute next month’s fore…
  • Tracy has a file that contains a list of actors and the movies in which they acted. She wants to know the top 3 actors from her list whom have acted/appeared in the most movies. ACTOR NAME MOVIE NAME …
  • from proj2_support_code import * #Constant that stores the y-coordinate for each candiates picture img_y = IMAGE_HEIGHT/ 2 #Constants that stores the x-coordinate for each candiates picture img_biden_…
  • i keep getting syntax error doing this lab. can you please tell me how i supposed to be done? Cryptography: Decrypting Files With a Dictionary Attack Understand the Key Derivation In order to use a pa…
  • Could anyone help with my python hw? If you could explain it as well that would be helpful. Thank you! ### Exercise #1 “”” def exercise_1(a): ¬†¬†“”” ¬†¬†Assume `a` is either an int or a float ¬†¬†Ret…
  • Answer the questions. What is the output of the following program: def main(): cost = 250 displayBill(cost, shippingCost(cost)) def shippingCost(costOfGoods): if costOfGoods < 100: retu…
  • 3/5/ /6.2369038.qx3zqy LAB ACTIVITY 19.4.1: Earth AND Moon 0 / 110 main.py Load default template… # add necessary imports 4 # constants 7 G = 4*np. pi**2 8 9 mass = { 10 ‘sun’ : 1.0, 11 ‘earth’ : 3….
  • Hey, if anyone can help me get a solution to this probrem using the blocks (from the drag from here box) would be amazing!! ¬†. arsons Problems Drag from here Construct your solution here, including i…
  • The Full Caesar Program ¬† We now have: The top-level pseudo code for the Caesar program: get inputs from the user, deal with the input, encrypt the input, print out the encrypted version, A function …
  • Question: Utilizing this SAS code: Information POISSON; u = 1; do I = 0 to 2 by 1; Likelihood = CDF(‘POISSON’,i,U); yield poisson; end; PROC PRINT information poisson; RUN;QUIT; How would I appropriat…
  • so I am not so good with the essay part of coding can I get some help with that for each problem ¬† def lengths(lsts): ¬† ¬† ¬† ¬†new_lst= [] ¬† ¬† ¬† ¬†for i in lsts: ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†new_lst.a…
  • #create the function named homeworkTwo, that will have one input parameter. #return second to last element from array #create the function named homeworkFive, that will have one input array parameter …
  • Gene would like you to design and implement a small program that calculates the following information for a course hole and generates a well-formatted report.¬†¬† Total square yards of rough sod…
  • def mystery(a, b): ¬†¬†if a == 0: ¬†¬†¬†¬†return a ¬†¬†¬† ¬†¬†x=abs(a) ¬†¬†y=abs(b) ¬†¬†i = 0 ¬†¬†¬† ¬†¬†while x >= y: ¬†¬†¬†¬†x -= y ¬†¬†¬†¬†i += 1 ¬†¬†¬† ¬†¬†if(x > a and y > b): ¬†¬†¬†¬†re…
  • I’m trying to convert this python code into flogorithm. Would anyone be able to assist me? ¬† #Set the number to be guessed guess=57 #read the name print(“Please enter your first name:”) name=input() …
  • Part 2 – Implementing data structures (G exercise) ¬† implement ¬†a set ¬†(suitable for words) based on hashing and a map based on binary search trees.¬† Additional limitations: ¬† ¬†The BST …
  • Mid Term assignment¬† ¬† ¬† https://docs.google.com/document/d/1gUSD352b45bCkm7gGgv83grWhQOJzd8X/edit?usp=sharing&ouid=107673178271627290282&rtpof=true&sd=true
  • program named¬† make_list.py¬† that reads the integers contained in the attached¬† ¬†nums.txt¬† file into a list. The program should then process the numbers in the list and display the following info…
  • ‚ĄôūĚēĚūĚēĖūĚēíūĚē§ūĚēĖ ūĚēēūĚēĖūĚēĒūĚē£ūĚē™ūĚē°ūĚē• ūĚē•ūĚēôūĚēĖ ūĚēóūĚē†ūĚēĚūĚēĚūĚē†ūĚē®ūĚēöūĚēüūĚēė ‚ĄāūĚēź‚Ąô‚ĄćūĚĒľ‚ĄĚ. ūĚēčūĚēôūĚēĖ ūĚēúūĚēĖūĚē™ ūĚēíūĚēüūĚēē ūĚē°ūĚē™ūĚē•ūĚēôūĚē†ūĚēü ūĚēĒūĚē†?…
  • Besides using XGBoost, discuss what other models can be used to predict what products will be in the next order and will it contained any products from the previous order?
  • 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. "…
  • Question 4 (16 marks) ¬† This question assesses Block¬†2 Part¬†4 . Parts (a) and (b) of this question involve creating drawings or descriptions. You can make your drawings whichever way is easiest or …
  • In Python!. Part 2: Write a program that uses the randFloat function given above to generate two sequences of 500 points. Each sequence should have a theoretical mean of 4, but one sequence shou…
  • 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…
  • There are two errors blow. ¬†Both say the undefined name. I have no idea to fix it. Also, would you give me some ideas to finish this question on the pictures?. This should contain each language. &quo…
  • def part2_get_week(w): “”” Return a list of lists of COVID test data for the given week. See HW 04 description for formatting details. “”” if type(w) != int or w < 1 or w > MAX_WEEK: # print(‘pa…
  • I have been having trouble with this problem for a while now. I could use some help with this Write a program that accepts the lengths of three sides of a triangle as inputs. The program output should…
  • I need to get the exact output of following python program. Please write me the function inside the program class base_class: ¬† ¬†¬†def __init__(self, ip_add): ¬†¬†¬†¬†self.ip_address = ip_add ¬†¬†¬†…
  • In Python programming, what would be the following code: Random Number File Reader. This is a program that writes a series of random numbers to a file. Each random number should be in the range of 1 t…
  • Write a function¬†daylight_saving¬†that correctly updates times for daylight saving. This function takes in a time in the form¬†(DAY, HOUR, MINUTE)¬†where¬†DAY¬†is a three character string¬†‘Mon’, ‘Tu…
  • Exercise #4: (11 pts = 5 pts + 6 pts)¬† Given two sets, A and B, write the following functions in Python.¬† (a) myDisjoint(A,B) that returns True if the intersection between set A and set B is empty,?…
  • Elena complains that the recursive newton function in Project 2 includes an extra argument for the estimate. The function’s users should not have to provide this value, which is always the same, when …
  • Project One Design a Superman storyboard and pseudocode or a flowchart for a text-based game. In this project, you will demonstrate your mastery of the following competency: Translate requirements to …
  • I need help with my code as I have it on mediafire link below. https://www.mediafire.com/file/wmyenm08qwf5fgy/submission1.py/file I am trying to implement the Graph class, implement the TMDbAPIUtils c…
  • Web Services and JSON Data write a Python program that utilizes the HTTP protocol, web services, and JSON data to search and analyze published system vulnerability information. 1) Using a web browser …
  • Consider the following fruit/vegetable dataset. Color Size Shape Edible? Yellow Small¬† Round¬† Yes¬† Yellow Small¬† Round¬† No¬† Green¬† Large¬† Irregular¬† Yes¬† Green¬† Small¬† Irregular¬† No¬† Yel…
  • Based on the pseudocode I wrote, create a flowchart for the method you selected . Your flowchart will help your team communicate to your client how you are planning to develop the software. In your fl…
  • Project 8 Write a python program that will : Validate a password ¬† The program will have the user input a password Check to see if all requirements are met At least 6 characters long Must have at lea…
  • Definissez une classe Voiture() qui permet d’ instancier des objets reproduisant le comportement de voitures automobiles. Le constructeur de cette classe initialisera les attributs d’instance suivants…
  • Question 3 ¬† NOTE: You can use the `numpy` library to solve this question. * https://pypi.org/project/numpy/ ¬† **a)** **(7.5 Points)** Create a function that creates and prints a two dimensional 2×2…
  • I am confused when it said to parse the data into components and get years and prices
  • this is python 9 3 points Suppose we implement one iteration of a numerical method to the equation y’ = -y2, y(0) = 1 with step size h = 0.01 and the result is y1 = 0.9900996666666667, and then we app…
  • I have to write a program that allows the user to entre a list of numbers and to return the same list but with the numbers inverse ex [1,2,3,4] [4,3,2,1] now with the program i wrote below its returns…
  • . Design Hints and Using Lists (Remember to stick to the Model-View-Controller style for your design!) Recall that the main purpose of this question is to get some practice using lists. Your model s…
  • Python: Working on a python program that prompt the cashier to insert the item price and the sales tax rate. Then the program should calculate the total price and output the total sales price. I know …
  • For the Boolean expression ~A . B . C + D which of the following is the correct application of operator precedence? O ((~A) . (B . (C + D))) O (((~A). B) . C) + D) O ((~A . (B . C)) + D) O (~A . (B . …
  • code a ¬†Book class, such that a book has on more attribute named being_read; this will be a boolean. When a Book instance is created, being_read is False by default. Ensure to use a getter and two se…
  • please help me (: 2. [Weight = 3] (Creating an addition lookup table} Recall from our lecture on “What is Computation?” that we started with an addition lookup table (see below) and then construct…
  • Write program that allows teacher to read in student names. The program must be written in accordance with the following specs: 1 . You must use functions and pass the list in and out of the function….
  • . Exercise 1 Create a Python program named acronym_builder that allows the user to type in a phrase and then outputs the acronym for that phrase. The acronym should be all uppercase, even if the wor…
  • 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…
  • Question2: ¬†predict the probability of Heart Disease ¬† A. In this question, we work with a simplified version of Heart dataset. Read the dataset file “Heart_short.csv” from github, and assign it to …
  • The volume of a sphere with radius r is fir . What is the volume of a sphere with radius 5? 2. Suppose the cover price of a book is $24.95, but bookstores get a 40% discount. Shipping costs $3 for …
  • CAN I HAVE THE CODE IN CONTRLLER TO DO THE RULES? The rules that you will need to implement in DpenFlow for this assignment are: mm ‚ÄĒ‚ÄĒ‚ÄĒ_ Basically, your Firewall should allow all ARP and TCP tra…
  • Allowed Things: the text editor of your choice the python interpreter on your computer the python visualizer ZyBooks Your notes, resources in Blackboard including PowerPoint files Not Allowed Things: …
  • Using Python, find the sum of the prime numbers under 2 million. Then find the largest symmetrical number made from the product of 2 three-digit numbers. For each of the following questions, include o…
  • Car sales using the ToyotaCorolla.csv file.¬† a.¬†¬†¬†¬†¬†Use predictors Age_08_04, KM, Fuel_Type, HP, Automatic, Doors, Quarterly_Tax, Mfr_Guarantee, Guarantee_Period, Airco, Automatic_Ai…
  • How can I use the numbers inside a list as a range?¬† My code is like this: #this is the list in question steps = [10,20] trials = 2 ¬† #for loop repeats twice because trials is 2. for trials in range…
  • develop a software program using Python programming language to solve problem in (tic tac game) using the following AI (uninformed /Informed) search algorithms: A* search
  • USE PYTHON¬† ¬† Note: The “company file” is just a generic name for the file. The file itself isn’t required in this case. Consider that there is a birthdate or age listed for each employee. THERE IS …
  • Question 6: ¬† JJonak is an Overwatch player that loves to summarize his team’s game stats with ASCII characters in Notepad. One day, he noticed that the team’s stats have too many repeated characters…
  • Familiarize the student with: using the if-elif-else statement; finding the proper implementation of verbally defined rules; testing code using sample input and output. Scenario As you surely know, du…
  • REFERENCE: https://drive.google.com/file/d/1IcqBidQyEqDgXr6zgF5BOlOEVBqX92e3/view?usp=sharing ¬†. “3%? l TAFEE Part 2: Create user documentation Prepare user documentation for your script (min…
  • Hello there ūüôā I am writing a loop that prints each countries population in country_pop. If you can help that would be appreciated. Expected output should come from: print(country, ‘has’, pop, ‘people…
  • Chapter 7: Use a file to save the data 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 =…
  • *PYTHON JUPYTER* Run each of the following tasks, and take a screenshot of the results. Task #1: import cv2 import matplotlib.pyplot as plt # In cv2, a RGB image is read as a BGR array img_bgr = cv2.i…
  • Card file: I need to write War (card game) in python with Card and Deck class.¬† Main file: The main file should have a start game function that gives each player 26 cards and resets old games.¬† A wa…
  • You work for an online song distribution company. Code a modular Python program that will accept an order of playlists that allows users to pick the platform and the number of songs in the playlist. Y…
  • . Exercise 7.4 Lambda function Write a Python program to define a lambda function that would subtract the first integer input from the second integer input, followed by multiplying the third integer…
  • Use function ‘ powr(x,n) ‘ that¬†will compute¬† x^n ¬†(x to the power of n). Obviously, you should not use the built-in Python operator (or library functions) to accomplish this. Do the computation ma…
  • Using the HTML 5¬†template tags,¬†code a web page that has the following items in the body section: heading element with the following text – My Favorite Things ordered list with your top 3¬†favorite …
  • can someone tell me what’s wrong here? ¬† weight = input(int(‘What is your starting weight? ‘)) for month in range(-6, 6): ¬† ¬†weight = 4 ¬† ¬†print(‘At the end of month’, weight, ¬† ¬† ¬† ¬† ¬†‘your…
  • def normalize_database(non_normalized_db_filename ) : Normalize ‘non_normalized. db" Call the normalized database ‘normalized. db" Function Output: No outputs Requirements : Create four tabl…
  • Program the simplest two statements that first sort my_list, then remove the largest value element from the list, using list methods. ¬†¬†¬†¬†my_list = [ 5,¬†7, 10, 15, -21, 90, 17] 2. Program a st…
  • How would you solve this problem with the following sample data? diseases = {“Alphaitis”: ¬† ¬† ¬† ¬† ¬†{“A”: “+”, “B”: “0”, “C”: “-“, “D”: “0”, “E”: “0”, “F”: “+”, “G”: “0”, “H”: “0”, “I”: “+”, ¬† ¬†…
  • I need assistance with code that will use two functions. One function will accept a string as an argument and returns a copy of the string with the first character of each sentence capitalized. For in…
  • employee Records This task aims to create a list for storing employees records. Consider an employee reoord consists of following Ô¨Āelds: employee_id, Last Name, First Name, and Salary. I-."|…
  • . B8 < > readme.md readme.md > No Selection 40 41 # Example Output 42 You need to output your answer as a list of the items you select. For the problem above, your output should look …
  • Compulsory Task Part 1 Follow these steps: ‚óŹ In this task, you will be creating a program for a small business that can help it to manage tasks assigned to each member of the team. Copy the template…
  • . 100% + Implement and test your program. Save your file as A3_1.py and upload it. Question 2 (15 points) This is a shorter program, so we’ve left the algorithm design part up to you. Make sure you …
  • Hi! I would love to have help with my practice project. Here are the requirements below: Make two programs including one client side (C), one server side (S). You can finish it by making TCP code. Use…
  • Please provide an explanation behind your work, thank you!. Using google map, or a similar tool select an area around your current residential address including at least 30 intersections (include a sc…
  • 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…
  • please solve the following using python 3.8.3 please dont have any errors in the code A business owner asked you to implement a Shopping Cart feature on his website to help customers buy the products …
  • Please help with step 5 and beyond: https://colab.research.google.com/drive/14EquCCliq2vfDePqb_L4uIlLcJuspTcw?usp=sharing ¬† Please let me know if the link isn’t working!
  • Write a program to prompt for a score between 0.0 and 1.0. If the score is out of range, print an error. If the score is between 0.0 and 1.0, print a grade using the following table: Score Grade &gt…
  • PYTHON PROGRAMMING need assistance in my code. 1. Modify the function postfix(expr) so it can support the use of parentheses.¬† 2. Write the function calculator(expr). This function takes an arithmeti…
  • Hey, I’m having some trouble starting this Python assignment. Can you please help solve this assignment as well as show me a detailed explanation? Thank you.¬†. quizgenerator.py Using Python, create a…
  • In python Please share screenshots of code and output, please write comments in code. ¬†. T’Eon’crefezclasses‚ÄĒConsider Section 10.7’s (in your textbook) Shape hierarchy. If .Circle. Square and Trian…
  • For ¬†1,500 ¬† case study.¬† ¬† ¬† ¬†2. The case study must assess the value propositions of the chosen data set and discuss what types of business questions can be answered using the data set. It mus…
  • I need 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. You should be able to implement the…
  • Since there is no way to attach a CSV, i am pasting it below the question scenario: ¬† DOMAIN : Startup ecosystem ‚ÄĘ CONTEXT : Company X is a EU online publisher focusing on the startups industry. Th…
  • Hi, this python question is giving me some trouble, if you could please help me, it’ll be greatly appreciated.¬† ¬†. Write a program that a- Creates a dictionary containing course numbers and the room…
  • . ‘ Which of the following is true for generative or discriminative classifier models that read the input x and the label y? (Select all that apply.) |:| Agenerative classifier makes its predictio…
  • please help me with pseudocode and flowchart Objective To develop a Menu for Computer Shop and payment system using Python. The application allows users to online order computer. Customer can view lis…
  • I need help!!! Please see the picture below. Thanks. ¬†. JES – Collage2.py File Edit Watcher MediaTools JES Functions Window Layout Help def combineAntelopeAndRabbit () : antelope = makePicture (pickA…
  • There is a number sequence: 2, 1, 3, 2, 3, 6, 6, 18, 36, 108, 648, 3888, 69984… Try to implement the func(n) to calculate the nth value of this number sequence. ‚ÄĘ n >= 1 ‚ÄĘ Must use the recurs…
  • an algorithm that takes as inputs the employee’s income and calculates the income tax and net income. the net income is the remaining income after deducting the income tax from the total income income…
  • THIS CODE IS FOR PYTHON, IT SHOULD ONLY USE LISTS AND STRING FUNCTIONS ALSO NO IMPORT: We want to build a code called matcher We will be given a string and another string called matching sequence(matc…
  • 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://google…
  • Follow these steps: ‚óŹ Create a Python file called amazon.py in this folder. ‚óŹ Write code to read the content of the text file input.txt. ‚óŹ For each line in input.txt, write a new line in the new…
  • CREATE A PYTHON PROGRAM OF THIS CREATE A LOOP STATEMENT FOR PROGRAM C AND ADD TIMEIT, GIVE ME THE CODE AND THE SCREENSHOT OF CODE AND EXPLAIN: FOR PROGRAM D Create also a python program and create a l…
  • Using turtle graphics, write a program that displays your first initals and last initials. Choose a color and¬†penSize¬†of your choice.You will want to draw your first initial, raise the turtle’s pen …
  • With use of operation numpy A = -INCL Write a function NaiveGauss( A, b) that performs Gaussian elimination to solve Ar = b given b. Test cases: (i) If b = array([-12, 8, 20, 39, 16, 45]) entered as f…
  • class Employees(): ¬†¬†title = “Employees” ¬†¬†def __init__(self, name, ID, department, job_title, hourly_pay_rate, weely_working_hours): ¬†¬†¬†¬†self.name = name ¬†¬†¬†¬†self.ID = ID ¬†¬†¬†¬†self.dep…
  • Why is the correct answer to this question is the first one but not the second one? D Question 9 1.5 pts In a Python statement: for key in Ia, b, c, d]: Each individual element in the array can be ref…
  • 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’…
  • Game Of The Century Instructions ¬† Your job is to calculate the ‘Game Of The Century’ Use closures to calculate Do NOT use 3rd party libraries or anything you need to import. In closures.py comple…
  • What is the result of the following slice? myString[:]¬† ¬†¬† A syntax error. ¬†¬† The slice includes just the first character of the string. ¬†¬† The slice iincludes just the last character of the st…
  • Write Python statements to perform the followings: . Write 3 strings to a new file named "SampleFile.txt". each string will be stored on a separate line. . The strings are ‘I am learning …
  • Need help to write 3 functions to get the output in python def getRecord(fileName, date)¬† def def largestVolume(fileName)¬† def def averageDailyClose(fileName, year, month = -1)¬† ¬† Question #1¬† de…
  • I wrote the following piece of code… print(“Loading colors.txt …”) try: ¬† ¬† with open(“colors.txt”, “r”) as entries: ¬† ¬† ¬† ¬† v = entris.readlines() finally: ¬† ¬† print(“Done loading!”…
  • can i ge help Task 2 (25 points) Downlsud the mrtZTaskZ-Ô¨Ā’amewm’kpyÔ¨Āle and rename it to parlZTaskZ.py. Given a map with multiple post service ofÔ¨Āces, deliver all packages in all of the ofÔ¨Ā…
  • I don’t matter if you don’t have the course room numbers. I just want to know how to write the code to be able to let the user enter a course number that will display the course instructor and meeting…
  • Question Z: Acessing List Elements [10.0 marks] Assume scores is a list of integers. Fill in the following code snippets a. Define and fill the list scores with 100 random integer values and then prin…
  • A quadrilateral is a shape with 4 sides and 4 angles. program that lets the user enter 4 sides and 4 angles into LISTS. The program checks if the type of quadrilateral is either:¬† – Rhombus – Square …
  • Please answer the following. Safari File Edit View History Bookmarks Develop Window Help ()) 64% Sat 10:38:47 PM Q IE .. . h datahub.ucsd.edu ABP Home Page – Select or create a notebook E1-Wi21 – Jupy…
  • What code do i use to execute system path? I have: sys.pathsys.byteorder print(sys.pathsys.byteorder) I get the following error Traceback (most recent call last): ¬†File “<pyshell#6>”, line 1, i…
  • Take a look at the code below. What is the problem with the code? Change the code so that it will run properly. (10 points) i = -6 # Code the while loop while i != 0 : ¬†¬†¬†print(“Output …
  • Hello, how do you make an an arrow? I’m have trouble creating the tip of the arrow. I want it to go 7 across, then 6 across, then 5 across until it hits 1. ——— arrow_base_height = 3 arrow_base_w…
  • Computer Science Using Python and Object-Oriented Programming (Please leave detailed comments to help me understand what is happening within the code) Create-a class called¬† ” Shape” with the followi…
  • What operation is needed in the gap of the following code that implements K-means using Python? # Load and parse the data data = sc.textFile(“kmeans_data.txt”) parsedData = data.map(lambda line: array…
  • can I get help in coding this function in python? . billing: perform billing activity as if it is at the end of a pay period: o Calculate the amount to pay based on the billable minutes and plan featu…
  • Specifically, the following critical elements from Part I must be addressed: II. Submit your control structures activity.¬† A. Describe the programming best practices you used in accurately completing…
  • How do I begin to do this coding? I have to double interpolate to solve the problem and hard code the data from the second image. I am not sure where to begin. ¬† ¬† ¬† ¬†. Example output (using input…
  • The “Extra” portion of the question is not necessary. All code is in Python. Thank you! The contents of the file mentioned in the question are below stance,hip angle,knee angle ,ankle angle 0,37.14871…
  • At a certain university, passwords for the university’s network must be at least 7 characters long.¬† Write a program to display the criteria for the password, and ask the user for their password.¬† P…
  • CHALLENGE ACTIVITY 6.1.1: Basic function call output. print pattern() prints 5 characters. Call print_pattern() twice to print 10 characters. Example output: 376628.2015284.qx3zqy? 1 def print_pattern…
  • Converting Number Words into Integers Write program that converts sequences of numbers written out as words (e.g., ‘five million three hundred forty five thousand seven hundred three’) into numbers (e…
  • Display a Dynamic Line Chart. Write the code in Python You will display a line chart of a dynamic dataset. It is advised that you start with assignment 3 and add the capability to update the display y…
  • Question : (cannot use os and re path. must open files by using filenames. eg) filename = ‘temp0’ + num + ‘.txt’) Part A: File handling The aim of the exercise is to practice using Python to read data…
  • How do you think the content of this module can help with system administration tasks? Give examples of tasks that can be automated using skills from Module 7.
  • my code looks like this def analyze_text(test): ¬† ¬†length_wordcount = make_length_wordcount(test) ¬† ¬†word_count = make_word_count(test) ¬† ¬†length_wordcount = {} ¬† ¬†word_count = {} ¬† ¬†with op…
  • Hi, can you please help me with my assignment below. ¬†The assignment is asking to “make a line plot where x is on the x-axis and y1 is on the y-axis using the plt.plot¬†“. ¬†See below instruction. ¬†…
  • Create a table using any kind of module that will look like this:¬†. STEM GRADE 12 FIRST SEMESTER SECOND SEMESTER MIDTERM FINALS GRADE MIDTERM FINALS GRADE CORE SUBJECTS CORE SUBJECTS Contemporary Med…
  • Write Python program where a non-intrinsic function solves for all the roots of a cubic polynomial given by the mathematical function ūĚĎĒ(ūĚĎ•) = ūĚĎéūĚĎ•^3 + ūĚĎŹūĚĎ•^2 + ūĚĎźūĚĎ• + ūĚĎĎ where ūĚĎé,…
  • Find an example of a Python program on the Web that uses a dictionary in the code and share it. Post the link for the site. What is a Python dictionary? When should you use a dictionary rather than a …
  • Need a Python function that will accept as input three string values from a user.¬†The method will return to the user a concatenation of the first two strings and will print the third string in revers…
  • Please help Unit 1, Module 4, CHALLENGE Programs lnce your work is completed for Unit 1, Module 4 Activities and Labs: omplete the following programs. 1. Write a program that adds all even numbers bet…
  • Trace a walkthrough of selection sort with the following list ( Do not write a program ) 4¬†¬†7¬†¬†11¬†¬†4¬†¬†9¬†¬†5¬†¬†11¬†¬†7¬†¬†3¬†¬†5 Here’s a start: i¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†minPo…
  • Pick a dataset with at least 15 variables to conduct factor… ¬† 1.¬†¬†¬†Pick a dataset with at least 15 variables to conduct factor analysis 2.¬†¬†¬†Use R to compute exploratory factor analysis 3….
  • 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 …
  • Create a function in Python named salted_password.¬† The function should take in two parameters: Password Chosen By User Salt – This is normally generated by this code but for this exercise it will be…
  • Heart Failure Prediction Dataset: ¬† ¬† https://www.kaggle.com/fedesoriano/heart-failure-prediction ¬† Please answer the below questions based on the dataset provided above. you can answer the bullet …
  • In this program you want to simulate a invoice maker bot. First you need to ask the user how many items she/he wants to buy. Next use a for loop and for each item ask the price from the user. You need…
  • The Genetic Code The pattern of bases in DNA molecules forms a code (the Genetic Code) for making the proteins that are the basis of life on Earth. A simplified version of how this works is that group…
  • ## Q6. Show the code for rotating the image 90 degrees anticlockwise as shown below. <br/> <img src=”http://people.bu.edu/kalathur/logo_nasa_anti.png”/> #%% pixels = copy.deepcopy(orig_pix…
  • Hello please help me with this python code ! Activity 2 and 3 !¬†. Activity #2: Performing calculations inside a print statement – individual The purpose of this activity is to familiarize you with so…
  • . Exercise 5: Hailstone sequence If you load the dplyr package, you can use piping with your custom functions too. For a function with a single input this looks like INPUT %>% FUNCTION( ) . A hai…
  • Python program 1. This program will create DNA/RNA sequences. 2. write a function called CreateDNASequence() that will create a random DNA sequence. 3. write a function called CreateRNASequence() that…
  • Hello, I can’t figure out the second part of the python coding ( def relu_grad_input ). ¬† def relu_forward(x_input): “””relu nonlinearity # Arguments x_input: np.array of size `(n_objects, n_in)` # O…
  • This is for practice with “while loops in Python” 1) 2) 3) 4) 5). Functions must be in a separate file, functions.py, with testing done from the various task files requested.. 3. Implement the followi…
  • Write a program in Python IDLE to read and write from a file. Save as a .py file. #Add comments to code to explain what it is doing at each stage to accomplish the details below ¬† Copy the following …
  • Write a Python function that will receive a list as an argument. 1- The function will receive a list of at least 5 numbers as a single argument when the function is called. 2. The function will ask th…
  • solve Equity Portfolio Management* You might have heard two trading strategies in stock market: one is to buy low; another is to buy high. Which one works better? Now let’s find out with $5m fund. Dat…
  • In this problem we have to Convert this JAVA program into Python : Note: Python should take input from the user to generate the output The link for the JAVA code to be converted in Python is below: ht…
  • Implement a function called alphaNoteVerif that uses the function from Question 2, but it reads the keyboard to get a numeric mark, checks if the mark is between 0 and 100 (including 0 and 100). If it…
  • . Semester One Mid Semester Assessment, 2022 SCIE1000 Theory and Practice in Science 4. The following Python program calculates the self-consumption for a particular household with a solar system in…
  • Can I please get help with this python question ? file name : triples.py. Write a program that takes as input an integer n, and print all triples a, b, c such that: . 1 <a<b<c<n a2 + 62 = …
  • hey I’m just stuck on this next part of my sudoko code, I’ve attached a link to my code and the part that I’m up to¬† ¬† https://gofile.io/d/s4dlaS. In cases the like the above, when the implemented l…
  • Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. Describe each possibility in simple terms Define “precondition” and “postcondition” as pa…
  • Write a function extract_time_durations that extracts time durations (e.g. 44 minutes 13.7 seconds) from a text file and prints them out as a table in pretty format, one per line with three columns: l…
  • assert¬†expand(“”)¬†==¬†[] assert¬†set(expand(“1,2,3,5,6,7”))¬†==¬†set([1,¬†2,¬†3,¬†5,¬†6,¬†7]) assert¬†set(expand(“1,2..4”))¬†==¬†set([1,¬†2,¬†3,¬†4]) A function that will make the above true.
  • I need help with a Covid-19 Simulation on Python. I am using Python 3.8. These are my instructions: Your Task Download the starter files Install pillow (if you haven’t already):¬†pip3 install pillow W…
  • Now, let’s get some practice coding nested for loops for 2D lists.¬†Define a function¬†increment_2D¬†that will take as a parameter a 2D list of integers and¬† returns ¬†a 2D list with¬†every element i…
  • NOTE— I have posted this same question on here twice and the python code solution was wrong or not working. Please check and making sure is working ¬† Program a python program that demonstrates read…
  • . Purpose The object of this programming assignment is twofold. First, you will compare the relative performance of different sorting algorithms on the same data set and the same algorithm on differ…
  • Is there anyone can help me solve this challenge? CHALLENGE ACTIVITY 5.5.1: Functions: Factoring out a unit-conversion calculation. Write a function so that the main program below can be replaced by t…
  • Assume that a file containing a series of integers is named numbers.txt. Write a program that calculates the average of all the numbers stored in the file. ‚ÄĘ It should handle IOError exceptions that…
  • make a test file with a single sentence of twenty words. Read the file, insert appropriate new line characters (\n) and write the test to a new text file that contains four lines of five wor…
  • Develop a program that will make a loan repayment schedule Determine the loan amount Determine the loan term (in years or months) Determine the loan rate (annual %) Calculate the payment Use a For loo…
  • Complete main() to read dates from input, one date per line. Each date’s format must be as follows: March 1, 1990. Any date not following that format is incorrect and should be ignored. Use the substr…
  • . This image has been encrypted by XORing the data with a secret key. We can recover the original image by XORing the noise image with the key in a certain fashion. XOR(also known as exclusive OR…
  • make an object oriented Python program to analyze the following air standard Otto cycle and output T-s and p-v plots. Specifications for the cycle:¬† compression ratio = 8, v 1 =0.02ft 3 , T 1 =540 o …
  • Using Python make a program that calculates the amount of money a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day, and continues to …
  • You are given a Python Class template. In this template, there ¬†¬†¬†¬†are 2 classes: MyBST, MyAVL. The goal of this lab is to ¬†¬†¬†¬†implement binary search trees and AVL trees. ¬†¬†¬†¬† Task:¬†¬†– …
  • In this exercise, use the following variables : i,lo, hi, and result. Assume that lo and hi each are associated with an int and that result refers to 0. Write a while loop that adds the integers from …
  • How do you evaluate an expression within a string without using eval or any built in function?
  • Can you please tell me how to do the following please please 3.1 DeÔ¨Āne the Problem 1. Create a table in your lab report with headers “Input”, “Processing”, and “Output”. 2. Read the following proble…
  • How do I go about using this data to make another playlist with just drake’s songs? How would I make a plot graph using danceability and liveness? please show in python.. Help Untitled5.ipynb X data.c…
  • Python 3.6. and Hadoop MapReduce ¬† Finish the exercises by editing the provided template files. You must complete the parts marked with¬† TODO . Please note that you are ¬†NOT allowed to import any a…
  • 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 the…
  • Identify two valid Python data types from the list below (Choose 2) Select one or more: a.¬†int b.¬†text c.¬†number d.¬†string Question: variables and constants correctly match the most suitable varia…
  • The variable table_data below represents data as it might appear in a table or spreadsheet. The first list contains column names and the rest of the lists are rows of data. I need to come up with a fu…
  • Need help on this python programming question, using numpy and pyplot. ¬†Thanks! 12/7/2016 [5/6] Solving the Wave Equation ¬≠ Homework 7 ¬≠ RELATE (/course/cs450¬≠f16/flow¬≠session/168884/3/) (/course…
  • Background A common Geographic Information System {GIS) procedure is Flow Direction, which consists of determining the direction {Fig 1) in which water would Ô¨āow according to the topography of an ar…
  • GROCERY LIST ”’ The task is broken down into three sections. Section 1 – User Input Section 2 – loop through the grocery list Section 3 – provide output to the console ”’ #Task: Create the empty dat…
  • question attached List of Lines to Choose From: 1) found = True 2) found = False 3) if i = = j: 4) if str[i] == sul: 5) if str[i+1] == sli]: 6) if str[itj] == s: Code Segment to Complete: def allSubst…
  • he grade distribution of the values (How many A’s, B’s, C’s, D’s, F’s. eg. anything about 90 is an A) The program is to prompt the user for the name of the file that contains the numbers. If…
  • mohammad owkark Attempt 1 Question 1 (1 point) What is the output of the following code segment? words = [ cat’ , ‘mouse’ ] for word in words: print (Len (word) )
  • Define a function shuffle that takes a sequence with an even number of elements (cards) and creates a new list that interleaves the elements of the first half with the elements of the second half. Let…
  • How to make BIN(Banking identification number) for taking free trials on various paid websites. ¬† please tell the procedure properly so that I can make my own BIN and try for a free trial(spotify, Am…
  • Split the UCI sonar dataset ( https://archive.ics.uci.edu/ml/machine-learning-databases/undocumented/connectionist-bench/sonar/sonar.all-data¬†(Links to an external site.) ) 80% training, 20% testing …
  • I want to take a string, and reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. In the string, each word is separated by single sp…
  • Python will give you high rating for correct help Easy Python Problem (see pic) :¬† Guides are available on the template below on what code to put: Template:¬† ### Use this template import random clas…
  • Design a program that asks the user for a series of names (in no particular order). After the final person’s name has been entered, the program should display the name that is first alphabetically and…
  • 1: Write a program that asks the user to enter a series of single-digit numbers with nothing separating them. The program should display the sum of all the single digit numbers in the string. For exam…
  • TKinter GUI interface. I am creating a Circle with an user input. The web interface and sample info is attached in the code box below. Thank you. https://docs.google.com/document/d/1BEAInbgmIdkAILxg0a…
  • Hello I have my program mostly working (it outputs the correct results) but we aren’t allowed to Pythons built in sort. how would i replace this with a merge, insertion, or bubble sort and still make …
  • # Update observation with a specific id to a new target species and species id def update_observation(self, id, new_target_species, new_target_species_id): # ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ Place code below here …
  • import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import KMeans from sklearn.cluster import DBSCAN¬† from sklearn.datasets import make_blobs ¬† n_samples = [750,750,750] cluster_…
  • Where did I go wrong and why please. import numpy as np import matplotlib.pyplot as plt import pandas as pd # read the housing csv hs_df = pd.read_csv( “Housing.csv” ) # read the pop change csv pop_df…
  • Given an integer representing a 10-digit phone number, output the area code, prefix, and line number, separated by hyphens. Ex: If the input is: 8005551212 the output is: 800-555-1212 Hint: Use % to g…
  • Implement the Merge Sort or Bucket Sort MapReduce algorithm to sort… ¬† Implement the Merge Sort and Bucket Sort MapReduce algorithm to sort the JSON data by id, how to do it with mrjob python?
  • Compute the min/max (min is divided by max) for each row for a given 2d array, in which integer values range from 1 to 10 [1,10) and shape is (5,3).¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Here requires a random seed…
  • I need a assistance writing a program similar to Part C that calculates the amount of money a person would earn over a period of time if their salary is one penny the first day, two pennies the second…
  • Can Anyone help me to build a code to get this result: >>>> import student >>>> dave = student.Student(‘David’, ‘01234’, ‘CTY’) >>>> dave + ‘uli101’ >>>&gt…
  • Please help me with this problem. All instruction are in photos ¬† Test case: maze.txt: ¬† Input: maze.txt dumpCells Output: ¬†. 1 Overview In this program, you will solve a maze. You will read the ma…
  • 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…
  • Barrow County Bartow County Bibb County Bulloch County Carroll County Catoosa County Chatham County Cherokee County Clarke County Clayton County Cobb County Columbia County Coweta County DeKalb Cou…
  • This is ALL the information.¬† ¬† We are using a ‘Twitter Dev’ account to import a JSON file with this information and I do not know how to complete this. ¬† Project Part 1 The project for DS710 is st…
  • demo_metadata_list = [[‘[Event “Superbet Classic 2021”]’, ‘[Site “Bucharest ROU”]’, ‘[Date “2021.06.05”]’, ‘[Round “1.5”]’, ‘[White “Deac,Bogdan-Daniel”]’, ‘[Black “Giri,A”]’, ‘[Result “1/2-1/2”]’, ‘[…
  • I am new to Python, I know how to use list but I don’t know how to apply if function to the list, please help! Create a list with scores 69,89,92,100,83,69,91,98 Ask the user for a positive integer in…
  • I need a great amount of help with this. Thank you Summary In this lab, you create a derived class from a base class, and then use the derived class in a Python program. The program should create two …
  • Question 19 (1 point) What does the expression (Ist [1] + dct [‘Ultra’ ]) . count (‘o’ ) evaluate to? Oo O1 2 3 0 4. Expressions V Assume the following code has executed and answer the following quest…
  • Question 1 (1 point) How do you correctly call this function? def square(x): a=pow(x.2) return a def (5) )x=square(side) Ox=square( ) defSquare(5) ODE Ox=square(5) Previous Page Next Page
  • Write a program that accepts as input a file with GenBank records And then parses out the accession number and sequence. So for every GenBank record, print out the accession number and the associated …
  • Write some code to count how many pairs of friends are represented in the array. Note that each friendship pair appears twice in the array, so in the example above there are 6 pairs of friends).
  • To test more than one condition, you can nest a decision structure inside another decision structure. Write a program in pseudocode that will allow the user to enter their annual income and then displ…
  • Load the same data. Extract 1000 observations, use the code below. Try five different PCA alogrithms that would extract 100 principle components. Use the following PCA algorithms: PCA, Kernel PCA(Line…
  • Let’s assume that four staff members (Analysia, Bernard, Christie, and Diana) want to teeter (i.e., sit) on these totters, and let’s further assume that Analysia weighs 30kg, Bernard weighs 35kg, Ch…
  • Given the lists,¬†lst1¬†and¬†lst2, create a new sorted list consisting of all the elements of¬†lst1¬†that do not appear in¬†lst2¬†together with all the elements of¬†lst2¬†that do not appear in¬†lst1. …
  • Go to Dell Laptop user community: https://www.dell.com/community/Laptops/ct-p/Laptops ¬† Q1. Scrape the Dell laptop community, and find out how many posts are there for Inspiron, XPS and Latitude. The…
  • Python program that accepts at least three values as input, performs some computation and displays at least two values as the result. The program must include an if statement that performs different c…
  • #1 Complete the function named average_test_score that asks the user for three test scores and displays the average of the three scores entered.¬† A for-loop MUST be used to get the three scores enter…
  • A professor has asked you as her Teacher Assistance to develop an application that will grade the final exam. The exam has 25 multiple choice questions. Here are the correct answers to the questions: …
  • Compute function to compute the amount accrued with simple interest on an investment given the principal amount, the annual interest rate and the number of years in the loan.¬†Assume that the inte…
  • isValidYearOfBirth(year) ¬† writing a software that validates personal information entered by the users. Write the function isValidYearOfBirth(year) which, given a value year, returns True if it is an…
  • Build a simple roster management program for a two semester course. For each semester, the instructor of the course stores the names of the students and the two exam scores that they have taken in a t…
  • python programming Steganography Steganography is a technique for concealing information or a message in another text, file, or image. This process can be used to hide a secret message inside of pictu…
  • Question-(Tasks) Perform all the steps Git Hooks (Write a script in any scripting language in post-commit file such that it automatically triggers push after committing the file ). Your local reposito…
  • Please explain questions 4-8. Thank you!!. 4. [30 points] Which of the following will cause core dump? What is the output if odd = rdd. map (lambda x: (x[1][0][0], (x[0], x[1][0][1], x[1][1], it can e…
  • Write a program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither. The input begins with an integer indicating the number of integers in th…
  • see the attached picture. What is required to make a recursive function successful? Question 6 (1 point) What is required to make a recursive function successful? I. One or more special cases that han…
  • There are 0 gumballs of type green in the machine There are 0 gumballs of type blue in the machine # TESTER CODE machine = Gumball_Machine(5) machine . report ( ) machine . count_gumballs_by_type ( &q…
  • Write a function to find and return the most frequented appeared num in a list, such as [2,2,4,4,8,8,8,8,11,11]. The list should return 8 because of the its appearances.
  • I am working on a program that reads from two .csv files and makes calculations for the data. I am struggling to connect certain functions to produce the result I need. I have defined my calculations …
  • I need help ¬†. 3. Factorial a) Define a function named factorial() with a parameter n. This function returns the product of all values from a to 1 inclusive. This is known as n! or n*n-I*n-2*n-3*n-4….
  • Can someone please solve this for me so I can learn from it, I have no idea how to do it, please help. Needs to be done in Python in Jupyter Notebook. ¬† Link to datasets(csv files) —> https://go…
  • print the following code. 3. Write a program to calculate the parking charges of a vehicle. Enter the type of vehicle as a character (like c for car, b for bus, etc.) and read the hours and minutes wh…
  • How do I solve this python question on higher order functions?
  • Thanks for the code, but the figure of z vs x has to be a lopsided butterfly pattern? Any idea whats wrong in this code?
  • I need help with identifying the unique strings of 5-12 characters and sorting them into a table. ¬† An excerpt of a memory dump extracted by Access Data’s FTK Imager (memdump.bin or test.bin) has bee…
  • Instructions for five are below this one, Just didnt upload properly. Question 4: XOR circuit (6 marks – 2 marks 11′, 2 marks expression, 2 marks drawing) A B XOR Output (C) Boolean …
  • you don’t care PlotDecBoundaries.py because you can use your method and don’t care about data, you can creat your own data like x1,x2 features and 2 labels(like x1: 3.2, x2: 4.7, class:1), please writ…
    • (Geometry: area of a pentagon) Write a program that prompts the user to enter the length from the center of a pentagon to a vertex and computes the area of the pen- tagon, as shown in the followi…
  • PLEASE USE BASIC PYTHON LANGUAGE AS THE CLASS IS CS-1113 an intro to computer science please and thank you if gou can explain i would appreciate it as it will help me study for an exam ¬† I want to un…
  • Please can I get answer for 3 questions below with python code the subject Chapter 6 Files and Exceptions ? ¬† ¬† ¬† Question 1¬† ¬† A file nameddata.txtcontains an unknown number of lines, each consi…
  • The pseudo code is provided below, thank you. # Define a function which has two inputs, the Arcs and the Nodes(which represents the number of colors). def ColourGraph(A,Nodes): # Input the colors # Co…
  • Need help with this: Statistics on football games are often displayed as the number the points each team (home and visitor) scored in each of four quarters. Write a program to create an array for the …
  • In python Write a program that asks the user to enter the total precipitation for each of the twelve months of the year into a list. The program should calculate and display the total precipitation fo…
  • Hello please I need the python codes to help make the text based game below. Six Starter codes are given to help build the main code for the game from there. I have pasted those here. Alternatively, t…
  • The shell is what needs to be used. It is the second picture.. Lab 50 You are a student trying to figure out your schedule for next year. You need to take Pre- Calculus next year but the only teacher …
  • Hi, how can i implement regular expressions as input validation in my python telephone directory program listed in the onedrive link below? https://drive.google.com/file/d/1ulgU3GawW1SIW5HiEUYCagMc4MF…
  • Write a function called count_even_elements , which takes a list of integers and returns the number of elements in the list which are even. count_even_elements ( ) -> 0 count_even_elements ( [4, 6,…
  • Question: (PYTHON)Credit Card Number Validation Program Credit Card Numbers Follow Certain Patterns: It Must Have Between 13 And 1
  • At the table are you, your roommate, and two stacks of pancakes, of height m and n. You and she, in turn, must eat from the larger stack a non-zero multiple of the number of pancakes in the smaller st…
  • def greedy_indset(adj_lists): ¬† ¬†¬†pass Part B: Greedy Maximisation Write a function greedy indset (adj_list) that accepts as input the adjacenty list of a graph and produces as output a greedy appr…
  • Question 3 Write a python script that starts by defining two lists list1=[‘cats’, ‘dogs’, ‘shark’,’fish’] and list2 = [‘canary’, ‘parrot’, ‘cockatoo’,’lovebird’] and asking the user for two inputs ind…
  • i couldnt understand how to solve these questions Problem 1. (Missing Number) Write a program called missing. py that takes an integer n as command-line argument, reads in n – 1 distinct integers betw…
  • A robot machine is going to navigate through a series of cave connected by straight tunnels (Please see image below). It starts navigating from the A to the last cave G. Finding a shorter route is bet…
  • Help with a python program which will 1.¬†¬†¬†¬†¬†¬†Populate an list of size 25 with integers in the range -100 (negative 100) ¬†¬†to ¬†+100 inclusive 2.¬†¬†¬†¬†¬†¬†Display the list and its length (us…
  • difference between clustering and association algorithms
  • what is the solution of the following questions? (5 points) Write a function transitive closure(A) that computes and returns the transitive closure A+. You may assume that A is a 2D list containing on…
  • I have uploaded the file here: ¬† https://filebin.net/ver2e5eoi5s4194k ¬†. Check the first 500 tokens in the “tokenscsv” file. Identify the following tokens: . tokens that are named entities bu…
  • So my question is, using Python would you use panda or NumPy for a question like this? I’ve tried both but am only receiving “Nan” back I understand Nan is an error and it happens when I use the “np.g…
  • Here is the question: program that first gets a list of integers from input. That list is followed by two more integers representing lower and upper bounds of a range. Your program should output all i…
  • For items 1-3, use the IN300_Dataset1.csv file. ¬† 1. Write a Python program that reads the CSV file into a Panda dataframe. Using that dataframe, print the row, source IP, and destination IP as a tab…
  • This revision question is very difficult can you help. Project no. 2: "Two player Jumbled words" game This project requires you to use python and create a two player jumbled words game. Each…
  • Using the Decrypting Secret Messages sites found in this week’s readings, decrypt the following messages. (30 points) a. – …. .. … / … -.. . …- / …– —– —– / -.-. .-.. .- … … / …
  • Computer Science Use python to come up with the following regular expression 1.)Find all the words that start and end with an ‘s’ AND have at least one more ‘s’ between the two. For example sisters 2….
  • (Python) Dating App Scenario Interview Question Given a user Id Write/Design/Implement functions to: 1. like someone’s page 2. remove like from someone’s page 3. find the most liked profile it should …
  • Use random module to print a random integer number from the range 1 to 100.
  • cat_names = [“Dewey”, “Peach”, ¬† ¬†“Daisy”, “Cookie”, “Luna”, ¬† ¬†“Fiona”, “Neko Chan”, “Pepper”] x = 1 for CatName in cat_names: ¬† ¬†y = CatName[0] ¬† ¬†if y == “D” or y == “P”: ¬† ¬† ¬† ¬†x = x +…
  • what does self.velocity[i] = -self.velocity[i] means? does it mean by changing the direction? (ex left -> right)
  • Capture a five-digit US zip code as a user input. Print a numbered list (per the usual style) in which you use the OpenWeather API to answer the following ten questions related to the user-specified l…
  • please also include explanations Program #3 Filename: pig . py For this assignment, you’ll implement a dice game called m, pitting two human players against each other. PIG is played with a standard…
  • . Course Project Exam 2 Project Name Project07‚ÄĒPassword Vault A company is considering hiring you to setup and maintain part of their IT operations. As part of the Interview, you are required to s…
  • I am learning about files in python programming. How do I add menu items to write to a file and to read from a file base on the provided main file and import file .
  • A palindrome is a string that, if reversed, remains the same, for example “madamimadam”. A subsequence of a string x is one obtained by dropping zero or more characters from x and taking the remaining…
  • ConSIderIng the ability to drwde a program’s various functions up Into smaller blocks or reusable code, how might this change your way of thinking when designing a program with multiple functions? Ho…
  • breaking News py run py subscriber py ¬† In this task, I would like to write the explanation of each line of the code separately in the form of a Docstring. you are going to leverage the Observer P…
  • Problem 3: Create 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 ste…
  • Hello, I would like some help with the following python program: A program containing user defined functions that prints out a nxn square. You can use a function to print the top line, a function to p…
  • Testing k-means on synthetic datasets. This should be in python and its machine learning. Generate a two-dimensional dataset where both X1 and X2 are drawn from a uniform distribution. Plot the data a…
  • (In python). Write a sentinel loop that repeatedly prompts the user to enter a number and, once the number ‚ÄĒ1 is typed, displays the maximum and minimum numbers that the user entered. Here is a samp…
  • What variables would I need to create if the user is inputting information? What would be the best code to write for this? Input Assignment: Instructions: In this assignment you will write a program t…
  • 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….
  • Can you help me make an object-oriented program that allows you to enter data for customers and employees.¬† Customer /Employee Data Entry Customer or employee? (c/e) : c DATA ENTRY First name: Frank …
  • 4 can i get help on coding this question please? task_filter (task_log, status=None, task_type=None, *ignored_names) [20pts ] Description: Construct a list of task names that match a given criteria ba…
  • Can someone help me with this code please! As of Spring 2020, in order to get into the CS major, you must have a 3.0 GPA or better in cs 120, cs210, and cs245. In this problem, you should write one fu…
  • Genetic Algorithms is one of a set of meta-heuristics that have been applied to optimization problems that do not have algorithmic solutions. These problems have to rely on heuristics that are tailore…
  • I’m a bit confused on this question, I passed 3 cases but it would be helpful if someone can solve this for me. ¬† ¬†. aded Parsons Problems Test Cases Passing 3 of 4 total cases Doctests for k_in_num…
  • How could this application be created using python ? How to create an application that displays the following menu: Select a Planet 1. Mercury¬† 2. Venus¬† 3. Earth¬† 4. Mars¬† 5. Exit the program¬† E…
  • . def drawSpaceship () : Parameters: – Return value: the function returns a window object The main is written for you def main () : window = drawSpaceShip () main ( ) Important notes: Comments: your…
  • https://indiana-my.sharepoint.com/:x:/g/personal/ahagahme_iu_edu/ETMVJVodqRhNiLky9dRSfUwBhte1IqhHrXJDNKytFXP2wQ?e=3dEvJW ¬† this link is for the excel file mentioned below.¬† ¬†. Q1. Create a Minkowsk…
  • How do I write a program using integers user_num and x as input, and output user_num divided by x four times. Ex: If the input is: 2000 2 Then the output is: 1000 500 250 125 Note: In Python 3, intege…
  • import unittest import sqlite3 import json import os def readDataFromFile(filename): full_path = os.path.join(os.path.dirname(__file__), filename) f = open(full_path) file_data = f.read() f.close() js…
  • I just have question about python. how to count the sentences in this file? //////////////////////////////////////// from¬†urllib.request¬†import¬†urlopen textpage¬†=¬†urlopen(“https://www.gutenberg.o…
  • Just make me an Abstract and Introduction and Conclusion of this. Here is the instructions/references: https://docs.google.com/document/d/1zdACOfQVDxOQ3lNKIPIu51K07qvlmgDpqa9DNBkFr1M/edit?usp=sharing …
  • .. Please see attachment for format 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 t…
  • Hello, I’m a beginner CS student learning object oriented programming. I’ve been tasked with coding a “Keyboard” class, and I started some code on it, but it isn’t working, and I can’t figure out why….
  • Show an example of Python 3 program that calculates the nearest multiple of a number that is not less than a factor. Your program should get two arguments from the command line and pass them to a func…
  • Modify that binarySearch(alist, item)function so that it performs ternary search on a Python list. Your new function should find two midpointsthat dividethe list into three (hence the name “ternary”…..
  • Using the input command, prompt for input, and then capitalize every alternate letter in the input. ¬† 2. Using the following variable assignments below: string1 = ‘toY’ string2 = ‘box’ string3 …
  • How do i do this in python? 3. Function One: hello Specification The first function you will write should be called ‘hello’. Your function should take one (1) argument (recall arguments are the inputs…
  • Problem 2: This problem is intended to help you practice with strings. Write a program that gets a word from the user using the string extraction operator and then gets a phrase (series of words) from…
  • # searchAgents.py # ————— # Licensing Information:¬†You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2…
  • solve this please For your problem, assuming you have got 11 requests [mix of buy and sell) in a single stock arriving one after the other. For simplicity assume that the exchange has asked all the tr…
  • 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 the…
  • Sorry my previous question did not include the mastermind.py file. Thank you for any assistance.. Homework 5 29 October 2021 This is an exercise in implementing functions to solve a large problem. Som…
  • def sizes(input): ¬†¬†”’Returns a dictionary with the same keys as input but with¬† ¬†¬†¬†¬†list values replaced with their lengths.”’ ¬†¬†# TODO: Implement # DO NOT MODIFY BELOW THIS LINE test1 = s…
  • Given the following code: states={“NSW”,”QLD”,”NT”,”SA”,”TAS”,”VIC”} #States bordering the ocean state=input(“Which state are you from? “) …………………………….. ¬†¬†print(“Sorry, your st…
  • class Course: ¬† ¬†def __init__(self, students: list): ¬† ¬† ¬† ¬†self.students = students ¬† ¬†def mean_grade(self) -> float: ¬† ¬† ¬† ¬†# calculate the total of all students grades ¬† ¬† ¬† ¬†tot…
  • . War is a simple card game involving two players. It uses a standard playing card deck (52 cards). The value of each card in decreasing order is: A K Q J T 9 8 7 6 5 4 3 2. The objective of the gam…
  • Exercise IN PYTHON: Words like first, second, third, fourth, etc. are referred to as ordinal numbers. In this exercise, you will write a function that takes an integer as its only parameter and prints…
  • Python Problem Help!!! Goal: [5 pts] Write the class SodaMachine that will represent a typical soda vending machine (product name, price). An instance of SodaMachine has access to three methods, purch…
  • In all the exercises that follow, insert your code directly in this file and immediately after each question. 1. To the extent possible, **always use variables** in your answers. 1. When a question pr…
  • . This second assessment requires you to: Propose or pick the problem (shown below) that should be solved through coding. Follow the five-steps process to solve problems. Draw a flowchart describing…
  • Not sure how to go about this problem. I added the = 10000 par at the end but now im doubting myself. i am suposed to fill in blanks
  • from¬†sklearn¬†import¬†datasets df¬†=¬†datasets.load_wine() X¬†=¬†df.data y¬†=¬†df.target ¬† 1) In¬†the¬†above¬†data¬†set,¬†fit¬†KNN¬†using¬†10 fold¬†cross¬†validation¬†and¬†grid¬†search¬†to¬†optimize…
  • The formula for calculating gross pay is: 0 gross pay = hours worked * hourly rate The formula for calculating tax amount is: 0 tax amount = gross pay * (tax rate / 100) The formula for calculating t…
  • any solution to this error so this code can be run successfully. Also the model.fit step is also wrong. InaccessibleTensorError: in user code: /usr/local/lib/python3.6/dist-packages/tensorflow/python/…
  • Need a flowchart for this. Also explain to me, how you did it?¬†. num = input ("How many set of numbers would you like to enter: ") pro = positive number O negative number = () total = 0 for…
  • Program listing with one line of code missing: Function displays the character that appears most frequently in the string. If several characters have the same highest frequency, displays the first cha…
  • please see the tic tac toe. py file here “”” Tic Tac Toe Simulation Starter Code “”” import random class TicTacToeSim: ¬† ¬†# Part 1 ¬† ¬†def __init__(self): ¬† ¬† ¬† # Initialize the simulation ¬† ¬†…
  • ANSWER ONLY USING PYTHON PROGRAMMING (NO JAVA OR OTHER PROCESSOR) NO TKINTER PLEASE. Question 1 (7 points): cookies Purpose: Practice combining dictionaries with file input, practice with data visuali…
  • please Make a program that reads a file (file name input by user) and counts the occurrence of each word in the file. However if the word does not contain a vowel (aeiou) or if the word has a repeated…
  • Question:Background The acronym API is short for “Application Programming Interface.” It is usually a collection of functions, methods or classes that supports the interaction of an application progra…
  • Your program should prompt the user for a number to use as the size for the following shapes; if the user enters a nonpositive number, treat it as if the user entered 1. Print out the following shapes…
  • Need help on a mongo db project where code implementation is done using python sdk Weather Data Storage and Retrieval Introduction The weather data system supports storage of temperature and humidity …
  • Can some one help me with a python code for INSERTION sort, which should take the data from a data set of 10000 numbers from an csv file . Here is the link for the data set. Kindly help. ¬† https://ww…
  • Can someone please help me with writing this program? It should be getting the exact same output as stated in the subquestions. I want to use this for educational purposes, to make sure I am progressi…
  • As part of an enrollment campaign, we asked current students to call in, provide their student number and the number of siblings that still remain in their house that might attend our school.¬† The ph…
  • . Problem 2 | For this problem, solve by hand or write a program (perhaps in Python). If you write a program, please submit the code as a second submission file, as described above. This problem inv…
  • my_list = [(‘5064’, ‘1776’), (‘5064’, ‘488’), (‘5064’, ‘190’), (‘5064’, ‘380’), (‘5064’, ‘4690’), (‘5064’, ‘3096’), (‘5064’, ‘10400’), (‘5064’, ‘36592’), (‘5064’, ‘1373737’), (‘5064’, ‘10990’), (‘5064…
  • 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…
  • Let¬†(e, n)¬†be the public key. Please encrypt the message¬†“A top secret!”¬†(the quotations are not included). We need to convert this ASCII string to a hex string, and then convert the hex string to…
  • Question 16 (3 points) A function f(x) contains the following points: (2.00, 0.90), (4.00, 3.00), (6-00, -4.50), (8.00, -3.00), (10.00, 4.00), (12.00, 2.20). Using the least-squares method, calculate …
  • 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 avo…
  • Given string num representing a non-negative integer num, and an integer k, return the smallest possible integer after removing k digits from num. ¬† Example 1: Input: num = “1432219”, k = 3 Output: “…
  • Please help answer the following questions Among the items in the following list, write the ones that are required to build the requested feature in your GUI application. Here, The list of tkinter obj…
  • This will be done using Python in Linux Mint. The program should include a comment block at the top with your name, the program number, and the name of the course. (Make sure to have the file that doe…
  • Exercise 1 Let’s start by seeing if we can make¬†FC_naive()¬†function faster by rewriting the two innermost loops, i.e., the¬†d1¬†and¬†d2¬†loops: for d1 in range ( H ): for d2 in range ( W ): out [ni,…
  • Using the Python programming language and the sakila database, create a Python program that will produce the following output: City Name and Country Name For all of the cities in the database that are…
  • You will design and develop an algorithmic complexity classifier, that can identify the runtime complexity () of a given algorithm.¬† The workflow of the algorithmic runtime complexity classifier¬† Th…
  • I need help to fix the models.py and routes.py ¬† 1. you should have a models.py file that creates the database and stores all of the information in a database. Each time a city is submitted you shoul…
  • this is what I have done so far:¬† row = int(input()) player_number =int(input()) column = 0 i = 0 num_2 = 0 total = 0 while column <7:¬† ¬† digit = (row// 10**(6-column))%10 ¬† column += 1 ¬† if p…
  • Implement a python program that requests three¬† strings¬† from the user. Your program should concatenate the first two strings¬† in the reverse order¬† and compare the concatenated string with the th…
  • Please help with this 2 part question can’t figure out will rate! Thank you!! import random trials = successes = for i in range(trials): # Count number of heads in 4 tosses: count = 0 for i in range(4…
  • Retype the below code. Fix the indentation as necessary to make the program work. if ‘New York’ in temperatures: if temperatures[‘New York’] > 90: print(‘The city is melting!’) else: print(‘The tem…
  • Question 1 Each individual question below is worth 1 point. 1.1) Create a list called ‘friends’ containing the first names of 5 friends of yours, ranked in ascending chronological order based on when …
  • Make a python program that takes the wallet address as input and calculate the balance of the wallet in BTC and ETH by using ccxt library.
  • Mandelbrot set – The Mandelbrot set is the set of complex number c for which the function f c (z)=z 2 +c does not diverge when iteration from z=0 , i.e. for which the sequence f c (0), f c (f c (0)), …
  • Thank you Write three functions for calculating the Sum, Min and Max of an Array containing 10 values (using the def keyword). Do not use the inbuilt functions. Write the code for calling these functi…
  • Use Python to come up with a ¬†code that does as instructed below ¬†. #1 You are given the following data A 7 10 -3U 25 #1 Determine which outcome from A}B,C,D you would choose and why #2 Set a random…
  • Exercises For the function provided in the first cell of each numbered exercise below, you will (1) state your hypothesized worst-case Big-O runtime complexity, (2) write code to collect timings for d…
  • I need a command line client that calls the endpoint and prints the time to the console. The client code gets the current time zone something like this: from time import gmtime, strftime print(strftim…
  • E Write a function named sort and get_original_indexes that takes a list as an argument and returns a new list of the same length as the list to be sorted in an ascending order and containing the orig…
  • . In [1]: import numpy as np import matplotlib.pyp1.ot as plt 1 [1 pt}. The specific membrane capacitance is the capacitance per unit surface area. Consider a neuron with a specific membrane capacit…
  • Create a Python file dnw_app.py that contains the definition of a class named DInVApp. The class should include a method called eon1n1and_loop that presents the following menu (or something similar) …
  • Write a function friend_besties() that calculates the “besties” (i.e. degree-one friends) of a given individual in a social network. The function takes two arguments: individual , an individual in the…
  • Solve using Python/Spyder. A mass balance for a chemical in a completely mixed reactor can be written as dt -F – Qc – kVc2 where V = volume (12 m3), c = concentration (g/m3), F = feed rate (175 g/min)…
  • Need to prove this identity in python using 1 or 2 functions….
  • Please help answer the questions below, thank you.¬† Read and answer the questions using the context of the provided code. Words and code/line references are required to explain the¬†answers.¬† For ex…
  • cse160-staff@cs.washington.edu cse160_22wi_checkin03 > sum_grid prev | next | chance This problem will only make sense after reading the HW3 writeup. Return the sum of all the values in the given p…
  • import numpy as np ¬† # function name: per_to_dec # inputs: mat – n x n numpy array with percentages # output: n x n numpy array where percentages are converted to decimal numbers # assumptions: The t…
  • Question: i): From the raw data below create a Pandas Series ‘Amit’, ‘Bob’, ‘Kate’, ‘A’, ‘b’, np.nan, ‘Car’, ‘dog’, ‘cat’ a) Print all elements in lower case b) Print all the elements in upper case c)…
  • I am trying to make a geolocation chart that displays data from the interactive data table to my existing dasboard. I have already created the data table and data is displayed with no issues. However,…
  • How would you use Python math functions do the following: Generate x, sin(x) for x values ranging from -2PI -> 2PI with an increment of PI/64. Generate x, log10(x) for x values ranging from 0 ->…
  • Use python to implement Binomial Probability Sums. Program should include a user-defined function that should compute Binomial Probability Sums and should plot the corresponding graph. It should consi…
  • please write python program to convert hexadecimal to binary (steps should show on output with answer) NOTE: For full points, you must provide a solution, not merely an answer. Use each question’s mes…
  • Hello, I meet a problem while learning how to process part of speech. I don’t know how to ¬†implement the 3 functions (Calculate_TF, Calculate_IDF, Calculate_Normalized_TF_IDF) using google colab. So …
  • Just import few lines from CSV for demo plz , no need to import all these data.. 1. read csv file into a pandas frame and add a column "True Label". In that column, for each day (row) i w…
  • Project: Graphical User Interface library evaluation and recommendation
  • . Part 3: pyLab 6 Write a program that takes in a positive integer as input, and outputs a string of 1’s and O’s representing the integer in binary. Your program must define a function ‘Integer_to_B…
  • Converting Number Words into Integers Write a program that converts sequences of numbers written out as words (e.g., ‘five million three hundred forty five thousand seven hundred three’) into numbers …
  • The following is my project that i am working on. I am not going to lie I am struggling terribly in this class. I have decided to switch my degree to business management and organizational. But I need…
  • In python how would I store the results of a for loop as a csv file? My loop is: x = 0 for i in range(n): print(‘\nRecords assigned to:’, names[i]) for j in range(x, x + len(emp)//n): print(myDF[‘Empl…
  • def padding(message_length): ¬† ¬†remainder_bytes = (message_length + 8) % 64 ¬†# number of bytes in the final block, including the appended length¬† ¬† ¬†filler_bytes = 64 – remainder_bytes ¬† ¬† ¬† …
  • Convert this JAVA program into Python : Note: Python should take input from the user to generate the output The link for the JAVA code to be converted in Python is below: Copy paste the link below in …
  • How to conduct a python code for below? ¬†. Write a function sum_of_ends that takes a list of numbers as an input parameter and: . if the list is empty, returns 0 . if the list is not empty, returns t…
  • Firstly there has be a ¬†Creation of one random array of n number where n=10, 100, 1000, 5000, 10000, 20000, 50000, 100000, 200000, 500000, 1000000 then secondly we have to ¬†Implement Bubble sort, Se…
  • How many monthly pickups are there per month? Which month had the highest figure?
  • . Wealth management services used to be the enclave of the wealthy. To be serviced by a personal wealth manager will require a net worth of millions, due to the highly personalized (and hence, expen…
  • make an ¬†python code ¬†. SELECTION SORT The solution must be a programming code in any language or a simulation where EVERY STATE AND VARIABLES are being displayed. There will be a specific question …
  • Hello Python programming. I would be glad if you could help me with this question. Please don’t forget to share the screenshot. ¬† ¬†. 3. Go to following URL: https://www.hurriyet.com.tr/ Hurriyet Gun…
  • . Module 8 Homework – Global Temperatures The World Meteorological Organization (WMO) has hired you to code a data structure that stores record temperatures across the globe. Incoming temperature re…
  • Implement a program that starts by asking the user to enter a login id (i.e., a string). The program then checks whether the id entered by the user is in the list [‘joe’, ‘sue’, ‘hani’, ‘sophie’] of…
  • . All your fractions are belong to base def group_and_skip (n, out, ins) : A pile of n identical coins lies on the table. Each move consists of three stages. First, the coins in the remaining pile a…
  • Would love help with this problem. H learnzyhooksmcm <>2 .2 c| emu"! 0 This webpage is using signiÔ¨Ācant memory. Closing it may improve the responsiveness of your Mac. My library > (Ear…
  • Consider the NoDeletion global alignment problem, which consists of optimally aligning sequences S and T under a linear gap penalty for insertions but where deletions from S to T are not allowed. Let …
  • Explain why the error occurs and writ the correct version of the program. The following program results in an error. Explain why the error occurs and write the correct version of the program in the sp…
  • In Python John gets a credit card with an 18% annual interest rate, compounded monthly (for a monthly interest rate of 1.5%). Every month he charges “d” dollars but he never sends in a payment. John w…
  • Problem Statement: This assignment is a small part of the final project. The purpose of this lab assignment is to gain experience in python’s tkinter GUI Application. In this assignment, we will desig…
  • Please give me the py file thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 4. Write a client function Earenthesesl-Iatch that given a string containing only the characters for parentheses: braces or curly bra…
  • . Chirality def is left_handed (pips) : Even though this has no effect on fairness, pips from one to six are not painted on dice just any which way, but so that pips on the opposite faces always add…
  • An Insurance firm is facing higher claim frequency. The management decides to collect data from the past few years. Make a model using CART, RF & ANN which predicts the claim status and provide re…
  • . Count growlers def count_growlers (animals) : Let the strings ‘cat’ and ‘dog’ denote that kind of animal facing left, and ‘ tac ‘ and ‘god’ denote that same kind of animal facing right. Since in t…
  • Please see attached. (Electrical Engineering problem). Question #1 I = 2A Write a program that initializes and stores the following resistance values in an Array/List named resistance: 12, 16, 27, 39,…
  • There exists an optimization problem, which is described by the fitness function f(x; y) = 25 * (y + x^2)^2 + (1 + x)^2. In order to find an optimal solution you need to find the global minima of this…
  • If all digits of a number n are multiplied by each other repeating with the product, the one digit number obtained at last is called the multiplicative digital root of n. The number of times digits ne…
  • Note that the fill character is completely arbitrary . It’s just a character that we specify to fill out the string to & characters . There are a number of ways to fill a string to a specific len…
  • Requirements: Interpret your results and write your answers in answers . txt. State whether the data suggest that the Iranian election results were fraudulent. Then justify your answer by giving p and…
  • Help! http://prntscr.com/lb2ajs This is a function that creates a deck of cards in digits only. First digit represents the suit (1 to 4) and the other two digits represent the rank(1 to 13). http://pr…
  • This is the Source Code of DFS Algorithm in Artificial Intelligence ¬† QUESTION: Explain the Full Code Line By Line, Every Logic According to Algorithm ¬† graph = { ‘5’: [‘3’, ‘7’], ‘3’: [‘2’, ‘4’], ‘…
  • I need help getting this started. Do I use an if function for each ticket? We use Python 3 i Safari File Edit View History Bookmarks Develop Window Help -_ A ; Manch < El] 0 i moodlechMhedu cosc 13…
  • For each function, describe¬† what it actually does ¬†when called with a string argument. If it does not correctly check for lowercase letters, give¬† an example argument that produces incorrect resul…
  • what is a nonlinear nested selection structure in Python Programming? Can you provide an example?
  • Python programming-Datamining Script for extracting multiple text files from multiple directories and use NLTK to perform SVM, Naive Bayes, and Neural network
  • Hello I’m writng a program that 1) reads in the name of an input file and then reads the file using the csv.reader() method. the file contains a list of words separated by commas. 2) the program shoul…
  • 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…
  • You are given a collection of text files, each containing 1000 recent tweets posted by several popular Twitter accounts. Each line in a file is one tweet, so if we read the files the usual way, each l…
  • Assignment – 10 Solution ¬†#Person class class Person: ¬† ¬† ¬† ¬† ¬† ¬† ¬†_pinstances = [] ¬† ¬†¬† ?…
  • The class demo program has one username and password hard coded in the code.¬† The web site shall allow multiple users to access the database after they sign up.¬† You are asked to modify the program …
  • I have been working on this for over two weeks. For some reason I can’t get it to run constantly. Can anyone help please. I have no knowledge of programming or coding so this is my first class. Here i…
  • Write a python program to check whether a number is divisible by 5 and 11 or not.
  • How dimensionality reduction and clustering help each other. ¬† ¬† ¬† ¬† ¬† ¬† ¬† Clustering algorithm: – Clustering – k-means – OPTICS ¬† Dimensionality Reduction In the field of machine learning…
  • def charInWord(word, char ): ”’ -charInWord() takes in a parameter word and another parameter char and determines whether char is contained in word. -If word is not a string type, or if char is not a…
  • I’m asking the question again sorry. I was helped but it still isn’t working. Am supposed to have the client code on its on idle and run and have server on another. Or all together is there more I’m m…
  • get weater py test weater¬† parser weaher parser . py Now I’d like to do docstring for each line in three parts file .. Thanks¬†. class WeatherParser : def init_(self, json_response) : self. json_resp…
  • A Perfect Number “n”, is a positive integer which is equal to the sum of its factors, excluding “n” itself.¬† Write a function named isPerfect that given a number, it checks whether the number is a pe…
  • You need to use the worldwide coronavirus data for daily cases and deaths located at this website: https://www.ecdc.europa.eu/sites/default/files/documents/COVID-19-geographic-disbtribution-worldwide….
  • Trying to work on this process if someone can help me starting this please? A callable is a generic type for a function. This means that anything that is of type¬†callable, can be called or invoked, i…
  • ŚĮ∂Á߼ťô§šļÜśā® 57 +852 5403 9107 2020ŚĻī11śúą25śó• śú™śé•Áĺ§ÁĶĄŤ¶ĖŚÉŹťÄöŤ©Ī 2020ŚĻī11śúą27śó• ŚĮ∂ :¬† ÁŹĺśąźśúČšļļŚĻꜹόúįśČďŚüč Mum 2020ŚĻī11śúą27śó• śČďÁĽôśąĎ BŚď•Ś•ĹŚĺąťĖčŚŅÉ śėüśúüšļĆ +852 635…
  • would you please tell me how to do that code write down nope-book forth person name? ¬†please sent me a step by step code and screen short. I have write a code below but no sure please fix help me ¬†i…
  • Assume that¬† x ¬†refers to a number. Describe a code segment that prints the number’s absolute value without using Python’s¬† abs ¬†function.
  • Here is the second part. it is part 2 in the beginning. 2015-11-22, 8:52 PM by Jennifer Campbell, Paul Gries" so that it clear the two quizzes you completed are from 2nd coursera course and not t…
  • Complete the `calculate_distance()` function. This function takes in two floats and returns the calculated distance. The formula you need to use for this function is (in LaTeX form): $$\sqrt{(x – \f…
  • struggling to solve this problem using python.please follow the instructions on the word doc and checklist.can pay more.
  • Please refer to the attachment below for the python program.¬†. The Payroll Department keeps a list of employee information for each pay period in a text file. The following is the content of the file…
  • The questions are listed in above pictures. Here the data files: https://github.com/minokhun/2.git¬†. 1 ; UOUDI an we woros In tne IeXI rue. store eacn were In tne alcuonary as a Key, am: we count as …
  • . CHALLENGE ACTIVITY 4.5.1: For loop: Printing a list Write an expression to print each price in stock_prices. Sample output with inputs: 34.62 76.30 85.05 $ 34.62 $ 76.30 $ 85.05 387678.2548154.qx3…
  • Program with functions¬†and Arrays to implement the following. Miles Driven Application using Arrays and Functions.¬†¬† Must use functions Two arrays Monthname¬† ¬†This array contains month names such…
  • CREATE PROGRAM AND SHOW THE CODE OUTPUT FOR INDENTION AND EXPLAIN HOW IT WORKS Create a python program for the given problem. Part 1: Sort Algorithm Program A: Insertion Sort Assume the following list…
  • Please give an explanation of the problem, as you are solving it, thank you ! Compute a python program that does the following: ¬† ¬∑¬†¬†¬†¬†¬†¬†takes as input from the user a date and time (24-hour c…
  • QUESTION 10 At the start of _init_.py in the app directory, suppose you have installed the required packages and flask extensions. Consider the following code: from flask import Flask from webapp impo…
  • write a program that prints the integers from 1 to 100. But for multiples of three print “Three” instead of the number, and for the multiples of five prints “Five”. For numbers which are multiples of …
  • The Portage Class ‚ÄĘ A Portage object has a distance (a float, in km) and two references to Lake objects.¬† ‚ÄĘ The Portage class should have the following methods:¬† o a constructor that, given refe…
    • suppose we have a variable named foo, which references the string ‘bar’. Will the assignment operation foo[0] = ‘c’ result in an error? Why or why not?¬† b) Suppose that foo instead references the …
  • A PowerPoint that contains a FLOWCHART and a PSEUDOCODE for each problem is needed. Use the information below to make a pseudocode (which can be a text-based description for solving the problems) and …

 

 

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!