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.

  • Suppose you have a tuple that stores the semester and year a course was taken, as in when = ( ‘Spring’ , 2015) Write a function called earlier_semester ( ) that takes two such tuples as arguments a…
  • My Python find_character function is incorrect. I should be returning the index representation of the character name not the character name and stats. I’m just having an absolute blank and can’t get i…
  • iteration variable in for letter in ‘banana’ : ¬†¬†print(letter)
  • Open the file strings.txt for reading. Use a for loop to read each line in the file to a string. Then manipulate the text as follows: Convert all letters to uppercase, strip the whitespace and trailin…
  • X Juice Maker Proplem Results class Juice: def _init (self, Juice Maker self . name = nam self. capacity = def _ add (self, oth return (self.nan You are given a juice class, which has name and capacit…
  • Please satisfy the needed info below and explain it clearly so I could understand easily.¬† Ps. This is not an assignment but this is a programming challenge that I want to know and understand. ¬†I ma…
  • Just as digital photography captures and quantizes light and color, digital audio recording may capture sound volume and frequencies. Once these characteristics are represented as values and stored nu…
  • I have tried this so many different ways. But I need it to give the same output with any input. def shampoo_instructions(num_cycles): ¬†¬†if num_cycles < 1: ¬†¬†¬†¬†print(‘Too few.’) ¬†¬†elif num_c…
  • 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 Ecl…
  • Q#4 Write a program that reads the contents of file Cities.txt into a list. The program should ask the user to enter the names of two cities. (Tip: Keep in mind that the city#1 entered by the user may…
  • Python program that contains an array variable whose values are input by the user. It should the perform some modification to each element of array using a loop and then the modified array should be d…
  • I need help figuring out why my code is not working. This is the code I wrote : from country import Country class CountryCatalouge : def __init__ ( self , data) : self ._data = open(data, “r” ) self ….
  • Professor feedback from code below. “Good work with minor errors in your RESTART of the loop. Make sure you fix it, code is used again in future programs” Cannot figure out the errrors. ¬† This weeks …
  • . Description You will create a simple shopping calculator. Some items such as candy, eggs, and flour will have special promotional discounts applied to them. Users will enter the name of an item fo…
  • In this question, you will implement a class called¬†DataTable¬†that will represent 2-dimensional data. You will also implement a class called¬†row¬†to represent each row in a data table, and a class …
  • Find the time complexity of the following algorithm: ¬† Please i need time complexity analisis big oh notation and step by step explanation. Some tips on how to solve this kind of problem would be gre…
  • Egineering Notebook about robotics coding competition¬† ¬†. 7. Engineering Notebook Each team must submit an engineering notebook as documentation for their participation in the competition. The Engin…
  • Compose a ¬†program that peruses a string and a person from the console. The program should yield how frequently the person shows up in the string [a) A product module controls a vehicle park of known…
  • Give the tightest simple polylogarithmic bound in big-oh notation for the computational complexity function below.
  • Find out the following ¬†. 4. Answer the following question. [10 marks] Consider a packet switched network, the source host segments long messages into smaller packets and sends the packets into the n…
  • This is Philosophhy.. below. Write your answers on a separate sheet of paper. Age Strengths Weaknesses Desires Abilities Talents Fears Hesitations What can I do (I can) (I always (I can’t) (I am afrai…
  • The prices for each seat in the theater are as followings. 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 20 20 20 20 20 20 10 10 10 10 20 20 20 20 20 …
  • I am creating a page in Flask ( school team project) and I need to create a page /repair_form ¬† which will show the repair information form based on the specific car’s vin number search result. ¬†So …
  • Write a program to prompt the user to provide an integer which returns the corresponding day of the week. If the user enters 1, print “Sunday”. If the user enters 2, print “Monday”. If the user enters…
  • function write_students that asks the user for student records and writes them to file students.txt .¬†A record of a student includes name, major and GPA.¬†The user can enter as many records as they w…
  • Write this function in Python ¬† In football terminology, a down is the period in which a single play (successful or failed) is executed. You are to write the function down(successprct, yardrange) , w…
  • Game #1: Create a game that simulates a virtual Magic 8 Ball via Python Code. The purpose of this game is to ask the Magic 8 ball a question and it will provide you with a response. Save this code as …
  • I need help, just to show the following code into the loom: clock_handler #include “kernel.h” #include “proc.h” #include <signal.h> #include <minix/com.h> #include <minix/rt.h> #incl…
  • What is supplied to a function when it is called? 1. arguments 2. numbers 3. return values 4. variables
  • Instructions – To attend the lab, locate the Zoom lab session link available at MyLearning¬ßpace page under "Zoom Lab sessions" for CP104. – Listen to Instructor instructions, if any. – Crea…
  • Other than just¬† binary¬† and¬† decimal , we can have numbers of any base. Common bases that we work with include¬† octal ,¬† hexadecimal ¬† and¬† base64 . Here is a table of numbers from 0 to 15 in …
  • Write a function named say_something, that takes a single argument and returns no value. When this function is called, it should print the value of the argument that was passed to it. Examples: say_so…
  • can you please troubleshoot it and fix the issue in the whole program untitled1 ) a.py a Q 1: Project a.py X b.py X gimport math import pprint import time Z: Structure def read_from_file () : first_ca…
  • . Question 2: Defining Vectors (21 points) DeÔ¨Āne class Vector for n-dimensional vectors as follows: – Vector( 1) : Creates a new vector with dimension len( 1) from list 1 of numbers; raises Type}:…
  • Use only phyton and has to work on coderunner. Time left 1:57:20 Define a function named has_same_ending_text ( sentence) which takes a sentence as a parameter. The function should do the following: I…
  • 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…
  • Hi, I have questions that are going to expire. I am struggling a little with this question. ¬† “Write the code for a mapping that generates a list of the absolute values of the numbers in a list named…
  • CSV File PassengerId,Survived,Pclass,Name,Sex,Age,Ticket,Fare 1,0,3,”Braund, Mr. Owen Harris”,male,22,A/5 21171,7.25 2,1,1,”Cumings, Mrs. John Bradley (Florence Briggs Thayer)”,female,38,PC 17599,71.2…
  • Histrogram ¬† Box Plot ¬† Does the number of site visits by day 7 differ between the two posting models?” ¬† ¬† ¬†. Site visits by day 7 10000 – 1000 – version site_visits 7 limited 100 – unlimited 10…
  • python question For the following function that accepts as input two lists ist1 and ist2, identify the tightest simple bound of the worst-case computational complexity in terms of the combined input s…
  • Using the Python dictionary below, returns a¬† list of¬†values ¬†for each¬† key . They are horse names(VA Davinci, HS Bogatyr, and Aleut) The numbers are the scores they received at a horse co…
  • The¬†list¬†and dictionary object types are two of the most important and often used types in a Python program. Compare the functionalities of those two objects. What are some ways to insert, update, a…
  • How many characters are in the following Python string? “CSC\t110” Group of answer choices A. 8 B. 7 C. 10 D. 6 2. Consider the following Python code: What is the total number of function definitio…
  • Write a program that calls a function that shifts a list of integers to the right.¬† Use the following list: TEST_LIST = [5, 6, 7, 8, 9, 10] Your output should be: ¬†¬†The original data is: 5, 6, 7, 8…
  • Hello There, So I am completing the following below by using variables, functions, and control structures to improve the “View all Employees” functionality I’ve developed and utilize functions that pa…
  • #¬†What¬†type¬†of¬†loop¬†is¬†this? ¬†¬†¬†¬†#¬†(ie.¬†Not¬†just¬†that¬†it¬†is¬†a¬†while¬†loop) ¬†¬†¬†¬†while¬†winner¬†==¬†“”: ¬†¬†¬†¬†¬†¬†¬†¬†clickLocation¬†=¬†boardWindow.getMouse() ¬†¬†¬†¬†¬†¬†¬†¬†cur…
  • The project is in github. Here’s the link: ¬†https://github.com/arjangcore/DigitRecognizer ¬†¬† You will need vscode and python 8.* (latest version ) to run this. Download the project and use it as st…
  • Machine Learning With Python —————————————– —————————————– Linear Regression for Machine Learning ————————————————…
  • Here is everything this time. The Gui.py is linked in a quizlet¬† Any questions please ask Thank You So Much ūüôā Sorry its long¬† Gui.py: https://quizlet.com/_b5hb8d?x=1qqt&i=1epaeq. HW6: Drawing Q…
  • . Rabih Neouchi Spring 2022 MIS 6382 JSOM, UTD Due by: 02/16/2022 Homework One The following guidelines should be followed and will be used to grade your homework: The code for each question should …
  • Python question. My CSV file is saving the links in an odd manner – I need to clean this up and extract all of the unique web links from the html code that point out to other html pages. Develop a web…
  • reverse_number_in_list(number_list:list)-> list This function will be given a list of numbers your job is to reverse all the numbers in the list and return a list with the reversed numbers. If a nu…
  • plzzzzzzzzzzzzzzzzzzzzzz can you check my errors,codes and other things which are needed for this files and get a perfect out put plzzz. as soon as possible I need to be soon. ¬†(must output) _timer.p…
  • python question We train a logistic regression model on a dataset where each datapoint has a single feature x and a target variable y, where y E {0,1}. The resulting expression for the prediction y of…
  • Please use Python to solve them, totally incorrect or copied answers will be send back to tutors, thank you!. 1 A Notch Digital Filter (6 marks, 3/2/1) A notch filter is a Ô¨Ālter that passes almost a…
  • You will be populating a database table with information from Yelp (we have provided the cache data in yelp_data.txt) and write code to fetch data from the table. We have provided the code for the fol…
  • Case Stud y Domain – E – Commerce focus – Optimization Business challenge/requirement GoodsKart ‚ÄĒ largest ecommerce company of Indonesia with revenue of $2B+ acquired another ecommerce company FairD…
  • Assignment Part A: ¬†Define a python function called ‘make_ip_num’ with one parameter. The parameter is for passing the IP address as a string Convert the string passed into an integer (3232243325) ¬†…
  • 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 …
  • Very simple python task. Find the marks percentage and average. This is all console base program. where user can login and do different functionality as well all the description given in the below ima…
  • # a function called multiply_strings. Multiply #strings should have one parameter, a list of strings. #It should return a modified list according to the #following changes: # # – Every string stored a…
  • You have been asked to create a dataset showing wilderness areas in a national park. These areas are defined as 2000 feet away from a paved road, 500 feet away from any campsite, and 100 feet away fro…
  • can you use spyder when you are compiling? and can you use comment line for explain the functions? 2. [25 points] Write a function that takes HES number ofa person, and HESlist as arguments, searches …
  • Overview . Objective: The calculator allows the user to perform multiple calculations with any number of operands. Python constructs used: flow control, type casting, arithmetic operator, functions, l…
  • What is the importance of using and modifying functions in python?
  • Python program that accepts a string as input. It should analyze some characteristic of that string and display the result of that analysis. The program must use at least one of the following: string …
  • Please can you help me with these Suppose we use Python lists to implement stacks and choose the right end of a Python list as the top of a stack. What is the time complexity of the push operation? o …
  • make changes to this existing code. take input in a function. In the interactive part, you will write a function to¬†input¬†the temperature and then ¬† return ¬†that temperature to the calling program…
  • Hello, can I get a basic example of a For loop Python code and a While loop Python code? I’m trying to understand the difference and use case scenarios of why you would use one over the other.
  • Python please: ¬† The provided file “wgucourse.py” is a module that functions as a simple course catalog. The module defines three courses and stores a variety of course details inside each. Write a p…
  • My outputs for this python program do not seem to be executing. I would like it to display “The number is valid.” if the isbn is entered properly. I would also like it to say “The number is invalid.” …
  • You are given positive integer k . Find a graph G that satisfies all of the following conditions: G consists of¬†nodes and¬†edges G is a directed acyclic graph 2<=n<=300,1<=m<=400 Number o…
  • def exercise03(neighbors,split): ”’ Data set: Iris Split the Iris dataset into a train / test model with the split ratio between the two established by the function parameter split. Fit KNN with the …
  • Hello! I would really appreciate your help on all of these documents, please! I was unaware that this project is due today and I have so many other things due today as well. So I am in need of some as…
  • 21 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 Pyt…
  • Part 1: Programming – Syracuse Sequence 1.1 Problem Statement The Syracuse (also called the Collatz Hailstone) sequence is generated by starting with a natural number and repeatedly applying the follo…
  • http://snhu-media.snhu.edu/files/course_repository/undergraduate/it/it140/customerdata.csv https://learn.snhu.edu/d2l/lor/viewer/viewFile.d2lfile/519218/11092,1/ This is a Python script that imports t…
  • Data fields: number : trade number ID (each unique trade has two entries, one for buyer and one for seller). ap : Approved participant (exchange member, the executing broker). Numerical from 1 to 699….
  • Python program to find the LCM of five numbers entered through keyboard.
  • Need the answer in python 1. Write a recursive function Brain Search that takes three parameters: an array, starting position, and the number to search. It returns the location of a number if exists i…
  • So far we have seen Higher Order Functions that take other functions as parameters. However, not all Higher Order Functions work this way. Functions can produce other functions as their output. This m…
  • can you kindly help me with this question? I don’t really know how to start or write this code. Question 1.3. Using both the fertility and child_mortality tables, draw a scatter diagram with one point…
  • Please create a program in Python 3 in which all of the requirements are fulfilled as stated above, with Sonia being the first name used. Thank you so much and if you have any questions, don’t hesitat…
  • Define GUI, define widget and describe 3 GUI widgets that you might use and when you would use each in a program.
  • Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. Assume that there will only be one solution Examp…
  • print a python program that reads strings typed by the user until an empty string in entered, then prints all of the strings sorted into ascending
  • http://www.incompleteideas.net/book/RLbook2018.pdf page 65 would provide additional help N = 4 , isBadSide ={ 0 , 0 , 1 , 0 ,} N = 25 , isBadSide ={ 0 , 1 , 0 , 1 , 1 , 1 , 0 , 1 , 1 , 0 , 0 , 0 , 1 ,…
  • Good Day Everyone, I am trying to reverse the code below so i can work in the opposite direction arrival = np.array(df.iloc[0:, 1:4]) for i in range(arrival.shape[0]): graph.add_edge(arrival[i][0], ar…
  • By using python, write a guessing game where the user has to guess a secret number. After every guess the program tells the user whether his number was too large or too small. At the end the number of…
  • Can you help me understand how to make a Python program that has a¬†runtime error. It needs to have the¬†code of your program, Output demonstrating the runtime error, including the error message, an e…
  • Discuss how Python is used in cybersecurity. Why is it important for students in the field of networking to learn how to program in Python?
  • DESCRIPTION Implement a recursive function to find the greatest common divisor of two numbers (i.e. gcd(1860, 2020) is 20, gcd(1861, 2021) is 1). Implement an iterative function that, when invoked as …
  • Create a program that analyzes this file. There are 24 columns in the csv file, of which these are indexes of the interesting columns: INVOICE_NUM = 0 DATE = 1 STORE_NUM = 2 STORE_NAME = 3 CITY = 5 CO…
  • Write program containing a function called swap that takes two parameters called first and second. You should be able to run the function passing it these two parameters and returning a ‘swapped’ vers…
  • Hi, I’m triyng to figure out how to solve this problem. Any help or guidance will be much apprecieted. 3.4 (a) calculate the resultant velocity of the tree velocities given in the figure above. (b) Ad…
  • Write a telephone lookup program. Read a data set of names and telephone numbers from a file that contains the numbers in sorted order. Handle lookups by name and reverse lookups by phone number. …
  • Select one of the project ideas below and develop a Python application that meets the requirements described below: Project ideas : ¬† ¬† ¬†File manager: the user should be able to create folders and …
  • Describe three of the four characteristics of a well-designed algorithm discussed in class and provide a one sentence explanation of each characteristic. ¬† 2.¬†¬†¬†¬†¬†¬†Which is not an…
  • Given a 2D elevation map like this: Crop a given elevation map using the 2 corners provided so that the new cropped map will have the 2 given corners as in the docstring below: For example, for crop_m…
  • Please use python codes #5: Exploring the Relationship Between the Fibonacci Sequence and the Galileo Ratio The Fibonacci sequence (1, 1, 2, 3, 5, . . .) is the series of numbers where the with number…
  • Here’s an example of the expected output they want: (and want it vise versa). A Metric/English Length Converter In this assignment, you’ll build a simple utility that allows converting from English le…
  • Using a while ¬†loop, write code that will print every 27th number between 1 and 10000 inclusive . For example, the sequence would start 1, 28, 55, … Do not use a for loop to solve this, even though…
  • *Python code only* 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 you will add the capability of dynami…
  • Write Python script named ” q2-2.py ” to accept two arguments from the command line: the first one is an integer and the second is a single character. Print the given character the number of times as …
  • Use the following dictionary. dt = ‘g1’: [a for a in np.arange(4)], ‘g2’: [b for b in np.arange(4)], ‘g3’: [c for c in np.arange(4)], ‘g4’: [d for d in np.arange(4)] . Make ¬†data frame named df. Chan…
  • Having an issue with heap sort sorting correctly, any help will be appreciated with figuring out where my logic is off. No built in data structures allowed, as well as these methods must be static. Al…
  • Python Homework Help – Full assignment attached You have been given RecommendationSystems.zip. This zip file contains Python code as well as Data for this assignment. Unzip this file in the location w…
  • def is OddNumber(num): if num % 2 == 0: return False; return True; Give an example of calling this function using the literal value of 10. Give an example of calling this function using a variable con…
  • Im using the python language program whose input is two integers and whose output is the two integers swapped. Ex: If the input is: 3 8 the output is: 8 3 Your program must define and call the followi…
  • Question 5: Count Substring View Past Answers No past answers. Come up with a program¬†count_substring¬†that reads a string (less than 20 characters) from the user and stores it into a character array…
  • “”” Study Guide Forbidden: Your program may not use any techniques or Python features¬† forbidden below. Do not use the following list-related functionality: – Do not use any string methods other than…
  • i need help in python and how to write my initials in x’s with pixels. instructions are to write by changing pixels to write my intiails in python.
  • In python determine the values and output of the expression
  • use below link for database for this code http://data-lakecountyil.opendata.arcgis.com/datasets/cd63911cc52841f38b289aeeeff0f300_1.csv Give details on below things using above database 1) Explain give…
  • You can find the data set on below links ¬† ¬†Data: https://archive.ics.uci.edu/ml/datasets/ElectricityLoadDiagrams20112014# ¬† ¬†Electric Demand: http://www.think-energy.net/KWvsKWH.htm I try some bu…
  • create directory newOne in current directory-command for this delete directory newOne -command for this change to the parent directory-command for this change to the root directory-command for this ch…
  • Define a function to calculate the average of a list a. Define a function called average() that has one argument, a list of numbers b. Inside the function, use the built-in Python functions sum() a…
  • Part I. Please give the expected output from the given code samples.¬† If the code will result in an error (which some may) please correct the error so it will properly run and then give the output .?…
  • Pick two places and download temperature data and time for both create a dictionary using the following format temps = {“time”:[],”place1″:[],”place2″:[]} and save this data to a json file called temp…
  • program that asks the user to enter a number n, where -6 < n < 2
  • How many times will the body of the loop execute? my_list = [-6, 2, -8, 1, -12, 15, -7] val = Get the first my_list value While val is negative: ¬†¬†¬† put “Negative number!” to output ¬†¬†¬† val = Ge…
  • I am trying to write a program that prompts the user for an odd number from 1 to 99 until the number 57 is encountered. Not including the 57, calculate the maximum value. In case you know what this me…
  • A non-governmental organization needs a program to calculate the amount of financial assistance for needy families. The formula is as follows: – If the annual household income is between $30,000 and $…
  • Question: Can you help me fix my error in the function service_response? Additional information: We CANNOT use if statements or method calls. We can only use functions from here: https://ecpyfac.ecorn…
  • QUESTION 1 Version control does not allow programmers at remote locations to work on the same files at the same time.¬†(True/False) ¬†True False QUESTION 2 With version control,¬†if one programmer ove…
  • 1 Problem: Write a function, f(¬∑), to take the square root of the absolute value of a number. After writing this function, make data.frame that has one variable, x = {‚ąí10,‚ąí9, . . . ,‚ąí1, 0}. The…
  • Q: Python language – you wrote a script that separated a five-digit integer into its individual digits and displayed them, reimplement your script to use a loop that in each iteration ” picks off” one…
  • Programming Assign. Unit 7 Submission phase Submit your work Open for submissions from Thursday, 21 May 2020, 10:50 AM (3 days ago) Submissions deadline: Thursday, 28 May 2020, 10:40 AM (4 days left) …
  • Open the ‘test/test_inventory.py’ file using vim editor¬†vim test/test_inventory.py. Press¬† I ¬†to insert content in the file. Import¬† MobileInventory ¬†class and¬† InsufficientException ¬†from the?…
  • What will be the output of the code below? list = [‘n’ , ‘m’ , ‘o’ , ‘p’ , ‘q’¬†] print list[10:¬†]
  • (50 points) Write a python program with the following requirements: Create a class named Content that has instance variables title, performer, characters (list type), ratings, avg_rating. Implement…
  • 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…
  • Week 6 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 i…
  • I am trying to make a program to draw a quiz score histogram. the program should read data from a text file named “histogram.txt”, where each line of the file contains one number in the range 0 to 10….
  • Please help with the following python code API : “https://api.yelp.com/v3/businesses/search” ¬† # Q1: Using Yelp business search API to search for sandwich stores near your home and get the search res…
  • question in photo > Question 8 Suppose we have two stacks: the Ô¨Ārst stack has some values in it, while the second stack Suppose we run the following code: is empty. while not 51. is_empty(): 52.p…
  • Implement a python program for this case with a function(s,t): Given two strings, s and t, implement a function that operates per the following rules: 1.¬† Find whether string s is divisible by string…
  • Hi, I need help with my homework assignment. Thank you for you help. Your assignment is to create a Python program that simulations random coin flips. Your program should randomly determine whether ea…
  • Please provide solution for CSIS 354 F ILE M ANIPULATION WITH P YTHON Scenarios are quite common where an IT professional is tasked with modifying a file on many computer systems or many files on a si…
  • Assignment Exercise: Create a program that computes the average of values that are entered by the user.¬† The user can enter as many numbers as desired.¬† The user will end the program by entering the…
  • The following is the contents of the python file ” student.py “: ¬† # Name: [your name] # email: [your Seneca Email address] class Student: ¬† ¬† ¬†def __init__(self, name, number, program): ¬† ¬† ¬† …
  • Define the method Perceptron.score(self, X, Y) satisfying the following criteria: ‚ÄĘ Takes parameter X which is an iterable of input samples (each being a list or tuple) ‚ÄĘ Take parameter Y which is…
  • I need help with this project. I need to adjust the speed of the ball and also need to add sound effects. Whenever I try to adjust the speed of the ball in #Ball whenever I change ball.speed(0) to som…
  • All instructions are included in the above screenshots with examples!. totalimarks (marks, weight] : Determine and display the total of all the weighted marks in the Ô¨āoat list mar ks …
  • For the following program: ‚ÄĘ Create an algorithm. ‚ÄĘ Code the program as grades.py. ‚ÄĘ Upload your algorithm and your program (grades.py) to BCOnline. Grades a) Write a program that reads in the n…
  • Using python. This is a dictionary. X = {‘customer_1’: [‘apple’, ‘orange’, ‘peaches’], ‘customer_2’: [‘pasta’, ‘cheese’], ‘customer_3’: [‘cola’, ‘juice’, ‘water’], :customer_4′: [‘ pants’, ‘shirt’, ‘s…
  • Build a module book_functions to include create_ book_dictionary , find_book , change_price, delete_book. ¬† Function create_book_dictionary accepts a list of books and returns a dictionary of books w…
  • How do I create an average raster from 2 individual .nc files donwloaded from this link ? ftp://ftp.nodc.noaa.gov/pub/data.nodc/pathfinder/Version5.3/L3C/2005/data/
  • Page 1, 2, 3. Provide the codes to each part of question.
  • In Python, tcp and udp sockets can be constructed? Give a Python statement for each. Let the UDP server socket be udpSvr And the UDP server socket be tcpSvr. ¬† 12. Give a Python statement to get a TC…
  • . PDE HuttonDHW4Table.docx.pdf X PDE CITP1 10HW04.pdf X PDE CITP1 10HW05B.pdf X + X File | C:/Users/chami/Downloads/CITP1 10HW05B.pdf 1 of 2 Q + Q ED | A " | T | V V 5 2BIG A Outcomes: 1. Cr…
  • please help fast!thank you!. 8. / LAB 8C: Find largest number Write a program that repeatedly reads in integers until a negative integer is read. The program also keeps track of the largest integer th…
  • How do I run sub-functions for this assignment below? I have written the gray and color functions. Assignment: Files, Functions and Functionality: A mainFn() that takes one argument, either “gray” or …
  • Digital images are stored on disks in a variety of formats, including JPEG, PNG, and GIF. We have provided functions for reading these images into your computer’s main memory, so that you can view eac…
  • Read https://www.infoq.com/articles/apache-spark-introduction/ listed in the module resources. Under the section “Sample Spark Application” are instructions to install the JDK and SPARK. Under the “Wo…
  • . Question 4. Using both countries and recent_poverty_total, create a five-column table called poverty_map with one row for every country in recent_poverty_total. The four columns should have the…
  • A python program that asks the user for a part number Only accept part #’s that are on the following list: – 100 -200 – 300 – 400 – 500 Note: Continually prompt the user for a part # until they enter …
  • Please Answer all the questions with explanation: QUESTION 1 Version control does not allow programmers at remote locations to work on the same files at the same time.¬†(True/False) ¬†True False QUEST…
  • From the explanation given sight sone security threats
  • Using VSCode create a solution using a function. The specs are: The main() function should create the graphics window and call the LegoBrick function 6 times. There should be at least one function for…
    • I need to finish the functions below by replacing anywhere with the “<>” spots with my own code. I can edit the syntax of any function, so long as the result does not change. A function that …
  • Hello – I am having a really hard time debugging my code. I will attach pictures and the assignment instructions for better clarification. Assignment objective: (we can not use sort() by the way): …
  • The follow program lets the user enter numbers between 1 and 100, then count how many of them fall in the intervals of [1,10], [11,20], [21,30], … etc. If the user enter a number out of the range or…
  • Help creating a game with the direction provided. something simple. will need a flowchart/pseudocode showing how the player will move between rooms and get the item from each room. Input, output, and …
  • The link file(Facebook Data) is https://drive.google.com/file/d/14J5nGYFpvENDJJAaCSuvvJiHTe4V31JS/view?usp=sharing In this task, you can use R, Python or shell commands or any combination of Python, R…
  • . 4. [4 marks] In a file called q4.py, write a function called unique Words() that takes a body of text (String) and outputs (returns) a list that has all the unique words (ignoring case) in the tex…
  • Write a class in python that calculates pow (x, n) a. x = is the base b. n = is the exponent c. Input: pow (2, -3) d. Output: 0.125 e. Input: pow (3, 5) f. Output: 234 8. Write a class in python ca…
  • Do not copy from Chegg and course hero. I want python code for reliable data transfer 2.0 (rdt 2.0). Function for Checksum, sender and receiver and function to Check about IP address and port number
  • #¬†JumpinJava.py¬†–¬†This¬†program¬†looks¬†up¬†and¬†prints¬†the¬†names¬†and¬†prices¬†of¬†coffee¬†orders.¬†¬† #¬†Input:¬†¬†Interactive #¬†Output:¬†¬†Name¬†and¬†price¬†of¬†coffee¬†orders¬†or¬†error¬†mes…
  • Function 9: all_categories_for_book_title A book can be listed under different categories. Use the function design recipe to develop a function named a all_categories for book title. The function take…
  • TOPIC; OBJECT ORIENTED PROGRAMMING Until now, all of our programs have been structured around functions, which are blocks of statements that alter data. Procedure-oriented programming is a term for th…
  • TASK Reward 4 Shop (R4S) has employed you to develop an application to help them calculate the reward points and discounts for their customers. The rates are calculated as follows: ¬∑¬†¬†¬†¬†¬†¬†¬†¬†E…
  • In this setup, I have used the hypergraph function (hypernetx in Python) so that I can try to generate a set of centrality values for the s-values (edge components) of interest. How do I go through th…
  • Need help with python assignment. 1. Select an API of your choice, Make at least 10 requests to this API with different querying values. For example, you could look up the weather information for 10 d…
  • Question 3: Guided Unsupervised Exploration Question 3a Using SVD, decompose the standardized matrix X that contains the standardized current proportion of fully vaccinated and partially vaccinated, c…
  • The k-Means clustering algorithm randomly selects an original partition into clusters and deterministically rearranges clusters afterward. Design a randomized version of the k-Means algorithm that use…
  • based on the data below i want help with creating one new feature electrical vs neighborhood new column to show what electrical is given for what neighborhood In [12]: new_data = train [ [ ‘YearBuilt’…
  • The Machine that changes us video I was¬†surprised that there is no Gutenberg printing press that exists or even an illustration of the first printing press. The comparison of the printing press to th…
  • TASK 2 – Write Python code which displays the numbers 1 to 12 separated by tabular (tab) spaces using a loop. ¬† In your print statement make use of either sep= or end=. e.g. print(“hello”, end=’\t’) …
  • How do I print the result of a square root to 3 decimal points using chain_format? the number is 54321 the square root is _____? the result of a square root to 3 decimal points is _______? I am using …
  • Question- Solution required in Python ¬† The web analytics team of www.datadb.comis interested to understand the web activities of the site, which are the sources used to access the website. They have…
  • Desarrolle un programa de computaci√≥n en Python con interfaz gr√°fica que permita, a trav√©s de las medidas ingresadas de un tri√°ngulo, identificar su tipo. Muestre la salida por la misma interfaz
  • 8) Modify #5 so you can show average of positive numbers, or average negative numbers, based on user choice. They may choose one or the other. Ask them what numbers they wish to average (positive or n…
  • Please solve in python An invaded Ô¨Āle is a critical data structure for implementing a search engine or the index of a book. Given a document [text Ô¨Āle) D, which can be viewed as an unordered, numb…
  • a34gupta asked me for further details on this question flowchart for mentioned below two problems week4 P1: flowchart to solve a simple payroll calculation. the amount of pay,¬†given¬†hours worked, an…
  • event_id app_id user_fingerprint user_ipaddress etl_tstamp geo_country geo_region geo_city ¬† ¬† 3e604448-3e09-47bb-b2ae-a97e4393c061 astop 1402417284 72.219.210.x 2014-08-16 22:30:20 US VA Centrevill…
  • The Fibonacci sequence is a series of numbers that the next number is found by adding up the two numbers before it. The first two numbers are 0 and 1. For example, 0, 1, 1, 2, 3, 5, 8, 13, 21, 34. The…
  • 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…
  • (8 points) Problem 1 gives you practice creating and manipulating graphical objects. a. (5 points) Provide a program target1.py as described in Programming Exercise 2 on page 118 of the textbook. b. (…
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
  • Help with my Python Homework. 3.) Code a 3X2X5 array with random numbers in it 4.) Code a 4X2X3 array using np.arange (the elements are from 0 to 23, both included) 5.) Reshape the above array in ques…
  • Q 6. Write a program that counts the frequency (or number of the words) used in the string below and also counts how many times the word “know” occurs in the string. (5 pts) I know you know what …
  • Learning Journal Unit 5 1. 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 sc…
  • Given a partial main.py and PlaneQueue class in PlaneQueue.py, write the push() and pop() instance methods for PlaneQueue. Then complete main.py to read in whether flights are arriving or have landed …
  • Hi! I cannot figure out how to create a dictionary from a given file. My assignment is to sort a file into a certain format. The element in the file is always ‘number’ then ‘text’ in the next lie. It …
  • You should implement a deque data structure using a linked head-and-tail approach.¬† ¬† ¬† The file queue_skeleton.zip contains three files: A data class Deque.py containing the skeleton of a deque im…
  • 2 Guided Practice ¬† Guided Practice: Using Regular Expressions ¬† Outcome You will be introduced to a widely-used method found in most high-level languages. Once you learn the pattern-matching capa…
  • I am working with a Raspberry Pi and some GrovePi sensors to obtain the temperature and humidity of the room. This is my current code: It currently displays the following on the JSON file, however I n…
  • Here’s the problem, the skeleton code, and the required class/imported methods (in that order). Thanks! from a1_include import * def sa_sort (arr: StaticArray) -> None : “”” TODO: Write this implem…
  • Write a function remove_extras(lst) that takes in a list and returns a new list with all repeated occurrences of any element removed.
  • Please help me creating the code, I am stuck here.. Thank you so much. The txt file :¬† 2016-2017 1 1 1 4 1 2 2 1 0 1 1 3 1 5 0 3 2 4 4 2 4 2 0 1 0 4 3 2 2 3 4 4 1 2 0 2 67 2016-2017 D W D W W W W D D…
  • # Calculate the amount of time and fuel required for a 1980 Cessna 172N to fly a specific distance. # Program Name — Title def main(): print (“Aircraft Fuel Calculator\n”) print() choice = “y” while …
  • . Question 01 – Morse Code (36 points) Perhaps the most famous of all coding schemes is the Morse code, developed by Samuel Morse in 1832 for use with the telegraph system. The Morse code assigns a …
  • Any ideas how I can change the the type of item_num to integer and have this logic work with it. i tried to cast it but then it skips the for loop.¬† ¬† def ItemPage(): item_list= [] end = False while…
  • Write ¬†program whose inputs are three integers, and whose output is the smallest of the three values.¬† ¬† a.) Write out the steps of a computational thinking process¬† b.) Write out the Pseudocode¬†…
  • I need to desing a code that will read a CSV file and plot a chart for this data. The CSV can be accesed in the last picture. This is what I have done so far. Help please! FILE_LOCATION = ‘mycsvfile.c…
  • I wrote this string of code for a SARIMA model, is this correctly written? forecast_values = best_model.get_forecast(steps = 30) forecast_ci = forecast_values.conf_int() ax = df_Canada.plot(y=’numtoda…
  • In Coral Programing!! What will be the programming in coral? 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…
  • DATA Cropped images of 200 subjects, 3 images each, each image of size 24×21. The file data. mat has a variable face of size (24x21x600). The images correspond- ing to the person labeled n, n = 1, . ….
  • I need help ASAP For this assessment, you will continue to use the SQLite3 library to perform common database tasks using Python. You can use Python’s default editor IDLE (Integrated Development and L…
  • Write a program that extracts the last three items in the list sports and assigns it to the variable last. Make sure to write the code so that it works no matter how many items are in the list.
  • A spherical reactor of radius R composed of 50 w/o enriched uranium metal with density 18.6 g/cm3 is surrounded by a reflector material of thickness 20 cm composed of natural uranium metal having dens…
  • Hello, this is a 2 part task. Another tutor already helped me to get task 1 to work. Task 2 is supposed to be the same as task 1 but with some changes. However, i couldn’t figure out the necessary cha…
  • answer asap. Q. What are the differences between the String properties (upper, lower and title)? / Write a single Python program for solving following tasks: 1. Declare a variable called VARI and assi…
  • Part 1 Initial Screen 4. Go to the directory where you saved the code (File. pyw) and double-click the Python file. (it will open the Python GUI app without showing the terminal) SCREENSHOT 1 – Show t…
  • using Classes and Objects ¬† ¬†Create¬† two classes one as C ustome r class, second as Lottery class¬† 1) Customer : id, num1,num2,num3,num4,num5,num6 ( 1-9 numbers each number) 2) Lottery : has custo…
  • This answer code gives an error: Traceback (most recent call last): ¬†File “/Users/amberdavis/Desktop/code.py”, line 70, in <module> ¬†¬†lineRead = (infile.read()).split(“\n”) ¬†File “/Library/F…
  • Find the values of x1, x2 and x3 for the following linear systems. Write down each step (e.g. Row Operation/Back Substitution) you take to solve the problem. ON x 2 22 -2 5 1 2 16 0 -10 1 -5
  • Define a class SavingAccount (accNo, name, balance). The class should have withdraw(), deposit () and viewBalance() methods. The minimum balance for the account must be AED 500, your program should…
  • A: Day 1: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4) ? Enter the corresponding number: U:2 A: Day 2: were your meals very unhealthy (1), unhealthy (2), health…
  • The data file In this phase of the project, you no longer want to hard-code the room descriptions, as done in Part 1 of the project via the variables¬†room1, room2, room3, …, room7. Instead, the des…
  • 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…
  • # 1..Define a function¬†drawCircle. This function should expect a¬†Turtle¬†object, the coordinates of the circle’s center point, and the circle’s radius as arguments. The function should draw the spec…
  • # Program 8.12 Write program called LastName Bioinformatics. py, that will = open the file “genomic_dnatxt” = save the contents of the file in a variable called “genome” = identify a substring called …
  • I have no idea what this is asking. Right now I’m just rambling because the question has to be longer but al the info is there. Question 4 (12 points) The following program prints two lines, each prin…
  • . Problem 5 (40 points) For this problem, you will need to learn to use software libraries for at least two of the following non-linear classifier types: . Boosted Decision Trees (i.e., boosting wit…
  • . would be as follows: Alphabet in my_vocabl = [‘a’, ‘b’ ‘e’, ‘f’l Caesar cipher mapping: {‘a’: ‘d’, ‘b’: ‘e’, ‘c’: ‘f’, ‘d’ : ‘a’ "’e’: ‘b’ , ‘f’: ‘c’) Subtask 3: Encrypt Messages Finally, you…
  • For most of your life, you have used the base-10 numeral system. You count 0, 1, 2, 3, … , 9, 10, 11, 12 and so on. You may not have realized it, but 11 means one “10” and one “1”. However, we are n…
  • A Company is having its offices across all locations of India. These locations are categorized with respect to zones.¬† The company has decided to give medical expenditure benefits to their employees….
  • write a code fragment that moves a turtle, pat, to the south (down) until its y position is less than -200. You may use the methods xcor() and ycor() to find pat’s current position. Assume the turtle …
  • . Individual processes or tasks running in their own space Logical connection established between directory domains so that rights and privileges of users and devices in one domain are shared with t…
  • how to write a function in python for determining if a Temperature is Greater than OR Equal 75
  • Hello, I can’t figure out coding in python below: ¬† L2 Regularization def l2_regularizer(weight_decay, weights): “””Compute the L2 regularization term # Arguments weight_decay: float weights: list of…
  • [unique_list.py] A unique list has no repeated items. For example, the list [‘orange’, ‘juice’, ‘futures’] is unique because each item only appears one time. However, the list [‘sell’"mortimer…
  • A financial firm AlpaMoney has recently started their online payment gateway and claims that the level of customer satisfaction about the transactions is the same as that of their competitor firm …
  • Please use python to define the functions of this part.. Volume Order ImBalance First Build OI, = 6K3 ‚ÄĒ 6VÔ¨Ā’ where SKA is to the measure the power on the buying side and SKA is to measure the po…
  • With the below code it asks the user to enter whether or not they would like to do a calculation before given the calculated total of the first trip. How would I fix that? I have it the same way for m…
  • I need help writing a code in Python for that will graphs a Metropolis-Hastings sampler for normal and beta proposals Problem 2: Develop a Metropolis-Hastings sampler to generate random variable sampl…
  • Write an application using scikit-learn to train/test the real estate data. Use Linear Regression model. Use the dataset from UCI repository:¬†https://archive.ics.uci.edu/ml/datasets/Real+estate+valua…
  • How can I use python to transform the veh/5min to veh/hr and plot the flow (veh/hr) on the x-axis and speed on the y-axis. I am using Jupyter with pandas and matplotlib. Timestamp Total Flow(Veh/5-min…
  • Problem Description When a customer is ready to redeem a reward, the following happens: The customer will present their customer reward number, which is printed on their id card. The program will look…
  • I need help. thank you. It starts with: # Please replace “MatricNumber” with your actual matric number here and in the filename def A1_MatricNumber(X, y): ¬†¬†“”” ¬†¬†Input type ¬†¬†:X type: numpy.nda…
  • Create a Python function, called nonIntegers (characterList), which takes a list characterList as a parameter, and which returns a character string. The elements of the list listList are all of type s…
  • How do I get the highest and second highest mark of students in a tuple. For instance, names_marks = [(“Ian”, 78), (“Siggy”, 88), (“Andy”, 68), (“Irene”, 90), (“Gio”, 59)] output should be [88,90]
  • Will you please help me modify the following given python code or script (See Part 1 below) so that it performs in accordance with the following instructions (See Part 2 below)? I don’t need any advan…
  • Develop a python program to create clock-controlled latches. Your program should have the following sequence to test the circuit operation, as follows: ¬† Infinite Loop ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Assert t…
  • *CODE IN PYTHON* All of the information is below, I do not need an explanation I just need the answers to check if I’m right.
  • 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…
  • . Question: 3 Implement the design of the Student_Tutor class that Inherit from Student class so that the following code generates the output below; Hint: Each room has a capacity of 2 Student tutor…
  • Please help me, I have been trying to solve this question for few days but I still couldn’t solve it. Please write it in Python
    • – @ @ labs.vocareum.com/main/main.php?m=editor&asnid=623337&stepid=623338 vocareum – My Classes Help Abdullah Timer: 3h 57m 47s Submit Details – Grades End Exam Actions jupyter fx-fa21 (auto…
  • What is the computational complexity (using big-oh notation) of the function below? def relevant(products,preferences): ¬†¬†score_list=[] ¬†¬†for record in products: ¬†¬†¬†¬†score = 0 ¬†¬†¬†¬†for w in…
  • Please using the following psuedo code as starting points fro Exercises 7 and 8. Additionally, sample plots are shown below. #!/usr/bin/env python3 “””=================================================…
  • How can we code this using while loops, for loops, and lists? No dictionaries can be used. ¬† Kiki is making “Happy National Pizza Day” (February 9th) cards for all of her friends. She’s a bit disappo…
  • I have to add attributes to a existing class for my python homework. Is a attribute just a extension of a class?
  • Write a program that prompts the user to enter two numbers. The numbers will always be >= 0 and <= 999. You can assume that the user will always supply you with an integer within this range and …
  • The following multiplication example uses every digit from 0 to 9 once (not counting the intermediate steps). Write python programs to solve them and you must have the python codes to derive these ans…
  • I need help turning this Javascript code into pseudocode ¬†if(slides.length<2){ ¬†¬†¬†¬†var nextPrevBtns=document.querySelector(“.leftArrow,.rightArrow”); ¬†¬†¬†¬†nextPrevBtns.style.display=”none”;…
  • Sample output from the program is provided below. Ensure that your program matches this, including spaces, spelling, and the formatting of the place lists. Think of this as helpful guidance as well as…
  • Hello again. I am working on a problem where I want to raise a ValueError if the radius or diameter or a circle is less than zero. I have figured out how to do it with multiple raise ValueErrors (see …
  • Python program to calculate the parking charges of a vehicle. Enter the type of vehicle as a character (like c for car, b for bus, etc.) and read the hours and minutes when the vehicle enters the park…
  • ^Passwords utilized for the program First name used for program is Sonia. Hi! Please form a program in Python 3 that does everything as stated in the first picture! If you have any questions, don’t he…
  • 21¬†LAB: Leap year – functions A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every…
  • Not allowed to use append command.. 4. Write a function extract (pixels, rmin, rmax, cmin, cmax) that takes the 2-D list pixels containing pixels for an image, and that creates and returns a new 2-D l…
  • “””Passage encryptor – simple encryption using the caesar cipher. “”” import getpass import string ¬† def encrypt_word(word: str) -> str: ¬† ¬† “””Encrypts (scrambles) a single word (only letters) …
  • Hello, I need help solving this Lab simulation, It uses Contains the character 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 ver…
  • 0, 1, 10, 11, 100, 101, 110, 111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111, 10000, 10001 Their¬† decimal¬† counterparts would be 0 to 17. Write a function¬† decimal_to_binary , that takes a non-…
  • Game of 21 (Blackjack) We are going to develop several classes: Card (to simulate a playing card), CardGame (for a card game consisting of 52 cards), Main (the cards a player has during the game) and …
  • Python Image Processing Important notes ¬† Opencv and anaconda spyder is the requirement¬† Please check docx file questions, student id last digit is 8 Please create a script for every single question…
  • Could you help with this question. Make sure to separate the function and the main file (t07) and only use one return statement in the function and make sure that return statement is at the end (last …
  • def decrypt( ciphertext: list[int], sik: tuple[int, …], n: int = None, m: int = None, block_size: int = BLOCK_SIZE, ) -> str: ¬† – this is a knapsack problem, how do I decrypt this function?¬† -m…
  • der estimate_asteroid_locs (self ) : Should return an iterable (list or tuple for example) that contains data in the format (i, x,y), consisting of estimates for all in-bound asteroids. return
  • Please help me. Thanks Question 3 – area calculator (25 points) As you know from basic geometry. each shape has its own area formula. Let’s write a python function that will provide the area for the…
  • You are required to write a Python program that allows a player to play a game of Blackjack against the computer.¬† The program will allow a player to play as many games of Blackjack as they wish. ¬† …
  • 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…
  • Create Phyton program for Gauss Jordon Elimination Method on 3 variable system of question; x + 3y +4z = 3 2x+7y+3z=-7 2x+8y+6z=-4
  • Dahlby Outfitters wishes to introduce packaged trail mix as a new product. The ingredients for the train mix are seeds, raisins, flakes, and two kinds of nuts. Each ingredient contains certain amounts…
  • Write a python code to check if any King is¬†unsafe on the Chessboard or not. ( adversarial search)
  • Most Frequent Character Write a program that lets the user enter a string and displays the character that appears most frequently in the string. please provide comments in the code and an explanation.
  • 14¬†LAB: Count input length without spaces, periods, or commas Given a line of text as input, output the number of characters excluding spaces, periods, or commas. Ex: If the input is: Listen, Mr. J…
  • Can someone help with me with these Python problems? Google Drive Set-Up(Just part of problem, if file is needed here is the link: https://brucepucci.github.io/problem_sets/hw_7_files.zip) If you want…
  • I dont know what to do 2.17 LAB: Musical note frequencies On a piano, a key has a frequency, say f0. Each higher key (black or white) has a frequency of f0 * rn, where n is the distance (number of key…
  • I don’t understand how should I do the part where it is marked with aaaa. See my code below: Currently i only have 4 functions out of 5.¬† The first one it says i simply cannot return t*n, but i did t…
  • python program Write a program in a script file that calculates the cost of renting a car according to the following price schedule: Sedan SUV Duration of rent Daily Free Cost of Daily Free Cost of ra…
  • Given a line of text as input, output the number of characters excluding spaces, periods, exclamation points, or commas. Ex: If the input is: Listen, Mr. Jones, calm down. the output is: 21 Note: Acco…
  • The assignment require us to change this two file into generator type, (the requirement is in to image I unload) ¬†but I simply don’t understand the concept because there’s no example for me to look a…
  • Write a program that continues accepting user inputs as float numbers until the input is an empty string (i.e., a user press Enter without any typing as the input), and then the program will print the…
  • 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…
  • In a general sense, explain what EACH of the four modules above does; and give a brief description of why we typically need to import the above modules.
  • Can someone help me with this please, I have gotten 6 out 10 on it but I am very curious to know the correct answers and the right output ¬† 1.13 LAB: Introduction to Cyptography (classes/constructors…
  • Many times I see a question such as “In this challenge, you will be asked to find one string in the text of another string. Python provides a function to help with this called¬†find()¬†that can be cal…
  • Question 2 (Flowchart (with modules), Pseudocode (with modules), and Python (modules encouraged): Consider the equation Ax2 + B = 0. ‚ÄĘ If B/A <0, this equation has two solutions. The solutions ar…
    • Consider the code given below, write down the correct version by identifying and removing/correcting all the errors . (5 Marks) Code must print the birth of year of each person in the format as gi…
  • Update the program to improve the formatting of the numbers and the strings. ¬† Console ¬† ================================================================ ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Baseball…
  • A script is required to create two 3 x 3 matrices. From the filling of the matrices with the values ‚Äč‚Äčthat the user gives to the program, the user will be able to choose between the following opti…
  • Hi there, are you able to help with Python programming questions ?
  • Lab: Server Script The purpose of this assessment is to decompose a server application with threads to handle client requests efficiently. Create a day/time server script and a socket. Open the socket…
  • Hi, I have problem on this ECS 010 problem…. This project drive me crazy XD Here is the assignment and requirements. I need to use python 3 to one and please make it as simple as possible. Please do…
  • Create a module called "area.py" that will calculate the area of a square and a rectangle. In the "main.py" script, import the module that you created "area.py" and do…
  • I am enrolled in CSC 120 and CSC 121 at Wake Technical Community College and i am not familiar with the software we are using for the classes called Python and Pycharm Jetbrains, I need some help on a…
  • Write the function lex less eq(a, b) that implements the lexicographic order between sequences a and b, i.e., returning True if and only if a is lexicographically smaller than or equal to b. The funct…
  • I need help understanding the assignment Week 7 Assignment: ¬†Pseudocode and Flowchart Solution¬†¬† Instructions: Explain Provide a PowerPoint that contains a FLOWCHART and a PSEUDOCODE for each probl…
  • I am trying to code a python program that requests a temperature value and the temperature scale used by the user with the following Input: Use the def keyword to define a temperature conversion funct…
  • Need some help looking at this code.¬† Basically what is wrong with it as it won’t write to a file.¬† =========================================== ¬†mainfile ¬† from Mylib import add, sub, mult, div, s…
  • You can look at exercise 1 for example Exercise 2: Using the Table 2, will the flight SEA-ATL on Southwest with good weather be delayed? Use m-estimates for the conditional probabilities with m = 4. O…
  • I would like to know what are the answers # !/usx/bin/env python3 import time class ByTimer: def init_(self, minute, second) : try : self . minute = int (minute) self. second = int (second) except Typ…
  • I need help trying to figuring out this practice problem Write a program that will help you determine how many months it will take to pay off a credit card balance. It should show and should ask the u…
  • Hello All . Please Help me in solving this Question of Python . . Thanks
  • Make a map that colour-codes the locations based on minimal rainfall and uses marker sizes based on the maximum number of people in the location Column 1:¬†Point Location in WGS84 Column 2:¬†Temperatu…
  • Problem You are given a dataset of patients’ survival cases Y in response to the voluntary intake of a treatment X (i.e. placebo or medicine). Unfortunately, the success of the treatment depends also …
  • To be done using PySpark Dropbox Link for data: https://www.dropbox.com/s/qbfxpxog58xeqjj/yellow_tripdata_2019-01_short.csv?dl=0 ¬† You will be modifying the function passenger_count_for_most_tip . Fi…
  • A program is required to compare three numbers to see if any of them is equal to double the sum of the others. The program will take three integers, between 1 and 100 inclusive. The program should out…
  • The new def function should be ( def nearestneighbor(p, community, df) where p is your chosen coordinate, community is as in the case below is triangle, and df is the pre defined function that you wan…
  • https://docs.google.com/spreadsheets/d/1awWfbdUvpHYRjtxL-bL4bhmHaHtdu9mME7SMoBtjO0o/edit?usp=sharing ¬† Download Kentucky_Derby_Winners.csv which shows every Kentucky Derby winner ever. ¬† In Jupyter …
  • . RESULT: 1. 222222222 kilometers = 48118.987 inches Which direction would you like to convert: For English to Metric type: For Metric to English type: 2 To Quit type: 3 Input your answer ( 1, 2 or …
  • What is the output of the following python statememnt x=5 if x%2==1:print(x)else:print(x,x%2
  • A nutritionist who works for a fitness club helps members by evaluating their diets. As part of her evaluation, she asks members for the number of fat grams and carbohydrate grams that they consumed i…
  • can you pls provide python illustrations for my previous question? . describe how tuples can be useful with loops over lists and dictionaries and give python code examples iwas my questions and you pl…
  • I’m having trouble with this question: ¬† Define and test a function myRange. This function should behave like Python’s standard range function, with the required and optional arguments, but it should…
  • Below the attached image I added exceptions to the bolded areas. I am not able to get these exceptions to get out of the looping phase and fulfill the assignment criteria in the pic provided. cont = “…
  • Please help with PYTHON/Jupyter coding with the following: Problem 1 Code a function¬† load_employees¬† that loads the employees table from the path where the file¬†¬† Employees.xls ¬†is in your compu…
  • How are classes created in Python? Please provide an example. Please research and explain in a substantial manner.
  • Write function collatz() that takes a positive integer x as input and prints the¬† Collatz sequence starting at x. A Collatz sequence is obtained by repeatedly applying¬† this rule to the previous num…
  • Please show me the answer in R programming language with detailed comments! data download from: https://1drv.ms/u/s!AtkqHPhh-7_MhBHJYUK4dwqp256P Using the data describe the probability of CHRONILL as …
  • I am having trouble with my code. ¬†When I input it it shows only 50% passed. I have placed instructions, code, and error. I am trying to figure out where I am going wrong at in the code to finish the…
  • Question 6 ¬† The next two questions will be focused on creating a class to represent a school. For this question, provide the line that would serve as the function definition for the following class:…
  • i need python code for this question¬† i need code which i can copy paste in my ide .. …,,, /.,.. Example 3 Suppose that for every hso 4(h) is an approximation of the value of M and M = p(h) + Kjh +…
  • I need help with these two questions. Implement the binary tree ADT using a linked structure as we developed in class, add the following methods: – def Welf, num): function that takes in mum and count…
  • Using Python¬† You may choose to complet the all requirements or attempt to complete as much as possible. Credit will be awarded for requirements completed correctly and entirely with the portion o…
  • Revise your solution to Part I and submit it as hwa_part2 . py. The program should again ask the user for the grid number, but it should not print the grid. Next, it should find and output the locatio…
  • This is the Source Code of A* Search Algorithm in Artificial Intelligence ¬† Question: I have tried this Code from https://www.youtube.com/watch?v=rWNhLpnEsrU but i’m getting Error in this Code. May b…
  • Python Questions: Describe a Dictionary in Python and how it is different from a List. Describe the methods used for manipulating the items in a Dictionary Describe a View Object and the associated Di…
  • How to use python solving the problem.¬† ¬† Reference: Applied Computational Economics and Finance By Mario J. Miranda, Paul L. Fackler ¬†Page 55 ¬†. 3.1 Consider a simple endowment eoonomyr with thre…
  • MadLibs!¬† Remember them? Looking for 5 Functions:¬† one to capture user input for each word needed to complete the MadLib, see below for words needed, encourage the user to enter upper, lower and mix…
  • Using gamebox.py below, in a file named falldown.py, implement a simplified version of the arcade game falldown .¬† The game needs to fulfill the following requirements: ‚ÄĘ Character – o A character …
  • Looking for assistance on what I need to add/change so that a user can choose to add a new employee, view all employees, and see how many employees are in the database. Currently I have it set to allo…
  • Strings07: Manipulating Strings Complete the firstMiddleLast() function to return a new string with the first, middle, and last character from string. If string has an even number of characters, grab …
  • 07 – Alexa, how long is the first line? 10 coding python Given a fi lename, open the file and return the length of the first line in the file excluding the line terminator. def q1( filename ) : pass
  • key_words = [‘depress’, ‘sad’, ‘down’] def get_complaint_type(a_user_complaint): ¬†¬†for key in key_words: ¬†¬†¬†¬†if key in a_user_complaint.lower(): ¬†¬†¬†¬†¬†¬†return 1 ¬†¬†¬†¬†else: ¬†¬†¬†¬†¬†¬†re…
  • A fridge should keep food at a temperature between 0 and 5 degrees Celsius (inclusive). Assume you have a non-empty list of integer and/or floating-point numbers representing the hourly temperature re…
  • ly_dictionary = {} for adjective,adverb in [[ ‘aft’ , ‘aft’ ],[ ‘fast’ , ‘fast’ ],[ ‘far’ , ‘far’ ],\ [ ‘good’ , ‘well’ ],[ ‘sly’ , ‘slyly’ ],[ ‘swell’ , ‘swell’ ]]: ly_dictionary[adjective]=adverb de…
  • this is the ipynb file: hello, this is the ipynb file: http://localhost:8888/notebooks/Downloads/Counting%20for%20Probability.ipynb ¬† please complete the text that says ” # your code here” in artific…
  • Object Orientation in Python¬† Explain the meaning and the usage of Object Oriented Language. Provide at least one example.
  • As an avid card player, you decide to program suits.py that randomly picks a hand of cards of user-specified length, stores them by suit, and then prints information about them. You use the following …
  • 124afun@i..o@aol.com126bba_liza@g..3@GMAIL.COM128dddSDSAB.KAY@G..p@gmail.com I have exported the table to python and convert to DataFrame:df. How can I remove “_”,”+”,”-” , “.” characters from email f…
  • Please i need a flowchart please The BCC negotiates building projects/job contracts. For each contract, the company have to subcontract: ¬∑¬†¬†¬†¬†¬†¬†an electrician to do the electrical ¬∑¬†¬†¬†¬†¬†?…
  • Python allows us to both¬† assign¬† and ¬†return ¬†multiple values at once by separating them by commas. Demonstrate this by writing a Python script that uses a function to assign and return the sum a…
  • I need help with creating a code for the following instructions for my python programming class I need help with creating a code for the following instructions for my python programming class. I h…
  • As in the picture below, create the gui that will create the grid as the spaces in the settings change, using python tkinter.. Settings Number of Gridlines 4 :: 17 First Empty Grid Spacing x 10 4 : 0 …
  • Convert the following infix expression to postfix. Show the status of the stack after each step of the algorithm. 3 * (4 – (5 + 2)) / (2+ 3) Current Token Operator Stack Postfix Expression
  • Exercise #4:¬† Write a program that opens up a file named “testscores.txt”. This file contains the following information in the following format: student name score1 score2 score3 Read in the values a…
  • Python output is 14, but why? I don’t understand. 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 …
  • . zy Section 4.8 – IT 140: Introduction X *Given num_rows and num_cols, p X + V X C A learn.zybooks.com/zybook/SNHUIT140v3/chapter/4/section/8 it Apps ) mySNHU Login y! Yahoo @ Homepage – South… […
  • “”Prep 4 Synthesize === CSC148 Fall 2019 === Department of Computer Science, University of Toronto === Module Description === This module contains four functions for you to implement, where each opera…
  • Procedure: 1. Create a folder named LastName_FirstName in your local drive. (ex. Reyes_Mark) 2. Using NetBeans, create a Java project named StudentList. Set the project location to your own folder. 3….
  • Why this statement is not correct: When the target values are real numbers, noises are always following a Gaussian distribution.
  • . test i MCL M Sumi Linke Mixe Decis M Inbo RCNCT 10 1, A3 ture.com/courses/3449640/quizzes/8894503/take Question 1 1. Calculate the period and frequency of the following waves. (10 points) Amplitud…
  • not sure how to start this 1) The following boundary-value problem contains 3 parameters, a, a, b: d’ T dx2 aT+ a+bx=0, T(0)=1, dT dx =0. x=1 The energy generation is a linear function of position, s(…
  • Kindly create a flowchart for this, and discuss the functions and methods that was used . Link: https://colab.research.google.com/drive/1scpWpcgGdLt5NOjoZ6Q874PyHxqXKsRx?usp=sharing
  • The comments below in the code show how to finish constructing the code for the tic/tac/toe game. Construct a function where an AI competes against the user, the game must run properly. A prompt must …
  • Exercise Write a function simple_encode that takes in a string and return a string with : and / encoded as described above. [ ]: def simple_encode (string) : """Returns the string with …
  • Create the following SQL script (Save as w6_John.Doe sql) . Create a simple Database with the following 1) Create insert script (10 inserts) 2) Create update script (10 updates) 3) Create the followin…
  • Translate to a code in Python. int shortestpath (Maze & maze, Point pt) { if (maze.isOutside(pt)) return 0 ; if (maze.isMarked(pt) return -1 ; maze.markSquare(pt) ; int shortest = -1 ; for (Direct…
  • I need help with this format. 6.18 LAB: Word frequencies Write a program that reads a list of words. Then, the program outputs those words and their frequencies. Ex: If the input is: hey hi Mark hi ma…
  • This has two parts. One is a client, the other is the server. Server The server should “register” x procedures that the client will be able to call. It will then bind to the address “localhost” and po…
  • Based on the given outputs, please answer the following questions and explicitly show your steps of solutions and/or justify your answers. 1) Name the pandas.DataFrame in Figure 1 as df Let new_df= df…
  • Step by step guide to solving machine learning problem
  • Write a function¬†find_all_routes¬†to display all possible routes from senders location to receivers location given in the dictionary for each shipment.¬∂Graph data structure is used to represent netw…
  • In python make a program to get three inputs from the user, calculate the average of the first two and divide the result by the third number and show the answer of the division to the user. Make sure …
  • Complete the function module to implement all 4 encode/decode functions using files (using python 3.9.6) ¬† #ecrypt or decrypt splitstream or railfence transposition ciphers #algorithm from cryptoUtil…
  • 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, animals…
  • Fill in the blanks a Moving to another question will save this response. Question 1 Fill out the blank line with a list comprehension so that the list xyz will be [5,10,15,20,25) xyz = K’‚ÄĒ (75 Mov…
  • I have a programming question(python): three topics : lists, loops, strings
  • Python program Requirements: Tie it to a real-world topic: Should be linked to an article, podcast, video, etc. OR A personal idea for something that is useful/fun for you, your community, etc. Must u…
  • Exercise 1: Write a program to read through a file and print the contents of the file (line by line) all in upper case. Executing the program will look as follows: python shout . py Enter a file name:…
  • I need a code for this 5 h/w. (1)Store the value 15 in a variable named a_value. Store the result of (25 – 7) * 17 to a variable named a_result. Using the print() command, display the following: The v…
  • A car dealership has hired your software development firm to develop a new car inventory program. You first need to develop a class that represents the inventory of the dealership. What components and…
  • (You will use the dataset College.csv in this assignment and employ SVM from scikit learn for binary classification. Also, you will recognize the impact of preprocessing data and hyper paramter search…
  • Design, implement, debug, and test a Python script that converts an infix expression to an equivalent postfix expression. Here is the process for converting an infix expression to postfix: Initialize …
  • you will need the sale.csv data set posted below. your solution must take a single sales variable as the input and transform through a series of map(), filter(), sorted(), and/or reduce() transformati…
  • ## ‘data.frame’: 101766 obs. of 49 variables: ## $ patient_nbr : int 8222157 55629189 86047875 82442376 42519267 82637451 84259809 114882984 48330783 63555939 … ## $ race : Factor w/ 6 levels “?”,”A…
  • How does the use of standards such as variable naming, the use of class diagrams, and good programming practices contribute to rapid program development and increased ease of maintenance?
  • Example of UML Class Diagram Create python code based on the UML class diagram shown below. It does not involve many technicalities. Here, is an example: ¬† ATMs system is very simple as customers nee…
  • . < localhost + 88 Downloads/berkeley_climate/ x berkeley_climate – Jupyter Notebook " jupyter berkeley_climate Last Checkpoint: 10/14/2021 (unsaved changes) Logout File Edit View Insert Cel…
  • Q1) Writing a python program and upload the script file. Your python program should print a mailing label as follows.¬†¬†¬† To: Name: John Address: University of Ford 577 Parking Avenue Miami, Florida…
  • You are given an undirected graph consisting of N vertices, numbered from 1 to N, and M edges. The graph is described by two arrays, A and B, both of length M. A pair (A[K], B[K]), for K from 0 to M-1…
  • Problem 3: You’ve arrived at the Saturday morning Farmers’ Market looking to buy some produce. The problem: every stand sells many of the same things but with different quantities and discounts. After…
  • describe the pros and cons of saving data using flat text files.
  • GIVEN THIS CODE: ¬† x = int(input(“Please enter an odd number from 1 to 99: “)) print(x) y = input(“Please enter a flower: “) print(y) z = float(input(“Please enter a floating point number from 1 …
  • . Write functions: sphereVolume sphereSurface cylinderVolume cylinderSurface coneVolume coneSurface ¬† that compute the volume and surface area of a sphere with radius r, a cylinder with a circular ba…
  • Problem ONE: 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….
  • programming pycharm/python 16. [2 marks] Given the variable definition below, write code to produce the provided output. names = ["Jimmy", "Alison", "Katherina", "Bo…
  • would you please show me that codes how they ¬†work on JUPYTER notebook and runs on JUPYTER ? when you done please sent me a codes and screen short. all simple and instructions in below image you can …
  • Need help tracing through execution of given code! A = [1, 4, 9, 16, 25] temp = A[l] A[1] = A[3] A[3] = temp print(A) 0.20 Exercise: In your module pdf, trace through the execution above showing the v…
  • Businesses or companies can fall prey to default if they are not able to keep up their debt obligations. Defaults will lead to a lower credit rating for the company which in turn reduces its chances o…
  • Write the code for a Python function called averageDailyClose that accepts the name of the file to read, the year, and the month (defaults to -1). This function reads through the file and displays the…
  • please provide a code with comments and attach a secrenshot of the output as well PYTHON CODE please Write a code using python with a comment and explanation and show its output for the following prob…
  • Why is my index out of range?? I literally did n-1 for the purpose of the for loop, yet it didn’t matter.¬† ¬† Please enlighten me with why my code is bugging
  • Reverse of a digraph for the above input and output template, programming language: python. Digraph input format A sequence of one or more digraphs is taken from the keyboard (System.in). Each graph i…
  • A python program that uses string methods and functions. The program must prompt the user to enter a sentence. The program must display the input value, as well as the length, maximum, minimum, title …
  • Write a Python function named spaces which takes a string s and returns another string with spaces inserted between neighboring letters. Do not use print in the function The returned string should not…
  • *Please add precise and straight to the point comments because I will use it as a script for the video that I will make. *Please cr3ate the main program/code and also cr3ate a driver program so that I…
  • # 10 points def exercise06( ) : 1 1 1 Data set: Boston In the Boston dataset, the feature PTRATIO refers to pupil teacher ratio . Using a matplotlib scatter plot, plot MEDV median value of homes as y…
  • #Please help me do this in Python. ¬† The goal of this lab is to solidify the utility of stacks and the idea of function calls and recursion. ¬† Stacks are extremely useful in programming, one stack i…
  • Extend the program in Part 1 so that it continuously prints the the interest owed for the current month, the payment made for current month, and the balance going forward to the next month, until the …
  • Next Page Page 6 of 10 Question 6 (10 points) Any expression that breaks down to either true or false is a Conditional or Boolean expression True False Next Page Page 6 of 10 Submit Quiz 5 of 10 quest…
  • Task 1: Card class Create a Python file called pfoyingCords.py. Inside this Ô¨Āle, create and test a Card class according to the description below. Note that the following methods form the public int…
  • Please just provide me the correct code. < > learn.zybooks.com 8.6. Fast exponentiatron 8.9. LAB: Car value (classes) =zyBooks My library > IT 140: Introduction to Scripting v3 home > 8.9:…
  • 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…
  • Write a program to create a list of numbers:¬†78, 49, 115, 200, -2, 167, 77, 24, -145, 138. The program should traverse the list and add numbers between 0 and 100 in another list, valid_numbers. T…
  • end the while loop when user enters any non-digit(s) for guess, like "q". Print correct and wrong values within a message to the user. Close the pi file.
  • write a function in this file called nine_lines that uses the function three_lines(in attachment ) to print a total of nine lines. now add a function named clear_screen that uses a combination of the …
  • Could I get some help on this? ¬† csv: https://docs.google.com/spreadsheets/d/17UEOK8zmUAc_9c3eJ4dqwlKASS9mCxDs8tXm4las0Nw/edit?usp=sharing ¬† import numpy as np import pandas as pd import math ¬† # f…
  • . Problem 4: Building a line in 2D A line in 2D Euclidean space is given by y = max + b (‘m’ and ‘b’ are the slope and intercept respectively). Write a function f that takes two points po = (x0, yo)…
  • (In python). Write a function named area_codes that prints information about the most commonly occurring area code in a file of telephone numbers. Your function accepts a string parameter representing…
  • What is printed by the following statements? name = ‘Reginald Peoplesmythe’ print(name[5] + name[-3])
  • I need help creating a psuedo code for two questions, I got a 0 on my forum. I had to make psuedocode and a flowchart. I tried mirroring similar psuedocode from what I found online and flowcharts but …
  • # ***************************************************************************** # Assign2_04_C-F_Convert.py # ***************************************************************************** # GUI progra…
  • Bagging and Boosting In this question, you will need to implement the boosting algorithm AdaBoost as well as a Bagging, in both cases using decision trees as the base classifiers. You will then be ask…
  • Need to make a cookies recipe. For 48 cookies it is 1.5 cups ¬†sugar, 1.0 cups butter and 2.75 flour. But when user inputs different number of cookies the recipie needs to change accordingly. This is …
  • Could anyone show me the testfile code ¬† ¬† ¬† Introduction The goal for this lab is to write a program that will manage cards for a card game. All cards have a suit and a rank, which can be used to …
  • I need some help testing some functions written within a class. I’m pretty sure they all should work but I need to test them before moving on and could use help testing and editing the code. Here …
  • How do I code using method 2?. EnPy¬ßl View Edit History Print 20120815e Palindrome Write a function that decides about a string if it’s a palindrome. A string is said to be palindrome if it reads the…
  • storm information above Q. 1 – Flowcharts You are an examiner at Techno Intelligence Threat Systems and are entrusted with making processes for the accompanying occurrences that were gotten on the org…
  • (Coding) Implement the Perceptron algorithm and run it on the following synthetic data sets in R10: pick w ‚ąó = [1, 0, 0, . . . , 0]; generate 1000 points x by sampling uniformly at random over the u…
  • how to solve get_nearest_station without import anything ID = 0 NAME – 1 LATITUDE – 2 LONGITUDE = 3 CAPACITY – 4 BIKES_AVAILABLE – 5 DOCKS_AVAILABLE = 6 NO_KIOSK = "SMART" # For use in a hel…
  • You will have to write the outputs to another Ô¨Āle called clean AmazonCIeanRepor-Lm, listing the OrderID, UNSPSC Code and Purchase Price. Example: OrderID UNSPSC Code Purchase Price 1 12-524865…
  • def exercise03( ) : 1. Avocado toast is expensive but enormously yummy . What’s going on with avocado prices? Read about avocado prices (https://www. kaggle. com/neuromusic/avocado-prices/home) 2. Lo…
  • Design the pseudocode for this college financial office.¬†¬†To make this easier, there are set tuition amounts for different majors per semester.¬†¬†School of Professional Studies tuition is set at $1…
  • “Create a script that contains the array¬† [34, 9, 32, 91, 58, 13, 77, 21, 56] . The script will take a user input¬†count¬†that defines the number of elements to fetch from an array and then outputs t…
  • Complexity is an important concept in coding as we want our code to be as efficient as possible. This is especially important for games such as Dota 2, where players perform split-second inputs that m…
  • What will be the output of following script? list1 = [5, 3.4, “New Delhi”, “20C”, 45]¬† print(list1[1]) (1 Point) ¬† 3.4 “20C” 45 5
  • I am trying to use main function in this code but when i enter the inputs it is writing none i couldnt find the problem Problem 3. (Frequency Count) Compose a function called frequency () in frequency…
  • Write 6 different list slicing statements that result in no change in the list being sliced, no matter how many items the list has. Test it using the list x = [F’, T, o’,r’, i’,’d’,’a’] by checkin…
  • Implement the Minimum Edit Distance algorithm and verify if the following words ,create a confusion matrix in the code . ¬† English ¬† ¬† ¬† ¬† ¬†German one ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† eins two ¬† ¬† ?…
  • Coding in python. 1. Generate a random number between 1 – 3 to represent the number of topics I need to cover that day 2. Loop through each of these "subjects" 3. Print out the word Teaching…
  • Just this, thanks!. Say we have a dictionary stuDict that maps student IDs to a list of their name, birthdate, and GPA. Write code to find the average GPA of the students in the dictionary. Remember t…
  • Please answer this using Python !! The following algorithm yields the season (Spring, Summer, Fall, or Winter) for a given month and day.¬† If month is 1, 2, or 3, season = “Winter”¬† Else if month is…
  • Lab 6: Temperature Conversion (GUI & Functions) – Intro to Programming General Requirements 1. Analyse the problem. 2. Code a very well documented (comments) Python app following the PEPS Style Gu…
  • PYTHON PROGRAMMING ¬† Patient Management System ¬† Program specifications This project is to develop a program that manages patient information and the procedures a patient received in a hospital. The…
  • I dont know what to do 2.16 LAB: Using math functions 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 minu…
  • Inheritance is the ability of a class to inherit the attributes and methods of another, something that allows us to reuse code and make programming much more optimal. ¬† Discuss the following: Can we …
  • Need help with the below: 24. Country Define the Country class which will have a constructor that accepts parameters, whose values will be assigned to the follwing private attributes: name , capital ,…
  • 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
  • (3) Write the following to a script. Only use basic arithmetic including //, %. (a) Writing a function GCD(a,b) which takes as input 2 non-negative integers a, b and returns gcd(a, b). Your function s…
  • I am confused about the process in this question can u show the whole process to me thanks 1. (4 points) What is the output of the following code snippet? def mystery_method3(data) : data = data[4:0:-…
  • Can I get the True and False ASAP no explanation needed plz. Question You are working with a custom LinkedList implementation where each Node contains an item of Any type, a next link referencing the …
  • In this lab, you complete partially prewritten Python program that uses a list. The program prompts the user to interactively enter eight batting averages, which the program stores in an array. It sho…
  • I have a for loop here¬† ¬† for i in [float(j)/10 for j in range(10,1000,1)]: print(i) ¬† this will return the potential_rate from 1.0 to 99.0 in increment of 0.1.¬† ¬† I want to plug this ¬†potential…
  • please assist List the top 10 distribution centers that have highest number of delayed deliveries? Show the distribution center ID, the city, the center’s zip and the number of delayed deliveries. ( U…
  • Need help with this homework programming question 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 car…
  • Here is my question below I am trying to answer: We will pass in 2 values, X and Y. You should calculate X^y and output the final result” what you see below is what I was provided. I believe I am to u…
  • Make a flowchart and pseudocode representing the algorithm to determine how much a person will finally pay for an item x, considering that they have a 20% discount and must pay 15% of IV (must show th…
  • ICPA #5: The ATM Machine problem . Create software that will provide an ATM user with the proper change for any dollar amount up to $200. . Example: Run the code for $19, $55, and $200. 23 Image Cred…
  • I’m doing a study on the many different ways to code the same result. What is a different way to type the bellow code? Please provide your answer as a text file for me to view. Please don’t type it ou…
  • Rose Theater Company sells tickets to their productions. There are three seating options for purchase at Rose’s theater; Orchestra seats,¬† Center Stage seats, and Outer Stage seats. Orchestra seats c…
  • This program is part 2 of the Money program. You should be building on last week’s money.py Prompt the user for: Investment amount Annual interest rate Number of Years to invest To demonstrate how awe…
  • #RQ1 def has_prefix(s, prefix): “””Returns whether prefix appears at the beginning of linked list s. >>> x = link(3, link(4, link(6, link(6)))) >>> print_link(x) 3 4 6 6 >>>…
  • *PYTHON* all data members must be private. I need to write class called ShipGame that allows two people to play the game Battleship. An outline of what to or where to start would be really helpful. Ea…
  • . Provide the Algorithm, Pseudocode, Flowchart, and a Python program (In Python IDLE or PyCharm) that will ask the user to type the student’s name and his grades in five (5) subjects (English, Math,…
  • I have to complete this python function : def dot_product(vec1, vec2): ¬† ¬†“””Computes dot product of two vectors””” ¬† ¬†total = 0 ¬† ¬†for x, y in zip(vec1, vec2): ¬† ¬† ¬† ¬†total += x * y ¬† ¬†re…
  • Write the code that will produce the outcome above.. List List 1: BB218 Internet in Practice List 2: 1. BB218 2. Jan-April
  • Q9 –¬†Kingdom()¬†(2.5 points) For this question (and the next one), imagine you want to make a video game with a handful of characters. You want this game to have a royal kingdom theme. Here, define a…
  • Currency Converter Revisited Combine your feedback from the Currency Converter program and the Input & Error Handling programs to rewrite the Currency Converter with error handling. Users MUST inp…
  • Main Idea: A simple complex number calculator is required to perform basic operation functions with real and imaginary numbers. Further instructions are provided below. Definition: A complex number is…
  • How do I write program that prints a staircase of size n? Constraints : 0 < n <= 20¬† Examples Input Output 2 # ##
  • def listsum(numList): ”’ numList contains n integers ”’ if len(numList) == 1: return numList[0] else: return numList[0] + listsum(numList[1:] How can I calculate the Big-O running time for this algo…
  • programming¬† 1. Given a dictionary that maps the arabic numbers into the corresponding english words, such as num2word={0:”zero”, 1:”one”, 2:”two”,……}. Please define a function that uses the num2…
  • A schematic for converting phone letters to digits mapping is shown in the image below. Write a Python program that prompts the user to enter a 10-character phone number in this format XXX-XXXXXXX. Yo…
  • I need someone to do an online Python exam for me this Thursday at 2:30pm. Exam must be completed at 3:45pm. Exam consists of 26 questions, mostly short answers. This test is an introduction to Python…
  • Need help coding¬†. Problem 2: Run of 1s In this problem, you’ll take a list of Os and is as an input. Your program will output the longest sequential run of 1s (no 0s encountered). Output function…
  • Develop a function findInteger(num, array) that takes an integer and an array as arguments. The function returns the three elements of the array whose sum squared is equal to this number
  • Hello, I need help solving this Lab simulation, It uses For loop: Printing a dictionary for loops statements and I am very new at python on so I need help solving it. It is very difficult. It is very …
  • in python, please do not use any advanced inbuilt function like “import lu, inv” “np.zeros” “from scipy/sympy import” “.shape[]”, and so on… you can use “import numpy as np” Please follow and show t…
  • Write an if-else statement that determines whether the variable points is outside the range of 9 to 51. ¬† If ¬†points is outside the range, “Invalid Points”¬†should be displayed. ¬†Otherwise, “Valid …
  • Print the two-dimensional list mult_table by row and column. Hint: Use nested loops. Sample output with input: ‘1 2 3,2 4 6,3 6 9’:1 | 2 | 3 2 | 4 | 6 3 | 6 | 9 user_input= input() lines = user_input….
  • 17 LAB: Seasons ¬† Write a program that takes a date as input and outputs the date’s season in the northern hemisphere. The input is a string to represent the month and an int to represent the day. …
  • use below link for data set for this code given at the end http://data-lakecountyil.opendata.arcgis.com/datasets/cd63911cc52841f38b289aeeeff0f300_1.csv 1) Explain given data set in detail what is it a…
  • Write a program that does the following: . Displays a header message: "Average Celsius Calculator for "Introduction to Computer Programming":" (INCLUDE THE QUOTES). Ask the use…
  • Describe a nonrecursive algorithm for enumerating all¬†combinations of¬† the numbers {1, 2, … , n} using¬†an explicit stack. Each combination¬†should appear only once.¬†(100 points). Here is an exam…
  • Task#1:¬† ¬∑¬†¬†¬†¬†¬†¬†¬†Write a Python program that keeps asking user for the calories burnt on a given day. At the end, the program should print the total calories burnt, along with the average cal…
  • I need help with some python concepts. I need help regarding different topics in python
  • Write an expression that whose value is the fifth character of the String¬†name.
  • Optional 2 Modify the Payroll and/or the MPG program to store the results in a list/dictionary. Print the list/dictionary when no more calculation is selected. mployee_name=’John Doe’ Hours_worked = 4…
  • A company wants to know more about their employees. This company has gotten a data set from their sister company about elements about people staying/leaving. Now that they’ve hired a data analyst, the…
  • Hi, need help in identifying the loop invariant, loop exit condition and the loop post condition, thanks! For the following function, identify the loop invariant, the loop exit condition, and the loop…
  • https://www.coursehero.com/file/26299765/ACH5docx/?justUnlocked=1#/doc/qa I ned to know how to write the code to answer this problem in python
  • The first picture is the question, the second picture is the file containing the data. Answer this question with respect to the Naive Bayes Excel 1′:er You have an table below indicating a] whether …
  • When must we use a requests.session object while web scraping? a. When we want to use cookies while accessing multiple pages on the same server b. When the page is too big to be loaded in BeautifulSou…
  • 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 anything …
  • Programming 2. Newey-West estimator: Extend the linear model code we wrote in class to implement a Newey-West corrected OLS estimator with autocovariance term. The robust variance covariance matrix fo…
  • In python Programming print below structure to the screen
  • K-Means Clustering Given¬† K, K-Means algorithm works as follows,Randomly initialize¬† Kcenters¬† őľ 1 ,őľ 2 ,‚čĮ,őľk Iteratively assign each¬† xi to its nearest center¬† őľk, and then reestimate¬† őľ…
  • Checkpoint 3 Before getting started, copy check2 . py to check3 . py and continue your work in check3. py. In this part we will add a final flair to your program from part 2 using the module webbrowse…
  • HELP PLEASEEE. digit percent 30% 2 17% 3 12% 4 9% 5 7% 6 6% 7 5% 8 5% 9 4% If every digit follows, then print out Follows Benford’s Law. Otherwise, print out Does not follow Benford’s Law. Examples Po…
  • 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 fill in the blanks Code 1 import pygame 2 ? 3 # User- defined functions 5 def main () : pygame . init () pygame . display . set_mode ( (500, 400)) 9 pygame . display . set_caption ( ‘ Dodge The…
  • Given the following dictionary; temps = {‘Mon’: [68, 89], ‘Tue’: [71, 93], ‘Wed’: [66, 82], ‘Thu’: [75, 97], ‘Fri’: [62, 79]}¬† perform the following tasks:¬† Convert the dictionary into the DataFrame…
  • A client has asked you to build a proof of concept “Web” application to demonstrate your abilities as a team/company. They are prepared to contract your team for several years however, they have many …
  • . 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…
  • Instructors in a community college are paid on a schedule that provides a salary based on their number of years of teaching experience. For each year of experience after the first year, up to 10 years…
  • The following database project will create educational attainment “demand” forecast for the state of California for years greater than 2010. The demand forecast is the expected number of population wh…
  • Python program to determine the body-mass index of a collection of six individuals. Your program should include a list of six names. Using a for loop, it should successively prompt the user for the he…
  • thank you so much In this project, please feel free to call the functions in sklean. Basic Requirements: 1. load the hand-written digit data. and split train and test datasets (follow the last project…
  • Use python snippet code only using numpy for the following: To find how many rows are the in array. To find how many columns are there in the array. Code that shows what is the data type of array. Out…
  • build a recommender system that uses the KNN algorithm.The dataset to be used is Movielens dataset. 1)What is the approach to KNN 2)¬†Apply matrix factorization to the dataset 3)What is the maximum da…
  • Is it easy to make comment block in python? How can someone make comment block with the following fields for example: School Name : XYZ High School Instructor: Prof. John Doe Semester: Spring Date: Ap…
  • 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 ¬†¬†¬†…
  • Looping Variations (20 pts) 1. PSEUDOCODE: Need a program that: ¬†a. Creates a variable x that is set to 10 ¬†b. Uses a while loop that will display x and then add 10 to x ¬†c. The while loop should r…
  • Hi there experts, I have a dataset called ‘spreads’ which Is what I will be using, this has all of the columns and rows that question 2 requires me to use, all of the data will come out of there. ¬†I …
  • Implement a class Student .¬†For the purpose of this exercise, a student has a name and a total quiz score.¬†Supply an appropriate constructor and methods getName(), addQuiz(score), getTot…
  • CODE Below: import math def mean(xs): ¬†¬†”’Returns the mean of the list of numbers xs.”’ ¬†¬†return sum(xs)/len(xs) def sd(xs): ¬†¬†”’Returns the sample standard deviation of the numbers xs.”’ ¬†…
  • Hello , i am using pytest and i am giving an agrument from command line. How can i store this argument into a variable ?
  • 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).
  • A program that takes height, and weight as input from the keyboard, and calculates a person’s BMI (Body Mass Index). The steps are: 1. Input a comment at the beginning of your program indicating what …
  • Find and report all counties that are similar. Two counties are similar if all the information on them are within 2% of each other. So find all counties, whose properties (except county name and state…
  • Chapter 8 Exercise 5.8.4: ¬†¬†Writ e a python program that does the following: Prompt for a file name of text words. Words can be on many lines with multiple words per line. Read the file and convert …
  • Make a simple Python program. Using draw.io, Make a flowchart for your program and write pseudo-code to this. This program should accept an input, perform a mathematical manipulation to it with a defi…
  • Python language ¬† Create a program that asks the user for the name of a FASTA file (use ‘dna.fasta’ included in this lab’). For each sequence in the file, the program should print out the following i…
  • 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…
  • . Notes: Today, we are going to write some queries in order to create and manipulate tables. Info about sqlite python module: https://docs.python.org/3/library/sqlite3.html For executing queries, th…
  • What dictionary method can be utilized to access the entries in a dictionary variable with a name of parts? ¬† a. parts.list() ¬† ¬† b. parts.show() ¬† ¬† c. parts.items() ¬† ¬† d. parts.print()
  • Please assist with writing a Python 2 program Programming Project #5 Introduction to Computing Concordance Program – Project 8 on page 199 “A Ô¨Āle concordance tracks the unique words in a Ô¨Āle and…
  • Serie de Taylor Resolver en R : f(x) = x^4-3x^2 1 alrededor x0 = 1
  • Need help writing this python code out as PSEUDOCODE¬† ¬† ¬† ¬† ¬† class Patient: ¬† ¬† def __init__(self,fname,mname,lanme,zipcode,phone,addess,city,state): ¬† ¬† ¬† ¬† self.firstName = fname ¬† ¬† ?…
  • Using while loop, write a program which reads one natural number and executes the steps as long as C0 remains different from 1. Borrowing Collatz’s idea
  • the above question is just undertsanding purpose, no need to anything.But please solve below problem using python.play game one or two time to complete level1.
  • Write a program in¬† Python that asks the user for a series of numbers until they either want to output the average or quit the program.¬† When they choose to output the average, the program will also…
  • ) What sources of conventional earth time might be used by computer systems? How would you estimate bounds on the accuracy of time received from such a source? [4 marks] (c) What constraint does distr…
  • Review and reflectwith two examples each the differences between generative and discriminative models. [6 marks] Quote twoapplications that could use Support Vector Machine (SVM) as a Machin…
  • The steelwork.py program, given below, creates three types of steel objects. Carbon steel (Steel) is made of carbon and iron, alloy steel (AlloySteel) contains chromium in addition to carbon and iron….
  • Answer question below. 5. If two choices along the route have the exact same cost, you will choose the direction that comes first clockwise. For example, you will choose to move horizontally right bef…
  • I want research paper on the following topic and with references ( the references should be in link format please, if possible) ¬†and it should be ¬†6 pages.. (I don’t have specific word count and for…
  • this is a two part question. Question 1 (8 points): Purpose: To practice using loops Degree of Difficulty: Moderate When someone on Sesame Street has a birthday, many posters need to be produced so…
  • How can i build this program Pandas and SciPy (a) Download and read the US civilian unemployment rate provided by the FRED: url = ‘http://research.stlouisfed.org/fred2/series/UNRATE/downloaddata/UNRAT…
  • Suppose I have a variable that refers to an integer value, i. i is also positive (greater than zero). Which of the following if statements will determine if i has a 1 in bit #23 (the 2 23 s place)? Se…
  • Create calculatr(import math) S – sine C – cosine T – tangent INPUTS: THE USER INPUT : T 45 (you want the tangent of 45.¬† Just as¬† S 45¬† LIKE WISE C45 indicates that you want the sine of 45. I NEED…
  • Describe the difference between a chained conditional and a nested conditional . Give your own example of each. Deeply nested conditionals can become difficult to read. Describe a strategy for avoidin…
  • I suppose to debug a code: common(lst1, lst2) that takes in two lists of strings and returns a list of common strings in the two lists. Paste the code to IDLE and test against the given test cases. ¬†…
  • (See below for further details) ¬† Respond to the following: For Pseudocode 1, did you use a while or a for loop? Explain how you determined which to use. For Pseudocode 2, what condition did you use …
  • Pseudocode for one player dice game. At the start ofgame the player will have score 0. They will tell you how many sides(faces) are on the die that they are using atleast 2 and atmost 20. They will al…
  • Robot Control Programming The program listed below is based around the Grey_bands background. The program is intended to make the simulated robot drive forward over each grey band. When it drives into…
  • I need help with this, help me in correcting my code.. Safari File Edit View History Bookmarks Window Help M M O B O 2 Q 2 Thu Oct 7 10:15 PM < colab.research.google.com + a E M B G CO Co Untitl…
  • Create a python program to accomplish the following: Get three numbers from the user as input to the program Check if the user has entered duplicate numbers If the user has entered duplicates, alert t…
  • Radioactive decay of radioactive materials can be modeled by the equation ūĚźī = ūĚźī0ūĚĎí ‚ąíūĚĎ°(ln 2‚ĀĄ‚Ąé), where¬† A is the amount of the material at time t, A0 is the amount at time 0, and h is …
  • Kate is considering meeting either Tom or Jerry for a date. From the friends who are setting her up with both men, she knows ONLY the following attributes of Tom and Jerry. – Tom is witty, rich and ta…
  • Why does this happen? When I use input that is number_of_work_hours < number_of_paid_hours it will always work, but will not work when I use ¬†number_of_work_hours > number_of_paid_hours. 1 numb…
  • Tests if the ABFile class can correctly handle writes past the EOF
  • “Write a Python function called¬†process( lst )¬†that takes a list, lst, and returns the elements of that list at the top-level eliminating all sublists in the same order the elements occur from left …
  • prefixes = ‘JKLMNOPQ’ suffix = ‘ack’ for letter in prefixes: ¬†¬†¬†print(letter + suffix) Put this code into a Python script and run it. Notice that it prints the names “Oack” and “Qack”. Modify the p…
  • Python Class Problem (OOP) I am not familiar with Python Class. So I would like to ask that how to combine these two functions into a class The first function would be called by the second one. def to…
  • Critical Review ¬† Arrays in Raptor are defined as follows: ¬† arrayName[SIZE] ¬† Size can either be a variable that is declared, or a specific number such as 10. ¬† Array indices in Raptor start at 1…
    • write a Python program that uses a while loop to ask the user to input 5 numbers. The program should then enter each of these numbers into a list. For example: Enter a Number: 1 Enter a Number: 9…
  • Creating a student database program.¬† This program will allow the following: Add a new student to the database 3pts Remove a student from the database 5pts Display details about a student 3pts Dis…
  • What happened with my code? Why it goes wrong? Random sampling can be negative numbers?
  • Write a program that generates the first 100 numbers that are prime numbers whose reverse is also a prime number. Example, 13, 761, and 941
  • Please make the algorithm for the details below in Python and make sure it uses the Divide and Conquer method, you can find this method of solving online. Please make sure the solution is an original …
  • For 1 build 3: writing your code. What is the answer is?
  • I have these code blocks that needs to be filled. I need help please these comments are to assist me filling the code.(in red) import socket import random import base64 def main( ) : clientSocket( ) d…
  • This exercise will involve a game that simulates a landing craft descending to the surface of the moon.¬†You may have played this game before, we’ll implement a simple version of it.¬†In our version, …
  • The outcome is to have a better understanding of operating systems and the existing vulnerabilities and what must be done to secure our environment Use this website https://www.cvedetails.com/top-50-v…
  • Please help with the following python questions ūüôā ¬† For question 19, the screenshot shows the multiple choice options, which are the same for all 3 parts of the question. Thank you! ¬†. Question 20 …
  • Hi, I’m stuck on the following question below is my table for Quick Sort Algorithms And below that is the question I’m stuck on. Can anybody help If you have a list of¬† n ¬†numbers, where¬† n ¬†is od…
  • Select all students that has the subject “cpprog2” and display their last name, course and section from stud_info table together with its subject code, time in and time out from sub_schedule table?…
  • Need help with the following Lisp code: ¬† (defun shortest-path (start end net) ¬† ¬† ¬† ¬† ¬† ¬† ¬† (bfs end (list (list start)) net)) ¬† ¬†(defun bfs (end queue net) ¬† ¬† ¬† ¬† ¬† ¬† ¬† (if (null q…
  • Invent a currency convertor GUI application using¬†Tkinter with python
  • Coding question: Import a module named mymodule with alias X . Use the alias to call a function within the module. Use the “increase indent” button for indentation or ten whitespaces.
  • I have a doubt in assignment questions About the dataset (Types of Flower Data) The dataset contains the information of the three different species of the iris flower. The dataset contains values of f…
  • Solve using python>>> ¬† ¬† ¬† Assignment Guidelines:¬† ‚ÄĘ Assignments must be completed using the course material. Do not use advanced material we have not covered in the course, even if yo…
  • Please finish this assignment in Python Write an program that first reads in the name of an input file and then reads the input file using the file.readlines() method. The input file contains an unsor…
  • Download¬†the Letter Recognition Data Set¬†from the UCI Machine Learning Repository. This dataset contains 20,000 examples. Divide the set so that¬† the first 15,000 examples ¬†are for training and¬† …
  • what is the output? def function1(var1,*var2): return sum(var2)/var1 var2 = (1,2,3) function1(10,*var2)
  • this is about python programming exercise, using simple form can solve it I’Mlike Your an “I’m In this problem in the" mahjong. py lile!" The Japanese Version of Mahjong is " four – pl…
  • In this assignment you will create a pet inventory application by fulfilling the requirements given below. You must first create the classes described below. Then write a driver program that will use…
  • Make a copy of your solution from #4 and instead write a function called fasta_sequenc which does this functionality. It should accept a file name as an argument and return the number of ace_count…
  • 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…
  • music_data is a CSV-formatted string. Write code that parses music_data to create a dictionary named genre_groups whose keys are genres (the third column) and whose values are lists of song names …
  • For this interactive assignment, you will apply all the concepts you learned in previous weeks and apply the use of sequential input and output operations to add two new functionalities to your Employ…
  • Record articulations for the most pessimistic scenario mistakes |őīxy| and |őĶxy| in figuring xy. Express your responses as far as őīx and őīy. Consequently track down articulations for |őĶxy+z| and |…
  • Can you please help with this program? ¬† ¬† ¬† rooms = { ¬† ¬†¬† ‘Entrance’ : { ‘East’ : ‘Main Corridor’ }, ¬† ¬†¬† ‘Main Corridor’ : { ‘North’ : ‘North Wing’ , ‘South’ : ‘South Wing’ , ‘East’ : ‘Eas…
  • Here is the problem: Given two numbers¬† startNum ¬†and¬† endNum , add up all of the¬†numbers between¬†and including¬† startNum ¬†and¬† endNum .¬† If this sum is even, your function should return True…
  • How to write a Python program that asks the user for an integer representing a year. Only a year on or after 1582 must be allowed – this is the year that the Gregorian calendar was adopted. Any year l…
  • This assignment¬†is supposed¬†to test you on your understanding of reading and writing to a text file and working with JSON objects.¬† Hint:¬† Work on the methods in the order they are found in the do…
  • The .com boom In principle, domain names are allowed to include any alphanumeric Unicode characters, as well as dashes. In practice, only Latin characters, numbers, and dashes are allowed. Write a fun…
  • I have no idea hot to do these problems. Could someone solve it our for me? Thank you.
  • Exercise 5 (20 marks) Write a group of required functions for text processing in the script p5 . py. . The input test_string should be a single string. Implement the count_alphabet (test_string) funct…
  • In this project you must design and implement two programs, one for Dijkstra’s algorithm and one Floyd’s algorithm, to compute all-pair shortest paths in any given graph. Each program must be implemen…
  • Python Programming Should be solved using functional programming No conditional stat…
  • Write a turtle graphics function that uses nested loops to draw 100 squares, to create the design shown below. Also, write the code that will demonstrate your function. Be sure to pay attention to p…
  • Question 2: Description: This question requires the creation of an object-oriented Python project to manage the devices at a University. The project manages information for devices, departments and st…
  • Using this contact information, ASAP 107^Luke^Skywalker^(709) 2..r@starwars.com 108^Obiwan^Kenobi^(499) 3..n@alecguinness.com 109^Jaba^TheHut^(181) 5..t@jaba.com 110^Lando^Calrissian^(123) 9..e@willia…
  • It says my line 9 is wrong, but I thought I wrote that correctly? They’re asking if EITHER car is traveling at more than 70mph to output fast cars and I thought that is what I wrote…but it keeps tel…
  • USE PYTHON TO SOLVE THE QUESTION. Setup for multi-variable linear regression For i = 1, 2, … . m, we have an input x e R" and an output y) e R. Given elements 00, 01, … .0, E R, we get a corr…
  • Suppose a list may contain different data types such as lst=[[1,2,3],(4,5,6),2,”2″]. Please calculate the sum of all values in the list objects.¬† Hint: to check if an object is a list, use type(x)==l…
  • # Permission rwx Binary 7 read, write and execute rwx 111 6 read and write rw- 110 5 read and execute r-x 101 4 read only r– 100 3 write and execute -WX 011 2 write only -W- 010 1 execute only –X 00…
  • On lines representing a reconciliation request, return the number of trades belonging to the given SOURCE that aren’t matched by the given COUNTERPARTY. Example 1 Input: AKUNA , A, 10, 12 : 01:00 AKUN…
  • There may be some bugs or errors in this code that prevent it from working properly. For each line, indicate: *OK* if the line is correct *REMOVE* if the line has to be removed. *CHANGE* if the line h…
  • Can you please help me solve these questions. Thank you! ¬† 1. Which of the following statement is NOT true about K-fold cross-validation and Bagging? a. is an ensemble modeling technique whereas K-fo…
  • . and click on the script name. Find the button labeled "History" (Ctrl+f or Command+f can help you with this) and press it. Scroll so the entire history fits on your screen, then take a s…
  • Write a program which randomly selects a number between 1 and 20. The user is then given 5 chances to guess the number correctly to win. (30) 2. Make the following changes to the above program. (20…
  • In Python, why use a dictionary data structure instead of a list data structure to build an address book application. Both data structures will work for application, but what benefits does dictionary …
  • make 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 to …
  • Load the wine dataset from sklearn package. Perform exploratory data analysis and set up a KNN classifier. Propose an appropriate value for K. Show the relevant performance metrics. Assess whether sca…
  • Write class called Doctor that inherits from Person, add new attributes/methods you want. ¬† ¬† REFRENCE: Name: Dr. Rico Suave Age: 20 Email: x..x@nonexistent.xxx phone: (602)-489-6022 ¬† Make sure (P…
  • HI Please Can anyone explain to me about this paper, or simplifies the idea for me so that I can understand it because i don’t really understand and i have tomorrow presentation about it Paper Title: …
  • subject is compiler construction Consider the following operator relation table of a grammar. [5-) E+E | E-E | E’E I [if]! [ E”E |-E | id + – * 1 " id [ } 5 + > > < < c: c: < &…
  • I have a problem figure out the right code for this problem. And I need help plz. Part 2 Compute the value of the integral: xe x dx using the substituton method. (You might be able to find a package t…
  • Could you help me? I got stuck in this intro to python programming assignment. Here is what i got: the counting does not work correctly fname = input(‘File Name?’) try: fhand = open(fname) except: pri…
  • Could you please help me with this problem: https://www.coursehero.com/tutors-problems/C++-Programming/21157822-Hi-Im-looking-for-help-with-this-example-problem-in-C-Ive-attach/ But I’m using P…
  • Implement a program in Python that does the following: Reads in investment amount, annual interest rate, and number of years, as inputs from the user, Calculates the future investment value using the …
  • Question Problem: Constructing a programming language named Adder. The Adder language only has a few simple statements: quit Exit the REPL or terminate a program. input var Prompt for and allow the us…
  • investigate the movement of disks on a linear grid. The starting configuration of this puzzle is a row of ‚Ąď cells, with disks located on cells 0 through n‚ąí1. The goal is to move the disks to the e…
  • Language: PYTHON. a two-character string in the game file. "Wild" and "Wild Draw Four" cards are represented as "WI" and "W*", respectively. Every other card is…
  • The Patient class (patient.py) will have an additional attribute, procedure_list. This list will contain all the procedures performed on the patient. In addition, Patient will have a calculate_charges…
  • program to get the maximum and minimum value in a dictionary python ((WITHOUT INBUILT FUNCTION))
  • How would someone go about creating a for loop for rows for example a spreadsheet of numbers with tuples?
  • STEP 1: Creating class: —> account.py 1. Create a class Account with the attributes a. ACCNO b. NAME c. MOBILE d. EMAIL e. ADDRESS f. CITY g. COUNTRY h. BALANCE 2. Have getters and setters ini…
  • 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…
  • The volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi”. Without import math, make a function called print_volume (r) that takes an argument for the radius of the sphere, and prints the vo…
  • Construct a smart computer that tries to win against the user in the tic/tac/toe code below. Do not change any other code that is written, it must correspond with what has already been written. An exa…
  • In this Python exercise, we will be working with texts from¬†Project Gutenberg¬†which is a library of eBooks that includes a lot of literature for which U.S. copyright has expired. In this assignment,…
  • Demonstrate how to use Python’s list comprehension syntax to produce the list [0, 2, 6, 12, 20, 30, 42, 56, 72, 90] Write a short Python program that takes two arrays a and b of length in storing int …
  • Write a program to ask the user for their favorite item in a given category. Then provide feedback if their item is on your list. Use the following guidelines to write your program. Pick a category an…
  • Python k-Means Clustering How would I grab the value 0.300000 from the last cell? I’ve tried df.groupby(‘assignment’)[‘x2’].mean().index[:2] and get_groups. " jupyter hw08 Last Checkpoint: an hou…
  • While using python, I am trying to get into nested dictionaries using code like this: ¬† count = sum(value[“name”] != None for key, value in spotify_users.items()) ¬† But whenever I used the words “ke…
  • TEXT ANALYSIS WITH PYTHON ¬† All necessary files are located here on google drive: https://drive.google.com/drive/u/1/folders/1ehw4gkj4ZF4I-jegQ_ShZrb1TcuO_mHH ¬† OBJECTIVE : Run a Python program to d…
  • zyDE 6.14.1: Dictionary example: Gradebook. Complete the program that implements a gradebook. The student_grades dict should consist of entries whose keys are student names, and whose values are lists…
  • Write a program to detect¬†“leap years”. When the user enters a year (like 2009, or 1989), the program should print out “That is a leap year” or “Nope, not a leap year”. ¬† This is the logic for detec…
  • scrape the WMATA homepage and for comparison pull from it using a web service You will need a developer account and API key – go here: https://developer.wmata.com/¬†(Links to an external site.) and¬† …
  • I made a project Module3 , test folder, and made a Python unit test test_operators_practice.py I need help to write tests to understand the operators import unittest class OperatorsTest(unittest.TestC…
  • Lists and dictionaries in Python are similar in that they are both used to store a collection of other data. In many cases, a programmer could use either one effectively to achieve a particular goal. …
  • 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…
  • Assume that you are a computer network engineer at Evil Corp., who is building an automated classification system that can determine if an incoming data packet into your firm’s network carries malicio…
  • Choose the correct statement.¬† ¬† void allocate(size_t length) { //allocates memory long *ptr; // ptr variable declaration if (length == 0 || length > MAXSIZE / sizeof(long)) {//return } ptr = (lo…
  • Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. For this company, an employee earns $20 an hour for the first 40 hours t…
  • Need help with: C Codio Project File Edit Find View Tools Education Help Configure.. Project Index (static) Configure. GPARDO error4.py Exercise 4: Fi… x DWN #declare variables days = int( ) Collaps…
  • I am trying to practice coding for python and i need help Solve soon… . Using the $\pis digits, make a scatter plot that plots a point if there are two of the same number in a row. Also drop a point…
  • Using your knowledge of lists and functions in Python, I want you to create your own cipher to both encrypt AND decrypt text in a unique fashion! Let me start by showcasing an example. What will follo…
  • I want to find the total height of a BST. The total_height method returns the sum of all the node heights in a BST. It uses the recursive _total_height_aux method to do so.¬† The method must not chang…
  • 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 …
  • This program creates a dictionary containing the U.S. states as keys and their capitals as values. (Use the Internet to get a list of the states and their capitals.) The program should then randomly q…
  • Let us assume that we have a string of positive integers in an increasing manner(can be equal). Now we generate all possible non empty subsequences from this string. In every such subsequence, we find…
  • Faithfully translate the code into MIPS program (plz comment each line of code explain what it does). All variables must be in global variables. bnez/move/li/bge are not allowed to be use. .. The aim …
  • Majors You are curious who enrolls in Computer Science I, and thus decide to program majors.py for this. You use two functions: get_majors(), which reads the data from majors.txt and tallies it, and w…
  • This is from machine learning: from¬†sklearn.datasets¬†import¬†load_iris iris=datasets.load_iris() for¬†iris¬†dataset: test and train data is given by: Xi_train,¬†Xi_test,¬†yi_train,¬†yi_test¬†=¬†trai…
  • I need help fast please! thank you!. 8.8 LAB 8D: Hailstone sequence Given a positive integer n, the following rules will always create a sequence that ends with 1, called the hailstone sequence: . If …
  • Greedy Makespan Minimization The idea is simple: we go through each job and assign it to the processor that currently has the least load. greedy_min_make_span(T, m): # T is an array of n numbers, m &g…
    • Use the following lines of code to install libraries in Google Colaboratory In the next code cell :¬† a. Import geopandas, pandas, numpy, rasterio, shapely, and matplotlib using¬† your preferred al…
  • i need the solution step by step¬† a), b) , c) , d) as show in the question¬†. QM M269: Algorithms, Data Structures and Computability Given two arrays a and b, where both arrays consisting of n positi…
  • Distribution class code: import numpy as np import numbers import matplotlib.pyplot as plt ¬† class Distribution(object): ”’A class that defines a probability distribution.”’ ¬† ¬† ¬† def __init__(s…
  • Task 1: Environment Set Up¬† import¬†numpy¬†as¬†np #Dataset¬†from¬†summer¬†Olympic¬†London,¬†year¬†2012 np_olympic_country¬†=¬†np.array([‘GBR’,’China’,’RUS’,’US’,’KOR’,’JPN’,’GER’]) np_olympic_country…
  • 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…
  • a python script that will prompt a user for a directory to archive, ask them if they want the archive compressed, and (only if they do want compression) what type of compression to apply.
    • Prompt the user for a string that contains two strings separated by a comma. (1 pt) Examples of strings that can be accepted: Jill, Allen Jill , Allen Jill,Allen¬† Ex: Enter input string : Jill, A…
  • I can’t figure out why I am getting this error. X 1 Module Three – IT-140-H7762 Int x zy Section 3.12 – IT 140: Introduction x Homepage | Code with Mosh + om/zybook/IT-140-H7762-OL-TRAD-UG.22EW4/ch…
  • 16 ln(dog age) + 31. (That is the natural logarithm of the dog’s real age, multiplied by 16, with 31 added to the total.) In Python you will have to import math and use the log() function with one arg…
  • How to conduct two programs for the following? ¬†. Write a function called square (ist) that takes one parameter which is a list of integers and returns a list that contains the square of each element…
  • When I put this code in ¬† #place in file: payroll.payroll #Taking input for file name from the user file_name = input(“Enter the file name: “) #Opening txt file in read mode File = open(file_name, ‘r…
  • file1 = ‘data_1.txt’ def main(): print(‘This is our grid:’) display_grid(create_grid(file1)) print(”) print(‘This is our newly calculated grid:’) display_grid(fill_gaps(create_grid(file1))) print(”)…
  • Define a function process_string(s) with the following characteristics: It accepts a string s as a parameter I returns a list with the following characteristics: The string s is split into a list of w…
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Example: #!/usr/bin/en…
  • Patient Management System for Python Programming. Program specifications This project is to develop a program that manages patient information and the procedures a patient received in a hospital. The …
  • Encancing the following .py files: W6_Lastname_Firstname.py ¬†from MyLib import * cont = “y” #looping while cont == ‘y’: ¬†¬†#exeption to check input ¬†¬†try: ¬†¬†¬†¬†lr = int(input(“Enter your Lower …
  • Write a program using conditional statements and user input function to convert temperatures to and from Celsius, Fahrenheit. The program should first ask for a temperature then ask for whether that …
  • i want to write basic blackjack card game in python
  • DSME6756 Project 2: Quant Fund Bonus Question 2 : More Considerations in the Trading Simulation In reality, there are many more considerations to be made in the simulation. Here are several examples. …
  • Load dataset from the internet Link::https://github.com/zfz/twitter_corpus/blob/master/full-corpus.csv. Consider the twitter data provided in https://github.com/zfz/twitter_corpus/blob/master/full-cor…
  • How to create a function : ternary_partition(lst) that partitions an unsorted list into three sections: smaller than pivot, equal to pivot, larger than pivot. Input : an unsorted list containing one o…
  • 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…
  • This assignment is based on Exercise 8.4 from your textbook. Each of the following Python functions is¬† supposed ¬†to check whether its argument has any lowercase letters. For each function, describe…
  • Please help with the example problem at very end.¬† ¬† https://pastebin.com/rna8ByQG ¬† add_sock get_pair available_colors Please help with example below. ¬†. Os [1] #@title Let’s define a testing hel…
  • #In the previous problem, you were given a list of integers #representing the amount of rainfall on each of multiple #days. Somewhere in the list was the number -1. You were #asked to find the average…
  • Can someone help me write this program or provide a general outline on how to do it, as soon as possible please! We are only allowed to use very basic python programming functions. Thank you!¬† Bel…
  • How do I go about completing this code? There is only one set of inputs that are not working. The last image shows the code I already have and the second image shows the input I got wrong. Thanks ¬† ?…
  • *Python/Jupyter Notebook ¬† We will now fit k-NN. However for k-NN you need to specify the value for k. In order to figure that out, run k-NN in a loop with different values of k (starting from k=5) a…
  • . + | Page view A Read aloud | ) Add text Draw v Highligh Problem 3 – Angle Adder Precise angle measurements (and geographical coordinates) are often expressed in the DMS (degrees, minutes, seconds)…
  • I have to make a program to display all states with their capital, flower, state and population. How to do a list or dictionary like this? How can I display an image of the associated Flower? Will hav…
  • Soccer team roster (Dictionaries) (Python 3) This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user…
  • Question 3: ¬† ¬† Sometimes, team members want to send secret messages to each other. In order to do this, there needs to be an encryption process such that other people cannot understand the secret m…
  • def average ( data, event ): “””Take a list of dicts of fitness test entries and return the average for a single event Parameters: data: List[dict] — a list of dictionaries of fitness test data event…
  • # now it’s time to implement a program module for our dog. A program controls how the dog acts upon its environment. our program will be very simple, and is shown below. #Percept: Feel Food Feel Water…
  • Using Python¬† Library : users should be able to search for books by title or by author, should be able to search by book category (fiction, non-fiction, autobiographies, travel, etc.). The user shoul…
  • What am I doing wrong. The first part is right but not the second part. Given num_rows and num_cols, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or 3E. Print …
  • Hello, I am working on a program that will produce x and y values using Python Math functions to put onto a graph. I have installed numpy and was going to use that to figure out the values. I understa…
  • Help make a Python program to get the latest country wise deaths cases of Novel Coronavirus (COVID-19). Help make a Python program to visualize the state/province wise death cases of Novel Coronavirus…
  • Objectives By the end of this exercise, the student will have demonstrated the ability to Write queries to the DuckDuckGo search RESTful api Select various return fields from the response Use PyTest v…
  • This is python code only and for the ¬† Data Set This dataset contains actual Bicycle Thefts occurrences from 2014-2019 in the city of Toronto. (might change to 2020 depending on frequency of update) …
  • Hi, I’m currently developing a code for my class and I have finish most of the code with the help of the instructor but I’m having and error and I can’t figure out how to solve it. # Wetser Santos Fel…
  • Need help on how to set these three up. Any suggestions? # TDDD: From a text file read in the text introduction of your game and print it to the console. # TDDD: Setup a dictionary with several key va…
  • Problem 1: Message Coder ¬† For parts 1 and 2 you will need to use the functions¬†2 you will need to use the functions¬†2 you will need to use the functions¬†2 you will need to use the functions¬†2 yo…
  • As discussed in the chapter, a Caesar cypher is one that encodes a string by substituting letters in a pre-determined pattern.For example, the cypher of the string abc would become def when “rotated b…
  • Need assistance with the following Python question: 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, qua…
  • URGENT PLEASE HELP. PLEASE USE BASIC PYTHON CODE AS THE CLASS IS AN INTRO TO COMPUTER SCIENCE PLEASE AND THANK YOU. WE ARE DEALING WITH CONDITIONALS. IF YOU CAN EXPLAIN SOME PARTS I WOULD APPRECIATE I…
  • # q9 – create function translateMorse() to meet the conditions below # ¬† ¬†– accept two parameters: ¬†a Morse-code-to-English dictionary and # ¬† ¬† ¬†a tuple of Morse code characters # ¬† ¬†— dict…
  • Please help me with this whole assignment. This is the link for the model ¬†game: http://52.89.101.165/railyard_live/game.html This is the code my instructor provide: And this is the instruction for t…
  • The 2nd function is quadratic (O(n 2 )) with respect to the size of its input: you should be able to find a solution that scales linearly (O(n)). ¬† def mystery2(filename): ¬† ¬†time = {} ¬† ¬†with op…
  • This question assumes there are two collections: a collection that contains student numbers, names and scores of students who fail ICT133, and another collection that contains student numbers, names a…
  • Make a program that takes two inputs: 1) The name of a file with extension .txt saved in your current directory (you can run a cell with command !ls to list files in your current directory) 2) The wor…
  • Of the apps under the Category¬†COMMUNICATION, get the¬†Content Rating¬†count for apps where the Rating is between or equal to 4 and 5 (inclusive). Return this as a table sorted by¬†count¬†(with great…
  • Load the data from attached file “Assignment 7_4.csv”.¬† a.¬†¬†¬†¬†¬†Help create a histogram for the first and second column respectively (20 points) b.¬†¬†¬†¬†¬†Conduct a clustering algorithm on it. …
  • # q5 – create function convertToUniCode() to meet the conditions below # ¬† ¬†– accept one parameter: ¬†a string # ¬† ¬†– add a meaningful docstring # ¬† ¬†– create a list of the UniCode values for ea…
  • def generate_matrix_num(rows, cols, low, high, value_type): “”” ——————————————————- Generates a 2D list of numbers of the given type, ‘float’ or ‘int’. (To generate…
  • Assignment Overview This assignment will give you more experience on the use of functions and dictionaries. You will practice them by processing a Ô¨Āle from a real‚ÄĒlife dataset. In general, any ti…
  • The following function takes a list of numbers as the input and is supposed to return the second largest number in the list. It will return¬†None¬†if the items in the list are not all numbers or the l…
  • import pygame, sys pygame.init ¬† size = width,height = 600,400 vel = [1,1] sand = 255, 200, 137 ¬† screen = pygame.display.set_mode(size) ¬† ball = pygame.image.load(“intro_ball.gif”) ball = pygame.t…
  • Program Overview You can code either a full Python script in an IDE (in a main.py file) or use a Notebook (a .ipynb file). You’ll create a base class and several derived classes for this assignment. Y…
  • Need help with this code. Need the exact formate it is asking for. Thank you.. 6 Count of Evens Problem Leaderboard Discussions The first number input will be the number of subsequent numbers that wil…
  • Python Code The purpose of this assignment is: Construct logical circuits from compound logic statements.Write a program that implements a parallel adder that is capable of adding two 3-digit binary n…
  • I need to create these user-designed functions. For some reason these three I just haven’t been able to make work. I have included all relevant information including what we are supposed to avoid usin…
  • Objectives improving the student’s skills in defining functions; using exceptions in order to provide a safe input environment. Scenario Your task is to make a¬† function able to input integer values …
  • Come up with a text-based version of the game Memory. The game should generate a 5 √ó 5 board. Initially the program should display the board as a 5 √ó 5 grid of asterisks. The user then enters the co…
  • this is the code i have ¬†so far import numpy as np import math from scipy.optimize import fsolve import random as rnd class Fluid(): ¬† ¬† def __init__(self, mu=0.00089, rho=1000): ¬† ¬† ¬† ¬†?…
  • Only answer problem 4 , if u answer problem 1 or 2 I will thumb down code for 1 and 2 is given below code for 1: import numpy as np def compute_solution(M,x0,N): eig,V=np.linalg.eig(M) # compute eigen…
  • Please Help somebody Using Pytorch , Deep Learning¬† In this task, we’ll use CNN to detect emotion from text. The dataset is taken from https://www.kaggle.com/datasets/ishantjuyal/emotions-in-text . T…
  • Just need help creating the function isValidDate with the “modDates” py file. The code here is the full modDates file. the smaller picture is the description of what isValidDate should be. Just need i…
  • A python 3 code that will change the values in b.txt to those in a.txt I need help with making a code that will read a.txt and b.txt then change the values in b.txt if the values in a.txt is different…
  • Hi, Could you please look at this question, what code should be replaced to the red box?. Exercise 2 (strcat_ba_test: 1 point). Complete the following function, strcat_ba(a, b), so that given two stri…
  • https://1drv.ms/x/s!AsJmq4RS6w5ulGE-QZ6vC3TtCbfn?e=xHT6oW¬†. Python Plus Quiz SB Read in the data from ‘QuizB. csv’ as a data frame and print it out. Perform the following operations using the above…
  • Hello, I need help with modifying my code. I am¬† restricted to using “WHILE” loop and “conditional statements.” ¬†The question insists on ¬†not using “FOR” loops or list module I need help modifying …
  • Design a dictionary of your family. Once you get the printout update family dictionary with your grandparents (maternal and paternal) including uncles and aunts (maternal and paternal).
  • I need your help. ¬†Struggle with this number 1 and number 2 see below. ¬†Don’t know how do I do on this for python. ¬†I am hope you can help me to understand better. Thank you.¬† 1. Write a program n…
  • —-Python Programming —– In many data science applications, you want to identify patterns, labels, or classes based on available data. In this assignment, we will focus on discovering patterns in …
  • You can access the data from here https://docs.google.com/spreadsheets/d/1qkaFavHtqrSSZnCTy8qyHwXECI5WeLyR/edit?usp=sharing&ouid=104971339489862921302&rtpof=true&sd=true – Calculate traini…
  • Individual HW: Robot Delivery System Create an HTML form and a CGI script for a Robot Delivery System.¬†Your code should reproduce the functionality found here: https://cgi.soic.indiana.edu/~dpierz/hw…
  • 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…
  • 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…
  • A company asks you to write a program for them, which decides whether they should re-order their products or not. The program should receive users’ inputs (inventory status for different products) and…
  • Using the Vole Architecture instructions, HOW can I write program that will sum the three values A0 55 and BB and store the sum in memory cell CC Suggested algorithm a.¬†¬†¬†¬†¬†¬†Load …
  • Question attached Question 2: Question: Change the code in the exam python file, so the function call question_2a() results in the image under the heading initial target output. It currently produces …
  • Can you please provide explanation behind your code for the question in the picture below, the code provided below is the one needed to build off. Thank you! class Node: def __init__(self, data = None…
  • The code below produces a microscopic image of a bacteria that are overlapping ¬†Run the following: ¬† >>>import numpy as np >>>import scipy as sp >>>from scipy.ndimage impo…
  • Solve using python. In [26]: import numpy as np import numpy . linalg as la def smallest_eiga) : Given a positive definite symmetric matrix A, calculates the smallest eigenvalue of A and the correspon…
  • . 2. Follow the instruction in each of the comment blocks to write the necessary code-segment to generate the circles described. After having written code for each of the blocks, test your program b…
  • BAN 200 Group Project The goal of this project is to demonstrate your ability to analyze text data and interpret the outcome of your analysis for the best interest of the business. Deadline: Aug 13th …
  • . This question tests your understanding of robot control programming. a.(i) The program listed below is based around the Grey_bands background The program is intended to make the simulated robot dr…
  • you have complete freedom to create any video game you like! ¬† Requirements: ¬† Must be done with PyGame. Must be Object Oriented and have multiple classes. Must include a README.txt Describe your ga…
  • According to Cisco, data centers can be of different types: Enterprise data centers These are built, owned, and operated by companies and are optimized for their end users. Most often they are housed …
  • This homework assignment aims to install server-client communications over both UDP and TCP.¬†¬† ¬† Write the following Python code: 1) Python file, udpServer.py, to set up an UDP server 2) Python fil…
  • In this part you should use the matplotlib library to present two different graphs. Using the words from¬†eng_news_100K-sentences.txt¬† ¬† copy this link and paste in google the file for eng_news_100K…
  • Write a Python program that prompts a user for two integers and stores the two integers the user types into the shell. Print the product, float division, integer division, remainder, sum, and differen…
  • Instructions: Comments: 1.¬†¬†¬†¬†¬†¬†Do not make any changes to the shell. 2.¬†¬†¬†¬†¬†¬†You may name your variables whatever you want, but the three functions must be named getStats , prtRpt and slo…
  • Writing a program that solves the following: Three missionaries and three cannibals come to a river and find a boat that holds two people. Everyone must get across the river. However, if the cannibals…
  • Please Remove errors and plot the out and attach the corrected code and outputs.( Tell the compiler name also). import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes…
  • Write a function that evaluates an iterable using the Queue you just implemented (code below). The function will take an iterable object and find the kth element inside of it. It is possible that the …
  • Here are the steps needed to write this function 1 . Create an empty list in which to store the frame 2 . Segment the string 3 . Iterate over the segments , converting each segment into a frame by ca…
  • 8.4: Write a python program that does the following: Prompt for a file name of text words. Words can be on many lines with multiple words per line. Read the file and convert the words to a list. Ca…
  • In python, how do I write the sum of each column (with 4 rows as variables)?
  • Hello, Can you pls help with Pandas code? ¬† Using the daily report on below location: https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_daily_reports/01-10-2022….
  • USE def has_word(s: str, word: str) -> bool: " <docstring omitted> """ len_word = len(word) for i in range(len(s) – len_word) : if s[i : i + len_word] == word: return True…
  • Write class called FiveBoard that represents the board for a two-player game that is like tic-tac-toe, but on a larger scale. instead of a 3×3 board, it is played on a 15×15 board, and instead of a 3 …
  • I am trying to integrate a Singleton Pattern into one of my past codes. the code will be pasted below. I am using Python. #Get¬†the¬†hourly¬†wage¬†from¬†user hWages¬†=¬†float(input(“Enter¬†hourly¬†wag…
  • I keep getting an error. Can you please see if you can find my issue. I have included all guidance documents and all python files. Thanks for all your help. Programming Activity 3 – Guidance =========…
  • 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, …
  • 0 Write a function called experiment that simulates the process of flipping coins by calling the coin function 0 Parameters: none 0 Returns: int (number of flips it took to get three “heads”) 0 C…
  • I need assistance with the Socket programming part of this assignment, we are using Python 3. I have uploaded what I have so far, issues I am running into: 1.When it says socket listening, and I telne…
  • import requests ¬† def extraction(): ”’For a given subreddit, extracts all relevant data and return it in form of a dictionary”’ ¬† url = “https://www.reddit.com/r/SneakerDeals.json” #Querying Reddi…
  • In at most one paragraph, describe a scenario that will require the use of multiple functions and parameters to for an application. The scenario should require at least: One function that returns a va…
  • You will use your previous programming project as a starting point. Be sure to copy and rename your file from that project and edit the internal documentation to reflect the new name and date. ¬† In m…
  • 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…
  • . Binary to Decimal $1 – 2021 Eg. 00110 = (0 * 24) + (0 * 23) + (1 * 22) + (1 * 21) + (0 * 20) = 6 Or 00110 = 22 + 21 = 4 + 2 =6 Convert each of the binary numbers to decimal. Write out the formula …
  • Instructions for Assignment 1: Please download the following python (ipynb) file. Upload the file into Jupyter. Then follow the instruction, answer all the questions, and submit the completed file. **…
  • URL: https://shopee.ph/search?keyword=shoe Scrap all the products from all the pages of the above link to get the data as csv file having following headers. URL Title Item Number Price Sold Stock Sell…
  • Please help me solve these questions that I attatched as a image file. 10. Using python, deÔ¨Āne a vacancy indicator function {Eh-J). Using this function, create a dictionary with the degrees of all n…
  • . Create a Temperature class. Make two methods : . convertFahrenheit – It will take celsius and will print it into Fahrenheit. . convertCelsius – It will take Fahrenheit and will convert it into Cel…
  • how to form this function. 2. def extract_cell_pixels (temp_array, module_shape, cell_shape, inter_cell_sep) : First recall that the input temp_array is a numpy array that contains entries belonging t…
  • Hi, this is a python problem.¬† Suppose I have a txt file that goes like Last Name ¬† ¬†First Name ¬† ¬† Number ¬† ¬† ¬†Color Lee ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†David ¬† ¬† ¬† ¬† ¬† ¬† ¬† 4 ¬† ¬† ¬† ¬† ¬† …
  • py from socket import * from bitstring import* import time # function to initiate the file transfer along with acknowledgments and packet loss def Make_Packet(buf): ¬† ¬† seq = 1 ¬† ¬† # readin…
  • Hello There, So I am completing the following below by using variables, functions, and control structures to improve the “View all Employees” functionality I’ve developed and utilize functions that pa…
  • is this a correct way to fully parenthesize while observing evaluation order rules, and expression tree (a – b/c)*(d+e*f*g) ((a – b/c)*(d+e*f*g)) ((a bc-/)*(de)+fg)** which on is the postfix?
  • Lab 6 Python Encrypt and Decrypt from a File 1. Create that file and put some test data in it. 2. Choose a number (slicing number) for the constant to use to store cryptopy_input.txt and set that con…
  • How can I get the below result? Modify the bubble sort sample to generate a sorted fruit list: IstFruit = [["Apple", 5], ["Orange", 3], ["Banana", 21, ["Pineapple&qu…
  • Question 3 [25 marks] a)¬†¬†In a file named zap.py , write function called zap which accepts any positive integer parameter and returns the sum of the squares of its digits. For example, zap( 73 ) wil…
  • How do I divide a dataset of points into disjoint folds, assigning some to training set and some to test set? Specifically, I have a set of points X0, consisting of 100 points, all of which have 0 as …
  • Having a dictionary d = {‘fname’: ‘Wahid’, ‘lname’: ‘Lutfy’, ‘title’: ‘Instructor’, ‘favsport’: ‘Soccer’}How would you list: All the keys of the dictionary d? All the values of the dictionary d? Both …
  • 1 in, 2 out Here is a more challenging one to finish with. We are passing in a list of numbers. You need to create 2 new lists in your chart, then put all odd numbers in one list put all even nu…
  • How do I display a summary like the above image with data from the list below? ¬† divers = [{‘name’: ‘Macie’, ’round’: 1, ‘DD’: 2.8, ‘Judges’: ‘7.0 6.5 6.5 6.0 7.0’, ‘TT’: 20.0, ‘Score’: 56}, ¬† ¬† ¬†…
  • Questions in the attachment. Below is a section of code that plots a three-dimensional "wireframe" plot. You’ll see what that means when you draw it. Replace each # Your answer here with a d…
  • Create a Python program that populates an array variable, containing at least five elements, within a loop using input supplied by the user. ¬†It should then perform some modification to each element …
  • Write a Python program (IDLE 3.9) with GraphWin module, move method. Create a window with the same height and width. Create a small red circle and a blue big circle. The blue circle will move from lef…
  • def get_list(data: List[list], find: str) -> List[int]: ¬†¬†“”” ¬†¬†Return a list of IDs whose names contain the string find. ¬†¬†¬† ¬†¬†>>> get_list(DATAX, ‘word’) ¬†¬†[1, 2, 3] ¬†¬†>&…
  • The client and server communicate using the message format specified in this document. The client will perform the following functions: 1. Read in 3 arguments from the command line: a. IP address of s…
  • Employers are interested in the distribution of expenditure across different areas of the health sector. One way to analyse this is to divide the range of possible expenditures into a number of equal-…
  • (I keep getting this assignment wrong. Any help?) (This is the data file for the program) The viscosity of a fluid changes with temperature. For liquids, as the temperature increases, the viscosity de…
  • Exercise 7 : (2 points) – Given a linear regression parameter (theta), complete the function lr_predictor to meet these requirements. Return a function which takes one parameter (a data matrix as a Nu…
  • What does the strip method do? strip() removes unwanted comments. strip() removes code bloat. strip() removes unwanted characters from the beginning and end of a string. strip() adds a strip of border…
  • How would you determine the number of items in the following directory? contacts = {‘Jason”: ‘555-0123’, ‘Carl’: ‘555-0987’} Group of answer choices a ¬† contacts.size() ¬† b ¬† len(contacts) ¬† c ¬† …
  • The input will be three lines, each containing a string. The first line will be stored in the variable s1, the second in s2, and the third in s3. How do you define a variable called joined_with_commas…
  • Ask assessment2 task2 ¬† please do not use def function ¬† MIS501_Assessment 2_Case Study_Final.pdf
  • Coffee Break Function Name: coffeeBreak() Parameters: list of drinks ( list ), budget ( float ) Returns: name of drink ( str ) Description: Write a function that takes in a list of drinks and the amou…
  • You are not allowed to use any packages from scikit-learn. INFORMATION GAIN IS THE PURITY FUNCTION. The data you will use is shown below, i matched up the first row so you can see what respective info…
  • Find and fix the errors in the following Python program. # Write a program that will average 3 numeric exam grades, return an average test score, a corresponding letter grade, and a message stating wh…
  • Please help me figure out this code in python. If you are unable to complete the graph, can you please show how to manipulate the data as instructed from a .txt file? Question #2d: Data Evaluation fro…
  • Write a non-recursive function that will perform the same task as the recursive function¬† below. def p(x,y): if y == 0: return 1 else: return x* p(x, y-1)
  • Hi, I have attached the question and also the solution to it using For loop. However, I need it to be done with lambda, map, reduce, and filter, and without list comprehension and for/while loops or r…
  • Previous Week: Learning Objective: Identify the main forms of business organizations #part1 def main(): ¬† ¬†first¬†= float(input(“Enter your First number —> “)) ¬†second = float(input(“Enter 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. do a function called¬†print_volume (r)¬†that takes an argument for the radius of the sphere, …
  • R program please provide answer with screenshot. Thank you. The National Football League (NFL) records a variety of performance data for individuals and teams. To investigate the importance of passing…
    • Activity Step One: Decomposition Decomposition involves identifying a problem and breaking it down into smaller, more manageable steps. Example: ¬†A salesperson at a clothing store identifies tha…
  • Help ! I’m stuck! I need a Python code that 1) searches a Thesaurus for the synonyms of a keyword and stores the keyword and synonyms in all_words (I think I did that right) 2) Then I need to search f…
  • 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 …
  • Hey Tutors, i need help with my ER diagram assignemnt, please help,, I just need to understand.
  • Question 4: Complex Structure [3.0 marks] You obtained: [x/3] In the code below you are given a list of dictionaries which contains a company’s employees’ information. Write a python code that creates…
  • Please need help Sections 6.12-6.13 **6.22 (Display current date and time) Listing 2.7, ShowCurrentTime.py, displays the current time. Enhance this program to display the current date and time. (H…
  • This is my assignment for my python programming class! Please help! ITP 115 – Programming in Python p. 1 of 3 Assignment 6 – File Processing Goals ‚ÄĘ ‚ÄĘ ‚ÄĘ ‚ÄĘ File processing (writing and read…
  • Their program processes a list of words from sentences in the book, and creates a new list with the words that are proper nouns, those with more than start with an uppercase letter. words ‚Üź [“See”, …
  • i am after a Graphical User Interface (GUI ) for the question shown below: ¬† ¬† the GUI must implement the following code: ¬† #creating function def account(): # taking input for amount deposited ‘p’…
  • Python¬†. Write a function named stretch that accepts a list of integers as a parameter and returns a new list twice as large as the original, replacing every integer from the original list with a pai…
  • Directions: Write a program to calculate the cost of a pizza order. Prompt the user for the number of pizzas they want to order, and the program will determine the total cost of the order and display …
  • I need help with an AI project. The project is to get two AI’s (Random and MinMaxAI) to play chess vs each other. There are more instructions on the link. I linked a blank skeleton of the project thro…
  • Which of the following operators is used to calculate the remainder of division? 0% O Next Page Page 2 of 10
  • Please use Python Programming. ¬† Formatted Questions with more information: https://colab.research.google.com/drive/1fdbo-K7q7fJWnrDxbk1aaeTOsGOj345X?usp=sharing ¬† Check.json file : (has corre…
  • Your boss is a novice programmer and is not aware of the many ways that it is possible to share code, such as Colaboratory. You often receive emails from them where they have copied and pasted the out…
  • Wait for whole question “”” Utility functions to support file input and formatted output for HW 4. Written by: Prof. Chuck Stewart 2020-09-29 “”” def part1_get_top(): “”” Return a list of strings repr…
  • A matrix A is said to be in ‘row echelon form’ if its non-zero entries describe a flipped staircase pattern.¬† Formally this means that: – All rows of A consisting of only zeroes are at the bottom. -T…
  • I have assignments for Lists, Sets, Dictionaries, and Comprehension. my question is: coding for courses in __init__() coding gpa() coding addCourse() coding addCourses() coding __repr__() extra credit…
  • Hello! Could you please help explain this piece of Python code. It is designed to find all permutations of a list, however I am having a hard time tracing it. Thank you! def¬†permute¬†(a,¬†idx): ¬†¬†h…
  • The plot below depicts the number of stochastic gradient descent (SGD) iterations required to reach a given loss, as a function of the batch size: 16 Steps to Reach 0.01 Validation Error 214 212 Steps…
  • Please help me for this function Base code: https://pastebin.com/kNGZCmpe Helper: https://pastebin.com/nfA9kJA9
  • Please indicate whether the following 4 questions are true or false :). 01.1 1 Point In a Stack data structure as discussed in the textbook and lecture {implemented using a Python List}, you should no…
  • . l w | 5.4.1: Loops with variables that count. D 3755102350218 $3:qu Jump to level 1 F Type the program’s output 5 Input 9 6 @ Output E] Feedback?
  • The script should contain two classes, book, and bookshelf, (remove_punctuation, main and parse_args) that exist outside of any class remove_punctuation() Functionality ‚ÄĘ This function takes a strin…
  • write the closest_sums function recursively 2: Details of closest_sums: The closest_sums function computes how to divide a list of values (ints) into two lists of values, such that the sums of values …
  • import calendar # Complete the function to print the full name of the month using the calendar library def printMonthName (monthNum) : # expected output: March printMonthName( 3 ) # expected output: N…
  • How would I go about making a simple chatbot without any classes? I am attempting to create a chatbot with at least 3 functions, at least one module/script and 3 test statements(asserts) this is what …
  • hello i need help to write command line simple interface using aws sdk for python (boto3) that allows a user to search for a title given the Subject and CatalogNbr. The search program should continue …
  • (You will use the dataset voice-classification.csv in this assignment and as a ML expert classify the voice as either male/female so that first level of filtration is quicker. Also, in addition you wi…
  • 4) Shopping (printing and food) The program must authenticate the student access using student ID and password. Students should be able to print and buy food from the system: Each page print (single o…
  • A program on the basic of following requirements 1.¬†¬†¬†¬†¬†Prompt the user for the name of the directory in which they want to save a file. 2.¬†¬†¬†¬†¬†Prompt the user for the name of the file they …
  • I have made some improvements but my code still does not work. Could anyone tell what is wrong with this code? ¬† Database.py ¬† import pyodbc __myConnection = pyodbc.connect( ¬† ¬† server=”cisdbss.pc…
  • Using PYTHON PROGRAMMING ¬† simulate Round Robin scheduling with a provided time slice. With a¬†Lock Variable mutual exclusion method where it is a , Single, shared “lock” variable (initially 0). When…
  • Write The function that removes the first occurrence of a string from another string
  • Please see the above. There was a solution posted but it does not work. Function specifications. csv_to_dataframe: This function takes a csv filename as an argument and returns a DataFrame. The csv lo…
  • Using the following template, make the necessary modifications to make the outputs match. For example: When the input is: C B A exit The output is: Swapping B C Swapping A B Swapping B C [‘A’, ‘B’, ‘C…
  • I have a file with numerous TIFF images in the python directory. what is the code to convert these images to jpeg/png format?
  • Object oriented concepts What is the combining of data and code in a single object known as?
  • Write a python program to simulate a fortune cookie. The program should display one of five unique fortunes, at random, each time its runs.
  • https://drive.google.com/drive/folders/1pBd6fRaIgcmIokfyg3ADFbjEDv6x0Mn6?usp=sharing ¬†Part E ¬†question help ¬† Write a ZIP file ‘CSC221Lab7.zip’ containing 6 files from the lab ¬† Use zipfile to cre…
  • Restructure Newton’s method (Case Study: Approximating Square Roots) by decomposing it into three cooperating functions: newton, limitReached, and improveEstimate. The newton function can use either t…
  • Description : This program will create four plots from data in a matrix (list of lists or pandas). Input : is the file SSE_Courses.csv, containing the enrollment for the School of Systems and Enter…
  • Using Python Pleaseeeeeee In a study of 10 college students, # of slices of pizza consumption (independent variable) and hours spent studying (dependent variable) were determined and a linear regressi…
  • Race time: take the same example and separate the class into a header file. make another program that instantiates two car objects, one small and the other large (if you don’t know cars, look up examp…
  • Hi, I need help with my assignment on World Happiness Report (WHR) data. ¬†Codes and assignment instructions are provided below. ¬† ¬† Codes: import pandas as pd import matplotlib.pyplot as plt import…
  • Develop a web links scraper program in Python that extracts¬† all ¬†of the unique web links that point out to other web pages from the HTML code of the “Current Estimates” web link,¬† both ¬†from the …
  • Fill in the missing code inside the TODO sections. In particular, add the following parts¬† 1. Add a _gini method to calculate gini index so the model can switch between using entropy and gini as the …
  • The program will prompt the user for the file that describes the Mad Lib¬ģ, and then prompt him for all the substitute words. When all the prompts are complete, the program will display the completed …
  • Write a Python code to implement text classification using Multinomial Naive Bayes on 20 Newsgroups data . You can follow the steps given here to implement the Multinomial NB.¬† 1. Download 20 Newsgro…
  • Use R software¬†. Foresters want to estimate the average age of trees in a stand. Determining age is cumbersome, because one needs to count the tree rings on a core taken from the tree. In general, th…
  • please send solution¬† ¬†. I. ‘ ‘ Girvan-Iiiewman {EH} Algorithm a] ‘ Write down the sequence of steps resulting from applying the EM algorithm in the following graph: b} . The following quantltv ls c…
  • Please refer to the attachment to answer this question. This question was created from unit10_homework.
  • For the purposes of this question, we will define a word as ending a sentence if that word is immediately followed by a period. For example, in the text “This is a sentence. The last sentence had four…
  • Which lines belong to (are scoped in) the conditional block? 1 age = 22 2 threshold = 21 3 message = “Go away” # default message 4 if age >= threshold: 5 message = “Come on in” 6 print (message) Gr…
  • Below is a¬†bubble_up¬†function that takes 3 parameters: the list, a start index, and an end index, and bubbles the items in that range. We have started a function called¬†bubble_down¬†that takes the …
  • This assignment is based on Exercise 8.4 from your textbook. Each of the following Python functions is¬† supposed ¬†to check whether its argument has any lowercase letters. For each function, describe…
  • In Lab 07 we wrote a program to calculate energy bill for residential and business customers.¬†We are going to rewrite that program with value returning functions. Residential customers pay $0.12 per …
  • I need help writing a python code for this program. The rest of my answer checks out ¬† My answer The most expensive activity from all the options had to be eliminated first to keep the date open for …
  • 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 qu…
  • Can you please help me with this code. The instructions are given in Task 3. So far, the code I have is: def XBasisMeasure(state): ¬†¬†“”” ¬†¬†This function performs a simulated X Basis measurement ¬†…
  • remove_min (self) -> object: This method returns an object with a minimum key and removes it from the heap. If the heap is empty, the method raises a MinHeapException. When doing a downward percola…
  • 2 Explanation: We perform the following steps: Initially we place a single slime in a row by itself. Thus, row is initially 1. Then, we will add another slime. The row is now 1 1. Since two rightmost …
  • can someone help me solve this by importing pandas. I am unsure of how to solve this ¬† f = open(‘docword.nytimes.txt’) for i in range(3): ###skip the first three lines f.readline() counts = {} most_w…
  • how to write a Python program to do the following: (a) Ask the user to enter as many integers from 1 to 10 as he/she wants. Store the integers in a list.¬†Every time after the user has entered an inte…
  • function in python that inputs a dataframe and identify which columns have date in them.
  • You will display a line chart of a dynamic dataset. You will build a GUI to display a set of values.¬† You will display the values using both a line chart and a bar chart on the same app.¬† Create met…
  • 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 people who died because of comorbidities in COVID-19 ca…
  • i need help with this practice problem please.. EX- Enter the number of weights: 4 Enter weight 1: 236.0 Enter weight 2: 89.5 Enter weight 3: 176.0 Enter weight 4: 166.3 Weights: [236.0, 89.5, 176.0, …
  • A Bard Day’s Night ¬† Background ¬† Once upon a time, in a certain medieval village, a group of mysterious strangers appeared in jeans and T-shirts. The strangers managed to learn enough Old English t…
  • Plot the x and y coordinates of the Moon with a dashed line into the same axes. 4. Label the graphs as "Earth" and "Moon" and add a legend. 5. Label the axes "x (AU)" …
  • 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 fu…
  • Can some one help me with a python code for insertion sort, which should take the data from a data set of 1000 numbers from an csv file . Here is the link for the data set. Kindly help. ¬† https://www…
  • One of the potential issues with using regular expression in Python is that the “\” character escapes a string in Python but may be useful in a regular expression. To avoid any potential issues we typ…
  • Write a function called triple that triples a number and prints it out. Then make several calls to the triple function to test it out. Notice how the call to the function interrupts the sequential exe…
  • For this question, lists are not allowed. Create a function in Python named nombreCaracteres(s) that takes a string of characters s as a parameter. The function returns an integer which is the number …
  • Python Jupyter Notebbok ¬† I’m using a svd model to calculate what the user will rate an item. However, I’m trying to retrieve only the estimated result. The code works fine. ¬† Sample dataset: Item_N…
  • . AUSTIN COMMUNITY COLLEGE Programming Fundamentals COSC 1336 PYTHON Lab #5 Professor: Onabajo Given X as an array/List of [5,3] and y as [3,7] perform the following: 1 . Load array X column-wise an…
  • help me with¬†basic program to Ask the student for¬†¬†3 exam scores. Calculate the average score. Using a bunch of If..elif conditions, the computer should determine the grade and display the grade to…
  • I need help with Match the terms with the short scenarios or frameworks, related to Big Data. Programming model to process large data sets in a parallel, distributed manner. Big Data, applied to colle…
  • Python:¬†. The PetAdoptionAgency class has the following attributes: pets is a list of pets managed by the pet adoption agency. The PetAdoptionAgency class has the following methods: init_(self) initi…
  • What is the output of the following code: def NameYear(name,year): ¬†¬†¬†return(“name”,year) NameYear(“Harry”,23) A.Harry23 B.(“Harry”, 23) C.(“name”, 23) D. Harry 23 Why the answer is C? when doing t…
  • Using python Please create supervised model using one of the machine learning algorithms (Linear Regression Python, Decision Trees, KNearest, Scaling, Deep Learning). Find a dataset online that intere…
  • Can anyone help E IT 140 Hig her Lower….pdf Open file Bella that she is thinking of a number between 1 and 10, and then Bella tries to guess the number. When Bella guesses a number, Maria tells her …
  • How should this be completed. 1. Write the following function (with comments but no screenshot of the execution) def letters(str1) that takes a string argument str1 and returns a set of only letters (…
  • Description In this project you are responsible for analyzing traces of Azure VM workload in some geographical region and represent them in a meaningful way.¬† At the end of this project you have to s…
  • PROGRAM BASE/REFERENCE:¬† ¬† import re name_source = input(‘Enter full name in this format – first middle last ‘) regex_1 = re.compile(r'[a-zA-Z]+ [a-zA-Z]+ [a-zA-Z]+’) re_test_1 = regex_1.fullmatch(i…
  • Write a function that reverses the sequence of elements in a list. For example, if you call the function with the list: 5 pts 1 4 16 9 T 4 Q 11 then the list is changed to 11 9 4 7 9 16 4 1 Do NOT…
  • CH2 Exercise 6.¬† Rewrite the following “for” loop as a “while” loop for i in range (5, 20): If I % 2 == 0: Print(i)
  • Python: 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 …
  • TypeError: print() takes 0 positional arguments but 1 was given Fix this error my code is: def add () : ¬† # empty brackets is a parameter less function ¬† ¬† print( “i am a parameter less function” )…
  • I need the code please4 zyBooks catalog ? brary > CYB 130: Object-Oriented Scripting Language home > 5.23, LAB Exact change – functions 5.23 LAB: Exact change – functions Write a program with to…
  • I am going to make GUI for my media player in python, but I have no idea how to connect it with my backend. This media player is controlled by another device instead of a keyboard or mouse input(onlin…
  • what is expression using Boolean operators that prints “Eligible” if user_age is greater than 17 and not equal to 25. Sample output with input: 17
  • Impute the missing temperature values with the mean temperature for the month that the temperature is missing from in the air_mean data set. For example, impute missing month 5 temperature values with…
  • Given a string, return a new string where the first and last chars have been exchanged. front_back(‘code’) ‚Üí ‘eodc’ front_back(‘a’) ‚Üí ‘a’ front_back(‘ab’) ‚Üí ‘ba’
  • My question I’m including the linked list with the sorting algorithms. I just need help generating the appropriate csv files with the different algorithms. ¬† Program Implement a Doubly Linked List ca…
  • see below, image on left line items, image on right sales report. ine-items.txt – Notepad X sales-report.txt – Notepad O X Edit Format View Help File Edit Format View Help duct name quantity unit pric…
  • I need to make a function named¬†test_sqrt¬†that prints a table like the following using a¬†while¬†loop, where “diff” is the absolute value of the difference between¬†my_sqrt(a)¬†and¬†math.sqrt(a).¬† …
  • need help creating a program that captures and displays a person’s to-do list. Continually prompt the user for another item until they enter a blank item. After all the items are entered, Display the …
  • Use the dataset:¬† https://drive.google.com/file/d/1cg_oWxjLvHEerU5Tyf6xWvfzIdsmngDB/view?usp=sharing ¬† Make a dashboard that has widgets (in a sidebar panel, or other layout) to choose/control (at l…
  • In what situations would you use a dictionary data type instead of a list? And vice versa?
  • Write the following 3 computer programs. ¬† 1. (40 points.) A department store has employees to perform the sales. At the end of the month an employee is paid a base monthly salary plus an incentive b…
  • Python Programming Can someone please help me fill in these answers in python. Images of the required output can also be seen. ¬† Link to csv files ——>> https://gofile.io/d/N0a3WO ¬†. Questi…
  • 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…
  • Write a program that asks the user for 15 letters, accumulates them into a single string variable, and prints the string. Here is a sample run of the program: Please enter a letter: I Please enter a l…
  • Problem 1 Our goal in this problem is to write a function that returns the number of movies in the data set from a partiuclar year. Note that the year is currently embedded in the title column. Write …
  • use pyspark. Python version import sys from pyspark import SparkConf, SparkContext # Input: An RDD containing entries of the form # (source node, destination node) # Output: An RDD containing entries …
  • can someone llease help me by answering task 2 and 3? this is from my Ai and Machine Learning module. For task 3, task 2 should be coded in python language. 2. Task 2: Simplified weather prediction mo…
  • I need help with this assignment which is to program this assignment in python… All the information is in the word document, so please and thank you… The rubric is also attached as a JPEG. I have …
  • question Write program that counts the number of words in a text file. It should consider anything that is separated by white space or new line on either side of a contiguous group of characters or ch…
  • Python program Requirements: Must use materials from, and restricted to: At least 1 decision structure (a.k.a. branching) At least 1 repetition structure (a.k.a. looping) Demonstration of some sort of…
  • You are required to find a dataset, formulate a problem you want to address with the dataset (e.g. predict whether a mushroom is poisonous or not based on its characteristics), build and evaluate a ma…
  • I am having difficulty at having to print the top 3 students with the scores. I know that i an supposed to use the concatenated string but not sure how to. For some reason course hero isnt allowing me…
  • what’s the problem is my code? ¬†. Message Decoder Function Name: messageDecoder() Parameters: message ( str ) Returns: decodedMessage ( str ) Description: While on the run from Voldemort, Harry, Ron,…
  • This is our third lab that will be looking at test cases. In previous testing labs, we checked values, value types, approximate values, attributes we knew about values. Here we want to expand on that …
  • I import a .csv file in jupyter notebook. One of the column “Athlete” with dtype=object have data= “0 HAJOS, Alfred 1 HERSCHMANN, Otto 2 DRIVAS, Dimitrios 3 MALOKINIS, Ioannis 4 CHASAPIS, Spiridon . ….
  • Help me find a trigger 2 code pictures make up one file, part1 is the first snippit and part 2 is the second 1 question guide photo and 1 question photo
  • a python program that uses an IF statement. The program must prompt the user to enter the year of his birth as a single integer number. If value entered is less than 2000 then the message “welcome fro…
  • IDLE is a particular Integrated Development Environment (IDE) that is typically included in a Python installation. An IDE will enable you to use a text editor to create programs (in the case of Python…
  • Python Programming: Read a txt file from user and print the count of every word in the file except extra spaces and special characters.
  • . 11.2 The producer of high precision instruments needs to extend a warranty for a new sensor that is capable of measuring temperature accurately in the range of 1500-2000 *F. Historical data show t…
  • Dataset Link: https://docs.google.com/spreadsheets/d/1UV6ZoB4Si7xicN2S51tA2FlA0SdSjSljLPCRF5CpXOg/edit#gid=1166921139 ¬† Information on attributes: https://data.cdc.gov/NCHS/AH-Monthly-Provisional-Cou…
  • 28 – Python Activity 10 coding python core def sort_length (filepath) : Read all lines from file in ‘filepath" and return a list of all lines sorted longest to shortest. Remove all linebreaks bef…
  • Write a Python Quiz assessment program using graphical user interface. All questions have only True or False answers. As this is only a prototype, the questions and answers are hardcoded initially usi…
  • Hi, I’m having trouble accessing the .csv file created by the following code in the Datacamp environment. Can you help? # Import packages import requests import csv from urllib.parse import urljoin im…
  • I need help with 12,13,14 for coding. I am not sure how to make def for z_clip and how to implement that for 13 and 14. ¬† My pct_error code is¬† ¬† def pct_error(orig, priv): ¬† ¬†return np.abs(orig …
  • Kindly add proper comments. Question 5. Study the example below eoreÔ¨Ārlly and write a program that works exactly like the example. The text in bold indicates the user input. The initial list must co…
  • Use python programming to answer questions below: Question 2 Each individual question below is worth 1 point. In the variable paragraph_str defined below, all sentences end with an exclamation …
  • Input The input consists of several test cases. Each test case starts with a line with two non-negative integers, 1‚ȧn‚ȧ20000 and 0‚ȧm‚ȧ30000, separated by a single space, where n is the numbers o…
  • In the scene where Eliza returns home and puts herself to bed, description is lengthier than dialogue. Give more than one reason for this stylistic choice. What does it show about her also, as a chara…
  • In this question, you will implement a class called¬†DataTable¬†that will represent 2-dimensional data. You will also implement a class called¬†row¬†to represent each row in a data table, and a class …
  • def main(csvfile, year, type): ¬†¬†f = open(“sample.csv”,”r”) ¬†¬†#Defining all the lists ¬†¬†list1=[] ¬†¬†list2=[] ¬†¬†list3=[] ¬†¬†list4=[] ¬†¬†list5=[] ¬†¬†list6=[] ¬†¬†list7=[] ¬†¬†list8=[] ¬†¬†li…
  • You are a young RA working at the World Bank. ¬†It’s 4:55 and your boss just came into your cubicle to tell you that he has a meeting at 8 am to discuss new anti-poverty strategies in the fictional…
  • The script is to open a given file.¬†The user is to… ¬† ¬∑¬†¬†¬†¬†¬†¬†¬†The script is to open a given file.¬†The user is to be asked what the name of the file is.¬†The script will th…
  • Term Project (2): Patient Management System NB// PLEASE PROVIDE A NEW CODE THAT HAS NOT BEEN SHARED YET. PROVIDE COMMENTS TOO FOR EASY FOLLOW AND UNDERSTANDING. I WILL UPVOTE. Program specifications T…
  • Can you please show me an example of if then statements in python. I have to create a story thats due tonight and It has to include decisions like do you wants to go down path a or path b? and each de…
  • Data Source: https://www.kaggle.com/uciml/restaurant-data-with-consumer-ratings. Retrieve Data # Retrieve the restaurant survey data, show the number of observations and the first few observations …
  • Inside of Pandas for Python – For each name, calculate the average snow amount per month. The results should have name, snow(average amount), month. Save the results in two separate .csv files (one fo…
  • Define a function display_triangle that . takes a strictly positive number n and . prints n lines where the (i)-th line consists of (i) stars. For example: Test Result display_triangle (1) display_tri…
  • Need solution and explanation, this is multi linear regression question (code in the function given) cannot use stuff like numpy or pandas def greedy_predictor (data, y) : ¬† ¬† “”” ¬† ¬† This impleme…
  • the entire assignment answer would be really good right now.. Step 2: Notice that the docstring is actually incomplete! The first test command (repeat ( ‘yes’ , 4) is followed by its expected result (…
  • Problem 4 – coins .py: US dollars to coins [25 points] Write a program that reads a Ô¨āoating point dollar amount as a command line argument, and prints out the number of quarters {25c}, dimes {lÔ¨āc}…
  • fraction = fraction def draw(self):¬†¬†¬†¬†¬†¬† print(self.fraction, end=’ ‘)¬†¬† def update_model(self, fraction):¬†¬†¬†¬†¬†¬†¬† self.fraction = fraction¬†¬†¬†¬†¬†¬† self.update()¬†¬†¬† def upda…
  • Python Program Machine Learning 1)From sklearn.datasets import load-digits (Each data point is a 8×8 image of a digit (64 features)). Split your data into train(80% of data) and test(20% of data) via …
  • Multiple Choice¬† i. What is the output for: ‘search’.find(‘a’):¬† a. -1¬† b. 2¬† c. 3¬† d. 1¬† e. None of the above¬† ¬† ii. What is the output for:¬† a = 12¬† b = a//4¬† c = b + a % 4¬† print(c)¬† a…
  • The Problem We’re building a simple role-playing game. Understand the Problem The Task In this third-level simulation, a warrior is now defined as a set of 6 characteristics:¬†strength, energy, speed,…
  • Create a class Hand in its own module. One object of class Hand represents a hand of cards and so one object stores a number of Card objects. For this assignment you will submit three separate modules…
  • You can look at the C-H-E-G-G solution and change it up a little and just provide the code ¬†please also provide code. Thank you universe. (python programming) ¬† For this lab, we will look at clas…
  • Can someone please show me the flowchart and Python code of the problem below and a sample output if possible. Display a calculator menu.¬†¬†¬†Ask for the chosen operation, then for 2 numbers.¬†The me…
  • Define a function that returns true if pixels in the given range exist in the picture.
  • Homework 10: Linear Regression Reading . Linear Regression . Method of Least Square . Least Squares Regression how complete this entences for, you must provide your answer in the designated space. &qu…
  • Try to create that output the result below by using the class method ¬† It does not matter what is the variable for each number is, but the result of these number must be sorted to the example below, …
  • Just this.. Write a function sortByLast that takes a single list parameter myList. This parameter myList is a list of tuples; each tuple contains a number of integers: myList = [ (1, 7), (1, 3), (3, 4…
  • Python Programming student_data.csv: ¬† G-ID First_Name Last_Name Q1 Q2 Q3 T1 T2 T3 Ex1 Ex2 G0M0011 Wayne Green 9.8 6.1 9.18 11.69 11.4 12.55 23.94 24.93 G0M0039 Leigh Wood 9.51 9.34 6.75 14.26 14.53 …
  • Per my code below I need some help on the error I’m receiving. I have imported import urlib.request and the error is regarding #312 which says: NameError: Name ‘requests’ is not defined. Line #312- ¬†…
  • Is there anyone there that does Python programming? If not give me credit back for all these questions I’ve asked. These are not hard programming questions. They are simple code Python Programming I n…
  • What do these code fragments print? s = 1 for n in range(1, 6) : n = n + 2 s = s + n print(n, s)
  • Will you please design an IPO chart and pseudocode for the following: #Welcome the customer print(“Welcome to The Ice Creamery”) print() print(“These are the seven flavors we are serving today:”) #Def…
  • Answers/solution missing for this coursehero assignment, could ¬†you please send me answers to this to understand this program. It is not letting me copy so I am sending you a link https://www.cour…
  • I am using windows 10 and i m going to write in spyder. Can you show me? 1. (15 points) Do the following operations only by using string methods, print the outcome of the operation. (Use help(str) to …
  • man the same tie. the cumulative distribution below the value provided]. 12. For example. if the vector had 5 elements {1.2,3,4.5), with 2 being the number passed into the function. the function woul…
  • How to do information retrieval for client and server in python
  • 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 …
  • completing the following scripts and then also, the OS Commands script according to your OS. pyperclip.py Download pyperclip.py¬† ProgrammingLab9CiphersAndOS.docx Download ProgrammingLab9CiphersAndOS….
  • Assignment In this seignmint, you will we Python to mudyee the dis tribution of returns and a number of trading strategies. This reignment has to lot done in Python only (me Numy or Pin- did eupl be p…
  • ……………………… 6. (3 pts) Briefly explain what would happen if we tried to sort a list containing numbers and strings? Why?
  • Brown, Jones and Smith are three friends. One of them is a project manager, one is a consultant, and the other is a programmer. The programmer, who is an only child, earns the least money. Smith, who …
  • List¬† L is defined as follows: L = [7, 9, 3, 4, 11] L.remove(4) would remove the element 4 ¬†so that it equals [7, 9, 3, 11]: ¬† ¬† T/F ? ¬† ¬† What Will Be The Output Of The Following Code: a=[1,2,3…
  • Solve the following question using Python:. lnfix expression example: 3+4*5f6 (operators are between numbers) lnfix expression evaluation: 6.3333 PostÔ¨Āx version of the inÔ¨Āx expression: 345*6/+ Que…
  • I need to create complete ERD in Crow’s Foot notation that can be implemented in the relational model using the following description of operations. Hot Water (HW) is a small start-up company that sel…
  • Problem 2: Create a function bezout_coeffs(a, b) that computes the Bezout coefficients s and t of a and b . 1. INPUT: . a , b – distinct integers 2. OUTPUT: {a: s, b: t} – dictionary where keys are th…
  • Function fileLength(), given to you, takes the name of a file as input and returns the length of the file: >>> fileLength(‘midterm.py’) 284 >>> fileLength(‘idterm.py’) Traceback (mos…
  • 61 error = abs(y ** 4 – x) 62 self . assertTrue (error <= epsilon) A 14 63 self . assertFalse (error <= epsilon / 100) 64 65 def test5 (self) : 66 x, epsilon = 0.3, 0.001 67 y = find_root3(x, ep…
  • An archery target consists of a central circle of yellow surrounded by¬†concentric rings of red, blue, black, and white.¬† Each ring has the same width which is the same as the radius of the¬†yellow c…
  • How to format each dictionary item as a text string in the input file. How to covert each input string into a dictionary item. How to format each item of your inverted dictionary as a text string in t…
  • Download the iris dataset. Ensure that the downloaded CSV file has 151 rows and 5 columns, and the last column presents the iris flower type: Setosa, Viginica or Versicolor. ¬† a) ¬†Write a script tha…
  • I import two .csv dataframes “summer” and “winter” in jupyter notebook: Year City Sport Discipline Athlete CountryCode Gender Event Meda lCountry PopulationGDP per Capita 0 1924 Chamonix Biathlon Biat…
  • For all Programs: To get in the habit of writing UML for the class first, then doing the program¬† ¬† Create a class called Sets for positive integers that will have the following functions: ¬† addEle…
  • The Final Project for this course is an accumulation of previous weeks’ assignments in which you will utilize all of the skills you have acquired in this course to develop an employee management syste…
  • Final Project¬† 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…
  • I’m trying to use Python to parse data from an XML document to a CSV. A simple example of the type of xml file I’m using is shown below. <collection =”My Movies”> <movie title=”Private Ryan”&…
  • http://prntscr.com/l535df Python homework, thanks for the help!
  • No comments required. just the running code. thank you. This Question has two parts a ) L . . s] Write a Python function named countChar that takes a string s and a character c (string of length 1) as…
  • I have to use vs code to print on terminal: Financial Analysis ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ- Total Months: 86 Total: Greatest Increase in Profits: Greatest Decrease in Profits: So far th…
  • programing in pyhon. During the course of the semester, we worked on understanding the fundamentals of computer science. When teaching. I would cupbin things and if someone in the class didn’t unde…
  • 04 – Pass GO and collect $200 10 coding python Given 3 scores in the range [0-100] inclusive, return ‘ Go’ if the average score is greater than 50. Otherwise return ‘ NOGO’. def q1(s1, s2, 53) : pass
  • I don’t understand how to solve this question and also what the question is asking. Can someone please explain to me in a simple way how to solve this question. I just started learning graph theory co…
  • python programming 4 Write a function numLettersO that keeps prompting the user for words until they hit return. The function should then return (not print) the percent of 3-letter words that were ent…
  • 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 …
  • Is this the correct way to show an expression tree diagram for this expression d) 6 + 5 – 2 + 3
  • Loop : prefixes = ‘JKLMNOPQ’ suffix = ‘ack’ for letter in prefixes: ¬†¬†¬†print(letter + suffix) running this code into a Python script prints the names “Oack” and “Qack”. i need to Modify the program…
  • Given there exists a file named “scores.txt” that is in the same directory as your Python program, write the Python statement that opens the file for input with an internal file name (name you use t…
  • can u please solve this hmr10@g X. JB Thank you for downloading Pyc X G A list is a sequence of data value x A4 (Quiz oodle.aih.hsw.edu.au/mod/quiz/attempt.php?attempt=50170&cmid=50281&page=3 …
  • both parts please. Part 1. For the first part of this assignment, you will need to create two matrices: “A” and “E”. Then you must perform the sum and the difference of them and create a…
  • Rental apartments This exercise is about the following topics: ¬† Writing a class ¬† Initial preparations Create a new project in PyCharm with the name assignment9_3. In this project, create a module …
  • 1 a ¬†Can we use PCA for the classification task? any pros or cons, please 1 b what is the difference between spectral clustering and mean clustering? which one is better approach
  • Case Study Objective: ‚ÄĘUnderstand and practice principal component analysis using scikit learn. Questions: 1.Scikit learn comes with pre-loaded dataset, load the digits dataset from that collection …
  • Word Count. A common utility on UniX/Linux systems is a small program called ”wc.” This program analyzes a file to determine the number of lines, words, and characters contained therein. Write your o…
  • hi, I need help coding this function, can you teach me what I should do? for python ¬† readWebPage(url) – this function takes one parameter, the URL from which to read the text, and it returns a list …
  • Consider the following two assignments: wine_cellar = [‘Merlot’, ‘Riesling’, ‘Burgundy’] wine_cellar[0] = ‘Zinfandel’ Draw (or describe) the objects and labels that the Python interpreter creates in…
  • Question about the MSBA 320 final project (Statistics & R programming)
  • The project above has the instructions and screenshots needed for completion.¬† This is due for me tomorrow tonight, I would like for you to have it done by tomorrow please.¬† Contact me if you need t…
  • I do not understand how this line of python code works. Here’s the line of code… assert type(function(‘1 1’)[0])==int and type(function(‘1 1’)[1])==int, “Incorrect element type: Element returned is …
  • I do not understand why the “D” variable is out of place according to the expected output
  • there’s a python assignment that i need to complete. I don’t want anything to complex and other than the random module i can’t use any other modules. the question for my assignment not relevant here, …
  • What is the northernmost airport in the United States? 2. What is the easternmost airport in the United States? 3. On February 12th, 2013, which New York area airport had the windiest weather? ¬† Y…
  • . Fixed costs In [38]: # Create a tuple named fixed_costs using the range generator # to produce the output shown below In [39]: print(fixed_costs) (0, 40, 80, 120, 160) In [40]: # Print each fixed_…
  • Complete class¬†RectangleCollection, which has one list instance variable,¬†rectangles, that should initially refer to an empty list. a method¬†add_rectangle¬†that takes a¬†Rectangle¬†as a parameter a…
  • Keyword arguments (sometimes also called named arguments) are another variation on how to pass inputs to functions in Python. When you pass in positional arguments, you must pass them in the correct o…
  • can someone help me to solve this : def write_stock(): ¬†¬†¬†outfile = open (‘stock.txt’, ‘w’) ¬†¬†¬†company_name = input(“Enter company name; enter quit to stop: “) ¬†¬†¬†while company_name != “quit”…
  • write a Python program using OOP (Object-Oriented Programming) to score the paper-rock-scissor game; user vs. computer.¬†¬†The user types in either (P¬†or¬†p), (R¬†or¬†r), or (S¬†or¬†s).¬† The compute…
  • Write a class named better_list that inherits from list. better_list is a list with two additional methods: average() : returns an average of all the values in the list. If there is a value other than…
  • 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…
  • python code ¬† ¬†. Exercise 5 Instructions: Compress all solution scripts into a single .zip file. The .zip file shall be named using your first and last name with an underscore separating the names. …
  • import¬†pandas¬†as¬†pd import¬†seaborn¬†as¬†sns df¬†=¬†pd.read_csv(‘https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv’) ohio¬†=¬†df[(df[‘state’]==’Ohio’)&¬†(df[‘county…
  • our task is to write python program, which will perform the following tasks: 1. Get the file name from user and read the text file. Display a proper message in case file does not exist. 2. Get the spe…
  • Common pitfalls and some more hints: – make sure you put the test.txt file in the same folder as the code you are running – make sure you grabbed the correct data file that matches our computer type (…
  • Python 3: ¬†Assistance with code ¬† Dem Data (dem.img): ¬† How would I obtain the elevation values at the following 3 locations. ‚ÄĘ Home: (-117.149033, 32.735362) ‚ÄĘ Work: (-117.240978, 32.671992) ?…
  • Complete the following python file below: #import math library #define functions¬† #return type: float #Parameters: 2 floats(l and w) #This function returns the area of a rectangle with the given dime…
  • I need help with these two short problems. Given the following list, write a loop to print out all the zip codes: towns = [[ “Chicago” , “IL” , 60660 ],[ “Topeka” , “KS” , 66104 ],[ “Omaha” , “NE” , 5…
  • make function called¬† favorite_movie ¬†that accepts a name, movie title and year that it was released as arguments and prints out the following message: name’s favorite movie is movie title, it was r…
  • Write a function which returns the inh equivalent of its centimeter argument.an example call is inches = inchequivalent(10.50) multiply centimeters by 0.394 to calculate inhes
  • You need to use R or Python to solve the question. Here is the data that you need to use for solving the below question. (Coursehero does not allow me to upload the excel file, so I used Google to upl…
  • Clunker Motors Inc. is recalling all vehicles from model years 1995-1998 and 2004-2006. Given a variable modelYear write a statement in python that assigns true to norecall if the value of modelYear d…
  • Programming Project: implement a merge(list_a, list_b) function that takes in two sorted lists: list_a and list_b as parameters and returns a single list with elements from both lists merged into a…
  • ## Beginning model.py The module that you will build is in file ‘model.py’,¬† which you should code. There are three other files that import model.py. Our¬† first goal will be to code the simplest pos…
  • In python how do I write such a program A company hired 10 temporary workers who are paid hourly and you are given a data file that contains the name of the employees, the number of hours each employe…
  • Question: SeaPort is the largest operator of Sea Planes across sea shores in Europe. SeaPort doesn’t have planes of their own, rather they lease them on a short term basis based on passenger traffic. …
  • I dont know what to do 3.24 Lab: Song Writer Your task is to write several functions that print the lyrics of one of the best songs of all time to standard output. Rock-n-roll songs typically follow a…
  • Given employee data from some company, the semantics of each row are: employee ID, employee name, age, and salary. ¬† 142519864,Susan Martin,39,56990 242518965,James Smith,68,27099 141582651,Mary John…
  • Hi there! I am unable to figure out this question but the answer given is 10. Could you explain to me the explanation for each working? Also, could you help me explain the concept of break as I am ver…
  • Invent¬† your own function ¬†that does some useful computation of your choosing.¬† Do not copy the function from somewhere else . Use incremental development, and record each stage of the development …
  • Computer Science string implementation for text editor (using Python) review: can pass variable number of parameters to a function Q: how does one pass parameters to a function (or subroutine) in a co…
  • # Expected knowledge to resolve the assignment: # objected oriented programming in Python # classes # composition # Inheritance # polymorphism # 1. Implement a class named “MyClass” # This class shoul…
  • Not sure where to start with the red turtle vs blue turtle This is the program I need to create. python). Name your me lab_ LA WICH four Initials. Your (turtle) program must include: A comment on the …
  • I am having problems with the following code: Student.py #—————————————————————————————————————– # Author: Peter Drogoszewski…
  • UTP FBTO015 STRUCTURED ALGORITHM & PROGRAMMING SEM SEPT2021 LAB EXERCISE WEEK 11 (LAB 2) Learning Outcomes Upon completion of this lab session, learners will be able to: 1. understand the concept …
  • select any homo sapiens entry from jasper database and download the .arnt file. write a program that read multiple sequences from fasta file and searches all the motif instances from that arnt file in…
  • ”’does something ”’ def fun_function(n_items, cost_per_item, discount_percent, discount_threshold): ¬†¬†”’ insert docstring here ”’ ¬†¬†cost = n_items * cost_per_item ¬†¬†if(n_items >= discount…
  • Python Programming Please Write function ( Note: only a function ) that accepts a list of integers called grades then adds 10 to each element in the list.
  • Python Pascal’s Triangle was developed by a French mathematician named Blaise Pascal. The rows …
  • What values are returned during the following series of stack operations, if executed on an¬† empty stack? push(5), push(3), pop(), push(2), push(8), pop(), pop(), push(9), push(1), pop(),¬† push(7), …
  • How to write a program should accept as input an expression in the form of: 3 * 2 Use an if / elif¬†ladder style structure to determine what operation needs to be performed on the two numbers. Your pr…
  • Write a Python function that take a file name as an input and print how many lines and the number of characters in each line ¬† def count_lines_char(filename):
  • 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 …
  • Using python as in .py file format show the logical steps to answer these questions 1) Write a program which asks the user to enter an integer between 0 and 100 and outputs the sum of the digits of th…
  • Create a loop to display all even numbers from 0 to 100. Describe the three elements that must be included in order for a loop to perform correctly. What will happen if these statements are not includ…
  • For this data frame named updown: Please complete the function updown.index DatetimeIndex([‘2014-01-29 08:00:00’, ‘2014-12-01 07:18:27’, ¬†¬†¬†¬†¬†¬†¬†¬†‘2014-12-10 00:00:00’, ‘2015-01-28 08:06:06’, ?…
  • pad_keyword: This function takes as input a string and an integer¬†n. It returns a string of length¬†nobtained by concatenating characters of the input string together until the desire length is match…
  • . dict1Ex1 = {1 : ‘a’, 2 : ‘b’ } dict2Ex1 = (3 : 5, 4 : 6} print (mergeDictionaries (dict1Ex], dict2Ex1) ) (1: ‘a’, 2: ‘b’ , 3: 5, 4: 6 ) dict1Ex2 = {1 : ‘a’ , 2 : ‘b’) dict2Ex2 = {1 : 5, 2 : 6} pri…
  • Have my programming in python final exam tomorrow! Thank you in advance!. Analyze/T race the Code The following are sample multiple choice questions you may use to study for the test. 1. What is the o…
  • Example of UML Class Diagram Create python code based on the UML class diagram shown below. ¬†Here, is an example: Below given is a UML Class Diagram example: ¬†. Class Diagram for CAR Rental Service …
  • Explore the provided data based on the following steps: 1. Explore the cars’ total number of owners: Please analyze the composition of the total number of vehicle owners by gender for the top ten vehi…
  • Enter the names of ten popular cities in the World and the distance between these cities in Kilometers. You can refer to the hyperloop one website (https://hyperloop-one.com/route-estimator/) to get t…
  • 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 love this sandwic…
  • Hi Python Expert, Is there a way that I can refer to the scatter plot in exercise01 and add a regression line to it in exercise02 without having to redo scatter plot in exercise02. Code: def¬†exercise…
  • A file has been encrypted by subtracting 3 from each character in the file. Write program which reads the encrypted file, decrypts it by adding 3 to each byte in the file, and then writes that to a …
  • When writing a python code like below, how do I ensure there are no none or / in my CSV output files? Below is the code I used. import requests from bs4 import BeautifulSoup import csv page =”https://…
  • Heres my python code for two seperate files. I keep getting an error code claiming¬† ¬† ” Test Failed: __init__() missing 4 required positional arguments: ‘species’, ‘weight’, ‘age’, and ‘name’ “. Any…
  • (Rock, Paper, Scissors Game) Design a program that lets the user play the game of Rock, Paper, Scissors against the computer. The program should work as follows: (10 points) (1) When the program be…
  • Define a class named American which has a static method called printNationality.
  • Problem 3. (20 Points) Given the Covariance for two assets considered is Covariance= [[0.0625 0.0075] [0.0075 0.0225]] Write code to find the weights of the assets that minimize portfolio variance. Sp…
  • How can I replace one value with another in python? This is what my code and output looks like. Meanwhile my output is supposed to look like this. If you could explain this to me in excruciating detai…
  • entry = 0 sum = 0 print(“3, 2, 1, 0, 1:”) while entry >= 0: ¬†¬†¬†entry = int(input(2)) ¬†¬†¬†if entry >= 0: ¬†¬†¬†¬†¬†¬†¬†sum +=entry print(“Sum =”, sum) Would the results change if the conditi…
  • . Exercise 2 Create a Python program named vowels_count. Prompt the user to enter one line of text at the console. Given a string, count the total number of vowels (a, e, i, o, u) in it. At the conc…
  • Conference room scheduling. Find the nearest open conference room for a team in which a team can hold its meeting. Given n team members with the floor on which they work and the time they want to meet…
  • Here see below.¬† I am struggle with this how to write in¬†an¬†include pseudocode that describes all steps required to solve the problem, and¬†employ variable names that describe the values they store…
  • I need to run a Python package with the following module in the directory:¬† 1. Generaldistribution.py¬† 2. mydata.csv My directory is ready to install the package. a)TRUE b)FALSE
  • I want to create a python function that satisfy the following requirements: 1. Given a dictionary input where the values are multiple tuples inside a list, such as the following: ¬† ¬† ¬† ¬† {‘key1’: …
  • Hi, I need help with this problem please, its urgent. Write a program in Python about matrix operations to calculate: D = A ‘+ B * C’ E = C * (B + D) ‘- A Where A, B and C are matrices 4 rows by 4 col…
  • Im new to Python and I would like to convert this dictionary to string: my dictionary looks like: ¬† {“1”: [[[15], [1]], [[1], [15]], [[27], [1]], …., “2”: [[[1150, 15], [1]], [[1, 15], [1150]],…….
  • 18¬†LAB: Driving costs – functions Driving is expensive. 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 mi…
  • 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…
  • describe the purpose of a function and a module. Describe what the purpose of a void function. What is a value-returning function?
  • please help me with this python program Question 1. Generator Store all created Person, Student, Employee, Faculty, and Staff in a dictionary for examples: a,b,c… are correspondent objects ¬†data ={…
  • I need help with my python/html programming. I am trying to return the form data to a txt file in the following code: from flask import Flask from numpy import arange import datetime app = F..;@app.ro…
  • can you help to code this functions in python? Read & Write File — Tab Delimited : Write a function that takes the name of an input file and output file as an argument. Read the orders-data.csv f…
  • design a function that computes the nth Fibonacci number using recursion.
  • A program to convert an image to its color negative. The general form of the program will be similar to that of the previous problem. The negative of a pixel is formed by subtracting each color valu…
  • Create a Python program that uses a while loop and prompts the user for a series of inputs. You should use a sentinel value to signal when the loop should terminate. Calculate and display the sum of t…
  • . Part7 (20 points) a) Show the Stock, Year, High, and Low values as shown below. b) For each stock per each year, what is the largest High and the smallest Low price c) For the above problem, show …
  • I am attempting to swap variables, but only some of the input variables work. example input: that is working 3 8 output: 8 3 examples that dont work: swap_values(-1, 10) swap_values(9, 0) swap_values(…
  • PLEASE CODE IN PYTHON ¬† Test results for a multiple choice test can be stored in a text file as follows: Line 1: The correct answers, one character per answer Line 2: Name of the first student (lengt…
  • The image is broken but i took a screenshot of every page so you can sill read the question to understand. Each image has all the information The final project is to simulate a delivery truck. Each tr…
  • Problem 1 (20 points) Consider a learning scenario where the goal is to learn the target function f (x) = sin(xx) for -1 < < < +1 from two points in the training sets. The two training points…
  • Python uses all EXCEPT the following: Question 1 options: ¬† Functions (def) ¬† ¬† Conditionals (if, elif, else) ¬† ¬† input ¬† ¬† write
  • As in the picture below, create the gui that will create the grid as the spaces in the settings change, using python tkinter.. Settings Number of Gridlines 4 :: 17 First Empty Grid Spacing x 10 4 : 0 …
  • Can you help me figure out the fourth test case for this line of code? def test_before_space(): ¬†¬†“””Test procedure for before_space””” ¬†¬†print (“Testing before_space”) ¬†¬†s = ‘a b’ ¬†¬†introcs.a…
  • Read below and code(with explanation) Part 2 – Task A: Greedy Residual Fitting. Do not use numpy/pandas The test is: data = [[1, 0], [2, 3], [4, 2]] Y = [2, 1, 2] print(greedy_predictor(data, Y) The m…
  • I need to use a for loop at the end of this code to compare the two lists in pairs and display the larger number..for example compare the first elements, output the larger number…compare the second …
  • 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.
  • I help and steps to create a function to extract(txt) to find all integers in the text string txt and return them as a list (of integers). You can assume that all integers in txt are positive. They ca…
  • Create a Python Packet Sniffer. The sniffer will operate in Promiscuous mode and capture traffic for a period of no less than 5 minutes. Once the capture is complete your sniffer will report the follo…
  • Hi there! I have this question on a worksheet that I’m not very confident in tackling, and was wondering whether somebody could help me answer it. I have attached two images, one of the context and da…
  • For the next few problems, we’re going to write code to keep track of a list of movies that the user has viewed in the file¬†viewed_movies.txt. We will define a function that invites the user to tell …
  • import webbrowser This is items1.txt: bedframe 150 B071JGCBH8 box 5 B07JH5Q1JF calculator 40 B003822IRA playstation 299 B01LOP8EZC This is the code I have implemented so far: def get_content(): ¬†¬†fi…
  • NTRODUCTION these effects and part significant. ( Thesis Effect out be an exaggeration if we almost all aspects of life comle
  • python programming : 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: …
  • Create a program that: Creates a sales receipt, displays the receipt entries and totals,¬† and saves the receipt entries to a file Prompt the user to enter the Item Name Item Quantity Item Price Displ…
  • You start to manage 5 million dollars fund on Jan 02, 2018 You have a strategy to manage the fund. 1. On Jan 02 2018, you split the $5m into 5 $1 m, and use them to buy 5 stocks from the 10 stocks. F…
  • Write Python expressions corresponding to the following statements: a)¬†¬†¬†The length of the hypotenuse in a right triangle whose other two sides have lengths a and b b)¬†¬†The value of the…
  • Why are functions advantageous to have in your programs in python?
  • OMIS 230 Project Fall 2021 Develop a program for an electronics store that only sells laptop computers. The program would read information about the laptops from a "laptops.txt" text file, p…
  • from = “02/01/2012” to = “02/01/2014” dfSix = wb.DataReader( “DGS6MO” , ‘fred’ , from, to) dfOne = wb.DataReader( “DGS1” , ‘fred’ , from, to) #step1 Determine the average and standard deviation for ea…
  • Please give explanation of the answer as you are solving it , thank you !
  • The solution must be written in the Coral programming language, not Python. A program that reads a list of 10 integers, and outputs those integers in reverse. For coding simplicity, follow each output…
  • a program that determines the sales commission for a salesperson.¬†Sales people receive $200 per week plus 9% of their gross sales for that week.¬†For example, a salesperson who sales $5000 worth of m…
  • Curriculum Count (Pie Chart) – This will display a pie chart showing the Count of Active Paths / Courses / Sections / Events
  • Write short Python program that will ask the user for the number of pennies she has and tell her the equivalent number of dollars, quarters, dimes, nickels, and pennies.
  • class Block :" # 5 pts for constructor def_ init_ ( self , seq_ id , prev hash ) : self . sea id = # Set to what’s passed in from constructor self ._ prev_ hash = # From constructor* self . col …
  • 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…
  • RESTRICTIONS: You are not allowed to use ANY built-in Python data structures or their methods. Variables in the SLNode and LinkedList classes are not marked as private. For this portion of the assignm…
  • I was given a clear explanation and understand how to solve this question, but I don’t think I’m getting it.¬† For more information here’s the link to the notebook and files: https://colab.research.go…
  • Option #1:¬†Create a Python Application Write a Python Program that outputs this mouse: Assignment Instructions Install Python3 on your computer if you do not have it already installed it. You can dow…
  • Please provide python screenshots. thank you. I’ Safari File Edit View History Bookmarks Develop Window Help Q ‘9? 1)) 72%.v Sun 7:20:30PM Q ¬ģ 55 E ‘9; Ô¨ā datahubtucsdtedu C “P o [1’] ET] …
  • The date June 10, 1960, is special because when it is written numerically, the month time the day equals the year: 6/10/60->6*10=60 . Design a program that asks the user to enter a month (in numeri…
  • Please Help ASAP! Can someone try and help me write this program or provide a general outline (Deals with PPM images). We are only allowed to use basic python programming functions so please try to…
  • Hello tutor! This assignment¬†is supposed¬†to test on students’ understanding of reading and writing to a text file and working with JSON objects.¬† The methods should be worked in the order they are …
  • Question: Classify the plant leaves by various classifiers from different metrics of the leaves and to choose the best classifier for future reference. Maple Leaves Ltd is a start-up company which mak…
  • Program for a Student directory. Program should maintain student information such as names, Id’s, and the exam 1 score, exam 2 score and exam 3 score. Project description program with 5¬†arrays. 1.¬†?…
  • Canvas Create a program in Python that will analyze the sales of ice cream cones over a 7 day period. The sales are as follows: Day of the Week Sales Monday $1,524 Tuesday $1,647 Wednesday $1,324 Thur…
  • Case Study Domain -E-Commerce focus -Optimization Business challenge/requirement GoodsKart‚ÄĒlargest ecommerce company of Indonesia with revenue of $2B+ acquired another ecommerce company FairDeal. Fa…
  • Query: Find all non-stop flights for an airline. What is the name of the airline? Result: The non-stop flights are: $FlightNumber1, $FlightNumber2,
  • use df below to get the three highest values from student marks. AFTER EXECUTING THE CODE, THE TEST CASE SHOULD GIVE THE OUTPUT BY VALIDATING THE HIGHEST VALUES.
  • I need the code in function form 11.6 User-Defined Functions: Output values below an amount CHALLENGE ACTIVITY 11.6.1: Output values below an amount. Start Write a program that first gets a list of si…
  • 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…
  • Hello friends. I hope all is well. I need help with this assignment: Determine the union, intersection and difference of the square and cube of integers ranging from 1 to 100. Sets are clearly the way…
  • Can you explain the line that I marked? it would be a great help for me thank you.¬† ¬†. # Calculate the grade point average of all courses and return a string def displayGPA(self ) : gpa = 0.0 try: f…
  • Using pandas,how can i write this. Thank you. b. Filter for and remove any dud records where there is no value for SiteID or there is a mismatch between SiteID and Location. (This script should print …
  • How would you write this program in PyCharm? Discuss the challenges faced when writing this program.. Problem 2: Fibonacci Seouenoe The Fibonacci sequence is a series of numbers given as follows l(1,1…
  • how can I complete this program using only fundamental skills?(question from an elementary course) thanks! 2. in’ou are required to write a program for the user to input the character line by line u…
  • I needed help with pandas (Python) how to plot in python
  • Amazon wants to test the use of Python for its new shopping cart. For this, it asks you to make a prototype, in which the products are represented by numbers from 1 to 5: 1: Pokemon X Game for Nintend…
  • System description Create a program of given description. Let’s be a class that composes a simple bank account. This class has a field that represents the balance of the account (balance: Integer) and…
  • I need help in importing an excel file to Python, I have the the excel file made but I am having trouble importing my excel file into python. I need to find the difference in US counties from 1990 to …
  • I need help asap for this code please and thank you! Helper Functions (can also add additional help functions): ¬† Main Function I need help with: ¬†. def transform_string(s: str) -> str: "&…
  • one function named¬†get_highest_sum. This function should have one parameters, a 2D list of numeric values. This should should look at every pair of integers in each row, and return the highest sum. F…
  • import sys #This will import the sys def compute_all_month_stats(filename):#This is the function called compute_all_month_stats ¬† ¬†m=[] #This is the empty master list ¬† ¬†try: ¬† ¬† ¬† ¬†f=open(fil…
  • The drop_course method drops a student from a course. It has one parameter: c_list, which is the list of Course objects. It asks user to enter the course he/she wants to drop. If the course is not of…
  • 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 …
  • Please I want the code of this list python exercise. Assume that Numbers is a list of numbers, and the result refers to an empty list. Write loop that adds the nonzero values in numbers to the result …
  • Please create a python¬†module named¬†homework.py¬†and implement the¬†classes and methods¬†outlined below.¬†Below you will find an explanation for each class and method¬†you need to implement. When yo…
  • Python Assignment https://drive.google.com/drive/folders/1igVyWLENfuF27tGxAJ__eisPLaHU2dVw?usp=sharing ¬† Find in the document the Assigment_Project Transversal Exercise, and the Distributed_P.txt fil…
  • Task 3: Unionized Workers This exercise explores three methods of computing the same thing, and their performance. These problems use the 1985 Current Population Survey data,¬†cps.csv.¬†(Sample provid…
  • Banking Machine Part II 1) Combine two of your previous assignments: your bank machine (4.1) and your login (6.3).¬† ‚óŹ The log in should allow you 3 attempts to get the password right. If the user g…
  • Code to do: Huffman Import:¬† Utils Import: ¬† Written part to make it easier to copy: from __future__ import annotations import time from huffman import HuffmanTree from utils import * # ============…
  • I need help implementing the second function, I already created the first function but not sure how to traverse from the initial port, im new to python, appreciate the help, I have put comments for th…
  • Write a function¬† count_character(filename, character) ¬†that takes in a filename and a character, both as strings, and¬† returns¬† the total number of times the given character occurs in the file.¬†…
  • How can I c reate a Python program that prompts the user to enter a number of yards, and then calculates the number of miles and yards, as well as the number of feet, and then prints the results.
  • Generate a modest Web page via Python flask. It should include basic components of HTML. The Web page should have at least three Headings(<h1>), a paragraph (<p>), comments (<!– –>…
  • I have set up a dictionary with the values shown in the picture, using a call function with “def pairwise interactions”. How can I generate a scatterplot, based on what I have shown, with the values o…
  • 09 – It’s as Easy as A-B-C, 1-2-3 10 coding python Given a string, return a dictionary whose keys are the set of unique characters within the string and whose values are the count of occurances of eac…
  • Premise: Adam is so good at playing arcade games that he will win at every game he plays. One fine day as he was walking on the street, he discovers an arcade store that pays real cash for every game …
  • Assignment Instructions Week 5 Assignment: Storyboard and Flowchart Solution¬†¬† ¬† Instructions: Create a FLOWCHART and a STORYBOARD for each problem. Use the information below to create a storyboard…
  • : The grades at Koala University are awarded based on the number of marks awarded for the course out of 100. Marks of 90 or above receive the grade of “gum leaf cluster”. Marks less than that but of 6…
  • A protected member of a class may be directly accessed by Select one: a. Methods of the same class b. Methods of a subclass c. Methods in the same package d. All of these Question 2 A subclass class c…
  • . 1. AtA= -2 2- -30- 18 7 – Solve the following (if possible): a) AC b) CA C) AB d) BT A e) (AC)B
  • Hi, just wondering how you would treat different files different depending on their extension when you are trying to read them line by line. Basically i want to be able to read any extension file and …
  • . Question 4 What are the values of the boolean expressions? Partially correct Mark 0.33 out of 1.00 boolean sol1 = -10 = = 3 && -8 < -9; Flag question boolean qat2 = 8 != -1 && 4…
  • Write program that has dictionary of names of five cricketers and a list of their runs in 5 matches. Creat another dictionary from this dictionary that has name of the students and their total runs (s…
  • I need help writing the code for to make a list that contains the months of the year. Then I want making a list that will loop and will print the Month and Month number next to each other.
  • Working to come up with a function that will return a list with every odd number up to a given digit. For example: odds_up_to(20) # [1,3,5,7,9,11,13,15,17,19] def odds_up_to() ¬†start = int(input(“Ent…
  • I am unable to solve this problem i need help solving it. https://gofile.io/d/Li5N1U A dictionary is a list of elements where each element can be accessed by an object instead of an integer index. For…
  • The first program must accept inputs from a user, performs an operation using a user-defined function which will accept parameters and return result displayed on the console
    • Consider the data in Figure 1, there are two variables, i.e., x1 and x2. Is the data linear separable? (5 points) (b) Suppose we want to train a support vector machine for the data in Figure 1, wh…
  • . CHALLENGE ACTIVITY 8.5.1: Loop else. 376428.2357430.qx3zqy7 Jump to level 1 – Type the program’s output 2 result = 0 n = 3 3 while n > 0: print (n, end=! ") result += 3 4 n -= 1 else : pri…
  • 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…
  • Write a program to remove all duplicates from a list. a. def createList()- allow the user to input data into the list b. def removeDuplicates() – function will remove duplicates c. def main()- cal…
  • Implement recursive function webdir() that takes as input: a URL (as a string) and non-negative integers depth and indent. Your function should visit every web page reachable from the starting URL web…
  • INSTRUCTION:¬† You will modify the Invoice program so that the program formats currency values correctly. You will also add and calculate a shipping cost to the output.¬† Review the code and run the p…
  • complete the following Programming Exercise from Chapter 13: #1 Name and Address¬† ¬†(you can make up a fake address for the assignment). ( optional Extra Credit ) #3 Miles Per Gallon Calculator.
  • Below is main.py script Below is customSort.py Values.txt will be a list of 10,000 integers below is a sample, but it’d be easier to use a any random 10,000 integers.. In class, you have gone over …
  • Make a program that calculates the hourly wage of a typical worker. Two variables are needed: a rate per hour and a number of hours worked per week. Insurance, PAG-IBIG/SSS contributions, loan deducti…
  • Make a program that takes two inputs: 1) The name of a file with extension .txt saved in your current directory (you can run a cell with command !ls to list files in your current directory) 2) The wor…
  • program that uses nested loops to collect data and calculate the average rainfall over a period of years. The outer loop will iterate once for each year. The inner loop will iterate 12 times, once for…
  • I need help with my code. when I input 6 to exit , it doesn’t actually exit. it just shows me the menu again. what do I need to do to my code for it to actually exit and print, end of program when use…
  • I have two data frames. One is I generate the top ten movies recommended for each user. (screenshot 1 shows new recommendation is top ten movies ID for the user)Another is a rank of popularity rate fr…
  • Using Standard and Non-Standard Python Libraries to Implement Functions ¬† We have often used the term “don’t reinvent the wheel” in various contexts. It is a term much needed in programming. A new pr…
  • please answer this using python codes #1: How Does the Temperature Vary During the Day? If you enter a search term like “New York weather” in Google’s search engine, you’ll see, among other th…
  • python help do not use built in functions for these. In this section we’re going to explore manipulating image files, specifically PNGs. Images are generally stored in arrays of data known as matrices…
  • Implement a chat server in Python. There are two main components, the clients and the server. The server will be started before the clients. You should use TCP sockets for communication. The server us…
  • A furniture company produces 5 different products (A,B, C, D, and E). Each product requires certain amount of linear wood, glue, stain, and production hours. The detailed requirement can be found in t…
  • Please solve all problems For both problems, do not use global variables. You must demonstrate correct parameter passing. A cou nty collects property taxes on the assessment value of property, which I…
  • This is the link to the csv file: https://docs.google.com/spreadsheets/d/1vUM9K3XSPQ1zA_TBNH8G5VWF-sKJP_eBzDx9s0IxWNk/edit?usp=sharing
  • Many studies have been conducted to describe the relationship between the trade activity(volume) and the price change. Ask (Sell) and Bid (Buy) orders on the border book might signal the direction of …
  • Code to get the solution for this problem from Probability distribution. Code for the general case.
  • Fun√ß√£o¬† soma_numeros(t, n) ¬† Escreva uma fun√ß√£o recursiva em Python, chamada¬† soma_numeros , que recebe dois argumentos, um tuplo¬† t ¬†de n√ļmeros e um inteiro¬† n , e que devolve a soma dos¬†…
  • coral language with while and for loops. Home x Content X zy Section 3.21 – PRG/211: Algorithm x zy Section 3.10 – PRG/211: Algorithm X + V X > C a learn.zybooks.com/zybook/PRG_211_55209759/chapter…
  • I am enrolled in CSC 120 and CSC 121 at Wake Technical Community College and i am not familiar with the software we are using for the classes called Python and Pycharm Jetbrains, I need some help on a…
  • Rubber Tube 20 cm Trial 1: Velocity = 1.47 m/s 11: 2.34 m/s 2: 4.23 m/s 12: 5.23 m/s 3: 1.43 m/s 13: 1.63 m/s 4: 2.08 m/s 14: 1.88 m/s 5: 2.08 m/s 15: 12.41 m/s 6: 3.83 m/s 16: 1.37 m/s 7: 2.11 m/s 17…
  • Write a function¬† listSorting(lst1,lst2) ¬†which takes two lists: lst1 and lst2. The items in two inputs list are containing the information of names of the employees and their¬†ages. The function is…
  • Chapter 9 Programming Exercises ¬† #10¬†complete the following Programming Exercises: #5¬†Word Frequency. Hint*:¬†you will need to add some text into the sample text file that you create for this prog…
  • ¬ę Pouilleux ¬Ľ. On va l’impl√©menter maintenant avec des classes et des objets. Une carte va √™tre un objet de classe Carte. La classe Carte a deux variables de type chaine de caract√®res (valeur et …
  • 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 does …
  • Write a boolean expression for the following |x – 5| < 4.5 |x – 5| > 4.5
  • What is the run-time complexity of the following algorithm, in terms of n and m?* def print_all_codes(n, m): ¬†¬†def print_01_codes(current, num_digits): ¬†¬†¬†¬†if num_digits == 0: ¬†¬†¬†¬†¬†¬†print(…
  • Creating a banking program with classes for Python . Please reference the inheritance diagram to create the parent class and two child classes. The program will create an object of each type (Checking…
  • MIST 6150 Data Quality for Business Analytics Problem Set 3 You are required to use Python to complete this assignment. The goal is to practice your skills of handling data using Python. It has two pa…
  • . Question 1: Empirical Programming (100 points) Competitive Auctions on eBay.com. The file eBay Auctions.cav contains information on 1972 auc- tions that transacted on eBay.com during May-June 2004…
  • Im not too sure how to get this part done, can someone show me? You can test it with¬† ¬† c = Cinema(“SA Cinema”) t1 = c.add_theatre(120) t2 = c.add_theatre(80) t3 = c.add_theatre(60, “3D”) t4 = c.add…
  • 1 . 6 Run the evolution for 30 generations by repeating the above steps. Calculate the hypervolume using the worst objective values (f1*, f2*) obtained in Question 1.2 as the reference point and plot …
  • i need python code for¬†any¬†part ¬†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 …
  • Hello, I am working on a short program in Python where it needs to figure out the minimum and maximum values out of 5 integers the user inputs. I am very new to Java and I wrote my code based on my te…
  • According to the Value Proposition of Dataiku, by automating both design and production to reduce repetitive work and maximize quality, Dataiku helps organizations to
  • I’ve completed the transfer from Pseudocode to Python code. If someone can build on mine and let me know where and what I am doing wrong would be awesome! I have attached both the Pseudocode and my Py…
  • Please help! Deliverables: You must submit your .py file. Name the file: lastname_firstname_assign14.py. Example: bond_josh_assign14.py Exercise 1. Write a program that accepts an uppercase sentence a…
  • I need some help with making the dictionary and pulling the information. ¬†Every time I do it, it pulls it all together. ¬†I’ve tried making on dictionary of all the information. ¬†I made three dictio…
  • Pos system project, an application as a console which will not have a GUI( graphical User interface) . Use Spyder The retail store file. 2.1)You need to load the inventory data from a file called Reta…
  • Hello, I am being asked to write a function for a binary search tree program ( _find_path) that will find the shortest path between two nodes in the tree. After getting many errors, and trying to comp…
  • Irreducibility Irreducibility is a central concept of modern Markov chain theory. Let¬†P¬†be a fixed stochastic matrix. Two states¬†x¬†and¬†y¬†are said to communicate with each other if there exist po…
  • Do research in following topic Normalization is used to reduce inconsistency, errors, and redundancy in in Relational Databases. How NoSQL databases (You can use MongoDB as example) achieve the same g…
  • QUESTION¬† 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 = “OKC” …
  • Could you solve this using python programming? Write a program that lets the user enter the total rainfall for each of 12 months (starting with January) into an array of doubles. The program should ca…
  • . Page 7 of 16 Stock Class Stock +name: String +asset: String + dailyPrices: DailyPriceList +dividend: float +boughtAtPrice: float +sharesOwned: int init_(self, name, asset, dailyPrices, dividend, b…
  • Solving a system of linear equations by computing the inverse The Gauss-Jordan elimination method can be used to determine a matrix inverse (only possible for a square matrix with non-zero determinant…
  • The input file you will use for this is the ‘mbox.txt’ file.¬† It can be found at¬† https://www.py4e.com/code3/mbox.txt .¬† A shorter file for debugging can be found at¬† https://www.py4e.com/code3…
  • Write an original python program that uses databases and SQL. You should list a clear problem and how using databases can solve it. Make sure your database includes at least 2 tables. Also, make sure …
  • is_valid_path( self, path: []) -> bool: This method takes a list of vertex names and returns True if the sequence of vertices represents a valid path in the graph (so one can travel from the first …
  • Personal Information Class Design a class that holds the following personal data: name, address, age, and phone number. create appropriate accessor and mutator methods. Also, design a program that cre…
  • We have provided some synthetic (fake, semi-randomly generated) twitter data in a csv file named project_twitter_data.csv which has the text of a tweet, the number of retweets of that tweet, and the n…
  • My object is a fighting game that has a list of characters, it has one function to tell which characters are male and which characters are female. In python code.
    • Coding Guidelines ( The question picture is attached down below here are just guidelines ). 1- Comment your code where necessary to improve the readability of your program. 2- Use the try-except to…
  • a program whose input is two integers and whose output is the two integers swapped. Ex: If the input is: 3 8 the output is: 8 3 Your program must define and call the following function. swap_values() …
  • this is a GUI design for property taxes… The assessment value and property taxes should be displayed once the CalcButton is clicked… I have written the program.. but there must be an error in the …
  • Solve only task 3 and 4, you have to take inputs from a .txt file¬†, USE python, you are allowed to¬†use built in list, dictionary, arraylist and queue. For task 4, write the answer in your script, an…
  • could u aid with this. Make sure to use strings and seperate the function and main file. 4. Implement the following function in the PyDev module functions. py and test it from a PyDev module named to4…
  • = (“How did you do?") print(“I’m gladl”) 19. Redo the code from Question 18 so that it performs exactly the same as described in Question #18, in terms of how the program behaves, but so…
  • Fernanda Oliveira is a financial analyst for Expo Events, a full-service trade show and exhibition company headquartered in Orlando, Florida. Fernanda created a workbook containing det…
  • 22 LAB: Expression for calories burned during workout ¬† The following equation estimates the average calories burned for a person when exercising, which is based on a scientific journal article (so…
  • 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…
  • can you please please help me in my code, can you add below things in the code and give me the correct output…….. as soon as possible help me, please…… ¬† # Python Script to Extract tweets of …
  • # TODO Name: What is your Name? # TODO Date: What day is today? # App Name: Student Registration # App Description: Program that prompts and validates student information ¬† from os import system ?…
  • Using the core concepts of Python language, and the hints given above, create a Python program to calculate an average of a given array of number and output all numbers that are higher than the averag…
  • Using this dataset: https://www.kaggle.com/paultimothymooney/predict-diabetes-from-medical-records/data I want to write a python code to use CART random forest to predict y= DiabetesPedigreeFunction. …
  • Trendy Gifts is a shop that sells various gift items. They want to promote their business by selling their products online. A part of the software requirement is given below.¬† ¬† a. The items being s…
  • This is the code I am working on. I need a help with the function def best_split(self, X,y) , the code I wrote is showing an error, can not understand why. ¬† Thanks. Here, columns @ and 1 represent n…
  • Below there are four parts to complete the code. The questions are, First make a function to generate a list of all possible coin combinations up to a certain amount. Second, filter invalid solutions….
  • find the zero of a function f (f (x) = 0), can be programmed by supplying the function and its derivative: double f(double x) { return x*x-2; }; double fprime(double x) { return 2*x; }; ¬† algorithm: …
  • 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…
  • Beyond the tick rule: Lee-Ready algorithm (30p) To improve our accuracy in identifying trade initiators, we can use more data. In particular, we can use the best bid and ask prices (since a market buy…
  • . Assignment 4 in this assignment, you will create a records file containing a number of students, courses they have, the credit of those courses and the grade they have received in each course. You…
  • In your .py import requests . Extract information of popular python libraries and the number of downloads using requests.get() .¬† Link to the data – https://hugovk.github.io/top-pypi-packages/top-…
  • Requirements: ¬† 1. The data analysis editor’s user interface is shown in Figure 1. It consists of the ten-lines menu of commands, followed by a blank line, followed by the command prompt (a colon fol…
  • import random def get_determiner(quantity): ¬†if quantity == 1: ¬† ¬† words = [“the”, “one”, “a”] ¬†else: ¬† ¬† words = [“some”, “many”] ¬†word = random.choice(words) ¬†return word def get_noun(quanti…
  • In the attached file, I implement the structure of a solution based on a strategy pattern. The solution allows the client code to choose from three different sorting algorithms. These are (1) PR_Queue…
  • I need help ASAP w/ writing code on python for my programming homework. I cannot use recursion or list for this problem. longestCommonSubstring(s1, s2)[25 pts] Write the function, longestCommonSubstri…
  • a python script called addition.py that will compile a group of numbers with a sum of at least 1000. ¬†The details of how it works are below: When it is run, it will ask the user for a number. ¬†The…
  • Prove that the derivative of the sigmoid function can be written as o’ (z) = o(z) . (1 – o(z)). do(wx+b) 2. Using the chain rule of differentiation, prove that =o(w x+b) . (1 – o(w x+b)) . x. Sw
  • Write the class Vector that suppors the basic vector operations. Such operations are addition (+) and subtraction (-) of vectors of the same length, dot product (*) and multiplication (*) of a vector …
  • please help with the conditional method asap! ¬†. 2.2. Template. A template for the class is provided with this assignment on D2L, with the _init_ method already defined, and a plot-pmf method that pl…
  • This is the library i use for the get_weather.py: ¬†https://docs.python-requests.org/en/latest/ this is the weather service: https://wttr.in/Boston?format=j1¬† ¬† ¬† ¬† Your program will need¬† three …
  • 1)¬† Import math library.¬†Place the ¬†2 digits number 21 in ¬† input_1 and ¬†3 digits of number 342 in variable input_2. Calculate the square root of input_1. Assign the value to variable ‘b’. Cal…
  • Option #1:¬†Working with Python Classes For this assignment, you are given two complex numbers. You will print the result of their addition, subtraction, multiplication, division, and modulus operatio…
  • Could you show me how to fix this? ¬† ¬† ¬† ¬†. Label Fixing Function Name: fixLabels() Parameters: labelList ( list ) Returns: list of correct labels ( list ) Description: While working at a store, y…
  • The following code produces a microscopic image of a bacteria that are overlapping shown below after the code >>>import numpy as np >>>import scipy as sp >>>from scipy.ndima…
  • . Q1. Define a function to analyze a numpy array (5 points) File "hw2_data.npy" contains an array describing term frequencies of each document (which is referred to as document term matrix…
  • Compltete the following exercises in Python using https://py3.codeskulptor.org/ ¬†. Exercise 2: 1. Add your name, date and assignment name at the top using comments. 2. Enter the following line of cod…
  • In Python, a variable is a placeholder or container where information to be used within a program can be held. Each variable has a name and a type. , describe Python naming restrictions, then assign t…
  • For the 4 States create two graphs, one showing the ‘Home.Value’ as function of Year, the other the ‘Land.Value’ as function of Year. Each plot should show 4 data points and lines, one per State, in d…
  • The issue I have is that I do not understanding with this problem is the output and also how the program is suppose to be in two different files. I can get some of it to work when it is all combined i…
  • I Need a Python Code where i simply input the C++ code and they give me output like this that is given in Below Screenshots¬†. Q # Lexical Analyzer implementation a) To recognize keywords(32 keywords …
  • # E. not_bad # Given a string, find the first appearance of the # substring ‘not’ and ‘bad’. If the ‘bad’ follows # the ‘not’, replace the whole ‘not’…’bad’ substring # with ‘good’. # Return the res…
  • how to write program that draws the following diamond shape: (The user decides how many rows to print and enters a value to do so). Hint: Try breaking the task up into the following 4 different shaped…
  • Functional programming ¬† Fucntional programming is the style of programming where a problem is decomposed into a set of functions. Ideally, functions only take inputs and produce outputs. lambda expr…
  • # q2 – create function numCount() to meet the conditions below # ¬† ¬†– accept two parameters: a list of arbitrary numbers and an integer value # ¬† ¬†– add a meaningful docstring # ¬† ¬†– searchs the…
  • Write a function called¬†missing_letters¬†that takes a string parameter and returns a new string with all the letters of the alphabet that are¬† not ¬†in the argument string. The letters in the return…
  • I am trying to run a python code in Spyder but I keep getting the error message: ModuleNotFoundError: No module named ‘numpy’ How to fix that problem? Spyder (Python 3.7) X File Edit Search Source Run…
  • Following the QuadraticSpline example code in Lecture 18, I need a general LinearSpline¬† function. The code should take as input, 1D arrays x and fx, that consist of the data point locations, x, and?…
  • This function can be used to modify our program to Ô¨Ānd the maximum as follows: def main”: numValues = input("Enter the number of data values to analyze: ") A = getData(numValues) i = 0 m…
  • Hi, I created a program and had it running before Christmas but now I am getting a ” ‘return’ outside function error” when I fix that I am getting a “expexted an indent block” error. I don’t know what…
  • Implement the function vowels() that takes as input a string and prints the indexes of all vowels in the string. Hint: A vowel can be defined as any character in string ‘aeiouAEIOU’ Write function dou…
  • you will do 2¬†things: Solve the problem in an algorithm Code it in Python Problem: Cookie Calories A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10 “serv…
  • I need help solving these three questions about python 2. R-11.5 Dr.Amongus claims that the order in which a fixed set of entries is inserted into an A VL tree does not matter-the same A VL tree resul…
  • Question: 2.1 Function 0 … (define nums (list 1 2 3 4 5 6 7)) (define face (list #\J #\Q #\K)) (define symbols (list #\H #\S #\C #\D)) 2.2 Function1 … ¬† i. ; F1 the cards (define (in? val lst) (c…
  • This assignment is based on Exercise 7.1 from your textbook.¬† Part 1 Encapsulate the following Python code from Section 7.5 in a function named¬†my_sqrt¬†that takes a as a parameter, chooses a starti…
  • Help with Python program to read the stock price data of Apple in the attached file or in the link below. ¬†aapl.csv ¬† Then Show the first five records in the data with the head function. Then Use th…
  • For the homework: https://www.coursehero.com/tutors-problems/Python-Programming/34687975-The-HOUSES-dataset-contains-a-collection-of-recent-real-estate/ ¬† How can we handle the data to fit a regressi…
  • PROJECT: PIZZERIA PROGRAM Jeff has a small restaurant which serves 3 different types of pizza (Pizza A, B, and C). In order to cut down on costs, the owner of the pizzeria wants to know how much they …
  • Run Length Encoding (RLE) is a simple method for data compression which does not lose any information.¬† Suppose we are given a string in which the same character is often repeated several times. We c…
  • In the file test_company_api.py , you will find test method stubs. Create the following four tests for each of the API endpoints: Validate the HTTP status code is 200 . Validate the schema matches the…
  • https://www.swamiiyer.net/cs110/project6.pdf Problem 1-3 in python
  • Working with 2D list:. Suggested time to complete: 20 min Create a Python function called diagonal_sum(lols). This function takes one parameter lols, a list of lists containing positive integer number…
  • Assume that you have to fill a water tank by using cups of different sizes. Available cup sizes are¬†0.5, 1, 2, 5, 10, 20, 50, 100 liters. How many different ways are there to fill a tank of arbitrary…
  • A script to writing to files ¬† Use the template:¬† def append_file_string(file_name, string_of_lines): # Takes two strings, appends the string to the end of the file def write_file_list(file_name, li…
  • Write a program to get the number of events and event details. Then, calculate whether organizing the event will lead to profit or loss. The profit or loss will be calculated by a separate thread. Cal…
  • In python please solve this. CLUB MEMBERSHIP TRACKER 1- Add Member Club Membership Application 2- Report 0- Exit Choice: 1 Our club needs a software that can keep track of our Member ID: 23652 Member …
  • can i get help in coding this function in python? Task You will implement some basic classes and methods to manage telephone plans. A Plan can have multiple Phone lines and include a record of multipl…
  • Having some trouble configuring these problems properly in python. Problem 1. (Basic Stats) Write a program stats.py that writes the mean ¬Ķ, variance V ar, and standard deviation ŌÉ of the floats x1,…
  • iven a group of boxes carried on a trolley, it is requested to arrange these boxes on top of each other to reach the minimum possible height. To enable the man to control the stability of the boxes, i…
  • import requests import json Ann_Arbor = {“term”: “Ann+Arbor”} page = requests.get(“https://itunes.apple.com/search”, params = Ann_Arbor) itunes_data = page.json() print(type(itunes_data)) print(sorted…
  • Part A: In PyCharm, write a program that prompts the user for their name and age. Your program should then tell the user the year they were born. Here is a sample execution of the program with the use…
  • Hi, Can you help me write the pseudocode for this python language program? The details are provided in the image below along with the second picture explaining the N-Queens Puzzle. (Ignore the text in…
  • Code in python. Use a threshold-based method & a fixed size window to find anomaly events. The window step size should be 1. Use numpy.percentile¬† linear ¬†method to calculate percentiles of the …
  • what is the key idea for this, program (Play Lotto 3/21 and Win!) using 3 nested loop?
  • Question: 2 Design the Bus and Passenger class so that the given code generates the¬† following output. b=Bus(“Volvo”,{“Chittagong”:1200,”Cumilla”:700,”CoxBazar”:1500}) p1 = Passenger(“Bob”, “Chittago…
  • Backward String Design a program that prompts the user to enter a string and then displays the string contents backward. For instance, if the user enters “gravity” the program should display “ytivarg….
  • Using the IDLE development environment, create a Python¬† script ¬†named¬†tryme4.py.¬†(Note: an alternative to IDLE is to use a free account on the pythonanywhere website:¬†https://www.pythonanywhere….
  • The data was polluted in a significant and correlated manner during a certain interval [t1,t2] of half-hours.Your task is to identify this interval [t1,t2] as closely as possible, using covariance ana…
  • ux memory on an Intel x86 architecture below, aces.
  • Load the Given data set fruit.csv, which contains the samples of fruit’s mass, height, and name. ¬† ¬†https://raw.githubusercontent.com/franklin-univ-data-science/data/master/fruit.csv ¬† ¬†colu…
  • Input is Hello world 4 My output text to encrypt: Hellow world distace: 4 Lipps$asvph the problem is that its supposed to be Lipps${svph and im not sure how what i did wrong and what im supposed to do…
  • Need help in python. 2. Try to understand the if statement and if. else (single and dual alternatives). a. Write a program that will prompt the user to enter a string and assign to variable astring. T…
  • what is a pseudocode for a Mortgage loan calculator in python?
  • I am trying to find out how to use the HTML code found below in Python programming language. I would like to use it in the same format that is used in the Python code found below the HTML code. The go…
  • please help in python juypter only ¬† ¬† ¬†¬† You can download the csv file from the page, or use the pandas_datareader to load the daily data of 2019-2020 into dataframe for APPLE stock link to stock…
  • Please translate from Python style to R style. In [ ]: import pandas as pd import matplotlib. pyplot as plt import json df = pd. read_cav( ‘ amazon_report.csv’ ) pd. set_option( ‘display .max_rows’ , …
  • Python Programming ! LINK TO DATA : https://raw.githubusercontent.com/pomber/covid19/master/docs/timeseries.json¬† Goal We want to build a program that charts corona virus cases for the top x countrie…
  • The list¬† names ¬†where each element is a string in “First Name Last Name” sequence. Derive a new list from¬† names ¬†where the string is in “Last Name, First Name” sequence. Use list comprehension t…
  • Problem Background Student data at a low-budget university is stored in a simple csv file named student_data.csv which you can download from D2L. The file includes one line for each course the student…
  • I finished the code but it is not. I commented on on where I need help fixing errors, It says,”NEED HELP HERE”. The problem is with the last fucntion, day_of_year() Scenario: Your task is to make and …
  • Write a python program using Pandas to create and display a one-dimensional array-like object containing an array of data.
  • . g. [6 points] Creating views. Create a view (virtual table) called good_collaboration that lists pairs of actors who have had a good collaboration as defined here. Each row in the view describes o…
  • how do i perform this function with astricks?¬†Output an eight with asterisks.
  • Define a python function ‘australian_tennis(d)’ which reads a dictionary of the¬† following form and identifies the player with the highest total score. The¬† function should return a pair (playername…
  • Algorithm The optimal strategy for a game like this, assuming you don’t know the person thinking of the number well enough to make an informed guess, is as follows. – Keep track of the range of …
  • Can you give me proper presenatation about ¬†image compression algorithm of image processing?can you give me main point to describe and it process ?And the result and coclusion
  • Write vpython program using vpython and numpy. The topic is simulation of state of matters. needs to visualize the how the molecule in container will react in different state of matters i.e. solid liq…
  • check the optimizer (solver) functions used by sklearn.linear_model.LogisticRegressionCV. For each function, explain in around 100 words what they mean; specifically: [8 points] What does newton-cg me…
  • Having problem with this Python assignment. PLEASE pring the code in the answer TASK I Implement a class Country that holds the information about a single country ; name the file country . p`. Instanc…
  • BerryField The berry eld must maintain and manage the location of berries as a square Row X Column grid with (0,0) being the upper left corner and (N-1, N-1) being the lower right corner. Each space h…
  • In this project you are asked to write an interpreter which uses the top-down recursive-descent method to parse and evaluate a very simple programming language. The tiny language’s grammar is given be…
  • The Pseudocode ¬† Module main() ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† //Declare local variables ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Declare endProgram = “no” ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Declare Real notGreenC…
  • I am using Python ONLY, please do not provide answers in any other coding language as I am only studying Python. Thank you Task : Correlation Coefficient ūüéĮ Need a function, corr_coeff(x,y) ¬†that…
  • Is there any lab material for Data Analytics concerning Linear regression and Text Classification?
  • I am trying to understand how to loop a list that will display months of the year monthsOfTheYear = [‘January’,’February’,’March’,’April’,’May’,’June’,’July’,’August’,’September’,’October’,’November’,…
  • This assignment will extend Unit 7 Assignment 1. Submit your code to that assignment first or keep an old copy before you begin modifying it for this assignment. The input data will look the same in t…
  • how to code about these two question ( python programming) 51. Multiplexing STS-1 multiple data streams, called tributaries, plays an important role in SONET. A 3:1 multiplexer multiplexes three input…
  • Mad Libs are activities that have a person provide various words, which are then used to complete a short story in unexpected (and hopefully funny) ways. Write a program that takes a string and an int…
  • . Design an OOP System for an Elevator. Your design that you submit should at least 2 classes / entities that you would define. Tips: 1- Think of high-level abstraction of a behavior or functionalit…
  • Explain the basic match paradigm in Perl (how do you tell Perl to try and match)?¬†Provide some examples with delimiters.¬† 2.¬†¬†Explain at least six quantifiers and provide their metacharacter…
  • Starter code: number_of_cookies = int(input( “How many cookies?” )) number_of_dozens = None # TODO: Replace None with the correct number of whole dozens. (Whole numbers, no decimals.) My code: number_…
  • PROVIDE PYTHON CODE for the following: Consider a single-neuron perceptron with a hard limit transfer function (hardlim).¬† Using the single-neuron perceptron, solve the three simple classification pr…
  • help me check my code! https://drive.google.com/file/d/178Lq4guW0dWNpmBtKDIB9gPol1TH5P3J/view?usp=sharing¬† this is the link for the txt. file l used! 1. Find a piece of text, and save it to your comp…
  • Write a function called¬†arrange¬†that¬†takes a list of integers (positive and negative) as an¬†input parameter. The arrange function must¬†use a¬†deque¬†data structure to arrange the integers so the …
  • https://www.coursehero.com/tutors-problems/Java-Programming/32855984-USING-JAVA-Should-have-an-input-txt-and-an-output-txt-Description/ ¬† I have this same exact question, only I’m coding this in Pyth…
  • For this exercise, you will try to solve a problem using functions. Take a number from the user. Print all prime numbers lower than this number Must write a function with the name of is_prime This fun…
  • columns is column 8 , then the error row number and column number indicate which bit in the payload is in error . Flip that bit from a O to a 1 , or from a I to a O Return the repair status ‘ CORRECT…
    • Write python program to request the program user to input a number. Then display the result of summation of the values from 1 to this number? 9)Write Python function called DoubleChars which input …
  • print(‘Enter x: ‘) x = int(input()) print(x) ¬† #Student mistakenly is echo’ing the input to output to match example print(‘x doubled is:’, (2 * x))
  • The purpose of the homework is to create a python code that prints the bolded statements under sample interactions for each question. On page 1 of the document is the guidelines for the overall assign…
  • While working in python web scraping for a website how can I make sure that there are no duplicated links in the output file if href can be of use here. I want a csv output file.
  • . 2 HW3 (1).pdf – Adobe Acrobat Reader DC (64-bit) X File Edit View Sign Window Help Home Tools HW3 (1).pdf X (? A Sign In 2 + 82.2% Search ‘Redact’ Task 1: Numerical Analysis 2 Export P…
  • Please!? # 3 points: # create the function named exampleFive, that will have one input parameter. # change it so all of the question marks are gone # example: ????Why am i doing? this? ??? => Why a…
  • You can here download two files each containing 10000 integer values. The main difference between the two files is how the integers are formatted in the file. ¬† Write a program read_numbers.py that r…
  • import pandas as pd import numpy as np data = pd.read_csv(‘NVDA.csv’,index_col=0, parse_dates=True) #data = pd.read_csv(‘NVDA.csv’,index_col=0) #data.index=data1.index.astype(‘datetime64[ns]’) stock =…
  • Rewrite your pay computation to give the employee 1.5 times the hourly rate for hours worked above 40 hours. Please. submit your program and the results here as screen caption. Below is what you want …
  • To adapt/enhance/build on an existing code set (using your project 2 program) to meet new requirements as specified in this project description. By completing this project, you should gain experience …
  • Have you ever heard of the game Mastermind? If not, below is a short video on the game: ¬†https://www.youtube.com/watch?v=dMHxyulGrEk¬† You will create a similar game, but with numbers instead of c…
  • Rahul has discovered what he thinks is a clever recursive strategy for printing the elements in a sequence (string, tuple, or list). He reasons that he can get at the first element in a sequence using…
  • I need help solving this python code and everything will be below which is the eval python file. using a stack, implement a function that takes in an arithmetic expression, and evaluates it, supported…
  • Help writing a function longest(L) which examines the argument list L and returns the longest string. You can assume all of the elements of the list L are strings, and that the list is not empty. Use …
  • hour = int(input(“Starting time (hours): “)) mins = int(input(“Starting time (minutes): “)) dura = int(input(“Event duration (minutes): “)) # put your code here
  • Rank a list of [10,20,20,20,50,60] and [50,40,10,20,30] The smallest number should get a rank of 1 and the second smallest gets a rank of 2, so on and so forth. If there are identical number, take the…
  • Define stubs for the functions get_user_num() and compute_avg(). Each stub should print “FIXME: Finish function_name()” followed by a newline, and should return -1. Each stub must also contain the fun…
  • please solve these code problems¬† (first, two pictures is one problem) total 4 python code problems¬† ¬† ¬†. 22.7 LAB: Count multiples Write a program that takes three integers as input: low, high, a…
  • Fix this code for me Specially the bullet part of the code import pygame, sys pygame.init() #helpful variables size = width,height = 900,500 black = 0,0,0 sky = 150,150,255 ground = 150,100,50 yellow …
  • Goal: sort food items by category.¬† return a dictionary the dictionary must map each food to a¬† ¬† >>>foodfilter(‘food.txt’) { ‘dessert’: [‘vanilla’, ‘ strawberry’, ‘coffee’, ‘cookiesncream…
  • Please in Python: given an integer array documents and a boolean array which indicates whether the printer works normally (whether you can use documents[i]), find the maximum number of documents you c…
  • highlight: This function takes two string arguments. The first is a filename and the second is a keyword to be searched for in the file. Whenever a line is found that contains the keyword, print the l…
  • 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…
  • Answer it please!¬†answer should include (1) why, are the programs equivalent, if any (2) why are the programs not equivalent, if any 2.6 Which pairs of the following Python programs are equivalent? ….
  • Background Darwin observed that beak shape varies among finch species. He postulated that the beak of an ancestral species had adapted over time to equip the finches to acquire different food sources….
  • Can someone please help me figure this out. analytical and further examples of complex functions. Please any help is appreciated. a) Evaluating a polynomial limit analytically You should have learned …
  • 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…
  • Question 4: A function that will prompt the user for an integer and continue to prompt them until a valid integer is given. The prompt should be passed in as an argument. The value entered by the user…
  • . Count Positive and Negative Numbers Problem Submissions Discussions Write a program that reads in an arbitrary number of integers and determines how many positive and negative values have been rea…
  • I would need help with finding a function to solve the equation using NumPy in Python. 1-1 (i – jajte; = 2 (i=0,1, …,n-1) 0
  • 2 String Practice(30pt) You are required to write a function(name: Get Token) which can take a string as its argument, and return a dictionary. 1) This function will split this string by blank space i…
  • BONUS [10 points] – Reinforcement Learning Let us say we want to train a reinforcement learning (RL) agent with the objective to minimize voltage deviation from some reference value. 1. [5 points] Let…
  • Need to modify this code from a program. The program code is below. When pressing arrow keys (left-right), the red circle will move to the left-right, and by pressing the spacebar, it will move upward…
  • 10 ‚ÄĒ know thyself 10 Return a tuple consisting of the following elements in the order listed: 1. your last name as a string 2. your last name reversed as a string Ensure the second element retains t…
  • This has to be done in coral language. Write a program using integers userNum and x as input, and output userNum divided by x four times. Ex: If the input is 2000 2, the output is: 1000 500 250 125 No…
  • Given Code: ¬† #We’ve talked about ordinal numbers before, but they can #mean something else: “ordinal” is also the term for numbers #like 1st, 2nd, 3rd, 4th, etc. #Write a function called to_ordinal….
  • Write a function¬†rev_diag_elems_greater_than(table, x)¬†that returns¬†True¬†if all elements on the reverse diagonal of a given input table¬†table¬†is greater than a number¬†x¬†and, otherwise, returns…
  • . 3. Using the linear regression function in NumPy (see page 66 of the ML book) to solve the following problem. You should submit your code in a notebook file through canvas, which should include th…
  • hi i have questions about this code instruction, here is the question and the code of¬†create_scrabble_dict(w) . is_valid_word: This function takes as input a string and a dictionary. The dictionary h…
  • Write a function called **foo_moo** that takes a number as an argument and **returns** the following statements according the below mentioned conditions. Then, finally prints the statement in the func…
  • Write program to read and process the election results data in the file 2016-election.csv.¬†¬†You have seen how to break a line of comma-separated values into a list using split(), so there is no need…
  • please solve it and provide python code also ¬† [][[[[
  • Consider the two DataFrames shown below, both of which have Name as the index. Which of the following expressions can be used to get the data of all students (from student_df) including their roles as…
  • Which of the following is correct?¬† class C: ¬† ¬† def __init__(self,name): ¬† ¬† ¬† ¬† self.name=name C1=C(“Jose”) C2=C(“Jose”) ¬† a. id(a1) and id(a2) will have same value. ¬† ¬† b. id(a1) and i…
  • Write function “cor(stock1, stock2)” which receives the ‘close’ column of two companies and 1returns sample correlation between their close values: ¬† Here: ‚ÄĘ cov(close_a, close_b) is the sample cov…
  • The volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. Write function called¬†print_volume (r)¬†that takes an argument for the radius of the sphere,…
  • . Assignment_7-Copyl http://localhost:8865/nbconvert/html/Downloads/Assignment_7-Copy1.i… 73 12.295652 12.491922 1595.894422 74 -4.092927 -3.185475 -869.974670 In [3]: # data for a 30-scatter p…
  • Can you help me with this question? Notice that the restrictions and you cannot use set modules in this question. < e : online.cs.uwaterloo.ca C, 0 Ô¨ā D1 Nergc Sort Nests "terzociion r’\:si…
  • I’m having trouble defining this function according to the assignment and the restrictions placed. How would I go about this? RESTRICTIONS
  • I need help trying to implement the code for the following question in Python. I am having a hard time on where to start and how to input data below into my code. I have tried using ski learn but that…
  • . Q3.[2 points] Let’s look at how to perform some fundamental analysis on an address book JSON dataset. The dataset in question can be found here : https://www.kaggle.com/datasets/ahmedshahriarsakib…
  • I am coding for a text based game for an assignment. I had to create code for a player to move throughout rooms and collect items to defeat a villain. How to I code for an inventory list of the items …
  • . Q06.62 Use the code below to create two arrays of semi-focused random points. x1 = 1.5 * np. random. randn (150) + 10 yl = 1.5 * np. random. randn (150) + 10 x2 = 1.5 * np. random. randn (150) …
  • Create corpus, a structured collection of documents 2. Use the tools in the¬†tm¬†package of R to clean up the data 3. Create TermDocumentMatrix¬†object from the corpus 4. Use the tools of the tm¬†p…
  • A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself. For example, 5 is prime (divisible by 1 and 5), but 6 is not prime (divisible by 1…
  • It is python and i need code for these. Test Average and Grade Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average te…
  • On page 1 of Homework 2 provides the guidelines for the entire homework. Under each question, the document provides the guidelines on how the code should be implemented and hints on what we can or can…
  • that is a python software home work, I not understand how to do the codes of this problem so I would like the tutor show me the steps. thanks. Part 1 (40 points) A circus performer is to be launched f…
  • # glossaryFlashCards.py “”” This flashcard program allows the user to ask for a glossary entry. In response, the program randomly picks an entry from all glossary entries. It shows the entry. After th…
  • The Context: A high-speed train as planned for the HS2 line from London to Birmingham has a maximum acceleration of 0.76m/s2, about the same as a commuter train. While the trains can brake in an emerg…
  • Higher/Lower Game Description Your friend Maria has come to you and… ¬† Higher/Lower Game Description Your friend Maria has come to you and said that she has been playing the higher/lower game with …
  • . Question 5.3. Ifyou expected Old Faithful to erupt every hour, you would expect to wait a total of 69 * k minutes to see k eruptions. Use the np. ar’ange function to create a range of values whe…
    • Write a function named findLgValue that takes in a pandas DataFrame – where the argument is named “theData” – and a specific column name from that DataFrame – named “theColumn” – and yields a Data…
  • The regression fit in our case is based on a exponential model. This is done by noting that a regression fit of the form ln(y)=ax+b (1) Generate an exponential fit corresponding to the Dow Jones Indus…
  • I almost have this code right, i cannot figure out why i am getting this error. Its a long problem. I pasted that and my current code with the output and error.. 7.15¬†Ch 8 Custom lab for SNHU Online …
  • #This is the problem: # Write a function named *buildingLatLong_* that returns a (latitude, longitude) tuple for any building id in *umich_buildings*. You will need to iterate through each list # elem…
  • Can you explain how I can find the is of the event that gets changed in a snippet of HTML and JavaScript
  • Question 3 (10 points) What would be output by the following function definitions and function calls? def print numbers () : print (‘123’) def print letters () : print ( ‘ abc ‘ ) print letters () pri…
  • Limitations:- ‚ÄĘ Must use recursion in the function.¬† ‚ÄĘ Loops are banned!. Do not use a for loop or a while loop anywhere in the solution. ‚ÄĘ You are not allowed to import anything¬† ‚ÄĘ Slicing …
  • . please write a python program. Overview In this assignment, you are going to build a table booking system for a restaurant. Please read this assignment sheet carefully before starting yo…
  • The following python script is broken. It has two major problems to fix and one new feature to add: first problem ¬†is providing the student number as an integer causes an error(TypeError) when displa…
  • In the superdense coding convention, Alice and Bob each have one qubit from the caught pair ‚ąö 1 2 (|00i + |11i), which empowers Alice to send two pieces of old style data to Bob, utilizing a solitar…
  • . 1.0.14 Exercise 14 Find the total number of orders where the total_bill is greater than 40 dollars AND the party size was 4 or less. [14] : # Answer 1.0.15 Exercise 15 Who pays the bill more often…
  • Please explain the following code example. Also, identify three comments to be inserted, proposed syntax and specify where (line number references) they are to be inserted. Ensure you are precise, det…
  • R program Pls provide screenshot for answer The average waiting time for a patient at an El Paso physician’s office is just over 29 minutes,¬†well above the national average of 21 minutes. In fact, El…
  • Which of the followings is a quantitative attribute? (A) Order ID: 1, 2, 3, … (B) Box size: Small/Medium/Large (C) Ship date: 12/31/2020 (D) Priority : Low/High
  • Can you please help me to figure out how to manipulate data from a .txt file in python? What I would like to do is sort data and get integers from the data. If a .txt file contains a list of students …
    • Cosine Similarity¬∂ Let us then use collaborative filtering to find the recommendation. First, we need to get the cosine similarity beween movies and users. Again, we can use the preference file t…
  • Write a Python program that reads a number from the user and returns the reverse of that number. You may not use any String or Array methods to complete this exercise.
  • For security issue, most websites will ask the user to create a password with multiple constraints.¬† Please develop a program to allow user create a new password and verify if user enters a valid pas…
  • Python Case Study: Income Tax Calculator Use the water fall model and break it down in to first four phases of the software development process, and explain what they accomplish. Each year, nearly eve…
  • Explain how clustering can be used for feature creation/extraction/processing in regression and classification algorithms (e.g., how classification can be used)¬† Explain the role of clustering in the…
  • Please don’t use for loops. Stick to while loops, if conditions, and simple functions. Keep it simple!. Question 4 (10 points): Define a function read_n_prod_odd that takes a positive integer n as par…
  • Question 2 (2 points) What is the output of the following code segment? for num in range (2, 8) : if num % 2 = = 0: continue print (num)
  • Proplem#3:¬† A program that calculates a customer’s bill for a local cable company. There are two types of customers: residential and business. There are two rates for calculating a cable bill: one fo…
  • Construct two additional classes named¬†Crewperson¬†and¬†Pretender, to represent each of the two possible specializations for a Character.¬†The¬†Crewperson¬†and¬†Pretender¬†classes should inherit from…
  • among web based and android application, which one can take the advantage of tkinter library for satisfying front end design for users ?
  • Please provide solution for the question . Thanks in advance.¬† ¬†. 2nd Question (Python Coding Test) Scenario: HR department wants to automate the sending of bonus letters. Requirement: 1. Read emplo…
  • National builder has hired your software development firm to build a home inventory program. You first need to develop a class that represents the inventory of the homes in the nation. What components…
  • it error, can’t execute. deT Longest_Word ( T_name ) : ‘ helper function: finds the largest number in new_words. txt ! ! ‘ longest = ” with open (f_name, ‘r’ ) as f: for line in f: if len(line ) >…
  • Spark RDD and Spark SQL with CSV¬† ¬† COVID-19 has affected our lives significantly in recent years. In Part B your task is to do a data analysis task over a COVID-19 data set stored in the CSV format…
  • Python Programming 1- 2- An amateur golf club has a tournament every weekend. Write a program that – Captures each player’s name and their best golf score as keyboard input, then saves these as record…
  • Using turtle graphics add a graphical design of a food item,example a slice of pizza.
  • Create a grid of bar plots with each one representing a single zipcode and in that zipcode the sq_ft distribution is grouped by the category of condo, residential and multi-family, please also include…
  • Please help me to make a flowchart for this code ¬† y = () n = () def main (): ¬† ¬†print (“Press 1 to calcute square”) ¬† ¬†print (“Press 2 to calcute rectangle”) ¬† ¬†print (“Press 3 to calcute tria…
  • Three variables,x,y, andz, supposedly hold strings of digits, suitable for converting to integers. Write code that converts these three variables to integers and print the sum of these three integers….
  • I feel really dumb right now. ¬†I have rewritten this program over 8 times and still can not get it to work. ¬†What am I doing wrong? ¬†This is not completed, I have deleted lines trying to figure wha…
  • Please provide solution for the question . Thanks in advance.¬† ¬†. 2nd Question (Python Coding Test) Scenario: HR department wants to automate the sending of bonus letters. Requirement: 1. Read emplo…
  • I need help with count_connected_components() and has_cycle() for an Undirected Graph. ——use skeleton code—— class UndirectedGraph : “”” Class to implement undirected graph – duplicate edges n…
  • INSTRUCTIONS : 1) Python Programming¬† 2) No use use of built in libraries and built in functions 3)Completely change this code I have an plagiarism issue. (specially change minimum_cost_path function…
  • this is a python programming question. The data is from a restaurant that only accepts reservations booked online and hence does not accept walk in customers. Each row in this data corresponds to a bo…
  • Write a script that prints 5 times “OK”, then prints “Good Bye”. #This code prints OK five times # then prints GOOD-BYE count = 1 while¬†count <¬†5: ¬† ¬†print¬†(‘OK’) print¬†(‘GOOD-BYE’)
  • Pleas help solve it. (c) (7.0 pt) Complete the find_area function so that it returns the area of the polygon. Crucially you may assume that the list of points in the polygon are ordered in the coun…
  • # Q3 (1 point): # Create a function, exampleThree, which takes two integer input parameters. # Using a loop, populate an array with all values from the first integer to the second integer, skipping ev…
  • I’m using the python language Sites like Zillow get input about house prices from a database and provide nice summaries for readers. program with two inputs, current price and last month’s price (both…
  • PYTHON Need help!¬† I am not able to pass this testcase which is:¬† “All strings are composed of alphabetical characters only. However, they can be lowercase, uppercase, or a combination of both. This…
  • c) Next, create a function named newton_step that performs one step of Newton’s method. Using the functions F and deriv, newton_step should take as input a guess at a root, xi, and should retu…
  • Can someone guide me to set iptables rules for the following requirements 1. INPUT chain must not allow any traffic 2. ¬†rule that would allow only a particular machine to ssh to my machine. 3. remove…
  • 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 …
  • Requirements:¬† A. Write your functions to the following tasks. More than a function is permitted for each task. ¬† B. Do not write the same function in each task, import it if you need. ¬† C. Write a…
  • Here is the problem: Define Customer ¬†class. A customer has a first name, last name, and social security number. You must override __str__ operator to return¬†the customer first name, last name and s…
  • Modify the guessing-game program that the user thinks of a number that the computer must guess. The computer must make no more than the minimum number of guesses ¬† B. Write a “scissors-rock-paper …
  • Please solve, thanks The following program takes 2 inputs from the user representing two integers. If these two inputs represent two terms in a sequence of perfect squares (e.g., 9 and 16}, then the p…
  • Please share python codes with explanation¬† ¬† CSV File Link – https://drive.google.com/file/d/1dsyirnYwRyg_Vmjle1_tBe0X0sWp4VE_/view?usp=sharing ¬† ¬† ¬†. Cold Storage started its operations in Jan …
  • Task 2:¬† 1) Ask the user for a path value.¬† a) Determine if the path exists in the current filesystem ¬† i) If not, raise an exception (your choice) with an appropriate, descriptive message. This me…
  • Print the average of three numbers entered by user by creating a class named ‘Average’ Having a method to calculate and print the average .
  • General requirements: ¬†create a flowchart or pseudocode. For user inputs use the input validation (in some cases just conditional statements, in some cases – exception handler). Run the program many …
  • I’m looking for someone to present a code that takes the international space sation location and time stamps it to 4 data points that are listed in the attached files it will be using the open api url…
  • Python Code Basic No Imports: ¬† ¬† Implement a function endsWith that accepts two arguments, a target string and a list of words. The function returns a list containing all words in the list of words…
  • mplement 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 …
  • Temperatures You have a file that has temperatures in Fahrenheit, one per line. We need to make a program that performs the following: Defines a function called “FahrToCel” Accepts a Fahrenheit Temper…
  • How to use Python and R to identify why the best and most experienced employees leaving the company prematurely? And Predict who might leave before they go could allow to intervene earlier.¬† Also exp…
  • . Problem 2: Optimizing the quarter car model (in English) In Lecture 5, we used scipy . integrate. odeint to analyze the behavior of a Quarter Car Model (https://canvas.okstate.edu/courses/124110/f…
  • would you please tell me how to do the question2 and code . Thank you¬† ¬†. Question 2: Write a program in which you ask user to enter a string in a loop. if user enters ‘Exit’ or if the entered strin…
  • How to make this code work? ¬† My output should show a negative value and a positive number Enter current variable: -2 Invalid input! Enter current variable: 3 ¬† Source Code: # Initializing the resis…
  • 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__ allocates me…
  • Complete the following partially written program for computing square roots, see picture for detail! “Achieve invariant” and “Decrease r while maintaining invariant” should replace with statements and…
  • 21 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 Pyt…
  • Create program based on incremental development processes of collecting user requirements, designing, coding, testing and debugging to compute your term grade based on the following information: Stude…
  • Hello, please help me with this problem. Please ASAP thank you so much
  • Given the text file ” wellstm.txt” , attached, write a program called triage.py to group the words in the text file by their last letters and count the number of words in each group. For each group of…
  • Question 9 The AF_INET socket is a network oriented socket. A True B False
  • Compute the determinant of the grid. For example, if the grid is equal to: ūĚźī=[ūĚĎéūĚĎźūĚĎŹūĚĎĎ]A=[abcd] ¬† ¬† detūĚźī=ūĚĎéūĚĎĎ‚ąíūĚĎŹūĚĎź ¬† without using numpy
  • Please don’t copy from chegg and course hero ¬† Please help me ¬†. 2. Write a program to sort a list using the method that merges two adjacent subarrays iteratively, i.e., writing a dynamic mergesort …
  • def f2c(f): ¬†¬†¬†¬†“”” ¬†¬†¬†¬†converts temperature from F to C ¬†¬†¬†¬†input:¬†¬†f, degrees Fahrenheit ¬†¬†¬†¬†output: c, degrees Celsius ¬†¬†¬†¬†“”” ¬†¬†¬†¬†#print(”¬†¬†¬†¬†f2c beg:¬†¬†input f =”, …
  • The administration has released a non-binding referendum to students. However, the comes from course 6 (18). Additionally, let X (Xc) be the event that a voter votes ‘yes’ (‘no’) on the referendum, an…
  • Write a Python function that takes three numbers as parameters, and returns the median value¬†of those parameters as its result. Use the min() and max() functions available in Python.¬†¬†The median va…
  • Working individually or in pairs, filter the televisions on¬†Amazon¬†(Links to an external site.),¬†Best Buy¬†(Links to an external site.), or¬†Target¬†(Links to an external site.)¬†in order to find t…
  • can somebody pls explain why my question isn’t answered?? I couldn’t understand
  • Write code using using python programming for: 1-¬†¬†¬†¬†¬†Ask the user to enter the: NAME (A, B, C, D, E, F, G, H, I, J), AGE, GPA (out of 4) and the MAJOR ( CS, CET, CIS, CE). Then print these infor…
  • Requirement Specification is a document¬†that captures complete description about how the system is expected to perform. Discuss in detail all points that Software Requirement Specification includes f…
  • !pip install –upgrade tensorflow import tensorflow as tf tf.__version__ from tensorflow import keras fashion_mnist = keras.datasets.fashion_mnist (X_train, y_train), (X_test, y_test) = fashion_mnist….
  • ibrary CHALLENGE ACTIVITY 5.5.1: For loop: Printing a list Write an expression to print each price in stock prices. Sample output for the given program: $ 34.62 $ 76.30 $ 85.05 376628.2015284.qx3zqy7 …
  • How do you get the year, month, day from an 8 digit number?¬†. Here are a few sample runnings of the program (underlined text indicates user input): Enter a date (YYYYMMDD) : 20221320 2022 is NOT a…
  • How can I apply loop to solve this question?Thanks Exercise 4.1 Looping for the items in a dictionary Write a program to store the following: card = {‘A’:1, ‘2’:2, ‘3’:3, ‘4’:4, ‘5’:5, ‘6’:6, ‘7’:7, ‘…
  • Code a function called “build_book_dict” ACCEPT five inputs, all lists of n-length A list of titles, pages, first<name>, last<name>, and <publisher>location. RETURN a dictionary as d…
  • Hi i am unable to solve this python question please help me solve it. Assignment instructions ######################## 1- Read and understand the functions given below . Note that scancount and swapco…
  • . 4. Stop the robot after it drives forward over the black band. (10 marks) **sim_magic_preloaded – -background Grey_bands -R # Program to count the bands aloud W N # Start the robot moving tank_dri…
  • Demo Example # getFASTA file by accession number ¬† import urllib.request as web def getFASTA(id): ¬†prefix1 = ‘http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi’ ¬†prefix2 = ‘?db=nuccore&i…
  • In an election, N candidates are competing against each other and people are voting for either of the candidates. Voters don’t communicate with each other while casting their votes. ¬†Which of the fol…
  • Write an example in prothon of the highest selling product of a dataset
  • How can¬† tuples ¬†can be useful with loops over¬† lists ¬†and¬† dictionaries? and please give Python code examples.
  • 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 the o…
  • . The built in Fraction class should not be used for this assignment. The purpose of this program is to overload these methods manually. The str method and all of the overloaded methods should be re…
  • just writing minimal code snippets or functions here. Let’s say I have some colour stored as the Pixel called px. We don’t know what colour it might be holding, but I want it to store the greyscale eq…
  • Suppose x is an integer.¬†Which of the following will display x as a floating point number¬†with 2 decimal places? A. print ( ‘%f’ %x) B. print ( ‘%.2f’ %x) C. print ( ‘%.2d’ %x) D. print ( ‘%.2s’ %x)
  • add_friend(student1, student2): adds student1 and student2 to each other’s friends lists. If student1 or student2 are not in the Network, add them to the dictionary of friends. ¬† show_friends(student…
  • please use screenshot as your answer.. Fetch weather data for Toronto using the following code import W import m from W import EQWQQLDQL em = W (coordinates = 43.6532, 779.3832)) WWO WWO) Continue thi…
  • How to find the machine epsilon(the smallest number, when added to 1, that gives a result greater than 1) in Python?
  • The output should be 1 Bottle of Beer on The Wall instead of 1 Bottles of Beer on The Wall. How can I edit it.. while ( bottle > 0): #while Loop to run untill the number Of Dotties equal V if(bottl…
  • Good Morning, I have the following questions: What is the purpose of defining functions? Why my “if” are not working? Should I insert the functions after the conditional statements? When I run the scr…
  • I am looking for the simplest way to solve this problem. I am looking at the Given input to equal abcd1234. Can you help me? Please use the simplest way to do this? ¬† Solve the Below String Related A…
  • Assume the following statement calls the bar function to construct a bar chart with four bars. What should be placed in the blank to create bars that are red, blue, red, and blue. plt.bar(left_edges, …
  • Find and correct the mistake in the code snippet that is supposed to print a message like ‘Hello, ‚óĮ‚óĮ‚óĮ‚óĮ!’, where ‚óĮ‚óĮ‚óĮ‚óĮ is the user’s input. name = input() s = ‘Hello, world!’ s.replac…
  • What is the purpose of this, is this a module that the user downloaded and brought into the program? If so, what is that?
  • how to write firewall as packet handler using python code?
  • 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.. All Contests > 1500522 > 7 Square Rooter 7 Squa…
  • Hi, Could I get some assitance with this question? The subject is python programming. A nurse is monitoring a patient’s rising temperature. The temp is rising in increments of .5 degrees continually. …
  • Looking for solution for the given assignment abiding by all the constraints mentioned INF553 Foundations and Applications of Data Mining Spring 2019 Assignment 5 Clustering Deadline: Apr. 13th 11:59 …
  • The result should be similar to this: ((1, 4, 9, 2), 3) When I try to run the code, it resulted: add_modifier() missing 1 required positional argument: ’rounds’ ¬† How can I fix this issue? Please hel…
  • Define the fixed_point function, which takes two arguments: (1) a function -call it f- (it is univariate, called with one numeric argument (int or float) and returns a numeric result) and (2) a func…
  • Write a python program that counts how fibonacci numbers there are that are divisible by 4 and between 200 and 400. You may only use while loops. Do not use for loops.
  • Given a queue populated with an unknown number of integer values, along with an empty stack object, develop an algorithm in Java-like pseudocode* that determines and reports out the largest number in …
  • python program must shows answer as the example above, as if i but bbrr ¬†then it shows 0 pegs and 1pegs like that all the rbgy and such are word of colors. ¬† Homework 5 (Mastermind) ¬† Criteria R…
  • I have this list of lists : [[{‘cast_id’: 9, ¬†¬†‘credit_id’: ’58e16af192514127e8004028′, ¬†¬†‘name’: ‘Meryl Streep’}, ¬†{‘cast_id’: 7, ¬†¬†‘credit_id’: ’58e16a969251412810003bd9′, ¬†¬†‘name’: ‘Franci…
  • I would like to use it in the same format that is used in the Python code found below the HTML code. The goal is to use this HTML code in Python WITHOUT using a template file. Simply using the Python …
  • Python Code: A 450000 mortgage is to be repaid in 30 years with level (equal) monthly payments, at an annual interest rate of 4% (so the monthly rate is 4%/12 ). Print the first 50 rows of this pd.Dat…
  • I’m getting a syntax errors whenever I try to run the code listed below. Please help.
  • https://cs.gmu.edu/~marks/112/projects/p5.pdf for more details
  • a python program to print the sum of all even numbers from 0 to 10
  • We are passing in 3 inputs. a list of numbers a multiplier value, M a value, N You should multiply every Nth element (do not multiply the 0th element) by M. So, if N is 3, you start with the 3rd eleme…
  • . 2. [4 marks] In a file called q2.py, write a function called drawHead() that draws the head of a caterpillar. The function will have FIVE input parameters: a turtle, an x-coordinate, a y-coordinat…
  • *Assignment Summary ¬† EM Topic models The UCI Machine Learning dataset repository hosts several datasets recording word counts for documents at https://archive.ics.uci.edu/ml/datasets/Bag+of+Words . …
  • Write a single Boolean expression that evaluates to¬†True¬†if a string¬†s¬†has more than 5 elements and one of them is a vowel. English vowels are: a, e, i, o, u. Write a single Python expression to r…
  • what is the MATLAB code for this Use MATLAB to (a) Determine the LU factorization of [4]. 8 2 1 A = 3 7 (b) compute the determinant of A
  • Python code, need help ¬† ¬† ¬† ¬†. Courses X zy Section 10.14 – CSE 1010: Intr x Search Results | Course Hero X G Data Science: Tracking COVID x *17 Data Science: Tracking CO X D X C coursehero.com/t…
  • I need to check my python program because, frankly, I’m not sure I really understand the question. I must to use this function: def is_divisible(a,b): ¬†¬†return a % b == 0 inside another function tha…
  • 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…
  • Project – Create A Film Program ( like a simple Rotten Tomatoes) – PYTHON¬† ¬† ¬† ¬† Create an application that a user can add and retain and store information about a Film( Title, Director, Descripti…
  • could you please help me with this python assignment with explanations. Thank you How to write *a program to convert number of days to week and day . for example , 20 days should be converted to 2 wee…
  • Write a program called rsfund.py , to compute and display the number of years that would be needed for the balance of a savings account to reach or exceed two times the initial account balance. The in…
  • I am having difficulties getting this code to work. This assignment is due 11pm PST. I am getting the same error; import os picList = os.listdir(“C:\Users\Angel\sample”) setMediaPath(“C:\Users\Angel\s…
  • In this problem you will prototype this situation and write the python program which performs the following operations: 1. Getting the contact fields from user and store them(phone number and a contac…
  • You will make a program creating/handling multiple processes. Each process is to sort an integer list in an increasing order. The list is a shared variable (global) among all processes; it is initiali…
  • Leckie Delivery Service (LDS) is a delivery truck service that picks up a delivery from one location and drops it off at another location. Each such delivery job can be called a¬† move . Each¬† move ?…
  • How do I define a function that takes a list of strings as it’s parameter and returns a colours dictionary from the parameter string? –> def create_colours_dictionary(lines) lines = [‘1:brown’ , ‘…
  • #!/usr/local/bin/python import datetime import time import sys import dpkt import socket def print_packet_info (ts, src_ip, src_port, dst_ip, dst_port, protocol, pkt_len, ttl) : ¬†¬† ¬† ¬†¬†¬† # get U…
  • Can anyone explain step by step what the codes are doing? before () has error, can you help me to fix any other error of the code? How after() is supposed to behave, and how to apply this to before()?…
  • Given a vector¬† x , and a hyperplane P defined by ( w , b).¬† Describe how to compute the point¬† v that is the projection of¬† x¬† on to the plane P.
  • This week’s chapter was regarding files. Completely lost. I know how to write the program where it counts the occurrence of a word or character, but recalling it from a file…..no idea. Please explai…
  • Next to the above lines, write a Python code that creates a user-deÔ¨Āned function named “reverse(s)” that takes one parameter of string type named “”5. Then, the “reverse( )” function wil…
  • Taxi fares consist of a base fare of $4.00, plus $0.25 for every 140 meters travelled. –°r–Ķate a function, named fare_calculator , that takes the distance in kilometers as its only parameter and retu…
  • . Instructions For this project, you will be creating a lat‚ÄĒNearest Neighbors classiÔ¨Āer for the CHAR‚ÄĒ10 dataset, using 2 or more metrics. Complete the following steps: 1. Download the CLEAR‚ÄĒ…
  • Please help with the following code ¬† ¬† ¬† ¬†. Step 1 (0 pts). Run the code below to install the yfinance (Yahoo Finance) package in Colab: pip install yfinance Step 2 (0 pts). Download historical p…
  • Listing 5.13 determines whether a number n is prime by checking whether 2 , 3 , 4 , 5 , 6 , …, n/2 is a divisor for n . If a divisor is found, n is not prime. A more efficient approach is to check w…
  • I am not able to figure out how to create the loop portion that makes the month and year from a list, the list is simple w/ the code being [“January”,”February” etc, but the transition to where if/the…
  • Create a Python function called¬†sumOfOdds¬†which takes¬†one argument,¬†an¬†integer¬†greater than¬†or equal to 1, and¬†returns¬†the result of¬†adding the odd integers¬†between 1 and the value of the¬†…
  • “In this exercise, you scrape data from fidelity.com. The goal is to get the latest sector performance data from the US markets, and to get the total market capitalization for each sector. \n”, ?…
  • The code has to be UNIQUE . Please don’t copy it from somewhere on the Internet or else my work will be charged plagiarised. The testing is a thing to test if the programs pass or not so please make s…
  • python code help. This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user to input Ô¨Āve pairs of nu…
  • bottom is question and top is hint. 3.4 Check for hot cells Once we have computed the mean temperatures in the cells and store them in temp_cell_avg, we want to determine the number of hot cells in th…
  • In the comments explain what the algorithm or logic is, and the variables and data structures are and their uses.There is two options link and code if you follow this link there is question https://th…
  • Implement Logistic Regression with L2 regularization Using SGD: without using sklearn:- Initialize the weight_vector and intercept term to zeros (Write your code in def initialize_weights()) Create a …
  • Use any one of the programming languages to implement Binomial Probability Sums. Program should include a user-defined function that should compute Binomial Probability Sums and should plot the corres…
  • A linked list is an object that creates, references and manipulates node objects. In this assignment, you are asked to write a Python program to create a linked list and do a set of operations as foll…
  • Using the full or exact Bayes classifier, what is the probability that an audit shows a customer is Truthful given that he or she has no prior legal trouble?¬† Select the closest probability. ¬† ¬† Su…
  • Design and implement a simple interactive Book database for library users. Use the attached library.txt file as the book catalog. In addition to building the base, the program should be able to search…
  • Write program that prompts the user to enter a three-digit whole number such that the digits are in ascending order and without duplicates. Valid examples: 123 and 489 Invalid examples: 13…
  • Imagine that a company in the freight transport business has commissioned you to solve the following problem. Given bulk cargo with a certain weight per m3, compute the volume of that bulk cargo in m3…
  • I have to write Python statements that draw a square of side length 100 pixels using Turtle graphics. Make sure you import the module turtle Ô¨Ārst. Your Ô¨Ārst two and last statement should be as sho…
  • The first function you will write should be called ‘calcCodes’. Your function should take one input variable containing a string. The function should return one output: an integer. The output integer …
  • 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 need the code please3 + x Content X zy 6.7. LAB: Palindrome arn.zybooks.com/zybook/CYB_130_53744141/chapter/6/section/7 ly library > CYB 130: Object-Oriented Scripting Language home > 6.7: LAB…
  • The column names are Region, Country, Item Type, Sales Channel, Order Priority, Order Date, Order ID, Ship Date, Units Sold, Unit Price, Unit Cost, Total Revenue Question: Using python pandas what has…
  • write a program program to find maximum length of conecutive¬†0’s in the give where simpel input-11001000001010, input-100010011001010
  • DONE IN PYTHON USING MATPLOTLIB AND OPENCV Use this image of hippo: Thresholding means converting an image to a binary image. After, say, thresholding, a gray image would become a complete black and w…
  • Write a function mean() with a variable number of arguments that can return the mean average value of the arguments. If there is no input, print out an error message and return None. Test Cases: print…
  • Can you help me understand how tuples¬†can be useful with loops over¬†lists¬†and¬†dictionaries, and make Python code examples. Can you please include the zip function, the enumerate function, and the …
  • Sets and Set Operations Imagine you have two grocery lists: Grocery Lists Lists A Lists B Soap Fish Oranges Pork Loin Bananas Paper plates Oatmeal Jelly Fish Soap Write scripts that do the following: …
  • I define a list of strings of length 2, by somestrs = [‘he’, ‘ar’, ‘xy’, ‘at’] # CONTENTS MAY CHANGE Write code that prints out one letter chosen at random (by the computer) from each string. For exam…
  • We have gathered some data and would like to see how many customers have spent between $100 and $500 in the past 30 days. It would be helpful for us to know this information so we can improve our mark…
  • Part 1 Encapsulate the following Python code from Section 7.5 in a function named¬†my_sqrt¬†that takes a as a parameter, chooses a starting value for¬†x, and returns an estimate of the square root of?…
  • ENGR 102 Lab # 10B These labs are meant to familiarize you with two of the most commonly used engineering packages in Python namely 1) numpy and 2) matplotlib. This individual assignment is meant to f…
  • # Programming Exercise 4-2 # Declare and initialize a variable # for the calories burned per minute. caloriesPerMinute = 4.2 # Declare variables for the number of calories burned, and the number of m…
  • Python Programming Can someone please help me solve this!! Only need to add comments and write a paragraph about what the program does.
  • . Reading Data Files & Creating a 2D Graph (45 points) In this section, you will write code to read the data files provided, cities.csv and distances.csv, and create a 20 graph consisting of nod…
  • Write program that displays a menu and its price. Take the order from the customer. Check if the ordered product is in the menu. In case it is not there, the customer should be asked to reorder and …
  • What is the difference between a¬†chained conditional¬† and a¬†nested conditional. Give your own example of each.¬†Do not copy examples from the textbook. Deeply nested conditionals can become difficu…
  • I have this python code, but I don’t want it to close when it finishes capturing the numbers, I also want it after entering the numbers and passing the command Do you want to check for equality (1/0)?…
  • can i please get help on how to do these codes thank you.. II II" Practice 1 Ask the user to enter his/her age using the following prompt: Age? [space after the ?] Convert the user input to an in…
  • Answer in 10 min¬† no explanation needed ¬†. , ‘/ VlSlnal ICS 200 Test # 1 V2 PM 2021-22 Sem 2 3 Write a Python program (including appropriate comments) that matches this flowchart. Ask the user to …
  • Write program to prompt the user for hours and rate per hour using input to compute gross pay. Pay should be the normal rate for hours up to 40 and time-and-a-half for the hourly rate for all hours wo…
  • use python to program that calculates the tip and total for a meal at a restaurant.sample output:Tip Calculator Cost of meal: 52.31Tip percent: 20Tip amount: 10.46Total amount: 62.77specifications:*In…
  • Redesign this program and make it more complex. Create new flowchart(s) and table(s). Explain the changes made to the program Explain why the changes were made
  • Hello I am trying to write pseudo code in python. The problem I am writing the code for is based on miles/gallons to determine the mpg. I want to double check my work, i have no hard inputs everything…
  • This week’s assignment involves writing a Python program to compute the cost of house cleaning. Your program should prompt the user for the number of rooms in the house and the type of cleaning (eg. F…
  • Question one: Read the housing dataset and save it as df_housing import pandas as pd # do not change this from sklearn.preprocessing import MinMaxScaler ¬† df_housing = pd.read_csv(‘housing_data.csv’)…
  • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
  • Anaconda – notebook – spyder – python ¬† Canny Edge Detection ¬† original image: import numpy as np from scipy import signal import cv2 as cv img = cv.imread(‘lane.jpg’) edges = cv.Canny(img,250,150) …
  • Task 10 Complete the function to add 90 days to the given date and return the new date import datetime # Complete the function to add 90 days to the given date and return the new date def add90Days(so…
  • Hi, I am looking for python programming help. Can you please help me with one of my assignments.
  • Graphics This optional assignment utilizes the Turtle module for programming graphics in Python. Instructions Make your own algorithmic drawing with whatever combination of color, line, and sequence y…
  • I am stuck on this question: You go on a wonderful holiday (perhaps to jail, if you don’t like happy exercises) leaving on day number 3 (a Wednesday). You return home after 137 sleeps. Write a general…
  • http://prntscr.com/l958dc Hello, I’m struggling with this question, I’d appreciate any help.
  • Each function should take an image_matrix as a parameter and return an output_matrix representing the image after it has been filtered. We strongly suggest creating the output matrix first so that it …
  • Here is the data for this problem: https://docs.google.com/spreadsheets/d/1_mrKhdwFFtPRK-djS_TrQ6uIIvOtIzY2d_PSmHV8RdE/edit?usp=sharing I’m having trouble with this problem, if you could please help t…
  • . You are writing a program that will be incorporated into a car dealership’s web page. You don’t have to worry about the details of the web page, you just need to construct and test the basic progr…
  • Hi please help me with this memory version1 code please # # # # # Code Example 2 Implements a general game template for games with animation You must use this template for all your graphical lab assig…
  • Need a function number_of_words_in_dictionary(word1, word2) that accepts two strings word1 and word2 as arguments. It determines the number of words between the two words word1 and word2 inclusive in …
  • A fridge should keep food at a temperature between 0 and 5 degrees Celsius (inclusive). Assume you have a non-empty list of integer and/or floating-point numbers representing the hourly temperature re…
  • can i get help in coding this function? Functions The signature of each function is provided below, do not make any changes to them otherwise the tester will not work properly. The following are the f…
  • I have to use a variable called basketball and write a for loop, multiplying each value in the loop by -1. Each value that I end up getting has to be stored in a list called soccer by defining soccer …
  • l Use the function design recipe to develop a function named sort_books_category. The function takes as an input parameter the dictionary where the books are stored. First, the fun…
  • What needs to be changed to have Echo_client.py and Echo_Server.py¬†run on two different?
  • Step-by-step hierarchical clustering : Write code in Python that goes step-by-step , cluster using the agglomeration method, and stops when the right number of clusters has been reached. You will need…
  • (20 points) Design the classes based on the UML diagram given below. You must pay attention to the classes and their relationship as well as the variables and the methods in the classes. You can se…
  • Use and call functions Call a function with a parameter Import the random module Use if/else if/else statements to determine the flow of the program Comment your code Debug your code Test your code Sc…
  • So I am doing a performance test but I want to know how I get to the answer? For this assignment, you will be using IDLE to write Python code. The program you will be writing is based off your prior P…
  • ] : from sklearn. preprocessing import OneHotEncoder def ohe_roof_material (data) : One-hot-encodes roof material. New columns are of the form On QUALITY. training_data = ohe_roof_material (training_d…
  • Analyze the¬†World Bank national GDP data¬†from 2012 to 2017. https://data.worldbank.org/indicator/NY.GDP.MKTP.CD?end=2018&start=2012 Write python snippet code only using numpy for the following q…
  • Practice Numpy and Pandas (50 points) Please install Scipy, Numpy, Pandas, on your PC. Read the Storm Location dataset (posted on Canvas) in a Pandas DataFrame and output files in csv format in the sa…
  • So far i have the below but im not sure the correct code for adding up the even numbers. Thank you!! total_sum¬†=¬†range(5,56) for¬†x¬†in¬†total_sum: ¬†¬†¬†¬†if¬†x¬†==¬†56: ¬†¬†¬†¬†¬†¬†¬†¬†print(x) ¬†…
  • PC Design For what reason are the accompanying assertions false notions? (a) MIPS is an exact measure for looking at execution among PCs. [5 marks] (b) A benchmark is an average program which precisel…
  • Text Mining A dataset of Shark Tank episodes is made available. It contains 495 entrepreneurs making their pitch to the VC sharks. You will ONLY use “Description” column for the initial text mining ex…
  • need coding and output please¬†. In this assignment you will create a basic iterator for an iterable list of U.S. presidents. You are to create an iterable class using the given list of presidents (be…
  • I’m using python Many user-created passwords are simple and easy to guess. Program that takes a simple password and makes it stronger by replacing characters using the key below, and by appending “q*s…
  • Hide Assignment Information Instructions Upload your algorithm and source code. COP 1000C Course Project Math Tutor Program ¬† Project Description: You will be creating a math tutor program that can b…
  • need help to solve this question in python Part B: General Forward Elimination In the lecture we assumed that the input matrix to Gaussian Elimination is ‘non-singular’. This means that in every itera…
  • . Problem 1: Suppose we want to solve 21 32 14 8 9 11 3 5 17 2 8 14 55 23 19 1 6 41 23 13 11 22 26 7 9 12 11 5 8 3 15 7 25 19 TA 14 3 5 11 23 8 7 9 = (1) 2 5 7 1 13 23 11 17 16 11 5 3 8 26 13 17 23 …
  • How to implement this linear regression code to multiple regression only using the libraries that the code already has (numpy, pandas, matplotlib) : Note: Dependent variable PURCHASE, independent vari…
  • me Limit: 0:50:00 Time Left:0.36:04 Shahed Abu Azab Attempt ige 1: Previous Page Next Page Page 15 of 21 Question 15 (1 point) ge 2 Variables declared within a function are called variables O reserved…
  • WRITE PYTHON PROG FOR THE FOLLOWING STATEMENT. SATISFYING THE TABLE BELOW For the c_address column, shorten it to 8 characters (i.e., if the value is longer, remove extra characters, but otherwise kee…
  • please help answer this python algorith (attached below) Introduction to Programming Another Sort of Sort TheFollowing algorithm is often usedto scrtahandofcards. Wecan representthehandas a list of in…
  • The figure below shows a lake within which sediment, suspended in the water, rains down and slowly builds up on the lake floor. Obviously the early deposits will be covered by the later ones. This res…
  • Would you help with this python code? I’m lost and don’t know where to begin
  • I take a course which name is Artificial Neural Network. I have a question it related with Batch Gradient Descent(Block adaptive) and Stochactic Gradient descent(pattern mode). I have a training set ….
  • estion 4 [M4_CSQ4] Draw a flowchart and construct a python program t complete which accepts the items of tuples containing the category as the It graded first entry and different components of the cat…
  • . slides 28-34). The file should contain two functions , first one is for calculating the nth Fibonacci number (0th Fibonacci number is 0 and 1st Fibonacci number is 1) and the sec- ond one is for m…
  • A manufacturer claims that their calculators are 6.800 inches long. A random sample of 39 of their calculators finds they have a mean of 6.810 inches with a population standard deviation of 0.05 inche…
  • Exercise 5: Import and use logging module in your python file and let the log file named as (apartmentLog.log) and log out the events that will happen after the program runs showing at least two diffe…
  • 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…
  • For part of an Object-Oriented Programming project in the form of Crowther’s Adventure Game, I have to create a new file named loader.py as well as make some additions in adventure.py, but I only knew…
  • 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…
  • 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. Your…
  • OUTPUT Rhymes for: DIFFICULT — none found — Rhymes for: READER CEDAR CEDER FEEDER KEDAR LEADER LEEDER LIEDER MEADER MEADOR MEDER MEEDER NEIDER NIEDER SCHWEDER SEADER SHEEDER SPEEDER VEEDER WIEDER Rh…
  • Merge sort . py def merge_sort(a_list): ¬†¬†¬†#print(“Splitting “, a_list) ¬†¬†¬†if len(a_list) > 1: ¬†¬†¬†¬†¬†¬†¬†mid = len(a_list) // 2 ¬†¬†¬†¬†¬†¬†¬†left_half = a_list[:mid] ¬†¬†¬†¬†¬†¬†¬†right_…
  • The resize_table method is working for the test samples I have below but when additional random testing is completed the resize does not work. I do not know the exact failure other than it crashes wit…
  • #Problem-8: The data is in wide form. Transfer it long form and save it as a csv file #Problem-9: Compute correlation of RPT with all other stations and display the values as bar graph. excel file is …
  • Hello, I am taking a programming class and just having a rough time I guess. I have to resubmit this assignment but I cannot figure out how to implement the documentation the instructor gave this temp…
  • do not copy PYTHON PROGRAMMING: Patient Management System Program specifications This project is to develop a program that manages patient information and the procedures a patient received in a hospit…
  • An AVL tree is a well-balanced binary tree. In an AVL tree, the difference between the heights of two subtrees for every node is 0 or 1.¬† Group of answer choices True ¬† False
  • Task 9 11 Create the function string NumberAnalysis which accepts a String that consists of any combination of digits(0-9) and letters(A-Z) and prints to the shell an analysis of the String as shown b…
  • I have a long, multi part homework assignment that I need help on. This is all using python with imported graphics.py The game begins by allowing the player to place a certain number of red rocks, rep…
  • 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…
  • Choose the patterns for the subproblem types you identified, instantiate the patterns into an algorithm, and translate the algorithm into code. This part of the question involves writing Python code.
  • Write pseudocode for a program that reads a student record, consisting of the student’s first and last name, followed by a sequence of test scores and a sentinel of -1.¬† The program should print th…
  • Given a string as below, write code that uses list comprehension to reverse the words in the string. You need to use the reversed() and join() functions. Albeit, this solution is just one line of code…
  • Python Question Craps is a dice-based game played in many casinos. The game starts with the player throwing a pair of standard, six-sided dice. If the player rolls a total of 7 or 11, the player wins….
  • Hello I need help writing this in python Program: The statements inside your computer programs are generally executed from top to bottom, in the order that they appear. Control flow statements, howeve…
  • Please assist with the following questions for coding:¬† ¬† (1) Write a function named findLgValue that takes in a pandas DataFrame – where the argument is named “theData” – and a specific column name…
  • Provide the output of machine learning predicted output versus original output. Manually review 100 records and determine true positive, false positive, true negatives, and false negatives.
  • Enhance the SnifferStarterScript.py that is included here.¬† ¬† import socket import os from prettytable import PrettyTable # Get the HOST to Sniff From hostname = socket.gethostname() HOST = socket.g…
  • python 3. class Buffer: "A Buffer provides a way of accessing a sequence of tokens across lines. Its constructor takes an iterator, called "the source", that returns the next line of to…
  • Create a program that reads a list of words. Then, the program outputs those words and their frequencies. Ex: If the input is: hey hi Mark hi mark the output is: hey 1 hi 2 Mark 1 hi 2 mark 1
  • . def duplicate_link(Ink, val) : """Mutates ‘Ink’ such that if there is a linked list node that has a first equal to value, that node will be duplicated. Note that you should be mutat…
  • I am stuck on a python program it uses functions please read carefully it’s long In the main() function: The empty list is named nums. Use a for loop to add 15 random integers,¬†inclusive of 41-83, to…
  • Show a python code to import pandas and numpy modules. (1 mark) ¬†Using the following data create a named dataframe {‘value’:[544, 1749, 670, 226, 544, 2240, 643, 444], ‘patient’:[1, 1, 1, 1, 2, 2, 2,…
  • Using Python, do the following exercise: 1.) A number, a, is a power of b if it is divisible by b and a/b is a power of b. Write a function called is_power using recursion and the following is_divisib…
  • I don’t understand how to code the latest 2 versions of the program. I need help please.. Creez une fonction move_zeros qui prend comme parametre une liste d’entiers et deplace tous les zeros a la fin…
  • A search algorithm iSearch and a variable ilist have been defined as follows: In¬†[1]: def iSearch(target, lyst): left = 0 right = len(lyst) – 1 while left <= right: midpoint = (left + right) // 2 …
  • would you please tell me how to make questions one and two codes , and runs the codes show me a cods and screen short. Thank you help me .. Question 1: Sets and Dictionaries Usage [2.0 marks] a. A com…
  • I am having an issue with (‘Choose an option:\n’), whether I take the \n newline out or leave it in, I cannot seem to get it correct. I need help please. #Define the dictionary containing the movie de…
  • Pratice questions need answer to understand then thank you. Question 15 (1 point) We are given the following code: [ ] #This is the input x = "philadelphia eagles" x [5: #This is the output …
  • I’m having trouble defining this function, while paying respect to the guidelines. I cannot use loops, and I HAVE to use recursion. How would I go about defining the function?
  • python program using TRY/EXCEPT method to accept integer values, getting the average and sum at the end. ¬†it should not accept string inputs. Use looping. Kindly Enter “end” to terminate the program….
  • Program 1. Gross Pay Write a program to fetch employee¬†name and the salary.¬†Calculate the Federal tax and state tax based on the following criteria: ¬† If the salary is greater than 100000 then calc…
  • please help me create a python code to solve this:¬†. In this assignment, you will write a program in python that prompts the user for information and then displays the appropriate measurement. In par…
  • This is for the file, hw5.py. This question was answered by a tutor before, but that answer was incorrect. This is for the problem, get_series. It reads as the following: XXXXXXXXXXXXXXX get_series: T…
  • Hi, its a series of simple questions that i want you to answer for me. Please look at the document and answer them step by step so I know what you are thinking. CSCI.UA.0002 Midterm #1 – PRACTICE Intr…
  • Question 1. As you can see, the scores are reported in relative detail, including points scored in each quarter by either Oregon ( e.g. OrQ1 for Oregon’s first quarter score) or their opponent (OpQ1),…
  • dont copy Solve this python problem. Provide full code in Python and clear step by step explanation ¬†and the code must pass all the test. (listed below) you can copy it because it is a separate pytho…
  • Functions03: Reverse name Complete the reverseName() function so that it takes a first name and a last name and returns a string with the entire name reversed. For example, if the first name is Sue an…
  • I couldn’t understand this question. Can you help me? Define a Python function named ¬†x¬† with parameter¬† n ¬†with default value¬† 0 . The function will return calculation of¬† ¬†2n + 1 . Call the f…
  • I need help in implementing the forward-backward algorythm for hidden markov models (Python) ¬† (it’s the first empty function in the code below) ¬† import numpy as np def forward_backward(Y, pi_0, pi…
  • . What is the output of the following code? str = "pynative" print (str [1:3]) O pyn O py O yna O yn
  • We provide you with a value N. Calculate N! and output only the final result.
  • I need help with this code on Course Hero come someone help please
  • Why he true generalisation error is an unknown constant, which cannot be computed?
  • The following stand-alone Python function accepts a list of references and returns a bibliography containing those references. It assumes the ADT is implemented as a Python class, i.e. using¬†Bibliogr…
  • CS 61002 Algorithms and Programming l Ô¨Ālename. Finally, when the user is asked how many words to be quizzed on, your program should make sure that it is within the possible range of numbers (i.e. b…
  • Your task now is to construct a Python function called transpose which expects one argument: a two-dimensional table representing a matrix. This matrix does not have to be a square matrix. The transpo…
  • Trish at Bargain Used Books has hired you to write a Python program that will help her calculate what a customer should pay. She has a very simple price structure: ‚ÄĘ Paperback books are $2.50 each. …
  • Retrieve the “Close" and "Adj Close" values for each stock You wilt create a dataframe where there are 20 columns for the 10 stocks, each row is the "Close" and "Adj C…
  • 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 repeatedly ask the user for the id of a restaurant from…
  • Design a program that asks user to enter any five numbers. The program should display the greatest¬†number user entered, using Raptor
  • Which of the following is NOT a step of top-down design? a. code the smallest subtasks to build the program b. discard the top-level task because the subtasks are all that is needed c. break the overa…
  • Using MySQL, alter the table to populate the¬†INV_NUM¬†field, beginning the increment with¬† 9000 .
  • SOLVE THIS. no chegg I ran following program, which returned following columns: pretty_print_sql(f””” WITH actors AS ({actors_query}) SELECT¬† ¬† ¬†a.nconst, ¬† ¬†a.name, ¬† ¬†t.startYear – a.born AS …
  • I’m having a file which named “input.txt” This is the data inside, the first line is the maximum row 3 5.65 8.78 5.63 7.65 4.12 3.56 6.89 9.56 1.22 9.88 5.56 7.82 By using command line argument in Pyt…
  • Question: Use the bio-degradable-data.csv in this assignment to create a ML model and classify the chemical structure as ‘Ready BioDegradable’ – RB vs ‘Not Ready Biodegradable’ – NRB. Also, implement …
  • calculator that will give the user the following menu options: 1 ) Add 2 ) Subtract 3 ) Multiply 4 ) Divide 5 ) Exit Your program should continue asking until the user chooses 5. If user chooses to ex…
  • “””Q3:¬† Create a series called ‘directors’ that contains each director’s name and his or her average rating. ¬†Print out the type of your variable. Use the ‘directors’ series to find the average rati…
  • Problem 1 Cold Storage started its operations in Jan 2016. They are in the business of storing Pasteurized Fresh Whole or Skimmed Milk, Sweet Cream, Flavoured Milk Drinks. To ensure that there is no c…
  • Hi I’m trying to make my own version of the code on this page https://www.coursehero.com/file/p6ahpso/In-95-It-may-take-a-few-seconds-to-generate-this-map-colors-africa-blue-europe/
  • compare the performance of KNN, Decision Tress (DT) and Neural Networks (TT) when dealing with noisy data. ¬∑ Generate noisy versions of a dataset by randomly changing from the correct class label to …
  • In this question, you are asked to train two dierent Bayesian classiers to predict whether or not a patient has diabetes, based on certain diagnostic measurements in- cluded in the dataset. The datase…
  • Make a complete and syntactically correct Python program to solve the following problem: ¬† Make a program for use by professors at Austin Community College that allows them to read in student names.?…
  • Please read the node.py class given. After taking a look at that node.py class please take a look at the a5.py class. The a5.py contains three important methods: Length -> Outputs the length of the…
  • A linear model with a moderate violation to the assumption of normally distributed errors: Group of answer choices 1 May be useful for making predictions, but cannot be useful for explaining relations…
  • Part 1: def countdown(n): ¬†¬†¬†if n <= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) Write a new recursive function¬†countup¬†that expects a negative argu…
  • `dict_a` and `dict_b` are two dictionaries. Write code that “combines” their key-value pairs to create a dictionary named `combined_dict` (with `dict_b` taking precedence when there are conflicts). Fo…
  • Applying Your Experience Making mistakes when you learn to write code is common. It is part of learning. What is important is developing the skill of learning how to understand your errors and th…
  • Please Help !!! Show a function in this file called¬†nine_lines¬†that uses the function¬†three_lines¬†(provided below) to print a total of nine lines. add a function named¬†clear_screen¬†that uses a c…
  • This is a Python programming question. Please explain your answer step by step. I know the final answer and I know that “i in range (3,5)” is 3 and 4. But I don’t understand the answer and this part “…
  • Write code¬†to: Create a list, celebrities , and fill in the list with 3 of your favorite celebrities (in¬†order). Use for¬† to print their names, using the format as in the example¬†below. For ful…
  • Very short logistic regression modeling exercise: Provide the python code that creates a logistic regression model using the csv file (bank-additional-full.csv) contained in the following link below. …
  • . FILENAME menu.py Source Code #! /usr/bin/env python3 This module builds a restuarant order from a menu. Based on this order it calculates the total bill including tax and tip. The Menu is: eggs – …
  • Help me solve this lab please ¬† Heres the link to the turtle movments as well https://docs.python.org/3.3/library/turtle.html. ENGR 102 Lab #123 Activity: Creating tally marks – to be done individual…
  • You will be programming a money class. There will be only one instance variable (attribute), representing the amount. Include the following: A constructor that takes a float argument. Assign the value…
  • what does the abs means in line 5?. flt1 = float(input("Please enter a floating point number from 1 to 100: ") ) print (fit1) flt2 = float(input("Please enter a floating point number fr…
  • I need a python algorithm from a shoe store, which has the models available: 1-capri … $ 283.50 2.-casual … $ 189.00 3.-elegant .. $ 390.00 4.-American .. $ 350.00 5.-sport … $ 300.00 All availa…
  • How would one complete this? 1. We want to add a button to the tally counter in Section 9.2 that allows an operator to undo an accidental button click. Provide a method def undo(se]f) that simulates s…
  • How can I find students who have same gender? The following screenshot is what I have done so far. Please show me the detailed codes. D data_collection = { "student2": {"gender": &…
  • no chegg 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…
  • Could anyone help me to understand the answer code? ¬† Exercise3) Implement a matrix-vector product that operates on native Python lists. Assume the 1-D column-major storage of the matrix. ¬† d…
  • Compute their Cartesian product,¬† AxB¬† of two lists .¬† Each list has no more than 10 numbers. For example, given the two input lists: A = [1,2] B = [3,4] then the Cartesian product output should be…
  • Dictionary = [‘abate’, ‘abbey’, ‘abet’, ‘abhor’, ‘abide’, ‘able’, ‘ably’, ‘abort’, ‘about’, ‘above’, ‘abuse’, ‘abyss’, ‘ac’, ‘ace’, ‘ache’, ‘achy’, ‘acid’, ‘acne’, ‘acorn’, ‘acre’, ‘acrid’, ‘act’, ‘ac…
  • Part 2: Book sorting The library needs a program to sort its books. Ask the user to enter several books and the books’ information. The book information is: Book title Book publication Year Book barco…
  • Write a python¬† Adding a Roster File The user should be prompted for the name of a roster file. Roster files are CSV formatted files with the first column being the team name and the second column be…
  • Task 01 It is often very useful to iterate through a dictionary object separating the iteration into key and value pairs. In this task you will need to use your new knowledge of dictionary iteration u…
  • please can you help me with my assignment? ¬† Using the Decrypting Secret Messages sites found in this week’s readings, decrypt the following messages. a. – …. .. … / … -.. . …- / …– —– …
  • Im am struggling to plot this scatter plot, may I have some guidance?¬† ¬†. Exercise 13: Investigate the relationship between the proportion of high-mobility hummingbirds and the density of forestatio…
  • py import random from queues import CircularQueue class Job: ¬† ¬†def __init__(self, priority = 0, process_name = None): ¬† ¬† ¬† ¬†”’ ¬† ¬† ¬† ¬†Object for ¬†job description of various…
  • You are the IT manager of a large corporation. You are planning to use Python to develop statistical models to aid in analyzing your sales data. You are preparing a report for management. Here are the…
  • workers = [] I havmain = () Hello, ¬† ¬†I have the final code for my assignment as listed below. ¬†But when I export the code to a python zipped folder, and then run the code in python, I add employee…
  • Text_move (sell , craft_State) . self – a pointer to the current object. craft_state – implemented as CraftState in craft. py. return values : angle change: the craft may turn left(1), right(-1), or …
  • I need help with these two programs. Generate Secure Password -For the secure Password, you should prompt the user for the length of the password to be created, as well as the complexity (i.e. Use of …
  • I new function name is totalSum . I need to add this function to sum the all the number in the list. Here is my code so far. import random import math def fList (count) : list =[ ] for i in range ( 0 …
  • Write R code to connect with this public API – http://www.omdbapi.com¬† I need to know complete code
  • Help me find a trigger 2 code pictures make up one file, part1 is the first snippit and part 2 is the second 1 question guide photo and 1 question photo
  • If there are two riders, but neither one is at least 18 years old, they may still ride as long as they are both at least 12 years old and at least 52 inches tall. If a person is age 12-17, ask if that…
  • Write a function displayAges. This function has 3 arguments: names: list of strings with names of each person birthYears: list of integers with the year of birth of each person year: an integer with a…
  • Implement recursive function webdir() that takes as input: a URL (as a string) and non-negative integers depth and indent. Your function should visit every web page reachable from the starting URL web…
    • Program design type program that includes and utilises the functions described above to simulate the letters game from the Countdown game show. The program needs to ask the user nine times to sele…
  • You are a newly hired GIS technician for a mapping consultancy group. You have been given the task to create general maps showing roads, streams, and towns for every county in Virginia. (There are a l…
  • Solve the following problem in python. Make separate file for it. ¬† ¬† ¬† ¬† ¬† Problems Description:¬† The following tasks need to be solved using Shortest path algorithms.In graph theory, the short…
  • Please solve these 7 problems. Thank you. ¬† Problem 7 #¬†Program¬†to¬†iterate¬†agile¬†values¬†¬†through¬†a¬†list¬†using¬†indexing. create the following agile values in list. use for loop and iterate …
  • Sum of all digits in the string stored in isbn9Str (assume isbn9Str¬†stores a 9-digit string)¬† Isbn9Str =”013031997″ I need help with this question please!
  • Write code in python to generate the output based on the 4 problems given and plot the required graphs. Homework 6 lI’.Iirc:uit Them’ial Solution This is the scenario: Your organization makes a Sili…
  • buen dia, me podrian ayudar con esta actividad?, es programar dos pseudocodigos , pueden ser al azar. y necesito el archivo ZIP para correrlo, gracias
  • dict_contains_keys(items:set, example_dict:dict)->bool This function will have two parameters. The first is a set of numbers known as Number Set. The second is a dictionary known as Dictionary. Dic…
  • Hello, may I please get some help as to how to program this code in Python?? I do not even know how to start this project, and I am very afraid that my grade may drop. Thank you in advance! Assignment…
  • PYTHON ASSIGNMENT ¬† The dataset attached( training data_updated.csv ) comprises of the atmospheric pressure measurements taken on the surface(INPUT) and various heights(Y) of the atmosphere. ¬† bi)…
  • question 1,2 and 3 please Objective To develop a grocery ordering and payment system using Python. The application allows users to place online ordering of supermarket grocery items. Customer can View…
  • Building a trading model: Moving Average The moving average (MA) is a simple technical analysis tool that smooths out price data by creating a constantly updated average price. The average is taken…
  • You are asked to implement agglomerative hierarchical clustering (AHC). AHC was discussed in Teaching Week 7. You are not allowed to use any existing implementations of AHC in R or any other language,…
  • from math import sqrt # You may use this function to test if a point lies inside given circle. def ptInCircle(x,y, circles_list): for (xc,yc,rc) in circles_list: d = sqrt ( (x-xc)**2 + (y-…
  • Identify the error and provide a possible mitigation. def getLogin(): print(‘****************************************************************\n’) print(‘Welcome! Login to enter the program.\n’) userNa…
  • Make a program called VLogic6.vls that asks the user to enter an odd integer and runs repeatedly until he/she complies. Thank the user when the input is odd and let the user know if the input is incor…
  • Each EEG dataset is a text file with the following information at the beginning: %OpenBCI Raw EEG Data %Number of channels = 16 %Sample Rate = 125 Hz %Board = OpenBCI_GUI$BoardCytonSerialDaisy Sample …
  • Implement a function that returns the pay yields for a given set of spot rates. ¬† ¬† ¬† Using python – show-step-by-step with any needed fuctions that need to be added and show screenshots ¬† ¬† ¬† ?…
  • I’m working on a Python assignment and not sure what to do next after writing the dictionary.
  • I need help writing this code in python. The pictures are in order. You have just been hired by a tech startup that is planning on releasing a new e-mail service to its clients. They have asked you to…
    • Design and implement a function generate_primes(y, d) that generates the next d prime¬† numbers ‚Č• y.¬† For example, for y = 20 and d = 9, your function is expected to return a list with values¬†…
  • Theater Seating Revenue with Input Validation A dramatic theater has three seating sections, and it charges the following prices for tickets in each section: section A seats cost $20 each, section B s…
  • What is log likelihood and how do I compute it with this data which comes from negative binomial distribution cause im stuck need help please?
  • Please help. I need help formulating a code for this task. I need to have a ¬†dictionary entry for each unique packet observed. Unique Packets combination of SRC-IP, DST-IP, Protocol. I need to keep t…
  • Please read from top to bottom, starting from the first column and down. Please provide a solution of code in python and explain what each line does. Do not just paste the code without explaining what…
  • Answer the question and the code should be in Python 72 a) Design an 1 1×1 1 Gaussian filter, he = e202 where r =Vx2+ y2 and o =2. Display the result. b) Filter the image of the moon with hg using con…
  • python programming Assume all sklearn packages you want to use have already been imported for you. Type Lights Height Store Rating 1 trees. info( ) 0 Fake Red 5ft Costco 1.0 <class ‘pandas . core. …
  • write a function in python that given an integer n, performs the following conditional: – if n is odd, prints “n is odd” – if n is even and in the inclusive range of 2 to 5, prints “n is an even numbe…
  • Please select one of the topics below and post your response. The topics below pertain to the materials you are about to cover in the lessons in this module You must make your initial post before you …
  • Explain the difference between Service Oriented Architecture and Web Services. {2i} points]
  • Part 1 – Main Version Outcomes 1. The program should allow students to predict their progression outcome at the end of each academic year. The program should prompt for the number of credits at pass, …
  • Adjacency List IN JAVASCRIPT OR PYTHON Programming challenge description: a program IN JAVASCRIPT OR PYTHON that builds an adjacency list representation of a simple undirected graph. Input: An undirec…
  • 1-Extract the contents of the first message into a variable called¬† first_message . Print¬† first_message . 2-Extract the name of the author of the second post, into a variable called¬† second_name ….
  • Assigns the value of "pigeon" to the variable AltAnimal. d. Includes an if-statement in which… (Hint: You should use both elif and else.) i. If the value of AnimalName is "cat&quot…
  • I need help with creating this landscape graphic on a canvas. Please do not use any break statements or global variables. I have attached the images below for further instruction and picture examples …
  • Task You are to write two source files as described below: ¬∑¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†The first file named stockApp.py , should contain the following two classes: ¬∑¬†¬†¬†¬†The first is a class called St…
  • Write the function pairs of sum(lst, s) as below: Write a function pairs of_sum (1st, s) that find all pairs of integers in an input list that sum to a specific value and that has a worst-case time co…
  • Can anyone help E IT 140 Hig her Lower….pdf Open file Bella that she is thinking of a number between 1 and 10, and then Bella tries to guess the number. When Bella guesses a number, Maria tells her …
  • ..below . Python programming in VSCode The city of Crymland is plagued by a syndicate run by Mr. Bigg. Initially, Mr. Bigg supervises 7 thieves. The thieves operate as follows: ‚ÄĘ Every week …
  • Dynamic Programing – City Planning. (10 points): A city planner is asked to organize grocery shops in a new city. The city has a straight line main street that goes throughout the city. The city pl…
  • Can you plz help me with the coding for this problem, thank you!!! https://wwwbis.sidc.be/silso/datafiles ¬† ¬†. The Sunspot Cycle Sunspot Umbra Penumbra Approx. size of Earth Pores Overview Let’s lea…
  • 5 Write a junction named is CJK (ch ) It will check if ch’s unicode is DX 2E 80 ~ OXFFEF 8 X20000 ~ Return True if it meets the condition ( ch is a Chinese, Japanese, Korean character ); return False …
  • Home X – Home | Home x linked_bina x Welcome X DDD PS5-20cf3h X DD homework X QDE hw4-momn X PRE hw4-momn X PRE homework- X + X File | C:/Users/lenovo/Downloads/homework-math630-5ghuo40a%20(1).pdf . ….
  • La fonction prend une liste d’entiers comme param√®tre et doit retourner True si : ¬† ¬† Le 1er et 2√®me √©l√©ment diff√®rent de 1, et ¬† ¬† Le 2e et le 3e √©l√©ment diff√®rent de 2, et ¬† ¬† Le 3e et…
  • I just followed the example code, but i don’t know why it does not work, how can i fix it? / / from external files 1 reference private void PopulateBoxes( ) try // Reads information form the text file…
  • Q5 Look into the following flowchart, Python code, Algorithm description and provide your responses for tasks A – D: ¬† ¬† ¬† ¬† ¬† 1 ¬† 2 3 ¬† 4 5 ¬† 6 7 ¬† 8 ¬† ¬† #Mark to Grade Conversion Program …
  • Data Science Question Only need to answer D Here is the data set link: https://raw.githubusercontent.com/cmparlettpelleriti/CPSC392ParlettPelleriti/master/Data/reactionTime.csv data viz = data visuali…
  • Python Programming Question Implement class Date that supports the following methods: ‚ÄĘ __init__(): Constructor that takes no input and initializes the Date object to the current date. ‚ÄĘ display()…
  • Can you help me with this question and give me detail solutions? Do not use any modules including sets and notice that the run time cannot be exceeds nlogn . . . < > G " online.cs.uwaterloo…
  • Attempting to build the following program. Trying to have the text from the webpage saved as .txt file ‘Martin-MLKJr.-1963.txt’ and then pull it back in to run it through the “spkr_text” and “blob”…
  • # *********************************************************************** # Instruction: Complete the program below according to the comments given # **************************************************…
  • Rewrite the below program shown below using Graphical User Interface (GUI). All output should be displayed within the GUI Windows.¬† # MAIN method def main(): ¬†¬†print(“Welcome to my program.”) ¬†¬†#…
  • Sample Output Entering course information. .. Enter course number: CIS340 Add another course (Y/N) ? y Enter 3 letter department for next course: CIS Enter course number: CIS345 Add another course (Y/…
  • 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….
  • Solve the following question using Python: sources:. lnfix expression example: 3+4*5f6 (operators are between numbers) lnfix expression evaluation: 6.3333 PostÔ¨Āx version of the inÔ¨Āx expression: 34…
  • Our first task is to set up classes to represent the entities that need to be manipulated for the game.¬†One reasonable division of functionality is to have one class for the player controlled lander,…
  • Extra Credit (+10 points): Have get_values() return the timestamp for each value transacted and plot a timeseries as well.
    • Given the above adjacenty matrix: i. Draw the equivalent adjacenty list. [2] ii. Draw the equivalent graph. [2] iii. Calculate the indegree and outdegree of each vertex of the graph. [1] b. Given t…
  • Partie1 ¬† Write a Python function called helper that takes two parameters that are strings s1 and s2. s1 and s2 are composed only of numbers 0 to 9 as characters. s1 and s2 are not empty. You can ass…
  • Write a VERY SIMPLE program using python that simulates rolling a dice. The program should ask the user how many die rolls they wish to do, and then print out that number of randomised die rolls on on…
  • Write a python script called vmarchiver.py that will create a complete backup of a single VM the user specifies. ¬†The specific details of how it works are below: ¬†When this script is run, it will pr…
  • ### import your python file to this code and macth it with the output below ### import sys import # your code goes here. def dump(band, msg): print(msg) print(” Singer: “+band.get_singer()) print(“…
  • Hello Python Experts¬† ¬† Need help on python 3 to calculate string calculator logic . ¬† ¬† ¬† ¬† ¬† ¬† Expectations :¬† 1.Code should be written in python 3 with sample format shown¬† 2. Share test …
  • I need a simple Python program to do the following: (a) Use a for loop and a random integer generator to generate 5 random integers in 1 to 9. Store the random integers in a list. Display the list. (b…
  • python programming this project required the source data and code templates. you can download it from here Task 1 # Task 1 code template # Instructions # 1. Where required, replace the *pass* statemen…
  • Question a. answer is 5, 22, 5. How do you get the 22 if it loops 5 times. ¬†. b. C. a UI N C h 16 while a < c while d > f whileg < h a-a+1 d -d+1 9-9+1 b -b+ c eme-1 endwhile endwhile endwhi…
  • Python Program question:. 1. Setting up for Practical Test 1 Within your work area, create the following structure using Linux commands (1 mark) PracTest1 The Life Meaning Holy Of Of Grail Brian Life …
  • I need to learn how to do a set of unittests for a function for an assignment in in python but I don’t know how to go about it.
  • I need help with this part of my homework. Here is the objective, and the instructions for this part of creating this excel file. OBJECTIVE The goal is to create a calendar in a Microsoft Excel spread…
  • a)We calculated a linear regression model that connects sales values ‚Äč‚Äčto TV value by minimizing the Residual Sum of Squares (CCT) function using the ad.xlsx data in the lesson with the Gradient D…
  • Hello, ¬† There is a data in list of list like this… nested_data = [ [ ‘ [WhiteElo “2627”]’, ‘[BlanckElo “2780”] ‘ ] ] ¬† My solution used regular expression for game_data in nested data: ¬† ¬† ¬†fo…
  • Write a fruitful function called upper_first_word(aString) that takes a string as an argument and returns that same string with the first word in upper case.
  • 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…
  • 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 DataFrame Return…
  • The height of an AVL tree is O(nlogn). Group of answer choices True ¬† False
  • Please as do it as easy as understandable and, not using math.ceil() functions ¬† NOTE: The recipe rounds upwards, since it is usually not practical to obtain fractional cans or fractional eggs, etc. …
  • Write a Python function to validate a credit card number as follows: ¬† The card number MUST BE exactly 13 or 16 digits in length and may ONLY ¬† be entered as xxxxxxxxxxxxx OR xxxx xxx xxx xxx OR xxx…
  • if you have for example a list of co-ordinates e.g [‘2′,’3’] [‘4′,’5’] [‘6′,’7’] …and so on what do you do for example if you want to find the distance using any of the pair of co-ordinates using th…
  • Please make an example below work,¬† ¬† ¬† Create a Python script that takes two parameters to do the following:- 1) List all files names, size, date created in the given folder 2) Parameter1 = Root F…
  • Pig – A Die Game The objectives of this exercise are: . Verify that a student’s development environment is set up Refresh our memory on how to write a program to a specification . Improving our progra…
  • Please see the attached file for the question. I need an ALGORITHM AND PLEASE implement the algorithm in PYTHON in order to see the results. Problem 1: Rod Cutting . Given a price table for rods: Leng…
  • below is the txt file, a bit long¬† word5Dict.txt aahed#aalii#aargh#abaca#abaci#aback#abaft#abaka#abamp#abase#abash#abate#abaya#abbas#abbes#abbey#abbot#abeam#abele#abets#abhor#abide#abled#abler#abl…
  • In the list here : https://paste.ofcode.org/8azP7bYgRvJGmQsPAnvzj4 The first element of each tuple inside the list is a node that points to another node. I am trying to find out the number of links go…
  • . 12.11 (LAB) Warm up: Online shopping cart (Python3) (1) Build the ItemToPurchase class with the following specifications: . Attributes (3 pts) o item_name (string) o item_price (float) o item_quan…
  • 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…
  • I need help in solutioning this problem; I unlocked this and it did not have answers so I can follow along, need help asap, please. ASSIGNMENT REQUIREMENTS Write a Python program that determines the a…
  • 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 where the data ends. The data for the pair of shoe sales hav…
  • When a program runs the same code multiple times, it is called:
  • For this question, we will scrape the website “https://www.dailynews.com/”. For all news headlines for the website, you have to look for the link to the article and the headline text which¬† contains …
  • Write a PYTHON program to merge the two inventory files. The format of the inventory files is described below. Each unique item of inventory has been assigned a unique¬† SKU ¬†number. This SKU number …
  • Ideally in Random Forest, the decision trees that are made are pruned¬†? ¬† a)true b)false
  • Computer Science Question:¬† Must be answer A, B and C Is it possible to work this in python notebook with R? Question: ¬†Write Metropolis Hasting sampler for simulating a Gamma distribution with¬† sh…
  • Loop to populate user_guesses with num_guesses integers. Read integers using int(input()). Ex: If num_guesses is 3 and user enters 9 5 2, then user_guesses is [9, 5, 2].¬† num_guesses = 3 user_guesses…
  • Python Create a program that takes three inputs that correspond to a patient’s systolic blood pressure(first number), and total cholesterol. Determine if the blood pressure is normal, prehypertension,…
  • . 1d. [3 pts] Which passenger group size gives the most tips? Filter the data for trips having fares ( fare_amount ) greater than $2 and the number of passengers ( passenger_count ) greater than 0. …
  • Please provide me the end to end coding for the same. Am getting error $ py.test-3 test/test_inventory.py | tee output.txt ============================= test session starts ===========================…
  • Do not use built-in function. Need to use your own functions. Hint( you may use Slice) ¬† a) Designing a Python function my_flip2 that takes as a parameter an RGB image and then displays its flipped g…
  • Write a python search function (DFS, BFS…) to test whether a board is legal or not. Imagine that you are playing a game Pacman but there are randomized obstacles in this game. “1”s are the obstacles…
  • Here is my problem, I need the code written in Python IDLE. I also attached the file that is referred to in the hint. Thanks Goals: Developing problem-solving skills, using 2-D lists and functions Pro…
  • ToyotaCorolla Sales Consider the data on used cars (ToyotaCorolla.csv) with 1436 records and details on 38 attributes, including Price, Age, KM, HP, and other specifications.¬† The goal is to predi…
  • I am having trouble with this question from my programming course: The code from previous questions is: def init_array(): ¬†¬†n = 5 ¬†¬†lists = [[] for _ in range(n)] ¬†¬†return lists def convert_to_n…
  • I need a function called getPrime() added to the attached program that will take in a list of all the numbers and return a list of prime numbers that are in the original list. Requirements: – Only 2 f…
  • 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…
  • How do I code this correctly?. Implement the following flowchart, where y and n are integers. The message for the inputs: Enter a positive number: <space> start n =0 y = 1 False Y >=0 output:…
  • Make use of the transcript of the 2016 presidential debate out on¬† Canvas (DebateTranscript.txt), write a Python program that will¬† display which candidate – Clinton or Trump – spoke the most, and b…
  • Write a program that counts the frequency (or number of the words) used in the string below and also counts how many times the word “know” occurs in the string. I know you know what I know
  • Portray the offices in Java for limiting simultaneous admittance to basic areas. Clarify how shared information can be safeguarded using objects. The inherent offices for limiting simultaneousness in …
  • Is python a typed language or not a typed language? Describe what these program does; print ( “Please enter two integers:” ) x = input( “x=” ) y = input( “y=” ) z = int ( x )+ int ( y ) print ( “The s…
  • The¬† steps.txt ¬†file contains the number of steps a person has taken each day for a year. There are 365 lines in the file, and each line contains the number of steps taken during a day. (The first l…
  • You have to make game in python. (10000 points game) Please read all the information first and then write code. —————————————————————————————-…
  • The diet.py program (attached) creates a dictionary of food items (a mix of fruit and vegetable items) and displays their corresponding information. The dictionary has the food item code, and Food obj…
  • 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 …
  • Here is input.txt : 1,2,3 4,3,4 6,7,8 9,9,1 3,4,2 6,7,8 ¬†. Write a program that reads the attached file called input.txt & and creates an output.txt file that a value to each row that is the tota…
  • ** all functions must include docstrings and type hints(annotations). See lesson 29 and 30 on docstrings and type hints. Programs with functions must have the statement at the end of the progr…
  • Use Jupyter Lab. Question 2 data = { "size’ : [‘XL’ , ‘L’ , ‘M’ , mp. nan, "M’ , ‘M’], "color’: [‘red’, ‘green’, "blue’, ‘green’, ‘red’, "green’], "gender’ : [ ‘female’, …
  • Use any standard dataset for machine learning and also deep learning. It’s good to try it on one layer neural networks (i.e., logistic regression) before multilayer neural networks. dataset in a prepr…
  • What is the relationships between the following modules (python presentation) ¬† Squared Euclidean distance similarity Minkowski distance Chebyshev Distance Hamming distance Cosine similarity
  • Write a function rev diag_elems_greater_than (table, x) that returns True if all elements on the reverse diagonal of a given input table table is greater than a number x and, otherwise, returns False….
  • Write a program that reads in a file with FASTA sequences and outputs the restriction enzymes that will cut each sequence, and their cut positions within the sequence. The file (SeqLibrary.txt) is at…
  • Using the table below, 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 se…
  • Hello, I want to install turicreate, but this keeps showing up, and I have totally no clue how to fix it. Could you help me with that? Thanks!
  • Your submission must be your original work. No more than a combined total of 30% of a submission can be directly quoted or closely paraphrased from sources, even if cited correctly. Use the report pro…
  • generate a Vandermonde matrix in python to compute a monomial interpolating polynomial, pn(x). Let yi = sin(2ŌÄxi) and xi = np.linspace(0, 10, n). For n=(a) 10, (b) 20, and (c) 50, perform the followi…
  • The following portion of the source code creates the rightmost figure above, fig3, showing the girl and a close-up of her pair of eyes. Read and analyze lines 35 – 44 of the code.¬† 35 36 37 38 39 40 …
  • Question 32 6 points Save Answ Trace the below code with the input: 6000 then 6480 then 20 (in that order). Enter the output exactly as it will be displayed. Pay attention to upper/lower case and spac…
  • how do you start a case study on a delayed product launch?
  • Need help approaching this problem. Trouble coming up with answer. Question 3: In thinking of a test statistic, one researcher decides that the absolute difference in the number of people who died in …
  • (Implication, 15pt) A university maintains a table with all its courses. There are three fields: dept, title, coursenr, which contain the department, title and course number of a course. E.g. (CSC,…
  • Can you explain each line of this code? #!/usr/bin/python3 # -*- coding: utf-8 -*- import os import numpy as np def load_coeffs (filename) : ¬† ¬† “”” ¬† ¬† load igrf12 coeffs from file ¬† ¬† :param f…
  • Can you help with setting the average time¬† When in “read” mode¬† Average time to find “i” in the file Average time to find all the letters i in the line When in “write” mode (Unsure about the first …
  • python question CAD You are working as a software developer for AutoChair, a company which produces CAD (Computer Aided Design) software. The company is part of a scheme to encourage primary school ch…
  • Your organization has¬† three network servers ¬†that report daily connection statistics on access time. The data was captured 5 times daily for each day for each server. ¬†For each server, you will ne…
  • In Python Please. Learning Objectives . Open a file for writing . Process information in a dictionary . Practice writing code needed for the final project Instructions A dictionary is a great way to s…
  • 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”…..
  • Background¬† Music streaming service has been on the rise in recent years. But radio continues to be an important part in music industry. Radio play is still a metric for measuring popularity. ¬† Musi…
  • Please provide python solution sharing the imports and questions below ¬†. Task 1 1 Write a function linear_regression that fits a linear regression model, and takes the following two arguments as inp…
  • Suppose I have a panda df named (rec_df) like the one below. Assuming there are only 10 observations. Please help me with the function at where. ? ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†event_day¬†¬†¬†¬†¬†¬†¬†firm act…
  • please help fill in the blank! Complete the following function to compute the Euclidean distance between two vectors (e.g., lists). The sample runs are shown below: > > > a = [2,4,3,1] > &…
  • import requests, bs4, re # Request page http://catalog.tri-c.edu/about/important-phone-numbers # and call raise_for_status on the request object res = requests.get(”) # <— FILL THIS LIST IN! (1p…
  • I need someone to help me create a deal_cards function to make the code run like this image, however you don’t need to draw for me. I only need blank cards. The deal_cards function is to display a set…
  • What does a dictionary of lists keyed by ‘timestamp’ look like? What should "update" look like to be able to be appended onto "self.announcements"? – create a dictionary named upda…
  • write ¬†program that will allow me to enter the number of terms and it will calculate the sum of the series
  • 4 Mixtures of Gaussians (40 points) 4.1 Code The le mogEM.py implements methods related to training MoG models. The le kmeans.py implements k-means. As always, read and understand code before using it…
  • For this assignment ( project part 1 ), you will be submitting a pdf, doc or docx file. Note that this is not working code, just details about what your program will do when you submit part 2. The doc…
  • can i please get help with the specific searches from /var/log/ messages and export only the match to the files as the instruction states above this is the result of cat /var/log/messages. 2. In your …
  • Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by replacing characters using the key below, and by appending “!” to the en…
  • WRITE an array of strings called training_target with the category of each. You can use this for convenience: [‘farm’, ‘farm’, ‘farm’, ‘farm’, ¬†‘farm’, ‘farm’, ‘farm’, ‘farm’, ¬†‘city’, ‘city’, ‘city…
  • Could someone help me create a code for a Pie Chart of this data? I have not decided what categories are important to include/exclude so any category values will be fine. I just wanted an idea of how …
  • how can i make this program? Python program that reads a positive integer n, and then prints a list of all prime numbers less than n.
  • I need to find in the CSV file the column called ‘Spend Past 30 Days’. In that column are dollar amounts like $2341. I don’t quite know how to have it search for every value in the column above $1000….
  • Python Telephone numbers in the US are formatted with a 3 digit area code in parentheses, followed by a 7 digit number with a hyphen: ex. “(123) 456-7890”. Write a regular expression that will accept …
  • 1: Purpose: Implement a more complicated if-else structure in a practical program. Remember, there is no need for this to be a function. ¬† For this problem, you will modify your HeatIndex progr…
  • hi, i have questions on this code instruction plz help me out T^T . create_scrabble_dict: This function takes as input a list of strings. It returns a dictionary that maps integers representing the nu…
  • I need help with how this question and an explanation of how you got the answer. Start a new interpreter session and set w=0, x = 15, y = 6, z = 30. Then write each of following expressions in Python….
  • Write programs to prove repeating 0.999… = 1 Use at least two different ways (more advanced way is preferred)
  • solving it only by numpy and without forloop. 3.4 Check for hot cells Once we have computed the mean temperatures in the cells and store them in temp_cell_avg, we want to determine the number of hot c…
  • Intro python: What am I doing wrong? Please help with my code and also change it ¬† ¬† import matplotlib matplotlib.use(“TKAgg”) ¬† import matplotlib.pyplot as plt # noqa: E402 import os # noqa: E402 …
  • Exercise 5 In a sequence of tokens (such as characters in this case) an n-gram is a sequence of n tokens that follow one another in the sequence. Fill def ngram_freq in code/fastq_reader.py which shou…
  • Take the master boot record from this week’s module and use it as a file input for your program. It will be named block.dd and you can assume that it’s in your current directory so you don’t have to p…
  • Write a program that lists all ways people can line up for a photo (all permutations of a list of strings). The program will read a list of one word names, then use a recursive method to create and ou…
  • Could you help me come up with a python command for this question? Thanks¬† 5. Create Python program code that will use a for loop to ask the user to enter four integers. It will count how many of the…
  • 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…
  • . Bonus Questions 04) Bonus question (1 mark). 1. Find the number of females who survived the titanic from the above data set. 2. Find the number of males who survived the titanic from the above dat…
  • In Crymland, a team of 3 dedicated detectives are trying to take down Mr. Bigg’s ruthless crime syndicate. The detectives operate as follows: ‚ÄĘ Each week a single detective is randomly assigned to a…
  • i moodlefrasericca E . . c. (15 points) Write a Python program that creates a list of integers of size 10, lst, and populates the list with randomly generated integers in range of [12, 61]. Then it so…
  • make a GUI program that calculates the average of what an employee earns in tips per hour. The program’s window should have Entry (font: Courier New) widgets that let the user enter the number of hour…
  • I am working on a Python program in AWS Cloud9 that makes S3 buckets, puts objects in bucket, deletes object in bucket, copies object from one bucket to another, and downloads existing object f…
  • both question are related to each other and i couldnt understand how to solve this question Problem 5. (Iterative Palindrome Check) Implement the function is_palindrome_iterative () in palindrome . py…
  • . Problem 6: Cost Function Suppose AirPure, a manufacturer of air filers, has a monthly fixed cost of $10,000 and a variable cost of -0.0001×2 + 10x for 0 < < < 40, 000 where r denotes the …
  • Python Basics 4 – [Definition and If statement] Objectives 1. Write and read Python programming language codes for textual and sentiment analysis.¬† 2. Identify contemporary issues in financial report…
  • What you will demonstrate Ability to break a problem down into smaller problems Ability to represent solutions as combinations of blocks, conditionals and loops Ability to write Python code to impleme…
  • Use the random module to c r e a t e a password that satisfies the requirements: (a) Contains 6-10 characters (b) Contains exactly 1 symbol from the set {!,@,..,@,+,%}. (c) Contains exactly 1 digit, i…
  • PYTHON PROGRAM ¬† I made this program and there is two big blue circles and the red circle is not shown, and when I click mouse it’s coming from below. I just want the code where this big blue circle …
  • Create an empty linked list¬† 2. Create and insert a new node at the front of the linked list¬† 3. Insert a new node at the back of the linked list¬† 4. Insert a new node at a specified position in …
  • import simplegui import random frameWidth = 500 def draw_handler (canvas) : for i in range ( 1 , 3000 ): r = random.randint( 0 , 255 ) g = random.randint( 0 , 255 ) b = random.randint( 0 , 255 ) randR…
  • I followed the script and keep getting this error. Can you please help me out?. File Edit View Navigate Code Refactor Run Tools VCS Window Help pythonProject6 – server.py X pythonProject6 ) 2 server.p…
    • A university has four departments: finance, engineering, arts and culture and agriculture and each of its departments have the following number of staffs: Finance: 20 staffs Engineering: 50 Staffs …
  • Write a method __repr__(self) that returns a string representation of a Board object. In the string that __repr__ constructs: Each tile should be represented by the appropriate single-character string…
  • Please help me with this ¬†. 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 …
  • # Import the necessary modules house = # Code to read in kc_house_data.csv # Display the correlation matrix for the columns price, bedrooms, and sqft_living, in that order print(# Code to calculate co…
  • Probability and random processes using python: You are waiting for a bus to take you home. There are two buses you can take to get home: red buses arrive at an average rate of 4 per hour, and blue bus…
  • We will use a data set called atl_crimes.csv. You can download by right-clicking here. This is a CSV file with a series 50 of crimes committed in the Atlanta area. This data set was created by samplin…
  • In the following, you are asked to write code to “mutate” a string. In particular, you are given a string, a position number and a character. You should return a different string such that this string…
  • function program letter_count.py that contains two functions, iterative_count and recursive_count, which take a string and character as input, and return the number of times the character occurs in th…
  • 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 …
  • from jupyter_plotly_dash import JupyterDash import dash_core_components as dcc import dash_html_components as html import dash from dash.dependencies import Input, Output from pymongo import MongoClie…
  • For the following research question, select the plot type(s) that would be most effective in answering the question. Research Question: What is the relationship between the bill depth and bill length?…
  • can someone help me figure out this code? Given an integer as input, print all the integers starting from 1 up to but not including that number. Print one number per line. num_str = input(“Input an in…
  • Maximum of three integers with functions I need help design a program that will find maximum of three positive integers.it should¬†have three functions, main, input validation and maximum. The main fu…
  • is_linearly_independent, number_of_basis = check_linear_independence (C) print ( ‘Linear Independence: {0}’ . format (is_linearly_independent) ) print ( ‘Number of Basis: {0}’ . format (number_of_basi…
  • Need the code please4 ks.com/zybook/CYB_130_53744141/chapter/6/section/8 zyBooks catalog ? Help/F CYB 130: Object-Oriented Scripting Language home > 6.8: LAB: Acronyms 6.8 LAB: Acronyms An acronym …
  • using brute force and backtracking minimal cost of set of connections. left being (6, 0) to (2, 6)to (4, 3)to (3, 0)to(7, 8) path cost is greater than 20mm right being (6, 0)to(2, 6)to(4, 3)to(6, 4)to…
  • I need a better understanding of Complex models hardships and “When is interpretability needed”? ¬†I am reading the article below and I just want a better understanding of those two sections. ¬† https…
  • Question 2.5. Assign tor_ade to a DataFrame that only contains rows for Adelie penguins on Torgersen Island. tor_ade should have all of the columns in penguins except for ‘species’ and ‘island’, which…
  • this two question please answer. X Quiz 6 | K-Means and Intrinsic Di i X X Progress | Big Data Analytics Usir x *Quiz 6 solution.pdf X v learning.edx.org/course/course-v1:UCSanDiegoX+DSE230x+32021/blo…
  • Please help i have no clue what this is asking for Write program whose inputs are three integers, and whose output is the largest of the three values. Ex: If the input is: 7 15 3 Then the output is: 1…
  • . Create a Temperature class. Make two methods : . convertFahrenheit – It will take celsius and will print it into Fahrenheit. . convertCelsius – It will take Fahrenheit and will convert it into Cel…
  • Write an python script to define a list of 10 number where the value can be positive, negative and zero. Find out the prime numbers from the list items and store the values in a new list. Print the ne…
  • . Assignment 6 – CSIS 153 (20 pts) — Due Friday, March 11th at 11:59 PM For this assignment, we will write two versions of the same class. To summarize, this program will: Have three separate files…
  • ‚Äč i need a program that implements the Naive Bayes algorithm for word sense¬†disambiguation. the program will have to assign a given target¬†¬†word with its correct sense in a number of test example…
  • I need to solve this problem so i can learn problem solving from it
  • Need help solving this code with the information provided. The output must be the same as what the problem is asking for. Thank you. ¬† ¬† ¬† ¬† ¬†. $22/challenges/4-change lu | Home youtube ( HBO Max…
  • Can I ¬†please get help with this python problem ? ¬† def symptom_similarity(symptomsA, symptomsB): ¬† ¬†“”” ¬† ¬†Computes symptom similiarity between patients A and B. ¬† ¬†Args: ¬† ¬† ¬† ¬†symptomsA…
  • https://docs.google.com/spreadsheets/d/1fujrC5wgj9upPCOqs0SC9Fsz9soHiTmvkjmPiCqju_A/edit?usp=sharing Q1 read csv file Create & show a Pie Chart comparing total oil production by county: Category: …
  • Dropbox Link for data: https://www.dropbox.com/s/99i78sgaepn63rz/yellow_tripdata09-08-2021.csv?dl=0 To be done using PySpark. Function to exclude trips with no distance #export def exclude_no_tripdist…
  • A Program ( input ) required 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 :…
  • Base class class Pet: pet_kind = ‘animal’ pet_color = ‘black’ #Create two variables kind and color; assign values def __init__(self, name): self.name = name #In the constructor, initialize the pets na…
  • Make a Python program that takes 2 arguments n and m as command line arguments. Your program must generate m different permutations of the first n natural numbers. The algorithm of finding the maximum…
  • python program for personal information class. 3. Personal Information Class Design a class that holds the following personal data: name, address, age, and phone number. Write appropriate accessor and…
  • continuation these both images are the same question the test cases are given below I need the solution in python script, please. ENED 1100 – Fall 2021 Homework 11.1 INDIVIDUAL ASSIGNMENT: See the cou…
  • I attached my code to this task function. please fix it if it’s wrong and i need help in task 2 here is the code: Task 1 ‚ÄĒ Plane A Plane represents a specific airplane that be parked in a hangar. cl…
  • import MobileInventory class and InsufficientException from the inventory module using the expression¬† from proj.inventory import MobileInventory, InsufficientException. Import pytest using the expre…
  • How do I add the string¬†, hello!¬†in python to this expression # Input from the command line import sys name = sys.argv[1]
  • # 10 pts – Print all transactions contained by this block def display transactions ( self ) : pass
  • First, you need to extract the required information from two data sources, namely “Covid-data.csv”, and “CountryLockdowndates.csv” based on our analysis requirements mentioned in the previous section,…
  • Hello! I posted almost the same question yesterday about BST, and I`m starting to get a grip on it now. But I wanna practice more of this. ¬† I would really appreciate it if you could help me with the…
  • Introduction to Programming Assignment: Task 4 ¬† You¬†should¬†only¬†attempt¬†this¬†task¬†if¬†you¬†have¬†completed¬†the¬†other¬†partsof¬†the¬†assignment¬†easily¬†and¬†want¬†an¬†extra challenge.¬†It¬†i…
  • Need solution and explanation, this is multi linear regression question (code in the function given) cannot use numpy question in png def greedy_predictor (data, y) : ¬† ¬† “”” ¬† ¬† This implements a…
  • Please refer to the attachment to answer this question. This question was created from WS09.pdf.
  • Create a page rank using python code that has an 11 player team and each Player is a page, and each pass is a link.
  • I am working on a python programming assignment right now and they want me to compute simple interest rates and display them in a table format. I am having trouble with the formatting part. I get the …
  • implement a generic Decision Tree classification Model without using sklearn library. Any dataset can be considered.
  • Movie Lover’s Club The Movie Lover’s Club is a club of persons that love to watch movies and keep track of how many times they have watched the movies they love. The club president, Al Hitchcock, has …
  • Q1) Writing a python program and upload the script file. Your python program should print a mailing label as follows.¬†¬†¬† To: Name: John Address: University of Ford 577 Parking Avenue Miami, Florida…
  • Dots and Boxes This exercise is about the following topics: ¬† Writing two classes in the same program Using a two-dimensional list as a field of an object ¬† Initial preparations Create a new project…
  • Need help with First-Order Logic sentences for practice problems below. 1. All zebras have stripes.¬† 2. Not all cats have a tail.¬† 3. Anyone who enjoys homework and writing papers must be an AI stud…
  • Step-by-step 1. Prompt the user for a word (it’s best to also convert it to lower case), then test 2. Check if the word is in the english list, then test 3. If the word is English compute the index (e…
  • Write a function¬† listSwap(lst) ¬†that takes a list¬† lst¬† as a parameter and swaps pairs of consecutive values in the list i.e. index 0 and 1, 2 and 3, 4 and 5 and so on. If there are odd number of…
  • Use Python to run the following .py Files with the original values and statements. Next, change some of the values to the following. Please keep in mind that statements may change accordingly once you…
  • Hi, Need help with this.¬† Need help Need help. Select an API of your choice. Make at least 10 requests to this API with different querying values. For example, you could look up the weather informati…
  • I import two .csv dataframes “summer” and “winter” in jupyter notebook: Year City Sport Discipline Athlete CountryCode Gender Event Meda lCountry PopulationGDP per Capita 0 1924 Chamonix Biathlon Biat…
  • i need python code for part 1 which i can copy paste on my ide¬† ¬† ¬†. Write the python code to complete the following. Submit by copying the CODE into the answer part. If your code does not compile …
  • Two programs are required. In each program: Start with a comment that includes your name and course number. Include pseudocode that describes all steps required to solve the problem. Employ variable n…
  • code using python. 3 Coding: Note : you pick the appropriate parameters in these problems. 1. LetX1, X2,,/,X,, iid N(Ax, o ) and Yi, Y2, … \Ym, iid N(ly, 0?). Let a – 0.05, here o? is the same in bo…
  • A leading bank wants to develop a customer segmentation to give promotional offers to its customers. They collected a sample that summarizes the activities of users during the past few months. You are…
  • Why we need to spend time on data exploration before modeling? 100 words answer need
  • Write a program that will pick a winning ticket at random from a pool of tickets. Your program should prompt the user to enter the number of tickets for each student in the class. The tickets will the…
  • ,Q3 – Operations on a List Data Structure)** Implement an Inventory class (i.e., a linked list like the ListADT and Roster classes that we did).\n”, ¬†¬†¬†¬†¬†¬†¬† “\n”, ¬†¬†¬†¬†¬†¬†¬† “Your Inventory…
  • 2 Predict stock price(40 pts) The aim of this problem is to test a data source which claims to be predictive of future returns of the SPSOO index. The "signal” in the table is received at the e…
  • **IN PYTHON** ¬† ¬†. CS 1063 Introduction to Computer Programming | Project Two: My Store Objectives Other objectives may include. . Defining and call multiple functions. . Use different levels of fun…
  • I would like to know the answer. CS 101 > Modules > WO3 Assignment: Personal Budget Fall 2019 W03 Assignment: Personal Budget Submit Assignmer Home Announcements Due Saturday by 11:59pm Poin…
  • #python3 #web scrapping PART A Q JUST FOR INFO par b Q just for information Links from one article to other articles Wr function¬†get_links(article_name, language_edition)¬†that returns a list of wiki…
  • Please help. Sample Input 0 3 17385 51392 180 Sample Output 0 Possible Not Possible Possible Computer scientists have great interest & attraction in space saving. A research group is working on an…
  • Question 1 1 pts Tuples can be defined as.. O All of the above O as sequences O a collection of objects that are ordered and immutable O they use parentheses to enclose sequences Question 2 1 pts Sets…
  • I trying to get a code for this solution to this problem and the questionis? Unit 4 lab Assignment Many document use a specific format for a person name. Write a program whose input is firstName, midd…
  • pad_keyword: This function takes as input a string and an integer¬†n. It returns a string of length¬†nobtained by concatenating characters of the input string together until the desire length is match…
  • Hello, This is a question related to big data, the MapReduce program. ¬† I want to implement a simple text processing program with MapReduce. The input data is partitioned data about books, where each…
  • # Program name¬†¬†¬†: Wk7_Jonathan_Delvalle.py # Student Name¬†¬†¬†: Jonathan # Course¬†¬†¬†¬†¬†¬†: ENTD220 # Instructor¬†¬†¬†¬†: Robert Haluska # Date¬†¬†¬†¬†¬†¬†¬†: 8/19/2020 # Copy Wrong¬†¬†¬†¬†: T…
  • struggling to solve this problem Stemming makes it a little tricky to search for the words you want to use, so we have provided another table that will let you see examples of unstemmed versions of ea…
  • 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 ūĚĎé,…
  • Create program using Searching Algorithm-Sequential Search, give me the diagram of the #1 question and analysis, and give me the code of program #2 Create a python program for the given problem. Part …
  • Help with code and comment in the program in python anaconda spyder
  • The following python example is similar to the code you are writing. In the following example, you are¬† displaying a list of temperatures greater than your favorite temperature. Use this as a guideli…
  • I need help with python s cripting lorem = ‘lorem ipsum dolor sit ad dolore consectetur adipiscing elit sed aliqua lorem2 = lorem. split(sep=’ ‘) ### place your code below this line ### ### place your…
  • can I get help in this function please? i attached picture of the question knowing that: not allowed to import anything. ‚ÄĘnot allowed to use sets and dictionaries ‚ÄĘ not allowed to use comprehensio…
  • I have a module named “Artificial Intelligence & Machine Learning”. Kindly help me by doing all the Tasks given in the picture. Task 3 must be coded in Python programming language.. Task 1.1: Play…
  • Using Turtle Module:. Bonus question [10 Marks] Question 3. Write a function to draw a square of length 100 filled by a randomized (R, G, B) color. Then, write another function that takes a positive i…
  • Python only and dataset is random¬† ¬†. ‘ Display a Dmamic Line CharLe (.l You will display a line chart of a dynamic dataset. It is advised that you start with assignment 3 and add the capability to …
  • You should save the solution to this problem in a file called setoperations.py ¬†if you wish to use the tester program. Write two functions called intersection ¬†and union . Each of these two function…
  • View the attached image of the sheet. It contains the height and the weight measurements of people in a sample. Some have weight measurements every month, some only have weight measurements for a numb…
  • “”” This security layer inadequately handles A/B storage for files in RepyV2. ¬† Note: This security layer uses encasementlib.r2py, restrictions.default, repy.py and Python Also you need to give it an…
  • # 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…
  • I’m confused here with the middle code that’s missing. Scenario Your task is to make and test a function which takes two arguments (a year and a month) and returns the number of days for the given mon…
  • n=[[1,5],[2,4]] n=[1][2]= Can you show me the code and the answer?
  • Question #1: Count symbols (3 points) In this question, you are given a string¬†s¬†which represents a DNA string. The string¬†s¬†consists of symbols¬†‘A’, ‘C’, ‘G’,¬†and¬†‘T’. An example of a length 2…
  • Here is a zip file https://ufile.io/d16gih2x with all the files you need to fill in for this module, and the example input files. The first couple of assignments 4 assignments require you to read from…
  • # Complete the following steps: # ¬†(1) Complete the following function according to its docstring. # ¬†(2) Save your file after you make changes, and then run the file by # ¬† ¬† ¬†clicking on the gr…
  • Write code using using python programming for: 1-¬†¬†¬†¬†¬†Ask the user to enter the: NAME (A, B, C, D, E, F, G, H, I, J), AGE, GPA (out of 4) and the MAJOR ( CS, CET, CIS, CE). Then print these infor…
  • An n-gram is a length n substring. Consider the string¬†“exuberant”. It contains the following 2-grams : [‘ex’, ‘xu’, ‘ub’, ‘be’, ‘er’, ‘ra’, ‘an’, ‘nt’] If you instead were interested in 5-grams: [‘e…
  • Implement a function printOddEven () that takes a string and a whole number n as a parameter and prints either the even or odd numbers up to n. If the string is ‘odd’ (in any capitalization) it will p…
  • Define a function tokenize(doc, lemmatized = True, remove_stopword = True) as follows: Take three parameters: doc: an input string (e.g. a question) lemmatized: an optional boolean parameter to indica…
  • I need help with these Python exercise questions:¬† ¬†. How can we reduce overfitting in an SVM model? O Normalizing and scaling data O Using kernel trick O Adding slack variables O Using dimension…
  • def returnAllCommonElements(list_of_lists): # your code here print(‘ — Test 1 –‘) list1 = [ [ 1, 5, 8, -3, 4, 1, 3], [2, 5, 10, -8, 4, 3, 2] ] out1 = returnAllCommonElements(list1) print(ou…
  • Basics of Sockets Sockets allow the operating system to interact with the network. Sockets form a point to point communication¬† channel between a client and a server based on protocols like HTTP, FTP…
  • . Do the necessary changes to the given code to convert the ip address to an actual address and reversing it , type the executed result in the space provided. for ip_addr in [‘127.0.0.1’, ‘192.16…
  • AirBnB Project Learning Outcomes: Learn how to translate business requirements into workable applications Declare variables, and manipulate the variables to perform arithmetic operations Create an lis…
  • Plot MSE versus order m, for m = 1, 2, 3, 4, 5, 6, 7, 8 respectively. Identify the best choice of m.
  • Create an empty list called workout . Now using a loop take 5 numbers as inputs from keyboard. These inputted numbers represent the number of minutes you worked out per day in last week from Monday to…
  • 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…
  • Can someone please write the code for this and please explain def process_data(file: TextIO) -> ‘TwitterverseDict’: Given: TwitterverseDict Twitterverse dictionary:¬†Dict[str, Dict[str, Any]] ¬†¬†-…
  • Recusive algorithms…. (a) Devise a recursive algorithm using design by induction for computing n where the input to the algorithm n is a nonnegative integer. Hint: Use the fact that (n + 1)2 = n2 + …
  • Q3b Write a function that meets the following specifications. Function name question_3b Parameter(s)/ 1. a function reference, fon_arg argument(s) Return value an object. See detailed description for …
  • 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…
  • Module 4 Assignment 2: Pseudocode & Python with Lists Overview Module 4 Assignment 2 features designing a program using pseudocode and then completing the program in Python using a list. M4Lab2 as…
  • #¬†#¬†Practice¬†Notebook:¬†Reading¬†and¬†Writing¬†Files #¬†In¬†this¬†exercise,¬†we¬†will¬†test¬†your¬†knowledge¬†of¬†reading¬†and¬†writing¬†files¬†by¬†playing¬†around¬†with¬†some¬†text¬†files. #¬†<…
  • Build a numpy array for time and plot c = C 0 exp(-kt) when t = 0 to 100 k=0.1
  • How should I calculate the first triangular number to have more than 100 divisors in Python programming language?
  • A triangle with height size and width size (base is at the bottom, rows are aligned left)¬† * ** *** **** ***** 4. A triangle with height size and width size (base is at the top, rows are aligned l…
  • from random import shuffle class Blackjack: values ‚Äč‚Äč= {‘1’: 1, ‘2’: 2, ‘3’: 3, ‘4’: 4, ‘5’: 5, ‘6’: 6, ‘7’: 7, ‘8’: 8 , ‘9’: 9, ’10 ‘: 10,’ J ‘: 10,’ Q ‘: 10,’ K ‘: 10,’ A ‘: 11} def play (self):…
  • Hello, please see attached. Thanks. Which one of the following statements about Python dictionaries is true? u You cannot use a list as the value of a dictionary because a list can be changed at any t…
  • Now we will implement the GNN Stack. Complete the forward method for GNNStack in models.py. For the purpose of this exercise, each layer of the GNN stack should contain a CONV ‚Üí RELU ‚Üí DROPOUT str…
  • ## PYTHON PROVIDE OUTPUT AS WELL AS CODE WHERE IT SAYS YOUR CODE HERE ## ## Lab9 Mutable Linked Lists – Required Questions ## # RQ1 def reverse(link): “””Returns a Link that is the reverse of the orig…
  • This is the instruction of my assignment, and I want to get help with the data preparation. I uploaded the data by using Google Drive ( “game_test”, “game_train”, “games”, and “example_submission”). h…
  • LAB RESTRICTIONS, PLEASE READ: Do not add any imports, the ones that you need will be given to you. You may not use any dictionaries or dictionary methods. Do not use try-except statements, you should…
  • hello help no chegg <!DOCTYPE html> <html lang=”en”> <head> ¬† ¬†<meta charset=”UTF-8″> ¬† ¬†<meta http-equiv=”X-UA-Compatible” content=”IE=edge”> ¬† ¬†<meta name=”vie…
  • Unit 4 Lab ¬† The unit talks about software development life cycle (SDLC). Discuss Thomas Suarez’s SDLC for his apps and how it compares to what you learned in the unit about SDLCs. Suarez talks about…
  • Q1 in the following code, the variable val is the function call’s _____. def print_square_area(size): ¬†¬†¬†area = size * size ¬†¬†¬†print(“A square of size {} has area {}”.format(size, area)) val = f…
  • Write a program which continually prompts the user to enter an int > 0 , summing these inputs as you go.¬† Stop when the user enters a sentinel value of <= 0 , then print out the accumulated sum…
  • Write Python code that opens and reads Websites.txt and uses it to build a dictionary that contains arrays of the URL’s in the file as values and keywords as keys. It should look something like the…
  • Lab – Dictionaries Write a program that creates a dictionary containing course numbers and the room numbers of the rooms where the courses meet. The dictionary should have the following key-value pair…
  • Create a database named health.db. The cities.db database will have two tables named Hospital and Doctor, with the following columns: HospitalID (INTEGER PRIMARY KEY) HospitalName (TEXT) BedCount (INT…
  • A company keeps a list of employee information for each pay period in a text file. The format of each line of the file is the following: I need a program that inputs a filename from the user and print…
  • ASSIGNMENT: In this assignment, you will write a Python 3.x program to calculate the length of the hypotenuse (side C) of a right triangle, given the lengths of the other two sides (A & B) as prov…
  • QR codes QR (quick response) codes are images that contain coded information in an array of square dots. The images are generally white with black dots, but some variation is possible, as we shall see…
  • I am attempting the C966 at WGU in Python Programing and WEB scraping with little success, not sure if my computer is set up incorrectly or my lack of knowledge in Python. Need some help getting under…
  • Hi! Could you explain the step by step process behind getting the answer 4 4? May I also ask about the Boolean: True and False will lead to False? True or False will also lead to False? thank you for …
  • You will implement a simple program that uses a two-dimensional nested list to represent a rectangular grid of cells on a map. Each cell contains a value that represents the housing price for a typica…
  • In python, thank you so much! ¬†. SHORT QUESTIONS (60%) 1. (10%) Give a recursive function re_encode(m, d) where m is a positive integer, and d is a dictionary in which the keys are the 10 digits 0, 1…
  • MET CS521, Boston University, Fall 2021 Prof. Alan Burstein Part 8: Settings For this section, you are asking the player for the settings of the game. The settings that you will be asking for is the f…
  • (date and time) python¬īs datetime module contains a datetime type with a method today that returns the current date and time as a datetime object. write a parameterless date and time function contain…
  • Use Python Programming: Here is the formula: 3. The Runge Example. Let f (x) = 7 1+721 E [-5,5]. (1) Using your Barycentric Formula code (Prob. 3) and (2) and (3) below, evaluate and plot the interpol…
  • Alter the above code so that instead of building a dictionary of word-value pairs, you build a list. Each entry of the list is a tuple containing the word and value. Print the list after the loop term…
  • Answer with the code. Input data – The input dataset is a sample of news articles related to S&P1500 in January of 2016:< News Article 2016_Jan.csy >. The dataset contains the following info…
  • program that prompts the user for a number from 1 to 50 until the number 21 is encountered. Not including the 21, calculate the minimum value. In case you know what this means: DO NOT USE LISTS! We wi…
  • name = raw_input(“Enter your name: “) print “Hello”,name
  • 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 +…
  • ńĪ have 2.5 hours.Please help Question 1 25 points Write a Python function called most_frequent_letter( string ) that returns a list of most frequently occuring letter and how many times it occurs in …
  • 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: …
  • Kindly make exact thing like that , Using python coding , this for PROGRAMMERS WHO KNOW ENGNEERING AND NETWORKING ¬† tutors who knows python please this is professional and should be exact kindly if y…
  • Write a program that will calculate the amount of money a person would earn over a period of time if his/her salary is one penny the first day and two pennies for the second day, and continue to doubl…
  • Overview As programs become more complex, it becomes increasingly important to plan or “design” your code before writing it. Designing your code will help you organize its logic. It will also help you…
  • How to write a program to generate personalized invitations for an event using a guest list and event details text documents in which the details.txt file contans details about event venue, date/time,…
  • Instructions: . Using Flowgorithm, design a flowchart with decision structures that will determine if an input year is a leap year (does February have 29 days) . The flowchart should do the following:…
  • Compare getting inputs for the user’s drink selection via¬† choice = input(“What drink would you like? > “) vs choice = input(“What drink would you like? > “).lower() What is the benefit to conv…
  • . Part 2 – Creating a Running Mean Algorithm Using for Loops It is often very useful to be able to smooth a time series to better display broad trends by averaging away the short-time va…
  • Pharma acumen:¬† How well do you learn a new data source and get insights using your background?¬†¬† 2. Technical skills:¬†ETL and Tableau skills¬† 3. Presentation skills ¬† Data source: ¬† Publi…
  • Assume that a file containing a series of integers is named¬†numbers.txt. Write a program that calculates the average of all the numbers stored in the file. Sample Run 49.6‚ÜĶ
  • Write draw_spiral_recursive based on the while loop version in draw_spiral. In that code, a turtle moves and turns for ever increasing lengths until a limit is reached. In draw_spiral_recursive, us…
  • coding hw help! 1. PTEN Linear Regression This week’s homework is about linear regression. The dataset we’ll be using is from the Cancer Cell Line Encyclopedia — you can read more about this database…
  • im Not sure what wrong with my code. … (34 rows omitted) Question 3.5: Use preban_rates_copy and postban_rates to create a table change_in_death_rates that contains each state’s population, murder r…
  • program to convert 2 decimal number to binary, do binary conversion,binary addition using loop
  • Write class called Time whose only field is a time in seconds. It should have a method called convert_to_minutes that returns a string of minutes and seconds formatted as in the following example: …
  • Using Python (b) You have decided to invest in a new cryptocurrency. You have tracked the average monthly price of said cryptocurrency over a six-month period. You should writes a function that can ca…
  • Write a program that demonstrates the Cubic Spline Curve Fitting method. You must write and call at least the¬† following 3 functions:¬† def CubicSpline(x, y, slope1=0, slope2=0): #calculates and retu…
  • Question¬† NOTE: You can use the¬†numpy¬†library to solve this question. a)¬†Create a function that creates and prints a two dimensional 2×2 array (i.e. grid). The elements of the array should all be …
  • Hi, for this question True or sqrt(-1), is the answer True because sqrt (-1) is default False since it is an imaginary number?
  • I need help writing a Python script that looks at existing text files or searches for new ones and converts the data to a useable format to that can create polyline shapefile feature class in ArcGIS. …
  • Hello, I’ve created a program that inputs a string that contains a character and a phrase. The output indicates how many times the character appears in the phrase. The problem is that when character i…
  • Hi, could someone help fix my code? It isn’t going to the winning screen for some reason and I don’t know how to fix it Here is my current code (for the santa claus picture I just use a picture off of…
  • Please anyone be kind to help me answer this question. I will be so grateful.¬† ¬† In this activity, you will implement a function that determines whether or not a card number is valid, according to s…
  • Define function cotDel(s,i) that deletes the it item of list s, s[i]. In other words this function should do what the statement del s[i] does. Your function should use slicing and concatenation. T…
  • #Try out floats and specifiers with the following activities #IMPORTANT!¬†Instructions in each section are not cumulative.¬†The later format specifiers will be applied to #the original number entered …
  • 2 questions to be answered Need to read subject.txt file in python and produce the two outputs given in screenshots using .split() .strip() etc¬† ¬† contents of subject.txt ¬† Code|CSE4IP Title|Introd…
  • Hi, could you tell me how to develop Python code for implementing text classification model analyzing and classifying the sentiments of product reviews as “positive” or “negative”? ÔľąWe already have …
  • import os ¬† def read_file(file_path): ¬† ¬† file = open(file_path, “r”, encoding=’utf=8′) ¬† ¬† file = file.read() ¬† ¬† splitter = file.split() ¬† ¬† return splitter ¬† def unique(elements): ¬† ¬† t…
  • This problem is based on the Nearest Neighbor MNIST notebook. You will solve the problem while you are working through the notebook, and you should enter the solution here . Find the nearest neighbor …
  • Write a function called check_positive_zero_negative. The function should take one parameter as an input, and perform the following operation:¬† ‚Ė™ If the number is positive, the function should prin…
  • What is python programming, explain it to me as a beginner level.
  • You have a linear model; the average R^2 value on your training data is 0.5, you perform a 100th order polynomial transform on your data then use these values to train another model. After this step, …
  • for¬†n¬†in¬†[1,2,3]: ¬† print(f’Order¬†{n}¬†LM:’) ¬†¬†lm¬†=¬†NGramLM(texts,n) ¬† ¬† print(‘¬†‘.join(lm.generate_text(100))) ¬† print(‘¬†‘.join(lm.generate_text(100,[‘palm’,¬†‘to’]))) ¬† ¬† print(lm.sc…
  • Python Code: Generate a¬† parent class Geometry ¬†which has method¬† area ¬†&¬† perimeter , which should be implemented by it’s child class. Create three child named¬† Rectangle ,¬† Triangle , &am…
  • Oh no! ¬† The elder bot, Ai, suddenly stopped functioning at a time when we need it the most! So now we turn to you, o great programmer, to lend us a helping hand by letting us borrow your Cody and pr…
  • The following questions are based on this ¬†structure: ¬†a 3.2-√Ö resolution outward-facing structure of the ATP binding cassette (ABC) flippase PglK bound to ATPő≥S (PDB code: 6HRC): https://www.rcsb…
  • I need help with this recursion assigment¬† Download the files in the A11¬†https://drive.google.com/drive/folders/163f9lT8XaCZFL4WVmXO8Y8GtOMAnBHsE ¬†folder¬†(Links to an external si¬†and add all the …
  • In Jupyter Mapping Function to Iterables how to write function that takes any email string (..r@domain.xxx) as the input , and returns the domain name of the given email. (Hint: Consider regular expre…
  • Can you help me to answer the following questions? A solution to the MCGW problem can be expressed in different forms, but it is not as simple for human to verify whether a given solution is correct. …
  • In python: given a string = “ABCDEFGHIJKLMNOPQRSTUVWXYZ” and an arbitrary position in the sequence, i, slice out a window of sequence 15 characters long, centered on i? This is what I have for now, bu…
  • Write 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…
  • Below Is my assignment. I need help with Step 1,2,3,4,5,and 6. For step 1 I have “print(‘Hello! What is your name? you may enter quit to exit’) ¬†myName = input()” For step 2 I have “while myName != “…
  • In python I have my code written . My code is running but it has some problem regarding to rules. (I have did all the other things so you do not have to worry about other functions) 1) ¬†fix my scorin…
  • I’ve a django socketio as server and reactjs as client django server wsgi.py import os from django.core.wsgi import get_wsgi_application from app.views import sio import socketio os.environ.setdefault…
    • How do i plot the instantaneous horizontal velocity and vertical velocity on one set of axis followed by the magnitude velocity on a separate set of axis? – how do i plot the instantaneous altitude …
  • . MA only Reminder: 0(B) = 1 – 0, B – 02B2 – … – 0,Bq from statsmodels. tsa. arima_process import arma_generate_sample AR = [1] MA = [1, -theta_1, -theta_2, … ] Z = arma_generate_sample (AR, MA,…
  • You must implement the function¬†get_anagrams(letter_pool), which takes in a string of uppercase letters¬†letter_pool, representing the letters you have to rearrange.¬† get_anagrams should return a se…
  • Write a program to generate and print all possible combinations of the characters present in a given string. Take length of string = 4 e.g. JOHN will have combinations JONH, JNOH…………
  • Given class¬†Triangle, complete the program to read and set the base and height of triangle1 and triangle2, determine which triangle’s area is larger, and output the larger triangle’s info, making use…
  • def nice_word(word) (str)->str ¬†¬†Returns a new string which is lowercase version of the given word ¬†¬†with special characters and digits removed ¬†¬†The returned word should not have any of the …
  • Problem 1 Define a child class called ParttimeEmployee from the Employee parent class. The Parttimelamployee class should have an additional instance attribute called week1y_hours. : class Employee: d…
  • Urgent urgent !!! noodle.aih.nsw.edu.au/mod/quiz/attempt.php? attempt=50170&cmid=50281&page=1 Facebook – Log In o… New folder. Import to Loox Edit Email #1 | Edit.. ALIAN INSTITUTE GHER EDUC…
  • 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.
  • Python I’m having trouble defining this function. I’m not sure if I should use a loop or what type of loop I should use. How would I go about this? I’M NOT ALLOWED TO DO THE FOLLOWING.
  • Use a 7-way anova of to see if there is a statistical difference in adoption time (DateTime_length) across age (Age_Bucket) for all adopted (Outcome_Type) dogs (Animal_Intake_type), using this csv fil…
  • Hi I cannot get my head around this with this computer science question on python please can you help me and show me how to work this question out I really appreciate your help, I have included a scre…
  • I am attaching my code below since I don’t understand what I am doing wrong . Can someone please explain to me what is the problem in my code Write a recursive function multiply_all (ist) that tak…
  • Consider the following example: dogs=[ ‘Labrador’ , ‘Poodle’ , ‘Beagle’ ] dogBreed = input( “Please enter Labrador, Poodle, or Beagle: ” ) if dogBreed not in dogs: print ( ‘Oops, no, ‘ + dogBreed + ” …
  • How do I write¬†a short program in Python and view the output, I want it to:¬† Take two integers from the user. Save the lower number as x. Save the largest integer as y. A loop that counts from x to …
  • You will be modifying the function time_of_cheapest_fare. Divide each day into two periods: Day (from 9am to 8:59:59pm, both inclusive), and Night (from 9pm to 8:59:59am, both inclusive). Calculate th…
  • P Problem 4 2 A piston-cylinder device contains a gas is compressed from state 1 (0.15 P2 m/kg) to state 2 (0.05 m3/kg) while the pressure (KPa) was measured at some points as a function of volume (m3…
  • I made a Python Program that displays information about the US States. I have my code written and I keep getting the following error: Traceback (most recent call last): ¬†File “/home/ec2-user/e…
  • Case Study Domain – Retail focus – Visualize the sales data Business challenge/requirement BigMart is one of the biggest retailer of Europe and has operations across multiple countries. You are a data…
  • What is the output of the following program? sampleList = [10,20,30,40,50] sampleList.append(60) print(sampleList) sample List.append(60) print(sampleList) Options A> [10,20,30,40,50,60] [10,20,30,…
  • 0 Model Development (Any one of the below techniques to be used) 0 Random Forest 0 CART 0 Neural Network
  • Focus 1. Simple Functions 2. Value-Returning functions 3. Random number Formulate a working program that uses Simple Functions, Value-Returning functions, and random number generation Part A: Write So…
  • In your script: A. Create examples of four uses of list operations in the script in your code. Be sure your examples address each of the following: i. Creating lists ii. Adding and removing data from …
  • Write the code for a filtering that generates a list of the positive numbers in a list named¬† numbers . You should use a¬† lambda ¬†to create the auxiliary function.
  • I am learning Python. How do I create csv file that has 3 columns and 30 rows? Thanks in advance.
  • The following situation uses a robot in a grid of squares. The robot is represented by a triangle which is initially in the top right square and facing left. The robot may not travel through the black…
  • Write a program that contains a class called Car.¬† Use __init__() method initialize the following variables/fields within the class.¬† make¬† model¬† year¬† color¬† Now create a Car type object calle…
  • A hotel salesperson enters sales in a text file.¬†Each line contains the following, separated by semicolons: The name of the client, the service sold (such as Dinner, Conference, Lodging, …
  • Write a Little Man Computer program using symbolic addressing ¬†that shows as output the sums ¬†of the odd ¬†values from 1 to 15 (inclusive). The output will consist of the sums ¬†of the following seq…
  • Write a program that simulates a rudimentary doctor’s office check in program. Use a dictionary data structure to store the following data for each patient: patient ID, Patient Name, Patient DOB, Appo…
  • In Jupyter 1. Stat Function how to Write a function that accepts a list of real numbers and calculates standard deviation , mean , median and mode of the given list and test your function with the fol…
  • Using juypter notebook to sole programming practice problems. ¬† Consider the variable ‘log data’ which is a string containing a standard web log.¬† This variable records the access a user makes when …
  • Hello,¬† ¬† I need some step by step explanation on this exercise. ¬† Exercise 8 (3 points). Complete the function, coo2csr(coo_rows, coo_cols, coo_vals), below. The inputs are three Python lists corr…
  • Using python. Create a change-counting game that gets the user to enter the number of coins required to make exactly one dollar. The program should prompt the user to enter the number of pennies, nick…
  • A parking garage charges a $3.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge f…
  • please help¬†. agg_subsectors = ghg_emissions . select ( [‘sector’, ‘subsector’, ‘Year’, ’emissions’ ]) agg_subsectors sector subsector Year emissions agriculture rice cultivation 2021 O agriculture r…
  • def accept_array (list) : n = int(input( “Enter the element : ” )) for i in range( 0 ,n): x = int(input()) list.append(x) def show_array (list) : print( “Array : ” , list) def ternary_search (l,r,key,…
  • Hey I need help with this program project. I am working on it on my own, but I don’t think I have a good grasps on how to do this, and would love to see how someone would tackle this program. I have a…
  • Create a function that adds 6 courses to the user’s schedule. Everything should be gotten from the user within the function.‚ÄĘ The schedule should begin as an empty tuple .‚ÄĘ The courses need to be …
  • Hello can you show me the python code for this UML using Object Oriented Programing
  • (inverse.py) Write a complete Python program. It should prompt the user to enter an integer, then read and input string¬† with input(), convert it to an integer i via int(), then print two different v…
  • What is the difference between a list and an array?
  • I dont know How to do this but I need to understand how to do it in order to keep my grades up. Project 4-4: Sales Tax Calculator Create a program that uses a separate module to calculate sales tax an…
  • A researcher wishes to screen users for the hand tremor symptom via a smartphone app. They recruit a cohort of people with diagnosed tremor and a control cohort about which nothing is known. The resea…
  • How to define a simple function for this? ¬†. In this code challenge, your task is to define a function get_name_length (first, last) that takes in a person’s first name (first) and last name (last) a…
  • Write a Python program that will take N as input from the user and then¬† take that many inputs from the user in the next N lines. Here, each line¬† will contain a cricket player’s name, an ODI career…
  • 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 …
  • def occurs_n_times(L,n): L=[] L.sort() count=0 for num in L: if num>=n: count+=1 if count>=n: return True return False print(occurs_n_times([1,2,2,2,2,5,4,6], 3)) #should be True print(occurs…
  • Data Science – Unsupervised learning and clustering: Please answer the questions by analyzing the data, dataset can be found here: https://drive.google.com/file/d/1KJ5WXDw0nZUN0AFNnCBxA2Lh-AZCk7Be/vie…
  • This involves writing a Python program to read in the temperatures for ten consecutive days in Celsius and store them into a Python data structure such as a list or a tuple. The entire list should the…
  • Write the missing client code program, stamps.py . Given the class Stamp (stamp.py) and the data file stamp_data.txt, write code for a main program in stamps.py that produces the output below. Do n…
  • Random Story Generation: using str.split() 12 We will represent the words in the original story (the training text) as a list of strings. You’ll need to read the words in the training text file and cr…
  • Textbook question 8 We take a 1D array where each element in the array (or lattice site) can be either “spin” 0 (no car) or “spin” 1 (a car). We then proceed forward in one time step. Each lattice sit…
  • a +xoc Code Python 3 (ipykernel) O 3. Analyzing a dataset Now that you’re familiar with table operations, let’s answer more questions using this data! Last Modified hours ago Often, we want to perform…
  • Make a 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. The allowed …
  • please help me I don’t know ¬†how to do this in prepoke frame work ¬†. . In addition to the Game class, your code must contain a Tile class. . You may add new methods to your Game class as…
  • . 2 Debug My Messy Code Create a python file called Messy . py. Copy and paste the following code in there and correct the errors so that it will run. Please also format it make it readable. The cod…
  • Machine learning LDA Logistic Classification MNIST. Do not know how to code.
  • Define: Interpreted vs. Compiled Languages Interpretive Overhead Scripting (Procedural) vs. Object Orientation vs. Logic Programing Paradigms Programming Libraries/Modules Command Line (Prompt) ASCII …
  • Question 9 (1 point) Show the code to loop through a list called book titles and prints each element in lowercase to the console. Paragraph B I UA
  • count_sort (arr: StaticArray) -> StaticArray: Write a function that receives a StaticArray and returns a new StaticArray with the same content sorted in non-ascending order. The original array must…
  • Problem 2: (40 points) a) Write a program to find the circumference and area of a circle. b) Write a program that converts temperatures from Fahrenheit to Celsius c) Write a program to solve a given …
  • So i need to solve this function in python , the program is almost finished but i dont know how to make that loop with n becomes 5/8 and then 10/8 and further one in x**3 here the same program in copy…
  • Csv_file = open(“google_books_dataset.csv”, “r” ) List_of_lists = [] while Csv_file: line = Csv_file.readline() line = str(line) List_of_lists.append( line) if line == “”: break Csv_file.close() Books…
  • Write a function that takes any two python objects¬†a ¬†and¬†b ¬†and returns boolean value¬†True¬†if they are of the same type and returns¬†False¬†otherwise
  • py file to complete the implement of class, called Rational. You need to add methods to perform arithmetic with rational numbers. ¬† ¬† Operator overloading is another example of an abstract…
  • If i have a dictionary like this {johnny: 5, susie: 7, johnny: -1, abe: 2, abe:3} How could I make it so that the values are added up? I want: {johnny: 4, susie:7, abe:5}
  • REGULAR EXPRESSIONS 1. Which module in Python supports regular expressions? a) re b) regex c) pyregex d) none of the mentioned 2. Which of the following creates a pattern object? a) re.create(str) b) …
  • In the English language a kangaroo (in addition to referring to an Australian animal) refers to a word containing another smaller word, where this smaller word doesn’t have any letters transposed. We …
  • To insert more than one record to a table i the code, which of the following is correct: you can use execute function with placeholder(s) and single SQL insert statement. you can use executemany funct…
  • SVM performs pattern recognition for two-class problems by determining the separating hyperplane that maximizes the distance between the closest points of each class in the training set (Scholkopf …
  • Hi all, ¬† I made a program which works on the base of the Luhn algorithm. https://www.youtube.com/watch?v=wsphC8V36i0 [ explanation of Luhn algorithm ] ¬† import random creditcard_number = [] def use…
  • I have zero experience with programming, and would like to know what the attached script actually mean.¬†This is a script with just 21 lines with code, can someone please explain what the entire scrip…
  • assignment date printer write a program that reads a string from the user containing a date in the form mm/dd/yyyy. it should print the date in the format march 12,2018
  • How many files in the hashes file are unknown when compared against NSRL? ¬† What is the MD5 hash for the file 022m2001.gif? ¬† how many hash types does an RDS entry feature?
  • Which of the following library is used for image processing in python Question 12 options: Pandas Numpy Matplotlib Scikit-image
  • Explain what is wrong with this code: class Point: ¬† ¬† def __init__(self, initX, initY): ¬† ¬† ¬† ¬† self.x = initX ¬† ¬† ¬† ¬† self.y = initY ¬† ¬† def getX(self): ¬† ¬† ¬† ¬† return self.x p = Poi…
  • Write a program in python using if condition . Input the temperature (user input) . Check if the temperature is less than 98 display the result as cold. otherwise¬† if the temperature more than 98 , d…
  • The integration testing strategy that starts with the overall skeleton of the system, and then incorporate components is called bottom-up integration ¬† ¬†True False
  • struggling to find a start for this program. build a function that takes a dictionary as the parameter and removes duplicated values. For example, if the input dictionary is {1: 1, 2: 4, 3: 2, 4: 1, 5…
  • .. Can some one explain where I am going wrong, please see attachment. Design a program whose input is two integers. Output the first integer and subsequent increments of 10 as long as the valu…
  • make a .csv file Start a new program¬†temp_win3.py¬†from your working version of¬†temp_win2.py. For the last programming step we will output a valid .csv file.¬†Change your program so that instead of …
  • list of dates in form of strings. create new list that stores years from dates in given list.
  • LAB Sniffing Bluetooth with the Raspberry Make note of the information displayed and perform a web search for the meaning of some fields displayed and report below a summary of the main information di…
  • The csv file in here: https://docs.google.com/spreadsheets/d/1a1v7AzwoLbmuilIIqbpsXjnowGJOpbS3tI6RJAJpmz0/edit?usp=sharing In [ ]: ) #Run this cell for your imports import pandas as pd import numpy as…
  • How to write code for this function below? def traverse(self, aNode): Everythig else is working fine. def traverse ( self , aNode) : “”” Code file for M269 19J TMA02 Question 2 Student version 1: 6/6/…
  • Python program to determine the body-mass index of a collection of six individuals. Your program should include a list of six names. Using a¬†for¬†loop, it should successively prompt the user for the …
  • Please help write the following codes in Python Programming. Program 3 The file “DegreesDict.dat” stores a dictionary where each field of study is a key and each value is a two-tuple of the form (ex. …
  • 1¬†Consider an application that can be used by customers to book for a bus ticket. Come up with a pseudocode and a flowchart to represent the program¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • What are the codes for member functionÔľö def weightedChoice ( self , candidates) ? from creative_ai.data.dataLoader import prepData from creative_ai.models.unigramModel import UnigramModel from creat…
  • Can you help me make the functions work with the 3 imported modules only? Thank you! import os,sys,subprocess def call_df(): “Use this to call the df command and return a list of output” pass # replac…
  • Compute the sum of the first ten positive integers using the “+” operator and then print the result using the predefined¬†print() function in python.
  • Fill in the blanks Complete the function time_to_seconds that can convert hours and minutes to seconds. Complete the code to return the output write code here time_to_seconds( write code here ) : prin…
  • “this is for Python in codio, i cant figure out what im messing up on. my mileCharge is coming up with 500 and i cant figure out why it needs to = the extraMiles * .25 for the D block of code. can you…
  • Write some Python code to create a variable named rankings, which is a list of dictionaries set up as follows: rankings[i] is a dictionary corresponding to the restaurant whose rank is i+1. For exampl…
  • This is my example of Python EXAM, I need answer. Python 1. Predict the output: c = 3 while c + 6 < 10: c = c + 1 print c A. B. C. D. 3,4,5 3,4 3 None of the Above. 2. Int(“abc”) will raise a. …
    • Define and implement a function that accepts a tuple of lists and returns the sum of only the unique numbers in that tuple. For example, if the user enters the following tuple: ([1, 5], [7, 8, 3, 2…
  • Assignment Activities For the following functions,¬† you must follow the approaches developed in lecture to recursively solve these problems.¬† Searching online for these problems (which you may not d…
  • CODE IN PYTHON USING NESTED CLASSES: In the Game of 21, a player is dealt two cards from a deck of playing cards and then optionally given a third card. The player closest to 21 points without going o…
  • Read the students_database.csv file and develop the necessary functions to find an answer to¬† the following questions. Your functions must work on all files that have the same features(same¬† colon n…
  • Question 02 10 points Define a function called ‘generate_cluster_assignments’ that accepts the following arguments: A ‘Pandas’ series. The desired number of cluster. Your function should instantiate a…
  • ch3 – st Example Write pseudo code that performs the following: Ask a user to enter a number. If the number is between 0 and 10, write the word blue. If the number is between 10 and 20, write the word…
  • This is a recursive ¬†function¬†sum_odd_n¬†that computes the sum of the first n odd numbers, i.e. it returns 1 + 3 + 5 + …. + (2n – 1). You may assume that¬†n¬†is always a positive integer. solu…
  • 2 Write a function that learns the parameters of a logistic regression function given inputs . X: An n x m numpy array of independent variable values . Y: The n x 1 binary numpy array of output values…
  • In any of the following programming language in the choices (python, c#, javascript), make a simple parking lot that shows the different topics in data structures and algorithms (trees, stack, queue, …
  • Hello, I need help solving this Lab simulation, It uses Max magnitude 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 since…
  • In this lesson, you will learn how to read and write text files in Python. You will also learn how to handle exceptions, i.e. errors generated by your code, to create more robust and user-friendly cod…
  • How can I design a program using a loop in Raptor to enter student’s test scores in the range of 0 to 100? If I enter -1 to signal the end, the program should display the average score, highest score …
  • Grayscale images are often comprised of pixels whose intensities are in the range [0-255]. An often used operation on grayscale images is to invert them. Black (0) becomes white (255) and vice versa. …
  • This applications ‘myapp'(a website for a products store) was developed in Django and use with PyCharm . Please help me to answer questionÔľö Upload image file. Add an optional field image field for a…
  • txt: word_count.tsv: 1. Word Freq Dictionary: Write a program that reads in a text file and counts instances of each word, recording those instances in a dictionary. Then it s…
  • Every day of the non-leap year should be represented by an ‘ mmdd’ string. extract df: This function takes the cleaned Series as its argument and creates and returns a new DataFrame (partially picture…
  • hi it complete i just want somone to check if i did correct. and the description is clear. Pease use Jupyter notebook. Thank you.¬† I am sharing documents though google drive, it will make easier for …
  • Inside the cells of living things are small organelles (biological ‘machines’) called ribosomes that construct proteins by reading and translating DNA. This mapping from DNA to proteins is known as th…
  • How do you create in ¬†python a nested lists, a list with the “*” operator, a list slices, a list with the “+=” operator,¬†a list filter, a list operation that is legal but does the “wrong” thing, …
  • 4 ¬† ( The Fan class ) Design a class named Fan to represent a fan. The class contains: Three constants named SLOW , MEDIUM , and FAST with the values 1 , 2 , and 3 to denote the fan speed. A privat…
  • Code Challenge: Functions (3) Write a function called fizz_buzz_sumz (i) which takes a positive integer i > o and returns the sum of a sequence of numbers constructed as follows: . Start the sum at…
  • Consider the following optimization problem over function fQ(x). (c) Implement the Repeated Hill Climbing with Random Restarts, which is described below. When stuck, pick a random new start, run basic…
  • Trying to work off the above pseudo code to implement remove min and percolate down in a min heap implementation def percDown(self, index): “””percolates down the tree””” while index >= 0: j = -1 l…
  • Use one of the density of people of different ages as your dependent variable, i.e. the variable you are trying to predict with your decision tree. You should use all the features related to the urban…
  • This is a python program and I get and error saying this “line 50, in <module> for employee in employeeList: NameError: name ’employeeList’ is not defined” Please help. # starting of Employee cl…
  • Calculating the next day Write a function tomorrow that takes no arguments and updates the Date object to refer to the next day. You can assume that this method is only called on valid Date S. Here ar…
  • Ask the user to enter a number and find the “multiplicative digital root of a number” (ie: find the product of the digits of the number, repeatedly until the product is between 0 and 9.) ¬†eg: if the …
  • What is the name of the country with the loan that took the longest to raise? Store your result in the variable longest_to_fund
  • . 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…
  • In the Top Speed column, I want to split or strip down these strings and extract the numeric value for top speed in KMPH. I want to change the column to only contain the KMPH value. What would the cod…
  • Let’s imagine you are playing a game which uses dice.¬†You are about to roll three of them. You NEED to roll at least one 6. A 6 appearing on any one (or more) of the three dice will win the game for …
  • Please help me with this question:-Explain how to use locks to avoid race conditions in critical sections giving an example snippet of python code
  • Which of the following function convert a string to a frozen set in python? A¬†– set(x) B¬†– dict(d) C¬†– frozenset(s) D¬†– chr(x)
  • How to construct a function which converts a given English word¬†word¬†(type string) into a Hajanian word following the rules given in the instructions. The resulting Hajanian word is¬† returned . You…
  • How would you refer to Yosemite in the two dimensional array listed below ? parks = [["Bryce Canon", "Denali", "Everglades", "Zion" ], ["Grand Teton",…
  • Considering the following list write: ¬† numbers = [12, 75, 150, 180, 145, 525, 50] I want to write a python code to achieve the following Find the average of the list Print the odd members of the lis…
  • Example: Original: Would you like them here or there? I would not like them here or there. I would not like them anywhere. Converted (changes shown here in red) Would you like them here or thereS-I w…
  • Can anyone explain these 2 problems in python? First problem, cafeday()¬†is a function that process all the orders and return a floating-point number depending on the conditions. Second problem, we’re…
  • Question 12 Examine the Python code listed below. This code contains a function called magic and the main function. There is no ad code for this problem. Determine what the output would be once this p…
  • why do I keep getting an error? Ive tried everything yo fix it but nothing works global filename filename = cars. txt def main( ) : def write_cars( ) : cars_qty = int(input ( ‘Enter cars in lot: ‘) ) …
  • I am not missing any extra information. I have uploaded all the info.. O N 3 5 6 S 5 0 n note that "\" is a single element of the string (rather than two elements). Ex2: Here is another exam…
  • The clean_up (l) function takes a list of characters as input. It returns a new list containing the same characters as l except that one of each character appearing an odd number of times in l is dele…
  • How many stars will the following Python code display? for i in range (0, 10): for j in range (10): print (“*”) ¬† With an explanation please
  • Encryption function This function has a string type positional argument. This function is used to encrypt user input passwords. When we use a web application and enter our password. Our password va…
  • I am not submitting tutor’s work as my own. The following problem is ungraded. Please give me the Python 3 code to solve the following problem: #Write a function called has_a_vowel. has_a_vowel should…
  • Create original programs for these in PYTHON ¬† Question #6:¬† #!/usr/bin/python3 import unittest # ————————————————————–e133 # REVIEW: condition, loop, approx…
  • Given the following problem how do i go about calculating the linear regression in python? First, examine the stress-strain curve. The curve has an increasing linear elastic region (from O to A,B) in …
  • Overview: ¬† Design and implement an Email system event modeller & intrusion detection system in accordance with the system descriptions below. The implementation is to be in Python . ¬†You need t…
  • Write function that prints out the ratio of registered democrat to republican voters for a particular voting district. The input parameters to the function should be two integers:¬† number_of_democrat…
  • Show that, without backtracking, 155 nodes must be checked before the first solution to the n = 4 instance of the n-Queens problem is found (in contrast to the 27 nodes in the figure below: Print the …
  • Data set: The Abalone Data Set (Source: https://archive.ics.uci.edu/ml/datasets/abalone) ¬†. Data set information These data consisted of 4,177 observations of 9 attributes, detailed as follows. Name …
  • Provided is buggy code, insert a try/except so that the code passes. lst = [2,4,10,42,12,0,4,7,21,4,83,8,5,6,8,234,5,6,523,42,34,0,234,1,435,465,56,7,3,43,23] lst_three = [] for num in lst: ¬†¬†¬†…
  • Write a program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters “Done”, “done”, or “d” for the line of text. Ex: If th…
  • python programming ertE a program in Python to be used in a dart game which calculates whether a thrown dart hits the dart board. iii. dart will be shown with x and yr coordinates represented as a tup…
  • How do I go about this. Can you please make sure to separate the function and the main file. As well use loops (for loops) and only use 1 return statement in the function (at the end of the function) …
  • In this exercise you should implement a deque data structure using a linked head-and-tail approach.¬† The file queue_skeleton.zip(https://homepage.lnu.se//staff/jlnmsi/python/2021/queue_skeleton.zip,,…
  • Write a program that draws “modular rectangles” like the ones below. User will specify the width and height of the rectangle, and the entries start at 0 and increase typewriter¬† fashion from left …
  • Need the pseudo code for python to make this work. 2. Problem 1: Write a program that will calculate the problem and stop after the condition has been met. a=number of loops (start with zero) b=a+1 c=…
  • Please make sure that the code asks for the total and also repromts the users after selecting checkout if they would like to make a new cart. All the instructions are down below I have portion of the …
  • Hello, Please help with the following question. Thank you. ¬† Module 2 Required Coding Activity ¬† Introduction to Python (Unit 2) Fundamentals Be sure to complete all tutorials and practice prior to …
  • How to use Python to calculate the net interestÔľü If Amy saves $200 (as the principal) in the bank every year. The compound interest is calculated on the last day of each year. The annual interest ra…
  • —–?—- option is used to change the missing data representation.
  • I just want to read this two files and rate randomly 10 books please i am opened to every advice i am stuck with this part The basic data-structures for storing books and customers are implemented, te…
  • -The data set is the following : International football results from 1872 to 2020 An up-to-date dataset of over 40,000 international football results. I have attached the data as a csv file link. http…
  • Problem 2 This problem is the continuation of problem 1. You have already created the maze, printed the maze, and extracted the coordinates of the source and the destination cells (as a string returne…
  • QUESTION 14 Joey’s wedding reception had 60 members of his family, 30 members of his wife’s family and 20 friends in attendance. A group of six was selected by the DJ to participate in a dance. Leavin…
  • def closest_power_2 (x) : “”” Returns the closest power of 2 that is less than x >>> closest_power_2(6) 4 >>> closest_power_2(32) 16 >>> closest_power_2(87) 64 >>> …
  • Please help in Python language. Question: Please help me understand and figure out this homework. Assignment #8 — World GDP! Objectives : apply techniques you have learned this quarter in one final p…
  • Easy problem need fast solution be quick. Thxthxthx ‘ ac… lg’.’ l’ l ‘ ) HE c I] fl ‘8 "dl kw" C. 17’ k" w ‘I ‘5 .‚ÄĘJL jlu n l,‚ÄĘ lkl l ‘ Ixx ‚ÄĘ l .] ‘ total = total + str(i) resul…
  • Consider the following code: try: f = open("demofile.txt") f.write("Lorum Ipsum") except: print("Something went wrong when writing to the file") finally: f.close() True o…
  • First make an ‘x’ variable that ranges from 0 to 250 in 1 mm increments. Make this a column using the reshape() function of a np.arange object. Then generate a set of firing rates ‘y’ for a simulat…
  • Code 50 numpy attrubutes and methods found on numpy.org. Should be able to run on jupyter notebook.
  • 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…
  • 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. In the window, enter the following program: entry …
  • Provide the python code for Jupyter respectively for Task 1, Task 2 (question 1 and question 2) as well as task 3 data sheets are provided in the comment below Data COVID-19 is a respiratory illness c…
  • using python: RUN A function that takes a string as an argument and returns a string in which the following substitutions have been made: A or a replaced by 5 B or b replaced by 3 E or e replaced by 2…
  • To print Floyd’s triangle of n rows in Python, you need to ask from user to enter the number of rows or lines up to which, he/she wants to print the desired Floyd’s triangle.
  • Write the definition line of the method to overload the ‘greater than or equal to’ symbol (>=).¬† You do not need to write the whole method. ¬† 2. Magic methods feature double underscores on bot…
  • (80 points) Imagine that you are writing a unknown(Hotel name is stored in a variable) hotel booking program for a hotel chain. This hotel chain has one hotel located in following five citi…
  • Describe how¬† tuples ¬†can be useful with loops over¬† lists ¬†and¬† dictionaries , and give Python code examples. Create your own code examples.¬† Do not copy them from the textbook or any other sou…
  • Hi Im totally confused how to code bootstrap_pred Can you help me? Thanks in advance Calculating scores The function bootstrap_pred takes as input: 1. Training set 2. Test set 3. n_bootstrap Number of…
  • Below is the python program for a Bank Account. I am confused on the checkingAccount withdraw method where I need to overwrite the withdraw method of the class Account and I need help for class Bank. …
  • Question 4: 10 points Define a function called e_sim that accepts two pandas series as arguments. Your function should return the Euclidean similarity score between the two series. Make sure that the …
  • In [139] : # Define salary_range first def salary_range(array ) : return max (array ) – min(array) department_ranges = profs . pivot ( "position", "department", "gross_sal dep…
  • d) Calculate the following rock elastic properties of the rock for every depth and store them in two arrays r and nu : 1) Ratio r of the travel times: 2) Poisson’s ratio (denoted by Greek letter v): I…
  • how do i remove the two lines by changing my code : “your start words are none” “your end words are none” . Since what i wanted was to just print out the start words and end words. This is python 3.6 …
  • When determining whether a number is outside a range, whoch logical operator is best for use
  • please help a brother very urgent Design a data structure to store the class score and exam score of students (using their index numbers) in each course. The students read only 3 courses; English (ENG…
  • i need some help completing this With the attached file, attempting to decrypt the individual lines of ciphertext.¬†Answering the following questions (5pts each) What were the decryption results for e…
  • Which of the following statements is false in the context of Python¬†Dictionaries ? Question 15 options: a)¬† A dictionary associates keys with values. Each key maps to a specific value. b)¬† A dictio…
  • Python programming ALL 3. TIKTOK Livestream Event 1 > #1/bin/python .. 10 11 O TikTok is hosting a livestream event with popular creators. Each creator has submitted their 12 # Complete the ‘maxCre…
  • . Write a class definition called RectangularSolid which takes three numeric parameters in its constructor, in this order: length, width, height. Provide a get_volume method that returns the volu…
  • Reflect on your most recent visualisation project and try to sketch or write out the approach you took. What stages of activity did you undertake and in what sequence? Did it feel efficient or chaotic…
  • Write the client function parenthesesMatch that given a string containing only the characters for parentheses, braces or curly braces, i.e., the characters in¬† ‘([{}])’, returns True if the parenthes…
  • 10:10 P & Cut allll 72% path does not exist! APROBLEM 141 4 Enter the value of n to create a n x n maze: Please enter another value that is greater than 2: 3 x 3 maze created by the maze module is…
  • Write a Python program that asks the user to enter an integer and checks if the integer is an perfect square. An integer x is a perfect square if there is an integer n such that: n¬≤ = x. If the enter…
  • In Python write a recursive function hasPosNum () that takes an arbitrarily nested list lst as a parameter and returns True if lst has at least one positive number (either integer or floating point) a…
  • Tasks: In this assignment, you will write a complete program in Python that will repeatedly ask the user for a code (integer) and determine whether it is a valid Basic Code, a Positional Code or a UPC…
  • It would be very helpful if someone could help me solve these Python Problems. We are allowed to use recursion and other simple python functions and syntaxes. Any help or guidance will be appreciated….
  • Develop an algorithm for the following problem statement. Your solution should be a modularised pseudocode with appropriate comments and a hierarchy chart. You should provide appropriate error message…
  • Wikipedia has a lot of information on historic events. Assume you want to conduct a study that examines which language edition talks more about different historic event (as indicated by years). As an …
  • Problem 15: recovering the state The length extension attack will reuse a hash as a chaining value, feeding it into additional calls to the compression function. However, you might remember that there…
  • The picture that I attached is the question with what I started on. Exercise 5 A quick but poor way of calculating an integral is with a Riemann sum. Our sample code tries to calculate the left Rieman…
  • Ask the user to input either one of +/ – / * . Then ask the user to input 2 numbers. If the user entered * print the output of prod, with the 2 user entered number as input in the following format –¬†…
  • Hi may I know how to solve this question ? Kindly provide explanation too !¬† ¬†. Task 1 (20 marks) You may think, decrypting a map is the same job in the above question? Sorry, this time you need to …
  • Write program that reads integers from the user and stores them in a list. Your program should continue reading values until the user enters 0. Then it should display all of the values entered by the …
  • write a Python function uniqueValues() that takes a dictionary as a parameter and prints a list containing all the unique values in the dictionary. For example, given this dictionary: {1: “A101”, 2: “…
  • a program that calculates how many different ways a snake of length 16 can be laid out on a 4×4 grid. * Do not output all the paths, just the total path count. A single number is all that is required …
  • Can I please get help for this python question ?. A list of numbers can be considered as a vector, so a list of lists can be considered as a list of vectors. Write a function max_product that takes a …
  • Q1 [25 marks]: Write a program "YourFullName_Q1.py” (e.g., Chan DaiMan_Ql.py), which gives the user several tries to answer a question. Your program should use a main{) function and call anothe…
  • Problem A. (10 ¬†points )¬† Creating characters First, you’ll need a¬†Character¬†class, which represents a base character template for all of the specialization classes to build off of. You won’t ever…
  • In this question, we will be implementing classes that abstract different weapon types in the game VALORANT.¬†Doctests for this question are in the method¬† q2_doctests() .¬†You are required to create…
  • Time Series Data Practice ¬† we have two types of data splitting for training and testing data: out of sample and out of time. It is proper to use Out of Time splitting method for time series dataset….
  • 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 square root of (x to the power of z). Ou…
  • Raptor program that accepts two numbers from the user and display one of the following messages:¬† First is larger, Second is larger, or the Numbers are equal.¬† Use nested if statements to determine …
  • Using Python. Complete the following tasks: 1. Implement a stack using linked lists 2. Implement a queue using linked lists 3. Implement a deque using linked lists
  • For this project, you’ll create a “word cloud” from a text by writing a script. This script needs to process the text, remove punctuation, ignore case and words that do not contain all alphabets, coun…
  • Program to open a text file for writing, and then write user input to the file via a prompt until the user enters an exit keyword. Show an example of use
  • It is two part to this question You are writing a program that assigns a number to each letter of the alphabet for the purposes of rewriting a text file to an encrypted version of the text. What will …
  • Given 4 floating-point numbers. Use a string formatting expression with conversion specifiers to output their product and their average as integers (rounded), then as floating-point numbers. Output ea…
  • can someone help me rewrite these codes to make them look entirely different but have same idea behind them please, Dont change the functions but only the code after “Your code here”. ¬† def getQValue…
  • MAKE a function that returns the least whole number that is greater than n, the function’s only parameter, and is a square number. A square number is the square of another whole number, 1, 4, 9, 16, ….
  • How do I code to match this? + Code + Text RAM O Disk Editing Problem 1 0 Collect two floating point numbers from the user and store them in variables as strings. print ( ) the values of the variables…
  • The ouput of my code is putting the comma in the wrong place and I can’t figure out how to adjust so the comma comes directly after the words and not before them: ¬† def createSentence(sightWords): ¬†…
  • To enlarge an image, one must fill in new rows and columns with color information based on the colors of neighboring positions in the original image. ¬† Develop and test a function named enlarge. This…
  • How can I solution this one not sure I really understand it to be able to understand this question, please help me…. I also need the pseducode as well as below…..please help….. program2_1.py A p…
  • Please help, import pickle # pickle makes it SO easy to load/save data from/to disk. class Item: ”’ This class models an Item in a a collection. An item has a category, description, value and quantit…
  • txt: -,-,A,A,-,A -,-,-,-,-,- -,E,-,E,-,- -,-,-,-,-,E -,-,-,-,-,- -,-,-,-,-,E board2.txt: -,-,A,-,-,A,A,-,A,- -,-,-,-,-,-,-,-,-,- -,-,-,-,-,-,-,-,-,- -,-,-,-,-,-,-,-,-,- -,-,-,-,-,-,-,-,-,- -,-,…
  • I am struggling with the code of this function from an assignment in my computer science class. The instructions are as follows: The second function you will write should be called ‘sumNumbers’. Your …
  • Prompt the use for a quotation and a common word. Make the entire quoation lower case, except that particular word, which you will make upper case. Upper case the word even if it is embedded within an…
  • . Overview Write a program using data structures, functions and reading data from a file to simulate a preferential voting system. Reminders Your code must be done individually. Your code will be…
  • def get_words(line): this section doesnt work becouse it doesnt open any file so the count of words is 0.how to fix it?
  • In a rock-paper-scissors game, paper beats rock, rock beats scissors and scissors beat paper. Write a program to play rock-paper-scissors. This game is played by two players. Player 1 enters his choic…
  • Write a function¬†translate(sentence, dictionary, punctuation, language)¬†that translates the given¬†sentence¬†to the other language specified in¬†language¬†(e.g., if language is “english”, then trans…
  • 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…
  • How do I sort by Year with the oldest year showing first within the function? city = str(input(‘Enter the name of a Port City: ‘)) state = str(input(‘Enter the state abbreviation: ‘)) ¬† def BestYears…
  • Please assist with Part C. a) We’ll reimplement Ô¨Āb(n) that calculates the nth number in the Fibonacci sequence use dynamic programming. The lab8 . zip Ô¨Āle you downloaded and extracted contains a…
  • My job is offering classes for machine learning engineer. ¬†I am considering it, but would like some advice and information about skills required. ¬†I did some research on what they usually do, but wa…
  • Please write the code in jupytor notebook Thank you!. with me = 1000) for n = 4, 10, and 20. Estimate An for these three values of n. (0) Repeat (b) for the Chebyshev nodes 13 = cos(%), j = 0,…,n. C…
  • This problem is about object oriented programming¬† please contact v..1@gmail.com for further payment on this problem if completed.¬† ¬†. Introduction For this assignment, you will be building the Pok…
  • [Important Readme] For this part, you will use the “breast cancer.csv” dataset. This dataset has 683 records, each record representing a case of breast cancer. Attribute “Class” represents the type of…
  • What uses can you imagine of reading and writing spreadsheet data using a program you write in Python?
  • In python, how can I pull the data sent by the client out in the server and use it in functions.¬†Here is my Client py and my server py. client – Which I get no errors import socket import sys # funct…
  • Add a new variable and call it¬† BADWEATHER , which is¬†“YES” if there is light or heavy rain or snow (i.e., if WEATHERSIT is 3 or 4), and¬†“NO” otherwise (i.e., if WEATHERSIT is 1 or 2). You know wha…
  • Write a program that prompts the user for a number of columns, and them prints the pattern as seen below. Note there is one space in between the stars. You cannot assume that the user will supply posi…
  • Solve it by python programming . Write a python program that read weight (kg) and height (m ) ofa person, calculate and display his BM I [Body mass index]. BMI = kg m2 Screen Code Please eneter the we…
  • solve . import sys import time, random import simple_twit # Get and print 10 tweets from your home timeline # For each tweet, print the tweet ID, the author’s name, # the author’s screen_name, the twe…
  • With regards to boring, drilling is the most common way of drilling a passage, a well, or an opening in the ground. People in general has become more mindful of the intricacy of contemporary exhaustin…
  • Please I need help solving this problem. thank you. There are three seating categories at Locklear stadium. Class A seats cost $200.85. Class B seats cost $450.75. Class C seats cost $675.95 There is …
  • please provide in python. (d) Again, suppose that n = 5, and r1 = 0.30753, 12 = 0.56678, x3 = -0.25177, 14 = 0.37243, 5 = 0.26375. Pick a programming language of your choice and write up a gradient de…
  • **FILES ARE BELOW** ¬† Given a¬†filepath to a .txt file that contains information on the round history of a match, simplify the file by writing out to a new file with only information on if the attack…
  • how to convert string no to float in python .
  • I was wondering if someone could help me construct a a add-on to the code I have to create for this step of my project. the goal here is to take the code provided and add-on to it to make it be able t…
  • using python write the simple way to do the following
  • 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…
  • I’m having some difficulties with the following question for my Python pratice. 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
  • INCORRECT INPUT ¬† ¬† EXPECTED LABYRINTH: \documentclass[10pt]{article} \usepackage{tikz} \usetikzlibrary{shapes.misc} \usepackage[margin=0cm]{geometry} \pagestyle{empty} \tikzstyle{every node}=[cross…
  • What are the maximum and minimum values of k that could be printed on line 5 after this code is executed? Note that ‚ąě stands for infinity and¬†-‚ąě stands for negative infinity. ¬† import random k =…
  • Hello! Please help me solve this problem for me. Thanks! Useful links: https://en.wikipedia.org/wiki/Battleship_(game) The game of battleship is played on two 10 by 10 grids, one for each player. Each…
  • This is for the file, hw5.py. This question was answered by a tutor before, but that answer was incorrect. This is for the problem, get_series. It reads as the following: XXXXXXXXXXXXXXX get_series: T…
  • Make function called return_exactly_one(file_name) that takes in the name of a text file as the argument, opens the text file, and returns a list that only contains items that occurred exactly once in…
  • in python programming what is the most difficult thing to learn? ¬† Also program a code that doesthis with a loop: # ### ##### #######
  • . Question 2 (100 points) Determining the Key Transmission Frequencies in a Blurred Signal Estimation theoretic techniques can be used to solve linear inverse problems wherein we want to determine t…
  • Problem 2 . (20 Points) Please perform the following tasks: Please write function that calculates the Sharpe ratios of assets, defined as annual geometric mean of excess returns divided by annual vola…
  • . Program Requirements Create a Python console application following the requirements below to allow the entry of 6 bowlers’ scores for a bowling gamE. After that, the average, minimum and maximum s…
  • Case Stud y Domain – E – Commerce focus – Optimization Business challenge/requirement GoodsKart ‚ÄĒ largest ecommerce company of Indonesia with revenue of $2B+ acquired another ecommerce company FairD…
  • Current code in text… ”’ queues.py ”’ class ArrayQueue: ¬†¬†def __init__(self): ¬†¬†¬†¬†# NOTE: your LinkedListQueue ¬†¬†¬†¬†# will have to maintain head and tail pointers ¬†¬†¬†¬†# and can’t use …
  • Random number generator program ! Please develop a python source code that generates random number when the user press a key. You will use the Python library to import modules. When the user presses a…
  • db mangodb uuid 739bd5e8-c458-402d-9f2b-7012594cd741 collection: temperatures 1 50 2 190 – add_collection(collection_name) allows the caller to add a new collection by providing a name. The collectio…
  • PYTHON PROGRAMMING USING JUPYTER NOTEBOOK ¬† ¬† Can we experiment with the absolute function abs() that converts a number to its absolute value.¬† ¬†A program that asks the user to enter a number. The…
  • Suzy ‘s farm produce is limited to tomatoes and sweet potatoes. Three mornings a week, Suzy collects fresh eggs. She and Zach fill up egg cartons each day, Every Saturday, she goes to the Lakeline Far…
  • . Write a user-defined function Replace (s, old, new) that replaces all occurrences of old with new in a string s. Your function should return an integer, the number of occurrences of old in s. You …
  • Write¬†a simple¬†animated¬†program¬†by using object-oriented design¬†with¬†Python. ¬†This program¬†should be¬† menu driven .¬†The first screen¬†appeared¬†on the screenshould be¬†the¬†main-menu screen….
  • . Problem 3 (KNN for handwriting digit recognition). In this problem you will use KNN to recognize handwritten digits. First, use "download_mnist.py" file to download the MNIST database. T…
  • what is the output of the following condition statement is A = 45: A < 45¬† ? 2. What is the output of the following condition statement if A = “apple”: A == “apple”¬† ? 3. A _______ error resul…
  • A program that prints a table that indicates some expenses made every month. The months are January to July and the expenses are 100, 90, 1000, 134, 110, 60, and 33, respectively. The table should hav…
  • codeÔľö # read excel data df = pd.read_excel(“web traffic data.xlsx”) geo_pie = df[[‘etl_tstamp’,’user_fingerprint’]].groupby([‘etl_tstamp’], as_index=False).nunique().rename(columns = {‘user_fingerpr…
  • Assume the variable named reply references a string. The following Python if statement determines whether reply is equal to ‘Y’ or ‘y’: if reply == ‘Y’ or reply == ‘y’: Rewrite this statement so th…
  • Retail-Item Class: First, we need to copy, paste and save the file below as 10.02 Inventory.txt Jacket, 12, 9.95 Jeans, 40, 34.95 Shirt, 20, 24.95 Then, we need to make a class called RetailItem that …
  • Problem Statement: Simple .edu Email Address Class: In this assignment, we will be designing a simple .edu email address class. An email address consists of three main parts: username, at (‘@’) symbol…
  • Part 1 Section 6.2 of your textbook (https://my.uopeople.edu/pluginfile.php/57436/mod_book/chapter/37612/CS1101-Think_Python-2e.pdf) describes¬† incremental development . Do the exercise at the end of…
  • question : ¬† write a function called longest_word_length , which takes a string as input and returns a number giving the length (number of characters) of the longest single word in the string.¬† Use …
  • Checkpoint 1 The dates will be stored with three attributes: the year, the month, and the day of the month, all as integers. These attributes will be created / assigned in the initializer methods. The…
  • Premise: Adam is so good at playing arcade games that he will win at every game he plays. One fine day as he was walking on the street, he discovers an arcade store that pays real cash for every game …
  • . Problem 5: Toward Statistical Analysis In this problem, you’ll write fundamental statistical functions. We assume a list of numbers Ist = [x, , . .., In]. mean(Ist) = (rotri+ ..- + In)/len(Ist) (3…
  • Hi, could you please help me find the Monte Carlo integration for this question in python to see if I get the same answer as well as making a convergence plot for the Monte Carlo estimation. Thanks. T…
  • python question In this part, you are supposed to write a function that can Ô¨Ānd the most recent weight uploaded by a user (or decide that all the weights of the user are outdated). In more detail, w…
  • water_temps = [ ¬†¬†[“Location”,”JAN”,”FEB”,”MAR”,”APR”,”MAY”,”JUN”,”JUL”,”AUG”,”SEP”,”OCT”, “NOV”,”DEC”], ¬†¬†[“Chesapeake Bay VA”,46,42,44,65,72,78,81,81,79,71,56,49], ¬†¬†[“Kiptopeke VA”,36,39,46,6…
  • Hi, to anyone who can guide me with this specify tasks, satisfies and selections. I need to understand the concepts behind each of these functions, e.g. if else statements, indexes and boolean. I have…
  • Write a function in python for binary cross-entropy loss. Assume some meaningful example data (two lists) and calculate its binary cross-entropy loss
  • Hello, I have question about deep learning and machine learning. I found a three health care related applications which can use machine learning or deep learning. first thing is a Dianosis and second …
  • python-please help asap!! 2 Overview In this project, you will be practicing by creating a set of simple classes. You will create three different Python files; prob1 . py will have three small classes…
  • Enter the names of ten popular cities in the World and the distance between these cities in Kilometers. You can refer to the hyperloop one website to get this information. The maximum speed in Kilomet…
    • Display the items in the list 2) Display how many items are in the list 3) Tell the user if an item exists in the list 4) Get the index number of an item 5) Add an item to list (integers) 6) Remove…
  • Write a python code to produce a linear regression: y = 5*sin(2*pi*t/8 + pi/9); where t = 100 values between 1 and 2
  • Problem 3.4 [30 points]¬† Purpose: Use both if and while to solve a scientific problem. I found the following quote on the web: ¬† The mathematics of uncontrolled growth are frightening. A single cell…
  • My Project 16-1 (Python): Blackjack is working I just need to add the below part where it prints out: ¬† YOUR POINTS:¬† DEALER’S POINTS:¬† ¬† ¬† My Code: import random import sys name_of_card = { 1: ‘…
  • This week, you need to submit a Python program that does the following: Make a single list that contains the following collection of data in the order provided: [1121,¬†“Jackie Grainger”,¬†22.22, ¬†11…
  • Now that the AccessApi class has been created, we must create tests for each of the API endpoints. Schema’s of response JSON’s getBillingInfo.json getCustomers.json getSites.json In the file test_comp…
  • try to come up with a python program that finds the repeated items of a tuple
  • Hi, Please complete the function in the following decompression.py file. It is related to Huffman Tree and decompression. Please do not import any modules and please make the solution efficient. Thank…
  • Question 1 This question requires the use of a .csv file (excel sheet) which you can get it from me, if u send me a mail at c..4@gmail.com I can’t upload it here. Now, using the main data set, we want…
  • You have a little free time on your hands and decide to create a simple game. Utilize the design tools that you have learned this week to design and program a very simple game. Examples: Movie Trivia,…
  • I am working on a project and Im stuck in this part. Let’s say I have this data, a = { ’00’ : [ 0 , 0 , 0 , 0 , 0 , 0 ], ’01’ : [ 1 , 1 , 1 , 1 ], ’10’ : [ 1 , 1 , 1 , 1 , 1 , 1 ], ’11’ : [ 1 , 1 , 1 …
  • What would the SQL SELECT statement look like in a python script that would return name, cost, total columns for all rows with a cost greater than 7 in a table called SALES.
  • code and q in: pastebin.com/EER7atwL how to make sure txtfile.write highest 10 products purchased together in pairs ¬†are pairs without any 0 purchases on either sides?
  • Question 2 (1 point) What is the type of the previous answer? O str int O list O float bool O dict
  • . Question 2 1 pts When imported as numpy arrays, what’s the array shape (i.e. dimensions) for each of the greyscale and color image that has [width = m pixels ) and height = n pixels ? Edit View In…
  • I have a solution to a question but I didn’t know how worked Questions There is only a single question in this homework. In¬†[3]: 1 # DO NOT DELETE THIS 2 # 3 from IPython.display import display, Imag…
  • In your favorite language (preferable in Python) create the following functions: MRTeŐÄUse Miller-Rabin Primality Test to choose prime number with s=512 bits and check the primality test. EAeŐÄUse Euc…
  • answer all/(a) Consider ¬†simple client-server system implemented using Java Remote Method Invocation (RMI). Describe: (i) how the interface between the client and the server is defined; (ii) how a pa…
  • I need help with this Python exercise.¬† ¬† File Name: water_potability.csv Data source: https://app.box.com/s/ej6ohl1695l60vl79d0bbrubabtq85uf ¬†. The water quality dataset contains water quality met…
  • python program for comparing the name from api call with xml web page to check if that name exist in xml file or not. For example From Api call it is pulling the name (test.abc.com) it has to be check…
  • Sir please solve the problem in Python3 and paste the code with proper intended blocks follow the rules. paste the code properly unless it will not run. Follow the instructions i am only bound to the …
  • For a number ‘a’ find a minimum number ‘b’ as¬† the multiplication of digits of the number ‘b’¬† is equals to number ‘a’ and ‘b’ is not a single digit number. constraints: ¬†¬†1<=a<=10000
  • I need help with formula and code for the following in Python Language: Given 4 floating-point numbers. Use a string formatting expression with conversion specifiers to output their product and their …
  • Show a program to solve computational problems using structured programming.¬† ¬† The program allows a user to practice addition, subtraction and multiplication of numbers.¬† ¬† The scope of the progr…
  • a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use sin…
  • Need Pseudocode and flowchart for below program print(“The Fast Freight Shipping Company”) total_charges = 0 while True: ¬†¬†userWeightOfPackage = int (input(“Please enter the weight of the packages (…
  • Consider the following Python code: t = ‘COVID-19’ for index in range(A,B,C): ¬†¬†¬† if index % 3 == 0 or index % 5 == 0: ¬†¬†¬†¬†¬†¬†¬† print (t[index], end=”) print() What values of A,B,C give the …
  • Hi, ¬† I need help adding a way to edit messages on a site that I am working on for a project using python. I will really appreciate the help. Also looking for some HTML that I can include to make it …
  • I AM MAKING A GUI ON TKINTER OOP AND I WANTED TO CONNECT MY DATABASE WITH THAT WHICH I COULD NOT ABLE TO DO AND I DO NOT KNOW EXACTLY WHY,PLEASE HELP ME WITH THIS,THIS MY CODE AND PICTURES OF MY DATAB…
  • 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 …
  • Please answer all the parts ### YOUR CODE HERE ### and to access the question use the google link provided https://drive.google.com/file/d/1TG4Wt07CMrAMfFM_mxsXMe0ufjD8Nyeo/view?usp=sharing Problem 1….
  • Send me an email on v..c@gmail.com so I can send you examples
  • General requirements: ¬†create a flowchart or pseudocode. For user inputs use the input validation (in some cases just conditional statements, in some cases – exception handler). Run the program many …
  • What is wrong with this code? 4.13¬†LAB: Interstate highway numbers Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go …
  • There are 6 questions. Please be sure it can run before submit and please don t unassign it if you decide to take it. Thank you!¬† CIS 235 Introduction to Information Systems Spring 2016 Python Downlo…
  • Write a function to Compute the day of the week (as a string such as “Monday”) for a given day, month, and year (all numbers). For example for 13, 10, 2021 it should return Wednesday. Your function sh…
  • Please use PYTHON and SYMPY to solve. Please use PYTHON and SYMPY to solve.. (2a + 3) 2(2 – 2) 5 2. Given f(x) = 23 (2 – 5)2 a Plot f on the window x E [-10, 10], y E [-10, 10]. In a print command, in…
  • Python programming language ” a function that takes a string as input.¬†The function should replace the third occurrence of the substring ‘car’ in the input string with the substring ‘cat’. Here are s…
  • Can you help with the develop of battleship on Python? See instructions below. Thank You. 8. Create a function to present the on-screen game board as follows: 1 2 3 7 9 10 Naval Battle (Part 1) A | . …
  • 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 square root of (x to the power of z). Ou…
  • .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. ¬† IF YO…
  • i would need help in 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, favo…
  • Assume a dataset A of n points in a metric space with distance metric d(¬∑, ¬∑). Let c be a constant greater than 1. Then, the (c, őĽ)-Approximate Near Neighbor (ANN) problem is defined as follows: Gi…
  • Please help with step 5 and beyond! ¬† Collab: https://colab.research.google.com/drive/14EquCCliq2vfDePqb_L4uIlLcJuspTcw?usp=sharing ¬† ¬†. in this project {for HW 3), you have been approached by Soph…
  • I need help writing the code for this Python assignment to extracts all of the unique web links that point out to other web pages. My current CSV file gives me 90 urls, but I should be getting between…
  • Two¬† variables , x and y, supposedly hold strings of digits. Write code that converts these to integers and assigns a¬† variable ¬†z the sum of these two integers. Make sure that if either x and y ha…
  • 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.
  • a. Write program that simulates an unbiased coin flip. Your program should print true if the coin flip results in a head and false if the coin flip results in a tail. The library we will be import…
  • Question 6 (1 point) an Which of the following is NOT part of the error finding categories for black-box testing? 0 Behavior or performance errors 0 Incorrect or missing functions. 0 Interface errors….
  • Hi, can you explain how to fix this code? Please don’t copy the answer from other websites. Thank you! 4. Certain machine parts are assigned serial numbers. Valid serial numbers are of the form: SN/nn…
  • Please help me add 2 buttons to the application below, add 2 buttons to modify the value in the Entry. Instructions: If this value is the displayed result, also invert the result. – a +/- button to in…
  • The function¬†outputBibliography¬†calls the helper function¬†traverse, which should traverse the tree and return an ordered list of references, with a blank line between each reference and a space bet…
  • Could you explain the flow that how we get this answer? ¬†. Use the following code to answer questions 5-6. class Company : def _init_(self, name, yearEst): 101 0 AM self . name = name self . yearEst …
  • How do I go about this. Can you please make sure to separate the function and the main file. As well use loops (for loops) and only use 1 return statement in the function (at the end of the function) …
  • Please read in the movie preference csv file. It returns two things: A dictionary where the key is username and the value is a vector of (-1, 0, 1) that indicates the users preference across movies (i…
  • . Exercise Define a function cc_decrypt that . takes a string ciphertext and an integer key , and . returns the plaintext that encrypts to ciphertext by the key using Caesar cipher. [ ]: def cc_d…
  • As we process more and more text data, we often needs to extract information from texts. For instance, companies may use social media such as Twitter to announce their earnings information. An example…
  • *I have put the expected outputs within the code as well Make simple Monte Carlo simulation, in Python, showing the likelihood of winning a lottery, buying one ticket every week. Instructions We’ll im…
  • Implement queues using lists in Python. Define functions enqueue (list, element) and dequeue(list) that perform needed operations
  • Assume the variable¬†g¬†refers to the adjacency matrix of a graph,¬†i¬†and¬†j, refer to two specific vertices, and there are two collections of vertices¬†a¬†and¬†b. Give a Python expression that evalu…
  • Design a function that accepts an integer argument and returns the sum of all the integers from 10 up to the number passed as an argument. For example, if 100 is passed as an argument, the function…
  • Python Program: Take a word from the user find ASCII value of every character in the given word Print the sum of all ASCII values of the word
  • Analyze the following script. It appears the script can be able to crack passwords in python. What type of encryption can the script crack? ¬† import time import hashlib import sys #start runtime cloc…
  • python string decode to utf-8 How to decode a string to utf-8 from ascii using python? when i tried str.decode(‘utf-8’, “ignore”), i get a message there is no decode function for String.
  • Help me with this code please.¬† ¬† def import_and_create_accounts (filename): ¬† ¬†”’ ¬† ¬†This function is used to create an user accounts dictionary and another login dictionary. ¬†The given argum…
  • The following¬†Python program starts with a single number and generates a sequence of numbers by following a simple¬†rule for computing the next number.¬†Regardless of the starting number, the sequenc…
  • https://colab.research.google.com/drive/13S9qmRYNc1VLslXBalph7_wzCrvVudYm?usp=sharing. Question 12 to 14: University Costs url=’https://drive. google.com/file/d/1-nLvoDH2axVY10FXVin kLdm3Red5k68/view?…
  • hello, so i need alot of help with this project. i havnt been able to learn alot of coding due to my work schedule so im very lost on how to start. any help would be appreciated! Im asking for help st…
  • I want to ask, why does it shows that Error in mean(NegContol_df): object ‘NegContol_df’ not found Traceback: 1. mean(NegContol_df). Mean and SD of Negative Control In [13 ] : my df <- lab5_df[lab5…
  • please answer correctly with explanation. Q5.2 Scoping Rule 1 Point How do you know if this is dynamic scoping or static scoping? Enter your answer here Save Answer
  • please do not copy, and help me to develop the codes. Create a GUI that calculates your wealth for each of the 70 years after you start work given the following inputs into the GUI: 1) Mean Return (%)…
  • Given the following Python code: alist=[12,15,16,19,11,14,10,18,17,13] for val in range(len(alist)-1,0, -1): for i in range(val): if alist[i]>alist[i+1]: temp=alist[i] alist[i]=alist[i+1] alist[i+1…
  • Python program display an image and play the sound.
  • Problem description Write a program that plays a game of guessing a secret string. The program will initially set up the game. During the setup, the program asks the user for the secret string to b…
  • “Gathering Information from a File System” in python. Test the program and take screenshot with your own working directory. *** (Note: There is an error with indentation in the case study, spot and fi…
  • In df_covid , it appears that the column Name of hospital admitted contains no information. We can confirm this by 1. returning the column as a Series with df_covid_cases [ ‘Name of hospital admitted’…
  • Create a simplified version of the Google page ranking algorithm. You are given a map of links between n websites which is represented by a digraph. Websites are nodes marked from 0 to n-1. An arc fro…
  • implement judgement vector using tfidf, where each cases can be represented as a vector.
  • This week’s assignment involves writing a Python program to collect all the data of a road trip and calculate each person’s share of the cost. Prompt the user for each of the following: The number of …
  • You are writing a weather forecasting app, where you based your predictions on weather data that is stored in a table called data. Each day of the year has a row in this table. The first column of thi…
  • Kindly help solve this. Your prompt response will be appreciated. ¬† It is to be written in Python. ¬† Create a football game simulation using Python. While normal football is based on quarters and ti…
  • Suppose you are writing a DLL and need to export the function¬†void¬†CYBR215().¬†Show the C syntax to export this function for use by other modules or executables. ¬† 2. Show how you could import t…
  • The image is broken but i took a screenshot of every page so you can sill read the question to understand. Each image has all the information The final project is to simulate a delivery truck. Each tr…
  • what’s wrong with my code? How do you make an input work if there is only one input and you need it to equal twelve? 1 import sys N = int (sys. argv [1] ) Collapse Numeric expressions input1 = int (sy…
  • There is no reference provided. This is a complete question¬† ¬† Infix expression example: 3+4*5/6 (operators are between numbers) Infix expression evaluation: 6.3333 Postfix version of the infix expr…
  • # How can Do this with multiple artist ID ?, efficently import requests CLIENT_ID = ‘7e583817a63d428185875460c2b2e501’ CLIENT_SECRET = ‘c4fbefa135e34e059ee8a2bbd63528dd’ AUTH_URL = ‘https://accounts.s…
  • I edited the starter code. Need help finishing it. ¬† You will select data from a database, process it, and create a visualization using Matplotlib. I included the links to the code and database in co…
  • So here’s the question and pseudo code i want to write it in python, how should i do?
  • Hi I am completely stuck on this please can you show me how to code this. could you show me the code please I have attached a screen shot many thanks Design and implement a single program: . to produc…
  • class Animal: rabbits: Set[Rabbit] dogs: Set[Dog] cats: List[Cat]¬† def__init__(self: Animal) -> None: ” ” ” initialize an animal without rabbits, dogs or cats.” ” ” #TODO pass How can I initialize…
  • Suppose you’d like to count how many calories you’ve burned from exercise. You do 4 kinds of exercise: yoga, walking, sprinting, and volleyball. Every day in January, you record how many minutes of ea…
  • Use Python to run the following .py Files with the original values and statements. Next, change some of the values to the following. Please keep in mind that statements may change accordingly once you…
  • Replicate the behaviour of the following code using a while ¬†loop instead of a for ¬†loop.¬† (As with all of these, you could just copy and paste the for ¬†loop, but that would be pointless, and you …
  • Hello, I need help solving this Lab simulation, It uses Miles to track laps 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…
  • Feedback? CHALLENGE ACTIVITY 5.3.3: While loop: Insect growth. Given positive integer num_insects, write a while loop that prints that number doubled up to, but without exceeding 100. Follow each numb…
  • Here is the ipynb file of this question: https://drive.google.com/file/d/11DvTm_uEGLgEm-oryIZ_mQZwCR_cyFVF/view?usp=sharing ¬† Another reference notebook: https://drive.google.com/file/d/1RgA25w7i5__5…
  • . 7.9 LAB: Palindrome 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)…
  • Download the text file: romeo.txt from¬† http://www.pythonlearn.com/code3/romeo.txt¬† to your local machine. For ease, place this file in the same folder as the .py file for this assignment. Create …
  • Project description: Processing log files (normally in csv format) are one of the very common practices in different businesses (specially for system administrators). In this project, we are practicin…
  • Suppose I have a panda data frame of stock close prices How to do the return? ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†fb¬†¬†¬†¬†baba¬†…¬†¬†¬†¬†pfe¬†¬†¬†¬†dis Date¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†…¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • I have scraped my website and I can view all of the links. I am now trying to drop the duplicates. I have tried the drop.duplicates command and that did nothing to a string so obviously it is a numeri…
  • The sales manager at an electronics company wants to study if online sales of their products in 2019 follow the same distribution as the online sales of products in 2015. He collected the sample of…
  • I need this program to ask a user for a file name, (the file is provided in the images as Testfile – Notepad), then it should open and read the file. Once read,it should add for a total the 10 digits …
  • How to write a python program to play the “Tic Tac Toe” game? You may find details about the game via the link https://en.wikipedia.org/wiki/Tic-tac-toe. The game has two players, player 1 (uses the ‘…
  • Im very confused how to do this. There is about 5 parts to this.¬† ¬† Here is page one ¬† Scenario You work in a government department in IT that deals with space exploration. You are asked to write a…
  • Python Questions Describe the need for the mainloop() method of a tkinter root window in terms of the event processing loop. Describe the way an event handler works with a GUI component like a button….
  • A graph needs to be made that represents what is shown in the picture. Using matplotlib to create the most detailed graph.
  • You have a list of strings which contain student record. Each string contains the student’s name, and their grades in Maths, Physics and Chemistry. The grades can be¬† floating values . These values (…
  • This code demonstrates how to check whether a string contains ‘LOL’: >>> LOL = ‘LOL’ >>> s = ‘This string contains LOL as a substring.’ >>> LOL in s True Rather than ‘LOL’, …
  • main: Use the above functions to read in the data we want, clean it, and store it to disk in the files data 79 19. csv and data 2020. csv using the to csv methods for frames and Series.
  • Question 4 (15 points): This exercise is designed to familiarize you with plotting data in matplotlib, a Python graphing library used extensively in academia and industry, which is pre-installed on Go…
  • Python Coding: Do task from 1 – 4. Question: Write the functionalities of 2 of the 4 string methods¬† lower(), replace(old,new),¬† startswith(substring), isdigit(). ¬† Do not write functions nor metho…
  • . Program-1 : People’s weights (Lists):..:.-…… [1: Prompt the user to enter four numbers, each corresponding to a person’s weight in pounds. Store all weight: in a list. Output the list. E2 pts}…
  • Storyboard (Description and Ma p) Welcome to the sunken ship game. You are going scuba diving for the first time off the coast of Puerto Rico. Once you dive in the ocean, you noticed there is a sunken…
  • Q:NO:1: Costumes are needed for the school play. Boy’s costumes require 8 yards of fabric, 5 yards of ribbon and 4 packets of sequins. Girl’s costumes require 6 yards of fabric, 9 yards of ribbon and …
  • python, TCP SERVER SOCKET, fill in code # don’t modify this imports. import socket import pickle from threading import Thread class Server(object): ¬†¬†“”” ¬†¬†The server class implements a server soc…
  • Write a python script that prints the integers 1 through 100, but replaces multiples of 3 with “fizz” and multiples of 5 with “buzz”. If the integer is a multiple of both 3 and 5, print “fizzbuzz”.
  • Only exactly 2 answers are correct Given two dataframes, how would we join the data on the product info if we only wanted to keep information of books present in DF1? DF1 columns: book title, product …
  • write a simple regular expression that will match a date in the format of “Month Day, Year” but will not match anything else. An example of this would “March 20th, 2021” not matching with the string “…
  • # Writing code to sort a list is a good for learning Python syntax, # but if you need to sort a list in a bigger project, please DON’T # use your own sort function! # # If x is a list, this statement …
  • I am super stuck, I have been creating this code to crate a document with an Input -> argument to function will be set of key/value pairs in the datatype acceptable to theMongoDB driver insert API …
  • python help. find words to use in a scrabble gowe. The task is simple enoughGiven a list of letters find all the English words that can be mode with those letters. But before beginning there are a few…
  • I need help solving these 5 questions regarding python and their subsections Question-g i Considering a singly linked list of integers implementation, assuming that elements of the list are always in …
  • . Our favourite detective Sherlock has a been given a cipher to docode and needs your help. The key to the cipher is to solve a substring problem. He’s given a String X, consisting of just 2 charact…
  • Write code that uses the string stored in¬†sent¬†and creates an acronym which is assigned to the variable¬†acro. The first two letters of each word should be used, each letter in the acronym should be…
  • Write a program for a retail store that will allow them to calculate discounts for their employees when they buy items. Discounts are based on the number of years worked (2% for each year, maximum 10%…
  • Paper covers rock . Tie: when both players throw the same item Problem 2 – Rock/Scissors/Paper Simulation Simulate a single game of RSP over and over, until someone wins 10,000 games. Keep track of th…
  • Hello! This is for python programming! This is not really a question, but I am struggling with python programming and I need help on how I can do better on my assignments. Is there anyone out there th…
  • The question is under the link. Any python programming knows about VBA can take a look and solve it. Thanks. https://drive.google.com/file/d/1nTL9xMb4qHCNLxZiuiTu9uQzQ6Vwk4RV/view?usp=sharing
  • Write a function that takes a character s ,number of rows and number of columns and returns a string that when printed looks like this (Here, the string¬†s¬†is¬†‘a’, number of rows is 4, number of col…
  • What number of probes are needed to avoid collision in hashing ?
  • can use python to teach me? (mainly for, while, if loops, creating function) Part 1 For this part, you will be writing three functions: # function: horizontal_line # input: a width value (integer) # p…
  • 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 ) ¬† Write …
  • What are some ideas I can create using Python code for this project? Please give reasonable suggestions and elaborate on them if possible. Please let me know if you have any questions. Thank you!¬†. I…
  • This problem involves dict nesting. Given a list of non-empty strings. Create and return a “firsts” dict with a key for each first char among the strings. The value for each key should be a list of th…
  • why do i keep getting tuple error on wing or either when i print the code it doesnt show on pyhon shell. could you show me how to do it properly or send it properly . heres the code def tip(cost:float…
  • I keep receiving the error when trying to run the python code below. ¬†Any thoughts on what to look for?¬† Traceback (most recent call last): ¬†File “main.py”, line 1, in <module> ¬†full_name = …
  • 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…
  • def fun(n, m): if n==0: return 0 elif n%m==0: return n + fun((n-1)//m, m) else: return n + fun(n-1, m)¬† is it possible tocome up with an iterative solution. Time complexity?
  • How to do the problems?¬† ¬†. Drag the (green) points from the top left to plot the inverse function, f-1(x) -1- – 10 -1- -. The (blue) graph of an invertible function, f(x), is given. Drag the (green…
  • Loading CSV Files with Pandas DATA.GOV.HK provides an API to retrieve historical data on COVID-19 cases in Hong Kong. The following uses the urlencode function to create the url that links to a csv fi…
  • A model uses below decision variables. xi,j,t: Number of product i produced in facility j in month t. i=1, …, 20; j=1, …, 5; t=1,…, 12. ¬† Using above variables give algebraic expressions for be…
  • Answer the discuss questions(1,2,3,4): ¬† ¬† Code: ¬† import turtle def draw_sun(pen,x,y,size): ¬†pen.setheading(0) ¬†pen.fillcolor(“yellow”) ¬†pen.penup() ¬†pen.goto(x,y) ¬†pen.pendown() ¬†pen.begin_…
  • I need help from an expert in figuring out how to draw a square of circles using python programming, please!. from graphics import * Program: C5 115 Lab 3 Part C Author: Your name Description: Using t…
  • How do I complete step on python programming? 4. Function Two: simpleInterest Specification: The second function you will write should be called ‘simpleInterest’. Your function should take three (3) a…
  • Fill in where there is a ‘?’ And explanation . This is about finding population in texas in 2010.
  • program that takes the following dates as string. Use the datetime library to change the date to datetime objects and then calculate d3 = d1 – d2. d1 = “06-22-2019” d2 = “May-01-18”
  • # Creates a dictionary containing course numbers and the room numbers courseRoomNumbers={‘CS101′:’3004′,’CS102′:’4501′,’CS103′:’6755′,’NT110′:’1244′,’CM241′:’1411’} # Creates a dictionary containing c…
  • can someone help me with this code. thanks (Python or Java) the output. m/courses/1434721/assignments/5812635 G Reading list o m=n=30, p = 911, – (4pt) S10,5 = ? – hints: [0, …, 87] . (4pt) S13,29 =…
  • How can I extract: Name of the Instructor Email of the Instructor Office Hours Number of assignments or labs This is a pdf file , and I need those information to be extracted by using Python : CS 8 – …
  • Write code to creat a list of integers from 0 through 52 and assign that list to the variable¬†numbers. You should use a special Python function – do not type out the whole list yourself. HINT: You ca…
  • I am stuck on this problem. I am having trouble figuring out how to call the ‘def viewFile’ to the menu option 7. Here is the problem: Add a command to this chapter’s case study program that allows th…
  • Temperature is commonly measured in degrees Celsius, degrees Fahrenheit, and Kelvin. Develop a program that asks the user to enter the temperature in degrees Celsius, and have the program convert the …
  • Problem 1 This problem provides practice using a while True loop. Write a function named twoWords that gets and returns two words from a user. The first word is of a specified length, and the second w…
  • I’m working on the review and can’t figure out how to do this i n LISP
  • In the data file you will find the file for the Black Jack game.¬† All the logic and all the code is there for it.¬† You will be modifying this game. Refer to page 350-351 in the text, specifically fo…
  • Need help. is available at location 4. Select all that apply. def myFunction(namel, name2) : uppercaseName = name1 . upper () lowercaseName = name2 . lower () count = 0 for element in lowercaseName : …
  • In Linux file permissions are expressed as follows: (25 marks) read -> r : user’s capability to read the contents of the file. write -> w: user’s capability to write or modify a file or direc…
  • . Sample Output: courses = readCourses ( ‘courses . txt’ ) print (computeAverage (courses) ) 3. 758 Important notes: Comments: your program should have a header and comments that explain the solutio…
  • Write the standalone function¬†partyVolume() that takes accepts one argument, a string containing the name of a file.¬† The objective of the function is to determine the a Volume object that is the re…
  • . 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 …
  • Problem 1 : Linear Regression You are hired by a company Gem Stones co ltd, which is a cubic zirconia manufacturer. You are provided with the dataset containing the prices and other attributes of almo…
  • Your boss comes to you Monday morning and says “I figured out our… ¬† Your boss comes to you Monday morning and says “I figured out our next step; we are going to pivot from an online craft store an…
  • We are going to experiment with the absolute function abs() that converts a number to its absolute value. Write a program that asks the user to enter a number. The program should: Catch a python excep…
  • Please help me with this assignment. I am struggling with it a lot. All instruction are in photos ¬†. 4 How Tiles Work In this project (all 4 parts), you will define a certain set of tiles. You must r…
  • I’m attempting to get the loop for this code to work and for some reason when I run the code in Python it tells me the code is correct but it won’t run is there a way for me to get some help with the …
  • HI Can some help me with the following – get_slice(my_list, start, stop) that takes a list, a start value and a stop value as parameters. The function returns a copy of the list between start and stop…
  • Extend the decrytion example to decrypt a series of codes using the book ‘Don Quixote’. The string to decrypt is ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† 22*13*33*137*59*11*23*11*1*57*6*13*1*2*6*57*2*6*1*22*1…
  • . Information V Flag question Question 22 Not answered Points out of 9.00 F Flag question TicTacToe: Introduction Suppose that a string represents a tic tac toe board, where the board is represented…
  • Could you assist with these two questions… I attempted them, but they don’t seem to be working. I am not needing to submit them to anyone. I just need to understand what I am doing wrong. Thanks! # …
  • You are required to answer questions 2.1 and 2.2 based on the given below extract from a negotiated statement of requirements of an Employee Attendance Management domain. The Employee transportation s…
  • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
  • Based on the hands-on card “OLS in Python Statsmodels”, how many observations are there in the dataset? 2.Based on the hands-on card “OLS in Python Statsmodels”, what is the value of the estimated c…
  • Please help answer question 3 by describing what the function does. #3 – Aliasing In twenty words or less, describe what the function below does. You may assume the inputs L1 and L2 are both lists. de…
  • “Vincenty’s formulas are two related iterative methods used to calculate the distance between two points on the surface of a spheroid, developed by Thaddeus Vincenty (1975a)” The file Unit08_vincenty….
  • I need program code for this lab. The images are attached in sequence numbers.
  • Can you please help do this? First, create a new file in the PyCharm integrated development environment (IDE), title it “TextBasedGame.py,” and include a comment at the top with your full name. As you…
    • Let us choose a way to share the documents/program Ô¨Āles with team members. Ask one of your team member to create a shared folder at Dropbox or Google Drive. Remember to grant edit permission to e…
  • 3.3: While loop: Insect growth. Given positive integer num_insects, write while loop that prints that number doubled up to, but without exceeding 100. Follow each number with a space. Sample output …
  • Triangular Numbers :A triangular number is any number from the series of numbers (1, 3, 6, 10, 15, etc.) obtained by continued summation of the natural numbers 1, 2, 3, 4, 5, etc.1 Implement a f…
  • Please satisfy the needed info below and explain it clearly so I could understand easily.¬† Ps. This is not an assignment but this is a programming challenge that I want to know and understand. ¬†I ma…
  • python functions 4. In the section Example: linear least squares fitting. we showed that the best fit of a line y = a + or to a set of data {(Ti, yi) ) is obtained for the values of a and 6 given by E…
  • . Part (a) Consider a multivariate normal distribution P(x, y, z) with three variables, x, y, z. Their mean values are HI = 0, My = 3, Hz = 1. Take the covariance matrix to be 0.8 0.5 0.6 C = 0.5 0….
  • python please help asap!. 2.4. Method speciÔ¨Ācations. DeÔ¨Āne a class called TankModel, which should be a subclass of Distribution. DeÔ¨Āne the following methods. Remember that as a subclass, TankMod…
  • Convert one (1) sample Python script into Java code. The first letter of your first name will be the basis of your assigned recursion type. First Names Recursion Type A-F Linear recursion G-L Tail rec…
  • Design and implement ‘Store automatic system’ similar to the Apple store, allowing the staff to communicate and provide an excellent customer experience. You should build a Client/ Server-side softwar…
  • At the point when I endeavor to resolve the issue, I want to realize what activities to do. If it’s not too much trouble, walk me through it. What is the easiest PC that we can assemble that can by an…
  • For this interactive assignment, apply all the concepts learned in previous weeks and apply the use of sequential input and output operations to add two new functionalities to Employee Management Syst…
  • import random import turtle def isInScreen(win,turt): leftBound = -win.window_width() / 2 rightBound = win.window_width() / 2 topBound = win.window_height() / 2 bottomBound = -win.window_height() / 2 …
  • Write another program named program62.py ¬†that reads grades.txt . The program should output all of the course names and scores on file, one course per line as shown below. The overall average score s…
  • Define the class¬†Number¬†which makes a ‘number object’. The object has five methods plus,times,divide, minus and value. You can assume that the integer value that the number object contains is always…
  • How do I apply discounts in python? I am trying to get the output to work. can you please assist. MY INPUT – from parse import * data = “”” Name: CJ Age: 16 Hair: Blond, Long, Straight Eyes: Blue Rece…
  • It is often very useful to iterate through a dictionary object separating the iteration into key and value pairs. In this task you will need to use your new knowledge of dictionary iteration using the…
  • Please a conduct analysis using a cross-validation design ¬†and provide sample of code of this analysis
  • Prompt the user to guess your favorite color. Using a while loop, if the user didn’t guess your favorite color [pick one for this activity] then tell them they are incorrect, then ask them again. When…
  • Please answer these questions an answer that not answered before in other programs, and thank you this is a Note that may help you in solving the questions. Question 1: (30 Marks) 1 2 Consider a billb…
  • Please show all your work. If there is any missing information or problem, please let me know. appreciate,. Activity 1: String index and Slice Given the following string and its index in both positive…
  • (f) Using python, Provide an example of some code that encapsulates error handling. Explain the conditions and inherent logic contained therein.
  • Exercise 1: Linear Regression ¬† Write an application using scikit-learn to train/test the real estate data. Use Linear Regression model. Use the dataset from the UCI repository:¬†https://archive.ics….
  • Parenthesis String (PS) consists of two parenthesis symbols ‘(‘ and ‘)’ only. In parenthesis strings, some strings are called a valid PS (shortly, VPS). Let us give the formal definition of VPS. A sin…
  • Write a function to invert a dictionary. It should accept a dictionary as a parameter and return a # dictionary where the keys are # values from the input dictionary and the values are lists of ke…
  • the Bank account assignment is confusing, I need any little tips that could make me understand this assignment. import pickle class Account (object) : ¬† ¬† pass #remove pass instruction and insert yo…
  • IN R or Python: You develop a new repellent for ticks. You would like to evaluate if it is effective at repelling ticks. You plan an experiment in which you will have some number (n T ) of volunteers …
  • I’d like to pars pcap file using python, here are the code and expected outputs: import datetime import time import sys import dpkt import socket # print_packet_info(ts, src_ip, src_port, dst_ip, dst_…
  • Problem 4.1¬† Purpose: Modify a program that uses a for statement. ¬† Look at the following piece of code, which rolls a die (and prints out its value) 7 times: ¬† for number_of_rolls¬†in range(7): ¬†…
  • Turtle Graphics: Star Pattern Use a loop with the turtle graphics library to draw the design shown in Figure 4-14.
  • Using R or python Assume you would like to generate a Beta(4, 3) distribution using the acceptance-rejection. Recall that the pdf of a Beta(‚ćļ, ő≤) distribution is: f(x|‚ćļ, ‚ć¨) = [x ‚ćļ‚ąí1 (1 ‚ąí …
  • Please watch the following videos and answer the questions below. Agile Programming – For Your Family https://www.ted.com/talks/bruce_feiler_agile_programming_for_your_family Describe the cutting-edge…
  • What is the output of the following? k = [print(i) for i in my_string if i not in “aeiou”]
  • using python Use matplotlib to plot the following figure with the six subplots. The texts in the subplots denote the rows and columns they occupy, e.g. (1;2 to 3) means the subplot occupies the first …
  • It is the sports event of the year for the residents of Sportsville.¬†¬†Their team had finally made it to the finals of the Bowls League Cup. Problem Description It is the sports event of the year for…
  • help please ¬†. def hotter_daily_temps(temps_then: List[int], temps_now: List[int]) ‚ÄĒ> List[str]: """Return a list of strings representing whether this year’s temperatures from tem…
  • # q11 – DEBUG function changeValues(intList)¬† # ¬† ¬†– This function currently returns INCORRECT answers # ¬† ¬†– Find and fix the error(s) in the function below # # ¬† ¬†– the program accepts a list…
  • helper: def transform_string(s: str) -> str: ¬† ¬†“””Return a new string based on s in which all letters have been ¬† ¬†converted to uppercase and punctuation characters have been stripped ¬† ¬†fro…
  • Please assist in writing a clear workable and testable python program for #8 only. Thank you 8. Sum of numbers: Write a program with a loop that asks the user to enter a series of positive numbers. Th…
  • Hello, I would like to know how to use For loop to automatically collect necessary data because I can only do manually one by one. Here is the sample data (https://ideone.com/eypcRj).¬† This data is G…
  • help to code Python ¬†. Steganongraphvr is a method of message conoealment where the message is hidden within another piece of data like an image or video. For example take the phrase "Curiosity …
  • .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. (8¬†marks) 1 %%sim_magic -…
  • . Project Problem (30 points) The figure above shows a system comprising three slender rods (shown in brown); each rod is of mass m and length /. Their centers are mounted to a shaft (shown in silve…
  • 15 LAB: Password modifier ¬† Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by replacing characters using the key below,…
  • Which of the following statements creates a tuple? There may be more than 1 correct answer. Select one or more: Wa. values = [1, 2, 3, 4] b. values = (1) c. values = () O d. values = {1, 2, 3, 4} O e….
  • Would be great to understand the conversion of a dataframe to matrix and to tensor and reverse based on code samples here.
  • Choose any dataset that you will like to work with and is suitable for classification. That is, each point in the dataset must have a class label. What is the number of rows & columns in this data…
  • . 4. good_apple_pix() Write code in the good_apple_pix() function to implement the good apple strategy. You can copy some lines from inside your earlier best_pix() as a starting point, as the lines …
  • can you help me in creating the 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/sysconfig/ne…
  • Exam efficiency code in python In an examination with multiple choice questions, the following is the exam question pattern. X1 number of One mark questions, having negative score of -1 for answering …
  • Use python programming language for this.. Task 1 – IP Addresses Problem Description In Linux, the execution of ‘ip address’ command produces this output: eth0 Link encap:Ethernet HWaddr bo:ac:6f:65:3…
  • We are trying to do a linear classifier one of the function is to select crucial sample for training. one way to do this it to check the hinge loss of a sample point by using current classifier. If th…
  • How can I get the below result? Weekly Assignment: LCM Calculator In arithmetic and number theory, the least common multiple, is the smallest positive integer that is divisible by both a and b: https:…
  • I want to replace this to compare with data frames list. I got rid of the hight_averages list. How do I solve this with .mean() ?¬† ¬† avg_swimmers = (height_averages[0] + height_averages[2]) / 2 avg_…
  • PYTHON HELP 2) The following code will print 100 numbers, randomly selected between 0 and 1 million import random for k in range (100) : print (random. randint (0, 1000000) ) Write a python script to …
    • 2) 3) 4) 5). 1. Write and test a PyDev module named to1 . py. Copy your testing to testing . txt. This program demonstrates your understanding of the use of single, double and triple quotes by us…
  • Escribir¬† Write an e-mail to your parents telling them what activities four of your friends enjoy, and where these activities occur. It’s for an elementary Spanish class
  • #Please help my gross pay is not showing up in the gui box # Imports the necessary components from the tkinter module in Python from tkinter import * from tkinter import filedialog import os ”’Below …
  • convert the below string to using regular expression using python. Can you help me understand what I am missing Here is my code ¬†matchers = { ¬†¬†‘name’:”'”[‘\w\W+’*’\s.+.]\.w*”><span>(.+)&…
  • I need assistance with code that asks the user for the name of a file. The program should display the contents of the file with each line preceded with a line number followed by a colon. The line numb…
  • Please refer to the attachment to answer this question. This question was created from SMDM practice pdf.pdf. Additional comments: “Need exact coding coding in python and explanations in words. Answer
  • These exercises focus on creating and using our own functions: l¬†def¬†¬†¬†¬†¬†– defining a function l¬†parameters l¬†return values l¬†calling a function Q1. ¬†Writing function that takes as an argume…
  • I need help with this please. Create pseudocode or a flowchart that logically outlines the steps that will allow the player to move between rooms¬†using commands to go North, South, East, and West. Us…
  • Use VScode to solve this problem and show the code Problem 5 – thue_morse. py: Thue-Morse sequence [25 points] A sequence with many interesting properties" is the Thue-Morse sequence , which is d…
  • Below is a program that’s incomplete. finish the program with the following tasks. See the comments inserted in the program to guide on what to do. 1.¬†¬†¬†Add the code for three functions: 1.¬†¬†¬†…
  • I Need Help all them are wrong I need the right answer to the problems each screenshot is a new problem ADD THE EXERCISE NUMBER SO I CAN KNOW WHICH IS WHICH ONE¬† Each screenshot is a new problem¬† ht…
  • Need help with this assignment: We’ll be performing a similar transformation with a JSON file. JSON is one of the most popular data formats available because of its compactness and portability. The Py…
  • i need help with couple program, can some help with this homework? first program is: i need help with this program called gas_calc.py, which asks the user for the number of miles they drove on a trip …
  • Task 2 – Finalising grades and class performance statistics (40%) This task is built upon Task 1. You may want to make a copy of task1 . py, and name it task2 . py, and you may want to use the logic y…
  • Create a function with the following description: def sum_of_three (x): ” ‘(tuple) -> bool Returns True if the sum of 3 elements consecutive is zero Precondition: the tuple has at least 3 elements…
  • Create a function to Read data from a file called¬† weatherTemp.txt¬† ¬† Create a function to use an exception to check to make¬† sure the file exists
  • This is an exercise on basic python grammar. Instructions Assume ¬†there are 10 teams in a competition. Their names are “team1”, “team2” .. “team10”. Write ¬†a function to generate their order of perf…
  • I need to perform this pseudo-code and flowchart. Note: Please, I need to elaborate it in Pseint, in another format it does not work for me. *Repetitive structure Algorithm: An insurance company emplo…
  • Shippensburg’s Tax King needs to develop an application that calculates income tax payment for its clients. The text file provided includes data on the clients’ income and relevant tax filing informat…
  • Task Two You are given the task of implementing an IoT service by gathering real-world data from actual IoT sensors. This scenario will be explained further in your tutorial tasks. You have recently b…
  • Please help me with this question. It is difficult. I want to learn how to do this but need help. There are two places to put in Python code to solve. Thank you! ¬† Embed helper functions into functio…
  • Problem 1: Write a program that will calculate the problem and stop after the condition has been met.¬† a=number of loops (start with zero but will increase by 1 after each completed loop) b=a+1 c=a+b…
  • How to use python to solve the following questions? a.¬†¬†¬†¬†¬†What percent of records represent flowers? b.¬†¬†¬†¬†¬†What is the average Costs by Color? Color Probability Flower Cost Red 2.6 0 378.8…
  • How do I write this in python pseudo code and in a flowchart? please see below. # list with months of year months = [ “January” , “February” , “March” , “April” , “May” , “June” , “July” , “August” , …
  • Scenario ¬† REST APIs are ubiquitous, and Python is the go-to tool for testing REST APIs. The goal of this capstone is to mimic a real-world scenario of API testing. You must write several unit tests …
  • . The Health Research News Headlines (HW2_headlines_l0000.csv) is a data set that sampled 10,000 headlines from health re search press releases posted on the EurekAlert! website. You are going to ex…
  • I need help with an AI project. The project is to get two AI’s (Random and MinMaxAI) to play chess vs each other. There are more instructions on the link. I linked a blank skeleton of the project thro…
  • Here is a link https://ufile.io/f/5acjt with all the files you need to fill in for this assignment, and the example input files. This assignment requires you to read from the standard input. Do not re…
  • Extract increasing integers from digit string def extract_increasing(digits) : Given a string of digits guaranteed to only contain ordinary integer digit characters 0 to 9, create and return the list …
  • numpy instead of list to solve this problem.¬† ¬† 2. (A)¬† a class with name EmployeeInfo that will keep track of employees name, salary, post, and joining year. a text file with information of five e…
  • Function Task 1: Flip Coin Define a function called flip_coin() which randomly returns “heads” or “tails”. Since we only know a function to get a random int, not a random string, you’ll have to use in…
  • To help my comprehension I would love to see a script that contains the following: (a) Write a function are_equivalent3(f,g) that for two functions f and g in three propositional variables, returns Tr…
  • Question 3 (2 points) What is the output of the following code segment? for num in range (10, 14) : for i in range (2, num) : if num i = 1: print ( num) break
  • Bike Share Data Over the past decade, bicycle-sharing systems have been growing in number and popularity in cities across the world. Bicycle-sharing systems allow users to rent bicycles on a very shor…
  • Asking someone to key in a CGPA. CGPA more and equal to 3.67 -> FIRST CLASS CGPA between 3.66 – 3.33 -> SECOND UPPER CGPA between 3.32 – 2.67 -> SECOND LOWER CGPA between 2.66 – 2.00 -> Th…
  • How can I code a solution to this using for loops, while loops, or lists? ¬† In an alternate reality, chemistry Professors Hodge and Sibia have teamed up to design a chemical compound X such that when…
  • Write a program to generate a new mix array from two(2) arrays of integer size 8 and 6. Program specification and Assumption: . Prompt user to enter 8 integer for the first array . Prompt user to ente…
  • please create supervised model using one of the machine learning algorithms ( Linear Regression Python, Decision Trees, KNearest, Scaling, Deep Learning) Find a dataset online that interests you and w…
  • Complete the code below in Python to create a function that determines how many seconds are between two timestamps in the format (Hour:Minute:Second) ¬† Snippet of code: ¬† def ElapsedTime(H1, M1, S1,…
  • Return a list of club recommendations for person based on the “person to friends” dictionary person_to_friends and the “person to clubs” dictionary person_to_clubs using the specified recommendation s…
  • BFS Implementation using Python Briefly Explain this every line and every logic (i dont know python, also explain Syntax)¬† ¬† graph = { ‘F’: [‘D’, ‘J’], ‘D’: [‘B’, ‘E’], ‘J’: [‘G’, ‘K’], ‘B’: [‘A’, ‘…
  • Create a Python program (IDLE 3.9) with GraphWin module. The height and width of the window are the same as in the picture. If I click on the left side of the window it will make circles pink color an…
  • 1In operating system concepts, the less privileged mode is often referred as, a. Kernel mode b. User mode c. System mode 2.The _________ keyword defines a template indicating what data and code will b…
  • Make Python dictionary that returns a list of values for each key . The key can be whatever type you want.¬† Design the dictionary so that it could be useful for something meaningful to you. Put at le…
  • ..I have to write atleast 4 lines of explanation of what the coder has done in this code..what function or statement has been used, everything in details. def print_zodiac_sign(day, month): if mont…
  • County property taxes in Python County are based on 40% of the assessed property value minus any Homestead Exemption taxpayers may qualify for, the net value of which is multiplied by the 2021 propert…
  • 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…
  • Jack just completed the program for the Flesch text analysis from this chapter’s case study. His supervisor, Jill, has discovered an error in his code. The error causes the program to count a syllable…
  • Is the code correct in terms of operating not syntax?
  • Listen What would be the result of the following code? ages = {‘Aaron’ : 5, ‘Kelly’ : 4, ‘Abigail’ : 1} value = ages[‘Kelly’] 0 5 2
  • suppose we have a subclass SUV and its superclass AUtomobil. We later create an object mySUV based on the subclass SUv. What will be returned if we execute: isinstance(mySUV, Automobil) True False cla…
  • look at the picture. The question about python application to solve the probablity problem. Make the python program (pseudocode) to solve this question ! 2. A geneticist is studying two genes. Each ge…
  • You will be working with the same text-based game scenario from Projects One and Two. In this milestone, you will develop code for a simplified version of the¬† sample dragon-themed game. The simplifi…
  • Discuss and provide specific comparisons between Python and 3 other tools like tables and excel with respect to their analytics features and capabilities.
  • QUESTION 1 Version control does not allow programmers at remote locations to work on the same files at the same time.¬†(True/False) ¬†True False QUESTION 2 With version control,¬†if one programmer ove…
  • Problem 1: Looping over lists (Section 2.4) Place the following functions in a file called looping.py.¬† 1a. Imagine that we have a list of DNA sequences and we wish to know how many of them are of a?…
  • why the output is an empty when I enter name1????? def select_where_actor_is(actor_name, actordb): "’key->value"’ movies= lista=1istCactordb.keys()) for i in lista: if actor_name== i.lowe…
  • how would i use list comprehension to condense this code i have written into one line: def¬† enrollments (db : {str:{(str,str)}}) -> [(str,int)]: ¬†¬†enroll_list = [] ¬†¬†enroll_list2 = [] ¬†¬†for …
  • I’m attempting to groupby ‘team’ and aggregate the sum of ‘differential’ but i think the index is getting in the way from allowing the function to perform. df.groupby( ‘team’ ).agg({ ‘differential’ : …
    • ask the user for the number of problems they want in the assignment – create the assignment by calling createAssignment function with the number they provided as the argument; store the result of th…
  • I would need an example of Python program using dictionary and list with cities located in the Europe and their corresponding population .
  • This is the Problem: Return the number of times that the string “code” appears anywhere in the given string, except we’ll accept any letter for the ‘d’, so “cope” and “cooe” count. def count_code(str)…
  • python program—- I am using jupyter notebook ¬† ¬† According to the 2020 Census, there are 157 million female Americans and 151.8 million male Americans. A pharmaceutical company is trying to sample…
  • Reading a CSV file into a dictionary of dictionaries Next, you will create a function called¬†read_csv_as_nested_dict read_csv_as_nested_dict¬†that takes the name of a CSV file and returns the data wi…
  • these are two codes do them in python¬† #Assignment: Loop over examScoreList and find avg and provide GPA #Assigtment: create password make sure 8 digit long and have least one number
  • i need help with 1 2 and 3. Your team has been hired by the new burgers place called “The hungry snake.” Per client, you have the following information: client’s name, burger’s name, time of the day, …
  • What is the following snippet of code an example of? class French: def hello(self): print("bonjour") class Polyglot: def _init_(self, lang): self.lang = lang def hello(self): self.lang.hello…
  • Given OrderedDict([( ‘Name’ , ‘Chunduru Balaji Alexosa, Manikanta’ ), ( ‘Participating from’ , ‘United States of America’ )]) OrderedDict([( ‘Name’ , ‘Cao, Ruochen’ ), ( ‘Participating from’ , ‘China’…
  • The Apgar Medical group keeps a patient file for each doctor in the office. Each record contains the patient’s first and last name, home address, and birth year. The records are sorted in ascending bi…
  • In this assignment you will solve the N Queens problem. The problem is to place N Queens on an N X N chess board so that no 2 queens attack each other. In chess a queen attacks another queen if they a…
  • Cortney requires it’s sellers to post items for sale for a six-week period, during which the price of any unsold item drops 5 percent each week.
  • `scores` is a dictionary that maps names (strings) to scores (integers). Write code that computes `average_score` as the average of all the values in `scores`. Do **not** use the `sum()` function. ¬† …
  • I have a csv file with information about job postings. How would I display the¬†mean¬†salary¬†per¬†year¬†for¬†the¬†company¬†Wells¬†Fargo¬†in¬†a¬†single¬†data¬†frame¬†(company,¬†year,¬†mean_salary)? Ho…
  • Can someone help me to solve this problem? def reverse_decorator(function:callable): This question is meant to test your knowledge of creating a decorator to decorate a function that accepts no argume…
  • Hi Team, Getting below error while executing python qualis handon practical question from proj.circle import Circle from nose.tools import assert_raises, eq_, eq_ class TestingCircleCreation: ¬†¬†def …
  • Plot a formula for several parameters. Make a program that reads a set of v0 values from the command line and plots the corresponding curves y(t) = v0t ‚ąí 0.5gt2 in the same figure (set g = 9.81). Le…
  • Please solve the given tasks using python – Numpy.¬† A business has come up with a pricing strategy for a Chocolate bar which gives discounts at different months¬†of¬†the¬†year as following¬† Month Di…
  • Question 3 (40% of this assignment): Write a Python class to simulate an ecosystem containing two types of creatures, bears and fish. The ecosystem consists of a river, which is modeled as a relativel…
    • Load the ggplot2 bundle, which contains the ‘mpg’ dataset. Then, at that point, make a thickness plot of ‘cty’ (city miles-per-gallon) and fill it by ‘class’ of vehicle. Add an alpha worth of .8 t…
  • # MathIsFun.py # using multiple functions. # copy/paste this program to run it first, you are supposed to use Google Chrome as Internet Browser for this course. # 1. calculate sum of the first n natur…
  • def pay(hours, pay_rate) : ¬† ¬† ¬† ¬†pay = hours * pay_rate ¬† ¬† ¬† ¬†print(f’Pay is ${pay:.2f} ‘) Identify the statements that correctly call the pay function. Select ALL that apply. 1. print(pay(4…
  • Filter the noisy image and segment the result from the image. Please do not use built-in functions such as selem, scikit.mean() or opencv or pil, try to implement the function from scratch or edit my …
  • I have a question on linear regression and it’s much.¬† ¬† Context Buying and selling used phones and tablets used to be something that happened on a handful of online marketplace sites. But the used …
  • Write a function friend_second_besties() that calculates the “second-besties” (i.e. degree-two friends) of a given individual in a social network. The function takes two arguments: individual , an ind…
  • currently learning functions (already liearned listing,set, and converting from one another. (simple append and split as well) only one program but its long and i need help solving it ūüôā thank you not…
  • Translate the following statements into Python Boolean expressions and evaluate them: a)¬†¬†¬†The sum of 2 and 2 is less than 4. b)¬†¬†1387 is divisible by 19. c)¬†¬†¬†31 is even. d)¬†¬†The …
  • PLEASE USE PYTHON¬† 1 2. Create a program that will enter 5 student records with three quizzes. The program will generate an output that will displays all the student records with their grades and rem…
  • This assignment is based on Exercise 7.1 from your textbook.¬† Exercise 7.1. Copy the loop from Section 7.5 and encapsulate it in a function called mysqrt that takes a as a parameter, chooses a reason…
  • 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…
  • In Python programming, write the following code: ¬† 1. A customer in a store is purchasing three items. Write a program that asks for the name of the purchased item and its price, then displays the in…
  • You Programming Assign. Unit 7 Instructions for submission Start with the following Python code. alphabet = "abcdefghijklmnopqrstuvwxyz" test_dups = ["zzz","dog","b…
  • I need help for the following practice problem First I need to write a program that writes the following data to file¬† books.txt .¬†¬†Include the semicolons. Fiction;Abraham Lincoln Vampire Hunter;Gr…
  • process a code to “mutate” a string. In particular, you have a string, a position number and a character. the code should return a different string such that this string is the same as the input strin…
  • Write python program Exercise 1: Write a Python program to display the current date and time. Exercise 2: Write a Python program which accepts the radius of a circle from the user and compute the area…
  • ## —- Datetime Module — ## import datetime # use the datetime module to print the current year # use the datetime module to print the current month # use the datetime module to print the current d…
  • TEST CASES: Input speed: 40 Gear Ratio: 4 4/9 First Level Input = 12 First Level Output = 32 Second Level Input (Forefinger) = 12 Second Level Output (Forefinger)= 20 Second Level Input (Thunb)=12 Sec…
  • Write a Python program to create sum of squares up to n using reduce
  • Loops: ‚ÄĘ Predicts progression outcomes for multiple students ‚ÄĘ User enters ‘q’ to quit
  • Complex Functions RESTRICTION: You may not use the Python built-in function you are implementing within its own implementation. In the absence of additional restrictions, you may use other Python buil…
  • what is the answer? Consider the following tree, implemented in code with our dictionary implementation: t = { "value" : "A”, “left” : { “value” : “B”, “left” : None, …
  • open this file, download it, next is extract it and open it on the second link below. ¬† ¬†https://drive.google.com/file/d/10b5hZMkcrBZjffIgC1lt9vMk_79f1Jj9/view?fbclid=IwAR1-_U43QhtuefMgv3TGqiUehKG34…
  • #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…
  • NEED IT URGENTLY OR I WILL FAIL THE EXAM, PLEASE HELP PLZ . A sorting problem of a different kind You have two arrays, A1 and A2. Al is an array of n small toy cars. All the cars look exactly the same…
  • Homework 3: Searching and Summarizing IMDB Data This homework assignment will assess your ability to use the text file processing techniques and data structures that we learned over the past few chapt…
  • . 1. A user has converted a set of images to text using OCR, and the output text has random specks in it that resemble full-stop marks ("."). To help the user clean the text, write a Pytho…
  • Part A: WORD & LINE CONCORDANCE APPLICATION: The goal of Part A is to process a textual data file (WarAndPeace.txt) to generate a word concordance with line numbers for each main word. A dictionar…
  • Hello, please help me ! ¬†. Consider the following code snippet: #!c: \python\python . exe print ("Content-type: text/html\\") import mysql . connector try: mydb=mysql . connector . connect …
  • 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 an…
  • Overview TargetCRM is CRM software company that sends emails to users every week. The system has a mailing list of users that are active and able to receive emails as well as users that have been unsu…
  • 1)Write 1 function that accepts a string and returns the string backward. 2)¬†Write 1 function that accepts a string and returns the number of words in the string. 3)Write 1 function that accepts a st…
  • Take what you have learned in the past few weeks and create three outputs with Annotations. You will need to retrieve a data file and use Power BI, R Studio, Tableau, or Python to generate the visuali…
  • How would you find the image that matches the pattern on the left using opencv in python? The image that matches is image 7
  • A trie is a special kind of tree-shaped data structure. We’ll meet more such data structures soon, but we’ll be using tries here to represent a set of words. The gist of a trie is that it represents w…
  • Project 1: Classification and Performance Evaluation ¬† This is an individual project. ¬† You are to write a Na√Įve Bayes classification system. (Do not use any machine learning library for Na√Įve Bay…
  • Please give the solution in python language. # create a class called computer. # It should include these two attributes: name and make. # It should include 2 methods: # The first should print a messag…
  • Question 1 In your own words, explain the purpose of the x option for the ps command (e.g ps x) For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). B I US Paragraph
  • This assignment is to take a CSV list of contacts and give the user options as to what to do with them. For my specific question, I have to change the find() function (and any other code) to print out…
  • this is a program related to vectors and numpy library. The program I have in the picture is false returned by the check answer program One motion win the short BCA awe fen cam monument We wall to &qu…
  • In python, 1. Design an event handler that will execute when the showNameButton component is clicked. The event handler should perform the following: Store your first name in a label component named f…
  • https://drive.google.com/file/d/1o8WAItm42rvglkpeMOKNsHerBKpc4g-d/view?usp=sharing. Q4. This task also deals with location data. In this case, we have a dataset of cities, the state they are in and…
  • Select a number randomly with probability proportional to its magnitude from the given array of n elements¬∂ consider an experiment, selecting an element from the list A randomly with probability prop…
  • Create a Name Generator App 2. Create 3 lists for first name, middle name, and last name with 10,11, and 12 items per list respectively. 3. The application will ask the user to generate a new name….
  • Please look for PSP Assignment 1 from university of south australia . please look at this because there is no option to attache file INTRODUCTION This document describes the first assignment for Probl…
  • Please help with this programming question. Following is the instruction: “”” This¬†file¬†contains¬†a¬†few¬†incomplete¬†function¬†definitions¬†that¬†use¬†the¬†turtle¬†module.¬†¬† The¬†turtle¬†module¬†…
  • Write code that uses the string stored in¬†sent¬†and creates an acronym which is assigned to the variable¬†acro. The first two letters of each word should be used, each letter in the acronym should be…
  • all the code needs to be written in Python using dynamic-programming!! please see the image for the problem . Problem 2: Cutting is Expensive Consider a modification of the rod-cutting probl…
  • Penalty Kick ¬†. To hide the input in Python, you could simply replace 1113321110 with getpass . getpass O . import getpass secret_inpu1: = getpass . getpasslÔ¨ā) In a Ô¨Āootball match, whenever the…
  • The list and dictionary object types are two of the most important and often used types in a Python program. Compare the functionalities of those two objects. What are some ways to insert, update, and…
  • Use a python program to calculate the volume of a sphere. use any parameter of your own to do a simple python program to calculate the volume of a sphere.
  • This is an optional quiz that you can take to assess your knowledge of the concepts in chapters 3 and 4. It is not graded, and you can take it as many times as you prefer. Lab: Pow Function B Assignme…
  • Question 2 (Flowchart (with modules), Pseudocode (with modules), and Python (modules encouraged): Consider the equation Ax2 + B = 0. ‚ÄĘ If B/A <0, this equation has two solutions. The solutions ar…
  • For a Normal distribution with mean 5 and standard deviation 2, which of the following Python lines outputs the probability¬†? Select one. Question 2 options: import scipy.stats as st print(st.norm.cd…
  • (Print a table) help me with a python program that displays the following table:¬†[ do not use ** operator or any python built in function] a b a ** b 1 2 1 2 3 8 3 4 81 4 5 1024 5 6 15625 !! 8. (Occu…
  • . 2. (35%) Using any appropriate methods that we learned in class, solve the following nonlinear equations within at a tolerance of 10‚ÄĒ6 within the specified range (please solve both in a single P…
  • there is a transaction data called transaction.txt in txt file with multiple columns of text like :¬† 1 24 ¬†3 2 44 ¬†8 3 12 ¬† 0 and so on where column 1 is the id of the transaction and 2 is the id …
  • eral 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 submi…
  • THIS FOR TURTLE STARTER CODE¬† https://drive.google.com/file/d/1VdoNdNlkNgNJSWeOF6DEs88p_cnQYgls/view?usp=sharing ¬† ¬† ¬†. Allturtle Functions This Ô¨Āle, when run, draws a spiral and a collection…
  • Area of a circle Design and test a program that calculates the area of a circle. Ask for inputs within def main().¬†¬†All input and output will be within def main( ).¬†¬†No code outside of the functio…
  • print(“Problem 2”) # (5 pt) “”” If you run a 10-kilometer race in 43 minutes 30 seconds, what is your average time per mile? What is your average speed in miles per hour? (Hint: there are 1.61 kilomet…
  • how to write program that will open a BLASTN (nucleotide to nucleotide search) output file,¬†and parse out specific information, and produce formatted output that will be written to STDOUT (i.e. Stand…
  • I am unsure of how to answer this question from my lab. Any help would be great thanks! Let’s write another function to ensure that you understand what is going on. DeÔ¨Āne square Question 2.3. Define…
  • Give a FLOWCHART for this code:. average=0 total=0 counter=0 while True: num=int(input(“Enter a number:”)) if num==0: break else: total= total=num counter=counter+1 average =total/counter print(“The a…
  • Project Name: Scrape top Spotify songs name and Some information about songs Project Description: In this project, we have to scrape data from Wikipedia for top Spotify songs and some information abou…
  • I’ve attached a document for 3 questions I need help on! #3 Write a program which gives the option between doing 3 things: 1) Add two numbers 2) Multiply three numbers 3) Multiply a number and a strin…
  • #¬†TODO:¬†create¬†a¬†triangle¬†here.¬†It¬†will¬†be¬†a¬†list¬†of¬†four¬†Point¬†objects,¬†with¬†the¬†first¬†and¬†last¬†being¬†the¬†same¬†point. #¬†¬†¬†¬†¬†¬†¬†make¬†sure¬†its¬†*minimum¬†bounding¬†box¬†i…
  • Code the functions below (equation & least_squares_predicator) without using numpy/pandas Include explanation of the code & the computational complexity here’s further explanation on the funct…
  • (6 pts) Making good passwords is a challenge. Good passwords include upper- and lower- case letters and also numbers, and even special characters. To get the full 5 points, write code that generate…
  • Realizar un programa para verificar la contrase√Īa, el usuario solo tendr√° 3 intentos, si pasa los intentos imprimir “Sobrepaso todos sus intentos”
  • . (40 points) In this programming exercise you will implement k-means and Principal Component Analysis algorithms: (a) You will first apply k-means algorithm (K = 8) to the provided dataset Digits08…
  • Write a program for the following problem. An instructor needs a program that accepts a student identification number and three test scores, test1, test2, and final_test, as input and then determi…
    • Use the following line of code to install geopandas in Google Colaboratory: In the next code cell: a) Import geopandas, pandas, and matplotlib using your preferred aliases b) From shapley.geometry …
  • Python Programming: Take a file from user and remove all the spaces and and print the count of every word as a dictionary.(Do not include special characters as a word)
  • Part 1 Section 6.2 of your textbook describes¬† incremental development . Do the exercise at the end of that section: As an exercise, use incremental development to write a function called¬†hypotenuse…
  • Shouldn’t my horizontal distance be 490.44? What did I do wrong?. #import math module import math #prompt for the velocity velocity=float (input ("Enter Velocity of projectile launch:") ) #p…
  • Question ¬† Multiple-Walk Simulation: In this problem, you will define a… ¬† Multiple-Walk Simulation: ¬† In this problem, you will define a function “`runSimulation2“` that runs “`numTrials“` t…
  • Write a Python function which takes a list as the argument. The function moves all items in the list one position to the left, with the leftmost item moved to the rightmost position. ¬†Example Inpu…
  • Export employees’ information to text file : This functionality will allow the user to save the employee information saved in the list to the file system. Each list entry should be saved into a new li…
  • Problem 5 (1 mark) Problem:¬†Book club members meet regularly for coffee at a round cafe table. Only a few members turn up randomly each time. It is a good thing that they keep records of who comes to…
  • A program that generates the entire calendar for one year.¬† The program must get two values from the user.¬† First, you will need the year in order to check for leap years.¬† The year must be positiv…
  • hello! I need notes to help me prepare for my Final exam that cover Chapter 4-9 please the textbook I’m using is Revel Introduction to Python Programming and Data by Daniel Liang
  • Good day! I need your help. So I’m making an Artificial intelligence assistant. As of now I only have ¬†3 functions which are the music player, displaying the weather and displaying the date & tim…
  • Can someone help me to solve this problem using python please. Exercise 6.9: Asymmetric quantum well Quantum mechanics can be formulated as a matrix problem and solved on a computer us‚ÄĒ ing linear a…
  • Explain what we mean when we say strings are not mutable. Give an example.
  • get_keys: This function takes a string as input and returns an list of integers. The elements of the list correspond to the position (counting from 0) of each character in the string as a letter of th…
  • Write a function: def solution(A) that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A. For example, given A = [1, 3, 6, 4, 1, 2], the …
  • I need to modify my python program to read dictionary items from a file and write the inverted dictionary to a file: dic = { ‘fruits’ : [ ‘apple’ , ‘mango’ , ‘kiwi’ , ‘tomato’ ], ‘veggies’ : [ ‘tomato…
  • Which of the following classes have a draw method? Only the GraphWin class. The Point, Line, Circle, Oval, Rectangle, Text, and Entry classes. All of the classes in the graphics module. none of the ab…
  • How do I solve this without any modules only in python. View Insert Cell Kernel Widgets Help Trusted Python 3 (ipyk Run C Markdown TypeError: ‘NoneType’ object is not iterable This visually supports t…
  • beautifulsoup and python has to be used. Only the files of chair professor,professor,associate professor and assistant professor ‘s file have to be write. Q1: Web-Scraping Go to website https://www.cb…
  • How to write this PYTHON program?. 8.1d. The command COUNT: If user input COUNT, then call your COUNT function to count the number of integers in the given list. Testcase Input Output 4 ADD 2 1 Bye By…
  • : A small concert theatre for chamber music has seating for 100 guests. print a program that the box office can use to make sure only 100 seats are sold.
  • Make a webpage using with additional functionality to include images, tables and a Form using Python flask. The Web page should include all basic components of the HTML structure including: your page …
  • Write a Python Simpy program to simulate this system and estimate the average turnaround time. Compute a 95% confidence interval for the average turnaround time. In comment at start state: point estim…
  • Write program that reads a number between 10,000 and 99,999 from the user, where the user enters a comma in the input.¬†Then print the number without a comma. Don’t use .replace .¬† Here is a sample d…
  • Hi i have python related assignment. anyone who are proficient in python, please let me know.my number: 510-320-7219.
  • 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…
  • How would I use the data below to accomplish: ‚ÄĘ Prompt the user for a region name. ‚ÄĘ Read the data from the file selecting only the data for the region. ‚ÄĘ Build three dictionaries for the region…
  • Look at the code in this file: https://ln5.sync.com/dl/02588eae0/8ajqdiw2-52vujyry-k4xyf4zs-3qyript8 Use the given code to base the development of the new function. The function will pull information …
  • def _run_and_catch(fn, args, kwargs): ¬† ¬† # noinspection PyPep8,PyBroadException ¬† ¬† try: ¬† ¬† ¬† ¬† return False, fn(*args, **kwargs) ¬† ¬† except: ¬† ¬† ¬† ¬† return True, _sys.exc_info()[1] Co…
  • I need help solving this python question c-12.26 Describe and analyze an efficient method for removing all duplicates from a collection A of n elements.
  • I practice while statement in python. ¬† Guess game: Computer will randomly generate a number between 0 and 100, and you will make a guess about this number. Python will give feedback based on the num…
  • Introduction This assignment lets you practice with creating and using a new Turtle object. This lets you practice creating objects that inherit methods and attributes from other objects. Preparation?…
  • #12 complete the following Programming Exercise from Chapter 13: #1 Name and Address¬† ¬†(you can make up a fake address for the assignment). ( optional Extra Credit ) #3 Miles Per Gallon Cal…
  • This is a due assignment that I’m trying to solve, semester has needed but couldn’t do it due to health issues. and i would still want to know the results. The Problem We’re building a role-playing ga…
  • Program 3: (Password Protection) [30 points] This program is mean to give you practice using dictionaries. Write a program that first reads from a user a set of usernames and passwords, and then enter…
  • Hello please see below are homework questions I am working on for this week. This is my first time working with Python. Please help me fix my code so that it will run? Question 1. Modify the guessing-…
  • I am trying to train my text to build word embedding corpus using word2vec, my problem is that whatever the classifier I use it gave me exactly the same accuracy score. I believe there is a mistake in…
  • . Write a python script called hoster-toaster.py that is used to update a machine’s local hostname resolution file. The details of how it works are below: It requires one argument on the ccmma…
  • Help with these codes in Python please thank you. ¬† ¬†. ICW: Region, Segment & Temporal Effects Complete the following exercises in Colab then copy and paste or screen shot your code and paste in…
  • tain viruses. Unless you need to edit, it’s safer to stay in Protected View. Enable Editing Description of Problem: Write a simple animated program by using object-oriented design with Python. This pr…
  • Here are three problems about Queue in python. So could you please help me out? Plus, if it’s possible, offer me some explanations to help me better understand them. Thank you. . 1. Implement an array…
  • hello need help with my final for python and how to write the code thank you. Here are the requirements. Python Project requirements Use the Pygame library You can use the AlienInvasion code from the …
  • For each one, submit your code (.py file) and captures of your code’s output (png, jpg, jpeg, gif, or bmp file) It’s strongly recommended to put all four of your functions in one .py file along with a…
  • what the simplest program i can create that implements merge sort algorithm? It not to write a code that shows the process of merge sort algorithm but an actual program that implements merge sort algo…
  • Design a program to get multiple test scores for a student and store the scores in a list, drop the lowest score from the list, and calculate the average score. The program should have the following f…
  • A point in three-dimensional space can be represented by its¬†x,¬†y, and¬†z¬†coordinates. The distance between points,¬† p ¬†and¬† q , can be measured by the Euclidean distance¬† d(p,q) , where:¬† d(p…
  • How can I define a subclass of my class ‘Book’ called¬†‘ElectronicBook’? ElectronicBook should inherit from Book and should contain only one method, whose definition is below: def canCheckOut (self) :…
  • The question is: How to import a CSV file a Pandas Dataframe? My code is: import pandas as pd x = pd.read_csv(‘Flower.csv’) But there is an error code: FileNotFoundError: [Errno 2 ] No such file or di…
  • I am getting invalid syntax for question 1.1 What do I need to add to my code to fix this? < > hub.ydata123.org C Gmail Facebook Quora YouTube Canvas X hw05 Let’s clean up our data. First, filte…
  • USE PYTHON CODE 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 ma…
  • Can I get an example of how this is supposed to look in python ? ¬† how do I Use for loop to Check if letters repeats three or more times ¬†by use the count function with fread as the name of string. …
  • Question: “You have been tasked with building a URL file validator for a web crawler. A web crawler is an application that fetches a web page, extracts the URLs present in that page, and then recursiv…
  • You are to examine the given python file and indicate the errors. The errors can be the following: Syntax Error (missing colon, missing brackets, spelling errors …) Logic Error (certain conditions n…
  • In [ ]: # demo def cale theta(*, y) : from scipy . linalg import solve_triangular add intercept m = x. shape( 0] X_p = np. append (np. ones ( (m, 1) ) , *, axis=1) / compute regression parameter Q, R …
  • Need help with the below: 25. Gym Membership Create a class called GymMembership that takes in the number of Gym Memberships and the type. Using a constructor, deÔ¨Āne two instance parameters nuin and…
  • . # You may define helper functions, but DO NOT MODIFY # the parameters or names of the provided functions. # The autograder will expect that these functions exist I and attempt to call them to grad…
  • . Report Requirements The report should include: Your data preprocessing procedure Your performance evaluation procedure Results and findings Discussions and conclusion References: https://grouplens…
  • Given three floating-point numbers x, y, and z, output x to the power of y, x to the power of (y to the power of z), the absolute value of x, and the square root of (xy to the power of z). Ex: If the …
  • a) What is calculations is doing the code? ¬†¬†¬†b) 1. User enters¬†¬†3 as input. What will be the result? ¬†¬†¬†¬†¬†¬†1. User enters 33 as input. What will be the result? def tstl (n, itr) : if…
  • 1) What file type is used by Anaconda for its configuration files? ¬† a) CSV ¬† b) XML ¬† c) JSON ¬† d) YAML ¬† 2)What file format is often associated with Microsoft Excel and/or Google Spreadsheets? …
  • How do modify this program by adding modification to each element of the array?¬†. # This program asks how much a user works each day and creates a list, then displays the amount of minutes those hour…
  • I am having trouble on line 7 tysmūüôŹūüŹŅ Safari $ SI NTAX AREN IN AN AMAR A 60% B FF 2:42 . . . < > D groklearning.com C Grok | 1 – Review of Introduction to Programming GROK Introduction to P…
  • I am creating a code in Python that will allow me to grade the written portion of a drivers license exam. I have 20 multiple choice questions, the order above in my script. (In the screenshot sent of …
  • In this assignment you will write 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: …
  • How to make this in Python PyCharm: ¬† Please enter your name: Test Hi Test, welcome to the database. Main Menu 1 – Print 1 2 – Print 2 3 – Print 3 4 – Adjust 4 5 – Load Data 9 – Quit What is your cho…
  • Could you explain what is the difference between *args and *kwargs? Additionally, is this valid function definition def func(*args123, **kwargs456)?
  • 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…
  • Programming 1. You‚Äč ‚Äčhave‚Äč ‚Äčto‚Äč ‚Äčcreate‚Äč ‚Äča‚Äč ‚Äčsmall‚Äč ‚ÄčFlask‚Äč ‚Äčapplication‚Äč ‚Äčwhich‚Äč ‚Äčwill‚Äč ‚Äčconsist‚Äč ‚Äčof‚Äč ‚Äčtwo‚Äč ‚Äčroutes(API),‚Äč ‚Äčthat‚Äč ‚Äčwill b…
  • How could this be completed without the use of lambda? def odd_products(num_lists): ”’ num_lists: a list of lists of numbers Returns: a list containing only the lists from num_lists whose length is o…
  • What are the principal components involved in developing a program?
  • Ok so basically im wondering how its possible to properly search for a count of times a list of words appears in a list of words. I have a list of words for examples sake ill name words x and i need t…
  • You should save the solution to this problem in a file called¬† maxprofit.py ¬†if you wish to use the tester program. write a function called¬† maxprofit ¬†that accepts a single list argument as input…
  • Take 2 square matrix in numpy and calculate their product using for loop.
  • please help with my python3 code A geometric sequence, is a sequence of numbers where each term after the first is found by multiplying the previous one by a fixed, non‚ÄĒzero number called the common…
  • CIS 1400 Project programming logic and technic in python Sports Simulation Game You need to take our game from lecture and create functions ‚ÄĘ Menu() – this is a function and will only display the me…
  • http://blog.csdn.net/garfielder007/article/details/50597185 Wish I can get answers of those 10 questions in the url above.
  • Part II. Clustering Analysis in R For this part, please download the R script named "HW2.R" from Canvas under "Homework 2". Follow the instructions written as comments in the R scr…
  • Module 2 Required Coding Activity ¬† Introduction to Python (Unit 2) Fundamentals Be sure to complete all tutorials and practice prior to attempting this activity. Important Assignment Requirements NO…
  • Need Python program for the below problem. ¬† A string is an anagram of another if the second string is simply a scrambled version of the first. Develop python program to implement the following game:…
  • I am looking for help with a function that is the starting point of all of the function codes that I have below. This new code must include includes all functions that I have below. I need to be able …
  • Write code for this function. Idef no_dups (s: str) -> str: Return a new version of s, but with each sequence of repeated characters replaced by a single character. > > > no_ dups ( ‘ aaad…
  • Using Python programming language > Plot the function g(x) = ln(1 + x)/x when x is close to zero. >¬†Describe¬†the¬†main¬†features¬†of¬†this¬†graph¬†and¬†how¬†they¬†relate¬†to¬†the¬†loss¬†of¬†pr…
  • def nPr(n, r): ¬†¬† # INPUT YOUR CODE HERE ¬† ¬†raise NotImplementedError() Provide the code needed with these conditions: Implement a mathematical logic for the nPr() function. Use recursion. Do not …
  • Death Battle Problem Description In a crossover fantasy universe, Houin Kyoma is up in a battle against a powerful monster Nomu that can kill him in a single blow. However being a brilliant scientist …
  • Need to convert data set into at least three graphs and come with basic Dashboard with on any data variables. Have to use any data set for the analysis. use any dataset from this link https://catalog….
  • Write a program in Python that prompts a user for an integer number, and displays the binary representation of the number.¬†Upload the .py file. You may only use the commands introduced in the course …
  • . Preview File Edit View Go Tools Window Help G R B C Q 8 @ Mon Feb 28 6:09 PM Exam_1_SimpleProgramming.pdf Page 10 of 11 Q Q b v A Q Search Exam_1_Simple… 5 Task 8 10 Task 9 11 Create the functio…
  • . If I gave you 50 paper cards with binary 8-bit numbers on them (for example: "00101001") and I asked you to quickly sort those cards into odd and even numbers, then how would you be able…
  • BAN 200 Group Project The goal of this project is to demonstrate your ability to analyze text data and interpret the outcome of your analysis for the best interest of the business. ¬† ¬† Project requi…
  • Question: SeaPort is the largest operator of Sea Planes across sea shores in Europe. SeaPort doesn’t have planes of their own, rather they lease them on a short term basis based on passenger traffic. …
  • Kindly solve it using python Problem 1 (40 points) A robot is wandering around a room with some obstacles, labeled as # in the grid below. It can occupy any of the free cells labeled with a letter, ke…
  • don’t take this question if you will copy from chegg In each case, write a program implemented using Spark (on Databricks), to: Find the 5 most frequent and 5 least frequent (but present)t ¬†bi-grams …
  • PLEASE DO NOT WRITE MISSING REFERENCE. ¬† ALL I NEED IS SOMEONE TO WRITE ME A COLD THAT CAN SOLVE THE FOLLOWING PROBLEMS AND THATS IT ¬† THANK YOU¬†. PDE CITP1 10HW04 (3).pdf X + X F…
  • Consider the following pseudocode design for determining the speed of a person traveling in a residential area. The more the speed limit is exceeded, the greater the fine applicable. Answer the que…
  • You are writing a program that will take as input a home type, a iength, and a width. Home types are: "trailer , bungalow", "two-storey" Home type: bungalow Lengths are from 20 fee…
  • UoPeople Time Nov 23, 2021 8:29:14 am creative with your examples to demonstrate that you invented them yourself. Example 1: Define a function that takes an argument. Call the function. Identify what …
  • Use Python to take a value from a user and store it in the registry. You can use any key name that you like but also store the current time as another value inside of your new key. Finally, get a dire…
  • You want to invest your money in a local bank. They are currently offering several plans, one with simple interest and the other with compound interest. The rates offered at the bank are 5%, 10% and 1…
  • Use the code below as your main in all problems. All problems require the three functions, submit, summary, reset. Add a display option to the main, and include a display function as well. ¬† quit =¬†…
  • Print the following pattern * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  • Create your own Python code examples that demonstrate each of the following. Do not copy examples from the book or any other source. Try to be creative with your examples to demonstrate that you inven…
  • write a program that accepts a string and an integer from the user and, i. replicates the string the “integer” number of times (print your results) ii. print the last 3 characters of the string. iii. …
  • An important quality characteristic used by the manufacturers of ABC asphalt shingles is the amount of moisture the shingles contain when they are packaged. Customers may feel that they have purchased…
  • Cost Analysis Program You have been hired as a new computer programmer for Mountain Steelworks, Inc. As a part of your initial programming task, the owner has asked you to design a simple computer pro…
  • 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…
  • Part 1 can you please help Python program that does the following.¬† astring that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods…
  • 1 Problem Statement ¬† The figure below shows a lake within which sediment, suspended in the water, rains down and slowly builds up on the lake floor. Obviously the early deposits will be covered by…
  • Writing a python Programming code on how to calculate dog years into human years
  • Write a function called¬†square¬†to take in a floating point number and return the square of that number with the¬†return¬†keyword. Create a second function,¬†problem2, that calls¬†square¬†with the va…
    • D√©veloppez un programme qui d√©termine combien de racines r√©elles existent pour une √©quation quadratique: ax2 + bx + c = 0 (a, b, et c sont des constantes r√©elles avec a non nulle)¬† ‚ÄĘ L’alg…
  • I am trying to define functions in my python code. I have started coding and got 2 of the functions to work. I need help defining and have the code print out like in the output1.txt file. Scoring_per_…
  • An object’s momentum is its mass multiplied by its velocity. A program that accepts an object’s mass (in kilograms) and velocity (in meters per second) as inputs, and then outputs its momentum. Below …
  • please help me write the code (python) for task 2 and 3¬†. The acceleration, velocity, and position of the plane along the runway can be calculated iteratively with the following equations: mass of th…
  • 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…
  • def create_randam_IP(): ¬†¬† ¬†¬†fuction that creates an IP address with random numbers in each Octet and return the created IP address ¬†¬† ¬†¬†pass please write for me the function of the above pyth…
  • def reverse_engineer(seq): ¬† ¬†“”” ¬† ¬†Reverse engineer an input sequence ¬† ¬† ¬† ¬†Parameters: ¬† ¬† ¬† ¬†seq – list of strings ¬† ¬† ¬† ¬†Returns: ¬† ¬† ¬† ¬†list of values corresponding to each …
  • Hi I was wondering if anybody could help me, I need to explain How Kruskal’s and Prim’s Algorithm solves the MST ( Minimum spanning tree) with an the same example for both but how they come to differe…
  • Write a program that accepts a comma-separated sequence of words as input and prints the words in a comma-separated sequence after sorting them alphabetically.
  • #!/usr/bin/env python3 # Dictionaries dict_york = {‘Address’: ’70 The Pond Rd’, ‘City’: ‘Toronto’, ‘Country’: ‘Canada’, ‘Postal Code’: ‘M3J3M6’, ‘Province’: ‘ON’} dict_newnham = {‘Address’: ‘1750 Finc…
  • Write function bounded upper lists(upper bounds) that accepts as argument a list of positive integers of length n and returns a list of all lists of length n consisting of non-negative integers with t…
  • The assignment was to work through inheritance by creating a list of animals and their behaviours and putting them through their paces! Comments in the program will explain where to insert the code us…
  • I am taking a Python class. This code must be in python. Your assignment is to implement and use Gauss-Seidel method. Write a function named gaussSeidel where you will implement this solution method. …
  • could you please help me ????could you please help me ????could you please help me ????could you please help me ???? Define a function named volume_ ideal gas . It consumes 3 arguments pressure , num_…
  • Hello, I am a student from the university and I need someone to help me with the anaconda paython program for a computer physics subject. Can you do that or point me to someone who can help me?
  • HELLO I need help with jupyter notebook pyhton 3. please include screenshot to see step by step Thanks you¬† import seaborn as sns # statistical data visualization titanic = sns.load_dataset(‘titanic’…
  • Task – Simple Zoo Simulator: For this assessment, you are to plan and then code a medium-sized console-based program in Python 3. This assignment is designed to help you build skills using: ‚ÄĘ Same a…
  • Hi, can you explain how to fix this code? Please don’t copy the answer from other websites. Thank you! Write a function called total_nums that takes a file handle as a parameter. The function reads th…
  • Q1: Make an index named¬† dates ¬†representing a range of dates starting from¬† 1-Sep-2017 to 15-Sep-2017 . Note: ¬† Use the¬† date_range ¬†method of¬† pandas . Print the 3rd element of the created¬† …
  • Introduction Tic-tac-toe is a game for two players, X and O, who take turns marking the spaces in a 3 x 3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical or dia…
  • help me with , a script which can ceil and floor given value without using any python built-in functions. 3. Python script to swap two integers in single line. [ don’t use any python built in funct…
  • For this assignment, you will be using IDLE to write Python code. The program you will be writing is based off your prior Performance Assessment in Week 1.¬†Incorporate the following requirements into…
  • Hi i need help fast please 125% v + EE T View Zoom Add Page Insert Table Chart Text Shape Media Comment Collaborate Format Document Text Default* Update 1.)What is the line of code to initialize an em…
  • Please do in simple python language Question 01 – Computer-Assisted Instruction (70 points) Part (a): Computer-Assisted Instruction –¬† Computer-assisted instruction (CAI)¬† refers to the use of compu…
  • I entered : def sum(numbers): ¬†total = 0 ¬†for x in numbers: ¬†¬†total += x ¬†return total and it says: LAST RUN¬†on¬†12/22/2019, 9:42:42 PM Program Output Program Failed for Input: 1 , 3 , 5 , 7 , 9…
  • Suppose a dictionary phoneDict maps¬†phone numbers¬†¬†to names . For example ,¬†phoneDict might contain¬†¬†{¬†“111-111-1111″:”Joe”, “222-222-2222”:Sallly} ph = input(“enter a phone number: “) name = i…
  • Government officials partake during the time spent being chosen. They will go to any length to guarantee that they get chosen. This incorporates adjusting the democratic guidelines, for example, who i…
  • Hello, I got a problem about Google Federated Learning for Image Classification(This is the officila tutorial web:https://www.tensorflow.org/federated/tutorials/federated_learning_for_image_classifica…
  • Given the following data set, how many percent of the total variance can be explained by the top 2 principal components ? from sklearn.datasets.samples_generator import make_blobs from pandas im…
  • Thank you!!!!! 1. Section 2.3 describes lists and tuples in Python. Assuming the following assignment statements have been entered at the Python prompt: work_days = ["MOI’J", "Tues&qu…
  • please help me edit the code to have an infinite loop, so it keep asking for numbers and not crash within two trys ¬† here is the code¬† hours=input(“How many hours did you work last week?”) try: ¬† ?…
  • Take a word as input from the user and print the index where the letter ‘e’ appears for the first time. Write a loop to find the index. If ‘e’ never shows up, print -1.
  • Question 2: 08B Deep Filter View Past Answers Write a function deepfilter(f, Ist) that takes in a function f and a possibly nested list Ist where the elements are either an int or another list . The f…
  • E211007 Interpret Code (a) Explain in words what the following Python code does and describe the output in the print( ) statement. Wh do a, b, and c represent? input: data = list of numbers N = len(da…
  • Could you please help me with this? I need help with this. Q1: Compose Write a higher-order function composer that returns two functions, func and func_adder . func is a one-argument function that app…
  • import numpy as np import scipy as sp import pandas as pd from scipy import stats import matplotlib.pyplot as plt from hw1 import Distribution ¬† def load_data(): ¬† ¬† df = pd.read_csv(‘hurricanes.cs…
  • Why is important to define a testing strategy when coding? How would you perform testing for your code? 2. In Python, what are the differences between dictionaries and pandas structures? What they …
  • Write module mymath with the following functions. ¬† reverse_integer that accepts an integer and returns the reverse.¬†¬†For example, if the user enters 1736, the 6371 will be printed.¬†Use a while lo…
  • We will pass in a 2 dimensional list of numbers. You should add up all the numbers in each row and output that number output the grand total of all rows # Get our list from the command line arguments …
  • Working on writing this assignment, I would appreciate any tips or help would be greatly appreciated!! 1 ) Since we have not created data files electronically , the code to do this is below . This sho…
  • This is what I have for problme 1 as of now. Please help me modify my code (wo using “intersection” ¬†. Problem 1: Write the function, shared_values (set_list), which takes in a list of sets and retur…
  • Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: How to format each dictiona…
  • Now, we want to generate a password for the account. We will be using a dictionary to create the password as a string. Write a function that takes in a single parameter pass_dict and returns a string …
  • Calculate the derivative of the function: f(x)=sin(x) at x= 1.0 (radian) using ¬†“np.cos(x)” ¬†in python
  • Write a program named¬† python_to_json.py ¬†that takes a Python Dictionary object and converts it to a¬†JSON file using . dumps . Object should define a celebrity. Write a program named¬† json_to_pyth…
  • I need help with the following: Define cryptographic hash function (CFH). List and define the main properties of an ideal cryptographic hash function. Give at least 2 applications or uses for a CFH (e…
  • Question-7 (10 points)¬† Imagine that the following operations are performed on an initially empty splay tree: Insert(1), Insert(10), Insert (5), Insert (3), Insert (7), Insert (13), Find (3). Show th…
  • Please provide python code for the following question. ¬† You¬†are¬†required¬†to¬†use¬†KNN¬† to¬†classify¬†a¬†3‚Äźdimenion¬†data.¬†The¬†training¬†dataset¬†contains¬†12¬†pairs¬†of¬†(data,¬† label)¬†as?…
  • I need help on the attached file please!¬† ¬† Week 7 Deliverables Overview: This week, you studied additional Flask functionality for creating a secure login form and associated files for a web site. …
  • Write an input statement using the input function. When the prompt on this notebook asks you for input, enter a number. Then, attempt to add 1 to that number, observe the results, and explain what hap…
  • In the Python script, you selected a random sample with replacement, of size 50 (note that this is a sufficiently large sample), from the TPCP population. What is the mean of your random sample?…
  • Please help, I am trying to set up a login page for my website to allow a user to login with an email address and a password from an encrypted file. If the user has no account to create one, encrypt a…
  • PART 1 Spongebob has a claim about the years 1988 to 2012 .¬†He asserts that every year in that range, has repeated digits in the 4-digit year identifier.¬† For example, the year “1988” has two of the…
  • Develop a function in Python which takes an English paragraph from user and return total¬† number of capital letters, total number of small letters, total whitespaces present in the paragraph.¬† Do no…
  • Write a Python program that prompts the user for a name, then print a greeting with the name typed. Enter your name: Zack Hello, Zack. Nice to meet you.
  • %%capture ########################################################### ### EXECUTE THIS CELL BEFORE YOU TO TEST YOUR SOLUTIONS ### ########################################################### import imp…
  • Design using pseudocode and implement a solution to this problem in Python.¬† Create a test and show a trace of your design. Please create a module called is_prime that accepts a single integer.¬† You…
  • The algorithm that solves my problem has a complexity of O(n logn). Given the same input it solves the problem the same way. What kind of problem is it? A) P b) Non-tractable c) Non-deterministic d) u…
  • def print_ruler(n) This function is given a positive integer n, and prints a vertical ruler of 2! ‚ąí 1 lines. Each line contains ‘-‘ marks as follows: ‚ÄĘ The line in the middle (! “) of the ruler co…
  • Read in the CSV dataset that is found at the following URL: https://raw.githubusercontent.com/ryanleeallred/datasets/master/messy-data.csv Print out the shape as well as the first 5 rows of the datafr…
  • I got this question wrong a few weeks ago because i used lists instead of a dict i was wondering if someone could show me how it can be solved using a dict Problem: A road map defines locations as map…
  • Introduction to programming. Use your algorithms from last week to implement the following Python programs: 1. Write a Python program to ask the end user to enter the length and the width of a rectang…
  • . . . Added.txt 2 A A Aav AaBbCcDdEe AaBbCcDdEe AaBbCcDc Antique Brass Apricot X X ADVA v Normal No Spacing Heading 1 Styles Dictate Asparagus Pane Banana Mania Beaver Blue Bell Brink Pink Canary Cari…
  • week_temps_f¬†is a string with a list of fahrenheit temperatures separated by the¬†,¬†sign. Write code that uses the accumulation pattern to compute the¬† average ¬†(sum divided by number of items) an…
  • This is the question I have been working on in my computer science course: ¬† Question 3. Set department_ranges to a table containing departments as the rows, and the position as the columns. The valu…
  • Assume F and G as above. What is the (matrix) product of F and G? Please store your answers into a string variable Prod_FG written with valid python code formatting (e.g. FG_sum = “[[1, 2, a], [3, 2, …
  • How do I create comparison function to be passed to a flexible selection sort function. The comparison function should enable the sort function to arrange the elements of a list in the following order…
  • I m using Windows 10 and i m going to write on spyder. Can u show me ? 3. (25 points) The Kasikci Diamond was stolen from Topkapi Palace and replaced by a round stone. The detective wants to use ‘Bina…
  • A function which will ask your name, ID, and print them. 2.¬†¬†¬†¬†¬†A function which will have the user enter the price of each unit and number of units purchased. 3.¬†¬†¬†¬†¬†A function …
  • 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…
  • Download the following file and follow the instruction. 423_HW3_Lists.ipynb ¬† *****Given File- 423_HW3_Lists.ipynb*********** Please uplode given file on Jupyter Notebook**** ¬† { “cells”: [ ¬†{ ¬† “…
  • . Page < 1 of 10 ZOOM + Input, Processing, and Output This lab accompanies Chapter 2 of Starting Out with Programming Logic & Design. Flowcharts Critical Review A flowchart is a diagram that …
  • . IT209: LA if 1 Due: Due in lab/as directed by the lab instructor Topics: Functions, Read File, Dictionary, Looping , List Problem Statement: Category total count In this assignment, you are given …
  • Evening, I need help with a while loop. I need a while loop where the number of times it iterates would depend on the user. The loop should display some output that is different, and not just an incre…
  • https://www.coursehero.com/tutors-problems/Python-Programming/34928932-Write-a-Python-Quiz-assessment-program-using-graphical-user/ ¬† @honey280499 – Are you able to write the source code for this sin…
  • I need help fixing this code. I can’t collect all the items, plus I need to add a commend to exit the game when users enter “EXIT” ¬† ¬† def showinstructions(): ¬†# Game instruction ¬† ¬† print(“Snow …
  • Please refer to the attachment to answer this question. This question was created from lab12. Additional comments: “need help on the initialization code, the while header, the while loop body and the
  • Hi! I am working on an amaziograph on python turtle but I am not sure how to do the # Part 5.4 change a colour in the colour selection by using turtle.textinput (popping a dialog so I could input the …
  • I asked about this question before but they gave me wrong answer because I want ( The count of objects calculated within the class definitions .) so I need help with this. ¬† Define three classes: Veh…
  • please use python code. Problem 3: You are a dedicated player of the game League of Legends. You would like to know which champions (characters) you never win with. Let match_t:uples be a list of tupl…
  • . Step 5: Data Visualization: Comparing the Two Teams Now the coach wants you to prepare one plot that provides a visual of the differences in the distribution of points scored by the assigned team …
  • create sections of code that will perform different outputs with the list called, names which contains the following values – Peter, Bruce, Steve, Tony, Natasha, Clint, Wanda, Hope, Danny, Carol and t…
  • Use the¬† Class Exercise ¬†¬†Download Class Exerciseas a reference: ¬† Implement PySpark code using DataFrames, RDDs or Spark UDF functions: ¬† Find all entities with the¬† name ¬†that starts with a l…
  • Hi, I wrote this code: import numpy as np import matplotlib.pyplot as plt #np.random.seed(seed=10000) “”” Schelling segregation model example Two types Initial location random within unit cube Agents …
  • The function has to call at least once and just can use the while loop to do this problem! ¬† ¬†. >>> find_next(5, 1000, 40000) (5, 1071.1984678861438) Then write the main program that reads …
  • phone_number = int(input()) line = phone_number % 10000 phone_number = phone_number // 10000 prefix = phone_number % 1000 phone_number = phone_number // 1000 print((str(phone_number)) + ‘ ‘ + str(pref…
  • 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…
  • Variables, IF/THEN/ELSE, Loops¬† Instructions: You will complete this assignment in Python 3.x. Make sure you have downloaded the software and it is installed correctly. You will download it from this…
  • You are to create a Python program with the following characteristics: ¬† Menu driven program Properly commented Read data from a file the user supplies For our example use¬† crime.csv as your sample …
  • THE ASSIGNMENT: find() ¬†returns a single instance of¬† Contact .¬†However, there can be multiple instance of¬† Contact s that match the same first/last name.¬†One way to address the problems is to mo…
  • Please answer this question in PYTHON: Write a Python program that converts an input file in FASTA format, called “fasta.txt” , to an output file in PHYLIP format called “phylip.txt” . For example if …
  • Binary Confusion Matrices for Multiclass Problems. The second screenshot contains the code for you to fill and the first screenshot is to help understand the question better. Thank you so much!! 7. E7…
  • . AUSTIN COMMUNITY COLLEGE Programming Fundamentals COSC 1336 PYTHON Lab #5 Professor: Onabajo Given X as an array/List of [5,3] and y as [3,7] perform the following: 1 . Load array X column-wise an…
  • Implement a function: convert_units(celsius_value, units) that accepts two arguments, a float (celsius_value) and an int (units).¬† Make a copy of assignment_1 and name it assignment_2.¬† Add this fun…
  • Language: Python3 I have a matrix of size 2×3 I need to compute gaussian elimination i must use the steps below Pivot Search for max¬†r i,j Swap row i with row largest Scale Eliminate
  • In Python methods are functions defined inside the body of a class. They are used to define the behaviors of an object. In this problem, you will create a database for vehicles by defining a class nam…
  • Hi, I need help writing code for the final project in python. Due to covid it has been hard to learn anything in the class and the teacher is not helping me out. Below are the requirements for the fin…
  • Please refer to the attachment to answer this question. This question was created from hw7.pdf. Additional comments: “I’m having serious trouble figuring out how to start coding for these problems. I’
  • please solve three python code problems.¬† problems are from zybooks lab(python) 1, ¬† ¬† 2. ¬† 3.. 21.3 LAB: Longest string Write a program that takes in two strings and returns the longest string. I…
  • https://drive.google.com/file/d/1ICEfwzlDRmb9LGPBTJbWtRjQ65YLSDsa/view?usp=sharing. Requirements – Drone Class The requirements for the Drone class are given below. Please ensure that your methods hav…
  • I have to write a program that first ask the user to input a number then prints all the positive factors of a number that user write and then prints the summation of all even and odd factors, separate…
  • In this lab, you use what you have learned about parallel lists to complete partially completed Python program. The program should either print the name and price for a coffee add-in from the Jumpin’ …
  • Write a program whose input is two integers and whose output is the two integers swapped. Ex: If the input is: 3 8 the output is: 8 3 Your program must define and call the following function. swap_val…
  • Using python, I need help with list comprehension function. Below is starter code, and attatched are directions. def genAccum(seq, fn): ¬†¬†”’ ¬†¬†¬†¬†>>> add = lambda x, y: x + y ¬†¬†¬†¬†&g…
  • Use Seaborn (FacetGrid and scatterplot) to create six scatter plots, one for each zipcode in the list of zipcodes [60623, 60663, 60609, 60660, 60615, 60622]. In each zippcode scatter plot, a dot repre…
  • 23¬†LAB: Python insert/update sqlite3 datafiles Given is a Python program that connects to a sqlite database and has one table called¬† writers ¬†with two columnns: name¬†– the name of a writer num?…
    • In this assignment you will create an Employee Database Application by fulfilling the requirements given below. You must first create the classes as described. Then write a driver program that will…
  • PLEASE HELP IN PART D!!! ¬† here are the codes I used: ¬† #import libraries import numpy as np import pandas as pd #create dataframe grade_data = {‘name’: [‘Anastasia’, ‘Dima’, ‘Katherine’, ‘James’…
  • Make a plot of the function y(t) = v0t‚ąí0.5gt2 for v0 = 10, g = 9.81, and t ‚ąą [0, 2v0/g]. The label on the x axis should be ‘time (s)’ and the label on the y axis should be ‘height (m)’
  • a Python script that demonstrates the following concepts from the reading: ‚ÄĘ Printing an f-string that contains at least one curly-braced expression ‚ÄĘ Using the pop() method of a list to remove th…
  • Consider the following variant of the dice game “Crag”.¬† A single player starts with ¬£10.¬† After rolling three fair 6-sided dice, the player wins or loses money depending on the outcome (see below)…
  • I just need help with the task, all of the instructions are on the cropped picture. This to only help me get unstuck Intro -601 -40 -10 -5 5 10 -20 A cubic polynomial is a function of x of the form A …
  • I am trying to configure a new version of this code. I am trying to make the following changes to class Drone: ¬†¬†¬†¬†(a) Change all instance variables to private ¬†¬†¬†(b) Define a __str__ method to…
  • Question 3 [25 pts] : 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 array …
  • DO NOT RESPOND IF YOU HAVE ANSWERED THIS BEFORE Please respond with a code with comments for a program in python that I can paste on a ide like pycharm so that it implements a simple version of the tr…
  • This program is in Python or Jupyter Load the libraries that you will use in this notebook: Pandas, Numpy, Matplotlib, Seaborn. 2. Upload the file “df.csv” to your Jupyter notebook. 3. Create a histog…
  • For reference (https://tor-lattimore.com/downloads/book/book.pdf) (Chapter 19) page 252 Exercise 19.8a,b
  • PYTHON (attaced output also) ¬† “Count Words In Text” Your solution will be scored against some number of hidden test cases. A sample is provided below. You are given a document with text, write a pro…
  • zyDE 6.3.2: Using built-in functions with lists. Complete the following program using functions from the table above to find some statistics about basketball player Lebron James. The code below provid…
  • I need help! I need to create the following program with a few twists. I need to add code to prompt the user for the number of asterisks to print. I can only allow integers between 5 and 25. If a non-…
  • Develop bus booking system using object-oriented approach . This bus booking system is for a travel agency which delivers bus services from Melbourne to other destinations in Australia. The agents fro…
  • You can select any data of your choice, there are some data sets to download from SAS website and some in your my stat lab. After reading of chapters 5 & 6 , review of power points and videos on m…
  • Code in python that prints data and raises an exception if it is not a part of a list or a dictionary.
  • answer please. We have learned 5 common decision patterns and when to use them (the "best tool for the job"): 1. if, no else 2. if-else 3. if-elif-else 4. if-elif no else 5. if, if, if… Wh…
  • How to use python to build this product. Aa AaBbCc/ AaBbCCD( AaBbCcI Hac R aly Emphasis Heading 1 1 Normal Se Paragraph Styles Edi Obstacles and Turtle Lives (lab10 Xx_turtle.py): this section of the …
  • sample proposal for web scrapping for a project
  • Python question. ¬† Create a dictionary of the following lists.¬† my_list1=[ 1 2 3] my_list2=[‘a’, ‘b’] Create a dictionary called my_dictionary_of_lists and use the keys and values mentioned above. A…
  • Step ‘7 – Descriptive Statistics – Relative Skill of the Assigned I’eaIn [he management also wants you to run descriptive statistics for the relative skill of the Bulls rom 1996-1998. Calculate descr…
  • I need help with this python question. Implement the heap-sort algorithm. Experimentally compare its running time with that of insertion sort.
  • . Which of the following Python statements can be used to create an empty list object named mylist? mylist = [ ] mylist = () mylist = [!’ ] mylist = {} mylist = list (). Which of the following words…
  • start with the template script and make a series of classes to satisfy the lab prompt. Template to use: #!/usr/bin/python import math # ================================================================…
  • 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 …
  • . Project 7, Program Design You are given a summarized dataset about state demographics in the united states. This data file is a subset of a public available CSV file: https://corgis-edu.g…
  • W] Extra Credit 3 Felicia Mendez (2) – Word PICTU… ? – O X y! penn state canvas – Yahoo X EXTRA CREDIT: Hand Trace X + FILE HOME INSERT DESIGN PAGE LAYOUT REFERENCES MAILINGS REVIEW VIEW FORMAT A Mi…
  • Basically, there is a grid of numbers and the “find_neighbours” function finds the neighbors of an element. i.e. finds the top, bottom, right, left and diagonal neighboring elements of that particu…
  • PART 1: General questions¬† 1. What is Agile software development and why it’s relevant? 2.Why waterfall approach is rarely a great solution for software development? 3.Define Machine Learning and pro…
  • Need a python script that count number of unique odd integers in a input file. It also must skip over element of data are not numbers Count number of distinct odd integers in the input file – e.g., {1…
  • Why is the variable name total different than the variable name Total in Python? Or am I wrong and they’re the same. Thank you!
  • I have a dataframe named “census_10” which contains population information identified by “fips codes” in the state column. Also I have a dictionary titled fip_dic where keys are the “fips code” and va…
  • How to Create a Python program to import a csv file into the program, count all of the words per row and add that number into a new column using term frequency-inverse document frequency (TF-IDF). CSV…
  • This is the requirement. Lab 5: Secret Codes (Functions) Lab Assignment for PROG1205 – Intro to Programming Prior to attempting this problem, you should have done the following: 1. Read the assigned t…
  • Ty Cobb played professional baseball for the Detroit Tigers and Philadelphia Athletics from 1905 to 1928. He holds the record for highest career batting average and also set the singleseason record in…
  • Write 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 the output is: 2 4 10 12 39 F…
  • Is there any way I can calculate pairwise distance matrix in python (not biopython) from a file containing 3 rows as: ACCGGT-TAACA ACCGT–AACCG ACCGTGCCTAG
  • Hi, So, I’m having difficulties to run a program that could read a file, check for two words in particular lines from that file, and display only those lines (one line at a time). The two words in tho…
  • . Which of the following statements are true? O When you open a file for reading, if the file does not exist, an error occurs. O When you open a file for writing, if the file does not exist, an erro…
  • An employee’s total weekly pay equals the hourly wage multiplied by the total number of regular hours plus any overtime pay. Overtime pay equals the total overtime hours multiplied by 1.5 times th…
  • 1- Given a constant list of integers in the range 1 to 10 inclusive, use list comprehension (no explicit loops) to: ¬∑¬†¬†¬†find the sum of the even integers in list L. ¬∑¬†¬†¬†find the sum of the odd…
  • Create a well-formed Python recursive function (i.e, there must be a stopping/base case and the recursive case must present a smaller problem), along with a call to that function. ¬† 2. Trace your …
  • Main function, python as simple as possible 100 pts Write a menu-driven Python program with four (4) options to implement solutions for the following: . Menu Option 1: In an input file named numbers.t…
  • Code a python 3 program where you extract the year month and day from a date column in a csv file and construct a new column which stores the year, a colum which stores the month and a column which st…
  • I need you to make a dashboard and report of this. The reference data is here: https://drive.google.com/drive/folders/16caP_1E-5rGlvTdFq8475xTjbKAkw7uK?usp=sharing
  • Problem 3: isPalindrome Write function called isPalindrome that checks if a (possibly empty) string is a palindrome. Given a string, return true if it is a palindrome and return false otherwise. Examp…
  • Can u aid with these 3 questions. Please use while loops and also separate the function and the main file. As well use the .format python standard. Thanks in advance for the help 5. Implement the foll…
  • Anagrams Write a function that checks whether two words are anagrams. Two words are anagrams if they contain the same letters. For example, silent and listen are anagrams. The header of the function i…
  • How do I write a code for this question?. learning.unideb.hu My Courses * E-learning szolgaltatasok English ( uction to Programming (INBGAO105L-01) 2021 Fall My courses / Faculty of Informatics / Depa…
  • I would like help on writing this in Python . For a given adjacency matrix of a rooted tree you need to decide whether this tree can be labeled to become an avl tree. Vertices of the tree do not have …
  • I NEED THE CODE. Please do not answer otherwise, I keep getting wrong answers that dont provide any code and useless information. Thanks.¬† ¬† Design an OOP System for a Calculator. Your design that y…
  • MUST BE WRITTEN IN PYTHON Please use beginner-intermediate python functions if possible (nothing crazily advanced). Reminder: this is a beginner python course.¬† ¬† Thank you!. Overview Desig a simula…
  • How do I add a pair of parentheses to each expression so that it come out to be True. (a) 0 == 1 == 2 (b) 2 + 3 == 4 + 5 == 7 (c) 1 < -1 == 3 > 4 For each expression, how do I explain in what or…
  • https://1drv.ms/x/s!AsJmq4RS6w5ulHUTrVjkBlp4vh8i?e=O4gkHs. A Lab 5K Create a data frame using the mpg.csv file 0 Modify the data frame to drop name, displacement, horsepower, and weight. 0 Display the…
  • This is in Python 3.4 Suppose you are asked to design a software tool that helps an elementary school student learn arithmetic operations. The software allows the student to select the arithmetic oper…
  • in this code it is not getting executes, any mistake? please let me know. In [*]: input( ) disp_data. py ( ) import pandas as pd def printColumns ( ) : print ("\nColumn Names :" ) for col in…
  • cant figure out how whats wrong with my code. the method is supposed to move the head to the tail. def rotate_left(self): a = self.__head self.__head = self.__head.next a.self.next = None self.__tail….
  • Create a program that will print every other number from 1 until the number that a user inputs. Put the lines of code in order to create the following program.
  • In Python and SQlite.¬†¬†have to make¬†a program that imports customer data from a CSV file into a database table. i added all the files needed¬†as screen shots as i wasn’t sure how to add them¬†sorry…
  • In this question, you must design and implement two programs in Python, one for Dijkstra’s algorithm and one Floyd’s algorithm, to compute all-pair shortest paths in any given graph. Each program must…
  • USE PYTHON to solve and plot the following IVP over t=0 to t=2 using each of the following methods. y(0) = 1. dy/dt = y*t^3-1.5y. 1. Analytically 2. Eulers with h=0.25 3. Eulers with h=0.5 4. Midpoint…
  • Lists and dictionaries in Python are similar in that they are both used to store a collection of other data. In many cases, a programmer could use either one effectively to achieve a particular goal. …
  • Question 5 (1 point) What elements will be members of set3 after the following code executes? set1 = set ([10, 20, 30, 40]) set2 = set ([40, 50, 60]) set3 = set1 . union(set2)
  • Socket programming Python What I need is the structure and functionality of the programme , regardless of types of data. So write a program that one client communicating with the server, in separate w…
  • #Finish the fruitFunction to take as input a list of fruits and return a string value containing the first two fruits from the list def fruitFunction (fruits) : print(fruitFunction([ ‘banana’ , ‘apple…
  • def sunset(date,daycycle): ¬† ¬†“”” ¬† ¬†Returns the sunset datetime (day and time) for the given date ¬† ¬† ¬† ¬†This function looks up the sunset from the given daycycle dictionary. If the ¬† ¬†dayc…
    • Write function called checkCourseCode to determine if a course code is correct. The rules for a course code are: The first four characters should be letters, then a space, then a three digit number…
  • I need help with programming a guessing game in python format.. 3.1 Command Line Arguments To run in PLAYER mode, the program takes two command line arguments. To run in DEBUG mode, the program takes …
  • 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: ____________________…
  • 1: A positive integer greater than 1 is said to be prime if it has no divisors other than 1 and itself. A positive integer greater than 1 is composite if it is not prime. Write a program that asks the…
  • I need help on programming pi using a formula. Write a function pisum(n) that receives an integer n as input and computes the number Pi by summing the first n terms of the following exponential sum: i…
  • Design a program that generates a seven-digit lottery number. The program should generate seven random numbers, each in the range of 0 through 9, and assign each number to a list element. (Random numb…
  • i need help with source code in R and python for bank loan default urgently
  • 06 – …So Email me Maybe! 10 coding | python Given a name and domain, print to the screen their email address. The address should take the form: <first>. <middle initial>.<last>@&lt…
  • Consider using regression-based testing to analyze the final scores between boys and girls. Besides the gender, we also obtained the study time as below (Note, this is hypothetical data) ¬† df = pd.Da…
  • Please help!!! Python questions. Thank you! Q6 Table Manipulations Points: 28 The table food_trucks displays recent applications for food truck permits in San Francisco, one row per application: Appli…
  • lab6-efficiencies.py: ¬† ”’ Base code from here : https://github.com/kressi/terminalplot/blob/master/terminalplot/terminalplot.py ”’ #import fcntl import os #import termios import struct def p…
  • def my_index_1(my_list:List[int], my_element:int)->int: “””Our version of the one-argument version of the index function. https://docs.python.org/dev/library/stdtypes.html#common-sequence-operation…
  • I found the code below.¬† def getAction(self, gameState): “”” Returns the minimax action using self.depth and self.evaluationFunction “”” pass # ### START CODE HERE ### def minValue(state, agentIndex,…
  • the class CheckingAccount(Account): and class Bank(object): The code is below along with the bankaccountfile.dat contains, im not sure how to begin it, any tips could go a long way. ‚ā¨]q (cAccount Ac…
  • Hello everyone, I am studying lists and dictionaries for Python. May I get a rundown of both? What are a few ways to insert, update, and remove elements from lists and dictionaries? Can I get some cod…
  • Question Question 2 (18 marks) This question is about¬†Block 2 Part 2. It assesses your ability to follow the problem-solving approach and go from an informal problem description to an implementation …
  • Objectives improving the student’s skills in interacting with the operating system; practical use of known functions provided by the¬† os ¬†module. Scenario It goes without saying that operating syste…
  • Generally, a large code base project contains multiple modules and hence requires multiple test modules.
  • explanation plz 5. Translation…? By now you should be very familiar with menial tasks such as reversing every letter in a word. Let’s use this to create an ancient foreign language from a sentence f…
  • Subject: Python Coding Function name: sent_compare Parameters: sentence 1, sentence 2 Return: An integer: the number of common unique characters in two sentences Description: You receive two sentences…
  • Please solve these questions. . There are circumstances when keeping track of the “missing links” or "vacancies” among node pairs in a network G is important (see next problem). Say you wan…
  • python question: given a two dimensional list for example [ [2, 3], [3, 4], [5]] person 2 is friends with 3 etc. find how many friends does each person has. note one person has no friends. SQL questio…
  • Alter the content where shown in ‘tma03.js’ to store every text passage in nearby capacity when it is altered. e show application permits clients to add text sections to the page, however they are not…
  • code to be edited:. In this assignment you must create a Python3 script, with a main ( ) entry point: if _name == " main ": main() that creates five threads to divide a workload in five…
  • Need a program that will calculate the weekly average tax withholding for a customer, given the following weekly income guidelines: Income less than $500: tax rate 10% Incomes greater than/equal to $5…
  • Back Propagation Neural Network For the multi-layer neural network that you will be implementing in the following problems, you may use either the hyperbolic tangent or the sigmoid for the activatio…
  • Problem 4.4.1, Part 2 of 4 ¬† 0/1 point (graded) The code below is the same in all four exercises. It is duplicated for your convenience. 1| def save_user_info(username, value, password):¬† 2| usernam…
  • Python program to find the Armstrong number between 100 and 1000.
  • Had a very long and complex assignment and had difficulty with most of the questions, please kindly share the solution for the following function, all the important and relevant data is included, it i…
  • Create a dictionary that contains twelve three-letter abbreviations for each month as the keys and the number of days in each month as the values. Use initial caps for the abbreviations and the follow…
  • a Python program to do the following: (a) Use a for loop and a random integer generator to generate 5 random integers in 1 to 9.¬†Store the random integers in a list.¬†Display the list. (b) Use a for …
  • nums = [] for i in range ( 10 ): num = i + 3 nums.append(num) Convert above python code to list comprehension to creat list nums.
  • Driving is expensive. Write a program with a car’s miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 20 miles, 75 miles, and 500 miles. Output each floating-point…
  • Python is a(n) that provides the necessary interpreters, resources, and library files for building and running Python applications.
  • i need help figuring out how to get a specific input into my code that will equal a specific output. this is the code: def mystery (x) : result = [] for i in x: if i % 2 == 0 : result.append(i) else :…
  • Write a program to solve the Towers of Hanoi problem for a tower of size n, using both recursion and iteration. Time each method separately. Be very carefull to time only the actual work and avoid sup…
  • Pitt Fitness is now routinely creating backups of their database. They store them on a server and have a number of backup files that need to be deleted. Which of the following files is the correct bac…
  • Problem Statement Given a data file of 507 individuals and their physical attributes (weight, height, etc. from the body dataset at http://www.amstat.org/publications/jse/datasets/), create two linear…
  • Error in code How can one space out the dates to show intervals of the date and not have the dates combined? See attached code file
  • Give the tilde approximations and explain for the following quantities. a) (1+1/ūĚĎĀ^2)‚ąó(1+ūĚĎĀ) b) ūĚĎĀ^1000/2^ūĚĎĀ+1 c) 1+1/ūĚĎĀ^3
  • QUESTION 32 What is the relationship between the internet and the World Wide Web? O a. The internet and the Web are identical O b. The Web is hardware, the internet is software O C. The Web is a serie…
  • Draw/Sketch a finite state machine for this. Question #4 – Finite-state machines Sketch a Ô¨Ānite state machine (F SM) that accepts an input string if and only if that input string has an odd number o…
  • Assume¬† binary ¬†represents an unsigned binary number of arbitrary length. Write function¬† binarytodecimal(binary) ¬†to calculate the decimal equivalent of¬† binary . Pass the binary number as a par…
  • . Q)Test the null hypothesis that the population average of the variable “Value of Exports for Year 3” = 87,300. Carry out a one-sided test. Clearly state your null and alternate hypotheses.¬† ¬† CODE…
  • Python practice questions (multiple choice ) name = "ada lovelace"; print(name.title ()) a. ADA LOVELACE b. Ada Lovelace c. title ada lovelace d. ada lovelace title 6. This is a way to inclu…
  • How does this program actually work? I can’t understand how to function or last for loop works.¬† this is the question “Write a program with a function¬† that given a list of numbers, returns¬†True¬†i…
  • Use Polynomial Linear Regression analysis on Position_Salaries.csv with the following algorithms: a) Importing the libraries b) Importing the dataset c) Training the Linear Regression model on the who…
  • E21 1007 Generate Code Create short Python/Sagemath code that answers the questions: 1. How many even integers from 1 to 100 (inclusive) have either 3 OR 5 as a factor? 2. How many odd integers from 1…
  • Make a python Code based in this picture. BASIC CALCULATOR Input: Single string of two numbers and an operation Output: The calculator should be able to do addition, subtraction, multiplication, divis…
  • A set of symbols is commonly used to express logical representation. Let’s define the semantics of each propositional symbol: ¬† P means “It is hot” Q means “It is humid” R means “It is raining” ¬† Ex…
  • Please use gitbash for coding this problem: ¬† Task 1: Find the even multiples of any number chosen by the user in a given range – the user should specify the multiples of which number they want to pr…
  • Hey everyone, having a bit of trouble with loops and needed some assistance. I need to do the following and I can’t get it to work: ¬† Write a program that will provide important statistics for the gr…
  • Write a program 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 error and prompt th…
  • I have a very long and confusing word question I need help writing an algorithm on . I don’t know where to start. please help. The jackpot of a lottery is paid in 20 annual installments.¬†There is als…
  • Python Programming Can someone please help me with this assignment? And please add comments in the code so I can learn from it. ¬†. Select 1 – 1) Display the "the account selection" view: Li…
  • A 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 …
  • I’m using the python language program that reads a list of integers into a list as long as the integers are greater than zero, then outputs the smallest and largest integers in the list. Ex: If the in…
  • could you aid with this. Make sure to separate the function and the main file (t01) and only use one return statement in the function. I have split into 3 images to make the reading the question easie…
  • OpenCV is an open source computer vision library(https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_setup/py_intro/py_intro.html#intro). It is used in deep learning or image proce…
  • The Turtle graphics toolkit was originally developed as part of what programming language for children? ¬† a. Logo ¬† ¬† b. CKids ¬† ¬† c. LISP ¬† ¬† d. FORTRAN
  • build a function called \”operate\” that takes as input two numbers, and a string that can be either \”add\” or \”multiply\”. The output should be either the sum or product of the two numbers, dependi…
  • Your CIO assigns you another project which involves setting up of connections between many clients and one server.¬† First of all, write a program that facilitates one client communicating with the se…
  • 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 in the comments but I also included them in…
  • Q3 Setting up the Data Let’s get ready to set up our data for our models! Check loans.info() again. In¬†[14]: loans.info() < class ‘ pandas . core . frame . DataFrame ‘> RangeIndex: 7478 entries…
  • Recreate the simple calculator. Show the following: a.¬†The gui in designer b.¬†Your code (referred to as calculator.py ) c.¬†The calculator working with all 4 functions d.¬†¬†An error message whe…
  • Hi,¬† I’m just playing around with a very basic class structure and I’m having issues with the output and I’m unsure why. ¬† class Car: ¬† ¬†def __init__ (self): ¬† ¬† ¬† ¬†self.speed = 0 ¬† ¬† ¬† ¬† …
  • Define another test¬†test_isEven2, inside¬†TestIsEvenMethod, that checks if¬†isEven(10)¬†returns¬†True¬†or not. Hint : Use¬†assertEqual¬†method to verify the function output with expected output
  • # 15 points def exercise03(neighbors,split): III Data set: Iris Split the Iris dataset into a train / test model with the split ratio between the two established by the function parameter split. Fit …
  • Here are two multiple choices. please look at them and explain, thank you. 2 pts Which of the following is NOT a feature engineering technique? O TF-IDF O Normalisation O Regular Expressions O Binning…
  • Does Python have OOps concepts? What is the difference between deep and shallow copy? Please research and explain in a substantial manner.
  • Make a user to display, sort and update as needed a List of U.S States containing the State Capital and State Bird. Embed the State data into your Python code. The user interface will allow the user t…
  • How would you write this program in PyCharm? Discuss the challenges faced when writing this program. ¬†. Problem 3: Printing Triangle Print the following triangle for n = 7 using nested loops. H H H 5…
  • Describe the processes and techniques that would be particularly suitable for developing small-size applications ( minimum 50 maximum 150 words). What language would be best to use?¬† Why?¬† What prog…
  • I wrote a code for a made up game in a word document, but when it transfers over to python in pycharm, it shows multiple errors and I’m not sure why. Curious if someone can look at my code and help fi…
  • 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…
  • Create csv file from the data below and read in pandas data frame Phase 1-Reading Data reka! Phase 2-Describe the data Describe the data on the unit price Phase 3-filter the data Create new datafra…
  • Hi, can anyone explain to me the following function? What would the difference with a recursive function? def nChooseK(n, k): ¬†¬†if k > n – k: ¬†¬†¬†¬†k = n – k ¬†¬†res = 1 ¬†¬†for i in range(k): …
  • In python please¬† Given the following function definition: def calc_fee(x): ¬† ¬† ¬† ¬†return x + 0.5 ¬† Write a function call using the¬†calc_fee function to determine the fee for a selling price of…
  • This is a continuation of Project 1. In this project, you will add functionality to your Project 1 code to: read the map data from a text file instead of using hardcoded assignment statements to set u…
  • Exercise 2 (strcat_ba_test: 1 point). Complete the following function, strcat_ba(a, b), so that given two strings, a and b, it returns the concatenation of b followed by a (pay attention to the order …
  • Swap places on all neighboring even numbers and odd numbers in the list. (the list should now be: [1, 0, 3, 2, 5, 4, 7, 6, 9, 8, …, 98]) *** Write your answer in the box below. *** ¬† ¬† liste=[] le…
  • In the seed free de-anonymization data, there are only two graphs given in edgelist filetype (unseed_G1.edgelist and unseed_G2.edgelist). You need to match the node in unseed_G1 to the node in unseed_…
  • I need help getting though this assignment. ¬†In an effort to better assess your spending habits, you have decided to write a program that will determine if you have stayed within your monthly enterta…
  • could u aid with this. Make sure to use strings and seperate the function and main file. 5. Implement the following function in the PyDev module functions. py and test it from a PyDev module named t65…
  • Using python, answer the question below. Your solution should allow a user to change the Scores.txt file and still get results. Main steps for this assignment: ¬† a. Read in the scores file b. Calcula…
  • In a try-catch statement, if all the statements in the try block execute with no exception, the exception block is skipped. True False 28. A constant variable’s value can only be changed by other …
  • For this program, you will process an¬† existing data file ¬†¬†Download existing data file. Using Python, add a line to the Performance Assessment5_5DataFile.csv. file programmatically, which contains…
  • The following code tries to append the third element of each list in¬†conts¬†to the new list¬†third_countries. Currently, the code does not work. Add a try/except clause so the code runs without error…
  • Enter the sum from the actual data and your Python code below: Sum: ¬†(ends with 731)
  • I have written this code in C since I am not very familiar with the modules in Python yet. I was wondering if that was what I had to do because I am not sure if this is what they have asked me to do i…
  • PYTHON Nested list A standard deck of 52 cards can be represented in Python as a list of 2-tuples containing the rank and suit of the card, where the rank ranges from 1 to 13 (for¬† Ace ,¬† 2 , …,¬†…
  • Question: N-Gram Language Models: Part 0: Generating N-Grams Write a function¬†ngrams(n, text)¬†that produces a list of all n-grams of the specified size from the input text. Each n-gram should consis…
  • The game consists in guessing a secret word, giving some letters as a clue. The person has up to 7 attempts to guess the word. Your program must: Create a list with secret words, and randomly choose w…
  • Can you please give exact code for the question “If, ~ CP1401 SP12017Assessment 2 :3; WI‚ā¨¬ß¬ßS3¬ß¬ß Implementing the Tropical Golf Game AUSTRALIA Task You are to implement a golf game program as o…
  • I would appreciate some feedback as to how to start answering this question. e.g. what should i try to attempt using python thanks ūüôā You have to analyse friendship groups on campus. Individuals have …
  • import datetime ¬†How can I do this task? class Employee: def __init__(self, first_name, last_name, dob_year, dob_month, dob_day): self.first_name = first_name self.last_name = last_name if datetime.d…
  • Write a program that lets you enter as many different names as you want. once you enter “done”, the program should print out “Hello <name>” for every name that you entered. For example: ¬† En…
  • The cvs file can be found in the last picture. Thanks Pie Chart Plotter For this homework you need to write a program that will read a CSV file a plot a pie chart for this data The CSV file is located…
  • 1) In this programming problem, you will get familiar with building a decision tree, using cross validation to prune a tree, evaluating the tree performance, and interpreting the result.¬† ¬† Potentia…
  • There is a provably unbreakable cipher called a one-time pad. The way it works is you shift each character of the message by a random amount between 1 and 26 characters, wrapping around the alphabet i…
  • I need help writing a function that accepts a list of integers, calculates the sum and prints if the sum of the digits is a multiple of 5 or not. I then need a second ‘helper’ function, which, validat…
  • Python please: ¬† Write a program with an input that is a string and a number. Output the first character in the string and then the character that is the number’s distance away from the previous char…
  • P2HW2 – Lists and Sets Introduction: Assignment assess student understanding of Lists and Sets Instructions: IMPORTANT: Use IDLE for HW Assignments For assignment this assignment , you are to design a…
  • Please I need a python code and also pseudocode of the following: A¬†Python program for an online MoonBucks coffee order. Coffee is sold by the pound, and the¬†price per pound depends upon the quantit…
  • I was able to do this in a previous lab, but this one is applying functions to it. 5.19¬†LAB: Driving costs – functions Needing help with a program with a car’s miles/gallon and gas dollars/gallon (bo…
  • I am able to do Qns 1 and 2 but I have no clue on how to do Qns 3 and 4 because they are linked and im not sure how to start the Monte Carlo simulation, which is required for Qns 3 and 4 . I appreciat…
  • I am using beautiful soup to scrape reviews under a Fox news report about homeless people. However, the data frame turns 0 number of reviews. Could you help figure out where is the problem and fix the…
  • . In this assignment, you will write a program to test the performance of three operations 1. dictionary lookup using key (d [ key]) 2. list lockup, i.e. Ô¨Ānding the index of the Ô¨Ārst occurrence …
  • I am wondering why I am getting the error in my code. How can i fix it? What is wrong with the def enrollin_course code that i cant reference self._enrolled_in?
  • elow you will find your regular expression regexp from 10.6.¬†Simplify it using a suitable special sequence!¬†The length of regexp should drop from 28 to 8 characters. Do not change the main program.?…
  • Here is an assignment that I need help with. Below I will insert my code for what I have started, but for someone else to do this, you need to follow the instructions so you know can have the corre…
  • Use a while loop to write a program to show the daily accumulated amount of saving in the piggy bank at the end of 20 days if the user deposits $1.50 into it every day.¬† The user starts off with $0 i…
  • Suppose you are given two graphs in their adjacency lists format. Design an algorithm that computes the union of these two graphs. Note that, for example, if both graphs have an edge (2, 3), then the …
  • Please help me solve this! In this problem, you should write one function named (differences). This function should have two parameters, which you can assume will both be sets with zero or more values…
  • We can recover the original image by XORing the noise image with the key in a certain fashion. XOR(also known as exclusive OR), is a boolean¬†‘bitwise’ operation. You can read about it¬†here. ¬†(Links…
  • Restrictions: No built in data structures can be used. Implementing static method for heapsort. @staticmethod heapsort (arr: DynamicArray) -> None: Write a function that receives a DynamicArray and…
  • remove(self, value: object) -> bool: This method removes any one element from the bag that matches the provided "value" object. The method returns True if some object was actually removed…
  • Please provide explanations behind your logic/code, thank you!. class Node: def _init_(self, data = None, node = None) : self . data = data self. next = node class LinkedList ( ) : f _init_(self) : se…
  • n = int(input(‘N: ‘)) if n <= 0: ¬† ¬†print(“N must be positive!”) elif n > 0: ¬† ¬†print(“Hailstone sequences for 1 to {}:”.format(n)) ¬† ¬†while n > 0:¬† ¬† ¬† ¬† ¬†def collatz(n): ¬† ¬† ¬†…
  • P1 Task 4: Code review For the rest of the project, you will be working with the function book_category_dictionary_list (i.e., case 1). As a team, make sure the function in this case works properly an…
  • Using Jupiter notebook to solve practice problems. ¬† Fix the incorrect regex between ‘### FIX CODE BELOW’ and ‘###FIX CODE ABOVE’ to generate a list of names in the simple_string. ¬† [ ]:Def names():…
  • Background The routing process determines the contents of the routers’ forwarding tables. There are two types of routing configurations;¬† static ¬†and¬† dynamic . In static routing, route changes req…
  • Write a program to ask the user their name. Present the user with a menu with five choices. 1 – Addition 2 – Subtraction 3 – Multiplication 4 – Division 5 – Exit Ask the user for their choice. Ask the…
  • Initialize the US Zipcode dataset as shown below: usZipCodeData = pd.read_csv(‘http://people.bu.edu/kalathur/datasets/uszips.csv’, converters={‘zip’: lambda x: str(x)}) Pandas/Numpy and Matplotlib For…
  • 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.. All Contests > 1500522 > 7 Student Quiz Average…
  • 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).
  • Inverting an image makes it look like a photographic negative. Define and test a function named invert. This function expects an image as an argument and resets each RGB component to 255 minus that co…
  • my_current_average = 87.1 survey_completers = 50 class_size = 100 #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 differen…
  • I need to parse dns log file to return a dictionary of client ip address and auery domains 07-Nov-2009 20:11:01.863 queries: info: client 7.204.241.161#52985: query: 181.190.75.3.in-addr.arpa IN PTR +…
  • The Coding part is done just needed help in answering these questions referring to the coding below based on the model that is provided. 1) Fitting models¬† Fitting multiple models with varying parame…
  • Question: Please help ¬†me write out code in Python. Please provide calculation and correct output so I may understand? Below is the summary and instructions as well as partially written code. Please …
  • #FIX the PYTHON CODE to make it work import random # userPick function gets a valid choice from the user and returns it def userPick(): ¬†¬†userChoice = input(“Enter a (1) for rock, (2) for paper, (3)…
  • A Flowgorthim file is needed, please provide enough explanation to understand. Thanks in advanced ¬† Customer Requirements: ¬†The customer needs an application that provides the total cost of concert …
  • I have a skeleton code here for this project but do not know exactly where to start. My task is to implement a reliable File Transfer Protocol (FTP) service over UDP.¬†¬†I need help to write the relia…
  • Question 2 (10 points) Saved The _keyword is used to send back values from a Python function. give leave return send
  • The following algorithm must be performed in Pseint: Help! I need it already done in Pseint please!! *Nuevo documento de texto: Bloc de … Archivo Edicion Formato Ver Ayuda Write an algorithm that, g…
  • user_input= str(input()) split_input=user_input.split (‘ ‘) #[0]- the character ie n [1] = The word ie sunday char = split_input[0] # the character word = split_input [1] # the word counting_char = us…
  • I’m struggling on how understand to complete this programming assignment. I do not have permission from the teacher to post this online, so please do not post the assignment instructions online. Any h…
  • use spark.sql ¬†. Part2 (10 points) . a) Show only the Stock and Volume columns. . b) What is the total volume for each stock symbol in the dataset . c) Show the results in the descending order of tra…
  • Run C Markdown In this problem, you need to implement an array-based binary search tree T with the following associated operations(methods) using Python. We assume that each node is represented by a k…
  • # Problem 2: 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…
  • I am stuck on this problem. Theory of computation.. python3 code error.
  • need help please Write program named¬† program1.py ¬†that enables the user to enter¬†any number¬†of celebrity names and write them to a file named¬† celebs.txt . Each name should be written to …
  • DESCRIPTION; Approach; Build a tree similar to the following (ours is going to be smaller as our alphabet is smaller): ¬† Store each letter of the alphabet in a node of a binary tree. The root node is…
  • ONLY TAKE IF YOU WILL PROVIDE QUALITY WORK Write a program in python that reads a string seq from the user, representing a DNA molecule as a sequence of¬† letters A, C, G, and T, with each letter repr…
  • 8 LAB: Word frequencies (lists) ¬† Write a program that first reads in the name of an input file and then reads the file using the csv.reader() method. The file contains a list of words separated by…
  • Please show how to copy and paste the output in the Markdown Format
  • Using Python, run a linear regression analysis on data you have collected from public domain.¬† ¬† Recommended packages: scikit-learn numpy matplotlib pandas ¬† Deliverables: python code [.py file(s)]…
  • For the hash based word set (HashSet), present (and explain in words): Python code for function add, how to compute the hash value, and rehashing #The function: def add(self, word): ¬† ¬† ¬† ¬† hash =…
  • (In python). Write a function called process_scores that takes the name of a file as a parameter. The file contains a series of lines that represent student records. Each student record takes up two l…
  • https://1drv.ms/x/s!AsJmq4RS6w5ulRElu42wPSaQXO1E?e=enOE3d https://1drv.ms/x/s!AsJmq4RS6w5ulROPdVpoicTDrHoV?e=AHDnez https://1drv.ms/x/s!AsJmq4RS6w5ulRVJlOpxybRS2rHP?e=e0gntq https://1drv.ms/x/s!AsJmq4…
  • Write a flowchart using a loop concepts that will ask a user to input a test score. The loop will continue to ask the user to input the test score until the user enters no. When the user decides not t…
  • function translate( translation, msg) where translation is a dictionary and msg a string. The dictionary contains keys of strings that have a value of another string. Your function will be translating…
  • make a program that uses nested loops to draw this pattern: ******* ****** ***** **** *** ** * please make in python
  • Write a function named count_vowels that accepts two arguments: a string and an empty dictionary. The function should count the number of times each vowel (the letters a, e, i, o, and u) appears in th…
  • . 2. (15%) You’ve acquired data for the time‚ÄĒcourse of drug concentration y(t) within the bloodstream. See data table below. mum a) Fit this function to yfitÔ¨ā) = Cl exp(cz t) using linearizati…
  • In PYTHON In this exercise your task is to write code that will produce a table of weights in both kilograms (kg) and pounds (lb). You should use the following conversion /( 1 kg = 2.20462 lb /) You a…
  • Python Programming 1.¬†Prints a welcome message 2.¬†Asks the user for their name and prints out a Hello message with their name in it 3.¬†Ask the user for two numbers and store in variables 4.¬†Perfor…
  • # Now you should find a sequence of neighbor transpositions of letters that transform the sequence MARINE (letters are numbered 0..5) to the sequence AIRMEN. Transpositions are represented by pairs of…
  • Thats a python programming question about bindings can you help me i didnt understand def main(): ¬†¬†¬†a = 6 ¬†¬†¬†def fun(): ¬†¬†¬†¬†¬†¬†print a ¬†¬†¬†def fun2(fun3): ¬†¬†¬†¬†¬†¬†a = 3 ¬†¬†¬†¬†¬†¬†f…
  • You’re provided a populations.txt file that contains country populations.¬† Read this file, and calculate the total population of all the countries list¬† in this file.¬† Here is populations.txt ¬† To…
  • TRANSACTION TRACKER: Create a Python program that assists a small business in tracking its financial transactions. Your program should maintain up-to-date records on transaction data and allow the use…
  • create an algorithm create the flowchart code it in Python Stock Transaction Program Last month, Joe purchased some stock in Acme Software, Inc.¬†Here are the details of the purchase: The number of sh…
  • For each of these regular expression questions, write exactly to the specification. If it’s a constraint, it has been specified. If something is not specifically stated, it’s not a constraint. You …
  • . A non-recursive function fib2 ( ) : def fib2 (n) : # Trivial cases if (n < 0) : return error if (n < 2) : return n # Initialization f = [0] * (n+1) # Create an array f[0, .. .,0] of size n+1…
  • Write python code that listens on a specified port via socket and accepts a .dat file containing binary numbers. The function must read the file and convert it to an ascii character file and then disp…
  • could you please help me those 3 question??? thank you so much ! there are 3 python questions.. Question 5 Open the file ip. Ext , and print all the lines . Write the full names of the months of the y…
  • how to call a function that prints “This is a Quiz”
  • Section 7.5 Loops are often used in programs that compute numerical results by starting with an approximate answer and iteratively improving it. For example, one way of computing square roots is Newto…
  • class Cylinder: ¬† ¬† def __init__(self, radius, height): ¬† ¬† ¬† ¬† self.radius = radius ¬† ¬† ¬† ¬† self.height = height ¬† ¬† def get_volume(self): ¬† ¬† ¬† ¬† volume = self.radius**2 * 3.14 * sel…
  • Python notebook in R Question: Using JAGS, generate a sample from a Student’s t-distribution with three degrees of freedom. Generate this sample using 4 chains of 10000 iterations each and a burn-in o…
  • Problem 9.2 ( Data Mining for Business Analytics: Concepts, Techniques, and Applications in Python (First Edition) Galit Shmueli, Peter C. Bruce, Peter Gedeck, and Nitin R. Patel. 2019.) Predicting De…
  • please help ! I have included the questions in this pdf file ! there are no missing information ! everything is in there ! thank you!
  • i need python code for this question¬† i need code which i can copy paste in my IDE ¬† Solution in the maxima program for your help g[h]:=f[x]+(‘diff(f[x],x,1))*h+((‘diff(f[x],x,2))*h^2)/2+((‘diff(f[x…
  • What is the difference between a for loop and a wile loop? What is the difference between elif and if-else? Discuss looping statement/repetitive statement (i.e., For, While) available in Python. How d…
  • Don’t copy from chegg and course hero otherwise I will give you dislike. Q2) [10 points] Write python code that search specific folder for text file more than 10MB (print each file name on the screen)…
  • please explain the steps Write a program that asks the user to enter the width and length of an office in feet. Once these yalues have been read. your program must compute and display the area of the …
  • Problem Statement This lab focuses on implementing Python functions related to¬† injective and surjective functions . A function¬† f : X ‚Üí Y ¬†is¬† injective ¬†(or¬† 1-to-1 ) if distinct elements of…
  • https://open.cs.uwaterloo.ca/python-from-scratch/10/6/#1 questions 1-5 waterloo python from scratch module 10 step 6 and step 11
  • 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.
  • We have a fuction called ‘fac’ that takes an input of number N and output N!. Print the result as N! is result.\n”, ¬†¬†“For example, N = 5, N! = 5 * 4 * 3 * 2 * 1 = 120. Print ‘5! is 120′”
  • Write a “for” loop that will print ‘pbil’ when ‘alphabetical’ is the input.
  • In this lab, you complete a partially prewritten Python program that uses a list. The program prompts the user to interactively enter eight batting averages, which the program stores in an array. It s…
  • How do I solve this problem only using what is provided? (python) ¬† additional information: the function flatten_link should take in a linked list lnk and return the sequence as a Python list. If lnk…
  • Project 5: Payroll (Part 2) CS 1410 Background Look at the spec in Part 1 for background information. Requirements (Part 2) Implement your design From Part 1, including the five module-level functions…
  • What does it mean when a python operator/parameter begins with an underscore?
  • Book objects a) Create a Book class that holds these attributes: ISBN, title, author, publish year, book status. Since books can have a different status, the book status should be a list of strings…
  • Open Flowgorithm and save the file with the required naming convention. 2. Customer Requirements: The customer needs to determine the monthly checking account fee charged by Wake Tech Financial. Th…
  • Create class called BankAccount that has four attributes: bankname, firstname, lastname, and balance.¬† ¬†¬†The default balance should be set to 0.¬†(Create class above.) ¬†¬†In addition, create … ?…
  • Below Is the given Input And output Images. Need to use python Opencv to Achieve the output. output images should be in binary image with black background and white foreground. the process should also…
  • 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…
  • You will use GuessingGameApp.py and complete the TODOs in docstrings and comments to make a GUI version of the Guessing game. We need to use the tkinter module. In this GUI version of the Guessing Gam…
  • Part 1: Library member registration Write a Python module register.py that performs the following operations: Ask for the library member information: first name, middle name, last name, 10-digit phone…
  • Help please. The programming language is Python. Prep Problem – 32 In this problem, you should write one function named get_common_movies . This function should have one parameter, which you can assum…
  • Please can you help me with my homework? ¬† Using the Decrypting Secret Messages sites found in this week’s readings, decrypt the following messages. a. – …. .. … / … -.. . …- / …– —– –…
  • Here are the instructions Part V: Compare algorithms, and try to speed things up! In this last part of the project, you will write code to facilitate the comparison of the different state-space search…
  • How do I make a program that keeps track of a phone speed dial-er directory which has 5 fixed slots, without changing the starter code. # Program to simulate a speed dialer # Complete the functions li…
  • Create a program in python turtle that ask the user for 1) How many sides, and 2) The length of the sides and then calls a function that draws the corresponding polygon. Remember, 360/sides = exterior…
  • 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…
  • I have worked on this issue and wanted to see if i have done the right thing. the issue before that was successfully done and will post it at the end of this page. but now I’m having issue with that 2…
  • https://drive.google.com/file/d/1eit9uA1VVplhN_8o4BdIhH9iQBiwkm2j/view?usp=sharing ¬† based on this file. Problem 3: Zillow Crawling (only required for MSBA/MSIT students) – Use Http Request to crawl …
  • Define a function named “secondLarge” which take a list of numbers (integer) as parameter. This function will then identify and return the 2nd largest number in the list. The function will return smal…
  • Visual Studio 1. Visual Studio has a power debugger that can dive deep into the live code, where Unity’s Console and Inspector cannot? true or false 2. Visual Studio is a powerful IDE that provides in…
  • My friend gave me this question and i don’t know how to solve it as I am a python beginner,question – Consider this description of fruit wholesalers: Each order made to a wholesaler is for a type &amp…
  • . Q 1. lC’xlir-nsider a “metric: map” of cells arranged as an m x 11 matrix. Each cell in the map is referred to by a “Location”. SpeciÔ¨Ācally, the location of the upper left corner cell of…
  • Exact change – functions 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, nicke…
  • Below is a coding work. I am struggling with Problem 1 and 2. I just write part of my solution for problem 1, but I am afraid that I am on the wrong track, so I have not finished it yet. Problem 2…
  • QUESTION 24 What is output by the following code? def main(): X= 3 y =2 z = calcData(x, y) w = doStuff(x, y) print(z + W) def calcData(a, b): c = a ** b return c def doStuff(j, k): m = 25 % j + K; ret…
  • Task: A regex pattern to check if the user enters three words separated by a space. Then, strive to make the regex adaptable if the person’s full name has more than or less than 3 words… ¬† ¬† we…
  • Explain the below code. How it works and use comment on code. def nearestNeighbour(adjacenteList): unvisited= for key in adjacenteList: unvisited.append(key) visited= connections= u=unvisited[0] visit…
  • use Python. Exercise 3 Now we are going to use our n -grams to generate some fake text according to a Markov model. Here’s how the Markov model of order It works: A. Compute (n +1)‚ÄĒgram occurrence f…
  • 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 digits aft…
  • Mad Libs are activities that have a person provide various words, which are then used to finish a short story in unexpected (and hopefully funny) ways. Complete the program to read the needed values f…
  • Question 2 (6 points): Consider a set P of points in the plane. Each point is given as a list of two elements [x, y], where x and y are integers. The set P is given as a python list of points. For exa…
  • QUES: Write Python code to see the last five instances.¬† Write Python code to sort the data frame based on sepalLength and sepalWidth in Descending order . What Python command do you use to get more …
  • def computeBestPartition(l): n = len(l) assert n >= 1 assert all(elt >= 1 and elt== int(elt) for elt in l) # your code here ¬† ¬† print(‘– Test 1 –‘) l = [ 1, 5, 7, 8, 4, 6, 15] (l1, l2) = …
  • consider the code: start, end = 4, 19 for num in range(start, end + 1): # checking condition if num % 2 == 0: print(num, end = " ") What is the output? 46 8 10 12 14 16 18 579 11 13 15 17 19…
  • Has to be done in python language https://docs.google.com/document/d/1QK0hGdcxHrBXt8H6HPPjPN8NMAuVmDejnFPpkjDrV6g/edit?usp=sharing
  • Load the¬†airbnb_data. csv¬†as¬† a list of dictionaries ¬†into a new variable called¬†airbnb_data. Once you load the data, you should see something like this when you print¬†airbnb_data: [ { ‘listing_…
  • The stationary store is offering a discount of 30% on notebooks. The small notebooks cost 0.8$ each and the big ones cost 1.2$ each. Write a function that takes as input the number of notebooks of eac…
  • 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.¬† ¬† de…
  • . Create a functions to collect 10 numbers instead of 6 from the user. As done in the previous program , the numbers are to be added to a list. This time however , instead of writing an individual sta…
  • please let me know answers of 15,16,20,21,22. Also, explain please!!! 15. The series expansion for In Itx with -1 < x < 1 is expressed as In (1-2)= E 2 24- or In *= 2x + 3x’+ IN (2n – 1) + … W…
  • Vending machine ready… Enter letter A-J: A How many? 2 Enter money ($1.25): 2.5 Your change: 0.0 Enjoy your snack! Enter letter A-J: B How many? 11 Error: Cannot sell that many Enter letter A-J: A H…
  • Given the sample directory structure¬†below¬†noting the output of the pwd command, write an Linux command to copy¬† file3.doc ¬†to and rename file to¬† file4.doc ¬†in the¬† documents ¬†directory using…
  • recognition reads the image and states if its a “hot dog” or “not a hot dog” I’m getting the errors File “C:/Users/GCLuv/PycharmProjects/cloudcomputing/seefood.py”, line 130, in <module> ¬†¬†lab…
  • DESCRIPTION Comcast is an American global telecommunication company. The firm has been providing terrible customer service. They continue to fall short despite repeated promises to improve. Only last …
  • Force-Directed Layout ¬† You will implement the Force-Directed Graph Layout algorithm from Fruchterman and Reingold, developed in the 1990s (at the University of Illinois at Urbana Champaign :). The o…
  • The positions.csv file consists of 33 rows of numbers: E.g 0,1,2,3,4,5,6,9,11,15,16…. 0,6,9,10,15,18….. 0,2,3,4,6,9…. ….. Problem 1 – Class Examples . Filename: qr . py . Data file: positions …
  • #Write a function called clean_data. clean_data takes one #parameter, a dictionary. The dictionary represents the #observed rainfall in inches on a particular calendar day #at a particular location. H…
  • 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
  • How can I use python to plot the flow (veh/hr) on the x-axis and speed on the y-axis by the following data. I am using Jupyter with pandas and matplotlib. Timestamp Total Flow(Veh/5-min) Avg Speed(Mph…
  • Question: Actual question – Write a function¬†google_sector_report()¬†that returns a¬†json dump¬† containing the following information about each sector: I have attached the zip file. I. Google Financ…
    • Write a Python algorithm / function that will calculate the standard deviation of numbers of a list x. ‚ÄĘ Expand the main part of the program that gets from the user a list of values; call the fu…
  • 3.5: Read user input and print to output. CHALLENGE ACTIVITY 1.3.5: Read user input and print to output. Read three integers from user input without a prompt. Then, print the product of those intege…
  • i posted this assignment here and i only got answered for part 3: i will attach the code i got. i need help in the first two picture’s function here is the answer i got: class billing: ¬†¬†basic_rate …
  • i need some help with my code to get it to work. not sure where i go from here. ¬† assignment: The first major class you need to get familiar with is the¬†Cell¬†class. This class is the bare-bones rep…
  • 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…
  • . Write three paragraphs on the following: Are healthcare entities required by HIPAA to disclose to affected customers if their records were compromised during a cyber attack? tions se
  • What happens when the¬† print ¬†function prints a string literal with embedded Newline characters?
  • Please create a python¬†module named¬†homework.py¬†and implement the functions¬†outlined below.¬†Below you will find an explanation for each function¬†you need to implement. When you are done please u…
  • this one is not to making the program, yet. ¬† This time what i need is to work on question below lists. ¬† So all i need is a answer rather than the building program. ¬† I have multiple references to…
  • I need help writing the codes for the below in Python using networkx: ¬† Plot communities in different colors and node shapes and¬† Find the center of each community by creating sub-graph for each com…
  • class LogisticRegressionGD(object): ¬†¬†¬†“””Logistic Regression Classifier using gradient descent. ¬†¬†¬†Parameters ¬†¬†¬†———— ¬†¬†¬†eta : float ¬†¬†¬†¬†¬†Learning rate (between 0.0 and 1.0) …
  • The first script for today will use a while loop. Ever been in trouble with a¬† parent or teacher or cow, and they gave you until the count of ten to do whatever?¬† That’s what your script is all abou…
  • Based on the ListA_10k.csv file from assignment 1, use “Faceting” and “Starring” techniques to extract ALL ¬† records that are from Arkansas, Miami, and Houston. NB: (The record names should be case i…
  • I need help with this Python problem. The problem is kinda complecated and I do not even understand the examples… Please help me out! Thank you! def nestedRemoval(text: str, leftPattern: str, rightP…
  • Part 1: Autocorrect We have all used auto-correct to fix our various typos and mistakes as we write, but have you ever wondered how it works? Here is a small version of autocorrect that looks for a fe…
  • import csv with open(‘GeorgiaCtyData.csv’,’r’) as csvfile: ¬† ¬†plots = csv.reader(csvfile, delimiter = ‘,’) ¬† ¬†next(csvfile) county_data_name = [“Barrow”,”Bibb”,”Bulloch”,”Carroll”,”Catoosa”,”Chath…
  • Use Pyton and please only use these libraries. Try to filter the Gaussian noise from the initial image (what filter reduces gaussian noise?) and see if the segmentation result is better. What happens?…
  • 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…
  • https://spacy.io/usage/linguistic-features#named-entities¬†(Links to an external site.) Scroll down to the heading, “Named Entity Recognition 101.” You may read the content that precedes this on the p…
  • Use python¬† Create a page that includes the following 1)log in 2) Sign up 3) forget password
  • hi how to remove stop words in python in a text file and generate a new text file using os.path.join? the list is here (https://pypi.org/project/stop-words/#files)
  • How to write a program in python that add two numbers?
  • I am having trouble understanding question 4 of my assignment. I believe I have completed 1-3 correctly. Am i supppose to re-write the section of my code to re-calculate or just add in another functio…
  • Can you walk me through how to use the class in this problem step by step? I found the code online, but I am curious to see if there are different ways to write the file. Thanks! Build the ItemToPurch…
  • 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). …
  • Write a Python program that prompts a user for two integers and stores the two integers the user types into the shell. Print the product, float division, integer division, remainder, sum, and differen…
  • Program linked list and implement a searching algorithm to search through it’s values. Part 1: a Linked List Make a linked list that can accept any integer number from the user. Continue to ask the us…
  • #¬†importing¬†pandas¬†as¬†pd import¬†pandas¬†as¬†pd #¬†dictionary¬†of¬†lists dict¬†=¬†{‘First¬†Score’:[100,¬†90,¬†None,¬†95], ¬†¬†¬†¬†¬†¬†¬†¬†‘Second¬†Score’:¬†[30,¬†45,¬†56,¬†None], ¬†¬†¬†¬†¬†¬†¬†¬†‘…
  • . 3 Temperature Write a program that converts a temperature from Celsius to Fahrenheit. It should (1) prompt the user for input, (2) read a floating point value from the keyboard, and (3) calculate …
  • Write a Python program to get a list of both positive and negative numbers and write that complete list of values in a file and read the same file in order to find how many positive integer values are…
  • provide the scraping code to scrap court cases. you can show the scrapped judgement.
  • The university offers the following meal plans: Plan 1: 7 meals per week for $560 per semester Plan 2: 14 meals per week for $1,095 per semester Plan 3: Unlimited meals for $1,500 per semester ¬† ¬† P…
  • Using the error back propagation training, calculate the next weight updates W(2), ūĚĎäŐÖ (2)
  • what is be the output of list a and list b in the following code? a = [] b = [] for i in range(1, 21): if i % 2 ==0: if i % 3 ==0: pass else: b.append(!)
  • The input range of data can have a large impact on a neural network. This applies to inputs¬† and ¬†outputs, like for regression problems. Try applying Scikit-learn’s¬†StandardScaler¬†to the targets¬†…
  • Using Python, use the following string of characters “123xyz$$” Create a rainbow table of all password 4-7 characters in length, along with the md5 hash of each password. Store them into a Python dict…
  • Item Counter: Assume that a file containing a series of names (as strings) is named names.dat and exists on the computer’s disk. Design a program that displays the number of names that are stored in t…
  • Take the input of the age from the user and display whether they are a teenager or not.¬†Hint: Use age > 13 and age < 19 in the if statement.¬†use python programming
  • Can someone please explain to me what I am doing wrong/what I a missing to be able to output a graph. I am getting an error: [float(dd[1]) for dd in data[1:]] from like 8 down. I have attached a sampl…
  • 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 …
  • Starting in 2004 Michigan moved to issuing plates with the format of ABC1234. That got me thinking, how many vanity plate holders there are in our dataset? Count for me the number of Michigan vehicles…
  • shirt = { “brand”:”Gucci”, “size”:”Large”, “price”: 200.00 } How do you change the “price” of the dictionary to 1000.00?
  • Write algorithmlpseudocode for a program that reads a student record, consisting of the student’s first and last name, followed by a sequence of test scores and a sentinel of -1. The program should…
  • HI I need help re-writing the code I have written in here. Please make it completely different looking but having same idea. Please do not copy code from somewhere else. ¬† ¬† import nn class Perceptr…
  • The code please2 zyBooks catalog CYB 130: Object-Oriented Scripting Language home > 5.20: LAB: Step counter 5.20 LAB: Step counter A pedometer treats walking 2,000 steps as walking 1 mile. Write a …
  • PYTHON I initialized a list as start = (0,0) move¬†=¬†list(start) And then ask for user input i = input() which goes into if statements… if¬†i¬†==¬†‘n’: ¬†¬†¬†¬†¬†¬†¬†¬†move[1]¬†+=¬†1 ¬†¬†¬†¬†¬†¬†¬†…
  • In python construct a recursive function allTxtDirs () that takes a string representing the name of a directory as a parameter and returns a list of all the directories that contain at least one text …
  • Please help me write python code for this assignment. This question based on UDP. A UDP service FlagServ is running at flagserv.cse543.rev.fish:13337. This UDP service receives a target IP address fro…
  • Write python script to find out the line of code, blanks, and comments of Java, C# or any programming file. Also, use cloc.exe to count the project line of code. cloc can be found here : https://githu…
  • 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…
  • I’m working on a python code for an IRA calculator it’s we’re suppose to enter in the values in the code NOT user input and get an output of how much money we would save for 48 years. The. Code is don…
  • I need help with my assignment, in this assignment I must implement a counter for words in Wikipedia titles and find the top words used in these titles. Using the below template. My application takes …
  • . Home x Discussion x zy Section 3.16 – CYB 130T: Object-( x zy Section 3.10 – CYB 130T: Object-( X + V X – > C a learn.zybooks.com/zybook/CYB_130T_55317551/chapter/3/section/10 =zyBooks My libra…
  • f – Dictionary from dictionary (5%) Given a dictionary number book where the keys are strings that are abbreviations for language (Norwegian, Swedish, …), and where the value of each key is a list o…
  • Produce a program that asks the user to enter the monthly costs for the following expenses incurred from operating their automobile: loan payment, insurance, gas, and maintenance. The program should t…
  • Can I get some help creating the last method ASAP plz These are options, just need the answer soon plz. class CustomQueue: ""A first in first out (FIFO) queue of items. Stores data in a firs…
  • With the code given below: A. When the user is prompt to enter the data of an object (from any class in the information system), there should be an option to write/append the record into a file.¬† B. …
  • Please help me with my code. The first picture is what I have but it isn’t correct. Please comment on each line so I can understand better. It also needs to output the answers from the second picture….
  • Import this dataset to Python. Provide your answers to the following questions: Did the total number of service requests after the hurricane increase significantly, compared to before the hurricane…
  • how do i integrate this code into the labrunner.py Part Three :: Add code to the moveRight ( ), moveUp ( ), and moveDown ( ) methods that will move person around the screen and compare the person’s po…
  • This is the following error I receive from the code provided in an answer. The code is for Python as below: ¬†. Warnings May be ignored if you are happy with your program. Unit 6 Assignment 2 take 1.p…
  • What are the best programming projects that suits in 1st year civil engineering? Please give me at least 10. ūüôā¬† E.g.¬† ¬†. Example Project: length computation (with conversion )of… …distance bet…
  • . 1. Initialize this class with x (2D array) and y (1D array) using numpy array as input. 2. Constructor should also take m (array), epochs(number of iterations), L(learning rate) as input, and s…
  • Question 1 Question 2 Question 3 Question 4 Question 5 Question 6 Question 7. Question 1 Which statement is correct? Explain your choice. 1 Point a. ASCII encoded files normally contain raw text and c…
  • 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 …
  • Submit a working program that¬† at least ¬†prompts for all of the grades and displays them back on the screen. NOTE: You MUST use loops to prompt and fill in the assignment, quiz, mini-project and p…
  • Write a class named¬†Person¬†with data attributes for a person’s name, address, and telephone number. Next, write a class named¬†Customer¬†that is a subclass of the¬†Person¬†class. The¬†Customer¬†c…
  • Can someone a create a simple text base game code in python that has three rooms, with an item in two of the rooms and a villain in the third. I need to move through the rooms to collect the two items…
  • class Petstore: def __init__(self,n): self.name = n self.petlist = [] def add_pet(self,p): # a pet object self.petlist.append(p) # add this object to the store def __str__(self): return “{} has {} pet…
  • I need help modifying my code in Python. Please try to keep the wording the same. I just need to modify a few things. ¬† Make the pool start with a random number ([20, 30] inclusive) of coins. Based o…
  • F unction to return a list of all¬†two- gram ¬†in a sentence. A two-gram is a tuple of two consecutive words. For example, given the sentence “The craft of computing is fun” your function should retur…
  • Hello, how would I approach this question? I need help as I am stuck ID = 0 NAME = 1 LATITUDE = 2 LONGITUDE = 3 CAPACITY = 4 BIKES_AVAILABLE = 5 DOCKS_AVAILABLE = 6 IS_RENTING = 7 IS_RETURNING = 8 SAM…
  • hi i am posting this question so many times no-one is helping me. All the questions is completed, i just need somone check the comment and code, also a little error i am getting which is in the graph …
  • Compulsory Task 1 Follow these steps: ‚óŹ In a file called sum_recursion, create: o a function that takes a list of integers and an integer as 2 arguments. The integer will represent an index point. o…
  • Describe your experience so far with peer assessment of Programming Assignments. How do you feel about the aspect assessments and feedback you have received from your peers? How do you think your peer…
  • Exercise 3 (20 marks) Python allows recursive function, i.e.1 a. function that can call itself. Please use recursive function to reverse a string. The input of the function is a string, and the output…
  • Please help with questions 1 and 2. The comments are what I am trying to figure out. Please remove the comments and help figure out example problem that works with the test file. 1. validate Takes any…
  • Each of the following Python functions is supposed to check whether its argument has any lowercase letters. For each function, describe what it actually does when called with a string argument. If it …
  • For this question, we will inspect the¬†letter frequency statistics for english language texts¬†(Links to an external site.). We will choose one transcript to inspect, and graph out a bar chart with t…
  • C81026: Assignment 3 – Sentiment Analysis Due: November 17′”, 2021. 9:00pm. Weight: 12% Mg Quteomes: By completing this assignment, you will gain skills relating to 0 Using functions 0 Complex dat…
  • The US EPA also makes available a dataset on measured pollution concentrations throughout the country:¬†https://aqs.epa.gov/aqsweb/airdata/download_files.html#Annual. We will use¬†this file, “annual_c…
  • We know that symmetric positive definite (SPD) matrix A can be factorized into A = L T L, that is The following function can be used to obtain the Cholesky decomposition of a SPD matrix:. import numpy…
  • Task 1 (13 marks)¬† 1) Ask the user for 3 numbers (3 marks) ¬†2) Using a loop, a) Start from the first number (2 marks)¬† b) End at the second number (inclusive) (2 marks)¬† c) Increment or decrement …
  • an expression involving a three-letter string s that evaluates to a string whose characters are the characters of s in reverse order. If s is ‘top’, the expression should evaluate to’pot’.
  • SUMMARY The overall goal of your SQT program is to read student records from a file, and let the user enter queries in order to see a detail or summary report. The project uses many of the topics cove…
  • Please run 3 examples of the program included in the 2nd screenshot, and type out an explanation for each bulleted thing in the initial screenshot with the assignment instructions. I will complete the…
  • Instead of build 1d linear model, we want to build linear regression model with input multiple dimension. y T = xm + c The Algorithm of gradient decent to find m and c is : ‚ÄĘ Set initial variable. m…
  • In a separate file,¬†guess_server.py, implement a server that plays a guessing game. When it starts, the server should generate a random number between 1 and 100. When accessing the main route (/), th…
  • Write a program that allows the user to enter the name of an actor and then determines the Kevin Bacon number for that actor. The program should print out the Kevin Bacon number for the actor and b…
  • How do I write the code for this question?. rd / My courses Faculty of Informatics / Department of Data Science and Visualization / Introduction to Programming (INBGAO10SL-01/210) / Practic We have wr…
  • Python language Question 4 (1 point) A for loop: repeats like an if is basically a while loop O repeats for values in a set/range always runs a specific number of times can’t produce repetition Questi…
  • 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 anything other th…
  • I hope this works. This is my first assigment. I will send now pictures of the 2nd part (because it continues). I used google traductor to have it on english language. ¬† Please divide homeworks with …
  • What is wrong with my code? I would like help understanding why I am getting an EOF error for line 20?
  • Can someone help my current code for my project? For some reason it isn’t working and I don’t really know why. I’m using Pygame. Here is the code (I just use a transparent background santa claus clipa…
  • 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 image above….
  • Here is my code: ;—————————————————- def summarize_degrees(filename): ¬† ¬† degrees = dict() ¬† ¬† with open(filename) as file_in: ¬† ¬† ¬† ¬† for line in file_in: ¬†…
  • from collections import namedtuple Book = namedtuple(“Book”, “title author price”) def expensiveBooks(price, listOfBooks): ¬†¬†¬†”’ ¬†¬†¬†– Returns a list of book titles of Books that are greater or …
  • Review your data to ensure that you will be able to produce additional statistics and perform data analysis, such as row or column totals, averages, standard deviations, chi-squared distributions, …
  • Make sure you check the condition where the current integer (in the loop, use i + 1 to get this, save it to a variable) is divisible by both 3 and 5, before checking to see otherwise if it’s divisible…
  • I need help for a homework in Computer Science: Exercise 1 Before you start to write the next script, first run the ‘who’ command at the UNIX prompt and redirect it into a file named users.txt . (Then…
  • Discuss how the “for” loop is different from the “while” loop. What are the advantages and disadvantages of each of them? Are infinite loops necessary in a program? How can you avoid an infinite loop …
  • Recommender System based on Collaborative Filtering(Jupiter Notebook) ¬† Dataset link:¬† https://drive.google.com/file/d/1IffJ2fNb777xLj7y-Nq70oVSHMxt1s_0/view?usp=sharing ¬† The task is to apply the …
  • numpy and pandas ¬† df=pd.DataFrame({‘id’:[‘i10012’, ‘i10013’, ‘i10014’, ‘i10015’, ‘i10016’, ‘i10017’, ‘i10018’, ‘i10019′,’i10020′,’i10021’], ‘age’:[19,18,28,33,32,31,46,37,60,25],’sex’:[‘female’,’mal…
  • 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.
  • PLEASE CODE IN PYTHON LANGUAGE Don’t copy¬† ¬†. Samuel Pepys (pronounced "Peeps"] was a 17th Century British naval administrator, best known for the detailed diary he kept describing his lif…
  • Generational Languages As more and more programming languages are developed for various purposes, the industry has learned how to categorize languages based upon their features, abilities, and power. …
  • Write a Python program to encrypt words using the Caesar Cipher: 1) Ask the user to input a message (without spaces) and the number of shifts. The message can be of any length. 2) Convert the message …
  • Loop to populate user_guesses with num_guesses integers. Read integers using int(input()). Ex: If num_guesses is 3 and user enters 9 5 2, then user_guesses is [9, 5, 2].¬† num_guesses = 3 user_guesses…
  • I need helping solving this PA without using for loops and only while loops etc… Input Values Your program should accept two values as input. The Ô¨Ārst should be a selection of the shape to print. …
  • file:///C:/Users/pinea/AppData/Local/Temp/Temp1_Lab12-Pandas-2020%202%20(1).zip/Lab12-Pandas-2020/index.html follow the steps in the Worksheet. The deliverables for this lab should include an upload o…
  • Hi I am trying to make a mad lib project but It won’t print any code. I can’t see why I can’t at least get it to print something? < > learn.zybooks.com B Module Three Assig… B Online Student S…
  • Test is the main module which tests your code and assigns it a grade. This is the one that you will run in python. Graph is a generic class that implements graphs using adjacency matrices. Walk is a c…
  • I have to do it on Python (spyder), and for the 2. : I must take on yahoofinance the data from those companies : Airfrance – KLM / Delta Airlines / International Airlines Group. INSTRUCTIONS FOR STUDE…
  • Assume that we have a data-science club where data scientists meet and discuss data analysis and visualization. The members in the club are either paid accounts or unpaid accounts. You are provided a …
  • Exercise 6 Use the function design recipe to develop a function named sum67. The function takes a list of integers, which may be empty. The function returns the sum of the numbers in the list, return…
  • I have created a program that allows the user to apply different math functions on the data set of their choice from two .csv files. I am trying to catch errors and I am having issues with my c…
  • 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…
  • #1: My software development firm to build a new car inventory program. I first need to make a class that represents the inventory of the dealership. In Python programming, what components and attribut…
  • String Exercises Strings01: Iterating Over a String.py Ask the user to input a string. Use a loop to display each letter of the string. Example: Please enter a string:¬† Geeks G e e k s Optionally, if…
  • we want to use python to solve physics and data science problems.¬† we have different variables and we have a graph with a negative value; ¬†we have to guess the slope of the graph :¬† min_value_slope…
  • Explain two functions tools needed for creating a python decorator
  • Question 4 (20 points) Assume a game in which two players, A and B, score points and the winner is: A player who has at least 3 points and wins by at least 2 points or A player who first scores 7 poin…
  • I made a python program that lists out the square and cube values from 1 to 100 and a few other functions. For some reason the values do not show up when I run the program and I am having a pro…
  • can you apply K-Means clustering, elbow curve and silhouette score on scaled data for the below dataset and determine optimum clusters. Data set spending advance_payments probability_of_full_payment c…
  • Problem: Code I Have Written: import datetime import numpy as np import matplotlib.pyplot as plt # open input file f = open ( “covid-19_data.txt” , “r” ) # lists for dates and positive cases dates = […
  • Please answer the following question based on the instructions (using logical steps and creating a pseudocode flowchart). Thank you. ¬†. 7. The school buys pizza every day during week2. Every day they…
  • Consider the implementation of the Ordered Linked list class, implement the following functions as part of the class definition: ‚Ė™¬†¬†¬†index(item) returns the position of item in the list. It needs…
  • i couldn’t understand this python programming exercise. Can you help me? 1.You operate several BurgerStands distributed throughout town. Define a class named BurgerStand that has a member variable for…
  • Given the following S-Boxes: S1=[15 10 2 5 8 4 11 6 1 0 14 7 9 3 12 13 ]; S2=[ 4 0 15 10 8 9 7 13 5 1 6 11 2 3 14 12 ]; Implement the following 16 bit cipher: Plain text: P = [ a1 a2 a3 a4 ] where…
  • Assume that you have the QUEUEAO.H as a header file.¬† Using linked lists, write a programming to remove all blanks from a queue of characters.¬† ¬†(Using AddQueue, DeleteQueue and IsQueueEmpty)
  • I would appreciate it if sir/madam could help me with understanding this question immediately. thank you in advanced !. Given a finite state automaton (FSA) with initial state SO and accepting state $…
  • [M3_C504] Draw a flowchart and construct a python program to receive a positive number n, then computes the factorial of all the even numbers between 1 and n, if the Ô¨ārCE’I n1: given n is an even …
  • Reuse the functions within a program that presents the following list of actions as a menu for a user: 1. enter a key; 2. encrypt a text input by the user; 3. decrypt a text input by the user; 4. read…
  • . 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…
  • If integer variable opCode has the value 1, read in double values for X and Y and calculate and print their sum in python
  • The question is telling me to make a pay-raise program that requests a person’s first name, last name,¬†and current annual salary, and then displays the person’s salary for next year. People¬†earning …
  • https://seedsecuritylabs.org/Labs_20.04/Files/Format_String/Format_String.pdf ¬† solve it with capture each steps
  • Print 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.
  • # Create a modified version of the search linear function defined¬† # above to return all # occurrences of the search word in the text # An occurrence is the index of a word in the text that matches y…
  • How can I make a Python program using lists and tuples that allows me to enter class name, faculty name, name of each student, and number score each student earned? The¬†program¬†should then call a fu…
  • What will be the output of the following Python code? print(‘{0:.2}’.format(1/3)) a) 0.333333 b) 0.33 c) 0.333333:.2 d) Error 2. What will be the output of the following Python code? print(‘{0:.2%}…
  • Good day, can I get someone to explaing to me why my code is not working please. got the below error /usr/local/bin/python3. 8 /Users/abc/PycharmProjects/pythonProject/playground.py Traceback (most re…
  • How to write a program that signs up automatically for shuttle Bus on the Yonsei University Portal website.
  • I need some help with this question. I understand writing the code that assigns values to the coins, but I am still a bit lost on defining and calling functions. Please advise.
  • 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 stored in a Python Dictionary. Each student has a nu…
  • 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…
  • why i can’t play this game. that’s the errors i got Traceback (most recent call last): ¬†File “/Users/alexlarose/Documents/sky_dodge.py”, line 184, in <module> ¬† ¬†player = Player() ¬†File “/Us…
  • Can I get this problem solved? I need the code and the instruction are also submitted below to help tutor for better understanding. Thank You. Please do it as instructed. ¬† # DON’T CHANGE OR REMOVE T…
  • I need to help making a recursive input which will print my code in a certain way. recursive function that receives a string and outputs a new string in the following format where there is one ‘*’ bef…
  • Say you have numbers from 0 to 9 and you enter them to as command line arguments of one or more as XYZ-R-W where X, Y and Z are numbers from 0 – 9 and R and W are 0 to 3. How do you search a non match…
  • Can you help me with a sample coding I could use, with the file name as an example Use Seaborn library wherever it makes sense. address: address of the house price: market price of the house (in thous…
  • I need help eliminating duplicate links pulled with a Python web scrape. My current code looks like this: #import packages import requests from bs4 import BeautifulSoup, SoupStrainer import re #specif…
  • python code for zybooks help. For this question you will write a program for processing a Ô¨Āle containing ufo sighting data. I have provided code that reads data from the Ô¨Āle and generates a dic…
  • . Pass Task 2.1P: Factorial Task description: The factorial of a nonnegative integer n, written n! (pronounced " n factorial " ), is the product of n* (n – 1)* (n-2)* … * 1. And 1! = 1 0…
  • Need the answer immediately Im python Examples Example 1: ons Input: numOfBuildings = 2 buildingOpenTime = [8, 10] offloadTime = [2,2, 3, 1, 8, 7, 4,5] Output: 16 Explanation: One optimal solution is …
  • These are written in mysql language. Convert these into python language, while explaining what each feature or join does. LEFT JOIN — TTL Click times on each Item in each Click Session ( SELECT Sessi…
  • Python assigment¬†. Background A common Geographic Information System {GISJ procedure is Flow Direction, which consists of determining the direction {Fig 1] in which water would flow according to the …
  • you are given some students’ exam scores. The data are stored as a text file named data.txt. Each record is in the format of “name,subject,score” (items in the record are separated with comma and each…
  • Write code that uses a for loop and the range function to compute the sum of the integers from 250 and 300, inclusive. Assign the result to a variable named sum ¬† 2 .Write code that uses a for loo…
  • I need a sample code of how each of these files could be imported in Jypter Notebook using python. Files are… ¬† ¬†. Instruction 1 We first examine the variables and the overall data size. The tasks…
  • The assignment is broken up into three main components: 1) Design and model two classes: Ticket and Checkout 2) Create an activity chart which describes the behavior of the ticket sales system 3) Crea…
  • 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]. The following is the solution…
  • def nested_int_list_from_file(file): ¬†¬†pass Part B – Read a table Implement a function nested int_list_from file (file) that takes a file containing lines of integers that are separated by commas as…
  • I am getting an EOF error when running this Python code. Everything works up until the user selects option 6 for the ‘Scalc’ calculation. In the below class file code, the issue is with the method nam…
  • In this question, you will implement a class called¬†DataTable¬†that will represent 2-dimensional data. You will also implement a class called¬†row¬†to represent each row in a data table, and a class …
  • I need help! We just learned about lists and we need to loop it using if/elif/else statements. Below are the instructions and the sample output. Background A small airline has just purchased a compute…
  • You are given the script of a play as a text file. Each line in the file begins with a character’s name, followed by a colon (:) and then their corresponding speech. You can assume that the only colon…
  • The problem and my code is provided below. the output is also provided. I need help with my code. I tested it so it can display the same thing as the output but it doesn’t allow me to enter 3.5 as the…
  • Write an¬†expression¬†that evaluates to¬†True¬†if and only if the¬† variable s¬†does¬†not¬†refer to the¬†str¬†“end”.
  • 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…
  • I’m not sure where to start when defining this function. I think I have to figure out the locations where each player was seen, and add the name to a list depending on the situation, and then return t…
  • I am working on a code on Codio using the RESTful style with imported bottle framework. My goal is to develop a CRUD code to perform the different operations. I believe my code is going in the right d…
  • The assessment is done through an auto-grading system. I have met… ¬† The assessment is done through an auto-grading system. I have met all the requirements which the instructor has made except for …
  • Need a templateÔľĆI will import the file 1. (Spyder) Write Python program to sort a data file provided using Bubble Sort.¬†¬† The Input data file: MovieListMBc302.csv¬† A. Sort movie title in Ascendin…
  • python question help Q6a: Slicing The concept of slicing can be combined with conditionals. For example, you can return all rows of a particular value. Using value_counts ( ) above on the fruity_choco…
  • Write the code to print longWord from the location of the 1st¬†and 2nd¬†“t”.¬†Assigning longWord = juxtaposition.¬†Hint:¬†use .find().
  • def intersection(self, source1, source2): ¬† ¬† ¬† ¬†“”” ¬† ¬† ¬† ¬†——————————————————- ¬† ¬† ¬† ¬†Update the current Set with copies of values that appear ¬† ¬† …
  • Project 7a Notes and Assignment Read over these notes. [The project 7a assignment is at the end of this document] Continuing in chapter 7 – the topic is Lists of Lists Consider that we have a data fil…
  • This question about probability Make the python program to solve this question! In an experiment to measure the lifetime of parts manufactured from a certain aluminum alloy, 73 parts were loaded cycli…
  • Write a function get_friendly_dict() that calculates the degree-one friends of each individual in a social network. The function takes one argument: friend_list , a list of reciproal friendship links …
  • . Question 10 (30 points] In the image below, there is an example of rescaling. Data on the left is the original data, and on the right it has been rescaled. What are the two ways that data can b…
  • Given a string modify according to dictionary values provided. ¬† long_text = ‘Hey Ronda how is it going. Are you going to the fair today? Richard asked me to meet me at the pier. Coby, did you ask he…
  • (a). Write a function, named adjust, that takes a number of cents between 0 and 9, inclusive, rounds it off to the nearest 5 cents by the following rules, and returns the result: > 1 and 2 cents ar…
  • You’ve quite recently been selected as the new director of a city’s essential force plant. At the point when you showed up grinding away on your first day, you found that the business had been losing …
  • 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 readabil…
  • I’m trying to display this data as a table using matplotlib but I’m having trouble. Can anyone assist? So we have 18 rows and 22 columns, not including the index ‘Lab_Test_Info’. ¬† My code so far.. i…
  • I’m trying to get this code to continue asking to guess a number until the correct number is guessed but it only will ask 1 time. Why? ¬† print(“Please enter your first name:”) name = input() print(“H…
  • Write a python program that will accept a positive number and pass this number to a function called 1’prime_function". This function takes one argument as a positive number and returns to the …
  • In this problem we’ll explore sensitivity analysis as a tool to identify the inputs to a model that cause the largest changes in a particular output of interest.¬† Imagine that you’re consulting for a…
  • Write a program which asks the user to enter a number. The program should then add up all the numbers from 1 up to the number the user entered (1+2+3+…). For example: ¬† Enter a number: 5 15 Enter a…
  • I am trying to work on a project for Spam and Ham. I am supposed to filter email messages into spam or ham using simple metrics. What python program is the best to download on a mac book for this proj…
  • Step by step guide to solving machine learning problem
  • What is the time complexity of the following Python code? def grocery_shops(A, k): ¬† ¬†“”” ¬† ¬†A an integer array for city centers ¬† ¬†k an integer number of shops ¬† ¬†return an integer ¬† ¬†“”” ?…
  • I want to recommend the book that user already didnt read, for example we are taking 10 input from the user and we have 55 book in our txt file and ńĪ want to recommend 10 books from 45 books that use…
  • See the text book for exercises 9.6. Be sure that you have a loop that prompts the user to enter a name and grades all on the same line. “John Smith 93 94 83” ¬† 9.6 Reimplement Exercise 9.3 using the…
  • write program that asks the user for their codes until they enter a blank one. (Are you getting good at spotting words like ‘until’ and recognising that’s the indefinite iteration pattern?) All valid …
  • I need help with my python lab My lab requirements are Write a valid regular expression that covers all IP addresses Write a valid regular expression that covers all usernames in the domain\user forma…
  • Define a class furniture in Python with the given specifications: Instance variables: Type Model Methods getType() To return instance variable Type getModel()To return instance variable Model show() T…
  • Write class called Doctor that inherits from Person, add new attributes/methods you want. Requirement: Display a doctor profile in the final result. Grading Rubric [6] Helpful input prompts are used t…
  • All coding is on PYTHON . INSTRUCTIONS: OUTPUT must bhi same as given in the question. Answer this as soon as possible.
  • Write a python program to accept a user’s name, age, and favorite color and print out a welcome message
  • create python program of given below: nothing is missing 2} (ll-I3 pruning gets it name from the two parameters that describe bounds on the backed-up values (1 = the value of the best (highest-value) …
  • PLEASE HELP IN THIS PYTHON QUESTION ¬† Implement a function based on the description of the Pearson correlation p between two given variables in the data set df_lp. Provide a table that compares the r…
  • When I run this, there’s no error, however when I run the line df[‘month’]=df[‘date’].apply(extract_month) it gives me this error Is there a way to fix it?. a + Code Python 3 (ipykernel) O # O [5]: df…
  • hi can someone help me on this lab? I am getting some error, it works once then got problem. This lab about web scraping code & plot/graph of data, and we have to pick wiki page of any state. You …
  • Implement recursive function webdir() that takes as input: a URL (as a string) and non-negative integers depth and indent. Your function should visit every web page reachable from the starting URL web…
  • How do I get the expected output? Link to Csv File: https://drive.google.com/file/d/1q6KNmWeRolghLvzOrNGWtbXwfm-JCOw1/view?usp=sharing USVideos.csv – Descriptive Analytics 1 Data Provided: For the pro…
  • Need to make the following code movable in Python import turtle t = turtle.Turtle() def create_oval(color, radius, x, y): ¬†¬†t.penup() ¬†¬†t.fillcolor(color) ¬†¬†t.goto(x,y) ¬†¬†t.pendown() ¬†¬†t.beg…
  • CMSY 156 – Lab 7 Lists (50 points) Objective: Store and process test scores using lists and functions There are seven functions required for this lab. A list must be used to store and process all test…
  • Probability using python: I plotted the histogram showing how many arrivals we get in 1 min which is between 0-1 as we expect since we have 5 arrivals per hour. Now i want you to plot the histogram of…
  • Instructions Add three methods to the¬† Student class that compare two Student objects. One method ( __eq__ ) should test for equality. A second method ( __lt__ ) should test for less than. The third …
  • py) Suppose the text file myname.txt contains three lines, each terminated by a newline (‘\n’). Suppose the¬† code below is executed, yielding the 4 lines of output that follows it: file_ref =…
  • Company ABC is spending on Facebook, Pinterst, Twitter, and Online Display for marketing in order to drive increase in sales. In order to see how well their marketing budget is performing, we are task…
    • function return list of image names¬† 2- half population = ??¬† 3- function to kill half population rondamly¬† which mean delete image from universe folder¬† print after each 2 seconds¬† done kill …
  • What is the best Python book for Machine Learning and for beginners?
  • A state motor vehicle agency needs to calculate annual registration fees for vehicles registered in the state.¬†Fees are based upon the vehicle type (car or truck) and the vehicle weight. create Pytho…
  • You are a songwriter, tired and upset because of all the lame easy rhymes that are in the most popular songs today. You decide to write a program that checks if two words rhyme. The program ignores an…
  • How would you iterates through the following dictionaries and create a new dictionary that with the values for each key computed according to the following rules: ¬† 0 and 0 for values is 0 for the ne…
  • whats the awnser to the problem using the software IDLE
  • How do I write this program? 1 . Write a program that a . defines a list of countries that are members of BRICS ( Brazil , Russia , India , China , Sri Lanka ) b . Check whether a country is a member …
  • Please show work! 5. Art project. In my_geometric_art2 .py, use the ability to draw rectangles and circles, changing colors where needed, to make a far more impressive work of art. You are also welcom…
  • Please help me with this questions, including how to approach the problem, thank you! Q1: Merge We’ve provided you with an implementation of the function merge. merge takes 2 sorted lists lst1 and lst…
  • I need help with using range based loops. I need to use it for this assignment. J Part 2 ‚ÄĒ D20 Dice Game [Range-Based For Loops) 0 Background 0 20-sided dice were used as early as 300 BC in Ancient …
  • Many studies have been conducted to describe the relationship between the trade activity(volume) and the price change. Ask (Sell) and Bid (Buy) orders on the border book might signal the direction of …
  • Scenario #1: A car dealership has hired your software development firm to build a new car inventory program. You first need to develop a class that represents the inventory of the dealership. What com…
  • Does anyone have the right python code for CS192 Week 6 assignment Team Management Part Three? If so please upload it so I can copy and paste it. Make sure it have the right input please.
  • [(‘5064’, ‘Meryl Streep’), (‘9’, ‘Narrator’), (‘0’, ‘Herself – Narrator (voice)’), (‘2’, ”), (‘4’, ‘Herself’), (’11’, ‘Michael Vronsky’), (‘4’, ‘Josephine “Jo” March’), (‘0’, ‘Himself’), (‘1’, ‘Himse…
  • Python Can someone please help me fill in these answers in python Link to csv files —–>> https://gofile.io/d/N0a3WO. In: Question T : Load ‘exam3_1.csv’ Ô¨Āle and ‘exam3_2.csv’ Ô¨Āle using th…
  • Using python (a) Write two functions to sort words alphabetically and remove duplicate words from a sentence. (b) You have decided to invest in a new cryptocurrency. You have tracked the average month…
  • . Question 1 What is the difference between a parameter and an argument? Question 2 Consider the following interaction at the Python shell: 32 def return_somet … return "Hi!" . . . Is th…
  • Write a python code using Jupyter notebook that generates a¬†permutation and¬†prints the permutation
  • would you please tell me how to do a question 4 and sent me a codes and screen short when you done. here is my excel file link you can go look the document :¬† ¬† https://seneca-my.sharepoint.com/:x:/…
  • 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 …
  • For the following function that accepts as input a list¬†lst¬†of positive numbers, identify the tightest simple bound of the worst-case computational complexity in terms of the size of the input¬†n = …
  • 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…
  • . Description: You have been asked to write a script for your friend’s new Panini Shoppe that will compute the cost of a customer’s order. Write a Python script (with comments] that allows the user …
  • Given the following data: Name, MTA, TMA, CA, Final, LGrade, Samir,25,18,0,60,x, Abir,18,13,0,50,x, Fouad,10,2,0,55,x, Najwa,15,14,0,53,x, Dany,10,5,0,40,x, Suzan,27,17,0,80,x, Jamil,16,15,0,33,x, Abd…
  • def get_StateWiseAvalblBedStats(self): 1=0 for i in self.city_list: L.append(i.state_name) I=set(1) I=sorted(1) res= for i in l: k= acb=0 avb=0 for j in self.city_list: if i==j.state_name: acb+=j.avlb…
  • simple program to simulate the operation of the grep command on Unix. Ask the user to enter a regular expression and count the number of lines that matched the regular expression: $ python grep.py Ent…
  • how do I create my own function for determining if a password is strong. it must include: at least 8 characters upper and lower case at least one special character !#$%&()*+,-./:;=?@[]^_`{|}~ my f…
  • #variables cost = float(input(“Put in cost of gas:”)) num_gallon float(input(“Put in number of gallons purchased:”)) #calculation total_cost = cost*num_gallon print(“The total cost of your gas purchas…
  • #Python I have obtained p-value. Now I need to plot this in a Q-Q plot using a uniform distribution. Both p-value and uniform distribution should be in -log10. I tried using “qqplot_2samples” but when…
  • hello! im trying to ger this answered asap! my problem is that im trying to get the error message for something that is not numeric or a decimal which i tried with line 39-40. line 42-43 works but …
  • need help with my code. Edit . View Navigate Code Refactor Run Tools VCS Window Help lab6.py – lab6.py ads ) lab6.py b6.py X lab7.py X lab7 (1).py X doctest.py> def longest_chain(Ist: List[int]) -&…
  • Hello! I am trying to find the best way to calculate the weight based on the criteria below. I have the current age in days but having trouble using to calculate date. ¬†Current weight is calculated a…
  • import turtle def drawSquare(aTurtle, side): ¬†for i in range(4): ¬†aTurtle.forward(side) aTurtle.right(90) def nestedBox(aTurtle, side): ¬†if side >= 1: ¬†drawSquare(aTurtle, side) nestedBox(aTurt…
  • how to draw a struktur chart ,pseudecode and flowchart? (27) YouTube X Assignment 20. X AACS1074 PCD X – PCD1 Lecture V X G hp pavilion gan x WhatsApp X 30 Tunku Abdul R X @ DIA G7 PCD1 – x G long flo…
  • TOPIC: LINKED LIST(Unsorted to Sorted) Need a Python class, nodeType, that has two instance variables Info and Link. Change the unsorted linked list implemented below to Sorted linked list. (you shoul…
  • Question 1 ¬† Using Python and Numpy create a 2 dimensional array that has the following elements: Row 1: 0 1 3 7 Row 2: 4 8 0 2 Print the array along with it’s shape CODE: import numpy as np firstarr…
  • A 15 order spline has continuous derivatives up to order ____?
  • Each problem below must be solved using at least one function.¬† Log file is located in the comments ¬† 1. Which node had the most “failed payment” records? Display the node and number of records in t…
  • I need help with my python lab. The question is; ‚ÄĘ One-line Program:¬†Write a program which prints the following output using just one print statement. To show off my Python string formatting, Here’…
  • To start this part, first download the lab04files.zip file from Submitty. The file contains many images. Unzip this folder in your Dropbox folder for Lab4. For simplicity, make sure that your programs…
  • Develop a program that asks the user repeatedly to enter a student’s score or enter -1 to stop. When finished entering all the scores, the program should display the number of scores entered, the sum …
  • Monitoring network traffic is very important for any organization. By doing so, a security professional can detect and respond to threats quickly. In addition, network performance can be monitored so …
  • 2.3 Basic while loop expression CHALLENGE ACTIVITY 4.2.3: Basic while loop expression. Write a while loop that prints user_num divided by 2 until user_num is less than 1. The value of user_num chang…
  • QUESTION 13 Joey’s wedding reception had 60 members of his family, 30 members of his wife’s family and 20 friends in attendance. A group of six was selected by the DJ to participate in a dance. Leavin…
  • For each of the integral given below, do the following using Python Programming a)¬†¬†¬†¬†¬†¬†¬†¬†¬†plot the graph related to Trapezoidal’s rule or Simpson’s Rule for number of intervals that have cho…
  • Choose your own (data) adventure (7.5 points) In this task, we’d like you to do some kind of data analysis yourself. Find some data in CSV format The first step is to find some data in CSV format. The…
  • . Create a program in Python that will determine a cable bill. The bill is based on how many cable boxes are in the house, the standard monthly fee and any additional channel packages, such as sport…
  • please try to solve it with an efficient algorithm, since I could not pass the case within the required time limit.. _ Knight Jump _ You are given a two dimensional chess board of size N X N (1 ‚ÄĒbas…
  • How do I change the PostDate column into the format Aug 2018, using calendar.month_abbr[1]? import calendar def function (month) : "calendar .month_abbr[1]" dd=transactions . pivot_table (va…
  • Please ¬†. In this question, we will consider quadrature rules with /V nodes, where the nodes xx are defined as the Chebyshev nodes, i.e. (2k – 1)T Ck = COS 2N k = 1, . .., N.
  • Vehicle Attributes Make Model Color Fueltype Options Functions getMake() getModel() getColor() getFuelType() getOptions() Car Attributes engneSize numDoors Functions getEngineSize() getNumDoors() Pick…
  • Look at the code segment given below. Run the code and see what happens. Explain the reason for the error and how this error can be corrected. Hint: Try to use a try/except block to handle exceptions …
  • I need a program that includes the following three functions. Functions ¬†squareEach(nums) In this function, nums is a list of numbers. It modifies the list by squaring each entry. ¬†sumList(nums) In …
  • . In [9]: key_list = ["key1", "key?", "key3"] value_list = [12, 19, 1 # Write a for Loop to create a dictionary named a dict using key_List and value_list # Create on e…
  • write sql code for this question: my bill table has bill-id dueDate PaidStatus Customers who do not pay their bill within 60 days will their water supply cut off
  • In this lab, you complete a partially prewritten Python program that uses a list. The program prompts the user to interactively enter eight batting averages, which the program stores in an array. It s…
  • I need help converting the pseudocode into python language. I know what im doing to an extent but i just do not know where to start
  • I cannot get This code return data for addresses only that are in the specified country. Sorry for the confusion! Geocoding Assignment Write a function that gets geolocation data for a given address. …
  • MNIST dataset – The MNIST dataset is divided into two sets – training and test. Each set comprises a series of images (28 x 28-pixel images of handwritten digits) and their respective labels (values…
  • . Phone Number Validator You are given a number input, and need to check if it is a valid phone number. A valid phone number has exactly 8 digits and starts with 1, 8 or 9. Output "Valid&quo…
  • I need help finishing this program and the instructions above according to that thank you Implementation of a class Fish is given below and also attached below. Fish.py d . Complete the _str_ function…
  • use turtle graphics to make an interactive forest drawing application. Start by creating a module ‘utilities.py’ which should contain four drawing functions as listed below. draw_triangle(centre_x, ce…
  • Define a function called print_value that takes in a value and prints it. In script mode.
  • Question 7. Using the results from Question 6, generate a histogram of the empirical distribution of the number of times you saw the area code 781 in your simulation. NOTE: Use the provided bins when …
  • Please help with python!!! The following code listing has detailed comments about the use of a function called¬†pq_range_query_orthogonal, an implementation of rectangular range query using a point qu…
  • Now it’s your turn. Define a Circle class. A circle is created similarly to a square, specifying center and radius, as in: Circle((2,¬†3),¬†4) (a circle of radius 4 with center in (2, 3)). For a circl…
  • Your parents pay you $3 for each trash bag full of leaves you rake. If you can fill more than 10 bags in a month, they give you a bonus of $20. Write program that asks the user how many bags of leaves…
  • Keras python import keras from tensorflow.keras import layers input_shape = (8, 8, 1) num classes = 3 model = keras . Sequential( keras . Input ( shape=input_shape) , layers . Conv2D(2, (2, 2) , strid…
  • # Get tree height from userheight¬†=¬†int(input( ‘Enter height of tree: ‘ )) # Draw one row for every unit of height row¬†=¬†0 while¬†row¬†<¬†height: ¬† ¬† # Print leading spaces; as row gets bigge…
  • ¬† What am I doing wrong? ¬† #Welcome message #Add menu options ¬† #1 code that displays the menu def print_menu(): ¬† ¬† print(“================================================================…
  • #Problem 1 Credit card numbers are 16 numbers long with spaces every four numbers (represented by s below).¬†Order of the numbers means something specific as shown below.¬†The first number represents …
  • Programming challenge description: ¬† Write a program that, given an integer, sums all the numbers from 1 through that integer (both inclusive). Do not include in your sum any of the intermediate numb…
  • The Student Records Algorithm Program¬† Write program that read in a text file called “students.txt” The program will need to store all of the data (Name, ID#, Age and GPA) into an array of Person rec…
  • What is the error in this code? ¬† try_again = True while try_again == True: ¬† ¬†pwd = input(‘Input your password: ‘) ¬† ¬†length = len(pwd) ¬† ¬†got_alpha = False ¬† ¬†got_number = False ¬† ¬†got_ch…
  • Please try in Python, till whatever extent you can, so that I can learn. Problem 1. Principal Component Analysis. Consider the following dataset: N << hBODQDNNI‚ÄĒlo OTOJNODHl‚ÄĒ’H (a) Normali…
  • Implement a code with this problem using iteration for factorial : (Problem: Probability without replacement) ¬† A box contains 6 white balls and 4 black balls. Three balls are taken at random from th…
  • Hello, I really really really need help using Python. The task is to encrypt, decrypt images using Python and Visual Studio Code . The codes and project can be found here in this link since I can’t at…
  • Write a python¬†function to¬†count the number occurrences all vowels present in a string 2. Write a python¬†function to¬†find common characters presents in two words 3. Write a python¬†function to?…
  • What is the ROC Area Under the Curve Score for the testing set? [Upto 2 decimal places]
  • Chapter 5 Exercise A Complete using a for loop. Print a metric conversion chart which shows pounds converted to kilograms. The chart should print pounds from 1 to 50 and their equivalent kilograms. (T…
  • 1) Which property of a Describe object can be used to determine whether a raster dataset is temporary or permanent on a drive [a] _______? ¬† 2) Fill the blanks so that the following code can be used …
  • Programming exercise ¬† 1. Pet class Write a class named Pet, Which should have the following ¬† -__name(for the name of a pet) -__animal_type (for the type of animal that a pet is. Example values are…
  • PYTHON QUESTIONS: 1. Write a function named gsNums that assumes 2 parameters: (1) a list of numbers called numbers and (2) a second argument representing the largestNum ( inclusively ) to be incorpora…
  • Objectives: – Exposure to operational log analysis. – Understand dataset with data scientist mindset. – Perform simple exploratory data analysis. – Design computation logic and routines in Python. – A…
  • I need an answer of these example questions ¬† ¬†. Question 38 (1 point) Listen def outer_fun(a, b): def inner_fun(c, d): return c + d return inner_fun(a, b) return a result = outer_fun(5, 10) print(r…
  • How can I create a new table in Jupyter where I am looking at two pre-existing tables and look for similar data within the two? Example is that I am looking at two tables, one called compensation and …
  • HOW CAN I CONSTRUCT THIS PROGRAM? {11. Write a program to read a positive integer as input. Output True if the number matches a repeating x’r pattern, output False otherwise. You may assume the numb…
  • We have two girls, Sam and Tam, and the parameters Sam_smile and Tam_smile indicate if each is smiling. We are in trouble if they are both smiling or if neither of them is smiling. Return True if we a…
  • def getMovingAverage(series,duration): ¬† ¬†mvg_avg = list() ¬† ¬†running_sum = 0 ¬† ¬†#YOUR CODE GOES HERE ¬† ¬†import numpy as np ¬† ¬†running_sum += 1 ¬† ¬†cum_sum = np.cumsum(series); ¬† ¬†while r…
  • Question #1: Create a scenario from your own experiences that can be used to model a counting question using permutations (note: multiple categories are required). You may use section 6.4 of your text…
  • Can see the full answer of it. Question 2: We would like to plot the death rate for each disease over time. To do so, we must create a table with one column for each cause and one row for each year. C…
  • Coding Problem directions #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…
  • Question 1: Consider the following example: dogs=[ ‘Labrador’ , ‘Poodle’ , ‘Beagle’ ] dogBreed = input( “Please enter Labrador, Poodle, or Beagle: ” ) if dogBreed not in dogs: print ( ‘Oops, no, ‘ + d…
  • Create a program in Python for Na√Įve String Matcher (Algorithm 6)
  • Use pythonÔľąwhileÔľĆfor loopsÔľČ ask the user to enter how many numbers in the list Ask user to enter each numbers Ask user to enter a number m Check if the sun of any 5 numbers he has entered can ad…
  • In this lab assignment, students will demonstrate the abilities to: – (create) and use strings – Use string methods – Write code to read data from a text file – Write code to write output to a text fi…
  • A function variable or a variable name used in the parentheses of a function definition is called a¬†(see x below): argument parameter class variable¬†¬†¬†¬†¬†¬† A¬† value passed in a function call ¬†…
  • Create a function with a local variable. show what happens when you try to use that variable outside the function. explain the results
  • On a piano, a key has a frequency, say f0. Each higher key (black or white) has a frequency of f0 * r n , where n is the distance (number of keys) from that key, and r is 2 (1/12) . Given an initial k…
  • hello need help creating a python recursive function
  • The fibonacci sequence starte 1,1,2,3,5,8 …… each number in the sequence(after the first two) is the sum of the previous two. how to write a program using recursion that computes and outputs the n…
  • Program 2:¬†¬†¬† ¬†Guess the phrase ¬†(25 marks) ¬† 1. Write a program to rearrange the letters in a phrase and then allow the user to guess the original phrase. ¬†Assume the original phrase will be 7…
  • The process of rebalancing a node is called a redistribution. There are four possible redistribution: LL, LR, RR, and RL. Group of answer choices True ¬† False
  • Write a program, which will find all such numbers between 1000 and 3000 (both included) such that each digit of the number is an even number. The numbers obtained should be printed in a comma-separate…
  • Fill in the blanks so that the code will export the ist data frame to a pdf file with width of 200 and height of 300, and resolution of 400. import arcpy mdoc = arcpy. mapping. MapDocument(r"C:\t…
  • <Python coding question> Randomization -Write a function called¬† randomization ¬†that takes as input a positive integer¬†n, and returns¬†A, a random n x 1 Numpy array. *use import numpy as np G…
  • Write a function executel_lds (plan, start ) that takes a plan as a list of moves, and the initial start location of our truck, and returns an integer corresponding to the distance travelled by the tr…
  • I NEED IT IN PYTHON PLSSSS. Click here for PDF version, 1. [30 points] Use the first- and second-order conditions for local minimum to find all local minimums of f:XER2 + 2×12 + 2×27 + 3xpx2 + 8×1 – x…
  • 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 string values in reverse order. The function is to be called from…
  • PLEASE CODE IN PYTHON ¬† Problem Description An anagram is a word or a phrase formed by rearranging the letters of another phrase such as “ITEM” and “TIME”. Anagrams may be several words long such as …
  • Implement the core function¬†knn_classify(k, labeled_points, new_point)¬†for KNN classification algorithm. Implementation will use the¬†distance(v, w)¬†and¬†majority_vote_weighted(labels, distances)¬†…
  • How can I make an iterator class ReverseIter that takes an input sequence and creates an instance that is an iterator that iterates over the input sequence in reverse order. I don’t understand how to …
  • https://www.universityofcalifornia.edu/infocenter/admissions-source-school ¬† 2.1- ¬†Let’s first look at students from San Diego County. Set sd_county to a DataFrame of only the high schools in San Di…
  • The file jekyll.txt contains the complete text of Robert Louis Stevenson’s novel The Strange Case of Dr Jekyll and Mr Hyde . Make a list containing every line of this text document, and to the end of …
  • I am working on a mid-term project and have run into an issue web crawling a website that has a load more button to see more information. I am trying to use beautiful soup. I would like tutoring help …
  • SIGN_GROUPS = ‘[ARI,LEO,SAG],[TAU,VIR,CAP],[GEM,LIB,AQU],[PIS,SCO,CAN]’ SIGNS = ‘ARI:03,21–04,19;TAU:04,20–05,20;GEM:05,21–06,21;CAN:06,22–07,22;’ + \ ‘LEO:07,23–08,22;VIR:08,23–09,22;LIB:09,23-…
  • Add (and test) several functions to a4.py that should produce the correct results as described in this specification. The crimes_in_ottawa.csv , a4.py , a4_results.py are below the question. crimes_in…
  • Back in the day, companies stored their records in a file very similar to this one. In fact, even up to today, some companies still store their records in a file like this. In order to store informati…
  • I only need help with the lab04 file (solveMaze function), I can’t seem to backtrack correctly or get it to return the correct statement. I’ve attached the code I’ve been working on so far, ¬†. Ins…
  • Show what happens when a variable defined outside a function has the same name as a local variable inside a function. Explain what happens to the value of each variable as the program runs.
  • Writing a Python-function that returns the sum of multiples of 3 and 5 between 0 and¬†n¬†(parameter). For example, if n is 20, it should return the sum of 3, 5, 6, 9, 10, 12, 15, 18, 20. …
  • Overview PyCharm is an integrated development environment (IDE) used in computer programming, specifically for the Python language. It makes it easier for programmers to write various web applications…
  • def f(x): ¬† ¬† return x**2 ¬† n = 400 ¬† xlist = [i for i in range(n)] ylist = [f(x) for x in xlist] ¬† print (‘this is the xlist: ‘, (xlist)) print (‘this is the ylist: ‘, (ylist)) ¬† ¬†#save x and …
  • Can you please show me an example of if then statements in python. I have to create a story thats due tonight and It has to include decisions like do you wants to go down path a or path b? and each de…
  • The purpose of this assignment is to import data into the R environment. Follow the steps below to execute the assignment. Download the “Beginning.RData” file. Import this data into the R environment …
  • Hi, I need help designing code for those instructions , please help me ! The instructions are as following: # “Many programmers who specialize in the subfield of Human Computer Interaction (HCI) work …
  • I am having difficulty understanding what needs done here. The code brings up the right output but it gives me a score of zero. It looks like I need a newline added but I cannot for the life of me fig…
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
  • Use python and machine learning COVID-19 data¬†set https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data or https://ourworldindata.org/coronavirus-source-data To predict the total …
  • design a student class from which you will instantiate objects. design a class named Student that can hold the following data about a student:¬† Name Student ID number GPA Expected grade in this cours…
  • Need a python code for question 1 through 10. Using the list names defined as follows: names = [“Euclid”, “Archimedes”, “Newton”, “Descartes”, “Fermat”, “Turing”, “Euler”, “Einstein”, “Boole”, “Fibona…
  • Skip To Content Dashboard Account Dashboard Courses Calendar Inbox Help Library Logout CIS156 16877 Assignments Assignment 01B- Pennies to Dollars and Change SM 2019 FALL CREDHome Announcements Syllab…
  • PYTHON PROGRAMMING ONLY Please attach a picture of the source code and the program run thanks.
  • Clone this repository https://github.com/SamuelYute2/COM422-Assignment-1.git In this Assignment, your Pacman agent will find paths through his maze world, both to reach a particular location and to co…
  • Problem: In geometry, an octagon is an eight-sided polygon. Each internal angle is 135 degrees. implement a python program that draws the below diagram using the turtle. You should consider the follow…
  • Here is my final output.I just want you to check. and please change my python to .py not .pynb¬† ¬† Output: https://drive.google.com/drive/folders/1SlRD4ViPRmJcfoeRSq1mTzfPCAu0n4ns?usp=sharing
  • Function 1: def silly_case(in_string): Given a string, convert it to a string such that each word starts with a lowercase letter, and the remaining letters are uppercase. Return the silly case string….
  • Problem 2 The variables of interest in an absorption column are the steady-state composition of solute in the liquid, x, on each plate and the steady-state composition of the solute in the gas, y, on …
  • 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 None, co…
  • Im having trouble Creating a Python script that takes two parameters to do the following:- 1)¬†¬†List all files names, size, date created¬†in the given folder 2)¬†¬†Parameter1 = Root Folder name Param…
  • Python Coding Create a dictionary that contains a list of people and one interesting fact about each person… 3 names with one random fact about each person Heres my rough draft: person = { ¬†¬†¬†‘Jo…
  • This week’s assignment involves writing a Python program to compute the weighted average grade for each student in a group of four students. In addition, it should determine which student has the high…
  • Hello! I have this Python code due on Friday. If someone could help me out that would be great! Activity #2: Taking limits to compute derivatives In an earlier lab, we observed how we could have a fun…
  • I would appreciate some working python code that generates x amount of automated teller machines every five minutes.¬† – The program should bring up the locations of ATMs within a 5 minutes interval. …
  • For each one, you should determine whether it is correct, meaning that it runs without error and prints the correct value. If it is not, explain precisely what is wrong with it. Assume that variable x…
  • Please comment the so I see how you did it, attachment for details including all code needed. This homework consist of three problems. The first involves generating five random cost matrices and using…
  • Nested loops Fundamentally, computers just deal with numbers. They store letters and other characters by assigning a number for each one. The Unicode Standard provides a unique number for every cha…
  • Part 1 In the first part of this homework we will work with Francis Galton’s data on paternal and child heights. We will use code from the notebook “Looking at Pairs of Features Part 2”. You should re…
  • I need help writing a python module for this question. 1 . – Create a Python module named Discounted Payback Period . – Use appropriate Variable names to represent their associated values illustrated …
  • set_format(‘population_total’, NumberFormatter) fives = np.arange(1970, 2016, 5) # 1970, 1975, 1980, … b_five = b_pop.sort(‘time’).where(‘time’, are.contained_in(fives)) b_five ¬† Question 2. …
  • Write code that prints the list items from Q1 except when the last name is Logan from a list
  • I want to be an Information technology or programmer¬† ¬† In no more than 500 words, write an essay about you after ten years Be creative in creating your own title
  • d) An employee’s total weekly pay equals the hourly wage multiplied by the total number of regular hours plus any overtime pay. Overtime pay equals the total overtime hours multiplied by 1.5 times the…
  • In below data set, how to write the Python code to show how many countries where the names are different from NOC ?¬† ¬† Before solving this problem, but how to write the python code to make ensure th…
  • answer this You must submit your own work. For each of the following programs, start your code with three comment lines explaining what your program does, your name as the author, and today’s date. 1….
  • Give a python code for to add given numbers. Iam new to programming.
  • Python: Part 1: I’m working on a very basic python program that prompts users to type in the number of cats and dogs they have. Then the program will tell the user if he/she has more dogs than cats of…
  • What am I doing wrong here, I cant get program to sort the list in alphabetical order prior to it being printed. ¬† Here is my code.¬† ¬†. catNames = while True: print(‘Enter the name of cat ‘ + str (…
  • would you please tell me how to do question1 A to D. ¬†Thank you
  • For either of the exercises write: 1. Choice of Pseudo or Raptor 2. Python for both ¬† Question 1: (Choice of Pseudo or Raptor) + Python Question 2: (Choice of Pseudo or Raptor) + Python ¬† ¬† Submit …
  • OTP ¬† 4.1 Encoding and understanding helpers Our encoding scheme will take the message and start by converting it to a binary numeric (an inte- ger) and binary string (string). We will then generate …
  • write this program in python language. thanks¬†. A function can return at most one value. However, sometimes we may want to return multiple values from a function. Tuples can come in handy in such cas…
  • Please provide solutions to the question . Free to use any method from python . Thanks in advance.¬† ¬†. Employee .XLSX 4 File Edit View Insert Format Data Tools Help Y – 100% View only V H9 fx A B C …
  • I need the codes in text form.¬† Thank you. Exercise 1: Write a program that calculates the amount of a server’s tip, given the amount of the bill and the percentage tip as input. Enter amount of bill…
  • please write a python program to Write the following two function definitions, and call each function appropriately in order to test and show that each function works. Please write both functions in t…
  • Question 2 (18 marks) 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 …
  • . Task 1 [13 marks] 1) Ask the user for 3 numbers (3 marks) 2) Using a loop, a) Start from either the first or second number (2 marks) b) End at either the first or second number (inclusive) (2 mark…
  • I have this code: #added libraries in the code import numpy as np import matplotlib.pyplot as plt #class Agent class Agent: #constructor for agent def __init__(self, location=None, color=’green’, n_ne…
  • This assignment is creating a graphical oop within python turtle graphics.¬† The constructor will take the following information: self, x, y, height, color You will then have a method for drawing the …
  • I’m trying to give an explanation on what Selection/Branching is on programming in python. And an example in code. Is this a good example? Selection/Branching ¬†– used to make decisions based off of s…
  • it do nothing , i only see the question again. Data Cleansing (%70) For this assessment, you are required to write Python (Python 22’3) code to analyze your dataset, Ô¨Ānd and Ô¨Āx the problems in the…
  • Linked Lists Consider the implementation of the Ordered Linked list class, implement the following functions as part of the class definition: ‚Ė™¬†¬†¬†index(item) returns the position of item in the l…
  • I need help with below syntax error: object is not callable when run below from python: bill¬†=¬†47.28 tip¬†=¬†bill¬†*¬†.15 total¬†=¬†bill¬†+¬†tip share¬†=¬†total¬†/¬†2¬† print¬†(“Each¬†person¬†needs?…
  • Writing a Python class named Food constructed by name of food, quantity of servings of food, calory of one serving, a method which will set the food with specified name, quantity of servings and calor…
  • Reflect on your work in the whole course, considering all the different aspects of programming in Python that you’ve learned. How can Python be applied to solve real-world problems? You may need to…
  • How would I go about this? Ask the user to enter a string.¬†Convert all letters to uppercase.¬†Count the frequency of each letter in the string. Store the frequency counts in a dictionary.¬†You should…
  • Define stubs for the functions get_user_num() and compute_avg(). Each stub should print “FIXME: Finish function_name()” followed by a newline, and should return -1. Each stub must also contain the fun…
  • Can you help me with this python assignment? ¬† Can you please add comments explaining the part while solving this assignment? ¬†. Program Requirements Create a simple Python application following the…
  • Using python 3 I need help displaying this code Python Programming I – Honors Microsoft 40461 Unit 2 ‚ÄĒ- Python data structures such as strings, lists, and range sequences, as well as methods for wor…
  • how to create a basic hello world program in Python.
  • I need help with the BUS 104 Introduction to Computational Thinking Lab Assignment #4
  • Can somone please assist me with my assignment on programming payroll using python programming. The Assignment is to work on a payroll calculation program.
  • Apply a right fold with the division operator and an initial value of 1 on the list [1, 2, 3, 4]?
  • What am I doing wrong with this python code. Since the introduction of the Gregorian calendar (in 1582), the following rule is used to determine the kind of year: if the year number isn’t divisible by…
  • Problem description ( Not sure how to attach files) Write a program that will calculate and display statistics of Broadway shows where the data comes from a comma-separated values (CSV) file. We will …
  • Implement function avg_val(lst), which returns the averagevalue of the elements in list. For example, given a list lst: [19, 2, 20, 1, 0, 18], the functionshould return 10. The name of the method shou…
  • Python Coding: ¬† We need to make a student file that contains a class of Students, which contains ¬† Functions:¬† ¬† a. __init__() i. name¬† ii. birthday (in format: mm-dd-yy)¬† iii. digit-score ¬† b…
  • Hi, can you please assist with the below code. ¬† Everything i need the code to do is working, except i need to change/ add a different output path for the newly¬† created directory’s, i don’t want th…
  • Requirements Create an employee table with the following fields: (10 points) employee id number – this should be a randomly generated number between 1000 and 9999. first name last name street address …
  • I am having trouble with my assignment(pic 2,3). I have the codes (pic 4,5), and fixed the error in server.py with the parameters with putting localhost 8000. Moving to my client.py I run the code and…
  • https://www.geeksforgeeks.org/python-using-for-loop-in-flask/ how can change the color on one word in the list pokemon and add pictures aligned to the right in example one.
  • A¬† civil¬† engineering¬† company¬† called¬† Build¬† Bold¬† has¬† approached¬† you¬† to¬† write¬†some¬†programs¬†to¬†help¬†some¬†of¬†their¬†employees¬†with¬†getting¬†their¬† job¬†quicker¬† specially¬†…
  • Need help with Python and machine learning. Using the data below (assume it follows poisson dist), calculate the maximum likelihood estimation, and obtain the Poisson Distribution parameter, and plot …
  • write a genetic algorithm using python ¬†to find the minimum for the function f(r) = sum i=1 to n-1 sum J>i to n ¬†(rij^-12 – rij^ -6 ) rij = sqrt( (xi-xj)^2 + (yi-yj)^2) ¬† n = 6
  • Write a hangman game that randomly generates a word and prompts the user to guess one letter at a time, as shown in the sample run. Each letter in the word is displayed as an asterisk. When the user m…
  • I am trying to do a very simple program, when run on bandit directory, it would generate B106 plugin message which is for hardcoded function password argument. I am trying to use this code but it gene…
  • PYTHON . Create and test a class called lamp. This class should have the state of either being on or off, and have a switch that if the light is off, it will turn it on, and if the light is on, it wil…
  • Please write a program using generator to print the numbers which can be divisible by 5 and 7 between 0 and n in comma separated form while n is input by console.
  • why when I do this codes is not works in JUPYTER notebook when I try to runs all code. ¬†please tell me a correct codes if I’m do wrong , when you done please sent me a code and screen short. Thank yo…
  • Python API IMDB ¬† import requests api_key = “b5fead990c45bf6da5a6e002df29743d” base_url = “https://api.themoviedb.org/3″ r = requests.get(f”{base_url}/tv/on_the_air”, params={‘api_key’:api_key}) data…
  • D Question 5 1 pts Given the following with open(‘ accounts . txt’ , mode=’w’) as accounts: The file accounts.txt is being opened in what "mode"? O append read and write O read O write
  • Please see this program in python : Help me to create input file with your original three-or-more items and add at least three new items, for a total of at least six items. Include the following The i…
  • HI there really struggling with this course, honestly just looking to get by! Could someone please solve this lab report for me. If you could follow the instructions and criteria listed that would be …
  • For this assignment, you will be creating the functions that have to do with the Board in a file named BoardGenerator.py. In it we will place the CreateBoard(), ShowBoard(), and PlacePlayer() function…
  • 15 LAB: Password modifier ¬† Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by replacing characters using the key below,…
  • How to design and model classes in python and use them in a single program?
  • Link to data set: https://drive.google.com/file/d/1kuV4ByYOnuC8CRX25vuTB-iuIqbd-zWV/view?usp=sharing What does influence university ranking? 1-Choose relevant factors, clean data & find the coeffi…
  • # TODO: Import Artist from Artist.py and Artwork from Artwork.py Artist.py file: class Artist: ¬†¬†¬†def __init__(self, name=None, year_birth = 0, year_death = 0): ¬†¬†¬†¬†¬†¬†¬†self.name = name ¬†¬†?…
  • Please assist with writing a code for a in the screenshot. Here is what I have so far but I get the print “BLAST OFF!” after each count instead of at the end, how do I get it to print only at the end …
  • Most Frequent Character Write a program that lets the user enter a string and displays the character that appears most frequently in the string. In Figure 1 below is the sample output. 1.¬†¬†¬†¬†Compl…
  • Solve the Naive Bayes exercises. Reformulate NB to emphasize title words. We will use the NB model implemented in sklearn:¬† ¬† https://scikit-learn.org/stable/modules/naive_bayes.html ¬† Below are th…
  • I am currently working on loops in Python. The exercise that I have to do is the following: “Repeatedly ask the user to either insert a number, or type stop. When the user types stop, print the sum of…
  • 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…
  • #Problem 1 Write function count_word that accepts a word to be searched within file word.txt and returns the number of times the given word appears in the file. ¬†Your main function will ask the user …
  • Programming language used: Python. Pandas was imported as well.
  • In Lab we wrote a program to calculate energy bill for households.¬†We are going to rewrite that program with value returning functions.¬†Energy consumption is measured in kilowatt hours (kWh).¬†The m…
  • Write a function to compute the factorial of a number ‘n’. Use your function to solve the problem. First, prompt the user to enter the number ‘n’ whose factorial you wish to compute
  • import os picList = os.listdir(“C://Users//PaulJung//Desktop//UOP-Class//CYB130//Week3-HTMLPython//Pictures”) I need help with below. I’m getting the following error: OS system call failed. An error o…
  • How would you 8:00AM from the following sentence in python? “David and Lucy walk one mile to go to school every day at 8:00AM when there is no snow.”
  • I am trying to understand where I am making the mistake. I am trying to product ” I am trying to understand where I am making the mistake. I am trying to produce output “1712 – is a leap year” and “19…
  • Homework 3 Opened: Thursday, 24 March 2022, 12:00 AM Due: Thursday, 31 March 2022, 11:55 PM Write a program with 3 functions: RectPerimeter, TriPerimeter, and CirclePerimeter Each of these functions s…
  • Ask the user to enter the numerator and denominator of a fraction, and the digit they want to know. For instance, if the user enters a numerator of 1 and a denominator of 7 and wants to know the 4…
  • Convert the following decimal numbers to binary.¬† Show the steps. NO STEPS, NO CREDIT.¬† a) 17 (10)¬† b) 119 (10)¬† c) 313 (10)¬† d) 92 (10)¬† e) 44 (10) f) 178 (10) ¬† ¬† g) 297 (10)¬† h) 56 (10)…
  • python code for¬† a function which will take a single string argument.¬† The purpose of the function is to read each cell of the spreadsheet which contains information, and search for the word passed …
  • write a function¬†histogram(input_list)¬†that takes a list of integers as a parameter. The function should print a vertical histogram that summarizes the information in the list, printing a count of t…
  • Question: 5.1: From the raw data below create a data frame ‘first_name’: [‘Jason’, ‘Molly’, ‘Tina’, ‘Jake’, ‘Amy’], ‘last_name’: [‘Miller’, ‘Jacobson’, “.”, ‘Milner’, ‘Cooze’], ‘age’: [42, 52, 36, 24,…
  • Why am I not getting countNum = 3 and countCar = 4 ????? I dont understand. def nonEntiers(): Python 3.9.6 (v3.9.6:db3ff76da 1, Jun 28 2021, 11:49:53) " list -> (str)""’ [Clang 6.0 (…
  • how do i go about this. Can you please use python and for loops. 10. Implement the following function in the PyDev module functions. py and test it from a PyDev module named t10. py: def treadmill(bur…
    • 5 points Plot the filtered gyroscope data and the original gyroscope data. 2.6 5 points How much delay (in seconds) is introduced by your filter for a sine wave with a frequency of 1 Hz?. 2 Filter…
  • textfile: Alabama Montgomery 4903185 198218 Alaska Juneau 731545 32113 Arizona Phoenix 7278717 1660272 Arkansas Little Rock 3017825 197881 California Sacramento 39512223 508529 Colorado Denver 5758736…
  • Read the allowances.txt and generate the salary details of all the 50 employees and generate the text file for all employee with name is E10001_Janurary.txt. Generate the files for all the months and …
  • Hi, I need to build a python script that is 100+ lines and includes class inheritance and file handling. Any suggestions for a beginner project that meets the requirement? I short example/ description…
  • DataCollection interface: 1.void insert(Thing oneThing): a strategy that takes one info boundary coordinating the sort of your Thing and afterward embeds it in the assortment class IN DESCENDING ORDER…
  • Write Python expressions that will calculate the following, and use the REPL to calculate the value of the answer. a: What is the volume of a cube that has edges that are 1.2 metres long? expression–…
  • Question 11A (8 points) A stair (like the one we use to go from floor to floor) consists of two parts: a tread and a riser. Write a function named stair that uses turtle graphics to draw a stair of sp…
  • Implement a stack using linked lists in python Implement a queue using linked lists in python Implement a deque using linked lists in python
  • Problem 1: A research laboratory was developing a new compound for the relief of severe cases of hay fever. In an experiment with 36 volunteers, the amounts of the two active ingredients (A & B) i…
  • Hi can you please help this is the integration phase of the question and I cannot form a correct code¬† ¬† ¬†. Background There are a number of strategies to improve the efficiency of LDS. Two strateg…
  • Please read it carefully and do it do, as they said PSP_Assignment_2_202003.pdf X Course Hero X . New tab x + X O https://moodle-saibt.axis.navitas.com/pluginfile.php/254371/mod_resource/content/0/PSP…
  • How to program a python program (numpy) to read .stl file in ascii format to display the given solid’s vertices and normals ?
  • I am getting the following error: ¬† File “/home/ec2-user/environment/Homework3/buffer2b.py” , line 45 ¬† ¬† @app .route( ‘/’ , methods=[ ‘GET’ , ‘POST’ ]) # displays form ¬† ¬† ^ IndentationError: ex…
  • List three possibilities to consider if a function is not working. I need an example for each reason to help me better understand the difference between all three. 6.9 Debugging. If a function is not …
  • Python Programming. Multiple Choice 1) What is the output of the following code block? . None of the above. it er 2} What is the printed result? .. 1C: .Nrme , diwsmh b , 1C1 . 10:3. 3) A compound …
  • 1.2: Basic function call. ¬† Define print_shape() to print the below shape. Example output:*** *** ***
  • 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…
  • Finally, create your own example of a function that modifies a list passed in as an argument. Describe what your function does in terms of¬† arguments ,¬† parameters ,¬† objects , and¬† references .
  • create a function in python that determines how many seconds are between two timestamps in the format (Hour:Minute:Second)
  • Use the following Annotation data: GeneA GO_0016020,GO_0003677 GeneB GO_0016021 GeneC GO_0003677 ¬† Compute the following in python: 1. Jaccard All Pairs similarity between GeneA and GeneC. Use the me…
  • Please use python and read and follow all instructions very carefully.. Task 1: Coding and Testing a Numerical Integration Routine (10 pts) Use Python to write a function called trapint.py that takes …
  • . Prominently featured def prominences ( height) : The one-dimensional silhouette of an island is given as a height list of raw elevation values at each position, measured from the baseline at the s…
  • Use Python and Gurobi In this problem, we are going to learn the optimal strategy of selecting the right path. Consider the a naive setting of the shortest path problem with only 2 arc from source 1 t…
  • class TextClassifier: ¬† def __init__(): ¬† ¬† ”’ Construct the class ”’ ¬† ¬† ## CODE HERE ## ¬† def loadCorpus(): ¬† ¬† ”’ read documents into a dictionary such that ¬† ¬† ¬† ¬† keys of the dicti…
  • I have an error, charge referenced before assignment. Im not sure how to fix it def main(): custType, kWh = getUserInput() billCalculator(customerType1=custType, kwh1= kWh) totalCharge = billCalculato…
  • Question-Based on Privacy and Security in Online Social Media. Jupyter Notebooks / Google Colab is strongly recommended for doing this Question and showing analysis, graphs, and code. Link for Parler …
  • Infographic In this PA, you will be writing a program that reads in a text file (perhaps containing the contents of a book, poem, article, etc) and produces an infographic based on the text. You will …
  • You have been asked to write a data set showing “wilderness” areas in a national park. These areas are defined as 2,000 feet away from a paved road, 500 feet away from any campsite, and 100 feet away …
  • In python I need help with the is_valid_path method. is_valid_path( self, path: []) -> bool: This method takes a list of vertex names and returns True if the sequence of vertices represents a valid…
  • I need the solution for ex 4,5 and 6 and in the next message i am going to send you the sample data and the figures you need to generate (4) Download the sample data provided in the web page of the cl…
  • Write a program that asks the user to enter an integer number and then tells the user whether it is a divisble by 3. ¬† 2. Define a function sum_cube that takes a positive integer numbers, n , as i…
  • Using Python: I am trying to implement a program for a presentation: using the break statement in loops; reflecting real-life situations in computer code. The break statement is used to exit/terminate…
  • Question 11 pts ¬† What are the contents of list b? >>> a = [1,2,3,4,5] >>> b = [-2*x for x in a] Group of answer choices [2,4,6,8,10] ¬† [1,2,3,4,5] ¬† [-2,-4,-6,-8,-10] ¬† [-2,-4] …
  • If any of the assumptions of linear regression model are violated, we cannot use this model to make prediction. a) True b) False
  • Please help with the error! will rate 1.40 Exercise: a = 2.5 # See whether a lies between 0 to 1, or 1 to 2, # or something else if (a > 0) and (a < 1) : print( ‘between 0 and 1’ ) else if (a &g…
  • Which following statements about ArcPy are true ? ) ArcPy provides Python access for geoprocessing tools, and useful functions and classes in ArcGIS () ArcPy is a Python site package developed by ESRI…
  • . Lab 13 (Advanced Dictionaries) The grades of students depend on assignments, projects, and exams. In this lab, you will write a Python function named gradebook that receives a list of dictionaries…
  • INSTRUCTION¬† Using the starting code file, build upon the program by doing the following: Add a program title and consider the user experience throughout your output. Modify the user table and create…
  • The objective of this exercise is to design a complex measurement system set up that allows me to meet the needs, constraints and requirements of a client. I chose the following instruments for the sy…
  • 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…
  • 1 Demonstrate the correct ¬†flowchart symbols i.e. input/output, process, decision making and so on ¬† 2 Requirement list includes any standard incident response methodologies like SANS, NIST Incident…
  • Creat INSERT statements to add the following records to the D_CDS table. CD_NUMBERTITLEPRODUCERYEAR 90The Celebrants Live in ConcertOld Town Records1997, 91Party Music for All OccasionsThe Music Man…
  • 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…
  • Assist with a Python program developing a list of linear algebra operations as specified in the following functions. I need the program to implement the operations from scratch meaning the programs mu…
  • print the following code.. 2. Define a python function ‘australian_tennis(d)’ which reads a dictionary of the following form and identifies the player with the highest total score. The function should…
  • Please help me solve this python problem i have finished it but i dont know if its good or not Build a calculator in python which alows the user to input 2 operands and supports the following operatio…
  • Use tkinter ¬† lab-1 program-1 text : ¬† My first name is Stu.¬† My last name is Dent.¬† My faculty is Arts.¬† My year is One.¬† ¬† ¬† ¬† ¬† Please make sure to match the output. ¬†. 1. Create a progr…
  • #firstname_find.py #regular find finds the index of the first instance of a substring within a string. #For example "Mississippi".find( "ss") gives the result 2 ( first index of ss…
  • A fair amount of development time, when working as a programmer, is to review code from others.¬† This could be because you inherited code from someone who left the project, or because you are looking…
  • Multicultural Group ¬† by CodeChum Admin Character Discrimination, just saying those words make me sick! Recently, at the annual CharCon (Convention for Characters), I got to see this sick act firs…
  • Create python program named beat_that_single_round. Based upon the description above, the program should implement the functionality for playing a single round of Beat That. When this program is run m…
  • Define another pytest test class ‘TestInventorySellStock’, which tests the behavior of the ‘sell_stock’ method, with the following tests: Define a pytest class fixture ‘setup_class’, which creates an …
  • Eng translation: Define a BankAccount () class, which allows you to instantiate objects such as account1, account2, etc. The constructor of this class will initialize two instance attributes name and …
  • Please solve problems one and two. Cheers. Readings: This homework relies on following references: OOP Question 1: Person Modify the following Person class to add a repeat method, which repeats the la…
  • Here are the documents you need to complete the project.¬† Please submit all the codes that are used to complete the project using Jupiter notebook or colob. ¬† https://docs.google.com/spreadsheets/d/…
  • Write a program that will help you complete a line by randomly selecting words from specific files. The line that you are completing is as follows: ¬† My name is <NAME>, and I am absolutely <…
  • Write a function,¬†size_format(b), that takes an integer,¬†b, that represents a number of bytes and returns a readable string representation of this number of bytes.¬† The representation uses the metr…
  • You want to invest your money in a local bank. They are currently offering several plans, one with simple interest and the other with compound interest. The rates offered at the bank are 5%, 10% and 1…
  • (15 pts) Write a function that meets the following specifications. You can assume "good" values – we will pass you a string: . Name: substitute . Parameters: a string, possibly containin…
  • What is the proper syntax for an “else if” statement in python?
  • How to program a mad libs game using python? ¬†A Mad Lib game is a phrasal template word game where you are prompted for a list of words to substitute for blanks in a story, before the reading the – o…
  • In checking writing systems, it’s crucial to prevent the alteration of check amounts. One common security method requires that the amount be written in numbers and spelled out in words as well. Create…
  • “Write simple nested loop example that sums the even and odd numbers between¬† 5 ¬†and¬† 15 ¬†and prints out the computation” Answer should be: 6 + 5 = 11 6 + 7 = 13 6 + 9 = 15 6 + 11 = 17 6 + 13 = 19…
  • Trace the following flowchart. What is the output printed? Start accumulator = 0 i= 0 accumulator = accumulator + i * 2 izi+1 Yes i<5 No print(accumulator)
  • What type of method returns the values of an object’s attributes without altering its state? ¬† a. accessor methods ¬† ¬† b. mutator methods ¬† ¬† c. positional methods ¬† ¬† d. controller methods
  • When using a bubble sort to sort a 10-element array, on the fourth pass through the array list you detect that no swap has occurred. This indicates all elements in the array are already in the correct…
  • Would you help with this python code. I am most confused about c, but I am not 100% confident on a and b. Thanks.. 3. lGiven f(1′)= V’s? + 71: + 20 +3: (a) Use List comprehension to evaluate the f…
    • Explain the idea of bag-of-words model. 2) What are the two methods to treat the meaningless frequently occurring words? 3) Classify the documents in fetch_20newsgroups. from¬†sklearn.datasets¬†imp…
  • Which is the correct operator for power(x^y)? a) X^y b) X**y c) X^^y d) None of the mentioned
  • 3.1. Function checkParityOfFrame This function must re-calculate the parity of the 8×8 payload and compare it to the column and row parity that was sent as part of the 9×9 frame. If the parity does…
  • displ year cyl cty hwy displ 1.000000 0.147843 0.930227 -0.798524 -0.766020 year 0.147843 1.000000 0.122245 -0.037232 0.002158 cyl 0.930227 0.122245 1.000000 -0.805771 -0.761912 cty -0.798524 -0.03…
  • (I have to analyze all six files in the below URL that contains the files to conduct the labs) ¬†https://www.linuxleo.com/Files/logs.v3.tar.gz¬†(copy and paste URL in browser) Exercise 1. ¬†Write prog…
  • The following function Get_Counts will take df_names as an input. It will then output a dataframe called df_count where the index has a entry for each name that appears in df_names, and there are two …
  • Can I code this with only using one function? as I only know how to do it with multiple functions A valid password must be at least 8 characters long and must contain the following: ‚ÄĘ at least two u…
  • [M4_CSQ2] Draw a flowchart and construct a python program to Write a python program using list to implement reverse polish notation calculator. In reverse polish notation, mathematical expressions are…
  • . What do you hear, what do you say? def count_and_say (digits): Given a string of digits that is guaranteed to contain only digit characters from ‘ 0123456789’, read that string "out loud&quot…
  • Write a Python program using the following Python Classes and Python sqlite3 database or MySQL¬†database to do the following: Display a Main Menu below with Menu options and your company heading.¬† Al…
  • Python program to assign grades to students MARK at the end of EACH semester. The program must do the following: -Ask for the student’s tutorial mark ( over 25%.) Store it in a list called listTutoria…
  • Next, type the code that is in the picture below. You will need to correct the print command. It contains 2 rrors .
  • What are the keys in the following directory? contacts = {‘Jason’: ‘555-0123’, ‘Carl’: ‘555-0987’} A ‘555-0123’ and ‘555-0987’ ‘B Jason’ and ‘Carl’
  • A controller is required for a traffic light at a four-way intersection. The lights follow the usual UK red, red-amber, green, amber sequence. The lights facing North and South are always identical, a…
  • i need help on these practice questions please.. main.py Load default template. 21 # ADDLAST COMMAND 22 elif command == "addlast"; 23 item1 = input("New item to add: ") 24 # comple…
  • Hello, how do i fix sqlalchemy.exc.NoForeignKeysError? I got this message when I run the code. “sqlalchemy.exc.NoForeignKeysError: Could not determine join condition between parent/child tables on rel…
  • Need the answer immediately Im python Examples Example 1: ons Input: numOfBuildings = 2 buildingOpenTime = [8, 10] offloadTime = [2,2, 3, 1, 8, 7, 4,5] Output: 16 Explanation: One optimal solution is …
  • May you instruct me about how to output .py file which computes the total number of chats for each person who participated in the chat. Output the statistics in a JSON file. Execution format: python s…
  • Complete the code to return the output for i in "programming": if i == "a" : print (i) Expected Output
  • py import turtle NUM_COORDINATES = 2 def draw_centroids (centroids, colors) : ¬†¬† ”’ Function draw_centroids ¬†¬†¬†¬†Input: Centroids (a list of lists), and List of colors (strings) ¬†¬†?…
  • I need help with my code for HW5 part 1. I’m having issues with formatting the grid and neighbors. I’m not sure how to fix the grid but for the list of neighbors would it be best to do a “.remo…
  • Using python or sql How do you Print the count of the 10 most frequent values ordered by descending order of frequency. ” component for a machine learning pipeline.
  • What are three coding issues as a developer you feel are the most important to overcome when doing Web development ¬† My lines of thinking are the different frameworks, User interface and the scalabil…
  • Python Turtle code that draws a tall house with 4 windows, a wide house with 2 windows and a tree. (all colored)
  • Please answer this in Python 3.10. Project 15-3: Customer or Employee Creator Create an object-oriented program that allows you to enter date for employees Console Canterac/Employan Data Entry DATA EN…
  • 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…
  • Use turtle graphics ,sketch a building with 6 windows and 1 door
  • Show a Python script that takes two parameters to do the following:- 1)¬†List all files names, size, date created¬†in the given folder 2)¬†Parameter1 = Root Folder name Parameter2= File size >>&…
  • help please Write a python program to get input amount from the user display the total bill amount after discount with 3 decimal places. Amount in OR Discount 0 – 100 2% 101-300 5% 301-400 10% Greater…
  • Python programming for a statics or strength of materials type of problem. . Pretend we’re on a team designing a beam. The head designer of the program made the structure of the program below. Our job…
  • Please help! Exercise 1. Write a program that asks the user for the name of a file. 2. The program should read the file, assuming that each line in the file contains an integer. 3. The program should …
  • I am lost looking for way to approach this question. How to use Python Panda, Regular Expressions, .map() and other functions to format existing address records and eliminate records with missing crit…
  • Homework help, Thanks Class 10 Pre-Class Activity Write a class definition for an Animal class. This class has just one method that we care about. makeNoise(). This will return the string ‘Makes some …
  • What is wrong with my code that I am getting this error?
  • Had a very long and complex assignment and had difficulty with most of the questions, please kindly share the solution for the following function, all the important and relevant data is included, it i…
  • Hues-non 1.: Many programming languages represent integers in a Ô¨Āxed number of bytes [a common size for an integer is 4 bytes). This, on one hand, bounds the range of integers that can be represent…
  • Before I submit I would like for someone to let me know is this correct according to the directions?
  • import csv import sys #The password list – We start with it populated for testing purposes passwords = [[ “yahoo” , “XqffoZeo” ],[ “google” , “CoIushujSetu” ]] #The password file name to store the…
  • ####### Step 4: Plot boxplots to evaluate any significant differences (5 Means). ##—————————————————————————————————————- # pr…
  • The second hard drive attached to a machine has been split into two 100 GiB partitions using fdisk. ¬†Write the commands necessary to add these to the pre-existing volume group named VolGroup1, and to…
  • Using Python 3 Describe the difference between a¬†Chained Conditional¬†and a¬†nested conditiona l . Give your example of each.
  • Hi there, Really struggling with this course my goal is honestly to “just get by “, without hurting my GPA. I don’t know why I thought this course was gonna be fun but its giving me lots of stress lol…
  • There is a team competition between the different teams where the winning team is the one who touched the most goat out of all of them. Each individual’s name who touch the goat should be recorded. Th…
  • Tasks 1. Write and test the following function: def factorial (num) : W N 4 Calculates and returns the factorial of num. Use: product = factorial(num) Parameters : 8 num – number to factorial (int &gt…
  • Assignment #3 Make an ¬†Object-Oriented-ALARM CLOCK with CALENDAR DATE ¬†based¬† Scheduled Alarms and recurring Simple Alarms. And which ask the user to set the alarm time with date.
  • Add a timer text bellow the Score and Shots text areas. This is used to keep track of time of play. Time of play starts counting as soon as the first shot is fired. The timer stops after 60 seconds an…
  • Here is the problem: Given two numbers¬† startNum ¬†and¬† endNum , add up all of the¬†numbers between¬†and including¬† startNum ¬†and¬† endNum .¬† If this sum is even, your function should return True…
  • How could this could be implemented by just the BlockWorldAgent class and not using the State class. import copy import time class BlockWorldAgent: def __init__(self): pass def solve(self, initial_arr…
  • Please assist in writing code in python. My code is below but I keep getting an error message that years is not defined #salary.py def main(): ¬†¬†#prompt for inputs ¬†¬†salary = float(input(“Plase en…
  • In PyCharm, write a program that prompts the user for their name and age. Your program should then tell the user the year they were born. Here is a sample execution of the program with the user input …
  • These are my rectangle and point class i need help with the canvas class. Class Canvas represents a collection of Rectangles. It has 8 methods. In addition, to the constructor (i.e. __init__ method) a…
  • Problem 3: The Diffie-Hellman shared secret The regular Box API keeps the Diffie-Hellman shared secret under the covers, but we can get our hands on it by calling Box(private_key, public_key).encode()…
  • For each of the functions, 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 res…
  • Please program python code to calculate the Likelihood of the phylogenetic tree given that the input is in Newick format from the user. Please read the (pruning) algorithm online. Only one tree in New…
  • hello, I am struggling with my HW, and need some advice. This is what I did. import¬†tensorflow¬†as¬†tf import¬†numpy¬†as¬†np import¬†requests import¬†matplotlib.pyplot¬†as¬†plt import¬†pandas¬†as¬†pd…
  • In this activity we talk about the concepts and definition of computational complexity 1.-Write in your own words which language generates the following grammar. Consider that the initial symbol is S …
  • 1 ¬† 2 ¬† 3 ¬† 4 ¬†5 ¬†6¬† ¬†7 ¬†8 ¬† 9 ¬†10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ¬† How can I locate numbers with special dimension. For example, I want a list of 3*3 dimension of numbers like…
  • Can someone please help me. In this PA, you will be writing a program that reads in a text file (perhaps containing the contents of a book, poem, article, etc) and produces an infographic based on the…
  • Precondition: len (L)> = 1 ¬† ¬† This function must return a new list Q which has the same contents of L except ¬† ¬† where there is a sequence of consecutive zeros, the list Q must have only one z…
  • PLEASE D O THE EXPLANATION/SCRIPTS ABOUT THIS POWER POINT (REPORT) PLEASE ANSWER IT IN TAGALOG/ENGLISH (TAGLISH) ONLY FOR FILIPINO TUTORS ONLY. THANK YOU! ¬† NOTE: PLEASE PAKIHABAAN PO YUNG EEXPLAIN P…
  • Please match all the sample Interactions exactly for the questions. Thank you in advance.. Question 4 Would you like to continue? (yes/no): yes (4 pts) We are going to experiment with the absolute fun…
  • I need to create a program that allows the user to choose from the following menu until he/she chooses to exit. The program should keep a running total of the charges and then add 6% sales tax to calc…
  • Make a function add(vals1, vals2) that takes as inputs two lists of numbers, vals1 and vals2, and that uses a loop to construct and return a new list in which each element is the sum of the elements 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…
  • Read the following JSON file, https://intro-datascience.s3.us-east-2.amazonaws.com/cities.json and store it in a variable called **pop**. Examine the resulting pop dataframe and add comments explainin…
  • Python 3.8 Make a program to first decrypt the txt file provided (newton) with ROT13 and then encrypt it using Vigen√®re cypher and save the encrypted message into a new file. newton.txt GNOHYN FZNENT…
  • Hello, I need help solving this Lab simulation, It uses Modify and add to dictionary for types statements and I am very new at python on so I need help solving it. It is very difficult. It is very con…
  • Fill in the blanks on the following statement with the please match accordingly¬† ¬† Objects in python encapsulate ________ as well as¬† ________ into objects. Group of answer choices ¬† A)_Variables,…
  • Background Dots and Boxes is a classic pen-and-paper game for two players. The game was invented by a French mathematician Edouard Lucas, in the 19th century. The game starts with an empty grid of dot…
  • I am really confused with these questions after only 1 python lesson of database, how can i solve it? -*- coding: utf-8 -*. No documentation available Click anywhere in this tooltip for additional hel…
  • https://scikit-learn.org/stable/modules/generated/sklearn.mixture.GaussianMixture.html#sklearn.mixture.GaussianMixture.bic It’s year 2120 and you work as a space taxi driver. One day, you suddenly get…
  • A one-paragraph statement as to whether you think the data are¬† suspicious and warrant additional investigation. Justify your opinion.
  • . Exercise 1B: Investigate the relationship between the proportion of high-mobility hummingbirds and the density of forestation. Using the data in your data frame forestPatches_df make a scatter plo…
  • I need help with part b. of the question. What does the code look like for what it is asking for? Thank you!. a. Use the following code to read in the data from the API. import requests url = ‘https:/…
  • The government of South Amricandzia will impose a “single payer, single payment” system in order to cover the cost of health care for its citizens. Under this system, all citizens will be taxed a flat…
  • I need help to this exercise. I need to use python code allows the user to use a menu to select and then generate pick-3 or pick-4 lottery number generator. Once the user makes their choice, the lotte…
  • For this continue to use variables, functions, and control structures to improve the “View all Employees” functionality you developed in Week¬†3 and utilize functions and the passing of parameters to …
  • That’s what I’m using but can’t seem to get the GUI to work when taking out the T/A in the first question and when rearranging the GUI in the 2nd question.¬†. Modify the existing code so it could take…
  • A university is offering a python course called CIS 191, and a java course called CIS 171 to all students.¬† Student’s registration information for these 2 courses are stored in 2 python lists in the …
  • Define a class XorGate, which represents an n-input XOR gate , where number of inputs is the class attribute. The class has the output (input Vector)method, which returns the gate response (‘0’ or ‘1’…
  • Realice un Programa en Java, Digitado 5 Ventas en el Almac√©n XYZ Calcular: Ôā∑ Cuantas ventas Fueron Mayores 1.000.000? Ôā∑ El Promedio de las Ventas? Ôā∑ Cual Fue la Mayor Venta? Ôā∑ Cual Fue la Men…
  • please explain how to write a python program that encodes a string using Cesar’s code. In that code, every letter is replaced with the next one in the alphabet. For example, book is encoded as cppl. e…
  • Flowchart and python. Exercise 2 Write a program to compute the average age of a group of people. The program should first prompt for the number of people in the group, then prompt for the age of each…
  • Challenge 1 Write a Python program to prompt a user to enter the current time, once entered, your program must convert the time (for example 12:30 PM) in a string representing local time ( such as ‘ha…
  • Server class Functionality . This class stores the data for all emails found in the dataset. Attributes . emails: A list of email objects where each object corresponds to one email. Methods init 0 Par…
  • What does this program print? ¬† def¬†method1(a): ¬† ¬† a¬†=¬†a+1 ¬† ¬† print(a) ¬† ¬† return¬†a ¬† def¬†method2(a,¬†b): ¬† ¬† print(a+b) ¬† ¬† return¬†a+b ¬† a¬†=¬†1 b¬†=¬†2 a¬†=¬†method1(b) b¬†=¬†me…
  • write a python program that reads files containing text. Read each line and send it to the output file, preceded by 9 numbers. If the input file is ¬†Mary had a little lamb¬† whose fleece was white as…
  • I need help with to apply these hints into a new python document In In III In [ Ô¨āmpnrt librarian panda- and ni-pf I Before importing data make aura you have .l-nnrtad the data in the new file ¬£nndi…
  • hello i need help to write command line simple interface using aws sdk for python (boto3) that allows a user to search for a title given the Subject and CatalogNbr. The search program should continue …
  • A fundamental problem in programming is the analysis of data.¬† Consider the situation where data exists (resides)¬†outside of your computer but you want to use your computer to perform some data mani…
  • Create a Python program file and name it yournameOne.py. Your program will draw random circles with filled and non-filled color (random colors) and rectangles, fill and non-fill color (also random col…
  • . 1. (100 points). a. (20 points) Create a MATLAB or PYTHON function file/subroutine that computes the relative permeability of both oil and water for a given water saturation, Sw. You may assume th…
  • I need to make a function for sentence split. I receive one sentence and an uncertain number of delimiters from the keyboard. Then I separate all strings in that sentence. Here is the code I wrote ¬† …
  • I need this for Python, I’ve been having trouble completing the objective and maybe understanding or seeing someone else way of coding can help me finish or realize different approaches to objective.I…
  • PLEASE HELP ASAP WITH THESE PYTHON FUNCTIONS ¬† from typing import List, Set, Dict, Tuple, Optional, Text from operator import itemgetter import spacy nlp = spacy.load(‘en_core_web_sm’) ¬† def pos_fre…
  • https://drive.google.com/drive/folders/1NL6HAeuMj2D8QYMEStmVpc-uHamOyuey?usp=sharing <— files ¬† Download the files in the A7-Sound folder¬†(Links to an external site.) and add all the files to a…
  • Create an an expression that produces a list of all the values from 1 to n, which are not divisible by 2 or divisible by 3.
  • Hello I need help with this exercise, this is usually done in excel, but we need to make it in pyrhon. ¬† The Exercise is based on an excel problem that needs to be done in python, using a linear prog…
  • How do I write¬†a short program in Python and view the output, I want it to:¬† Take two integers from the user. Save the lower number as x. Save the largest integer as y. A loop that counts from x to …
    • Prompt the user to enter four numbers, each corresponding to a person’s weight in pounds. Store all weights in a list. Output the list. (2 pts)¬† Ex: Enter weight 1: 236 Enter weight 2: 89.5 Enter…
  • In this program, you should be able to open any FASTA file by inputting the command fasta and the file name (so the command line is¬†“fasta filename”) and 1) verify that the user entered a filename an…
  • please do not copy answer from chegg and coursehero. ¬† need detailed algorithm. ¬†. Suppose you define a clustering objectve in the following manner – give a partitioning C = {C1, . . . Ck}, define c…
  • I’ve been developing a code to pull data values from a csv file and print/write those values to a txt file and the Python Shell. I’m having trouble getting the parameters to register the proper data a…
  • (Shipping Cost Function) Plz do it in Python and also show me the output for a program Write a function named¬†ship_cost¬†that takes a float package weight and returns an int shipping cost in dollar…
  • figure out function¬†savings¬†that computes and returns the savings amount after the given month, given a monthly contribution amount (e.g., 100), the annual interest rate (e.g., 5), and the number of…
  • phyton format. init dictionary Define a function named init_dictionary with two parameters. The first parameter will be a list of dictionaries (the data). The second parameter will be a string (a key)…
  • . QUESTION 1 that allow you to perform operations on them. Python provides several ways to access the individual characters in a string. Strings also have O decisions techniques O variables O method…
  • ***PYTHON**** To complete this assignment, you will need a CSV with multiple columns of numeric data. Here are a few you could use: World Happiness Report 2021: https://www.kaggle.com/ajaypalsinghlo/w…
  • Write a detailed algorithm and a program that plays the ancient Chinese game of NIM, Actually, this is a simplified version of the original game. In this game, the person who runs your program will be…
  • Take the n columns of the dtm_ham_train, dtm_ham_test, dtm_spam_train, and dtm_spam_test matrices with the smallest mutual information. Fit your Naive Bayes Classifier using the training sets with őľ …
  • Although people live in extreme poverty throughout the world (with more than 5 million in the United States), the largest numbers are in Asia and Africa. Question 5. Assign largest to a two-column ta…
  • Make a dictionary where the keys are the names of exercises (pushups, sit ups, chin-ups, etc.) and the values are the number of times you did that exercise. Have a minimum of 5 exercises in your exerc…
  • Solve the following question in pseudocode python. Objectives To improve your understanding of the time complexity of algorithms. To develop problem-solving and design skills. To improve written commu…
  • Using the “athletes” data from this website, I was wondering if someone could help me come up with the variables if I wanted to make a Bubble Chart. I have an idea and was not sure if this was correct…
  • Please help with practice example. ¬†. Question 4: Replacement for expressions [ ] ### Replacement for expressions def exprreolace(self, x, e) : # YOUR CODE HERE Expr . replace = expr replace [ ] ### …
  • Normally, we will have a problem when dividing by zero. Modify¬†Number¬†to handle division by zero in this way: Example: ¬† >>> zero = Number(0) >>> one = Number(1) >>> some…
  • reverse_integer that accepts an integer and returns the reverse.¬†¬†For example, if the user enters 1736, the 6371 will be printed.¬†Use a while loop to compute the reverse integer.¬†You must use math…
  • <these problem sets you must use a loop> 1. Write a function called num_multiples(m, values) that takes a positive integer m and a list of 0 or more integers values, and that uses a loop to comp…
  • We will use a full day worth of tweets as an input (there are total of 4.4M tweets in this file, but we will intentionally use fewer tweets): http://rasinsrv07.cstcis.cti.depaul.edu/CSC455/OneDayOfTwe…
  • Assume a file containing a series of words is named words.txt and exists on the computer’s disk. make an program that reads the data and counts the number of occurrences of each letter. The program sh…
  • For my assignment I was given the task of making a cipher program with specific steps included into the program. Any help would be appreciated with writing the code. I have included a picture of the a…
  • Scientists measure an object s mass in kilograms and its weight in newtons. If you know the amount of mass that an object has, you can calculate its weight, in newtons, with the following formula: …
  • Given Reference, import random # This is a list of the valid colors for general use. colors = [‘R’, ‘Y’, ‘B’, ‘G’, ‘P’, ‘W’] # Some functions relating to generating and # validating combinations def i…
  • Please Get To Me As Soon As Possible! 10. Build a graph of the number of incidents by months. Start by creating a new data field ‘yyyymm’ using datetime.strftime instance method. Then group by ‘agency…
  • 3 . Create a new Set of all Elements that are in set] or set ] , but not both Do . Create a new Set of all Elements that are in only one of the three Sets set 1 , Set ] , and Set] . Create a new set …
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!