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.

  • 1¬†Computing the log-prob ratio for one concentration measurement Let¬†¬†be a concentration measurement. We calculate the log-prob ratio of¬†¬†using the formula: where¬†,¬†¬†and¬†¬†are three paramet…
  • Create a function that returns the first word that is more than n letters. The function should take both the number n and the input data as inputs. If there are no words that are more than n letters, …
  • In this lab we’ll compare the time it takes to search for an item in a list vs searching for it in a binary search tree. Part 1: Populating and Searching a List Let’s start off in our main module. Fir…
  • I need help with writing an IF statement with Python programming
  • HELLO EVERONE, In this project, you will utilize seed free de-anonymization to solve real problems. ‚ÄĘ In the seed free de-anonymization, you have only two graphs given in edgelist filetype. unseed_G…
  • Task 1 Construct a class Interval which is initialized with two real numbers representing the left and right endpoints respectively. Task 2 Provide methods for the four basic arithmetic operations.
  • Problem: A road map defines locations as map references like B3, where B is the x-coordinate value and 3 is the y-coordinate. B C D E F … Y Z E2 2 3 B3 … 25 Y25 26 The grid lines are 0.5 km apart…
  • Hi there. I am trying to write function in python that accomplishes specific tasks. However, within the function, I have of items 1 – 6. How do I get python to first generate a random number from numb…
  • Consider the loop below from Section 8.3 of your textbook. In Robert McCloskey’s book Make Way for Ducklings, the names of the ducklings are Jack, Kack, Lack, Mack, Nack, Ouack, Pack, and Quack. Th…
  • You have been given the following lists of students and their test scores: names=[‘joe’,’tom’,’barb’,’sue’,’sally’] scores= [10,23,13,18,12] 1.¬†Using scoreDict, find the score for ‘barb’. 2.¬†Add a s…
  • Scenario You have two dictionaries that you need to process together. Write a Python function to combine the contents. Aim Combine two dictionaries and return a single dictionary with non-duplicate ke…
  • ITI1120 IMAGE. Develop a class BankAccount that supports these methods: .__init__:Initializes the bank account balance to the value of the input argument, or to O if no input argument is given . withd…
  • Question 1 If value1 is 2.0 and value2 is 12, what is the output of the following command? 24 24.0 2.0 * 12 value1 * value2 ¬† Flag this Question Question 2 True/False: A function definition specifies…
  • Apply object-oriented programming concepts. 7. Save data in a text file. 8. Use the appropriate exception to handle possible errors made by the user. a. Letters b. Zero c. No data d. Others 9. When…
  • Suppose there is a list =[[2,3,4]list2=[-1.3,-2,5].Please help me to calculate Euclidian distance here using python program
  • Can someone explain to me step by step how this blackjack python program works using only the requirements below?¬† ¬† Simplified game requirements:¬† The possible card values range from 1 to 10 and, …
  • What code is the best to extract all unique web links from HTML which points to the other kind of HTML pages
  • what is the best possible way to write out a pseudo code and source code for the following program ( link to the program in the bottom since I can not attach the program , it gives me an error) ¬† lin…
  • I need help with a Covid-19 Simulation on Python. I am using Python 3.8. These are my instructions: Your Task Download the starter files Install pillow (if you haven’t already):¬†pip3 install pillow W…
  • short hw problem need help! vocab_mapping = Table . read_table( ‘stem. csv’ ) stemmed = np. take (movies . labels, np. arange (3, len (movies . labels ) ) ) vocab_table = Table( ) . with_column ( ‘Ste…
  • Write pseudooode for an algorithm that removes all negative values from a list, preserving the order of the remaining elements. (keep in mind: if you pop the elements, your index counter needs to …
  • 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 .
  • I need help understanding how to make a Python program that uses an array variable whose values are input by the user. It needs to perform some modification to each element of array using a loop and t…
  • there are two questions 6. Auto‚ÄĒregressive time series prediction. Suppose that 1: is an N‚ÄĒvector representing time series data. The (one step ahead) prediction problem is to gueÔ¨Ā n+1, based on …
  • Make a scatter matrix plot for the four original features( petal width, petal length, sepal width and sepal length).Each point in the scatter plot should be colored according to species and what kind …
  • . 1. Implement a class named AbacoStackto represent the AbacoStack structure. An instance of this class should store bounded stacks and a list representing the top row. The size of the list will be …
  • Given the following list tuple data of diseases where the first item is the disease and the second item is the symptom with a value. How would you reduce the tuple list to be one tuple where the sympt…
  • IMPORTANT: ¬†The FUNCTIONS should¬†RETURN¬†the Value ***** Your functions WILL HAVE to take the PARAMETERS In this program, you’ll have three functions 1. rideHeight 2. sandwichMaker 3. factorial Task…
  • 07_2: The tutorial had you run a script which copied 4 feature classes into the Study.gdb. This script should delete the feature classes (.shp files) in the folder since you don’t want the feature…
  • You should save the solution to this problem in a file called removestring.py ¬†if you wish to use the tester program. write a function called removestring ¬†that takes two input arguments: a string c…
  • Return key_to_value inverted so that each key is a value (for non-list values) or an item from an iterable value, and each value is a list of the corresponding keys from key_to_value.¬†The value lists…
  • Provide four data elements and the corresponding data types that you would use in¬†building a Python application for storing the names, birthdates, and addresses of members of an extended family. Prov…
  • A) Use nested loop to print an alphabet pattern ‘X’ in Python ¬†¬†B) Write python program to draw a right angle based pattern and then make a 180 degree rotation to that pattern
  • Event study B: Finding the first/last event in a list Assume that you wish to implement the event study discussed in the previous slide. You have decided to define an event as the first time a stock i…
  • I have a question for incremental development . Do the exercise at the end of that section: As an exercise, use incremental development to make a function called hypotenuse that returns the length of …
  • Example of static method that accepts an ArrayList of Integers and returns the sum of the elements¬† [Mark “True” after you record your answer in your solution email.] Group of answer choices True Fal…
  • Problem : Wordle175. You have probably heard of the Wordle Game, a word guessing game that is becoming a craze on the internet these days. It is not the Wordle as the famous application to draw a word…
  • IT-697 – Python 3 Programming How do I carry out the escape sequence \n and \t at the end of string “Hello there!” Also print the quotation marks using \ escape sequence in front of quotation marks.
  • Objective 5: Calculate the time required to rotate the forefinger 90 degrees, from OPEN to CLOSED Define a function objective5 () which achieves the following: The function should accept two arguments…
  • The constant ŌÄ is an irrational number with value approximately 3.1415928 . . . The precise value of ŌÄ is equal to this infinite sum: ŌÄ = 4/1 ‚ąí 4/3 + 4/5 ‚ąí 4/7 + 4/9 ‚ąí 4/11 + . . . We can get…
  • write python program that, Write a python program that, sort of, parses HTML. Have it read a file and only print out data after a ‘<p>’ is seen. It should stop printing after a ‘</p>’ Ther…
  • Without using any packages and please add comments for better understanding ¬† A prime number (or a prime) is a natural number greater than 1 that cannot be formed by multiplying two smaller natural n…
  • Please help me with this coding and also please give explanation 1. Write a Python code that asks a user to enter a value n, and subsequently take n of floating-point numbers. Then the code prints the…
  • . Content X zy Section 10.16 – CTI 110: Web, Pro X MindTap – Cengage Learning X * Course Hero X A faytechcc.blackboard.com/ultra/courses/_35066_1/cl/outline Foundation …
  • I have to write a simulator, I already have a loop that generate random number with given number 0,1,3. I want to make it stop if it satisfied one of these requirement: a) if the out put has 14 lines …
  • The function should able to handle any strings that I typed in. Define a function reverse_string() that reverse a string str. Try using recursion. For example: Test Result print (reverse_string( ‘ cit…
  • Assume that the data is provided as a text file (see dic_db scientists.txt). First, you need to read and save the data as a dictionary of dictionaries as shown in Figure 2. Note that first value in ea…
  • Pycharm¬† _______________________ Your project must show the menu required. The user must be able to enter the options 1, 2, 3, 4, or 5 ONLY!!! When an option is entered, show a message to console ind…
  • Python script that will open a file called Quotes.txt – for reading only – reads the entire file and prints the second and last line in the file and then closes the file. Use the¬†readlines()¬†functio…
  • DO NOT COPY FROM ONLINE! Using Python 3 on students.hi.gmu.edu, write a program that generates list that consists of 10,000 lists that have: First element is list number (i.e., 0, 1, 2, …) Then, the…
  • I need help for the following assignment: For this assignment, python program called¬† system_info.py ¬†that prints out the following information: System Name Release Number Machine Type Processor Nam…
  • Describe how¬† tuples ¬†can be useful with loops over¬† lists ¬†and¬† dictionaries
  • 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…
  • Code the below: A)Write the function greedy change(amount, denominations) that solves the coin exchange problem greedily (i.e., always select the largest coin first). The function should take in a tar…
  • How do I complete the following function that shifts all the elements of a list backward one place. The last element that gets shifted off the back end of the list is copied into the first (0th) posit…
  • Please help answer the following questions Among the items in the following list, write the ones that are required to build the requested feature in your GUI application. Here, The list of tkinter obj…
  • python raspberry pi I want to control the volume of a passive buzzer using a ****raspberry pi**** with the TonnalBuzzer library the volume would be controlled using a potentiometer. getting a buzzer t…
  • . DEL RE DEL RE [ hitt| Ur|W|HI| ht| Ur| [ ht | ht SE X|D21 2- | 9 ht/ ht| | HI| DRL RE| @ RE| J Fri| | Fri| Stil S. In:| @ Hc/ Ge| CCM| + X C A & https://learn.zybooks.com/zybook/IT-140-X4788-O…
  • Problem 1 Given your success with the converter program, your employer has decided to task you with¬† a more difficult problem. The company needs a utility program that non-programmers can¬† use to ca…
  • hi i want to avoid the repetation of printing the list.. how could i edit my code? o get_keys: This function takes a string as input and returns an list of integers. The elements of the list correspon…
  • Patient / Doctor Scheduler ¬†– Create a patient class and a doctor class. Have a doctor that can handle multiple patients and setup a scheduling program where a doctor can only handle 16 patients duri…
  • How can i set up this program with correct code and indetation?Thanks! Exercise 6.6 Handling user commands Write a program to handle the following commands: BYE ADD COUNT SHOW BYE COUNT AVERAGE For th…
  • Write an expression that will cause the following code to print “less than 20” if the value of user_age is less than 20.
  • 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 …
  • Problem 10. (Ramanujan Numbers) Srinivasa Ramanujan was an Indian mathematician who became famous for his intuition for numbers. When the English mathematician G. H. Hardy came to visit him one day, H…
  • The 2D exam grades data for notebook. I am stuck at Exercise 3. There is an error for the expected output on the tester. Note: the boxes show the notebook input. The texts after each box is the result…
  • Run the dataset provided, and answer questions 1-3 in the right hand section using the setup.
  • Mile Stone # 2 ¬† ¬† ¬† ¬† ¬† ¬† ¬† Mile Stone 1_ Proposal. (3) Since project must perform some calculations, (e.g., average, standard deviation, etc.), detail the formulas used on the data and list s…
  • Having trouble approaching these. 2. Below is a recursive program that finds the largest element in a list. 5 pts def largest(data): if len(data) == 1: return data[0] largestRest = largest(data[0 : -1…
  • Having some trouble. Can someone advise how to? Thank you ¬† Aim Create a file and add data to it. Steps for Completion In your main.py file, use the with context manager or the open() function to cre…
  • Use proper data cleansing techniques to ensure highest quality of data and use logistic model to predict response and discuss which three variables are significant.
  • An exception report is an output report that lists the bad records. Group of answer choices True ¬† False
  • Exp#1: Fingerprint spoof detection system based on two-class support vector machine¬† (SVM).¬† Dataset: LivDet 2011:¬† https://drive.google.com/drive/folders/1nLWXD8wR7zD4tI0udk2GN6XC9EqIF8PR Training…
  • Review the¬†Higher/Lower Game Sample Output¬†for more detailed examples of this game. As you read, consider the following questions: What are the different steps needed in this program? How can you br…
  • 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
  • I am able to draw my house, but I am unable to figure out how to use the arguments to add the colours This is what I have so far: size(500, 500) def draw_frame(r, g, b): rect(150, 150, 200, 200) def d…
  • Enchancing the following: W7_Lastname_Firstname.py from MyLib import * cont = “y” #looping cal = Calc() while cont == ‘y’: ¬†¬†#exeption to check input ¬†¬†try: ¬†¬†¬†¬†lr = int(input(“Enter your Lowe…
  • Employee Management System – Functionality 1 In Week 1, you developed the first functionality for the employee management system. You wrote a Python script to allow users to enter the following string…
  • this is a python Program that I and my friends wrote, now we need a GUI in tkinter for this program. I tried to wirte a GUI on my own, but I’m new to tkinter, so I’m out of ideas PLEASE write a GUI in…
  • # * Question 1- In Python class names are written in _____Case and object names are written in #_____case with underscores. # * Question 2 – To help keep your program files uncluttered, you can store …
  • What will be the contents of the resulting Stack after executing the code below? List only¬† the values separated by commas (do not include any spaces) values = ArrayStack() for i in range (16): if i%…
  • There are three tables with the student database below; Student:¬† 1, Jack, Grad 2, Jane, UGrad 3, Karen, Grad 4, Jack, UGrad Course: 100, Intro to Databases, 4 200, Research Colloquium, 2 Enrollment:…
  • write the code using spark Practice: x = sc.parallelize([2,1,3,5],[2,3,5,6],[2,2,1,1],[3,1,2,3,4],[3,3,6,2,4]) #1. Group by the first element #2. Find the count for each group. #3. Find the average of…
  • Write a Python Program¬† ¬† ¬† Create a class, Triangle with three attributes angle1, angle2, and angle3. Create a variable named number_of_sides and set it equal to 3. Create a method named check_ang…
  • given description given references ¬†. This is an exercise in coding with some repetition, with some output formatting and if-statements thrown in. Problem Description Many recipes tend to be rather s…
  • Construct a function with the following signature: def most_exclusive_womens_college(colleges): “”” sig: list(list(str)) -> str the name of the women’s college with the lowest admission rate “”” Th…
  • PYTHON ACTIVITY: Code pasted below for reference:¬† classes = {} class Document: #TO DO: place attributes and methods from the previous exercise here # # # #TO DO: add new attributes and methods here …
  • Need python function can take at least one argument.
  • I need help writing the following code in python. In this program you will be writing a class to simulate a "gumball machine" that you would see at a store. Your class should work as follows…
  • Generate a quadratic model with y=x+x**2+e,¬†¬†x and e are both vectors which are normal mean 0, variance 1. Generate a monte-carlo sample from this model with length m = 20.
  • The person to friends dictionary is P2F = {‘Jesse Katsopolis’: [‘Danny R Tanner’, ‘Joey Gladstone’, ¬†¬†¬†¬†‘Rebecca Donaldson-Katsopolis’], ¬†¬†¬†¬†‘Rebecca Donaldson-Katsopolis’: [‘Kimmy Gibbler’], …
  • Why is question 2, asking for the biggest decrease, is min instead of max. A lot of the coursehero uploaded pdf all have abs(min(np.diff(…))).¬†. 1.5 5. Old Faithful Old Faithful is a geyser in Yell…
  • Using Streamlit ¬† I want to display the the number of counts for each of the bar charts. Currently I’m able to plot the bar chart for each of the ratings(1 to 5) for an item, but i couldn’t work out …
  • write a program that reads a list of integers into a list as long as the integers are greater than zero, then outputs the smallest and largest integers in the list. Ex: If the input is: 10 5 3 21 2 -6
  • Make a logistic regression model using the csv file contained inside bank-additional.zip, attached next to this assignment. Please train your model to predict whether a client has subscribed for a ter…
  • #Statistics.py file # Synopsis: # ¬† Defines the Statistics ADT # ¬† Calculate mean and variance and other statistical summaries ¬† # ¬† of numeric data. # Implementation # Do the calculations without…
  • In this practice, you are expected to play around Pandas and get familiar with it. The dataset is quarterly dataset downloading from WRDS. Please remember that you need to do data transformation based…
  • FLASK, HTML, PYTHON¬† ¬† ¬† ¬† 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’:ap…
    • Explain how the Python program extracts the web links from the HTML code of the “Current Estimates,” found in web links section. B.¬†¬†Explain the criteria you used to determine if a link is a l…
  • Create a program that takes in a sentence a user inputs, turns in into title case and appends it to a file on a new line called title.txt. At the end of the sentence add the word count. EXAMPLE What i…
  • Develop and test a program in python that prompts the user for their age and determines approximately how many breaths and how many heartbeats the person has had in their life. The average respiration…
  • Use python Class list of objects method please ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†. Read student marks and print them out Specifically read the following i…
  • class¬†Employee: def¬†__init__(self, name, age,salary): self.name =¬†name self.age =¬†age self.salary =¬†20000 E1 =¬†Employee(“XYZ”, 23, 20000) # E1 is the instance of class Employee. #__init__ alloca…
  • Complete the function to return True if the word WGU exists in the given string otherwise return False # Complete the function to return True if the word WGU exists in the given string # otherwise ret…
  • Write a Python script that uses a function to return the amount of change made from a given string of coin values. The function should take in the amount due as an argument and the list of currency va…
  • In python Write a program which creates the tuple numbers with the following content: 12¬† 23¬† 45¬† 34¬† 22¬† 5¬†¬† 8¬† 11¬† 33¬† 66¬† 57¬† 44¬† 28¬† 82 The program reads the numbers in the tuple, ca…
  • i need python script for this assignment Install a new Centos 7 VM into your existing c7host, using any of the installation methods covered in this course. Ensure the machine has the gnome-desktop. Se…
  • how to use tkinter to make a button called ” find numbers” then it will show a pop up that allow users to enter their own number. The number entered then will be compared to a csv file in the same doc…
  • NEED THE ANSWER ASAP. PLEASE Q3. Use the following data set of 6 observations relating to 7 variables to construct a similarity matrix by: [04 Marks] A) Matching Coefficient method. B) Jaccard’s Coeff…
  • Enter the base: 5 Enter the height: 7 The area is 17.5 square units.
  • This code returns an error: ‘type’ object is not subscriptable. Any idea why?. # * * Exercise 3** (grade_dicts_test : 2 points). Write some code to compute a new dictionary, `grade_dicts , that maps n…
  • We represent a person using a tuple¬†(<gender>, <age>). Given a list of people, provide a function¬†sort_age¬†that sorts the people and return a list in an order such that the older peop…
  • Create class IPLTeam with method play. Create child classes of IPLTeam called as CSK, RCB. In main, call play from child class objects.
  • Need help. is available at location 3. Select all that apply. def myFunction(namel, name2) : uppercaseName = name1 . upper() lowercaseName = name2 . lower() count = 0 for element in lowercaseName : # …
  • What is the style rule for adding the bottom border to the figcaption element? ¬†¬†article figcaption { ¬†¬†¬†¬†¬†border: 1px solid black; } ¬†¬†article figcaption { ¬†¬†¬†¬†¬†bottom-border: 1px solid…
  • Which of these design patterns allows clients to traverse a data structure without knowing its internal structure? a. visitor pattern b. iterator pattern c. both a and b d. none of the above
  • Using Python, Juypter notebook I’m not sure if did Parts 1-3 right and I can’t figure out Part 5 ¬† ¬†here’s a link to the instructions https://drive.google.com/file/d/1e-K2uJnjbm_k1DkdTPfhSHBs2jeOMUU…
  • Homework help please. Suppose U = N = {1, 2, 3, . .. } If A = {1, 2, 3, 4), then AC = {5, 6, 7, . . . }. O True O False. Suppose S = {1, 2, 3). Use method taught in class to define: P (S) (power set o…
  • results from reading off the initial list using the look-and-say method, using tuples for each (count, value) pair. For example: lookAndsay ( [1 ) == lookAndsay ( (1 1,1]) == [(3.1)] lookAndsay ( [ -…
  • lash, We simply call the function crypt. crypt() and pass it the password and salt as parameters. This function returns the hashed password as a string. Read through the details on the Python wrapper …
  • Describe 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 di…
  • Please implement this game in python according to the instructions which are given below in the question part: I am copying and pasting the text data and will also attach the picture of questions in t…
  • A student has to enrol a unit at an institute, XIT. To be eligible for enrolments, XIT checks for various requirements, such as, did s/he pass pre-requisites with a minimum grade ‘P’ etc. You may incl…
  • The analysis of network traces (packet captures) is core to any cybersecurity operation. In this coursework, you will therefore build a network trace (pcap) analyser utility using Python 3 (3.7 or hig…
  • What do I need to fix on here?¬†. 2.25 LAB: Smallest number Write a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the outpu…
  • General¬†Description In¬†this¬†assignment,¬†you¬†will¬†be¬†writing¬†a¬†python¬†code¬†that¬†simulates¬†a¬†simple¬†dice rolling¬†game.¬†It¬†will¬†be¬†a¬†multi-round¬†game¬†that¬†works¬†as¬†the¬†fo…
  • 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, …
  • Write a program that replaces words in a sentence. The input begins with word replacement pairs (original and replacement). The next line of input is the sentence where any word on the original list i…
  • Define GUI, define widget and describe 3 GUI widgets that you might use and when you would use each in a program.
  • Sphere Volume view your last SUITISSION Fee CHALLENGE ACTIVITY 1.15.2: Sphere volume. Given sphere_radius and pi, compute the volume of a sphere and assign to sphere_volume. Volume of sphere = (4.0 / …
  • Use python to¬†finish the following tasks to¬†Mercedes Used Car dataset.¬†Just need the code that can run in python and some words interpretation. Thanks! Dataset can be downloaded from ¬† https://www…
  • Part 1 Describes incremental development . As an exercise, use incremental development to a function called hypotenuse that returns the length of the hypotenuse of a right triangle given the lengths o…
  • Program in python.¬† I am trying to get this in my output and coded correctly. if input is 1.5 then output is 6.00 if input is 2.2 then output in 8.80 ¬† def miles_to_laps(user_miles) ¬† This code I h…
  • Write a Python program that keeps prompting the user for even numbers by using a loop. Enter an odd number to terminate the loop. Calculate the average of all the even numbers. (20 pts) Test case: inp…
  • Post a 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 shou…
  • The play method in the Player class of the craps game plays an entire game without interaction with the user. Revise the Player class so that its user can make individual rolls of the dice and view th…
  • Write program that reads the file line by line and extracts the first string on the line. If this is the number ‘1’ or ‘2’ ignore that line, otherwise add the string to a frequency count dictionary. T…
  • Design a python program that asks the user to enter a series of 10 numbers.¬†The program should store the numbers in a one-dimensional array and then display the following data: ¬∑¬†¬†¬†¬†¬†¬†¬†¬†The …
  • With format: ¬†¬†“”” ¬†¬†Input type ¬†¬†:N type: int ¬†¬†Return type ¬†¬†:X_train type: numpy.ndarray of size (number_of_training_samples, 4) ¬†¬†:X_test type: numpy.ndarray of size (number_of_test_sa…
  • Class object: My code is not working: It should get average, get name, and combine name+aveerage usung __str__ Why is it not working? Player.py class Player ( object ): ¬† ¬† def __init__ ( self ,name…
  • How would you draw a flowchat for this psudocode using flowgorithm? ¬† Module main ()¬† ¬† Declare Integer SIZE = 7¬† ¬† Declare Integer numbers[SIZE]¬† ¬† Call makeNumbers (numbers, SIZE)¬† ¬† Displa…
  • Hi, I am unable to run this code, can anyone help with this? def compose(f,g): ¬†¬†return lambda x: f(g(x)) foo = lambda x: x+10 compose(foo, foo) (3)
  • please help me make sure i am correct and pls use simple graphics. also did the bar chart. thanks Write a Python program using the SimpleGraphics library (available-9993949 draw a histogram or a bar c…
  • any chance I can get some help please and thank you ¬†a program that reads the data from the attached .csv file: Phoenix_2020.csv into a list of dictionaries.¬† Once the data has been added to the lis…
  • Please help.. BEE Fy Culligan Est Designing Functions with Con locals A function to check the validity of a numerical string 3 21. Implement the Function Author: Bbolaji Ogunrinde Date: 18/84/2821 Rea…
  • def second_max (lst) : “”” Return the second highest number in a list of positive integers. >>> second_max([3, 2, 1, 0]) 2 >>> second_max([2, 3, 3, 4, 5, 6, 7, 2, 3]) 6 >>> …
  • really stuck on this homework question and could use some help, needs to be written in python.
  • Question 2 (25 marks) Write a program to solve computational problems using structured programming. The program allows a user to practice addition, subtraction and multiplication of numbers. The scope…
  • Exercise Define a function entropy that . takes a distribution p as its argument, and . returns the entropy H(p). Handle the case when pi = 0, e.g., using the short-circuit evaluation of logical and ….
  • Use merge sort algorithm to sort a 2-dimensional list based on the second dimension. There are 10,000 elements in each dimension and the elements are random integers between (0,5000). Create python pr…
  • except Exception, e: I’m getting following error from above code. Please help. SyntaxError: invalid syntax
  • I need a compare and contrast paper if you are free
  • Write python webshell that will: ¬† read the POST payload if the ‘cmd’ field is present in the POST input, then execute its content and print the result otherwise, issue a 404 status code
  • is sorted() There is no built-in function that checks whether a sequence is sorted. Write function is sorted(seq) that checks whether a given sequence of sortable elements is sorted from smallest to l…
  • Create python and explain how it works PROBLEM NO.1 Are You My Type? Description Positive integers can be classified as abundant, deficient, or perfect. Abundant integers are those whose proper factor…
  • Please review program based on multiple choice answers below
  • In Python, I need to develop and import a class for my knock-off version of the who wants to be a millionaire gameshow. Below are only a few of the methods, which represent the questions for each mone…
  • Discretizing Data For each of the following tasks begin with this list: my_data¬† = ¬†[43,¬†37,¬†94,¬†64,¬†89,¬†57,¬†12,¬†32,¬†98,¬†74,¬†39,¬†56,¬†91,¬†61,¬†53,¬†36,¬†94,¬†34,¬†23,¬†62,¬†59,¬†92,¬†85,…
  • can you help in providing the code for these 5 functions please? Functions The signature of each function is provided below, do not make any changes to them otherwise the tester will not work properly…
  • . 1. What is a Boolean value? (1pt) 2. What are Boolean values used for? (2 pts) 3. How do Boolean values relate to Branching? (2.5 pts) 4. Why is Branching important for a programming language? (2….
  • %%capture ########################################################### ### EXECUTE THIS CELL BEFORE YOU TO TEST YOUR SOLUTIONS ### ########################################################### import imp…
  • 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,…
  • I am stuck. I need some help for python coding. 2.12¬†LAB: Name format Many documents use a specific format for a person’s name. The program whose input is: firstName middleName lastName and whose out…
  • This question is about¬† recursion. Given the following recursive function,¬† mystery_func , answer each of the following questions. def mystery_func(n): ¬†¬†if n < 2: ¬†¬†¬†¬†return 1 ¬†¬†else: ¬†…
  • Please .. create .. the main program and also a driver program so i can run the code.¬† ¬† also, please .. add precise comments cause I will use it as a script for the video that i will make. thank…
  • This is the instruction of my assignment. Here is the link for data “game_test”, “game_train”, “games”, and “example_submission”. (I cannot upload the excel file here, so I used links to let you acces…
  • When calling a function (say, in the main function), the items placed in the parentheses are most often referred to as? (refer to the lectures for this) parameters 0 variables arguments invariants
  • https://drive.google.com/file/d/1enR1w45M3XKwS8ANcchbzdcqraRnOvID/view?usp=sharing this c0ntain the file that i need explanati0ns¬† show steps please thank you
  • do not use chegg write a python script that will prompt a user for a directory to archive, ask them if they want the archive compressed, and (only if they do want compression) what type of compression…
  • 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 …
  • 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…
  • Three coins are to be tossed simultaneously again and again until the outcome is all three heads. In python a program to count how many tosses it takes to get three heads.
  • I need python, pyqt5, gui homework I want to stretch the table and bold font for labels. class Sales(object): ¬†¬†“”” ¬†¬†Interactive panel. ¬†¬†“”” ¬†¬†@staticmethod ¬†¬†def show(): ¬†¬†¬†¬†“”” ¬†¬†?…
  • Use the list() casting function, and the function range() to create the array for the dice options, instead of using diceOptions = [1, 2, 3, 4, 5, 6]¬† 2. Use a for loop, with the in keyword a new …
  • Trish at Bargain Used Books has been using the programs you developed for her and really likes them. Recently however, she hired a new cashier who isn’t very good at data entry. In particular, she nee…
  • Hello, I am trying to write a program in Arpy (the python window in arcgis) where I iterate through a list using the search cursor. The final result should be a list where for every item with a featur…
  • Write a GUI-based program that allows the user to open, edit, and save text files. The GUI should include a labeled entry field for the filename and multi-line text widget for the text of the file. Th…
  • .14¬†LAB: Input: Welcome message write a program that takes a first name as the input, and outputs a welcome message to that name. Ex: If the input is Pat, the output is: Hello Pat and welcome to CS O…
  • I’m struggling with coding the below sample output into pycharm. Needing to a CSV file that can be edited by the user based on their own input with error checking. Also need to create multiple functio…
  • 2.3: Modify the arguments given to print_face(). ¬† Run the program and observe the output. Modify the print_face function to have a third parameter mouth and use it in the final print statement. de…
  • Write a recursive function, displayFiles, that expects a pathname as an argument. The path name can be either the name of a file or the name of a directory. If the pathname refers to a file, its filep…
  • 1-Write the Python statements to input the price of an article. Apply a 6% sales tax to the price. Output the total price of the article, formatting the result to 2 decimal places. Submit a screen sho…
  • PARTICIPATION ACTIVITY ¬† 10.9.3: HTML viewer. ¬† Change the URL of the web page to your favorite web page. Add a second link too. (Note: After clicking a link in the Preview window, you can use your …
  • 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 create a function called¬†hypotenuse¬†that…
  • A sports event is organized by a university. One person can participate in more than one sport. The User gives the name of the players and the names of the sports they can participate in. Write A pyth…
  • Design an algorithm that will use simple arithmetic operations to estimate the base-2 logarithm of a given positive number. The algorithm should report the exact answer if it is an integer and otherwi…
  • A robot machine is going to navigate through a series of cave connected by straight tunnels (Please see image below). It starts navigating from the A to the last cave G. Finding a shorter route is bet…
  • I have a Visual Basic assignment in which you have to do a simple program. currently taking intermediate class in programming as a freshman in college. assignment is very easy
  • https://open.cs.uwaterloo.ca/python-from-scratch/12/6/#1
  • Exclusive Club Inc. offers a credit facility in their buyer’s club. Members are allowed a $1500 credit limit at bronze admission, $3000 credit limit at silver admission and $5000 credit limit at gold …
  • would you please show me what is question 4 codes question3 ¬†I have already done it? please show me how to do a question4 with a screenshot and send me your codes when you done, if question3 is not c…
  • I am totally lost on my lab 5 assignment! Activity #2 : Using your new-found knowledge of Writing and testing a larger program This individual assignment should follow a similar strategy to the one pu…
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Exercise (2) Lab E…
  • In mathematics, the notation¬† n ! represents the factorial of the nonnegative integer¬† n . The factorial of¬† n ¬†is the product of all the nonnegative integers from 1 to¬† n . For example, 7!¬†=¬†1…
  • Explain the given terms with detail description and examples, moreover, write python scripts where required. (Minimum 900 words description with web references) a) Sessions and Cookies¬† b) Django…
  • 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 (`/`),…
  • need help with regex. I have two texts that should appear as below after i use regex: only 2 conditions: Convert all the letters to lowercase Retain only alphabetic and space-like characters in the te…
  • Python Please do not use break or continue in the programs Write programs as easy as possible to understand.¬† ¬†. Write a program to take single character input from the user and then check whether i…
  • This is from CS1010S Mission 7 Task 5: ############ ## Task 5 ## ############ ############### # Scorer ADT¬†# ############### def make_scorer(): ¬†¬†return {} def blame_train(scorer, train_code): ¬†¬†…
  • def exercise02(new_observations): ¬†¬†”’ ¬†¬†¬†¬†Data set: Iris ¬†¬†¬†¬†Fit the Iris dataset into a kNN model with neighbors=5 and predict the category of observations passed in¬† ¬†¬†¬†¬†argument ne…
  • Below is a program that’s incomplete. complete the program with the following tasks. See the comments inserted in the program to guide on what to do. Design a program to input three numbers from the u…
  • Please help with these python questions!!! 1. Explain why the following expression will evaluate to an integer 7. range(10, 1, -1)[int(‘6’*2)//17] ¬† 2. What is the equivalent list comprehension to th…
  • How do I create a function¬†verify¬†that takes a string as user input (via arguments! not via the built-in function¬†input) and returns the string if it contains at least one number, one uppercase let…
  • python help: Write a program means.py that reads in positive real numbers from standard input and writes their geometric and harmonic means. The geometric mean of n positive numbers x1, x2, . . . , xn…
  • This is in Python3(IT 140: Introduction to Scripting: (1) Prompt the user to enter two words and a number, storing each into separate variables. Then, output those three values on a single line separa…
  • Supreme Courtite a program that requests the name of a president as input from a list and then displays the justices appointed by that president. The justices should be ordered by the length of ti…
  • Details of read_db: The read_db function takes an open-file as an argument; it returns a dictionary (dict or defaultdict) associating a date (str) with a another dictionary: this inner dictionary asso…
  • Write a recursive Python function to check if all elements at positions 0 … N-1 of a list integers (A) are numbers (between 0 and 9). ‚ÄĘ The function takes two parameters, a reference to the list a…
  • using Classes and Objects ¬† ¬†we have to 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 …
  • 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…
  • i need help with this practice question please! thank you!. Description A palindrome is a word or a phrase that is the same when read both forward and backward. In this program, you need to ignore spa…
  • please solve this python code for me.¬† Copy the contents of¬† spotify_top_50.csv ¬† ¬† ¬† ¬† ¬†copy under the data and name the file as ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† …
  • Question 1. About how many periods are in the chapter with the most characters? Assign either 1, 2, 3, 4, or 5 to the name characters_q1 below. 1. 250 2. 390 3. 440 4. 32,000 5. 40,000
  • . Your data set must be unique in some way such that each student must have different data columns, etc. This initial sample must have at least 30 rows of uniquely different data. Must have at least…
  • this is Python3. 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 will allow a…
  • This is Python program it’s based on the chart presented
  • im trying to find out what is “def someFunction(x,y)” mean when in a program, I cant find it?
  • how does greedy approach work…show this explanation by code and real life examples of it being used
  • Please show work! 1. Demo problem. Suppose we want to use for‚ÄĒloops to produce this arrow‚ÄĒhead like pattern: * ** *** **** ***** ****** ******* ******** ********* ********** ********** ********* *…
  • A .¬†When will you need to use a tuple data structure¬†rather than¬†a list data structure? 19. ¬†What is the data type of¬†(1)? a.¬†Tuple b.¬†Integer c.¬†List d.¬†Both tuple and integer
  • please help me asap. can you change -243 to 243? 1. (+5) Find the greatest common divisor (gcd) of 342 and -243 using Euclid’s formula or the god function available in python god(a,b) == gcd(b,amod b)…
  • . IA Reseau Communi… midterm_project.pdf x (? H 1 / 10 + 127% Y LL midterm_project January 26, 2022 [7] : # Initialize Otter import otter grader = otter . Notebook("midterm_project . ipynb&qu…
  • A cipher is a simple way of encrypting a message by replacing each letter with a letter in a certain number of spaces up the alphabet. For example, if shifting the message by 13 an A would become N, w…
  • Create two variables x and y enter x = 3 and y = 3 Task1 Create nested list based on x and y for example as mentioned above and fill them with 0 [[0,0,0], [0,0,0] [0,0,0]] ¬† if I enter x = 4, y = 4 t…
  • Python For simulations, we often create placeholders then fill in the values with actual data afterwards. Using the specified functions below, please create a 1 dimensional array with 140 values. Each…
  • In python: Encrypt and Decrypt from a File 1.¬†¬†Using w+ generate text file of following text. “Any text can be used.” 2.¬†¬†¬†¬†¬†¬†Choose a number (slicing number) for the constant to use to store …
  • Given a non-empty list of int numbers, and a target number, return the number from the list with the max difference from the target. Solve with max/lambda. If multiple numbers have the same max-dist, …
  • I have to provide the following: ¬†¬†“””Given a list of words, return a dictionary where the words are keys, ¬†¬†¬†¬†and the value for each key is a list of the character codes of the ¬†¬†¬†¬†letters …
  • Write a Python program to ask the end user to enter the length and the width of a rectangle in centimetre and then calculates and displays the rectangle area in meters. 1 cm = “100 m. 2. Write a …
  • i need to Write a Class for Employee: Data Members: name pay houres Assessor Methods: Set method and Get method: for each data member Member Methods: Mutilator Method: emppay(): Pay = houres * 80
  • Please use the python and explane step by step. ‚ÄĘ make a function that takes a character chain and returns a histogram in a dictionary format. ‚ÄĘ The main program must take a dictionary and display…
  • Write a web service and call it calc.svc which is the basic calculator and receives three values from input via keyboard. The first value as an operator (Op1) should be a char type and one of (+, -, *…
  • 3 (a) Modify the above function PF (N) + comments so: . Any new primes that are found are appended to the list primes . No prime factor p > VN is tested. (b) Modify the for N loop: . test all N …
  • “”””Designing with the logic for a program that allows a user to enter the name and maximum sustained wind speed of a hurricane.¬†The program will then display a table of the names, maximum wind speed…
  • Writea function called change_word which takes a string as an argument: – If the length of the string is more than or equal to 4, then add ‘ed’ to its end. – If the string alreadys ends in ‘ed’ or if …
  • Use string concatenation and the indexing operator to construct 3¬†words from the string name. Print each word. name = ‘grace hopper’
  • The professor provided us with code and we are suppose to alter it. In order to get the proper outputs. I’m unsure why mines is wrong. It is graded on: calculator(expr) :The grading script will feed 4…
  • Questions about pandas Data path :https://drive.google.com/drive/folders/1n_RmfXxr98LZwCP0zIHcV7u1of8levpj?usp=sharing Homework 6 In this HW, we will study the pay gap between men and women who have j…
  • Given a list of the squares of the first 40 whole numbers (starting with 1,4,9…), consider the last two digits of each number (which one can get by dividing by 100).¬†¬†What is the largest number cr…
  • def calculateNumber(): ¬† ¬†numbers = input(“Please Enter number separated by comma: “).split(“,”) ¬† ¬†total = 0 ¬† ¬†for num in numbers: ¬† ¬† ¬† ¬†total += int(num) ¬† ¬†average = total / len(numbe…
  • Problem 2: CART-RF-ANN An Insurance firm providing tour insurance is facing higher claim frequency. The management decides to collect data from the past few years. You are assigned the task to make a …
  • Program in python please. The midfix of 3 is the middle 3 characters of a string. Given a string input, output the middle three characters of that string. Assume the word length is always odd and at l…
  • Create the python code that will print the odd numbers between 199 and 299, including 199 and 299.
  • A program that generates a random list of numbers. (start with an empty list and use append() ) The length of the list X can be a random number between 15 to 20. Each of the random numbers on the list…
  • pls pls help!! ¬† Write a function perfect_number(num) that takes a postive integer num and returns True if it is a perfect number, otherwise False . An integer is perfect if it is equal to the sum of…
  • Note: ¬†your d notation for gaming. 3d6, for instance, would mean roll a 6-sided die 3 times. For this assignment, you will create your GenPlayer function. This function will create your player nam…
  • Using text analysis, data scientists can identify positive, negative, and neutral expressions in text. This is known as sentiment analysis. Suppose that you consider UCSD’s student-run newspaper, The …
  • “Please follow the instructions in: HW5 – Browser Forensics.pdf . Submit all source code created to solve the problem(s) in the assignment. The attached file has the referenced .sqlite database files….
  • Identify the most common words in lyrics of¬† TOP TEN SONGS ONLY ¬†from the dataset. Please write down the¬† 20 most common words ¬†you identify from the lyrics of top ten songs. https://raw.githubuse…
  • follow the steps of the tutorial. You can supply your own data or use the Excel data file attached. Produce one example of each of the charts included in the tutorial. Submit each of your graphs, the …
  • Begin by writing a function called¬†load_grade_book.¬†It takes one string argument, a filename. The file is in CSV format (comma separated values). Data in CSV files is separated by commas.¬†The fi…
  • 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….
  • Purpose¬† This program will demonstrate the use of taking user input, performing a while loop and displaying the output¬† ¬† Overview¬† Your friend wants to start training for a marathon. They will be…
  • Program the game Sudoku (https://en.wikipedia.org/wiki/Sudoku). You must therefore complete the program for this game. A program part is given in two files: D4Q3.py and gameSudoku.py (which you must c…
  • can you help me with this question and give me detail soluitons? Do not import set modules .. . < > G online.cs.uwaterloo.ca C < Previous Instructions Polygons Dates A Course is a Course, of …
  • I do not understand what is wrong with the program. Can someone please why it is wrong?
  • I would like help on TO DO #3 I have been trying to create a variable as a tuple (this must be done in a tuple) that compares the first element in the row tuple to the hashed password pswdHash, my I g…
  • please print out these functions in main and print the sample output. A python function called get_min_max(integers) which takes as input a list of integers and returns the values of the smallest and …
  • My lab 3a that the question is asking me to alter is below. Please help.
  • Pandas provide various methods that can be used to handle data more efficiently. In this task, you should convert NumPy array data into Pandas dataframe type.¬† Write a function¬†convert_to_dataframe(…
  • Suppose grades = [9, 7, 7, 10, 3, 9, 6, 6, 2] Write a)¬†¬†¬†An expression that evaluates to the number of 7 grades b)¬†¬†A statement that changes the last grade to 4 c)¬†¬†¬†An expression th…
  • Word and Excel In Python I need help with my python lab Your boss has asked you to make a spreadsheet of every country in the world, and their capital cities. There are over 200 countries in the world…
  • I am new to Python, please help me with the question! The month February normally has 28 days. However, in leap years, February has 29 days. Write a program that asks the user to enter a year from the…
  • How would you code regex that matches the full name of someone whose last name is Watanabe? You can assume that the first name that comes before it will always be one word that begins with a capital l…
  • This project will make use of COVID-19 data from Johns Hopkins University. The goal is to reproduce the structure and display relatively similar output as shown in the next section and examples that f…
  • . (1) UML stands for (2) A technique in which one control structure is placed within the body of another is called, (3) The generic syntax of a while loop is: (4) A method that provides implicit sup…
  • Consider this Python dictionary: students = { ¬† ¬†“10-450-1203” : “Jorge Soares”, ¬† ¬†“75-421-2310” : “Abdul Ali”, ¬† ¬†“07-103-5621” : “Michelle Davis” } ¬† What does this Python statement do? name…
  • Load the mtcars.csv data set into a data frame. Create a new column in the data frame, exp_wt, that is the negative exponentiation of of the column wt. Use the ols function to perform a multiple regre…
  • need help python please Q7: arrange rows (1.1 points) While you don’t always care about what order the rows are sorted, at times it can be helpful to sort a DataFrame so that the rows are ordered in a…
  • In this program, create a list of numbers from 1 to 50 named list_1 . The numbers should be present in the increasing order: Ex list_1 = [1,2,3,4,5,….,50] i.e. index zero should be 1, index one shou…
  • . Problem Statement In the figure below, B is a rigid cube whose sides are of length /. A, C, and D are square plates that are hinged to B as shown in the figure. The motion of the system is such th…
  • please help ¬†this computer science questions , many thankss. Question 19 Write a function named identify_errors (text) that uses a Stack to identify the cause and location of any errors involving bra…
  • Please help can’t figure out will rate! 1.21 Exercise: Given a list like A = [-5, 2, 4, -9, 12, 13, -30, -21, -20] should be: we see that 12,13 and -21,-20 are pairs of consecutive numbers. Write a pr…
  • Higher/Lower Game Description Your friend Maria has come to you and said that she has been playing the higher/lower game with her three-year-old daughter Bella. Maria tells Bella that she is thinking …
  • python program or pseudo code. File All Tests.txt has these fields separated by space: First Last Test Score Example rows; Veneet Stewart Test1 88 Veneet Stewart Test2 78 Elizabeth Drake Test3 55 Crea…
  • how Python expression for the algebraic expression below: a = -2x + 2
  • Hello, I need help with he following question in Spark/Scala using Databricks.¬† ¬† I have 2 datasets provided below where one includes pick up times and another one includes Location IDs and Location…
  • QUESTION 2 Complete the Python main code block of the following Python script called mu_q2.py. The script should perform the following computation: (a) takes any number of command line arguments using…
  • i need help for the 2 following question can you give me the answer? thanks Given the following two code segments, select the most appropriate statement. #1 : for i in range (10) : # statement 1 conti…
  • is_sorted(arr: StaticArray) -> int: Write a function that receives a StaticArray and returns an integer that describes whether the array is sorted. The method must return: ‚óŹ 1 if the array is sor…
  • Consider the following code. Re-write the code using inheritance and polymorphism.¬† ¬† class Arizona () : ¬† ¬† def capital (self) : ¬† ¬† ¬† ¬† print( “Phoenix” ) ¬† ¬† ¬† ¬†¬† ¬† ¬† def bird (self)…
  • This is all the provided information. I need with a python program for the following: Help me develop a method occursOn(day, month, year) that checks whether the appointment occurs on the given date. …
  • PYTHON PROGRAM Place three Knights on a 3 x 3 chess board such that (1) all Knights do not attack each other, (2) only one Knight is placed in each row, and (3) only one Knight is placed in each colum…
  • help with 4.2 please(do not know the coding) Edit Metadata reviews = Table . read_table( "reviews.csv") reviews Positive Review Percentage 80 96 33 65 95 Edit Metadata Question 4.1. Calculat…
  • Draw the 11-entry hash table that results from using the hash function, h ¬†( ¬†i ¬†) = ( ¬†3 ¬†i ¬†+ ¬†5 ¬†) ¬† mod 11 ¬†, to hash the keys 12, 44, 13, 88, 23, 94, 11, 39, 20, 16, and 5, assuming¬† 1…
  • python binary search. To do a program that performs the following tasks: Prompt the user for a file containing 100,000 unsorted integers Read those integers into an array Prompt the user for a search …
  • I am writing a project for a rubiks cube program called solve. I currently need to add some extra things to my dictionary’s function and I need help. In my dictionary, if the key ‘rotate’ is missing, …
  • Assume there are two communities in this network: (A, B, C, D, G) and {E, F, H). Which of the following statements is(are) True? Select all that apply. A B D F E H The Common Neighbor Soundarajan-…
  • need help to write a functions part C: ¬† ¬† client form. Write a function called "changePermissions" that accepts a string containing the absolute path and name of a file on the Raspberry P…
  • Using Python and or Pandas Library, answer the questions based on the dataset births.csv (please refer to link for dataset). Please show entire code. https://drive.google.com/file/d/1V32DAIoyBNKrueewl…
  • Hand trace the following program: numbers = k = -1 while k != 0: k = int (input ("Please enter a number: ") ) if (k $ 5 == 0) : numbers . append (k) if (k * 2 == 0) : numbers . append (k) pr…
  • How do I code import a subprocess called pythonOut.txt under the folder named tempPython.
  • This is my code: string = input(‘input string: ‘) def part_one(string): ¬†¬†print(len(string)) ¬†¬†print(string[1]) ¬†¬†print(string[0:10]) ¬†¬†print(string[-5:]) ¬†¬†lower_case = string.lower() ¬†¬†p…
  • Write python program 19. Write a program that draws "modular rectangles" like the ones below. The user specifies the width and height of the rectangle, and the entries start at 0 and inc…
  • As part of an enrollment campaign, we asked current students to call in, provide their student number and the number of siblings that still remain in their house that might attend our school.¬† The ph…
  • Using at least one function, create a unique encryption cipher in where you take a plaintext message and turn it into ciphertext by doing the following: Get user input for the plaintext message. Take …
  • I have to first get a list of integers from input, and then that list is followed by two more integers representing lower and upper bounds of a range. The code should output all integers from the list…
  • Given a list of¬† n-1 ¬†numbers ranging from¬† 1 to n , your task is to find the missing number. There are no duplicates.¬† Input Format: The first line contains¬† n-1 ¬†numbers with each number separ…
  • Select one of the project ideas below and develop a Python application that meets the requirements described below: ¬† Online store : users should be able to order items for sale or combo items (items…
  • Question 1 Write a program that inputs the name, quantity, and price of three items. The name may contain spaces. Output a bill with a tax rate of 6.25%. All prices should be output to two decimal pla…
  • Given the (X_train_scaled_std, y_train) pairs denoting input matrix and output vector respectively: complete the three function definitions and demonstrate the functionalities of each by calling them …
  • PCA on MNIST: Use scikit-learn to output a data set X_train_transformed and X_test_transformed , with l attributes. Here a reasonable choice of l is 10, equal to the number of labels. But you can try …
  • PART A IS DONE¬† PLEASE HELP WITH PART B I have attached link for part a coding as well as for the dataset you can access from there! ¬† https://drive.google.com/drive/folders/16hgVbo9VICgGY7gp3tq47Ui…
  • . SEED Labs ‚ÄĒ The Mitnick Attack Lab 11 X‚ÄĒTerminal (see Packet 4 in Listingm). If this step is successful, from Wireshark, we can see that X‚ÄĒTerminal is going to initiate a TCP connection t…
  • How to Using the SMS code and ¬†show whether this hypothesis is True Spam messages has more Upper Case letters than ham messages NB: You can download the SMSSPAMCOLLECTION Dataset
  • Please refer to the attachment to answer this question. This question was created from Assignment 4.docx.
  • Take the gender and height as inputs, and use classification as height > 170 cm as tall, and height<170 as short. Display “You are a short female”, or “you are a tall male” and so on depending o…
  • Please help write the code for question below. Thank you very much. ed (16) ENGG1330 – Assessments X ed (16) ENGG1330 – Assessments X M FW: Engg 1320 Assessment & X + C D ap.edstem.org/courses/61/…
  • Import the attached excel sheet named ‘Employees.xls’ and make another dataframe to show: under each manager ID, for each job title, what the total leave hours are. If the leave hour is Nan, replace i…
  • I need help on this?. FizzBuzz is a simple program with a tow rules in it. The game goes like this, if the number if a multiple of 3 you say "Fizz" if it’s a muitiple of 5 you say I"B…
  • 5.1: ¬† Writ e a python program that does the following: ¬∑¬†¬†¬†¬†¬†takes as input from the user an English sentence ¬∑¬†¬†¬†¬†¬†calls the function vc_counter() that: o¬†¬†takes a string argument o…
  • Car MPG Cylinders Displacement Horsepower Weight Acceleration Model Origin Chevrolet Chevelle Malibu 18 8 307 130 3504 12 70 US Buick Skylark 320 15 8 350 165 3693 11.5 70 US Plymouth Satellite 18 8 3…
  • 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…
  • Prepared Question: Spot the mistake There are three main properties of a recursive function: The function must call itself. The function must have a reachable base case. The recursive call must decomp…
  • You are given two Python lists named data and labels as shown in the starter code below. Create a Pandas Series object named si using data as values and labels as index. If you print s1, it should loo…
  • Hi this is the code that is written, assignment it pertains to and relevant data below. Could someone 1) review code overall for meeting assignment requirements and provide recommendations on changes …
  • 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 wha…
  • My program lets the user enter as many strings as they desire, and it will count the number of each character that appears in the strings. After strings are entered, the program will print a report li…
  • Could I get some help on this? ¬† csv: https://docs.google.com/spreadsheets/d/17UEOK8zmUAc_9c3eJ4dqwlKASS9mCxDs8tXm4las0Nw/edit?usp=sharing ¬† Code: import numpy as np import pandas as pd import math …
  • I have a data set related to the number of years the person has worked and the amount of salary that person recieve monthly after passing that number of years.¬† In this data set dependent variable is…
  • Python Pycharm make improve the Cafe Management System below. The GUI should be able to accept values and calculate costs. ‘Total’, ‘Receipt’, ‘Reset’ ¬†and¬† ‘Exit’ ¬†Tabs should be fully functional….
  • solve the following please use python Global Constant Real CALORIES FROM FAT CALORIES_FROM_CARBS main() getFat setFat (Ref inputFat) [gramsFat, caloriesFat) Display "Enter caloriesFat = gramsFat …
  • Let L = x1, x2, …, xn be a list of positive integers and x be a positive integer. Discrete Math Problem. Write the following functions in Python. Function 1: Returns the length of a longest s…
  • In this assignment, you will use a Python dictionary to store and access current weather data from a US city of your choice. Break up the parts of your program into at least two functions for organiza…
  • Answer both below coding question and MCQs below it There are a total of A courses you have to take, labeled from 1 to A. Some courses may have prerequisites, for example to take course 2 you have to …
  • ****PLEASE USE PYTHON TO ANSWER**** I have a code that is supposed to simulate a closed system of people being infected with COVID-19. In my code blue dots are uninfected, and red dots are infected. A…
  • (Indexing, 23 pts} At the end of books, there usually is an index that lists the pages where a certain word appears. In this problem, you will create an index fora text but, instead of the page nu…
  • Define a tuple¬†my_tuple¬†that stores 6 items: 2 integers, 1 dictionary, 2 lists, and 1 float (in any order). Then, write code that ( using indexing ) accomplishes the following: Assigns the second el…
  • Lab 5 : Image filtering and input() print() statements Before starting the lab, read through this entire document. You will do a typical data processing operation as in Accept some input Process the i…
  • 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 specified ci…
  • import stdio import sys # take user input as ints for month, day, year month = int(sys.argv[1]) day = int(sys.argv[2]) year = int(sys.argv[3]) # plug the variables into the the equations given in the …
  • I want to learn NMF algorith in topic modelin. Could anyone exaplain it? And What is the difference between NMF and LDA in topic modeling
  • Complete function “sameNumberOf(string, a, b)” to: Return True if the character given by the second parameter (“a”) occurs as often as the character given by the third parameter (“b”) inside the first…
  • Make the python program (pseudocode) to solve these question ! Nuclear power plants have redundant components in important systems to reduce the chance of catastrophic failure. Assume that a plant has…
  • Write a program that prompts the user to enter a loan amount, interest rate, and number of years¬†for a car loan. Then it prints the monthly payment amount. Loan Amount: 30000.00 Annual Inte…
  • Computer Science Please use Python Recursion!!!! Write-a¬† recursive ¬†function iPattern that accepts two integer arguments and generates the patterns indicated below. The first argument is a positive…
  • hoose some var columns as features. Explain why you choose those columns. It can be common sense, or statistics. Be careful with those missing data. They can be empty string, -1, -98, -99, etc. You wi…
  • PYTHON CODE PLEASE ¬† 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 i…
  • It is not clear how we will focus on solutions with the Random Gradient Descent Method. We stopped the algorithm when we reached a certain number of steps in the lesson. Using the code in the lesson, …
  • I need to graph the number of times an event has happened each year however the data in the date column is in dd/mm/yyyy format and i wish to only extract the data and categorise it based on year to m…
  • #NAME?
  • The Frobenius equation is the Diophantine equation, a_1 x_1 +… + a_n x_n = b where a_i> 0 are positive integers, b> 0 is a positive integer, and the solution x_i consists of non-negative integ…
  • Part 1 The following image is a Python program. Download the data file named “data.csv” from this assignment.¬†Put it in the same directory in which you will create the program file.¬†¬†Create a file …
  • Please write me a function for this this is the python programme def main(): ¬†¬†# using keyword global allows to use the ip_List created outside of function to ¬†¬†global ip_List ¬†¬†¬† ¬†¬†”’ ¬†¬†U…
  • Implement the function has_subseq, which takes in a number n and a “sequence” of digits seq. The function returns whether n contains seq as a subsequence, which does not have to be consecutive. ¬†. Im…
  • Using Jupyter notebook: From the combobox I want to select an item and in text box I want to display the data type of the selected item. Please refer the below image to get an idea of my layout and wh…
  • def contains_no_lowercase_vowels(phrase: str) -> bool: ¬† ¬†“””Return True iff (if and only if) phrase does not contain any lowercase ¬† ¬†vowels. ¬† ¬†>>> contains_no_lowercase_vowels(‘sy…
  • I have this cool template for a financial document analysis program for my python class. The thing is I’m not good enough in python to figure out the missing parts. So I’d like a completed version of …
  • Hello please see below are homework questions I am working on for this week. This is my first time working with Python and their were double the questions this week. Please show me how to do these? Qu…
  • This is a difficult question that I’m trying to learn. Could you please help me? It requires Python and spaCy to solve and there are 5 places to enter the code. ¬† Complete function process_subj_and_o…
  • hi, I have a problem with while loop in python, I want to continue to prompt the user till they enter a valid(numeric)and positive float number. Where do I go wrong?thx def main(): ¬†¬†¬†while True: ?…
  • When we mark your program, the first thing we will do is run a function called fixCodes(). This function will call functions for all of the other tasks in turn, and will save all of the resulting imag…
  • need help to solve this Part A: Independent Sets Recall the definition of an independent set from the lecture slides: "A set of vertices X is called an independent set of a graph G=(V, E) if for …
  • please help me with this question (1 question) This program does not output anything to the screen. 1) If you have not already done so, create a new folder with the name data 2) Now create a new folde…
  • Post a Python program that accepts at least three values as input, performs some computation and displays at least two values as the result. The program must include an if statement that performs diff…
  • I need help finishing this program. Why do I get a syntaxError: ‘return’ outside function for line 35? Do I need line 102? Do I actually put in a made up website name and password for choice 3? Is cho…
  • Each cell of a column has a list of dictionaries like this: [{‘name’: ‘Paramount Pictures’, ‘id’: 4}, {‘name’: ‘United Artists’, ‘id’: 60}, {‘name’: ‘Metro-Goldwyn-Mayer (MGM)’, ‘id’: 8411}] The code …
  • On execution of program system should prompt “Enter a host to scan”. User will provide a host name¬† 2. System should look for all the ports between the range of 1 to 1025¬† 3. If the Ports is open…
  • Can i get help writing this code into a pseudocode, the code works perfectly just need help with writing it in pseudocode. import random def secret_number(): ¬†¬†while True: ¬†¬†¬†¬†try: ¬†¬†¬†¬†¬†¬†n…
  • def invert_dict(d): ¬† ¬† ¬†inverse = dict() ¬† ¬† ¬†for key in d: ¬† ¬† ¬† ¬† ¬†¬†val = d[key] ¬† ¬† ¬† ¬† ¬† if val not in inverse: ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†inverse[val] = [key] ¬† ¬† ¬† ¬† ¬† else: ?…
  • To Write a Python program to add ‘ing’ at the end of a given string (length should be at least 3). If the given string already ends with ‘ing’ then add ‘ly’ instead. If the string length of the given …
  • # Given string as input, write function to return an HTML paragraph (opens with <p> and closes with </p>) with each item getting an HTML break tag <br /> in between. The string class…
  • https://docs.google.com/spreadsheets/d/1BC0dp89qI4DFPlhaLPk35kmqxB1aJyb8wRaivBBRzMc/edit?usp=sharing ¬† Dataframe can be accessed from the above link. ¬† Questions : Check the data type and adjust dat…
  • Given the code in sorted list array.py, complete the implementation of the following methods: remove index find peek identical remove_front remove_many count: you may not use the Python count metho…
  • Start with your program from Part3, but make a copy and name it student_gpa.py. In this part you will add a new function: ¬†¬†¬†¬† calculate_gpa(student_data: list) -> int The function will take a …
  • Hello, I’ve created a program that reads a list of words and then the program outputs those words and their frequencies. The problem I’m having is that the word a is counted as a letter throughout my …
  • Please write an email class using OOP concept to send an email with “Information Technology” for the subject and “Computers” as the body. Use the getpass library to hide password. Instantiate an objec…
  • IN PYTHON 12.1 ( The Triangle class ) Design a class named Triangle that extends the GeometricObject class. The Triangle class contains: Three float data fields named side1, side2, and side3 are used …
  • can someone please solve this? will make sure to give thumbs up ¬† Scenario Given a Tuple, find out the number of times a string occurs. Aim Write a script that uses tuple methods to count the numb…
  • print a python function that given a list, returns both the minimum and maximum values in the list. Your main program should allow the user to enter space-separated numbers as test lists, until a blan…
  • In the Happy Valley School System, children are classified by age as follows: less than 2, ineligible 2, toddler 3-5, early childhood 6-7, young reader 8-10, elementary 11 and 12, middle 13, impossibl…
  • 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” z …
  • https://docs.google.com/spreadsheets/d/12pSrzcfNGagHpe-KsczWiClcmfNMbhfQOToSy9FQlQo/edit?usp=sharing Q1 1) Read the DI production data extract ( CF Around Lubbock Production Table.CSV ) into a Pandas …
  • no chegg Age prediction from facial images we are going to develop a program (in python) that would be able to guess age of a person given his/her photo. It is expected that you will first do the prin…
  • Please help, the code should be in Python and can be plotted using Bokeh. Thanks. Write an interactive code showing the transformation of the space-time diagram due to the Lorentz transformation, as s…
  • Just mention the correct lines of code in the above format. No need to do the math part, just do the coding part. Thanks! Problem 2. 1. While we can formalize the Likelihood Function there is no close…
  • ### Assignment Description This week, you will be will be completing a script that gathers information about an email address using an API and JSON. This is another example of footprinting, or OSINT, …
  • Please I need help solving this error. Thank you!
  • no importing anything¬† Doctests and method headers below ¬† Question 4: ¬† In this question, we will be implementing classes that abstract different weapon types in the game VALORANT.¬†Doctests for…
  • Please help me with Python or Matlab code for dynamic simulation for this problem Also, help me understand how to visualize it graphically.. The Gotham Taxi Company has a Ô¨āeet of 500 taxicabs. On an…
  • Hello, how can I do question letter c. ? Thank you!. 5. Go to the USGS website: https://eerscmap.usgs.gov/uswtdb/api-doc/#keyValue to learn more about the API they provide. a. Use the following code t…
  • Given a randomly ordered array of N integers, what is the big-oh of the most efficient algorithm for determining if any single number in the array makes up more than 50% of the array?Given a binary se…
  • Below is a poem encrypted with Caesar Cipher. Please append your solution to the existing python code to decrypt the poem. The message contains only English alphabet, all lowercase and without spaces….
    • Suppose your cell phone carrier charges you a monthly fee of $30.00 for up to 300 minutes and $0.45 for each additional minute after the first 300.¬†¬†Assuming you used your phone for x minute…
  • Write a program that ask the user for the price of an item, and then prints out a bill for the item. The bill includes the item price, the sales tax on the item, and the total amount paid by the custo…
  • Can you explain how to define this function? def fertility over time ( country , start ) : ‘n’" Create a two – column table that describes a country’s total fertility rate each year , "! !’&…
  • I have attached all my code for the project i am working on, it has 2 more errors which i have to correct, the first being the red error on the left, to do with the get_tax() function, and the 2nd bei…
  • Write the below 5 functions according to the following requirements: sum (list_parameter) : returns the sum of numbers inside a list average (list_parameter)¬†: returns the average¬†of numbers inside …
  • Hello! this is my first time creating an IPO chart ( input, processing, and output) I just needed someone to please check if I messed up when underlining the nouns or adjectives and or if I messed up …
  • Assistance creating attacks repy for reference monitor Attack Case 6 : It checks if data is read from the valid copy/data is written into the other copy when invalid data is written and the file is no…
  • unctions can also take strings (or arrays, or tables) as arguments, and they can return those things, too. Question 1.3. Define a function called disemvowel . It should take a single string as its arg…
  • Read the CustomerLimited SPSS dataset into Python and then use it for everything below. The overall goal is to understand the customer better: Find the summary descriptive statistics for the four Pers…
  • Exercise 1 a while loop that starts at the last character in the string and works its way backwards to the first character in the string, printing each letter on a separate line, except backwards. Ano…
  • I want help understanding this¬† ¬†. Technical Constraints 0 You will only use the libraries that were covered in classes. n You will use Python version 3.6.5 or later. 0 The only external frameworks/…
  • 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…
    • Write two Python functions quotient () and remainder () which takes two numbers a and b as parameters such that:¬† ‚ÄĘ The function quotient () return the quotient q of the Euclidean division of a…
  • Please help class TrackHistory: ¬†¬†def __init__(self): ¬†¬†¬†¬†pass ¬†¬†¬† ¬†¬†def __getattr__(self,name): ¬†¬†¬†¬†pass ¬†¬†def __getitem__(self,index): ¬†¬†¬†¬†pass ¬†¬†¬† #¬†¬†def __setattr__(self,…
  • Python Programming: Checking for valid UPC code or ISBN code.docx
  • A list is sorted in ascending order if it is empty or each item except the last one is less than or equal to its successor. Define a predicate isSorted that expects a list as an argument and returns T…
  • Use Python Pycharm¬† 1. Given a string of odd length greater 7, return a string made of the middle three chars of a given String 2. Given 2 strings, s1 and s2, create a new string by appending s2 in t…
  • I am working on ¬†my final assignment and need a review/help to clean up the code and use all the best practices within IT-140 course guidelines Here is the script ¬† class Direction: ¬† ¬†”’ ¬† ¬†Cl…
  • Prompt In PyCharm, genesis 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 us…
  • An important aspect of VALORANT is the communication between players through a text chat. We want to remove any unnecessary hostility, so write a function that removes all uppercase letters in the inp…
  • Create program and explain how it works, give me also diagram and explain how you get that diagram for this program total question is 4 Listed below are number in the table. If the user want to search…
  • Create Python class (Queue) that implements the queue data structure, described in the lectures. Instructions Your job is to implement the Queue class. Your class must support the following operations…
  • function foaf(graph matrix, person1, person2) that determines whether two people have exactly one degree of separation: that is, whether two (distinct)1 people are not friends, but have at least one f…
  • THIS IS A PYTHON ASSIGNMENT. PLEASE USE PYTHON 3.8 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…
  • def get_previous(filename): ¬†¬†“”” ¬†¬†Returns the number before the one stored in the file filename. ¬†¬†¬† ¬†¬†By number before, we mean that the number is an int, and the result subtracts one ¬†¬†…
  • You have been asked to write a program for a local goods transport company. The company has the following pricing structure: Millage Rate 0-100 Miles: ‚ā¨0.50 per mile 101-200 Miles: ‚ā¨0.40 per mile …
  • . Use the stocks Spark data frame from the previous assignment. Use Sparks ML algorithms for the following. For each of the following, do one set of predictions using the entire dataset, and another…
  • We are now finally able to model an¬†Album. An album should be initialized with an¬†Artist¬†and a title. It should have the following properties: 1.¬†artist: An¬†Artist¬†object representing the Artist…
  • You need to produce a list of word whose word length is an even number. ¬†you need to use a¬† lamba expression . Hint: returning true or false based upon whether the length of the string is even or od…
  • please a full answer Learning Journal Unit 7 Create a Python dictionary that returns a list of values for each key. The key can be whatever type you want. Design the dictionary so that it could be use…
  • import stdio # A data type to represent a blob. class Blob: ¬† ¬†# Constructs an empty blob. ¬† ¬†def __init__(self): ¬† ¬† ¬† ¬†self._x = 0.0 ¬†# x-coordinate of center of mass ¬† ¬† ¬† ¬†self._y = 0…
  • demonstrate a python script that computes the value of¬†ŌĬ†from the following infinite series. Print a table that shows the value of¬†ŌĬ†approximated by one term of this series, by two terms, by thr…
  • For this YouTryIt I would like you to complete the¬†kNearest¬†function so that it finds the iris in the training set that is closest to the iris you are trying to classify/predict. I have included com…
  • a function might raise more than one type of exception. In practice, it would be good if we handle each exception separately. In this exercise, we choose to return different values when different exce…
  • Here is a suggested set of iterations when building the interactive user interface: ¬† 1.Write a while loop that loops a fixed number of times (perhaps two times), prompting the user to enter a string…
  • Write a code in Python that take an image as input and detect the face and draw a filled black circle on the face. Your code should save the detected face image as well as circled image. Note: Use Ope…
  • We need to write a function function,¬†Det, to find the determinant of n by n matrice,¬†EGval, that finds the eigenvalue¬†? őĽ¬†and a function,¬†EGvec, that finds the eigenvectors¬†?
  • I am doing this project that I will insert and have no idea where to start. ¬†I have been staring at my screen for an hour and am just overwhelmed! ¬†Any input would be wonderful. ¬† Former President …
  • m_list = int(input(“Enter 3 test score for Marla : “)) a_list = int(input(“Enter 3 test score for Ashford : “)) s_list = int(input(“Enter 3 test score for Sam : “)) all_scores = [m_list[:], a_list[:],…
  • Project Description – gather the data from the provided file ‘body.data’. The file ‘bodytxt’ describes the data. 0 For the BMI calculation, Age will be the x values, BMI the y values. The BMI calcu…
  • finally got my code to work but I am not getting the output I want. This is my code: ¬† from symboltable import SymbolTable import stdio import stdrandom import sys class MarkovModel(object): ¬† …
  • Creating a programme about a smart alarm Question 1 ‚ÄĘ Alarms The program should enable the user to schedule and cancel alarms. The alarm should notify the user when the relevant time is reached. Ala…
  • Write a function called increment, which adds 1 to its argument. An example call is: n=3 a = Increment(n);
  • oommission that the company paid the broker on buying the stock. amount that the oompany sold the stock for oommission that the company paid the broker on selling the stock. net proÔ¨Āt the company ma…
  • Write the 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 th…
  • I need the code please CHALLENGE ACTIVITY 11.5.1: Max and min numbers Start Write a program whose inputs are three integers, and whose outputs are the largest of the three values and the smallest of t…
  • Can anyone explain this in python? prompt: Part VÔ¨ā]: Blackjack Dice (30 points} For this part you will implement a two-player version of the card game Blackjack but with six-sided dice instead CSE l…
  • Could anyone help with my python hw? If you could explain it as well that would be helpful. Thank you! ### Exercise #1 “”” def exercise_1(a): ¬†¬†“”” ¬†¬†Assume `a` is either an int or a float ¬†¬†Ret…
  • Lab Assignment #4 – Use CNNs in image classification problems ¬† ¬† ¬† Exercise 1: Convolutional Neural Networks ¬† In this ex. you will implement a CNN …
  • Dataset : https://drive.google.com/file/d/1SZuTy379t55Ua4dIUggkRgH9m4z_32sW/view?usp=sharing ¬† 1. Create an age_segment column based on the age (extracted from the narrative column)¬† a. age>=73 ?…
  • Python Coding Style – make 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 …
  • ARTIFICIAL NEURAL NETWORKS AND DEEP LEARNING code is here: https://github.com/alextien/HW01/tree/master ( lenet-5.py and lenet-5-9line.py) Please describe the following questions. a. What are the diff…
  • Use python to construct the following function. Let’s define a “real” birthday as a birthday that additionally falls on the same day of the week as the person’s original date of birth. Construct a fun…
  • What is the source code for a Python programming to a program that shows the sum to a series of numbers entered by the user? The program would prompt the user for how many numbers are to be summed. Th…
  • # Expected knowledge to resolve the assignment: # objected oriented programming in Python # classes # composition # Inheritance # polymorphism # 1. Implement a class named “MyClass” # This class shoul…
  • Hello! I am having trouble with my lab. Honestly I don’t know where to start on it. A direction to go so I can finish it would be awsome! Introduction to the Lab¬†: A survey of random people was taken…
  • You have a structure formed by three side by side stacks that are limited in size. For this game we will limit our stacks to three elements each. For the explanation we will initially limit ourselves …
  • 11 LAB: Smallest number ¬† Write a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the output is: 3
  • Infix expression example: 3+4*5/6 (operators are between numbers) Infix expression evaluation: 6.3333 Postfix version of the infix expression: 345*6/+ Question: Define a class InfixExpression Assume f…
  • Give a FLOWCHART for this code:¬† def addition(num1, num2): ¬† ¬†return num1 + num2 def subtraction(num1, num2): ¬† ¬†return num1 – num2 def multiplication(num1, num2): ¬† ¬†return num1 * num2 def div…
  • # Complete code # Complete the code Long term short term memory (LSTM) The LSTM cell take a {t}th frame of a input sequence and states tensor from {t-1} step ([{t-1} hidden state, {t-1} cell state]) ?…
  • a Python program that prompts the user to enter grades to a list, alist (which is initially empty), and calculate the sum and average of the entered grades. The user will continue entering grades unti…
  • python question In more detail, write a function to_send_reminder( users, data, day) that accepts as input a table of users users and a table with recorded weights data formatted as described above as…
  • . Question 1 1 pts Consider the regular expression [pP]ythons? shown here in blue boldface. Indicate how many substrings it will match in the string "Python is a fun programming …
  • In Python, what does the “%” operator do in the expression 6 % 4? Select one: a.¬†It returns a float as a result of division. b.¬†It returns the percentage of the operation. c.¬†It returns a remaind…
  • Python program wherein¬† using the string “Life is awesome”¬† – Print the string¬† – Print the length of the string¬† – make and print a substring comprising first and last characters – make and print…
  • waasjakjfhakjdhaskajdasddsdakjhdsjkhcjkhksdhjfsdufihsdfsuhdfk
  • engineering notebook about robotics coding competition, just narrate it. Team name: Team Omicron For team introduction: numbers of words must be 50-60 words For coding Calendar for automatic: disregar…
  • I need to do the following: Read students’ result data from file result.csv, display: Ôā∑¬†students with exam score < 48. Please also save the students’ records to a file called failedhurdle.csv. ?…
  • Write an function named collatz() that has one parameter named number. If number is even, then collatz() should print number // 2 and return this value. If number is odd, then collatz() should print a…
  • Please refer to the attachment to answer this question. This question was created from Homework2 <a href=”https://www.coursehero.com/file/23039150/Homework2/?dqqid=80462″>https://www.coursehero.com/fi
  • Can I get the code for this problem? # 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 card ranks: 2-10, Jack, …
  • Write a python program that takes as input two opposite corners of a rectangle: (x1,y1) and (x2,y2) – float or integer only. Finally, the user is prompted for the coordinates of a third point (x,y). T…
  • PYTHON Describe¬†what¬†this¬†function does.¬†Try¬†different numbers¬†as input. ¬† def¬†test(num):
  • 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…
  • Given the final score table, I wonder how do I solve question3 Question 3. We want to see for a particular game whether or not UNC won. Write a function called did_UNC_win . It should take one argumen…
  • When I run this nothing happens. Why? def var_method_0(x): ¬†¬†nmean = sum(x)/len(x) ¬†¬†for i in x: ¬†¬†¬†diff=x[i]-nmean ¬†¬†¬†print(diff) ¬†¬†¬†sqdiff=diff**2 ¬†¬†¬†print(sqdiff) ¬†¬†¬†r=(nmean-sqd…
  • what is right python code in this andswer The [do Shell Debug Options Window leg &quot;ythan 3.6.3 143. 5. 8.2:5fad. Oat 3 5015. 18-11-41) #53 : 197 on inge you &quot;cop-right&quot;. &quot;credits&qu…
  • Write a Python program that will take a string from the user. Create a¬† dictionary from the string that will hold uppercase and lowercase letters¬† in separate keys. Make sure there are no duplicate …
  • Hi below is my code it is supposed to create a txt file that shows the population growth based on the cities.txt, it is supposed to create a new file and only add the 5 cities with the least growth. t…
  • Q1 Q2 thank you! A decrease-and-conquer algorithm reduces its input size by a rate of 3 in every iteration (i.e., from n to n/3 to n/9 and so on) with a cost of 10 elementary steps per iteration until…
  • I don’t understand how to find the code for this. I would need to use a For Loop. The sample output is below. Part 1 ‚ÄĒ Character Counter [For Each Loops) 0 Requirements 0 Ask the user for a sentence…
  • CSC105 Intro to Programming¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Name:¬† Repetition Structures Lab Python Programming Programming with Python – Focus on Repetition Structures This week…
  • What are the correct answers to these questions?. BabyNames.py Run Reset #The United States Social Security Administration publishes Console output will be 3 #a list of all documented baby names each …
  • Kindle Vella Royalties Create a program that calculates the royalties paid for multiple episodes. https://kdp.amazon.com/en_US/help/topic/G5TFR9WSHB46ZKFN ¬† Each narrative must provide two solutions:…
  • Write the python code of this In this task you are required to create 2 lists with names &quot;Names&quot; and “IDs&quot;, ask the user to input data of Names and IDs of Students (You may use the lo…
  • How to use the dataset¬†tae.data¬†implement(python) two cross-validation(choose two of them: K-Fold,Holdout,Monte Carlo,Leave-P-Out,Leave-One-Out ) procedures in the following way: Import data Split d…
  • Assume that you issued the following command:¬† chmod 733 ~/distribution Write the newly-set permissions for the ~/distribution directory. Show your work. Write a single Linux command to set full perm…
  • Consider the following terms of the sequence {on}, where on = 2(‚ÄĒ3)” + 5″. Find: Ô¨ā_ 0-1 00 011 05. Consider the following terms of the sequence {on}, where on = 2(‚ÄĒ3)” + 5″. Find: 05 O 1…
  • I want it in OUBuild or Scratch not a python, I want it with an application in the program OUBuild or Scratch. A person is cutting a long board of wood into different length of pieces . Each cutting h…
  • What is the difference between the logic operators and and or
  • I’m having this issue, am I missing something on this format? LAB ACTIVITY 5.18.1: LAB: Swapping variables 0 / 10 main.py Load default template… def swap_values (user_vall, user_val2) : return user_…
  • The following words have three consecutive letters that are also consecutive letters in the alphabet: THI RST Y,¬† NOP E, A FGH ANISTAN,¬† STU DENT.¬† ¬†¬†¬†¬†Use a program that accepts a word as inpu…
  • Are there any datasets that are appropriate for applying KNN, Naive Bayes, Decision Trees, Random Forests, and GLM and Logistic Regression models? And also need to compare these models’ performances.
  • python program to implement Crawler both sequential and concurrent?
  • n python Develop a program that follows the rules of Farkle as described. On program start-up, it shall display the rules to the user as read from a text file submitted with the program. The user can …
  • Write script or function which opens a file named as “Num_List.txt”, then writes the line number at the beginning of each line and the numbers from 0 to 100 with a step size of 10. Each number should …
  • I need help with these question in the file bellow. Chapters 1etc…. 1. True or False? As with all identifiers, constants can have their initial value changed anywhere in the program logic. 2. True o…
  • PLEASE USE SIMPLE CODE NO STRING OR DICTIONARIES. 2. countPeaks(L) [10 pts] A peak element is an element that is strictly greater than its left and right neighbors, i.e., the elements that occur befor…
  • I need help with the following assignment. Week 3 : Loops and functions X Q &amp; A – ENTD220 DO01 Fall 20 x @ what is a text file – Google Sea X myclassroom.apus.edu/d21/lo/enhancedSequenceViewer/495…
  • def find_content(listings, title, min_rating): ¬† “””Finds a title with a minimum rating in a grid of listings. Takes a list of lists of movies and their ratings and searches for a given ¬†title with …
  • Subject Python – so need a Python Expert. ¬† 1. The commands ¬† ¬† ¬† ¬† ¬† ¬† ¬† import numpy as np ¬† ¬† ¬† ¬† ¬† ¬† ¬† np.array ( [(1,2,3), (1.0, 2.0, 3.0)], (float)) will result in 2. The commands…
  • I need help with these questions: Create an array in Python that contains the days of the week. Create a loop to print the contents. I need to show a flowchart and psuedo code as well as Python code
  • I have a syntax error(in bold) and don’t understand why: ¬† filepath_cats = “C:\cpt180Stuff\pets\cats\catnames.txt” filepath_dogs = “C:\cpt180Stuff\pets\dogs\dognames.txt”¬† if (os.path.exists(filepat…
  • 1) The question screenshot has been attached down below: ¬† ¬† ¬† ¬† ¬† ¬† ¬†. Assignment #4 The assignment has two programming exercises. For both, we recommend you use the IDLE programming environme…
  • Suppose the cover price of a book is $24.95, but bookstores get a 40% discount. Shipping costs $3 for the first copy and 75 cents for each additional copy. What is the total wholesale cost for 60 copi…
  • In the days and weeks immediately following the ¬†tragic events of September 11, 2001, some political ¬†leaders in the United States argued that extraordinary times call for extraordinary measures; in…
  • In Python 1) Apply the monte carlo approximation to get the integral of f(x) for the sample sizes n=1000 , a=1, b=4. 2) Repeat (1) 500 times and record your results in a list. 3) Show the histogram of…
  • Please fix those code and has to display same as Desired Output in to your Output,. Thanks (use python) “Noted! please copy and paste all these fix code the way i post for you. thank you once again. ?…
  • Write a turtle graphics function that uses nested loops to draw 100 squares, to create the design shown below.
  • # 10 pts – Display just the metadata of all blocks (committed or uncommitted)r one block per line. # You’ll display the sequence Id, status, block hash, previous block’s hash, merkle hash and total n…
  • In this project, write programs which demonstrate your understanding of Handling Files and Exception in Python programs. I need a two different python program 1. Uses files – open, read/write, delete …
  • If I wanted to have each of the inputs that I input for noun and verbs and plural nouns and nouns to each be their own separate color, and for the program to return them in a separate color, how would…
  • Using python, show a complete code for generating the public key and private key of the Asymmetric algorithm using RSA and saving them in two text files respectively. Need the python code
  • We will discover the basics of image processing, a key area in the computer science field. In part 1, we will define an abstraction of images in RGB colorspace with a Python class. In part 2, we…
  • Please don’t copy from chegg and course hero¬† ¬† In Google Colab, implement PySpark code using DataFrames, RDDs or Spark UDF functions: Find all entities with names that are palindromes (name reads t…
  • CIST 2742 – Python Programming Lab #5 – (40 Points) Create student grade entry, display, and calculation application that creates two files providing the services detailed below. a.¬†¬†¬†¬†Create vari…
  • Need Help 1. Given that x=1, y=5, z=3, evaluate the following Boolean expressions: x&lt;y and y&gt;=z m==0 or x&gt;=1 yl/z==1 and 5:; &lt;y y**(x-1=);= x or y !=5 y == 2+2 and 5*x == (x&gt;1 and x+4= …
  • This question focuses on Python classes. In this problem, a class called fruit must be written. The fruit Ô¨Āeld must maintain and manage the location of fruits as a square Row X Column grid with (0,0…
  • I need help debugging this script. The following script needs to be enhanced. This is the code so far: ¬† ”’ BLACK HAT PYTHON SNIFFER EXPERIMENT ¬† STRUCT UNPACK FORMATTING NOTES Format ¬†C Type ¬† ?…
  • How do I create a function get_algorithm_result to implement the algorithm below? Get a list of numbers L1, L2, L3….LN as argument Assume L1 is the largest, Largest = L1 Take next number Li from the…
  • What is the code to 3.4.1.6 LAB ¬†The basics of list
  • Can you convert this into a for loop? def read_pronunciation(pronunciation_file: TextIO) -&gt; PRONUNCIATION_DICT: ¬† ¬†“””Return the pronunciation dictionary formed from reading ¬† ¬†pronunciation_…
  • TASK: We will write a program¬†test5.py¬†for¬† finding the most frequently mentioned usernames ¬†in each of the provided files. To correctly identify mentions, we have to cleanup each tweet, keeping o…
  • . – \1- .. .. Problem 3. You are to manually run the MCTS algo- rithm for the navigation example covered in class for 10 _‚ÄĒ_ iterations. For this, you will need simulation results for ‚ÄĒ_‚ÄĒ node…
  • I would like help with this, also, as stated, it is important to use a list comprehension. Thanks!. 2. Write a function count_evens_1c(b-inva’l s) that takes a list b-i nva’ls of 0 or more strings ‚ÄĒ…
  • In the following list of famous authors tuples where each tuple has the following items: (Author, Copies sold, Books written, Nationality) FamousAuthors = [(‘Agatha Christie’, 3000000, 85, ‘English’),…
  • Can You Please use the titanic data set from Kaggle and predict, passenger survival data for the Titanic passengers¬† 1. Perform Random forest, Decision trees and Gradient boost classification on the …
  • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
  • In python Solve for¬† y = ( 1 + ( x 1 ) 0 . 5 + ( x 2 ) ‚ąí 1 + ( x 3 ) ‚ąí 1 . 5 ) 2 where x1, x2, x3 are arrays x1 = x2 = x3 = [1,6]
  • Unit 5 Application Exercise Details: The purpose of this assignment is to give you an opportunity to demonstrate your understanding of the use of lists, dictionaries, importing Python modules, ¬†visua…
  • Write the function get_thresholded that does image thresholding and takes following the arguments: images_raw: A numpy array. Do not assume anything about its shape, dtype or range of values. Your fun…
  • Python assignment –¬† Link to assignment – https://docs.google.com/document/d/1qGtqZ5BQ_MO6MC5kswl7MjdtpmR2dITWJyRi8awFuyM/edit?usp=sharing
  • How to write a Python program that contains an encode and decode function; where the encode function takes a text message and key; returns an encoded message. It should also return the original messag…
  • Python Programming:¬† ¬† The Collatz Conjecture is seemingly simple process that states the following: Start with any positive integer If the integer is even, divide it by 2 If the integer is odd, mul…
  • what is missing the following java statement ¬† ArrayList val = new ArrayList(); Collections._____(val, 2, 4, 3); Collections.sort(val); ¬† offer? put?¬† ¬† or ¬† addAll add
    • SOCIAL NETWORK Write a function def reachablePeople(degree, averageFriendsPerUser).Use that function in a program that prompts the user for the desired degree and average, and then printsthe number…
  • Write a function called¬†has_duplicates¬†that takes a string parameter and returns¬†True¬†if the string has any repeated characters. Otherwise, it should return¬†False.¬†¬† Implement¬†has_duplicates¬†…
  • It won’t let me crop the actual question from the document. How do you make this game?. Print an empty line before this line. There is a single tab between SCORES and the name of player 1. There is a …
  • 1: You are going to ask a user for a text file and then count the number of vowels and consonants in that file. Write a python program that does the following: Ôā∑ ¬†Continually prompts user for a t…
  • A class ShoppingCart that implements the following functions: add(CartItem item) //Adds an item to the cart remove(CartItem item) //removes an item from the cart getQuantity(CartItem item) //returns t…
  • # Debugging Task 2: import random def add_random_numbers: ¬† random1 = random.randint(1, 100) ¬† random2 = random.randint(1, 100) ¬† print(“Your first random number is ” + str(random1) + “.”) ¬† print…
  • #Question 4: This code shows and error and won’t run. Can you help me fix it? I’m not sure why its not working. import os import glob def oscar_opinions (filename: ¬† ¬† file = open (filename, ‘r’ ) ?…
  • lower upper estimate swim ¬† ¬† ¬† 2.935 4.598 3.766 ¬†¬† bike ¬† ¬† ¬† 1.879 2.439 2.159 ¬†¬† run ¬† ¬† ¬† ¬†1.334 1.712 1.523 ¬†¬† transition 1.751 4.888 3.32 ¬† ¬† ¬† ¬† Write comments on any notew…
  • Part 1 Write Python program that does the following.¬† Create string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, animal…
  • how can i mak this program? 4. (10%) Define a Python function replacelist (t, p, rlist), where both t and p are strings, and rlist is a list of strings, and replacelist (t, p, rlist) returns a string …
  • write program Character Pointers and Functions. Keyboard input to enter one character string. Using a single dimension array, populate the array with the character string, call a function using poin…
  • Charles Law Lab Instructions Click the links to open the resources below. These resources will help you complete the assignment. Once you have created your file(s) and are ready to upload your assignm…
  • The results should have the same spacing as the document.. Project 7-3: Contact Manager Create a program that a user can use to manage the primary email address and phone number for a contact. Console…
  • Bachelor of Information Technology ‘1. WENTWORE’I INSTITUTE HIGHER imam&quot; ICT 113 ‚ÄĒ Programming Fundamentals Assignment Write the pseudocode and program structure {using comments] and finally …
  • assignment 1: ¬† Design a flowgorithm program, utilizing nested loops, that does the following: asks for input of a series of positive or negative numbers to sum, entry of zero (0) will terminate the …
  • How can I extract: Name of the Instructor Email of the Instructor Office Hours Number of assignments or labs ……………. These are pdf files , and I need those information to be extracted by usin…
  • Question: An outline of the framework you will display is displayed in Figure 1. It is made out of the following parts: 1. An electrocardiographic (ECG) indicator (ws a subject’s circulatory strain) 4…
  • 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…
  • class MinBinaryHeap: ¬† ¬† ”’ ¬† ¬† ¬† ¬† &gt;&gt;&gt; h = MinBinaryHeap() ¬† ¬† ¬† ¬† &gt;&gt;&gt; h.insert(10) ¬† ¬† ¬† ¬† &gt;&gt;&gt; h.insert(5) ¬† ¬† ¬† ¬† &gt;&gt;&gt; h ¬† ¬† ¬† ¬† [5, 10]…
  • . Page &lt; 1 &gt; of 6 – ZOOM + Final Exam Rubric and Pseudocode Introduction to Programming using Python Joliet Junior College CIS 135-W01 Fall 2021 Clinton Garwood; This document is NOT FOR DI…
  • This program creates a class registration system.¬†It allows students to log in to add courses, drop courses and list courses they have registered for. This program has 5 functions in 2 modules: a stu…
  • Question 1. Write a function named get_subscription() with the help of a dictionary to display the six TV channels available for subscriptions and take subscription orders. Your program should work ex…
  • Problem 1 – Word Scores The first step is to implement some code that allows us to calculate the score for a single word. The function¬†getWordScore¬†should accept as input a string of lowercase lette…
  • Write a program that generates 100 random numbers and keeps a count of how many of those random numbers are even and how many of them are odd. To find how to generate random numbers in Python, please …
  • 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…
  • This question is regarding Solving Travelling Salesman Problem(TSP) using the Elastic Net method. Python Code is required to solve and show the answers to all the bullet points. ¬† Please refer to the…
  • Write the 4 version of this game using the screenshot. The work shows in the screenshot is work i have for version 1 so far.
  • You should make use of the functions created in the bottom-up “phase”, above, to whatever extent seems helpful. c) Next, code up your solution. Save file as Lab12_Act1 . py . 3. b. e. You shou…
  • I need help trying to get the total number of songs for my code. I need it in python. to get the csv file go to https://www.kaggle.com/aeryan/spotify-music-analysis/notebook¬† The answer should be 201…
  • helper: def transform_string(s: str) -&gt; str: ¬† ¬†“””Return a new string based on s in which all letters have been ¬† ¬†converted to uppercase and punctuation characters have been stripped ¬† ¬†fro…
  • 3 https://numpy.org/doc/stable/reference/generated/numpy.linalg.eig.html 4 https://numpy.org/doc/stable/reference/generated/numpy.cov.html 5 https://scikit-learn.org/stable/modules/generated/sklearn.d…
  • Hello, ¬† I’m trying to import a bunch of text files using glob. ¬†When I write the code, my columns and rows are switched. I should end up with 3 columns and 52 rows. ¬†I also don’t have headers and …
  • program that extracts the last three items in the list¬†sports¬†and assigns it to the variable¬†last. Make sure to code so that it works no matter how many items are in the list.
  • Phase 1 Lab Aspect of the assignment will be completed and submitted in zyLabs – Tiny Sales Company: Phase 1 lab. As part of this initial assessment, the customer wants to see how the shopping cart wi…
  • You are given a set¬†S ¬†consisting of non-negative powers of three¬†S={1,¬†3,¬†9,¬†27,¬†…} . Consider the sequence of all non-empty subsets of¬†S ¬†ordered by the value of the sum of their elements…
  • Explore Python programming language for the following: a) List the basic data types supported in Python. b) Give an example code to convert a data type into another data type. c) List the ways to stor…
  • Case Study Domain – Retail focus – Optimize Book RENT Business challenge/requirement BookRent is the largest online and offline book rental chain in India. The Company charges a fixed fee per month pl…
  • . Consider a function F (), continuous on the closed interval [a, b], and where F (a) F (b) &lt; 0.A trisection algorithm for finding an approximation for a root , E [a, b] is constructed in a simil…
  • . Question 1 10 pts Which command grant us access a file? i. open ii. read ili. write O Only command i O Only command ii O Only command ili O All 3 commands i, li and ili Question 2 10 pts Which …
  • I have finished coding but I would like to be sure of my code. Can you help me with each of the 6 functions? I can also send my code so that I can tell me what doesn’t work with it.. Question 2 (12 po…
  • Part 6: The Tastiest Person We will define the tastiest person as the member of the data set that has possible been infected by the most different members of the data set. Identify and display all of …
  • Use the¬†Teams¬†data frame from the¬† Lahman ¬†package. Fit a multivariate linear regression model to obtain the effects of BB and HR on Runs ( R ) in 1971. Use the¬†tidy()¬†function in the¬† broom ¬†…
  • Can I get the code for this project? It is drawing Sierpinski Triangles.¬† ¬† import pygame # This is a list of predefined pygame Color objects colors = [pygame.Color(0, 0, 0, 255), ¬† ¬† ¬† # Black ?…
  • Write a Python program to compute a worker’s pay, based on a rate per hour and number of hours worked¬†.¬†¬† ¬† The program must include a single function named calculatePay, which does the computatio…
  • ALPHABET = “abcdefghijklmnopqrstuvwxyz” def function(s): ¬†¬†¬† ¬†¬†result_list = [] ¬†¬†string = s.lower() ¬†¬†for i in range(26): ¬†¬†¬†¬†if ALPHABET[i] in string: ¬†¬†¬†¬†¬†¬†position = [i] ¬†¬†¬†?…
  • In this exercise, we use who_splitter() function to extract and split data from ‘case_type’ field. ¬† Can you provide very details explanation why “\\d” is necessary in the re.match below? I would thi…
  • The assessment has two parts: recursive functions and Mathematical Induction. You are to create well-formed Python recursive function (i.e, there must be a stopping/base case and the recursive case mu…
  • b) (30 points) Using the programming language of your choice, implement the Viterbi algorithm. Your program does not need to work with an arbitrary HMM. It but only need to work for the specific bacte…
  • don’t use any import and dictionary. 91 &gt;&gt;&gt; crop_map (sample_map, (1, 1), (2, 2)) 92 [[6, 7], [10, 11]] 93 &gt;&gt;&gt; crop_map (sample_map, (0, 0), (3, 0)) 94 [ [1], [5], [9], [13]] 95 &gt;…
  • Post a Python program that accepts at least two values as input, performs some computation, and displays at least one value as the result. Include comments in your program that describe what the progr…
  • How to I prevent the error ” turtle.pensize is not callable “? def¬†empty_drum(drumtype): ¬†¬†¬†¬†turtle.pencolor(‘black’) ¬†¬†¬†¬†turtle.pensize(3) ¬†¬†¬†¬†turtle.penup() ¬†¬†¬†¬†turtle.goto(-150,150…
  • Please explain how you got to your answer! Thank You!¬†. 2 DeÔ¨Āne a function called disemvowel_. It should take a single string as its argument. (You can call that argument whatever you want.) It …
  • How to create the program using python ? Pet Class Design a class named Pet, which should have the following fields: name: The name field holds the name of a pet. type: The type field holds the type o…
  • Write a program that extracts the last three items in the list¬†sports¬†and assigns it to the variable¬†last. Make sure to write your code so that it works no matter how many items are in the list.
  • Could anyone help me plzz ‚ÄĘ Program design type program that includes and utilises the functions described above to simulate the letters game from the Countdown game show. The program should ask the…
  • Would the answer be 1 or 4? Choose the best explanation of what’s wrong with the code and assign 1, 2, 3, or 4 to names_q2 below to indicate your answer. 1. The plus operation only applies to numbers,…
  • I have been posting for help and no one has helped me yet, someone please help me, i just need one person to help with this programming homework assignment. It is due soon and I really need help.
  • program: anaconda – jupyter notebook – python from sklearn.model_selection import cross_val_score # Here, we will report the accuracy of the classifier in a cross-validation step. scores = cross_val_s…
  • The question is: 1. The Barking Lot is a dog day care center.¬†Design the¬†pseudocode¬†for a program that accepts data for an ID number of the dog’s owner, and the name, breed, age, and weight of the …
  • Use python to code ¬† ¬†. Rewrite the following code following the DRY principle (Don’t Repeat Yourself). You should assume that x can’t be any value other than 1, 2, 3, or 4. if x == 1: print (&quot;…
  • Predicting COVID cases ¬† A researcher at UC San Diego Health now wants to predict COVID-19 cases in the next few days! She has a list cases which contains the current number of cases in San Francisco…
  • Help with a Python program to do the following: (a)¬†Use a for loop and a random integer generator to generate 10 random integers in 1 through 15.¬†Store the random integers in a tuple.¬†Display the t…
  • develop code to meet the required functionality, by prompting the player to enter commands to move between the rooms or exit the game . To achieve this, you must develop the following: A gameplay loop…
  • Take a look at the code examples below and see if you can figure out what the code will do and what the output will be. NOTE: These programs do not give very good prompts and outputs and comments – in…
  • You are working with a team on a project, and your task is to develop a Seat distribution and maintenance system For additional information, every room has four seats but room no 503 has two seats. Yo…
  • Question 2 (5 points) Using Python syntax. Write nested decision structures that perform the following: If amount1 is greater than 10 and amount2 is less than 100, display the greater of amount1 and a…
  • import random import string WORDLIST_FILENAME = “words.txt” def load_words(): ¬† ¬†print(“Loading word list from words.txt”)¬† ¬† ¬†file = open(WORDLIST_FILENAME, ‘r’)¬† ¬† ¬†line = file.readline()¬† …
  • Now, to finish the computational thinking problem solving process, implement this algorithm in Python in the space below by completing the &quot;search&quot; function. As you can see, the parameter to…
  • Leverage all tools covered within your reading up to this lesson. don’t use any other code to make it work please use only this lesson ¬†3¬† ¬† use python ¬† lesson 3 lecture : copy this link and open…
  • python code. 4.13 H4-1: Fibonacci sequence The Fibonacci sequence begins with 0 and then 1 follows. All subsequent values are the sum of the previous two, ex: 0, 1, 1, 2, 3, 5, 8, 13. Complete the fib…
  • Add code to print a report of average temperatures for each month. Use two lists, day_count and temp_sum if month_number is the number of a month (1 to 12) then day_count[month_number – 1] = the numbe…
  • I need help understanding how to write 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 …
  • please help. Work by Professors C.W. Cobb and P.H. Douglas found that production or output was a weighted average of the log of capital and labor. The equation for Cobb-Douglas production functions we…
  • flowgarithm and pseudocode of the formula of momentum¬† ¬† flowgarith and pseudocode of the formula of area of the triangle
  • Filename is similar from the two text files. Kindly give a clear explanation of where I will put the text file so that it can be read from the code. Task 3 (1%) Write a program that prompts the use…
  • I have a module titled “Artificial Intelligence &amp; Machine Learning”. The following questions are based on topics such as Natural intelligence, Ambiguous decision-making, Artificial Intelligence, O…
  • Define get_permutations method # Start main script. # Indicate in a comment the Jumble strings you # use for testing. Include at least two test strings. Input Jumble string from keyboard. Obtain array…
  • Task 13 Program: Merge &amp; Sort Animals ¬† Create a program that takes user to build a list: add_animals merges add_anmials with exisiting list: anmimals provides a sorted list to view in alpa or re…
  • Can someone help answer this question…… Your corporation has invested heavily in a complex MySQL database. Discuss at least four different ways in which you can defend against a catastrophic loss …
  • Write the pseudocode for the following statement: The program is to input an examination mark and test it for the award of a grade. The mark is a whole number between 1 and 100.The program will receiv…
  • Python code¬† Focus¬† ¬† Define and call simple functions¬† Passing parameters to functions Variable scope ¬† ¬† Part 1A: Design a Solution ¬† For this portion of the lab, you will reuse the program y…
  • create a program where the player bet¬† here is ¬†the Class of the coin and the Input validation import random # The Coin class simulates a coin that can # be flipped. class Coin: # The __init__ metho…
  • I have this cool template for a financial document analysis program for my python class. The thing is I’m not good enough in python to figure out the missing parts. So I’d like a completed version of …
  • Hello, Can I get assistance with how to code the below in python? Thanks for your help. #create function named exampleOne, that will have 2 input parameters. #return True if they are not equal to each…
  • Write code in python.¬† ¬† For this you are given two files. Booklist.txt and librarylog.txt¬† ¬† Booklist.txt includes a line for each book in the library in the following form: &lt;book name&gt;#&lt…
  • I am supposed to make a new python script based on an old one given. Here are the instructions. at the bottom is the old one that we need to copy then modify.¬† ¬† The script used to monitor di…
  • I need help with OOP type programming in Python. I need help with my tic tac toe program. It works as is, but I need help modifying it so it uses OOP. Object Orientated Programing. # This program is t…
  • . File Selection View Go Run Terminal sentences.py – .vscode – Visual Studio Code EXPLORER … test_sentences.py 5 . sentences.py 1 x Dyl … .VSCODE C: &gt; Users &gt; frey_ &gt; Downloads &gt; @ s…
  • Write program in python for Selecting 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 r…
  • I’m not entirely sure how to place a space in the text file (grades.txt) after the comma…. Expected data: [‘CGS1070′, ’98’] Data in file: [‘CGS1070,98’] I’ve tried placing a space on line 14 just fo…
  • Crea un diccionario con los datos del cliente, nombre, apellido, edad, deportes favoritos (en una lista). En Python
  • . 4. Write a function num_consonants (s) that takes as input a string s and returns the number of consonants in s. For example: &gt; &gt; &gt; num_consonants ( ‘ computer’) result: 5 Here again, you…
  • my assignment is called IT/Python: Web Forms &amp; UI can anyone assist requirements Using your homepage from Topic 3, create Python script that prompts the user for a title, description, and filename…
  • I need code for a recursive python function that has three parameters representing a list of integers and returns the maximum number stored in the list . The maximum is either the first value in the l…
  • Write a pseudocode for the logic of a¬† program that accepts five numbers from a user and displays one of the following messages:- The largest number is¬† xx.¬† The smallest number is xx.
  • The DNA within a¬† genome ¬†can be represented as a string consisting of the characters¬†A,¬†G,¬†C, and¬†T, each corresponding to a¬† nucleobase . For example,¬†GACCATATTAATCG¬†might represent a porti…
  • Assuming at ~ N(0, 1) Vt, we define the following two stochastic processes: Ut = at – 1.5at-1 + 2at-2 – 60t-3 + 20at-4 Ut = 0.1vt-1 + 0.02vt-2 + 0.8vt-3 + 0.08vt-4 + at 1. Generate and plot 10,000 con…
  • I want to complete data science project, following questions are the one that I am not able to figure out a way to do. It should be done in python 3. The job should be done in a jupyter notebook. The …
  • what is the python code for finding the volume of a cylinder using math function
  • Python 3! Use Sklearn Linear Regression please! Given the hourly temperature data for each 24 hour period in p prior days spanning from startDate to endDate inclusive, predict the hourly temperature d…
  • Could you please help me with this question? The question is on picture 3, the first two pictures are the function given to us. To answer this question, we need to follow the instructions from picture…
  • Background We can use lists to store simple data sets that can then be used for calculations. The following is a visual example of a table that we can store in a list. This table contains a list of su…
  • In convert.py , define a function decimalToRep that returns the representation of an integer in a given base. The two arguments should be the integer and the base. The function should return a string….
  • . . It may be helpful to add some extra parameters to solve_puzzle not shown here. Feel free, but your function must be callable as solve_puzzle (1st). Submission At a minimum, submit the following …
  • Find three bugs and explain in one sentence each what problem they cause: (6)¬† target = 5¬† number_of_guesses = 10¬† result = “Wrong.” while number_of_guesses &gt; 0:¬† ¬† ¬† guess = input (“Enter…
    • Implement the following query using Hadoop streaming and python with the lineorder table. http://rasinsrv07.cstcis.cti.depaul.edu/CSC555/SSBM1/SSBM_schema_hive.sql ( you still have to add the …
  • Solve¬†the problem in an algorithm Code it in Python program that allows a¬† user to input a sentence ¬†and then it shows the user various fun things done with¬†the sentence. The program must store th…
  • python help ¬†. Write a function that tokes in 2 lists as input and determines if they have the some elements. def problem_a() : pass B / 12 18 Using your code from Part 2 – problem_b write a function…
  • Good afternoon: I would like to know how to develop the task as a whole, since I have only a few areas of the task in knowledge, the help is appreciated.
  • Subject: programming Hi, I want a solution to this programming assignment: https://github.com/iit-cs429/assignments/tree/master/a1
  • This project involves writing a Python program to determine the body-mass index of a collection of six individuals. The program should include a list of six names. Using a¬†for¬†loop, it should succes…
  • Please also solve the maximization problem (not just provided code)!:¬† ¬† Develop a simulated annealing procedure in Python to solve the following knapsack problem: (Note, this problem can be solved …
  • Can you check my code and output here in the output I got continuously numbering and another side I got a something else can you solve my problem. and my server image is also not loaded. my c…
  • hi could help me with part b ( the euler question) pls do tell me where i went wrong as well thanks. ==== RESTART: C:/Users/Admin/AppData/Local/Programs/Python/Python39/tutes . py === B. Euler Constan…
  • How to scrape reviews and review titles on this website https://www.sitejabber.com/reviews/thredup.com? ¬† The page number of the link tail doesn’t change when I click the second page, so I can not gi…
  • Write a program that prompts the user for the current US population, and the names and population of five major cities in different states.¬† Your program will calculate the percentage of each city’s …
  • Using selection sort, ¬†Read in the CSV file (h11.csv). Make a dictionary where in the keys are a tuple of the things in the first two columns and the values are a list of the things in columns 3 to 8…
  • Instructions Examine the source code for the data entry program and answer the following questions: Describe any problems you see with the program that would cause it to report incorrect test results?…
  • have to import this data from an excel file into juypernotebook/python 3 and have to plot it i been stuck for days and really need help on this! ¬† (excel file below ¬†) ¬† https://onedrive.live.com…
  • By using web scraping in python, how to get Cumulative Worldwide Gross, Production Company ( production Co ), Budget, Language,Gross USA from following url: “https: //www.imdb.com/title/tt0137523/”. f…
  • Write a Python program in Wing. Save your file as &quot;MP308_initials. py&quot;. When finished, upload your file as an attachment for this question within Blackboard. Your program should include your…
  • The following text is a sample interaction with a revised version of the shoe swap program, a simulation of the program that might be needed for people with different sized feet. A similar service is …
  • Course Registration application ( CRA ) (35%) ¬† In this programming assignment, you need use OOP to develop a Course Registration application (CRA) to allow students register courses.¬† ¬† In CRA, ea…
  • Can someone please help me with this. I created a Postfix expression but now I need to convert it into a tree and I have no idea how to finish it This is the instruction given for this function. to_tr…
  • creat a list of numbers 0 through 40 and assign this list to the variable¬†numbers. Then, accumulate the total of the list’s values and assign that sum to the variable¬†sum1.
  • Problem Statement: In this lab, we will design a simple Task class to keep track of everyday activities. The purpose of this lab is to exercise python’s basic OOP techniques: class, object, instances,…
  • There is a python problem, so could you please help me out? For the korean language in content, it literally means “Line”. E.g. “01 Line” And for the korean language in .txt file, you can just use Eng…
  • Chemical Features of Wine. Table 4.14 shows the PCA output on data (non-normalized) in which the variables represent chemical characteristics of wine, and each case is a different wine. a. The data ar…
  • Provide a Python code for a syntax analyzer that takes in tokens to determine if syntax errors exist in your programming language based off of rules provided. RULES: **All design choices must be expla…
  • These are questions without solutions. solve it with code plz! #1 point #create a function exampleOne with four input parameters. #return a new dictionary where lst and 3rd parameter will be keys, #an…
  • Need help with 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 …
  • Add an if branch to complete double_pennies()’s base case. Sample output with inputs: 1 10Number of pennies after 10 days: 1024 Note: If the submitted code has an infinite loop, the system will stop r…
  • STEP 1 : Create the logic for a program that: Prompts a user for 8 numbers and stores them in an array. Calculates the arithmetic average of the numbers. Display each number and the arithmetic average…
  • 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…
  • Please include brief explanation and show of work. Find the question in the attachment below. 15.8 Find the first occurrence INSTRUCTIONS Remeber to also submit a listing of your program on Gradescope…
  • I need a code for this Python3. I do have some coding but I need more. 1) In the &quot;Task&quot; column, describe each of the programming tasks you must complete in order to build your project. 2) In…
  • data: Date High Low Open Close Volume Adj Close 1/4/2021 125.92 123.04 125.85 123.94 5179200 119.5775 1/5/2021 126.68 124.61 125.01 126.14 6114600 121.7001 1/6/2021 131.88 126.72 126.9 129.29 79567…
  • Python program that reads a file, breaks each line into words, strips whitespace and punctuation from the words, and converts them to uppercase. [10 Marks] Hint: The string module provides a string na…
  • This question deals with the recipe for making a cake. One cake requires 1 egg, 2 sugars, 3 wheats and 3 buckets of milk. Your job is to build a program to help the player determine how many cakes the…
  • The shape of a limacon can be defined parametrically as: ¬† r = r 0 + cos őł x = r cos őł y = r sin őł ¬† Use this definition to plot the x-y shape of a limacon for r 0 = 0.8, r 0 = 1.0, and r 0 = 1.2…
  • Build a code in python for below conditions with providing comments on what each code line does for both of them 6.1 Please dont read src/files/xy.dat instead build your own f(x) = g(x) explained duri…
  • Is there a difference between where Dairy Farm Group stores are located and where its customers reside? Given the current distribution of stores (see Store locations excel file), should Diary Farm Gro…
  • Import pathlib and shutil modules Create a path object that represents your current working directory Print out your current directory’s path Referencing the current working directory path object, cre…
  • Create a FLOWCHART and a PSEUDOCODE for each problem. Use the information below to create a pseudocode (which can be a text-based description for solving the problems) and a flowchart (using flowchart…
  • . Q1. (4 points) You are asked to create a database (named: ‘DSC1510.db’). In this database, create a table named ‘Lab11’.Also insert atleast 10 rows of data and fetch all rows and return that list …
  • So I am trying to show that the filler words with no count will not be shown. I believe that I have to use the “if” condition. Can someone help me with the code and how to include it in my code as sho…
  • sentence = ‘Half a league, half a league, Half a league onward, All in the valley of Death rode the six hundred’ ¬† Write code below that does the following: Shifts with wraparound the string sente…
  • What is th SELF for in this python file? lass Automobile(): ¬† ¬† __make = “” ¬† ¬† __model = “” ¬† ¬† __color = “” ¬† ¬† __year = 0 ¬† ¬† __mileage = 0 ¬† ¬†¬† ¬† ¬†¬† ¬† ¬† def __init__ ( self , mak…
    • Ask the user to input a string and use loop to traverse the string provided by the user. b. Write a program that adds up all numbers from 0 to 100. c. Write a program using while loop that keeps as…
  • hi i have questions about this code instruction, please help me out! . display_board: This function takes a two dimensional list of strings as input representing a board. From now on, if we say that a…
  • Find an even number Complete the following function according to its docstring. Use a for loop. The lists we test will not all be shown; instead, some will be described in English. If you fail any tes…
  • 11/4/21, 3:30 PM F21_P3P1 Published using Google Docs Learn More Report Abuse F21_P3P1 Updated automatically every 5 minutes CSC111 Fall 2021 Project 3 Part 1: COVID-19 Analysis Project 3 Part 1 Quiz …
  • You are a GIS intern in a land-holdings company. The property owned by the company has been surveyed and the data is housed in text files on the company server. Impress your superiors by writing a Pyt…
  • Hi, I need help fixing my Python code for the following problem: A final program that meets the requirements outlined below. help solve an automobile class that will be used by a dealership as a vehic…
  • I need help writing a recursive python program. I want to use this function: def is_divisible(a,b): ¬†¬†return a % b == 0 and come up with another function that meets these requirements: A number, a, …
  • I am trying to make a function to swap(txt, s1, s2) to swap the contents of the substrings s1 and s2 in the text string txt.¬†Return the result as a new text string.¬†Use the docstring “””Swaps substr…
  • I just need the 4 functionality added to this code.. import turtle import random def drawSquare (t) : for i in range (4) : t. forward (1) t. left(90) def drawBoard (numSquares) : wn=turtle. Screen( ) …
    • Execute the following code and comment on the output obtained. def absolute_value(num): if num &gt;= 0: ¬†return num else: ¬†return -num print(absolute_value(2)) print(absolute_value(-4)) b. The sc…
  • EtoF = {‘bread’ : ‘pain’, ‘wine’ : ‘vin’, ‘with’ : ‘avec’, ‘I’ : ‘Je’, ‘eat’ : ‘mange’, ‘drink’ : ‘bois’, ‘John’ : ‘Jean’, ‘friends’ : ‘amis’, ‘and’ : ‘et’, ‘of’ : ‘du’, ‘red’ : ‘rouge’} 1) Help writi…
  • Dropbox Link for data: https://www.dropbox.com/s/99i78sgaepn63rz/yellow_tripdata09-08-2021.csv?dl=0 To be done using PySpark ¬† ¬† ¬† ¬†. Function to include fare amount between the range of 20 to 60 …
  • Consider the dataset file Olympics.csv. This file contains information about the Olympic games, players participating in the games, and details of medals won by them. Using Spark core and the data…
  • Define a function running_average that takes an iterable and return a generator that generates running averages, i.e., the i-th element is the average of the first i items of the iterable. on For exam…
  • Next, type the code that is in the picture below . You will need to correct the print command.
  • . Write a function called draw_card. It takes no arguments and returns an integer representing the value of a blackjack card drawn from a deck. Get a random integer in the range 1 to 13, inclusive. …
  • Program a Python program to implement the Standard Chartered (SCB) Bank BonusSaver interest rate calculator for calculating total interest earned per month. Extract more information from https://www.s…
  • Define a second function which, when called, will “sleep” for approximately three seconds, and while doing so will display a “z” on the screen about every ¬Ĺ a second.¬† Do not use the sleep function …
  • Task 3 Modify your program in Task 1 so that it represents a candidate solution as a list L where L[i] gives the row position of the Queen in column i. Print the list L. Task 4 Modify your program in …
  • Can someone help me the following homework exercise. Thank you. This is the list of movies she provided in the movies.txt file: Monty Python and the Holy Grail |1975 On the Waterfront| 1954 Cat on a H…
  • How to write a function flip(binary string) that takes a binary string (a string containing only 1s and 0s) and returns a new string where every bit has been flipped? Does the string can be changed?
  • hey i had a python recursive function to do its about making a function that multiplies all the positive items of a list. however it should be a recursive function. I ve got this as ansewer but its no…
  • A coding program that requests from the user the amount of the income earned in a year. Based on the value of the income the program will print the amount of taxes owned. The program will take 1% of t…
  • . 3 (1 point). Consider a coin flip neuron simulated for one trial of length 7 ms, divided into time bins of size di. In each time bin, the neuron has a fixed probability of spiking, p. What is the …
  • # — INSTRUCTIONS:¬† # You are encouraged to use all available resources to complete the below questions.¬† # Please load-in the provided dataset and perform all data manipulations directly in R. Doc…
  • Describe the relationship between¬† objects ,¬† references , and¬† aliasing . Again, create your own examples with Python lists.
  • . Evaluation: 10 points total –&gt; 4 points for each function; 2 for attaching the python file Please attach a python file, called: FIRSTNAME LASTNAME DictDiscussion . py in your discussion post w…
  • ) Write a line of code that asks the user for a song title and stores the information in a variable ¬† 2.) Select all the variable names that are NOT valid in Python. A) SHORT_STOP B) True C) break1…
  • C programming Assume you are the CIO of an organization with three different IT department locations with separate costs. You want a program to perform simple IT expenditure calculations. Your IT expe…
  • I’m having trouble making my python program correctly pass the test cases particularly the test cases puz_list7, puz_list10, and puz_list11 which should all return True. I’m trying my best but I can’t…
  • Hello! I am working on an assignment for my Python programming course and received the following feedback from my professor: I would suggest you run your programs an additional time (at least two time…
  • help with this in python ¬†. 1. Using Python’s random module, create a Python function that has a file object as its parameter. That function must write random amount (between [10-100]) of random inte…
  • Hey, if anyone can help me get a solution to this problem using the blocks (from the drag from here box) would be amazing!! ¬†. Safari File Edit View History Bookmarks Window Help Q 8 Thu Feb 17 6:09 …
  • Write a Python program that prints your name, CS classes taken (or other relevant experience), and the date on separate lines. Use one variable each for the month, day, and year (3 total). Make sure t…
  • Combining ‘Well,’ + myName is an example of what? String concatenation, passing an argument, integer concatenation, or incrementing variable?
  • Part 1 Encapsulate the following Python code from Section 7.5 in a function named¬†my_sqrt that takes a as a parameter, chooses a starting value for x, and returns an estimate of the square root of a….
  • For lab 3 complete the following Programming Exercises from Chapter 3 in the book from the section “Programming Exercises” #3 Age Classifier #8 Hot Dog Cookout Calculator #17 Wi-Fi Diagnostic Tree (Hi…
  • 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…
  • . Instructions: Using PyCharm, Python, or any Python programming language software, create the program exercises below and submit the link of the following files through the cloud storage (OneDrive …
  • A company wishes to encodes it’s data. The data is in the form of a number. They wish to encode the data with respect to a specific digit. They wish to count the number of times the specific digit (i….
  • I have found some answers here, but they do not define the function get_max_int()¬†. 25.10 LAB: Subtracting list elements from max – functions When analyzing data sets. such as data tor human heights …
  • #Python Do t-test and do q-q plot of t-test p-value (This should be converted into -log10) and plot against expected uniform distribution (Non-random and should be in between 0 and 1 which should be c…
  • I need to come up with a code to compute the following. Would prefer either python or r studio for the coding as i am more familiar with those. c. To answer the following questions, write a computer c…
  • 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 …
  • How I do place a placeholder between the printing of 9 lines and 25 lines. A placeholder can be output such as “printing nine lines” or “calling clearscreen()” def new_line(): ¬†¬†¬†print(‘.’) def thr…
  • ***Using python programming *** write a program which simulates a few methods of managing critical sections between several processes. with mutual exclusion when dealing with critical regions. Use any…
  • Modification of the Metric Conversion Program D1 from Chapter 3 on page 123. This program should let the user convert Ounces to Grams, Grams to Ounces, Inches to Centimeters, Centimeters to Inches, Mi…
  • Please show work! from drawtool import DrawTool import numpy as np dt = DrawTool( ) dt . set_Xy_range (0 , 10, 0, 10) dt . set_aspect ( ‘ equal’ ) pixels = dt. read_imagefile ( ‘washdc . jpg’ ) num ro…
    • ASSOCIATION RULE GENERATION Generate association rules from the frequent itemsets. Use confidence as the metric to eval- uate the association rules. Explore different confidence thresholds until y…
  • You are going to write a program to compute a type of population balance problem similar to the bunnies and foxes you computed in Lab 3. This problem will have bears, berry fields, and tourists. We wi…
  • Build a Full Adder (FA) as described in lecture, using the minterm expansion principle to create a circuit that uses only AND, OR, and NOT gates. Remember that a Full Adder adds a single column of dig…
  • Can you help me with this in PYTHON programming about File Handling ¬†. File Handling 1) Write a Python program that takes a text file as input and returns the number of words of a given text file. No…
  • if a software package is not available from the default repository, what is an alternative way of installing the software?¬† ¬† a. Download an RPM package file manually ¬† ¬† b. Compile from source co…
  • Please help, thank you Exercise Description Write Gerkin test scenarios (Given, When, Then statements)¬† describing ¬†tests for ¬†Full Retirement Age calculator. Grading Elements Scenarios are written…
  • #NAME?
  • Hello, I need help solving this Lab simulation, It uses Function with branch: Popcorn for function statements and I am very new at python on so I need help solving it. It is very difficult. It is very…
  • I am doing the tutorial of Federated Learning for Image Classification, which is supported by Google Tensorflow(Here is the source code: https://www.tensorflow.org/federated/tutorials/federated_learni…
  • Write a Python program that prompts the user to enter a number between 1 and 7.¬†The output is the number of the colour of the rainbow.¬†Thus, 1 is Red, 2 is Orange ….7 is violet.¬†However, if the u…
  • DESCRIPTION; Create word ladders. The user will type in (or hard-code) a beginning and an ending word. Your program must find the series of words that differ by only a single letter that leads from th…
  • Using two different loops: (for and while loop), write a Python program that does the following: Display all the even numbers between 10 and 100 Display all Odd numbers Backward from 999 to 777 Displa…
  • Hi, Can you please help me with this Python program: Current assignment: Mini-Project 9: Research¬† how to read and write text files in Python 3 . (Search the internet for this term. You will find a p…
  • Hi can you explain the code for the chequing Account Class in python Object orientated programing ? ¬†. ChequingAccount class: This class inherits from Account class. It will represent following accou…
  • rsv is used to generate 100 random values with a normal distribution with a user defined mean and standard deviation. Calculate the sample mean of the distribution. Calculate the standard error o…
  • programming of finance on Python Loan amortization schedule: 1) Assume a mortgage has a term of 360 months, an interest rate of 6%(APR), and a starting balance of $500,000. 2) Create a function to tak…
  • . [ ] # 0.2 Mark # Then, save the achieved score in the &quot;Score.txt&quot; file. [ ]. [ ] [ ] [ ] [ ] [ ] # # Connect your Colab to your Google drive. Hint: Using dive.mount Mounted at /content/d…
  • “”” UTM: CSC108, Fall 2021 Practical Lab 9 Instructors: Michael Liut, Andrew Petersen, Andi Bergen, ¬† ¬† ¬† ¬† ¬† ¬† ¬†Tingting Zhu, Pooja Vashisth, and Sonya Allin This code is provided solely for t…
  • Hey, I’m trying to graph this equation in Python. Could anyone help?
  • —— Hello! PYTHON 3 MAINLY ¬† Try not to change the code that much! Thank you!!! ¬† I need help trying to produce the first picture above. Basically what is happening is that after “This guess is c…
  • Please help with step 5 and beyond, thank you! ¬† Collab link: https://colab.research.google.com/drive/14EquCCliq2vfDePqb_L4uIlLcJuspTcw?usp=sharing ¬† ¬†. in this project {for HW 3), you have been ap…
  • Question I.¬†Fidelity¬†Stock Market The Fidelity Investments¬†webpage (https://eresearch.fidelity.com/eresearch/goto/markets_sectors/landing.jhtml) reports the stock market¬†changes by sector in an HT…
  • 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…
  • Select a Class from our book or use the Class you created in a previous assignment. The class must have at least 2 methods. come up with a test case for your class. Test the 2 methods. Use the setUp()…
  • First you need to create a CSV file named Lab10_data2.csv using the data below, but you do not need to upload it just upload the py file. 90,85,70 70,60,75 60,50,65 96,95,69 Based on the previous lect…
  • Create test cases for the recursion version, and store them in factorial_test.py Ôā∑ Fix the functions so they deal with invalid input
  • Using nested loop to write a function named problem3(n) to print the n lines of following patterns. Test Case: problem3(5) problem3(7) Your output: Your output: * * # # # # * * * * * * # # # # # # # #…
  • Run below code for given data set and see what error needs to fix in the code to read data properly in python http://data-lakecountyil.opendata.arcgis.com/datasets/cd63911cc52841f38b289aeeeff0f300_1.c…
  • TAKE A LOOK AT THIS CODE: # Define the function to inverse a dictionary. def invert_dict(d): ¬†¬†¬†# Make a dictionary to store the inverse. ¬†¬†¬†inverse = dict() ¬†¬†¬†# Start the loop to traverse t…
  • in python ¬† My code:¬† ¬† class ItemToPurchase: ¬† ¬† ¬† ¬†def __init__(self): ¬† ¬† ¬† ¬†self.item_name = None ¬† ¬† ¬† ¬†self.item_price = 0 ¬† ¬† ¬† ¬†self.item_quantity = 0 ¬† ¬†def print_item_co…
  • Hello, I have to create a text-based game, I have to get each item in each rooms except the Playroom and the Main hall and add it to my inventory as well as navigate between the rooms. ¬†I have create…
  • How would we write a program that can store any repeated characters or previously seen characters in a dictionary? ¬† Another example of this function can be longest_unique_substring(‘abcad’) ¬†which …
  • Python programing please help with this first question bellow is all the data (screen shots) attached and here is the link the Project intro is talking about http://flavorsofcacao.com/chocolate_databa…
  • I have worked through the project and got it done but I wanted to make sure I’m right. General Statement You must write this assignment starting with Basic template.py. Everything in the template is l…
  • write a program in python ice-cream shop Sundaes come in either 3 scoops ($6.50) or 5 scoops ($8.75)…you have a choice of whipped cream, walnuts or peanuts, chocolate or rainbow sprinkles, and eithe…
  • Need help fixing the below code: #variables NOUT A WN trees = int() Collapse Nested Loops week_total = int() days = int() answer = str () grand_total = int() Review #outer loop controlling program exe…
  • How can patches be extracted from mnist dataset my current code uses the unfold method However when I try to visualise the patches there’s nothing shown. My code looks like this ¬†. conch . Size (IS] …
  • http://prntscr.com/l5zbw1 I need help with python work, thanks.
  • What is the difference between a high level API and a Lowlevel – isn’t question six answered iin myfirsttopi_lowlevel.py? In creating the simple tree topology was is the difference from the myfirst to…
  • Search the Web for an example of a tuple or set data structures in Python. Discuss your example and tell us when you would we use a tuple or a set. How do we recognize a tuple and a set data structure…
  • Select all that apply In the small-world model starting with k nearest neighbors, increasing the rewiring probability p generally decreases both the average clustering coefficient and average short…
  • PYTHON CSV import matplotlib.pyplot as¬†plt import¬†numpy¬†as np import pandas as¬†pd import¬†pymysql pd.read_csv(‘apcdata_week.csv’) What is the stop_name where the most people got on? Which directio…
  • Can you please help me how to write the codes: In the following questions (1-5) use attached analyticv4v2 data in Python and accomplish the following: Load the attached¬† analytic_v4Y2.csv¬† List all …
  • Question 5: Complex structures [3.0 marks] Write a program that prompt the user for two text files and prints out (a) all words that are common to both of them, (b &amp; c) the number of words that ex…
  • class TreeNode (object) : def __init__ (self, data, left=None, right=None) : self.data = data self.left = left self.right = right “”” QUESTION 1 =======================================================…
  • import os import random import json import time import tcnewma1_logger logger = [tcnewma1_logger] tcnewma1_logger.DateTime = print(‘ctime: ‘, time.ctime()) tcnewma1_logger.Username = [“”] tcnewma1_log…
  • I am trying to read the contents of a table from a url using beautifulsoup. The code I used for this is below. It works for the first page of the table, but there are 5 total pages. The end of the url…
  • Let’s start by learning about indexing. Indexing allows us to access the ith element in a sequence. For example, if we have the list lst = [`a’, `b’, `c’, `d’] and we want to access the `b’ we can ask…
  • Consider the binary search algorithm from Section 12.6.2. If no match is found, the binary/Search function returns -1. Modify the function so that if target is not found, the function returns ‚ÄĒk…
  • This program will be a follow-on to the program from last week’s individual assignment, Activity #3. In that assignment, you read in weather data from a file. In this assignment, you are to again read…
  • The input/output is flexible. I need help creating python code for this problem.. Create a function that takes in a body of text and returns a dictionary of each sentence in the text followed by the c…
  • . Keys, values, and items create views or bindings; they do not create new views In [21]: a_dict = {‘501’: &quot;zoom&quot;, ‘502’: &quot;GM&quot;, ‘563&quot; : &quot;Ford&quot;} # Set a keys to equ…
  • The ” Heuristic Search to Play Maze [Notebook, html] ” posted on Canvas shows a Maze game using A-Star Search (AStar), Greedy Best First (GBF) and Uniform Cost Search (UCS) (using “AStar”, “GBF”, or “…
  • TyLTOn Functions of selection Statemen Left:0:32:13 Abdulla Abdulla: Attempt 1 Previous Page Next Page Page 9 of Question 9 (1 point) .capitalize() string method returns true if the string consists of…
  • Question 1b: One method to determine if an Integer is a multipte of 7 is to double the last digit and subtract it from the remaining leading truncated Integer. Apply this rule over and over again til…
  • Hi I am not sure of my answer can you guide to do these questions? Question 2 (2 points) Consider the following function docstring. Write a one line expression to fill in the blank. 1 def print with b…
  • Hello! Could you help me to 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…
  • Please refer to the attachment to answer this question. This question was created from lab05 updated 2018.pdf. Additional comments: “Can you explain how to define this function?”
  • Need help solving this code with the information provided. The output must be the same as what the problem is asking for. Thank you. Hulu | Home youtube HBO Max Cengage Home FSW Login @ Outlook cengag…
  • Need help with count_connected_components. ——use skeleton code below——- class UndirectedGraph : “”” Class to implement undirected graph – duplicate edges not allowed – loops not allowed – no e…
  • Please help me. Thanks. Question 4 – password obfuscation (25 pts) Write a function that will ask the user to input his name, then a chosen password. Once the information is provided by the user, the …
  • In the case where we want to import a module, the python interpreter will commence a search for the module that the user is looking for. Using your own words, please explain what this search looks lik…
  • Part 1: Who did each sick person have a record of contact with? Your first task is to list everybody that each person had contact with using nice formatting. For example, if your file contains the lin…
  • This is my coding assignment: #Through this excercise we will answer the question does difference in rates affects the FX rates #Download “Overnight London Interbank Offered Rate (LIBOR), based on U.S…
  • Write script in eclipse on PyDev Module ……………… 1 . Write the function maxVal ( a , b ) which returns the larger of integers a and b . Write a script which tests maxVal interactively wi…
  • Now that you are familiar with some of the operations of Krannert Elementary School, you are now going to expand on supporting the school’s operations.¬† Your task will be to design, write, and implem…
  • Please help me with this problems and also I can’t provide the xlsx file it only allows screenshots ¬† ¬†. Exercise-3 (20 Points) The Excel file ComputationalThinking . xlsx contains all the words tha…
  • for number in range (2, 6) : print (number) Worth 1 point Checkpoint 4.19 Write a for loop with the range function that prints the following output. Name the target variable number. 100 200 300 400 50…
  • Python programming algorithms. Using the Bush Fire Map [2 points]: w 2 NT BUSHFIRES COUNCIL REGIONS Time.Vernon Arnhem Arafura Gulf VRD Wauchope Barkly WESTERN AUSTRALIA QUEENSLAND NORTHERN ERRITORY A…
  • Simple Guessing Game Program: ¬† Creating a guessing game where two players will attempt to guess the sum of the values of two dice (Your program will mimic two dice rolls).¬† Each player will be prom…
  • Write a python program that accepts a value of integer then gets an output of 25% of the input value, Please refer the calculations based from our discussion section 3.1.2
  • please make sure the code works. Thank you so much!! ¬† Do not add statements that call print, input, or open, or use an import statement. Do not use any break or continue statements ¬†. from typing i…
  • Hey anyone please help me in this task.¬† I am attaching the 3 images of the question. You can get the question from these images.¬† Here are the images attached:
  • Construct the functions in the attachments. Based on the tic/tac toe game code below. Construct an artificial intelligence for this tic/tac/toe game using the “do_computer_move” function in the attach…
  • Define a function objective3 () which achieves the following: &gt; The function should accept two arguments – both 2-item lists, where each item represents the number of teeth of a gear train (all ite…
  • # 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…
  • need a python code that do these calculations will use IEEE-like format. The number of exponent bits according to given data size will be like the following: o if 1 byte (i.e., 8 bits), 4 bits will be…
  • Suppose s is assigned as follows: s = ‘foobar’. How would you pull ‘oobar’ from the string? ¬† a) s[-5:]¬† b) s[::-1][-1] + s[len(s)-1]¬† c) s[::-1][::-5]¬† d) s[0] + s[-1]¬† e) s[::5]
  • Given the following dictionary: b_dict = { ‘eraser’: 10, ‘bag’: [‘pencil’, ‘coin’, ‘glasses’ll Write a program which does the following requests. Each request should be implemented as one line in t…
  • Safari File Edit View History Bookmarks Window Help Q Sun Oct 31 2:52 AM &lt; mercy.blackboard.com C + 88 Bb McGraw-Hill Campus – 20213… Bb Take Test: Quiz 4 – 202130 Fal… Homework Help – Q&amp;A …
  • Can you please tell me how to construct the second function?
  • def deep_map_mut(fn, Ink) : &quot;&quot;&quot;Mutates a deep link Ink by replacing each item found with the result of calling fn on the item. Does NOT create new Links (so no use of Link’s co…
  • Write a complete Python program that does the following: Sam¬†HouseFlipper¬†purchased a house on Cesar Chavez street on August 1, 2016. The following were the details of the purchase: Purchase price o…
  • . Requirements – Bridges [CS Circles) (1] There is a single road between two cities. The road has three bridges with weight limits a, b, c, as shown in the picture below: To drive along the route, y…
  • Please do 2,3,4 in Python. Problem 3. Recall that in classiÔ¨Ācation we assume that each data point is an i.i.d. sample from a(n unknown) distribution P(X = 11:, Y = y). In this question, we are going…
  • Hi, im having a difficult time with this exercises. could someone provide the answers. exercise 3 must include the function int. for some reason the answers i came up with aren’t working when i run th…
  • . d) [2 pts] In a first for loop (must use for): 1) Calculate the sales revenue for each product. 2) Store the calculated numbers by inserting each product-revenue entry into the empty dictionary yo…
  • 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…
  • You are simulating the population of fish in the lake. You estimate that it decreases 5% each year. You want to signal an alert when the population reaches a critical value of 100 fish. Say that a sec…
  • D Question 2 1 pts Given the following, match the element to its proper Python term: d = {‘hello’ : ‘bonjour’} [ Choose ] C ‘hello’ [ Choose ] bonjour [ Choose ]
  • In Python Please ¬† Write a simple UDP client and server program and a communication protocol python3 in which the client will send a message or a file to the server. Then, the server will reply with …
  • What values are returned during the following sequence of queue operations? Q.enqueue(5) Q.enqueue(3) Q.dequeue() Q.enqueue(2) Q.enqueue(8) Q.dequeue() Q.dequeue() Q.enqueue(9) Q.enqueue(1) Q.dequeue(…
  • Hello dear helpful person. What I need is a Python Code that Takes as Input an ‚Äöinput file’ and returns a tuple with the index, length and peptide sequence of the longest open reading frame. Thank y…
  • 23 LAB: Warm up: Variables, input, and type conversion ¬† (1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate variables. Then, …
  • Give me code plz 5. A majority in a list is a value that appears as more than half of the elements in that list. For example, ‘a’ is a majority of the list [‘a’, ‘a’, ‘b’, ‘a’, ‘c’, ‘a’ ‘m’ ] since ‘a…
  • need help with the lambda function in python¬† I made an AI-powered hotel reservation chatbot using Amazon LEX V2 it has two intents (greeting and reservation), how do I write the lambda function in p…
  • positive_words = [“amazing”, “appreciate”, “awesome”, “beautiful”, “best”, “brilliant”, “celebrate”, “cheer”, “cool”, “delicious”, “eager”, “enjoy”, “fortunate”, “fun”, “glad”, “good”, “happy”, “kind”…
  • Please help with the following questions 1.¬†¬†¬†¬†¬†¬†Describe three of the four characteristics of a well-designed algorithm discussed in class and provide a one sentence explanation of each cha…
  • The volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. Write¬† a function called print_volume (r) that takes an argument for the radius of the spher…
  • What will be the output of the following Python code? * 1 point {1: ‘A’, 2: ‘B’, 3: ‘C’} Method update() doesn’t exist for dictionaries {1: ‘A’, 2: ‘B’, 3: ‘C’, 4: ‘D’, 5: ‘E’} {4: ‘D’, 5: ‘E’}
  • please help me to create class Qualification with public member variables: Qualification name and number of modules required.¬†¬†The following specifications are required: Ôā∑ Add init() method of the…
  • PLease complete this in 30 mins Question 1 3 Not yet answered Marked out of 8.00 Y Flag question Write a function called read_fi|e0 that accepts three parameters, a string called Ô¨Ālename that repres…
  • Implement the following function in the PyDev module functions.py and test it from a PyDev module named t01.py **no lists*** def retirement(age, salary, increase): “”” ——————————–…
  • In this problem, you are asked to make a some classes into a python program to play a simple game of Poker . randomly shuffle a deck of cards, deal the top 5 cards of the deck, and then inform the pla…
  • i need the output of this code ¬†. Home x Content x zy Section 3.16 – CYB 130T: Object-( x zy Section 3.10 – CYB 130T: Object-( X + V X – -&gt; C a learn.zybooks.com/zybook/CYB_130T_55317551/chapter/3…
  • Hi, I need help with PYTHON? I don’t have the answer and use numpy. thanks, (15%) Write a program to perform and print the following matrix operations. Note that in the following examples j = V-1: 1 5…
  • Link to USVideo_clean.csv Data file for the question : https://drive.google.com/file/d/10v6V6hOeHGDeOesjRE0-nzVjhpXAKDZ0/view?usp=sharing Question : To find the most popular video that fits all of the…
  • . Given the file content of a file data.txt has 2 lines of text: Suppose f refers to the file object associated with data txt followed by the following statements: * = f.read() Which of the follo…
  • Tried to put this in python but I am stuck on how to write the program to get 3 options example coffee tea and water and how to write their prompts
  • Please answer this question with Python code. Thanks! In [ ]: if perform_computation: X_true_grayscale = train_images_raw[ : 10, :, : ] p_random = np . random . RandomState (seed=12345) flip_flags = f…
  • FILE MANIPULATION WITH ¬†PYTHON Scenarios are ¬†quite ¬†common where ¬†an ¬†IT professional is ¬†tasked with modifying ¬†a ¬†file on many computer systems or many ¬†files on ¬†a ¬†single ¬†computer ¬†…
  • # T88ble simple_table_rows = [[‘chocolate’,2], [‘vanilla’, 1]] simple_table_labels = [‘Flavor’, ‘Price’] longer_table_rows = [[1990, 1, 1.5, 12, 7], [2000, 2, 2.5, 25, 10], [2010, 5, 4, 70, 36]] longe…
  • Assume that¬†c¬†is a¬† variable ¬† that has assigned a string value. Write an expression whose value is¬†true¬†if and only if¬†c¬†is a newline character.
  • Write program that opens the student_scores.txt file. HINT: Remember to use rstrip(‘\r\n’) when getting each line from the file. The file contains information for 4 Students. All values are separated …
    • Scenario: The students at MIT have a database. It can be designed in OOP paradigm by creating a class Student. The class holds the following information about each student: studentName, studentID,…
  • A bug collector collects bugs every day for seven days. Design a program that keeps a running total of the number of bugs collected during the seven days. The loop should ask for the number of bugs co…
  • Questions: i)Let’s attempt to predict the survival of a horse based on various observed medical conditions. Load the data from ‘horses.csv’ and observe whether it contains missing values. [Hint: Panda…
  • Write the program that reads a file (prompt user for the input file name) containing two columns of floating-point numbers (Use split ).¬†Print the average of each column.¬†Use the following data fort…
  • Write a program that takes in a positive integer as input, and outputs a string of 1’s and 0’s representing the integer in binary. For an integer x, the algorithm is: As long as x is greater than 0 Ou…
  • Evaluate the performance of MLP networks on the problem of pattern recognition in process “location” control charts. In particular, the neural network is expected to automate the implementation of the…
  • Performance of a hash table: Compare the performance of the S&amp;W lookup tables: sorted symbol table (ST), separate chaining (SeparateChainingHashST), linear probing (LinearProbingHashST), and a seq…
  • This tic/tac/toe code below must not use a number system to act as the user’s moves. It must be click-based, so when the user clicks on a certain section of the board either “x” or “o” appears. The co…
  • Answer accordingly. 3. Suppose two packets arrive to two different input ports of a router at exactly the same lime. Also suppose there are no other packets anywhere in the router. a. Suppose the two …
  • create diagram and explain how it works 78 23 45 8 32- 36 How many elements you want to sort? Draw the diagram After Sorting the elements are : 8 2-3 32- 36 45 ’78
  • file name = X my_dict – read_file(file_name) if my_dict is None: print (‘Error: Invalid file name provided: {}’. format (file_name) ) return
  • Please help me with my lab, the code needs to produce the answers from the second picture also. and please explain by adding comments on how each code works.. E zyBooks My library &gt; 1T140: Introduc…
  • Write a class named HasamiShogiGame for playing an abstract board game called Hasami Shogi. We’ll be using the rules for ” Variant 1 ” on the Wikipedia page (https://en.wikipedia.org/wiki/Hasami_shogi…
  • Thinking (10 marks): 16. Using class, write a program of Points and Circles – A point in the plane is represented by the values for its coordinates, usually called x and y. The class Point has at…
  • Hi I take a course that name is Artficial Neural Network. My professor wanted from me a phyton code about “Pedestrain detection by convolutional autoencoder” I need image detection like this. Can you …
  • Assessment Description: Write a programs which demonstrate understanding of IPO, Decision Structures, and Boolean Logic in Python programs. Content and Structure: Should write simple programs to: 1. A…
  • I have to create. a Python program that Know Your Loan Company. The application will accept the amount of a customer’s loan and the amount of the monthly payment. It will then generate the customer’s …
  • Write a program that continually prompts for positive integers and stops when the sum of numbers entered exceeds 1000. Stop early if a negative integer is entered. this is my program S=0; N=1; while(S…
  • Please code in python only juypter notebook research on one ETFs and one stocks. You pick other ETFs and check the intraday volatility vs volume as the lab exercise. You can pick from the list( please…
  • To fix Python code – Recursive Function: A¬† permutation ¬†of a string is a string that contains all the same latters as the original but possibly in a different order. For example, all six possible p…
  • Please show work. Thank you.. You are tasked to schedule final exams of IENG Department. Following table identifies the course list where courses with common students are identified by X. You want to …
  • Time Left:0:28:43 Mohammad Jowkari: Attempt 1 Question 8 (1 point) Show the code that creates a list called values, which concatenates the values from two other lists named some values and more values
  • FBTO015 STRUCTURED ALGORITHM &amp; PROGRAMMING SEMSEPT 2021 LAB EXERCISE WEEK 9 (LAB 2) Learning Outcomes Upon completion of this lab session, learners will be able to: 1. convert mathematical formula…
  • I need help creating an avatar (BELOW ARE THE IMAGE INSTRUCTIONS). PLEASE do NOT use for loops only while loops etc… and please NO string mulitplication unless used for the legs but I prefer no stri…
  • In python please solve and explain the following problem Write a simple text editor that stores and displays a string of characters using the positional list ADT,¬† together with a cursor object that …
  • Write a program that asks the user to enter the age of 10 post-grad students and stores the age in a List. Write a function that calculates the average of all ages in the List. Invoke this function an…
  • We use wing 101. Thanks. PRACTICE 1 Complete the body of the function following the instructions in the provided docString. No list functions may be used except for len() and range(). Your solution mu…
  • Hi I tried running this by writing add_letters(word,num) to run the function but the error tells me i have to define word and num. I don’t know why? Pls help
  • I need help creating a code for this problem.. Exercise 4 Peter 38 Doctor Paul 41 Lawyer Mary 32 Systems Engineer The first two lines of your code must look like this: import sys, csv test_file = sys….
  • How to write a python program that keeps names and email addresses in a dictionary as key-value pairs. It displays a menu that lets the user look up a person’s email address, add a new name and email …
  • Please help me understand how to solve booth’s algorithm with Python.
  • Write a program in Eclipse: ¬† Write a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax is 5…
  • Q 1 USING PYTHON Implement a superclass Appointment and subclasses/types Onetime, Daily, and Monthly. An appointment has a description (use from the following: general, chiropractic, pediatric, heart,…
  • Problem 6.3 [25 points] Purpose: Write array functions to solve a mathematical problem. I’m sure you have all heard of¬† Euclidean distance . In two dimensions, the Euclidean distance between ( x 1 ,?…
  • Suppose your machine learning model returns a list of probabilities as the output. Write a function to do the following: Given a threshold, say ūĚĎ°‚Ąéth, if a probability &gt; ūĚĎ°‚Ąéth, the predicti…
  • Please, the code should be in a text file in the format and have to be 2 codes ( code.py and Mylib.py) with (##### comments……). Please, test your code before sending it. ¬† Do not use print , repl…
  • link for previous code: https://1drv.ms/u/s!Aj1e1kjevcdeg8MxeA9KYlHSuG8Fww. Objective f-string formatting . Nested loops Specification There are a lot of details to deal with here. Take each bit one a…
  • Create a function plot_stats_for_test(filename, tests, stats) that will plot the statistical properties of the grades and times for the given test numbers. The parameters are as follows:¬† filename- a…
  • http://prntscr.com/l5ziuu I need help with this python homework.
  • You are probable acquainted with the narrative of Henry and Lisa and the opening in the pail. Not very many individuals realize what occurred after Henry figured out how to fix the opening in his can….
  • Description: ‚ÄĘ CSU Airlines wants you to formulate a Python script to calculate the total cost of a ticket. ‚ÄĘ All plane tickets are $299.99. ¬† ‚ÄĘ Carry-on bags cost $24.99 per bag. ¬† ‚ÄĘ C…
  • Python 3.9 program 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 …
  • implement two algorithms in python for integer multiplication: a divide and conquer algorithm that runs in quadratic time, and the Karatsaba-Ofman algorithm running in subquadratic time
  • 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…
  • Answer with an explanation would be great :^). 7. Ackermann’s function is defined as: n + 1, if m=0 A(m, n) = { A(m-1,1), if m&gt;0 and n=0 A(m-1,A(m. n-1)), if m&gt;0 and n&gt; 0 Write a recursive Py…
  • Stock Trading Using Deep Q-Learning ¬† DESCRIPTION Prepare an agent by implementing Deep Q-Learning that can perform unsupervised trading in stock trade. The aim of this project is to train an agent t…
  • Create an interface Measurable that has a single method: int getMeasure() Rewrite our old friend DataSetBook . Change its name to DataSetMeasurable . Replace all references to Book objects with Measur…
  • Please help in below python programming: Read ¬†data ¬†the ¬†file ¬†“heights_weights.csv” ¬†into ¬†a ¬†Pandas ¬†dataframe. ¬†Dataset in below link: https://www.dropbox.com/t/fnwJix08vuTobjOE Use ¬†num…
  • Suppose there is a text file and you have 6 columns in it. You want to cut column 2 AND 3 and paste it in another text file.how will you do without using pandas or any other modules
  • Copy the¬†countdown¬†function from Section 5.8 of your textbook. def countdown(n): ¬†¬†¬†if n &lt;= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) develop …
  • This is python question for Python 3 and it is the last one I cannot figure out. I tried everything. Please share the code in the answer box. Prompt the user for two integers. Using a loop, multiply t…
  • My Python program is supposed to display a list of customers and their info. My code is pretty much done, but I realized that it is not giving me the right output. The zip codes and phone numbers are …
  • using rebrickable API, Retrieving Parts for Lego Sets.¬†For each set returned in¬†part¬†a,¬†use the API to get a list of all inventory parts in that set.¬†Since we are only interested in the parts tha…
  • Full explnation pls.¬†. Exercise 8.4 Digit calculator Try to implement func(n, digit) to calculate the times that the digit (0 &lt;= digit &lt;=9) shown in the interval [1, n]. For instance, if n = 12…
  • . GolfScoreWriter.py The Springfork Amateur Golf Club has a tournament every weekend. The club president has asked you to write a program that will read each player’s name and score as keyboard inpu…
  • Can someone help me re-write this block of code in a different structure without using for loops in python. Only need to make changes in for loops in def runValueiteration(self). ¬† def __init__(self,…
  • Trying to display all U.S. States in Alphabetical order along with the Capital, State Population, and Flower ¬† ¬†. 19 state dict = {&quot;Alabama&quot;: {&quot;Capital&quot;: &quot;Montgomery&quot;, …
  • What are exactly functions in python? Why functions are needed in a program?¬†advantages? Functions limitations¬†?¬†is there any case where functions can’t be used?
  • What is the value of partial autocorrelation function of lag order 1? ¬† options are: ¬† Equal to the autocorrelation of lag order 1 ¬† 0 ¬† 1
  • Use python to¬†finish the following tasks to¬†Mercedes Used Car dataset.¬†Need the code and graphs&amp;tables. Answer certain question in words. Data can be downloaded from ¬† https://www.kaggle.com/b…
  • Heart Failure Prediction Dataset: ¬† ¬† https://www.kaggle.com/fedesoriano/heart-failure-prediction ¬† Describing Dataset- Try to write as much as possible for each bullet point Where has the data bee…
  • Question below. Thanks Task You are required to develop a Python program as detailed in the instructions below. 75% of your marks will be based on the completeness and correctness of the basic program…
  • import random import math assoc ={ ‘up’ : ‘down’ , ‘in’ : ‘out’ , ‘front’ : ‘back’ } assoc2 ={ ‘ding’ : ‘dong’ , ‘yes ‘ : ‘no’ , ‘sun’ : ‘moon’ , ‘hot’ : ‘cold’ , ‘light’ : ‘dark’ } assoc3 = {assoc.up…
  • Write code to createe a dictionary wordDict that maps words in a sentence to a list containing their length, the number of occurrences of that word, and the word in all caps.¬† Ex. “The cow jumped ove…
  • Read¬† https://opencv24-python-tutorials.readthedocs.io/en/latest/py_tutorials/py_feature2d/py_orb/py_orb.html¬†(Links to an external site.) ¬† and https://opencv24-python-tutorials.readthedo…
  • QUESTION 18 def mystery(num1, num2): if num1 &gt; 0: num2 = num2 * 2 return num2 else: num1 = num1 + 2 return num1 Given the above function, what is the output of the following statement in the main f…
  • The program has certain functions:¬† 1. The user can verify whether a year is a leap year or not. 2. The user can enter a time and time zone to get the corresponding Greenwich¬† time (GMT +0).¬† Hints…
  • If any of the assumptions of linear regression model are violated, we cannot use this model to make prediction. a) True b) False
  • Open an output text file called OlympicVenuesByYear.txt Next, read a CSV file called SummerOlympicsData.csv provided with this assignment. This data file has eight fields – City, Year, Sport, Discipli…
  • An application to interact with a webservice in order to obtain data. Your program will use all of the information you’ve learned in the class in order to create useful application. Your program must …
  • Create 2 matrices using numpy p &amp; q as shown.¬† 2. Perform multiplication of the 2 matrices.¬† 3. Perform the addition of the 2 matrices.¬† 4. Print the results.¬† 5. Is matrix multiplication s…
  • This program word_triangle.py contains two functions, iterative_triangle and recursive_triangle, which take a string as input and print a triangle of its letters. A sample run might look like this: en…
  • Need a python regex expression that returns only the number of bedrooms for the following sentence:¬† ¬† “This property, sold on 05/23/2018, is a one-story houeshold located at 2844 N LOWELL AVE.It ha…
    • What is an algorithm? a) A complete of steps designed to generate the desired output: b) A variable that store a value entered by the user. c) A Value stored in a variable d) A table that records t…
  • please help with python3 code import math Ô¨ĀÔ¨ĀÔ¨ĀÔ¨ĀÔ¨ĀÔ¨Ā An arithmetic sequence, is a sequence of numbers such that the difference between consecutive terms is constant. This constant is referred …
  • suppose a list named country_list = [{ ‘Country’ : ‘USA’ }, { ‘Country’ : ‘USA’ }, { ‘Country’ : ‘USA’ }, { ‘Country’ : ‘USA, UK’ }, { ‘Country’ : ‘USA’ }]. How to ignore ‘Country’ label to generate n…
  • Python coding: Use Binary trees You need to copy into Visual studio the (Binary_search_try.py) example¬†(the Binary_search_try.py) code copy pasted down below: #Define a node class that has left and r…
  • Can you please help me with a solution to this problem? I have uploaded a cleaner version of the instructions. I would appreciate it. Write a class named RetailItem that holds data about an item in a …
  • What is an algorithm and what role does an algorithm serve in programming?¬†Give examples of various algorithms. Discuss the main search and sort algorithms.
  • help on Python ¬†. When passing command-line arguments into a Python program, what character is a valid argument delimiter? 1 Comma 2 Period 3 Semicolon 4 None of the these 5 Space When a child class …
  • Programming Challenge: Username Generation ‚ĚĖ You just accepted a position at NYU’s ITS department and your first task is to a program that generates student Net IDs for all incoming freshmen ‚ĚĖ …
  • Question 1), Scenario As a developer, you may need to create exception classes that handle custom exceptions that are not defined in the standard library in a certain way. Aim In this activity, we wil…
  • Full explnation pls.¬†. Exercise 8.4 Digit calculator Try to implement func(n, digit) to calculate the times that the digit (0 &lt;= digit &lt;=9) shown in the interval [1, n]. For instance, if n = 12…
  • Project Part 1 The project for DS710 is structured to be completed in three parts. This is the first part, in which you will write some reusable code which will help you in Parts Two and Three. ¬† Pur…
  • Show the range of values (low and high) which covers the 95% and 97% of the area of data points of sepal. length’ column. ¬† Find the mean and standard deviation of sepal.lemgth and sepal.width for ea…
  • I need help with my homework please and thank you :). Use a Venn diagram to determine the validity of the following question argument: 51: All my friends are musicians. 52: John is my friend. 53: None…
  • [20 points] Create file with name “hw2_FIRST_LAST.py” and download “nasdaq.txt” , “raven.txt” , “frankenstein” files into the same directory where your “hw2_FIRST_LAST.py” code is located. 2. [20 p…
  • Please help write the code below using Python/replit.com, based on the instructions/requirements and marking checklist. Make sure to have descriptive comments and everything on the marking checklist c…
  • Python Applications for this lab: (total 100 points): 1. (80 points) This exercise uses your programming environment to enhance the Web site you created last week with additional functionality to incl…
  • Python code ¬†question im struggling with. Need answer quick, will give good rating. def shuffle(self) : Moves nodes from source to target in random order. ALL data is preserved, order is not. source …
  • Hello everyone, I have the image below as my front end and I would like to print a summary of all the boxes in the last box. I got the information of this boxes in a df how can I implement this, I can…
  • This project brings in all the lessons as one 1st create function and all the work is to be completed¬†as 1 function inside the function: a loop to run 3 times generating a random number from 1-10 add…
  • Question 2: Calculator ¬†Programe using python In this question, you will build a command-line-based calculator. Your program should display¬† an interface which the user will interact with, inputting…
  • im having troubles and need help, please and thank you.. When a customer is ready to redeem a reward, the following happens: The customer will present their customer reward number, which is printed on…
  • Write a method that removes the value of a node with index i from a singly-linked list.¬† Also, you must raise exceptions when necessary.¬† class SLLException(Exception):¬† ¬† ¬† “””¬† ¬† ¬† Custom ex…
  • We say that a list that contains lists is nested. The result of unnesting (also known as &quot;flattening&quot;) a nested list is a list that contains the same non-list elements as the nested list, in…
  • The cards have the following values: – Numeric cards are assigned the value they have printed on them. For example, the value of the 2 of spades is 2, and the value of the 5 of diamonds is 5. – Jacks,…
  • I create a program creating-handling multiple processes. Each process is to sort an integer list in an increasing order. The list is a shared variable (global) among all processes; it is initialized r…
  • Overview . The purpose of this project is for you to get hands-on experience with Python in solving differential equations. You can check examples in the following link and learn how to write codes fo…
  • I’m trying to do goal seek in python, which can be done in Excel.How can I calculate the new c value required for a ‘Net’ variable =0 and substitute the required new c for the c_assume variable? impor…
  • We will pass in a list of numbers. Your job is to find the largest number in that list and output¬†its index, not the actual value. You will need to use a utility variable to store the maximum value a…
  • need help to write four functions in python to get output. def generateGameBoard(nRows, nCols)¬† def loadWord(boardData, nRows, nCols, coord, word, dir)¬† def checkCoord(nRows, nCols, coord)¬† def upd…
  • What are the advantages and disadvantages of using Python?
  • I have done c code program but now I want that that code to be converted into python. Its a simple program, its a 20 min work for the expert. Here is the file attached of c program. Let me know if the…
  • Python code to sort the items (in ascending order) in the array based on the third item of each tuple. ¬† Given: Mydata = [(name1, address1, 45), (name2, address2, 55), (name3, address3, 30), K items….
  • Based on Privacy and Security in Online Social Media. Jupyter Notebooks / Google Colab is strongly recommended for doing this Question and showing analysis, graphs, and code. Question:- Use given belo…
  • 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_…
  • Heart Failure Prediction Dataset: ¬† ¬† https://www.kaggle.com/fedesoriano/heart-failure-prediction ¬† ¬† Define the business problem. Why do you think this topic is important? What do people plan to …
  • Hi i need help with this assignment that is in python. Requirements Your program must perform the following: 0 You will write a program that will run an experiment with tossing a coin. o Hint 1: 0 Wri…
  • Can someone help me with this problem? I have been struggling trying to make a time sample every 6 hours. Also, I’m lost with how to add labels for what’s a user, the time, and others in the output. I…
  • Please help me complete these codes. Below is the error message I got after inputting my code. Thank you…. Step 5: Hypothesis Test for the Population Proportion Suppose the management claims that th…
  • A program will use the inheritance diagram from this week in order to a parent class and two child classes. Your program will prompt the user to at least one object of each type (Car and Pickup). Usin…
  • I need help trying to figure out how to make a program using these instructions. Any help would be very much appreciated! 3. A second grade school teacher creates weekly lists of new sight words for t…
  • Hello Partner, I am having issues with my python module here which they are several “#TODO” instructions to work on this script. I am trying to create a dashboard to connect into MongoDB as followed i…
  • Design a class named NASAEmp that has the following fields:¬† empID: ¬† The empID field is an Integer that holds the NASA employee ID number.¬† firstName: The firstName field references a String that …
  • This game is a fusion between two very popular games; the tic-tac-toe (a board game) and the rummy (a card game). Tic-tac-toe is a well-known game that requires two players to enter some symbols in th…
  • Please solve the following. Q3 – Comparison Operators (1 point) Your answer will define two variables: true_var and false_var . These variables must satisfy the following requirements: 1. Each variabl…
  • Day of the Week write a program that asks the user for a number in the range of 1 through 7. The program should display the corresponding day of the week, where 1 = Monday, 2 = Tuesday, 3 = Wednesd…
  • map reduce program to output the word and the filename in which it is located. the program should have a mapper.py &amp; reducer.py the sample input files should be read in as sys.stdin and not by ope…
  • We are going to set up a class for a stock broker which will perform some common tasks, set up instances of clients, and enter trades. Set up a class called Stocks inside of a module called stock_comp…
  • **PUT THIS IN A TXT FILE** ¬† What is Python language? ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† Python is a widely used high-level, general-purpose, interpreted, dynamic…
  • For this question, you need to use airquality data. You can access this data from R without any library. This data includes some missing values which are shown as NA in the data set.¬† a) Find the …
  • Hi I was wondering how I would condense this code I have written into one line using list comprehension: hard = {} ¬†¬†for k,v in db.items(): ¬†¬†¬†¬†grades= [] ¬†¬†¬†¬†new_set = set(v) ¬†¬†¬†¬†while …
  • class Suoerhero: def_int_(self,name =””,superhero =””,villian = “”,strenght =””): # Create a new superhero with a name and other attributes. self.superpower = superpower self.name = name self.villian …
  • Given a heap T and a key k and using python , give an algorithm to compute all the entries in T having a key less than or equal to k. For example, given the heap of Figure 9.12a and query k = 7, the a…
  • i need to interpret k-means outcpme for the following scenarion: run the algorithm with 4 clusters on dataBoth.csv . Note any observations in your text file. Which countries are moving up clusters? Ho…
  • Where are the arguments received from the command line stored?
  • A regular hangman game means a person picks a word and the other guesses letters and have k chances to guess the world and correct guesses are indicated . For example if the word was hello and k=5 . T…
  • py import KVTreeNode as TN def member_prim(tnode, key): ¬†¬†¬†“”” ¬†¬†¬†Purpose: ¬†¬†¬†¬†¬†¬†¬†Check if value is stored in the binary search tree. ¬†¬†¬†Preconditions: ¬†¬†¬†¬†¬†¬†¬†:param tnode:…
  • The main objective of this to design and implement a task management ‘database’ software application1, for managing a person’s workload (or ‘ To do’ list, using the python concepts like python collect…
  • Consider the code below. When you run this program, what is the output if the temperature is 77.3 degrees Fahrenheit? temperature = gloat(input(‘what is the temperature’)) if temperature &gt;70: print…
  • 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 …
  • The winter session is here!!!. The Canadian National Search and Rescue program is very concerned with the fact that the number of people lost in forest and woods have drastically increased during this…
  • A Python program: I need help with writing this python program. A class named BlackBoxGame for playing an abstract board game called Black Box. It takes place on a 10×10 grid. Rows 0 and 9, and column…
  • provide an answer to the questions down below in the images, please and thankyou! here’s the link to the stimulator: https://www.learner.org/wp-content/interactive/envsci/demographics/demog.html?initL…
  • Hello; I’m currently having some trouble with my programming assignment / homework and would really like some help: Here is what I have to code: def change_state(state: str, section_num: int, move: st…
  • Provide 5 Python scripting commands and the descriptions.
  • Write a script that inputs a line of encrypted text and a distance value and outputs plaintext using a Caesar cipher. The script should work for any printable characters Need answer with screenshots l…
  • X Create a Python program that tracks the number of UFO sightings over five states near Nevada. The data has alrea to you so do not include any input statements in your program. Your main module will …
  • The wall has 5 functions: width, height, thickness, depth and joint. The width parameter is a positive integer defining the width of the wall in number of half-bricks. The half-brick is a useful unit …
  • Simulate by hand a vectorized expression.Supposexandtare two arrays of the same length, entering a vec-torized expressiony = cos(sin(x)) + exp(1/t)Ifxholds two elements, 0 and 2, andtholds the element…
  • 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…
  • python3, using codes on the left side. 02: Chain For this question, we will define a chain as a path from the root of a tree t to any leaf such that all nodes on the path share the same label. Impleme…
  • Can someone explain what this parameter tof=True means? ALSO please update the function so that this parameter is not used. I want to see how this can be done without it since I am unfamiliar with it …
  • Here is what the program should look like, 3 separate use cases are listed, your program should be able to cover each case: (see flowchart for more details) I could not attach the csv file. Please fil…
  • How would be solve this problem from the start? 6. Write a program that helps a person decide whether to buy a hybrid car. Ask the user to input the following items: 5 pts . The cost of a new car . Th…
  • create 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 or more i…
  • Write the recursive function¬†deep_reverse¬†that takes in a list as argument and returns a list with its elements reversed and with all sublists deep-reversed as well. Example: &gt;&gt;&gt;deep_revers…
  • I am trying to answer this question (see attached pic below). ¬† Given this, I tried my best but it is not looking the same and I can’t print the angle that is the longest. This is my current code: im…
  • Create a function: get_int(prompt, low_number, high_number)¬†– Uses the string stored in prompt¬†to ask the user for input. If the input is valid (between low¬†and high), the int value is returned. ¬†…
  • Python please: ¬† The factorial of 1 is written 1! and equals 1. Additionally, the factorial of 5 is written 5! and equals 5 * 4 * 3 * 2 * 1 = 120. Write a program to complete the factorial() function…
    • Little Inn has 6 rooms.¬†Room 101, 104 and 106 have one queen size bed.¬†Room 102, 103 and 105 have two twin beds.¬†Which of the following if statements correctly determines bed size? A) A. if room…
  • design¬†a ¬†Fuzzy Logic¬†Control Synthesis for An Airplane Antilock-braking System in python?
  • Implement a program that requests the user to enter the¬† x¬† and¬† y¬† coordinates (each between 10 and 10) of a dart and computes whether the dart has hit the dartboard, a circle with center (0, 0) …
  • def q1(floatstr): ”’ Given the floatstr, which is a comma separated string of floats, return a list with each of the floats in the argument as elements in the list. ”’ pass def q2(*args): ”’ Given …
  • python programing 2 – Write a VerifyEmail (listemail) function which asks the user for his email address, and after verification returns his email. The fol- lowing exceptions are raised where: – The &…
  • [my_house.py]¬† In a graphics window, you are to draw an outdoor scene containing a house. Your drawing should include at least the following shapes: three rectangles two lines one circle one tex…
  • use this link to see the document with the homerwork, base code python: https://drive.google.com/file/d/1Zi0zYVSgkVQXoJ3aVPqw_K63fBjYSzqr/view?usp=sharing
  • I need help converting my psuedo code into python code.
  • #I created this class and 2 objects myInfo and yourInfo. I am printing out user prompted info for these objects in columns yet I am getting an error #message. I have included my code below and my outp…
  • PLEASE HELP ME DO THIS QUESTION USING PYTHON OPERATIONS 4. Infinite while Loop Finally, create an infinite while loop to run the application. Inside the loop: Create a list of valid inputs, i.e., ‘1’,…
  • txt Movie Data ¬† Spider-Man: No Way Home Tom Holland Action ¬† Dune Zendaya Adventure ¬† Eternals Angelina Jolie Action ¬† French Dispatch Timothy Chalamet Comedy ¬† In The Heights Anthony Ram…
  • I am fresh to spark, and I want to practice on that. I want to use it in “Pycharm”. But I can’t. It always shows error: and this is my code: I could run spark on my terminal: this is my project struct…
  • . Page 4 of 16 DailyPriceList Class 4 DailyPriceList +prices: Dictionary _init_(self, prices) +getPrices (self): dictionary +getPrice (self, T): float +getOpeningPrice (self): float +getClosingPrice…
  • Python Coding Sample Input “problem3”: “manatee wombat sheep iguana manatee”, Sample Output “problem3”: “1e4182043e47e548ff62888cb7225bf0”, ¬† Problem 3: Poly1305 Now that we’ve seen XSalsa20, let’s t…
  • Ask user to enter a positive integer n and use this number to calculate the sum of series up to n term. Using python Test case: – if n = 2 the series will become 3 + 33 = 36 – if n = 5 the series will…
  • The second exercise (40 points) produces x,y values using Python math functions. The results of these function calls will be used as input to another program of your choice for plotting the results. T…
  • 4)a) Please draw the clustering results (like Figure 1) for all of task 2. b) Please draw clustering results (like Figure 1) for all of task 3. c)Please draw the dendrograms for each of the 4 hiera…
  • What would be the value of the following expression: True and False or True?
  • Use Python ¬† Given w¬†=¬†np.array([1.0,¬†1.0]) b¬†=¬†0.5 X¬†=¬†np.array([[¬†0.82,¬† 2.67], ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†[-1.68,¬† 4.07], ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†[¬†2.36,¬† 1.28], ¬†¬†¬†¬†¬†¬†¬†¬†?…
  • Programming language used: Python¬† Need help with Q1-Q5 please! ¬† ¬†. Dataset Description The dataset contains historical car auction sales prices, scraped from the outside internet sources and coll…
  • Langauge – Python Database – DynamoDB Can you query search within an existing database table using a undefined Key. Can you use user input from a command line as the key to serch the databse Orignal H…
  • Could you please help with question1? Do not use tkinter mode and should be answered in python. thanks.
  • I am working through my zybooks activities and I need help understanding what I’m supposed to do here. Program that lets a user enter N and that outputs N! (N factorial, meaning N*(N-1)*(N-2)*…*2*1)…
  • Without using imports, can anyone explain how to tackle these problems in python? I’m new to learning about dictionaries. Prompt: Link to csv files that are used: https://drive.google.com/open?id=1Svt…
  • Lab Steps Sample Output: The output should be something similar to the following. What size multiplication table would you like? (2 – 10): 1 Invalid entry – Enter a number between 2 and 10 What size m…
  • My question: Three variables , x, y and z, supposedly hold strings of digits, suitable for converting to integers. Write code that converts these to integers and print the sum of these three integers….
  • In this assignment you will need to install Erlang (www.erlang.org/downloads) and the RabbitMQ server (https://www.rabbitmq.com/download.html) for your operating system. Finally, for protocol support …
  • Can you please take a look at these two question thanks ¬†. Read the script below and answer the following question. #!/usr/bin/env python3 import time class PyTimer: def_init_(self, minute, second): …
  • I need help with identifying the unique strings of 5-12 characters and sorting them into a table. ¬† An excerpt of a memory dump extracted by Access Data’s FTK Imager (memdump.bin or test.bin) has bee…
  • I am having problems resolving this. If anybody can explain how to start? I just started to learn Python and I am confuse. I have to make a project in Python. I have to create a record object (also kn…
  • I’m having a problem getting the code to print the numbers entered under the appropriate heading in the tabular format I need some help with this because it’s coming up blank under each heading. This …
  • How do I write a function that computes the log-likelihood of the following data that comes from negative binomial distribution in python.
  • 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…
  • Hello, Option #2: List Computations Assignment Instructions Compute their Cartesian product, AxB of two lists. Each list has no more than 10 numbers. For example, if the user supplies the two input li…
  • I need help with this python, I have attached the csv file its called salaries.csv https://www.kaggle.com/datasets/kaggle/sf-salaries¬† Q1.Import pandas as pd, and Read Salaries.csv as a dataframe cal…
  • Do I need to output the same thing in the gray box? I don’t know how use integers. 1.10 LAB: Warm up: Basic output with variables This zyLab activity prepares a student for a full programming assignme…
  • You are tasked with creating a program for a pizza shop – however, as this is a comparative languages course, you will be creating the same application in the following programming languages: ‚ÄĘ Pyth…
  • #Add comments &amp; explain output from datetime import datetime, timedelta def getName(): prefix = input(‘What prefix do you use? ‘) # first = input(‘What is your first name? ‘) # middle = input(‘Wha…
  • # Question 3: The following information is used in all parts of this question. Axel’s daughter has 19 children’s books in her collection. They all have short titles: ‘A’, ‘B’, ‘C’, …, ‘S’ (there is …
  • Describe an algorithm, relying only on the BinaryTree operations, that counts the number of leaves in a binary tree that their parents are the right child ren of a node. describe s your algorithm. Pse…
  • def poly_deriv(polylist): ¬† ¬† ”’ ¬†¬† ¬† Parameters ¬† ¬† ———- ¬† ¬† polylist : a nonempty list that contains floats corresponding to the¬† ¬† ¬† coefficients of a polynomial, starting wit…
  • . Question 2 (1 points) You are provided with the following Python class definition. class BankAccount : def __init__(self, name, amount) : self . account_name = name self . account_balance = amount…
  • How can I store the output of os.system() in a variable. ¬† (Python)
  • Computer science flight planning coursework. Flight Planning A new airline wants to start running commercial passenger flights. In order to assess the feasibility of proposed flights they want a progr…
  • In this below Python code, how do I test a constructor that receives values and also need to test for the methods. class InsurancePolicy: def __init__(self, policyN=””, policyO=””, prem=0): self.polic…
  • I’m suppose to create a program that asks the user to enter a string. The program then should display back to the user the most frequent character in that string. I can’t use any count tools or dictio…
  • I have two txt file, ‘sample1’ and ‘sample2’ attached. I am wondering how to combined into a single file, with one unique student per row.¬†The unique identifier is a nine-character alphanumeric strin…
  • Please show work! import numpy as np A = np . array ( [1, 2, 3]) B = np. array ( [4, 5, 6]) C = A + B # Direct element-by-element addition print (C) # [5, 7, 9] D = np. add (A, B) # The same, via the …
  • Hi i need help with my python programming Assignment.
  • I’m confused on how to describe the best algorithms to: -Find the largest of four numbers. How can you expand your algorithm to find the maximum of 10 numbers. -Discuss how to find the sum of the numb…
  • Use a nested loop to count the letters ¬†of each element in the `nmrls` list, then print the ¬†element along with its number of letters. how to program in python
  • def count_connected_components(self): “”” TODO: Write this implementation “”” class UndirectedGraph: “”” Class to implement undirected graph – duplicate edges not allowed – loops not allowed – no edge…
  • 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…
  • First, create a new output text file named “output.txt” directly under the output. Second, read the airport point layer then output the point layer info to the ‘output.txt’ file. Third, close the open…
  • . In 2022W_CSD 1233_1: Quiz 7 and X Q course hero – Search X *Homework Help – Q&amp;A from On x + X C https://moodle.cestarcollege.com/moodle/mod/assign/view.php?id=1043926 . . . E Lambton In Toront…
  • For example, if the user first entered the item name “Science Books” with an item count of 10, and a unit cost of 12.95, this is what the dictionaries would look like: ¬† inventory_counts = {“Science …
  • . sorted II) function, which returns a list with elements sorted by the key. The third statement includes the keyr parameter for the sorted() function so that sorting is by the value among the key-v…
  • im a bit lost what do i do here? In order to ride a roller coaster, people cannot be too short or too tall. Given the heights of the people in line for the roller coaster, 1lurour job is to count how …
  • . Question 2: Numerical differentiation [10 marks] Consider a finite difference approximation F’ (x) ~ D(x) = Ax 8 F (2 – 2Ax) – ‘F(x) + F (2 + Ax ) – 2F(x + 24x) By considering the derivative of th…
  • Roll no : 19B-025-CS a. What is ‘your roll number with batch and program (e.g. 193‚ÄĒ001‚ÄĒ8E then just write 001}. [2 minutes] {0 marks] Click or tap here to enter text. h. Consider MK} 3 hash‚ÄĒfu…
  • function called¬†print_matrixthat¬†takes a list and prints in 2D format. The function prints every row on a separate line separated by a tab character. If the input is not a list, the function prints …
  • . 12. (4 points) List one potential data type(s) that the following function accepts as input def f(a): count = 0 (oldx, oldy, oldz) = (1,1,1) for (x,y,z) in a: if ((x != oldy) or (y != oldz)): retu…
  • please solve this problems. 22.9 LAB: Hailstone sequence Given a positive integer n, the following rules will always create a sequence that ends with 1, called the hailstone sequence: . If n is even, …
  • PLEASE CORRECT ALL THE CODING OF BLACKJACK AND COMPLETE AS DEMAND IN 2 PICTURE. #Blackjack Game¬† #Started 2.7.14 #Finished 2.10.14 #Blackjack Game¬† import random #Classes class Card(object): ¬†¬†¬† …
  • Write a program that summarizes all the unbroken integers found in the file. For instance, if given a file containing… ¬† 10 2×3 15 4f 3 1 3 4x 5 y6y ¬† … would produce an output of 37. Note: You …
  • guidance writing a Python program that simulates a dice game. The number of sides on each die, the number of dice, and the number of simulations to perform will all be taken from user input. After eac…
  • note: Only in the console. Design and develop a simplified restaurant reservation system for DICT FRENCH CAFE’. The system provides different reservation rate for adults and children. (See sample belo…
  • . Crab bucket list def eliminate_neighbours (items) : Given a list of integer items guaranteed to be some permutation of positive integers from 1 to n where n is the length of the list, keep perform…
  • . Buster the Troll wants to go Visit his friend, the troll king, in Troll Kingdom. He wants to bring some precious stones for his friend and he knows that on the way from his troll cave to the kingdom…
  • . l. [4 marks] In a file called qLIJ’)’, write a function called decimathEx that takes a single integer as input and returns either a string that is the single hexadecimal digit corresponding to t…
  • Modify the sentence-generator program of Case Study so that it inputs its vocabulary from a set of text files at startup. The filenames are nouns.txt, verbs. txt, articles.txt, and prepositions.txt. (…
  • You are given two lists, months and day. months=[‘January’, ‘February’, ‘March’, ‘April’, ‘May’, ‘June’, July’, ‘August’, ‘September’, October’, ‘November’, ‘December’ ] days=[31, 29, 31, 30, 31, 30,…
  • Use Earthquake.csv and show a histogram of all the depths in the csv file. ¬† find file below¬† https://drive.google.com/file/d/1KAlccvK8ok4kS30E9WYkMJvQNFkQd7Ql/view?usp=sharing
  • # Import the necessary modules nba = # Code to read in nbaallelo_slr.csv # Create a new column in the data frame that is the difference between pts and opp_pts nba[‘y’] = # Code to find the diff…
  • 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…
  • 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 …
  • Case Study 1. Extract data from the given SalaryGender CSV file and store the data from each column in a separate NumPy array 2. Find: 1. The number of men with a PhD 2. The number of women with a PhD…
  • can I get help in coding this function in pyhton? it’s about recursion. I attached the function assumptions.. Functions No fancy narrative this time, just a few problems to solve using recursion. You …
  • a program that prompts the user to enter two single digit integer number then the program should multiply and displays the multiplication result for the two numbers, then the program asks the user whe…
  • Write a simple program that prompts two questions and then displays the answers in one sentence. In other words, you will write a two-variable program that will ask two questions. Then you will create…
  • In this project, you will utilize seed free de-anonymization to solve real problems. In the seed free de-anonymization, you have only two graphs given in edgelist filetype. unseed_G1.edgelist is the o…
  • Need solution for the following question: ¬† For this example, please work on Fashion MNIST dataset: Learning curves has an important role in developing any machine learning algorithm. To understand t…
  • def inv Cramers ( A ) : 1/11 10 Invert the square matrix A using Cramer’s rule and built in determinant function . Cramer’s rule : ( A ‘ ( – 17 ) _ Eij] = ( – 1) ` { { + 37 M_ Eji } / det ( A) where …
  • 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” …
  • Work with the adult dataset (below) using Python. Build a Poisson regression model to predict the years of education a person has (using the variable¬† num ) based on a person’s age and the hours they…
  • Rabih Neouchi Spring 2022 MIS 6382 JSOM, UTD Due by: 03/16/2022 Question 5 (3 pts) Write a program that computes the number of denomination notes (as bigger as possible) required to be dispensed by an…
  • how do I use pickle to make this program run faster? ¬† def fine_per_plates(): ¬† ¬†import xlrd ¬† ¬†import pandas as pd ¬† ¬†import numpy as np ¬† ¬†import re ¬† ¬†# Filter all warnings. If you would…
  • NEED HELP IMPLEMENTING THE FUNCTIONS IN THIS CLASS (DOCSTRING EXPLAINS REQUIREMENTS): import random ¬† class BootstrapResampling(): ¬† ¬† “”” This class implements the non-parametric bootstrap resampl…
  • You are provided with the following numbers as your input data: 10, 20, 30, 40, 50. List the steps for LOOCV and show a table with the numbers by each step.
  • Please answer only if you are completely¬†sure about the solutions, with explanation for each question needed 1. What will be the output of the following Python code snippet if x=1? x&lt;&lt;2 a) 8 b)…
  • QUESTION 26 What is the output of the following code? def main(): nbrlist = [2, 4, 6, 8, 10] processList(nbrlist) print(nbrlist[2]) def processList(list): for i in range(len(list)): list[i] = list[i] …
  • What is the value of expression 3**2? A. 6 B. 18 C. 9 D. 12 4.Given x = [1,2] and y= [3,4], what is x + y equal to? A. 3 B.7 C. [1,2,3,4] D. [4,6] 5.The following is wrong about module. A. One xx.py…
  • This info is for a previous question. So here is how the txt file looks. Cape Girardeau, MO 63780 Columbia, MO¬†65201 Kansas City, MO 64108 Rolla,MO¬†¬†65402 Springfield, MO65897 St. Joseph, MO64504 S…
  • question 1¬† OMDB_API_KEY = ‘f2cbd864’ The link: http://www.omdbapi.com/?i=tt3896198&amp;apikey=f2cbd864&amp; ¬† Define the function getOMDBData that accepts a title and calls the OMDB API (described …
  • How would I go about writing the class below? I’m having trouble going about this.
  • Question: For ¬† ¬†thi ¬† s ¬† Assignment, you will think about the I/O acted in the strung sort Assignment from Week 2 and how the I/O adds to the presentation of the strung sort. Applying the standa…
  • Please provide me with python code do not solve it on paper Suppose a small pond normally contains 12 units of dissolved oxygen in a fixed volume of water. Suppose that at time a quantity of organic w…
  • Write script in eclipse on PyDev Module ……………… 1 . Write the function maxVal ( a , b ) which returns the larger of integers a and b . Write a script which tests maxVal interactively wi…
    • Write python program which inputs three strings and store them into three variables str1, str2, str3 and then do the following: a) Display if merging of str1 and str2 equal str3 or not? b) Display …
  • . CHALLENGE ACTIVITY 4.4.2: Basic if-else expression. 375510.2350218.qx3zqy7 V Jump to level 1 1 Write an expression that will cause the following code to print &quot;greater than -15&quot; if the v…
  • What is Agile software development and why it’s relevant?2 Why waterfall approach is rarely a great solution for software development? Define Machine Learning and provide examples of its application. …
  • Revise the code to handle the possible errors related to files in the program. For each possible error, provide a customized message for that error. Take a screenshot of the part of the source code wh…
  • please help me asap 4. Compute d &gt; 25 in the range 1 &lt; d &lt; n such that d*e = 1 mod I: thetan ) == e*d – 1 == *thetan This statement can be computed as follows: Find a d (an integer! such that…
  • the question is attached PYTHON certification training Module 3: Deep Dive – Functions, OOPs, Modules, Errors and Exceptions Case Study ¬© Brain4ce Education Solutions Pvt. Ltd. Module 3 – Deep Dive…
  • The answer already provided is confusing. I am not sure how to proceed. The way the problem is presented is also confusing to me. # function : future value # input : three numbers (PV (float), r (floa…
  • Exercise 0: ¬† Exercise 1: ¬† Exercise 2: ¬† ¬† Exercise 5: ¬† Train-test split It is common practice to randomly partition available data into a training and test set to more accurately gage how well…
  • In your Word document, interpret your predictions for the Applications.csv data. Specifically address the following: a. How many loans do you predict to be a good risk for the lender? b. How many …
  • Need help with a code in python in reading the rows from a csv file. The csv file reads as follows: ¬† Spring’18 Fall’18 Spring’19 Fall’19 Spring’20 Fall’20 EM 125 187 228 172 184 197 ES 3 0 80 0 34 6…
  • I think I got 2a. But not sure how to get 2b 2. (a) Write a program to find the sum of the following series using python 199 k=0 K Expected Output: sum = 19900 (b) Using python, verify that using the …
  • I need help writing a Python script that looks at existing text files and converts the data to a useable format to that can create polyline shapefile feature class in ArcGIS. Each row should contain t…
  • Please, in Python 3 Can You Make a Palindrome You will be given a string of characters in the range ascii[a-z] and a series of queries. Each query consists of a starting and ending index for a substri…
  • solve the following please use python Global Constant Real CALORIES FROM FAT CALORIES_FROM_CARBS main() getFat setFat (Ref inputFat) [gramsFat, caloriesFat) Display &quot;Enter caloriesFat = gramsFat …
  • Write python python program to get the string “welcometomyclass” from the user, and¬† traverse the string using for loop only. Also convert that string into list by using¬† delimiter e.
  • Can I get an explanation through powershell on how to solve? Been having issues with this one. Define a class called Dog. The initializer takes 4 arguments: a breed [such as ‘Australian Cattle Dog ‘…
  • How will you tackle this python problem? with a subclass called ComputerLaboratory that inherits from the class Room, add additional instance variables called noOfComputers and professorName. A constr…
  • What are modules in Python and how can they be secured?
  • Hsuie, Ma, and Tsai (“Separation and Characterizations of Thermotropic Copolyesters of p-Hydroxybenzoic Acid, Sebacic Acid, and Hydroquinone,” Journal of Applied Polymer Science, 56, 471- 476, 1995) s…
  • Modify the file¬† course_dict_7.py ¬†(found on this Moodle block) to include an edit feature that allows the user to change data (room, time, or instructor) for any existing course found in the course…
  • Write python code to check if any King is¬†unsafe on the Chessboard or not.¬† Given a matrix¬†board [8][8]¬†comprising of the king (K), the queen(q), the bishop(b), the knight(t), the rook (r)…
  • Python programming, use the two csv files (Screen shots included) with the instructions provided.
  • 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?…
  • . |n main.py defi ne the Product class that will manage product inventory. Product class has three attributes: a product code, the product’s price, and the number count of product in inventory. Im…
  • This is missing the upper portion of the question. Above this image is the following: get_column_labels: Generate and return a list of strings that will be used as column labels in DataFrame that will…
  • 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. cre…
  • The lists a and b represents the length of two sides of a set of right triangles. Calculate the length of the hypotenuse c for each triangle using the formula: ūĚĎź=‚ąöūĚĎé^2+ūĚĎŹ^2 ¬† ¬† ¬† Use the z…
  • An IR system returns 40 documents, 10 relevant and 30 irrelevant.¬† There are a total of 50 documents in the collection and 16 of those documents are relevant.¬† Calculate the precision and recall of …
  • Use the Bank.csv in attachment. Use the following estimation models for predicting customer subscription (y in the table). You should print the cross validation score and confusion matrix for each mod…
  • . Sometimes Bootstrap may fail and this question provide a simulation study. Suppose our data X,- are i.i.d. from X,; ~ Unif{Ô¨āl,3) and we want to estimate 3 from the data. Suppose H = 1 is the tru…
  • # ¬†Imports import random ¬† # Constants SIZE = 100 ¬†# Size of array to sort. XRANGE = 1000 ¬†# Range of values in random arrays to sort. TESTS = 100 ¬†# Number of random arrays to generate. SORTS = …
  • I am having a hard time understanding exactly what is wanted from the assignment. I attached a picture Here is my prior assignment that supplements this picture. cont = “Y” def Add(num1, num2): #Addit…
  • 3} Top-sellingproducts (30 points} Use Python programming to find most popular single products and co‚ÄĒpurchased products from the large transaction data: retail-25V. Each row in the Ô¨Āle is one pu…
  • 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
  • def kaleidoscope (img: Image) -&gt; Image: “”” Given an Image, img, update it to create a kaleidoscope. You must maintain the size dimensions of the original image. Return the updated img. The kaleido…
  • I have the following dataset and I need to count how many times the word ali occurs. When counting multiple occurrences should be counted as one single occurences. So results should be like. You shoul…
  • 1 function called¬†word_count¬†that takes a string and returns a dictionary that maps every case-insensitive word in the string to the number of times it occurs in the string.¬†Don’t worry about punct…
  • What does the following code do? goodslope = slope &lt; 20 goodelev = elevraster &lt; 2000 goodfinal = goodslope &amp; goodelev ¬† python script
  • Write a program that takes the 2nd derivative of x and prints its value when x = 10. (10 points) def derive( function, x**5) : h = 0.0001 top = function(value + h) – function(x**5) bottom = h slo…
  • Execute it for python.. Submit the script and screenshot of the execution of your script 1. Using the OS system command, display the HOST NAME. Ask the user to enter the first and last names and save …
  • Description: Choose a popular movie you like and find the id of this movie at rottentomatoes.comÔā∑ Example: rottentomatoes website with movie Quiet Place 2018 Movie id = “a_quiet_place_2018″Ôā∑”A qui…
  • import random #Start an infinite while loop print(“Welcome to my Guess the Number Program!”) print() name = input(“What is your name? “) print(“Hi, “+name+” lets play a game!”) while True: ¬†¬†¬†print…
  • Lab 2 – in Python – Console Application, not windows application.. Question 1 and 2. Thanks. CIST 2742 – Python Programming d. Print a title and format the output to display it nicely. Amortization Sc…
  • . Come up with a business question Choose a business context that you feel passionate about. Then come up with a question relevant to the selected business context that you seek to resolve. For AM34…
  • i need python code for this question¬† i need code which i can copy paste in my ide ¬† ¬† Solution in octave program: for your help % clear all; f = @(x) (1-cos(x))./(x.^2); g = @(x) (sin(x)).^2./((x….
  • MY PYTHON FILE : https://www.dropbox.com/s/nge14w04hjda981/baseball_ch6.py?dl=0 my specific question is about list variable validation. Please run the program and enter 2 and enter random data. The ‘p…
  • For the¬†Bryce Canyon dataset, download either the GeoJSON or Shapefile format. Use the GeoPandas library to load the dataset into a dataframe in Python. Generate histograms/frequency count for each c…
  • Using python, In my week 5 for my CPT 200 course, we have to write a script in python that stores employee data such as their phone number, social, email, and their salary. The final task is add an ex…
  • Create an XML file manually that records a list of madeup accounts including account number, type, balance, opening date, and status. Then load the data into R
  • Code numpy array attributes: dtype, data, nbytes, flat, imag, real, strides, ctypes, and base. And also numpy methods: all, any, clip, compress, copy, max, min, mean, repeat, round, sort, squeeze, sum…
  • Write algorthim/pseudocode for a program that assigns a letter grade for an inputted quiz score, according to the following table: 4 pts Score Grad e 90-100 A 80-89 B 70-79 C 60-69 D &lt; 60 F
  • import pandas as pd import numpy as np from WOE import data_vars from sklearn.linear_model import LogisticRegression from sklearn.model_selection import train_test_split from sklearn.metrics import co…
  • Python code for the following: Ask the user to enter a number, N (Total number of inputs to be taken). Assume that the user will never enter the first number as zero. Take N number of inputs Prints …
  • mixed_list = [“hello”, 2.0, 5*2, [10, 20],[3, 4, 6*6]] What’s the length of the mixed_list?
  • program code to read You can download the file from www.py4e.com/code3/mbox-short.txt Exercise 1: Write a program to read through a file and print the contents of the file (line by line) all in upper …
  • write a short python program that asks the user to enter two values, a length and width, then prints out the area of a rectangle with those dimensions.
  • Draw a bar chart to show zone wise average expenditure
  • An odometer is the gauge on your car that measures distance traveled. In the United States, an odometer measures in miles; elsewhere else, it measures kilometers. Many vehicles with electronic odomete…
  • My set is not saving to the CSV file. In [1]: #importing packages from b54 import Beautifulsoup import csv import requests import re In [2]: #defining URL url= &quot;https ://www. census . gov/program…
  • How to fix this error. Im trying but could not run it Create a generator that yields &quot;n&quot; random numbers between a low and high number (that are inputs). Note: Use the random library. For exa…
  • Write a function swap that swaps the first and last elements of a list argument. Sample output with input: ‘all,good, things,must,end,here’ [‘ here’, ‘good’, ‘things’, ‘must’, ‘end’, ‘all’] 247772.221…
  • Implement a VotingMachine class that can be used for a simple election. Have methods to clear the machine state, to vote for a Democrat, to vote for a Republican, and to get the tallies for both p…
  • Display the total number of missing data (“NaN”) for each column.¬† Okay so im trying to find total number of missing “NaN” for each column trying to iterate a loop to check each column ¬† This is wha…
  • You will input data from the user, contruct a loop, perform some conditional logic, and implement some of your code in at least one function. You will write an application that will allow the user to …
  • Write a function that: (in jupyter/python) – Takes has one parameter (a float) and returns two floats: the area of a circle and the circumference of the circle. – Make sure to return the values and no…
  • Question 4. We’ve loaded an array of temperatures in the next cell. Each number is the highest temperature observed on a day at a climate observation station, mostly from the US. Since they’re from th…
  • The below program is written to change the value of given dictionary such that the value word starts with upper case. However only the first value is changed with this program. Fix the program so that…
  • Based on the discussion, do you think that an iterative algorithm to solve a problem can be written using any type of loop? Why or why not?¬† Do you think the following problems can be solved without …
  • Using kivy, Create an application that contains two pages as illustrated in the attached image. Both pages should have a label at the top of the page indicating the page number.¬†¬† Page 1 will have 3…
  • # Program name¬†¬†¬†: Wk7_Jonathan_Delvalle.py # Student Name¬†¬†¬†: Jonathan # Course¬†¬†¬†¬†¬†¬†: ENTD220 # Instructor¬†¬†¬†¬†: Robert Haluska # Date¬†¬†¬†¬†¬†¬†¬†: 8/19/2020 # Copy Wrong¬†¬†¬†¬†: T…
  • Write the code to call a function whose name is¬†send_number. There is¬† one argument ¬†for this function, which is an¬†int. Send¬†5¬†as an argument to the function.
  • plz python. Write a function plot_rows() which takes 4 input arguments: . a string &quot;fig_type&quot;, which is one of the two values: &quot;single&quot; or &quot;subplots&quot;, . a 2D Numpy array …
  • Hi¬† I have a list of items in a dictionary (inverted_dict.txt). I want to modify the dictionary, read the file’s items, and write the inverted dictionary to a file. I need to decide on the following:…
  • 3.5. Function bin25tring This function does the opposite of the string2bin function. It takes a an 8×8 frame and a fill character, and returns the 8‚ÄĒcharacter string encoded by that frame. It doe…
  • Make Python module, called sentiment_analysis.py (this is the name of the file that you should use) and a main program, main.py, that uses the module to analyze Twitter information.¬† In the module se…
  • please can you help me ?. Machine Learning 1 Disease Identification/Diagnosis ‚ÄĒ supervised learning – diagnosis, particularly in cancer research, depression treatment 2 Personalized Treatment] Behav…
  • Write Python program that can be used as a math tutor for young students. ‚ÄĘ The program should display two random numbers between 1 and 500 to be added, such as 247 +129 ——- ‚ÄĘ The program shou…
  • Evaluate and print the equation Y=3X+7, for X values from -3 to 9 using the range function and for loop (explained in my recorded video about Python examples).
  • What is the path to the php.ini file on a default installation of PHP on a LAMP stack? Where would you find the PHP documentation explaining the settings in the php.ini file.
  • how do you get the awnser on IDLE and what are the steps for the awnser
  • How would I ¬†to maintain a collection by a list and allow the user to add, remove, search for and print items in the collection. class Vehicle: ¬†¬†def __init__(self, Make, Model, Year, Mileage,Price…
  • best way to learn steps by steps python and were do i start? do i need to learn other language ?
  • how do i make this infinite using next(x)?. Implement the Sieve of Eratosthenes https://en. wikipedia. org/wiki/Sieve_of_Eratosthenes as a Python generator eratosthenes such that if we assign x = erat…
  • Topic: Python classes object-oriented programming. ¬† Hello I already have a template. I just need you to add and follow the hashtag.. 5:46 0 Template D.py def make_class(attrs, base=None ) : def make…
  • Tuples and strings are immutable. A list is mutable.”¬†Provide an example to explain what this means.¬†Your coded example must include extensive comments to clearly explain what is meant by the terms …
  • . Prof. Kutsal Dogan As signment O 3 1 Instructions Create a Python Ô¨Āle named youerupNumberAsg03.py post it on Canvas. This is a group assignment. You may complete in groups. Max group size is 3. …
  • Type your answer in the answer box. Define a class named Product . ¬† Product has two data fields, name and description . Both name and description are string type and private. ¬†Create constructor to…
  • Write recursive two functions to perform the following 1-¬†¬†¬†1-¬†count_down(n) Given a value n, the function prints the value n and count down printing (n-1),…till it prints 0.¬† 2¬†¬†¬†¬†2-factor…
  • Understand transport layer protocols TCP/UDP ¬† Problem 1 a. Suppose you have the following 2 bytes: 11011100 and 01100101. What is the 1s complement of the sum of these 2 bytes? b. Suppose you have t…
  • how do I run a script in python after in was created in the python shell….doc.py
  • This is how I wrote it But it showing me mistakes ¬† import rsa import stdio import sys # Entry point. ¬† ¬†n = int(sys.argv[1]) ¬† ¬†e = int(sys.argv[2]) ¬† ¬†width = rsa.bitLength(n) ¬† ¬†message…
  • Write a function that concatenates two strings and a string separator, and uses a default argument: Since we may usually want a single space to be used as the string separator, we can simplify things …
  • Help with List ¬† 1. How do return a copy of the list containing the values(data) between two cutoffs? For example, if we are given an input_list, a lower cutoff value and an upper cutoff value, How d…
  • https://github.com/DesignInformaticsLab/DesignOptimization2021Fall/blob/main/Project/Project%201%20gradient%20based%20algorithms%20and%20differentiable%20programming.ipynb ¬†. Consider a simple formul…
  • How many keyword arguments can be passed to a function in a single function call?
  • FINAL PYTHON PROJECT GOA&quot; Your topic may be on amthing you choo a rovding it’s a hn’cal. is No sportstatist es ors opping .art : Fore.a pa. Linux back psac . ity proce ses ,sim I handing) IPs wat…
  • For the program below, what Python expression is needed in the blank (yellow box) to make the program produce the output shown on the right? You must use var1 in your answer. answer = input(&quot;Firs…
  • Introduction In this final project, available to Verified learners only, we’ll attempt to predict the type of physical activity (e.g., walking, climbing stairs) from tri-axial smartphone accelerometer…
  • I am supposed to take the following program (white background) and work through it. The blurred words are blurred on purpose. The program with the black background is what I have so far. I think I am …
  • Mindup Lib Advil * + X G ing cengage .com/static/nb/ui/evo/index.htmlideploymentid -59827118161017850326350594958 ISBN=9780357421802 fromspihodd =2503885 5id-1231423 # Bending But CENGAGE | MINDTAP …
  • I need help in sentiment analysis, constructing a code with comparative reviews in a .csv file. This is the textbook chapter I need to follow ‘comparative opinions’ ¬†written by Jindal and Liu.¬† ¬† ?…
  • Question 1 1 pts Which of the following is considered a Git &quot;place&quot;? CHOOSE ALL THAT APPLY Local Repository O Staging Area Remote Repository Working Directory. Question 3 1 pts What is a mod…
  • GETTING STARTED WITH PYTHON Begin your paper with a short Introduction. Then in a bulleted list, briefly describe the following variable types: Integers Floating point values Boolean Values Strings De…
  • What is the range of values that random.random() can return?
  • don’t use any import and dictionary. google – Yahoo Canada Search X | ()CSC108H5 F Lectures 20219:In x (CSC108H5 F Labs 20219:Introd X MC File Edit View Navigate Code Refactor Run Tools VCS Window Hel…
  • please answer part 2 of the question Part 1 1) Write Python code that creates a CSV containing 10 columns of text data‚Äč Each entry in a row should be different. Each entry should be between 3 and 25…
  • Assignment description: In¬†this¬†exercise,¬†you¬†are¬†given¬†an¬†implementation¬†of¬†a¬†binary¬†search¬†tree. ¬†¬†¬†¬†The¬†class¬†“BST“,¬†found¬†in¬†the¬†exercise¬†package,¬†contains¬†the¬†methods …
  • python program ¬†. ara… Cengage Digital Le… ) Omni Search – Carl.. Wharton Applied N… SONA D first person approach 2 90% Question 1 (20 points) Question I provides practice with files and string…
  • Hey sir or mam i want it till tommrow with solved solution please help me out We have computers and laptops The computer has a brand, price, CPU speed, hard drive capacity The laptop has a brand, mode…
  • Question 1: What will be the output of this code? x=”2″ y=”4″ z=int(x) + int(y) print(z) 6 24 2 8 Question 2: What is the output of this code? spam=”7″ spam=spam + “0” eggs=int(spam) + 3 print(float(e…
  • Modify the the MPG program as mentioned below to store the results in a list/dictionary. Print the list/dictionary when no more calculation is selected.¬†The output will be something like this for the…
  • Training a decision tree for a regression problem you will be training a decision tree for regression and you can use functions from the following 1 : from sklearn import tree. Make a regression decis…
  • The area of a triangle can be calcuted by Heron’s formula: S = p(p – a)(p – b) (p – c), where a, b, and c are the lengths of the sides of the triangle, and patb+c 2 Please define a function area that …
  • Google Translate I’m John, Too! 13 Complete the following function according to its docstring. The arguments we use for testing will not be shown; instead, they will be described in English. If you fa…
  • Write a function called get_average_inventory,¬†which takes a parameter of the name of the data file, and returns the average of the data stored in the file.¬† Assume the file stores one number (inven…
  • Explain what I did wrong and how this can be corrected.
  • **Python/Jupyter notebook When I run this code I get this error. The image at the way bottom. My task is for the PCA to be equal to 3 as you can see in the #Applying PCA component’s cell. It is expect…
  • Write a function that returns true or false if a given string has exactly 5 consecutive characters with the same value. Note that if the string has less or more than 5 consecutive characters, the func…
  • Please help to provide solution for python problem . Thanks in advance. ¬†. 2nd Question (Python Coding Test) Scenario: HR department wants to automate the sending of bonus letters. Requirement: 1….
  • What is the shape of¬†d¬†defined in below code? import pandas as pd s1 = pd.Series([0, 1, 2, 3]) s2 = pd.Series([0, 1, 2, 3]) s3 = pd.Series([0, 1, 4, 5]) d = pd.concat([s1, s2, s3], axis=1)
  • Problem 1: Endings Find on the D2L two datafiles, &quot;namesBoys&quot; and &quot;namesGirls&quot;, containing the 1000 most popular baby names in the United States in 2010. DeÔ¨Āne a function that r…
  • Can someone explain this code line by line thank you. print (&quot; 0 1 2 for row in range (self. size) : line = &quot;1 print ( row, end=&quot; &quot;) for element in range ( len (self . board [row] …
  • In your bin directory, create the file backupVM.py, and populate with our standard beginning #!/usr/bin/env python3 # backupVM.py # Purpose: Backs up virtual machines # # USAGE: ./backupVM.py # # Auth…
  • a Python code examples that demonstrate each of the following. Do not copy examples from the book or any other source. Try to be creative with your examples to demonstrate that you invented them yours…
  • 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…
  • make an ¬†python code ¬†. SELECTION SORT The solution must be a programming code in any language or a simulation where EVERY STATE AND VARIABLES are being displayed. There will be a specific question …
  • code provided does not match result. HNMTION # Get N from the command line import sys Collapse Challenges N= int(sys. argv[1]) # Your code goes here 6. 3. Squared sum=0 for x in range (N+1) : X LAST R…
  • Need to use spyder to do the assignment. TASK In this assignment, the overall task is to develop an application that does three things 1) verify that the right user enters the system, 2) provide abili…
  • Please help write the code based on the instructions and marking checklist/requirements below using Python on replit.com. ¬†PLEASE remember to make sure the code has descriptive comments throughout wh…
  • I need to Construct a class that represent employee of a company. Each employee is defined by an integer id number, a pay rate, and maximum number of hours the employee should work each week. The clas…
  • how do i create a program¬†that will allow a user to add, list, and delete items from a shopping list in python. I cant get the items to list
  • i need help creating those dashes in sample output 1 Requirements Your program must perform the following: Ask the user for a sentence that includes numbers and letters Convert their sentence to a lis…
  • Given user defined numbers k and n, if n cards are drawn from a deck, find the probability that k cards are black. Find the probability that at least k cards are black. Ex: When the input is: 11 7 the…
  • Insert code below for the following: ¬† Now it’s time for the actual assignment! In the .ipynb file, we have outlined three functions for you to fill in: inquiry(), new_purchase(), and refund(). Each …
  • IMPORTANT NOTES: please provide the actually code¬† please provide the correct screenshots as asked below in instructions¬† part 3 and part 4 please identify where these parts are in the code thank yo…
  • txt contains a last name and at least one or more first names / middle name. For example: Pritchett, Jay Dunphy, Haley Gwendolyn
  • Optimal Least Squares Regression question: The relevant link: https://drive.google.com/file/d/1Mvt3EDArVGdIEiN9h-OmvhB6yfApIGt0/view?usp=sharing regression on x(1) regression on x(2) greedy regressi…
  • 1) (6 points) Consider the expression:¬† S = ( ¬¨ A¬† √ö¬†¬¨ B)¬† √ô¬† ( ¬¨ A¬† √ö¬† B) ,¬†where A and B are Boolean variables. Fill in the truth table below to compute S. You will need to create th…
  • I need the following code translated or converted to Python code. I have tried to get Java to run on Pycharm Pro with several settings. The file needs to be .py so I can’t just use a Java IDE. Thank y…
  • averages_term = {‘First term’ : [13,12], ‘Second term’ : [13,15], ‘Third term’ : [12,11]} How can i invert this dictionary using for loop or map and reverse. In Python
  • Question: How to make the output be a set? the data can be downloaded from : https://drive.google.com/file/d/1jBUKNWZmYaWrmxdMBLbMc2kk7TFfhpc6/view?usp=sharing ¬†. Question 2 (10 points) Consider the …
  • Write a function log(b, n) that uses a loop to compute and return the logarithm to the base b of a number n – or, in cases in which n is not an integral power of b, an integer estimate of the log. (Th…
  • Question 2. 1 . Create a function stats for year that takes a year and returns a table of statistics . The table it returns should have four columns : geo , population total , children per woman tota…
  • Question 5: 60 pts. You want to find strings where the first 3 characters are the reverse of the last 3 characters in the following list of strings: 11 = [ “abc earth cba”, “abc mars abc&quot;, …
  • The project is to help the local police department with their installation of security cameras at trafficc intersections. We will solve a particular kind of optimization problem, called the Vertex Cov…
  • Can I please get some help with the following problem? I keep only scoring a 3/10.¬† ¬†. Only show failing tests Download this submission 1: Unit test A 0 / 1 Test create_connection() returns a valid …
  • What array of objects did you write for this program? (Is it a tuple or a list? What is its purpose?). import os this is a console Clearing method clearConsole = lambda: os. system(‘cls’ if os…
  • Question 21 (2 points) Given that the following code has executed, what is the value of mystery? line1 = ‘I ate the cake’ line2 = ‘2 Fast 2 Furious’ mystery = linel [ :5] + ‘ ‘ + line2 [-7:] + ‘ly’ O …
  • Given an integer representing a 10-digit phone number, follow the TODO comments to complete that program that outputs the area code, prefix, and line number using the format (800) 555-1212. Ex: If the…
  • ITNPBD2 Class test assignment – PDF X – X File View Edit Go Bookmarks Converts Tools Settings Help &lt; &gt; Fit Width v Q + iw Open… Print… Save Previous Next Zoom Out Zoom In Browse Zoom Text Se…
  • I can not provide graphics import since it is too long to copy and paste onto here, but I would like to still get support for Lab 6, while information on the python lab 4 is made available to look at …
  • Draw a circle by using this code With PYTHON.Thank you while i &lt; math. pi*2 : i=i+math . pi/180 xa=round( * math . sin +X ya=round ( r* math . cos 1 +y I if xa&lt;n and ya&lt;n: board [xa ] [ya ] =…
  • On Jupyter Notebook complete the problems below: # Import/run these libraries import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns %matplotlib inline #Enter you…
  • Please, I need help to fix the error message of STEP 5. Thank you.. File Edit View Insert Cell Kernel Widgets Help Trusted |Python 3 O + H Run C |Markdown v Step 5: Hypothesis Test for the Population …
  • Need python or google colab to¬†finish the following tasks to¬†Mercedes Used Car dataset.¬†Just need the code that can run in python or google colab and maybe screenshots of graphs&amp;tables. Thanks!…
  • write the answer. ACE [3 marks] def para (localVar) : fName = input (localVar) Based on the valid Python program above, answer the following questions. Identify and name all parameter(s) in the given …
  • Hi, could somebody help me in creating a code with Python? I need help creating a code that meets the following requirements. I am having issues with writing a code that first, prompts the user to ent…
  • Write python program that reads in numbers separated by a space in one line and displays distinct numbers (i.e., if a number appears multiple times, it is displayed only once). (Hint: Read all the num…
  • In this exercise, you need to practice writing functions. Please write code for the following functions: main() menu() calWeight(from, to, weight) calLength(from, to, length) calVolume(from, to, volum…
  • Write a program that keeps a dictionary in which both keys and values are strings – names of students and their course grades.¬†Prompt the user and demonstrate add students, remove student…
  • Write a Python function that finds the first non-repeating digit in a given integer number and return its index. If it does not exist, return -1. What is the time complexity of your solution? Constrai…
  • Write your own linear algebra function using Python only. You should complete the following function and you are NOT allowed to use the build-in functions of numpy for this part of the assignment. ¬† …
  • . (20 points, written) Assume you are given :1 different integers with values .511 &lt; (12 &lt; &lt; an. For a given integer value A, your aim is to represent A in terms of the provided integer value…
  • I have to write .a program that tells the user to enter the amount jackpot. Calculate and Display how much money the winner will receive annually before tax and after-tax if installments are chosen. a…
  • add the appropriate code to run the program. /** RunningTimePracticeController * ¬† Anderson, Franceschi */ import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.geometry.Insets; i…
  • 1 Consider the following directory structure. A statement to import the cow module would be __________. ASCIIArt\ Top-level package __init__.py canvas.py figures\ Subpackage for figures art __init__.p…
  • I am stuck and cant figure out the createList function part this is what i have so far from asgn_7_main import main print(main()) amount = “” def payMe(): ¬†¬†print(“\nWhat’s the most you are willing …
  • I need help figuring out how to start my code. Is this an If Else statement? Or something else? Write a program whose inputs are three integers, and whose output is the smallest of the three values. E…
  • Please, Make comments in the your code so I can understand better 1) Please Make a python programming with 3 functions with docstring: 1.¬†letter_counts() takes a string as its argument and returns a …
  • I need help with these two python programs (three_shapes.py and bouncing_balls.py). Note: these two programs involve the use of graphics.py (which is a file that I am going to provide). Also,…
  • Any help. eft:0:36:41 Isaiah Botten: Attempt 1 Which of the following functions would return the smaller of the two parameters if the first parameter is evenly divisible by three and zero, otherwise? …
  • 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…
  • 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…
  • Hello, I am having trouble using methods under classes. Can anyone please provide me some hint on implementing any of add, sub, compose or evaluate methods . The full question can be found at http://w…
  • Help What is the output of the following code? def function1(var1, var2= 10): return var1/var2 function 1(5) 0.5 Syntax Error 10 5
  • front_x # Given a list of strings, use regex to return a list with the strings # in sorted order, except group all the strings that begin with ‘x’ first. # e.g. [‘mix’, ‘xyz’, ‘apple’, ‘xanadu’, ‘a…
  • I AM TRYING TO SOLVE THE BELOW FUNCTION USING THE PYTHON REGEX MODULE BUT I AM NOT GETTING THE SAME RESULT AS REQUIRED. I WILL POST MY CODE BELOW THE FUNCTION SO IF SOMEONE CAN SHOW GIVING ME AN EXAMP…
  • Which of the following represents the numeric value fifteen as a hexadecimal number? (5 points) ¬† 15 ¬† 01111 ¬† F ¬† Fifteen 3.¬† (05.01 LC) In Python, what is the purpose of using bin() and hex() f…
  • Can someone help me with this please. Instructions are in the image below In this problem, you should write one function named (get_elements). This function should have two parameters. You can assume …
    • 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, All…
  • I need help with it written in Python Program to run on IDLE SHELL (Dictionary) ¬† 1) the program should be containing course numbers and room numbers. 2) the program should be containing courses numb…
  • Hi as a python learner I meet a question, there are multiple arrays with multiple words, and I want to count each word’s amount and also remove the unnessary words. Assume we already have already have…
  • Write the pseudocode for how you choose your clothes based on today’s weather.
  • PyCharm ¬†. Print the alphabet &quot;B&quot; in python. You will write a program that will print the alphabet &quot;B&quot; exactly as given below. There will be preceded by one empty line on the top …
  • 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 pairs: Course Number (k…
  • . (25%) You are given the following data: t [s] 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 ———–H You need to determine the value ofy at t = 0.03 s and t = 0.25 5. You choose to do this by inte…
  • 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…
  • Create a dictionary (also called an associative array ) that contains at least 50 values. An example of a key may be state and value as capital. Another example may be number in an alphabet and letter…
  • I am trying to write Python code that calculates shipping. I think the problem is in the last line. I don’t know to print the totalshippingCharge in the last line. How do I multiply the weight times t…
  • Write a function called¬† insert_value(my_list, value, insert_position) that takes a list, a value and an insert_position as parameters. The function returns a copy of the list with the¬†value inserte…
  • import numpy as np import matplotlib.pyplot as plt #load an image I = plt.imread(‘C:\Users\Tina\Desktop\image.jpg’) #display the shape of the array and data type print(“I.shape=”,I.shape,”\nI.dtype=”,…
  • code a function:- capitalization(d) Description : It takes a dictionary d that has the structure you see below, and modifies it in-place by replacing the first character in every string with the respe…
  • I need help with the following problem I am stuck on. This is an intro course so I can’t use advanced functions or features of python. The smaller picture shows what we have discussed in the course. I…
  • Write code that does the following: opens an output file with the filename number list. txt, uses a loop to write the numbers 1 through 100 to the file, and then closes the file.
  • Write the function get_thresholded_and_noised that does image thresholding and flipping pixels. More specifically, this functions should exactly apply the following two steps in order: 1. Thresholding…
  • Note: To earn points, your solutions must use the looping concepts covered in this Module. Part A 1. Create a program called¬† sum_loop.py . In it, ask the user for a starting number and an ending num…
  • Please convert this for loop to while loop: output is: 1 12 123 1234 12345. for ; in range (1 b ) for i in range ( 1 , j + 1 ) : print ( i, end = print ( &quot; &quot;
  • Write a function that produces a greeting for the names passed to it as an argument.
  • Do Exercise 6.4 from your textbook¬† using recursion ¬†and the¬†is_divisible¬†function from Section 6.4.¬†Your program may assume that both arguments to¬†is_power¬†are positive integers. Note that the…
  • Demo code: ScrapePlanets.py (see Code and Data folder on Blackboard) ¬† Assignment data:¬† https://top500.org/¬† https://top500.org/statistics/sublist/¬† ¬† Using Python along with the BeautifulSoup l…
  • “Write a”programme that salery and grade. It add 50% bonus if the grade is 15.it adds 25% bonus if the grade is 15 or less then display the total salery.
  • 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…
  • Examples of a pseudocode and flow chart to the below questions: Calculate the amount of pay,¬†given hours worked, and hourly rate. (The formula to calculate payroll is pay = hourly rate * hours worked…
  • 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 start…
  • Allow the user to enter the student’s last name, credit hours, and district code. Use a function to compute tuition owed. Pass to the function, credit hours, and district code. Charge In district (cod…
  • . Develop a Present Value calculator for a one-time future payment. Objectives: Write a Python program. Accept user input. Save/retrieve data to/from variables. Perform calculations. Print results t…
  • During your second Individual Project (IP), you will utilize your Python environment to derive structure from unstructured data. You will utilize the data set “Airline Sentiment” from Kaggle open data…
  • Please add algorithm for Random Forest classifier to read the same heart disease data, and also write code to plot scatter matrix. #3 # : ###1 # # : # Perceptron # Reading in heart disease data heart_…
  • May i ask how can i use this set of data to do train and test¬†. In [125 ] : pd. concat ( [df1 , df2 , df3 , df4 , df5 , df6 , df7 , df8 , df9 , df10]) df=pd . concat ( [df1 , df2 , df3 , df4 , df5 , …
  • 1)Complete the following script so that the variable totarea will contain the total area of all polygons in a polygon shapefile, flcounties.shp. import arcpy infc = r”D:\data\flcounties.shp” rows = ar…
  • I have windows 10 and installed IIS. The folder created, inetpub/webroot are marked as read only and even as admin I’m not able to change that. This has created a problem saving Jython scripts… Any …
  • Task 1: Simulate the radioactive decay of a large initial number of atoms (N0 at time t = 0), by using a random number to test whether or not an atom has decayed in a time step. For the initial sample…
  • Can someone write this program in JavaScript or Python? AND NOT C please.
  • I need help with this python question I will provide the binary search tree import queue class LinkedBinaryTree: ¬† ¬† class _Node: ¬† ¬† ¬† ¬† __slots__ = ‘_element’, ‘_left’, ‘_right’ ¬† ¬† ¬† ¬† de…
  • Select a favorite topic. Using a list (chapters 38-40), a while loop, if statements, and anything else you need, a program that adds and removes elements from the list, and also has an option to print…
  • i need explanations for this code please, its urgent #Part 1 from urllib.request import urlopen from bs4 import BeautifulSoup import random def read_wikipedia(search_string): ¬† ¬† search_string = sea…
  • here is the github link with the files: https://github.com/nedski19/sharing.git please help asap!. 4. (Entropy and data compression.) The frequency of letters in written English is given approximately…
  • Python program using TREE + Divide &amp; Conquer for the problem: Python – Tree with Divide &amp; Conquer HOTEL RESERVATION OUTPUT: Welcome to HOTEL 200! Menu: 1. Reserve a Room 2. Find a Guest 3. Cha…
  • You roll the dice 10,000 times. Each time you get one of six sides with a probability of 1/6. You need to generate the total number of occurrences for each side, store them in a dictionary as a return…
  • 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 …
  • what function needs be write inside the python program. Help me this is my lab work def main(): ¬†¬†# using keyword global allows to use the ip_List created outside of function to ¬†¬†global ip_List ?…
  • mydict4 = {100:[‘Seattle’,98001], 101:[‘Kirkland’,98033], 102:[‘Tacoma’,98042], ¬†¬†¬†¬†¬†¬†103:[‘Bellevue’,98007],104:[‘Everett’,98201],105:[‘Olympia’,98501]} # Print only the zipcode from the abo…
  • Creating a list. Append the names of your colleagues and friends to it. Has the id of the list changed? Sort the list. What is the first item on the list? What is the second item on the list?
  • Write function Call and Definition in Python(.py) names¬† times_ten .¬†The function should accept an argument and display the product of its argument multiplied¬†times 10.¬†Include internal documentat…
  • Assignment Specifications Problem : Wordle 175. You have probably heard of the Wordle Game, a word guessing game that is becoming a craze on the internet these days. It is not the Wordle as the famous…
  • Please, I need help to solve these red sections. Thank you.. Step 6: Descriptive Statistics: Relative Skill of Your Team The management of your team wants you to run descriptive statistics on the rela…
  • Using Python’s tkinter Graphical User Interface (GUI) module create the Python program to input the number of each type of coin a user has in their possession and then compute and display the total do…
  • Using Pygame and Repl.it with some elements of python coding. I need help with Pygame and how I can make a business card that has graphics and text on it. I was using a hair salon, with just the name …
  • The objective of this project is, first of all, to learn how to implement the two types of learning algorithms based on Baysian decision theory, namely, parametric learning and non-parametric learning…
  • A program that prints out the factorial of a number n. For example, if n is 10, then the factorial of n is the product: 1x2x3x4x5x6x7x8x9x10.
  • make a python program (similar to the one below) 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…
  • Please help me with this whole assignment. This is the link for the model ¬†game: http://52.89.101.165/railyard_live/game.html ¬† ¬†. 5 proj04-long.pdf X A PlayPosit – 120 S21 – 04 Classes a X + V X &…
  • Activity #3: To do in lab ‚ÄĒ as a team The purpose of this program is to give you practice with performing Boolean logic with Python. Your team is responsible for submitting a file Lab4a_Act3 .py de…
  • Problem 3: A discrete random variable Description: Often in simulating the behavior of real-world systems, we must produce normally distributed values for a property of a system (e.g., the average mas…
  • I am getting “none” after the inputting numbers. But I don’t want that.¬† The code below:¬† def reverse_string(word): ¬† ¬†r = “” ¬† ¬†for i in word: ¬† ¬† ¬† ¬†r = i +r ¬† ¬†return r def is_palindrom…
  • Question #1: #!/usr/bin/python3 import unittest # ————————————————————– # Recursion: sums of tuples # ———————————————————…
  • csv link to get the dataset ¬† https://docs.google.com/spreadsheets/d/1jVUzvyt-N0No8IrCcMyHMfGP8TGZ3J_o54bN2xqtnTU/edit?usp=sharing ¬† flights.xlsx link to get the data set ¬† https://docs.goo…
  • I’m not quite sure how to start this one. After I ask for the user input, do I go straight into a loop? What kind of loop do I use? Thanks i Satari Filo Edit View History Bookmarks Develop Window Help…
  • Calculate the number of steps &amp; Big O order for the programs in question 2 and 3.
  • hello everyone, I have an excel file which contains lists of bus stops, I have connected all the bus stops, However, I want a particular Bus-Stop journey to be faster x2 Faster than the rest of the Bu…
  • Hello, I would like to find a way to create a CSV file with weather data of USA airports in 2015 from January to June. Would anyone help me with the python script or CSV file? ¬† Thanks!
  • Ask the user to input his first and last name and store them in two different variables, firstName and lastName. Provide a function that takes first name and last name as parameters, glues them togeth…
  • see the attached picture. The following code segment is supposed to sum the numbers from 1 up to and including n recursion The following code segment is supposed to sum the numbers from 1 up to and in…
  • Hi, Im stuck on this question I need to know what the minimum spanning tree (MST) problem is and how it can be solved with Prim’s algorithm and Kruskal’s algorithm. Also what is the greedy algorithm t…
  • 12 LAB: Varied amount of input data Statistics are often calculated with varying amounts of input data. Write a program that takes any number of integers as input, and outputs the average and max. E…
    • first fit algorithm, with process size and memory layout as two inputs (2) best fit algorithm, with process size and memory layout as two inputs Memory compaction (described in section 6.2 of zybo…
  • I need help with this in Python 3!!!! Design a class Message that models an electronic mail message. A message has a recipient, a sender, and a message text. Design your class to support the following…
  • Creating a vector of objects from two numbers with a specifc number of steps in between each can be done with a.repeats() b.pd.DataFramel () c.iloc[] d.arange() 7.Creating a data frame using the Pan…
  • Equities (and other assets) vs the S&amp;P 500 The goal of this project is to import data from an online source and process the data using various python libraries. You will choose five distinct equit…
  • how could i complete this ?. #This program will output the perimeter and area # of the rectangle with a given width and length # fill in the missing code #PLACE YOUR NAME HERE length = 8 width = 3 #co…
  • loop to print all elements in hourly_temperature. Separate elements with a -&gt; surrounded by spaces. Sample output for the given program: 90 -&gt; 92 -&gt; 94 -&gt; 95 Note: 95 is followed by a spac…
  • Write pseudocode to calculate the wage for heavy equipment operators. The input consists of the employee’s name, job performed, hours worked per day and a code. Journeyman employees have a code of J, …
  • Write a program that asks a user to enter a starting value. Then the program will ask for an operation to perform on that number. The available operations are add, subtract, multiply, and division…
  • . Sou m Cc = La @ Ki DE Nc X G SI C SC = G = G A St la s/2489809/quizzes/5155491/take D Question 11 9 pts Write an algorithm to check user passwords in plain English. No programming language to be u…
  • Need help with python coding: Caesar Cipher function; a function which: takes two inputs, a string for the message, and an integer for the shift returns a string that’s just the input string with all …
  • 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 be…
  • Question 5: After posting your first video, you got a report from YouTube Analytics with detailed viewing history. You wish to parse the information and see your performance. ¬† Part 1 Given a¬† filep…
  • kindly assist.. How to implement registration/creation of 3 user types in python/django e.g 1.Teacher 2. Parents 3. students and each with different permissions. with relevant example Thank you in adv…
  • . 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 gr…
  • Hi! I am wondering if you may help me out with this problem. Question 1.1 Create a table called b_pop that has two columns labeled time and population_total. The first column should contain the years …
  • Code a program to input 6 numbers. After each number is inputted, print the biggest of the numbers entered so far.
  • Please guide me to correctly format my codes to look like the attached image. Thanks. Shell * &gt; &gt; &gt; &gt; &gt; &gt; # Show the timestamp distance functions &gt; &gt; &gt; getLocalTime() ‘Tue, …
  • Create program and explain how it works Are You My Type? Description Positive integers can be classified as abundant, deficient, or perfect. Abundant integers are those whose proper factors sum to a l…
  • A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but may have different heights. For example, the figure on the left shows …
  • create_network(file_name) (35 points) This is the most important (and possibly the most dicult) function to solve. The function needs to read a le and return a list of tuples representing the socia…
  • I’m not sure how I would set this up exactly… clean data: This function takes the Series created in get data and alters it in place by filling in the missing data. For slots that have data for the p…
  • The program for keeping track of team members is coming along, but now it needs to be able to include phone numbers and jersey numbers along with the team member’s name. Modify the program from week 4…
  • am not good with python. very confused on how to do this. Python 3.8.5 Shell X File Edit Shell Debug Options Window Help Python 3.8.5 (tags/v3. 8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v. 1924 64 bit …
  • Python language¬†. Page &lt; Purpose: To practice using loops Degree of DiiÔ¨Āculty: Moderate When someone on Sesame Street has a birthday, many posters need to be produced so that everyone can celebr…
  • For the following problem, submit a flowchart and screenshots of your program code and the output of the program. Set the first score to zero. Ask the teacher if she wants to enter a score. If the inp…
  • Can you please help me with the statement on the image labeled HW1Q2? I have not used Python before and the question is asking for a Python code. I have included the notes we have for this stuff, but …
  • KNN Classification Dataset Link: https://archive.ics.uci.edu/ml/datasets/wine I have to code this without using Sklearn ¬†. Alco- Malic OD280 Pro- hol acid / 315 line class 14.23 1.71 3.92 1065 1 . . …
  • When processing records sequentially Group of answer choices The records are processed one at a time starting with the first record. ¬† The fields are processed one at a time starting with the first f…
  • I was trying code this. Say that a “clump” in a list is a series of 2 or more adjacent elements of the same value. Print the number of clumps in the given list.¬† The output should look like below: In…
  • Hello, I need help solving this Lab simulation, It uses¬†Boolean operators: Branching using Boolean variables for if-else statements and I am very new at python on so I need help solving it. It is ver…
  • QUESTION 10 How many unique license plates can be created for Mason alumni, where the first two characters are GM, the third must be a digit, and the remaining 4 characters can be any uppercase letter…
  • Please answer the questions in the picture CSC 212 -Data Structures Consider the minimum heap represented by the following list representation BST and Heaps Value 0 3 7 9 11 18 12 14 16 19 20 23 31 In…
  • What am I doing wrong here? def twoWords(length, firstLetter): while True: word1 = input(‘A 4 letter word please: ‘) if len(word1)== 4: return word1 break while True: word2 = input(‘A word beginning w…
  • 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 …
  • fsdfjkasnf f sadf asdf asd fa sdf adsgffda hg sdf hsd fhs
  • I am trying to configure a new version of this code. I am trying to make the following changes to class Drone: ¬†¬†¬†¬†(a) Change all instance variables to private ¬†¬†¬† (b) Define a __str__ method t…
  • PLEASE SHARE ALL REFERENCES, RESOUCES (ARTICLES) OR WEBSITE LINKS WITH ME by adding the end of the research!! IT’S VERY IMPORTANT. THE QUESTIONS (from a. to e.) FOLLOWING MUST BE HANDLED ABOUT VARIETY…
  • Develop a python program which displays contents of a dictionary. Complete the following steps: 1) Develop a python procedure (Showme) which take a Dictionary as input and display its contents. 2) Sav…
  • How can i split a string of mathematical expression in python? for the outcome to look like [(”, ‘4’, ‘y’, ‘&lt;=’), (”, ‘8’, ”, ”), (‘+’, ‘1’, ‘x’, ”), (‘-‘, 9’, ‘k’, ”)]=4y&lt;=8+1x-9k
  • Could you help me with def build_list_by_ratings(dict_category, dict_ID, user_category, min_rating): part? ) I’m basically adding code into the comment line, this is all the information I have
  • You are given a data file, THUMlog.txt , which contains many records.¬† The start of the file looks like this: ¬† ¬† #DATE TIME TEMPERATURE UNIT HUMIDITY% 9/28/2010 15:45:14 22.248900 C 44.721968 9/28…
  • Can someone help me with creating python application that allows a user to load one of two CSV files and then perform histogram analysis and plots for select variables on the datasets. The first datas…
  • Note: For the data (CSV File ), you may refer to the drive link¬† ¬† https://drive.google.com/file/d/1TeQAG_I3_ulO5Gz8g8R6AqeCOK8psHak/view?usp=sharing ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† …
  • I need help please Follow the function design recipe, define a function that has three parameters, all numeric grades between 0 and 100 inclusive, and returns the average of those grades. D Question 1…
  • This project brings in all the lessons as one 1st create function and all the work is to be completed¬†as 1 function inside the function: a loop to run 3 times generating a random number from 1-10 add…
  • please help. Page 3 of 3 Question 14 (4 point) Saved The following pseudo-code obtains the age of a user and is supposed to check that the age is within the range 0 to 120. Review &amp; debug the pseu…
  • for¬†interpolants¬†in¬†[[1/3,¬†1/3,¬†1/3],[0.1,0.2,0.7],[0.7,0.2,0.1]]: ¬† print(f’Interpolants¬†=¬†{interpolants}’) ¬†¬†lm¬†=¬†InterpolationLM(texts,3,vocabulary) ¬† ¬† print(‘¬†‘.join(lm.gener…
  • ()Write a python program that does the following: 1. Reads a ‘input.txt’ file that contains numbers and sentences 2. Computes and displays the average of numerical values to a file ‘output.txt’. 3. Jo…
  • I hope all is well. I am super stuck on these problems and it would mean so much to me if I can get help on these! Thanks a ton. DISCLAIMER: I DO NOT INTEND TO SUBMIT YOUR HELP AS MY ANSWER BY ANY MEA…
  • This is my code and it is not producing the required output. sentence = input(“Enter a sentence: “) count = dict() wordlist = sentence.split() a_dict = {} for word in sentence: ¬†¬†if word in a_dict: …
  • The program consists of read a set of N points in 2 two dimensions and show all sets of points (4 or more points) that are collinear. A set of points is said to be collinear if it is possible to draw …
  • 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…
  • def findRegion(inputregion) searchregion = str(inputregion) states = [] with open(‘thedata.txt’,’r’) as file: for line in file: fields = line.split(“,”) states.append(fields) i=0 regions = [] for stat…
  • this is topic from python how to design any aapplication using flask?
  • Given a set of reviews provided by the customers for different hotels and a string containing Good Words, you need to sort the reviews in descending order according to their Goodness Value (Higher goo…
  • #11¬†complete the following Programming Exercise: #1¬†Pet Class.
  • (Python) Submit two files: 1. explanations, graphics (if any) and results in PDF format with your Python code, and 2. Python Code itself in .py format (a)Simulate¬†n=3¬†independent exponential random …
  • Question:¬† ¬†This is Source Code of¬† KNN Algorithm. ¬†But I wanna show the output values as¬† Graph Representaion. After Compiling this Code, the Output Values will be Shown as Graph Represntation. …
  • custom Python module . This module must contain¬†two functions: one that converts from Celsius to Fahrenheit and one that converts from Fahrenheit to Celsius.¬†2nd program¬†that imports the tempconver…
  • Assignment Description This program will simulate the game of Mastermind. This is a board game in which one player chooses a secret combination of four pegs (usually choosing from six colors). The oth…
  • Im need help randomizing my plaintext from Crypto.Cipher import DES new_DES_object = DES.new(‘qwertyup’, DES.MODE_ECB) # be randomized plaintext = “123456789abcdefg” #print(new_DES_object) print(len(p…
  • “”” Enhance your¬†simple food receipt ¬†¬†a. Ask the user for inputs about two food items using the following prompts in turn.¬†Do not forget to assign each user ¬†¬†entry to a unique variable name (d…
  • I am having trouble getting my output to work as it should. I am trying to determine the discounted price in my if/else but for some reason it does not work…. see attachment – if my attachment is no…
  • Load the Breast Cancer Wisconsin (Diagnostic) sample dataset from the UCI Machine Learning Repository (The discrete version at: breast-cancerwisconsin.data) into Python using a Pandas dataframe. Induc…
  • I am having issues with several sections of the code below, please review and provide examples of how to accomplish the questions inbedded in the comments for the Python 3.x code. import datetime from…
  • def show_menu(): # print instructions and a intro print(“The Grand Hotel Text Adventure Game”) print(“Collect 6 items to arrest the Corrupt Politician , or be discovered by the politician.”) print(“Al…
  • Hello, I need help with this code. Make a class named fruit that has attributes named type, and count. The type attribute stores the kind of fruit as a string and the count attribute stores the amount…
  • Need help with the attached – with indenting too ed: Construct code that will print out messages based on the weather: . &quot;Bring an umbrella!&quot; if it is rainy but not windy . &quot;Wear a rain…
  • Lab specifications : Convert a message (plaintext) and encrypt it (ciphertext) using a key (range of 0 – 25). You can either have it dynamic where you ask for user input or you can just enter the plai…
  • I am doing an assignment for a class and need a little help trying to understand how to get started on this assignment. This is needing to be program in python and any help is greatly appreciated. Dis…
  • Complete the following Programming Exercises from Chapter 3 in the book from the section “Programming Exercises” #3 Age Classifier #8 Hot Dog Cookout Calculator #17 Wi-Fi Diagnostic Tree (Hint* there …
  • Hello i need help on challenge 2 and 3, i don’t understand what ¬†to do and help
  • Assignment Requirements You are required to design and implement a “Dice Game” program that runs a short game that uses dice. The rules of each dice game are available on moodle – make sure you do the…
  • Add a hunter turtle (with a different color and shape than the other turtles).¬† The user should be able to move the turtle left and right and should be able to speed up and slow down the turtle with …
  • What would I add to this code, in order to display the quiz as requested? # Part 3: Prompting for the Quiz Parameters quiz_name = input(“Enter the Name of the Quiz: “).split() modified_quiz_name = “” …
  • write a python script so take the log file as an input. requirement: parse the logs. For each valid BlockHash( valid BlockHash means it starts with “message”:”[Announce] Sent Announce Message!!” and e…
  • please help in this python lab 1. Dataset # In this assignment, we will use MovieLens-100K dataset. It includes about 100,000 ratings from 1000 users on 1700 movies. from math import sqrt import panda…
  • Describe how¬† catching exceptions ¬†can help with¬† file errors . Write three Python examples that actually generate file errors on your computer and catch the errors with¬†try: except:¬†blocks. Incl…
  • I really need some help to validate user input for my python code please. I have validated the user input to accept the required digit only choices however when I try to input a character like a, b, c…
  • PLEASE SEE SCREEN CAPTURES FOR FULL EXPLANATION! Python Applications for this Lab: (total 100 points): The first exercise produces a command line menu-driven python application providing users with th…
  • 2 Decision Tree for Spotify Data/25 points/ In this problem, you will implement a Decision Tree classifier using scikit-learn and use it to classify the Spotify data set. In this data set, an individu…
  • Below is my code that I had created. Please help me see if I had fulfill the assignment, please leave is_divisible function alone as it is required by the assignment as well: def is_divisible(x, y): ?…
  • Draw the call tree / recursion trace for the following function: def p(x,y): if y == 0: return 1 else: return x* p(x, y-1)
  • file is not execute anything.. def read_file(f_name ) : ‘Read the contents of the file, returns a list containing the contents of the file, where each item in the list is one word. III f = open (f_nam…
  • Pseudocode I I Declare a Constant Constant Integer RETAIL_PRICE = 99 // Local Variables Declare Integer quantity = 0 Declare Real fullPrice = 0.0 Declare Real discountRate = 0.0 Declare Real discountA…
  • I am trying to get CIS123 Guided Practice 5.3 to work. ¬†I entered the following and have attached the the CSV file that is supposed to be pulled and made into directories but mine does not seem to wo…
  • . 20 print (rouserate) 21 rouserate=(rouserate*29. 16) + 2.4 Write a program to calculate a lagristect; start with a(n) achine and then divide it it by a(n) confirm. 22 return achine 23 24 def cal_l…
  • with coral language using while or for loops…how do i do this?. Home x Content X zy Section 3.19 – PRG/211: Algorithm x zy Section 3.10 – PRG/211: Algorithm X + X &lt; -&gt; C a learn.zybooks.com/zy…
  • You are going to make a few changes to your code from Checkpoint 2 to complete this last checkpoint. First, you will use the utility given to you to read a board from file. Import lab06_util, prompt t…
  • Data Source: https://www.kaggle.com/uciml/restaurant-data-with-consumer-ratings. Setup # Import some useful functions from numpy import * from numpy.random import * from datascience import: * # …
  • To be done using PySpark Dropbox Link for data: https://www.dropbox.com/s/qbfxpxog58xeqjj/yellow_tripdata_2019-01_short.csv?dl=0. 1c. [4 pts] When is the trip cheapest (day vs night) ? Divide each day…
  • Write a function that has the following properties: Its name must be median It has three integer parameters named a, b, and c It is assumed that the three values a, b, and c are all different. You don…
  • . ull View Submission | Gradescc X Cengage: Digital Course Sol X &amp; University of Arizona : CSC X proj04-long.pdf X A Due Date 12 – ENGL 108 SP x / Desmos | May tinh do thi X + V X &lt; -&gt; C A…
  • 13 LAB: Exact change I can not figure out the correct solution for this problem please help. Needs to be written in python. Write a program with total change amount as an integer input, and output t…
  • A teacher requires a pass list for a module with some unusual rules. The coursework is worth 40% of the overall mark and the exam is worth 60%. In order to pass the module the student must have one ma…
  • There are three basic structures in programming – sequence, selection, and loops.¬† Discuss the use of each structure.¬† Provide an example of each.
  • Recode dates 2 #¬†Print¬†time_hour print(flights[‘time_hour’]) #¬†Apply¬†the¬†function¬†on¬†data flights[‘season’]¬†=¬†flights[‘time_hour’].____(____)
  • Write a function called¬† remove_value(my_list, remove_position) that takes a list and a remove_position as parameters. ¬†The function returns a copy of the list with the item at the index specified b…
  • Write a CSV file ‘hornets_stats.csv’ using Python’s csv.write() function ¬† CSV files are plain text files used to store data in a tabular format, with each piece of data separated by a comma (,) Pyth…
  • ~ lab5.py – FA\CSC108\lab5.py (3.9.7) 0 X lab5.py – FA\CSC108\lab5.py (3.9.7) 0 X File Edit Format Run Options Window Help File Edit Format Run Options Window Help NNN A UTM: CSC108, Fall 2021 def loo…
  • Can someone create a simple text base game code in python that has five rooms, ¬† You can write your game about traveling to distant planets, exploring the forest, making sandwiches, or literally anyt…
  • FBTO015 STRUCTURED ALGORITHM &amp; PROGRAMMING SEM SEPT 2021 LAB EXERCISE WEEK 9 (LAB 2) Learning Outcomes Upon completion of this lab session, learners will be able to: 1. convert mathematical formul…
  • In the past, there have been viral disease epidemics (including the 1918 influenza pandemic) which have got out of hand. We would like to simulate the way such diseases spread, to better understand ho…
  • 15 LAB: Descending selection sort with output during execution ¬† Write a program that takes an integer list as input and sorts the list into descending order using selection sort. The program shoul…
  • A pseudocode ¬† and ¬†a flowchart to design a program that will calculate an employee’s weekly paycheck. Write pseudocode to design a programming solution by outlining a series of steps and using appr…
  • py import numpy as np import pandas as pd # function name: multivar_linreg # inputs: file_name- name of the train csv file # output: 1xn numpy array [m1, m2, m3, …, b] (row vector not …
  • I don’t know how to do it Exercise 1: A user-friendly program should print an introduction that tells the user what the progra does. Modify the convert.py program to print an introduction. E1-convert….
  • #!/usr/bin/env python3 “”” Code file for M269 20J TMA01 Question 4. Student version 4: 22/04/2020 “”” class WaitingList: ¬†¬†“”” ¬†¬†An implementation of waiting lists, using Python lists. ¬†¬†¬† ¬†¬†…
  • 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…
  • You‚Äč ‚Äčare‚Äč ‚Äčgiven‚Äč ‚Äča‚Äč ‚Äčstring‚Äč ‚Äčof‚Äč ‚Äčparentheses‚Äč ‚Äč(“(“,‚Äč ‚Äč”)”),‚Äč ‚Äčbraces(“{“,‚Äč ‚Äč”}”)‚Äč ‚Äčand‚Äč ‚Äčbrackets(“[“,‚Äč ‚Äč”]”).‚Äč ‚Äč‚Äč ‚ÄčYou‚Äč ‚Äčneed‚Äč …
  • 1 Write a python program to print Fibonacci series: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, … 0+1=1, 1+1=2, 2+1=3, 3+2=5 … ¬† Q.2 Write a python program to find factorial of a given number. ¬† Q.3 Writ…
  • Could you please help with question 5a), I know I need to create a data frame and a ggplot to measure the effectiveness of the ad campaign for both groups across the days of the week but I don’t reall…
  • Can someone help me, I started and halfway through everything stopped¬† CS1026: Assignment 3 Due: November 16th at 9:00pm. Weight: 10% Learning Outcome: By completing this assignment, you will gain sk…
  • Objective In this project you will build a simple, text-based implementation of the popular game Minesweeper .¬† If you’re not personally familiar with the game, I encourage you to play a few rounds o…
  • Heres the question: 2 = ¬†popularity can be quantified by the number of users commenting on those subreddits. Dataset ¬†https://console.cloud.google.com/bigquery?project=fh-bigquery&amp;page=table&amp…
  • please help with the following question. Please answer it using python. In this case, you will have a list with the book data stored as a dictionary. book list = [{&quot;title&quot;: &quot;Antiques Ro…
  • I have an exercise activity;¬† we work with computer programming, in python. In this exercise we will solve physics and scientific problems using python.¬† for this problem I need a graph, this is how…
  • solve the following please What will the Program Print and why? def m( ) : X , y =8,8.0 if ( x &lt; y) : print(y) elif (X = = y) : print (x-y) else: print (x+y) print (y) m( )
  • Make a flowchart for the python code CODE: y = () n = () def main (): ¬† ¬†print (“Press 1 to calcute square”) ¬† ¬†print (“Press 2 to calcute rectangle”) ¬† ¬†print (“Press 3 to calcute triangle”) ¬†…
  • Hi there, I need to find a good solution to this problem.. I was able to solve it by brute force but I am looking for an optimal solution in PYTHON. Given three integers, i, j and k, a sequence sum to…
  • Using Sklearn, how do we create a Logistic Regression model for predicting sharemarket data whether it will go up or down.¬†It has 5 columns of data. Ignore column 1 (i.e. Days). Column 5 is a range v…
  • Write a python program to print the following string in a specific format ( see output) . Twinkle, twinkle little star, how I wonder what you are! Up above the world so high, like a diamond in the sky…
  • thanks for your help ūüôā Background: The Monte Carlo (MC) Method (Monte Carlo Simulation) was first published in 1949 by Nicholas Metropolis and Stanislaw Ulam in the work &quot;The Monte Carlo Method&…
  • Question: i).Use the dataset -digits. Make a 80-20 train/test split. [Hint:Explore datasets module from scikit learn] ii).Using scikit learn perform a LDA on the dataset. Find out the number of compon…
  • For the below given question, solve this in complete steps and then code a PYTHON program to run the same. _____________________________________________________________________________________________…
  • Create a class named BlackBoxGame for playing an abstract board game called Black Box. You can see the rules¬†here (https://en.wikipedia.org/wiki/Black_Box_%28game%29). It takes place on a 10×10 grid….
  • This is the Source Code of A* Search Algorithm in Artificial Intelligence ¬† QUESTION: In this Source Code, here used Class and Object . Convert this Source Code to Fully Functional Approach.¬† For Ev…
  • what are the control flow statements in python list and explain all flow control statements in python. provide syntax and example programs for all of them
  • How would you solve this problem to determine that the image answer is image 8 in python. I was thinking of using the count of dark pixels. ¬†. A B C 5 E F N G H # ? 4 OO
  • Use these two functions as models for the functions you are to write.¬†¬† You will be removing code from main() and putting it in several separate functions. The behavior of the program will not chang…
  • please help. Use python for both questions DNA is made up of four bases: a, t, g, and c. A DNA sequence is often represented as a string made up of solely these four characters occurring many times in…
  • How would I go about defining this function? I’m not familiar with the python syntax. Guidelines I have to follow.
  • Design and implement a recursive function for determining whether a string is a palindrome. A palindrome is a string of characters that is the same as the string of characters in reverse. (Example,…
  • Ecrivez une fonction Python appel√©e tempsVoyage, qui prend deux variables (la distance √† conduire en kilom√®tres et la vitesse en km/h) et retourne le temps (la dur√©e) du voyage en minutes.
  • Olympic Rings in Lists (similar to Loops) (100 pts) ¬† Redo the Olympic Ring Assignment using Lists (similar to loops). Use the code to below as guide. For x in range represents 5 rings.¬† Use discern…
  • Modify the file¬† course_dict_7.py ¬†(found in the google link) to include an edit feature that allows the user to change data (room, time, or instructor) for any existing course found in the course c…
  • Write a program missing.py that takes an integer N as command-line argument, reads in N ‚ąí 1 distinct integers between 1 and N from standard input, and writes the missing number. # missing.py: takes …
  • A professor is grading the exams of his students and wants to save their grade in a dictionary (with the key being their name and the grade for the exam as a value) Create the functions below: ‚óŹ Fun…
  • nothing to add here. Create a program called Lab5A2 that will do the following: Generate 15 random integers between 1 and 20 and put them into a list. Print the list . Count the number of odd values i…
  • Can anyone help me with my data preparation process? ¬† My request is to combine the reviews with data about the game (for¬† “game_train.csv” and “games.csv”), I think the data sample is balanced, so …
  • Commands and computations in used in Python needed: Practice exercise 6: Generate i.i.d. Sample (Y i ,X i ) n i=1 of sample size n=400 such that: Y i = 0.5 +1.5X i + U i And X i and U i are independen…
  • if _________________ == 0: ¬† ¬† ¬† ¬† ¬†¬†¬† print(“This number is divisible by 5”)
  • i need python code for part 3 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 …
  • Question: when the user chooses to complete a song: allow the user to choose one song by number (error-checked), then change that song’s status to learned Link of the assignment: https://www.courseher…
  • parse the date column into six new columns representing “year”, “month”, “day”, “hour”, “minute” and “second”. ¬† use python and pandas dtype for date column is object. In 13]% # import tre dulused tw…
  • ******can you please show me step by step how they got the answer. I am just not see it. Thank You.***** stop = int(input()) input = 9 result = 0 for n in range(10): result += n * 2 if result &gt; sto…
  • Problem C. (10 ¬†points )¬† Creating a Game class ¬† Now that you’ve created your character classes, you will now make a Game class. This class will keep track of the status of the Game, including whi…
  • I am trying to write a python code to create the following graph (generated in excel): I have the data from my csv file sorted to only have TRACK and TIME saved in a variable ‘TrackTime’ but I don’…
  • . Write and test a function that accepts a table (2-dimensional list) and prints the contents of the table in a grid/table-like format. Each column should be 10 characters wide and the contents o…
  • Does the number of site visits by day 7 differ between the two posting models? Is there any other relationship between the recorded variables that warrants further investigation in the next testing ph…
  • Using the code from the csv section above as a guide, you are to write a program that reads in the crime.csv file and creates a pie chart of the crimes.¬† The data for the slices of the pie will be a …
  • Using this as the input file: There are 12 inches in 1 foot. The United States is comprised of 50 states. 1, 2, 3, 4. I am the giant that you are looking for. 50 men, and 75 horses, took 10 wagons ove…
  • Write Python program that gives following result Sample output: Enter a positive number: 12345 sum of all digits in 12345 = 15 sum of all digits in 15 = 6 The final single digit number we got is 6
  • How can i set up this program? Exercise 6.6 Handling user commands Write a program to handle the following commands: BYE ADD COUNT SHOW BYE COUNT AVERAGE For the commands: ADD, SHOW, COUNT, and AVERAG…
  • Python Tuple Question Ice cream selections Being a lover of ice cream, you decide to write a program ice_cream.py to randomly select ingredients for the user. You use a function make_selections(items)…
  • [Python Tutorial — Networking](https://youtu.be/XiVVYfgDolU) This video is written in Python, but you are free to use whatever language you prefer. Make sure that whatever tutorial you choose, tha…
  • Write a Python program that will let a user get information about a macromolecule represented in a PDB file, whose pathname is specified on the command line as its only command line argument. The prog…
  • Create a map of the U.S., ¬†with the color of the state representing the state population L) Make sure to expand the limits correctly and that you have used **coord_map** appropriately.
  • Hello, I need help solving this Lab simulation, It uses Sphere volume for variables and expressions statements and I am very new at python on so I need help solving it. It is very difficult. It is ver…
  • Write a program that updates and displays game stats for football players (Defense) at a local high school. ¬† Your program will read a file containing the names and ids of the defensive players.¬† Th…
  • You should not use “ import“ here, but you can add more help functions * ¬† How can i make a function max_indexes (xs) that takes a list xs of numbers, and returns a list of index positions where th…
  • what is the python code for this ¬†assignment ¬†. 6. Please submit the following: The .py file, which is the source code. Please note that your code file will be graded using python 3 instead of pytho…
  • hi pls help me with task 2 pls i have done task 1 which is below¬†. Part 2 Maze Let’s assume a maze is an r x c grid. And a 0 in the grid represents an empty space and a 1 represents a blocked space. …
  • Write program that reads a one-line text message containing common abbreviations and translates the message into English using a set of translations stored in a file. For example, if the user enters t…
  • Need some assistance with my coding! In python please! Exercise 1: def¬†exercise_1(my_list): ¬†¬†¬†¬†“”” ¬†¬†¬†¬†Assume¬†`my_list`¬†is¬†a¬†list¬†of¬†all¬†strings ¬†¬†¬†¬†Return¬†a¬†dict ¬†¬†¬†¬†Goal:?…
  • I need help 123 # TASK 5 124 125 # DO NOT modify this function 126 def AlicePrepare() : 127 128 Alice prepares a qubit using this function. 129 First, she chooses a random key and a random basis. 130 …
  • 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.
  • Create a program that replaces words in a sentence. The input begins with word replacement pairs (original and replacement). The next line of input is the sentence where any word on the original list …
  • Three files have been placed on the containing information in comma-separated values¬† (CSV) format on the London Transport underground network: 1. londonstations.csv contains a list of London Undergr…
  • Hi, I am having problems with a speedometer in python, I have not been able to update the needle to show the current speed value, could someone help me to fix it please, the speedometer starts from 10…
  • We can use a dictionary to count the words in text Make a function that is called, ¬†and returns a dictionary containing the frequency of each word in a text string. ¬†The dictionary should contain th…
  • Dear Python Tutor: Please solve the following four multiple choice questions (they are all part of one problem), correctly. ¬† ¬† ¬† Explain your reasoning for each. Thank you.. Given a 4-D array, x o…
  • 12 LAB: Seasons ry &gt; IT 140: Introduction to Scripting v3 home &gt; 3.12: LAB: Seasons EzyBooks catalog 3.12 LAB: Seasons Write a program that takes a date as input and outputs the date’s season….
  • python programming/ text mining In this task we are looking to utilize the idea of Markov models and ngrams to solve different tasks. Throughout this task we will define a single class with different …
  • Need python help. Chapter 8 Filling the blank return statement of following two functions to implement your own string class myStr that behaves that behaves like class str except that: (1) The additio…
  • “”” TM112 20J TMA02 Q5 01/10/2019 – ng264¬† Updated 16/10/2019 PP Updated 20/04/2020 MS “”” from tma02_stats import median from tma02_stats import mean from tma02_stats import corr_coef “”” You can us…
  • def evalboostforest(trees, X, alphas=None): ¬† ¬†“””Evaluates X using trees. ¬† ¬† ¬† ¬†Input: ¬† ¬† ¬† ¬†trees: ¬†list of TreeNode decision trees of length m ¬† ¬† ¬† ¬†X: ¬† ¬† ¬†n x d matrix of dat…
  • For datasets kindly refer: https://drive.google.com/file/d/1XPX-8JIgf270GXbzrZS5QfYOTrrLuXjV/view?usp=sharing https://drive.google.com/file/d/1fDi5B-3JQqGz7hRVGBSBaboFAYMSgOQa/view?usp=sharing ¬† 2. P…
  • IST 140 Final Project – Ticket Picker Program Python Objective write a program that will pick a winning ticket at random from a pool of tickets. Requirements Your program should prompt the user to ent…
  • Python language. Explain the code with comments plz. Tic-Tac-Toe We all have fond memories of playing Tic-Tac-Toe with our friends in school, don’t we? It is one of the most fun games you can play any…
  • I need help in python client UDP program. 1)¬†¬†Once you have been assigned a UDP port, you are ready to start the file transfer after you open the socket. 2)¬†¬†To initiate the file transfer, the cli…
  • Solve the following problem using ONLY WHILE LOOPS.. Write a python program that prints out all the twin primes below 100.
  • -CIS_6_-_Lab_07_-_Loop_Structures(Fu_Ben_) -Exercise 11: Heating and cooling degree days The answer provided is either incomplete or a code should be added for the program to work. I tried copying the…
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
  • By using Python3 Here, how to solve this without using Regular expression or Counter package For example: – for maximum word length of 5, and word length 4 doesn’t exist, it should still show 4 serial…
  • I need help with this problem, but it needs to be done in python if possible. ¬†. The world’s simplest random graph model: There are n vertices, and each edge exists with probability p. In this mode…
  • Why does my code keep outputting “none” import sys import json from bson import json_util from pymongo import MongoClient connection = MongoClient(‘localhost’, 27017) mydb = connection[‘city’] mycol =…
  • Please tell me the detailed steps to solve this question, thanks a lot! Also what does this question want me to do? That will be better if you can provide the code for me. Using Numpy Initialize the D…
  • Answer and Explanation for each question is needed, Thanks for your help 1. Which of the following is a Python tuple? a) [1, 2, 3] b) (1, 2, 3) c) {1, 2, 3} d) {} 2. Suppose t = (1, 2, 4, 3), which of…
  • Can you fix my indentations so my program works?¬† ¬† import cards d= cards.shuffledDeck() for number in range(6): ¬† ¬†print(d[number]) ¬† ¬† def oneGame(initial): ¬† ¬†countFlips = 0 ¬† ¬†bankroll =…
  • Is there anything that needs to be initiated after the Get Numbers class and how is a randbelow method used in the for loop 1) I need to use a Python class, named get_numbers, so number sequences can …
  • In this exercise, you will use the library decimals to write a program that produces a receipt from a store. ¬† you need this code as part of the task:¬† ¬† def receipt_content(prices_filename, cash_r…
  • Hello I have a code below that needs to be converted to Dust or Go (I’m trying to convert it to Go) def factorial(n): ¬† if n&lt;=1: ¬† ¬† ¬† return 1 ¬† return n*factorial(n-1) def combinations(n,r):…
  • Part 1: Programming – Sedimentation App 1.1 Problem Statement¬† ¬† The figure below shows a lake within which sediment, suspended in the water, rains down and slowly builds up on the lake floor. Obvio…
  • implement this equation in python. take alpha = 0.33 and remainig values with mentioned dimensions plees comment me if you have any doubt regarding to this Thanks in advance Predicted rating y;; for u…
  • Can someone please help me figure out what is wrong with my code? It can be found here: https://pastebin.com/YHG2HzFD¬†¬† ūüôĀ Option 2 keeps failing for me (print all animals) and I cant fix it. Below …
  • #Finish the fruitFunction2 to take as input a list of fruits and return a string value letting us know if the¬†avocado is in the list or not. If so, state that the avocado is in the list. If not, stat…
  • PYTHON PROGRAMMING ¬† ¬† ¬† In this assignment you are asked to write the code for generating a random password in a Graphical User Interface. You can use any graphic module of your choice to write th…
  • In¬†[¬†]: import tensorflow as tf import seaborn as sns import matplotlib.pyplot as plt import pandas as pd sns.set(font_scale=1.5) The Fashion MNIST Dataset As mentioned in class the saying, If you m…
  • This is practice for my final exam, but I can¬īt manage to compute in Python these questions. I have other questions but I want to first try them by myself. I would really appreciate any help. 1. How …
  • Assignment – Regression In the assignment, you will analyze which factors are associated with the number of likes a Facebook post gets. The dataset is from https://archive.ics.uci.edu/ml/datasets/Face…
  • Write a program children. c, and let the parent process produce two child processes. One prints out &quot;I am child one, my pid is: &quot; PID, and the other prints out &quot;I am child two, my pi…
  • Python Coding Problem ¬† Train a deep neural network on the MNIST(with 28×28 images with digits(0,1,2….9)) dataset to perform a classification task and see if you can get over 98% accuracy. Remember…
  • I am trying to make a text-based trivia game in python, as a module. I have outlined my goals in the attached document ¬† The expectations of running this game are that the user will select a category…
  • ll’opics: Functions, Files Read and write, Dictionary Suppose you are given an input file of a document that only contains English words, spaces, commas (always followed with one space) and periods (a…
  • https://restcountries.com/#api-endpoints-v2-all above is the link needed¬† https://restcountries.com/v2/alpha/usa. Unique Regions Function Name: uniqueRegions() Parameters: countryList ( list ) Ret…
  • Exercise 5 Use the function design recipe to develop a function named sum13. The function takes a list of integers, which may be empty. The function returns the sum of the numbers in the list, return…
  • Happy Numbers ¬† Programming challenge description: ¬† A happy number is defined by the following process. Starting with any positive integer, replace the number by the sum of the squares of its digit…
  • I need help with correcting my code for a CS project in python
  • this is a full question, pls answer it. Least squares classification with regularization. The file Isq_classifier_data. ipynb contains fea- ture n-vectors 21, …,IN, and the associated binary labels,…
  • 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 …
  • 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?…
  • I tried my own code and it didnt work. Please help.. CHALLENGE ACTIVITY 4.2.2: Basic while loop with user input. Write an expression that executes the loop body as long as the user enters a non-negati…
  • Write a Python program to create and accept a two-dimensional tuple of M elements with different data types. Use this tuple as a database to store five entries (rows) and retrieve the appropriate row …
  • Create a programme that carries out all the processes needed to compute and display data from missing right angle triangles. The data could be missing 1 or 2 side lengths along with 1 or 2 angles in d…
  • For Python 3.5 Attach is a MASTER BOOT RECORD that needs to be used as a file input for the program. It will be named block.dd and you can assume that it’s in your current directory so you don’t have …
  • Create a Program using the baseball data sheet picture down below. The program should: input the data (manually or by reading in from an external file) validate the data (make sure you have what you t…
  • Hello, I am trying to run ARIMA in SPSS. However, I don’t understand which model to use. It must be non-seasonal, so in any case: ARIMA (?,?,?)(0,0,0). I think the second question mark should be 0, so…
  • Program that creates a shopping list of at least 5 items using user input. The user must be able to add to the list and view the updated list as a comma-separated group of items after adding to it. ¬†…
  • Write a for loop that prints all the numbers divisible by 3 from 0-10.
  • Hi, How would I put these lists in the code what would be the correct function?¬† in this format need help¬† [Course number, Name of the course, Course time and days, Number of credits, Course instruc…
  • can you post the code for this . Define the functions below that have the specified inputs and return values: o displayMenu() Input: none Return value: none Print out the menu options to the user (see…
  • HI TUTORS, NO CHEGG ort Description The Memory game has appeared in many different contexts, either as a computer game or as a card game that uses a partial or full deck of playing cards. The player t…
  • Write a function print_word_counts2(filename) that takes the name of a file as a parameter and prints a list of all words in the document converted to lowercase plus their occurrence counts, i.e. how …
  • Fill out the missing pieces of the code that generates and prints the string variable `str_var`. x = 3.14159 x_str = #cast x as a string x_int_str = str(int(eval(x)) #first cast x as an int and then c…
    • Fidelity¬†Stock Market The Fidelity Investments¬†webpage (https://eresearch.fidelity.com/eresearch/goto/markets_sectors/landing.jhtml) reports the stock market¬†changes by sector in an HTML table …
  • Assume the variable day exists, contains an integer, and is being used to count the number of days since January 1 in a program. What is an assignment statement that updates the value in day by adding…
  • a Python script where you import unittest and a subclass of unittest.TestCase to test the Employee class from the module skills.py (see link in assignment; please look at the docstrings to get a sense…
  • RESTRICTIONS: You are NOT allowed to use ANY built-in Python data structures and/or their methods. You are NOT allowed to directly access any variables of the DynamicArray class. All work must be done…
  • Please write code for the two functions below, and please make sure they work. Thank you so much!! ¬† ¬†. . Do not add statements that call print , input , or open , or add an import statement. . Do n…
  • Consider the linked list llist below. Compose two lines of code that will remove the node with element value 36 from the linked list. Assume the Linked list class has variables _head and _tail, while …
    • Make a class Employee and used the self-keyword to define the properties such as name, age, salary and position. The class must be instantiated, or an object must be created out of the class Employ…
  • 1) The question screenshot has been attached down below: ¬† ¬†. F G. H For this question you must evaluate the result of this circuit if inputs C, D, E, G, H, I, and K each have a value of False, and …
  • Python code Due in 4 hours. Lab 3 Opened: Thursday, 10 February 2022, 12:00 AM Due: Saturday, 12 February 2022, 11:55 PM Ask the user for a number Then ask for that many numbers, storing them all in a…
  • ls = [‘hello’, ‘Dear’, ‘hOw’, ‘ARe’, ‘You’] Output: [‘hOw’, ‘ARe’]
  • We provide you with a value N. Calculate N! and output only the final result.
  • Add three methods to the¬†Student¬†class that compare twoStudent¬†objects. One method (__eq__) should test for equality. A second method (__lt__) should test for less than. The third method (__ge__) s…
  • The problem can be found here https://www.spoj.com/problems/CTRICK/cstart=10 I have created the code but unable to take input from a file and write to a text file please modify the code for me : t = […
  • Hello, I have ¬†this on Python, don’t know how I can transfer my excel data to python Thanks you. 3. Download the financial statement data of these firms over the past 5 years. You can get the data fr…
  • PROBLEM SEI D 1. Differentiate between entry controlled loop and exit controlled loop. Give examples. 2. Each pass through a loop is called a/an a. Enumeration b. Iteration C. Culmination d. Pass thro…
  • looking for help with understanding what is needed for a function that follows these parameters to figure out feet and inches in height I need to create a function called isValidHumanHeight(height). U…
  • The command of¬† ip route in cisco terminal gives out this result: ¬† ** YOU MUST WORK WITH THIS OUTPUT ** 0.0.0.0/1 via 10.9.0.1 dev tun0 default via 192.168.2.254 dev enp6s0 proto static metric 100 …
  • 10¬†Program: Data visualization (Python 3) this is the code I have for steps 1 to 3: title = input(“Enter a title for the data:\n”) print(“You entered:”, title) print() colum1 = input(“Enter the col…
  • Explain the difference between these two codes s = 0 if x &gt; 0: s = s + 1 if y &gt; 0: ¬†s = s + 1 ———————– s = 0 if x &gt; 0: s = s + 1 elif y &gt; 0: ¬†s = s + 1
  • Lee 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…
  • Please .. create .. the main program and also a driver program so i can run the code.¬† ¬† also, please .. add precise comments cause I will use it as a script for the video that i will make. thank…
  • Using python¬† ¬† Modify the GPA Calculation program in section 5.2.7 so that it is capable of calculating a GPA for plus/minus letter grade: A0, A-, B+,B0,B-, and so forth. Print the cumulative GPA. …
  • PYTHON Q1 : Write a function that takes as input a string that stores date and time (24-hour clock) in the following format: “MM/DD/YYYY HR:MIN:SEC” and prints the following: DD/MM/YYYY HR:MIN:SEC MM/…
  • I need image processing python code which can run in openwhisk environment. Please help me.
  • use python. Thesis One: Omani Aflaj Systems are complex water channels and irrigation infrastructures that existed since ancient times. For hundreds of years, Omanis used various scheduling methods to…
  • . In [1]: # You can also review 10-tax-tiers-example-dont-delete. xLex to understand the computation below. 2021 Tax computations Income 1,000,000 Tier Tax rate Income in tier Tax for the tier 9,950…
  • Write a program that asks the user to enter the weight of a package and then displays the shipping charges. Make sure your program output displays the company name as well. Please provide more than on…
  • The Department of Health has asked you to create a program to assist in modelling data for the rolling out of the COVID-19 vaccine, as more General Practitioners (GPs) become accredited to deliver the…
  • please do not copy from chegg and coursehero RASPBERRY PI, CODE IN PYTHON Use the 7-segment display to show the distance measured by the ultrasonic sensor. The distance (10cm – 50cm) should be proport…
  • From Section 11.5 of:¬† # Downey, A. (2015).¬† Think Python: How to think like a computer scientist . Needham, Massachusetts: Green Tree Press.¬† def invert_dict(d): ¬†¬†¬†inverse = dict() ¬†¬†¬†for…
    • py Write a program that prompts the user to input the three coefficients a, b, and c of a quadratic equation ar’ + br + c = 0. The program should display the solutions of this equation, i…
  • Question 11 Implement a function I; cord 5, which takes a function, a sequence, and an upper and lower bound on output of the function. coo rd 5 then returns a list of X, y coordinate pairs (lists) s…
  • If I were to use python to make a .txt file inside of a folder of my choice, and make the .txt file have text inside that contains the contents of other .txt files inside of the folder, what would the…
  • . In [ ] : num = 123456789 # format as integer with comma as thousands separator # Output # 123, 456, 789 # Your code below In [ ]: num = 1234.56 # format as fixed point with 2 digts after decimal w…
  • Can you help me with the following function? We cannot use method calls or if statements in our course. Right now I have: x = json[json.index(‘”‘,json.index(‘src’)+ 5 )+ 1 :json.index(‘”‘,json.index(‘…
  • ASSIGNMENT: Six year old Stacy saves pennies in a jar. Every three months, Stacy takes the pennies to the back and want to know how many dollars, quarters, dimes, and nickels (and left over pennies) s…
  • The line equals to 1 from the line_count function when writing sentences. Is there a way to get multiline of sentences from the user input. So that way there can be more than one line count when the i…
  • INSTRUCTIONS : 1) Python Programming 2) No use use of built in libraries and built in functions (like pop,append , insert) 3) Use comment out for understanding better 4) Use Functions name and paramet…
  • PuLP and ILO question using Python ¬† A single machine has to produce 10 jobs numbered from 1 to 10.¬† Each job has a duration, release time, and deadline as given in the following table (times are in…
  • Age prediction from facial images we are going to develop a program (in python) that would be able to guess age of a person given his/her photo. It is expected that you will first do the principal com…
  • Hello, 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 flowchar…
  • Source code: # NOTE FROM BOB: DO NOT EDIT THIS STRING # SIGNS_GROUPS is a string representing a group for each sign: # – Group 0 has Aries, Leo, and Saggitarius # – Group 1 has Taurus, Virgo and Capri…
  • Please refer to the image below and program in Python. Create a program called Eython Review and add any necessary heading comments. Then write the code necessary in order to meet the criteria listed …
  • Calculate the base charge Set the base charge for the rental type equal to the variable baseCharge. The base charge is the rental period * the appropriate rate: For example: if rentalCode == ‘B’: ¬†¬†…
  • please write a python script b. Write a function thesum Write a program that outputs the sum of three numerical values The input must be requested from the user The values must be passed to the functi…
  • What TWO different python programs can remove all elements that appear more than once from the given my_lst and print out the updated my_lst. Given my_lst=[0,1,2,3,2,3,4,5,4,5,6,7,9,11,0,5], updated m…
  • python codes, thank you!. Question 15 Write a function reverse that takes a string as a parameter and returns the string in reverse order. Example call Returns reverse (&quot;hello&quot;) &quot;olleh&…
  • I am getting some errors I have been trying to fix with no luck, please help me get this login working? here is where I am stuck: Traceback (most recent call last): ¬†File “C:/Users/mike/Desktop/Week7…
  • Get three numbers from the user. Assume the user will type in only whole numbers. The numbers could be negative or positive. Don’t forget to add helpful prompts for the user. Using your knowledge of P…
  • A program that first gets a list of integers from input. That list is followed by two more integers representing lower and upper bounds of a range. Your program should output all integers from the lis…
  • What is the support of the rule {}‚áí{Eggs} in the transaction dataset used in Section 1 of this lab notebook? dataset¬†=¬†[[‘Milk’,¬†‘Onion’,¬†‘Nutmeg’,¬†‘Kidney¬†Beans’,¬†‘Eggs’,¬†‘Yogurt’], ¬†¬†…
  • can someone help me with this code thanks (Python or Java) sorry but I’m stuck doing this assignment and the due date is tonight ¬†. IrI=n=1B, p=1Ô¨āl The adversarial keys S: a : [9, 5. 1E), 15, 2B. 2…
  • solution is also on C-H-E–G-G(PLEASE try to change it up a bit) KEY NOTES: Please work on python 3.9 or 3.8 to take screenshot please give the code rather than a screenshot of code please complete pa…
  • Create a Python function, named positive_account, which takes a list of numbers and which returns the number of positive items (&gt; 0) found in the list. In the main part of the program, ask the user…
  • . zy Section 6.18 – IT 140: Introduction X java – Varied amounts of input de x Course Hero X + V X -) C learn.zybooks.com/zybook/SNHUIT 140v3/chapter/6/section/18 it Apps ) mySNHU Login y! Yahoo @ H…
  • In this part you are to develop a Python application that will encrypt text from a file and also, given the key, decrypt text from a file. We shall use an easy cipher.Shift ciphers, also known as Caes…
  • print(“======================================================================”) #display a welcome message print(“Shipping Calculator”) print(“=========================================================…
  • Do the following comparisons using indexing: . Check if the second value of list_1 is one of the last three values in list_3 (Hint: remember operator in ) . Store the result in comp_result_1 . Check i…
  • q11 – DEBUG function numVowels(sentence) # ¬† ¬†– This function currently returns INCORRECT answers # ¬† ¬†– Find and fix the error(s) in the function below
  • Sales prediction : I need help with continuing with my code so that it does the following: – Does the program provide a prediction of demand using relevant historical sales data – Does the program pro…
  • . Your program will 1. Read the file palindromes file 2. Strip the newline character from each palindrome. (Copy each palindrome into a list as you do so.) 3. Initialize the user’s score to zero 4. …
  • looking for the hardcode answer for tis question and if i can get in a copy and paste format that would be greatly appreciated.
  • Download [‘AMZN’, ‘CMG’, ‘GME’] 5 year from 2015-01-01 to 2020-01-01 close price data using yfinance package. Downsample data into monthly, by choosing the average price of each month. 1. Find two tan…
  • Write all your code in a single file named homework.py and upload it to Grader Than.¬† Hint: Here is the general syntax for a decorator that accepts no arguments: def decorator(decorated_function:call…
  • Using your screenshot and the data you have collected to¬†justify¬†what¬†happens to the angle¬†of¬†reÔ¨āection¬†with¬†respect¬†to¬†the¬†angle¬†of¬†incidence?
  • How would i program the following python code that calculate the average of two test scores,¬†display a congratulation message if the average is great than 92, otherwise display a “Keep trying” messag…
  • Write a short Python program for problems. Calculate the age of person based on current date und the birthday of the user. The program should: * Prompt the user to enter the current date by month, day…
  • Using tkinter, create a GUI interface which accepts input of an age.¬† If the person is over 18, display “old enough to vote”.¬† If the person is over 65, display ” senior citizen”.
  • Using data gathered from csv file, determine which attributes may contribute to higher gas mileage so that they can design a more fuel efficient automobile. And use proper data cleansing techniques to…
  • A function name is immediately recognized in a program statement when it is followed by which following the following: the assignment operator =, (), {}, or []
  • please Reply within 10 min Search Textbook Solutions| X 6 BigBlueButton – Group ? x Integer Division — from Wel https://moodle.aih.nsw.edu.au/mod/quiz/attempt.php?attempt=37215&amp;cmid=47470 … AN …
  • Sales of Riding Mowers: Scatter Plots. A company that manufactures riding mowers wants to identify the best sales prospects for an intensive sales campaign. In particular, the manufacturer is interest…
  • I want to design a variable which shows the percentage of available bikes (all kinds) in comparison to the capacity of bikes in each station. Then use this variable to control the size of the data poi…
  • # PROBLEM 10: Let’s use the classes you created. Below is a list of tuples of book titles # and authors. Create a PaperBook instance for each of these tuples. Create a new library called # aadl and a…
  • Course Hero Assignment Babilabs V messaged you &lt; YouTube @ https://umindanao.mrooms.net/mod/assign/view.php?id=893436 . . . Gmail YouTube Maps OUM My Courses Home / My Courses / ITSL_1121_2021-2022…
  • test_1 = [2,5,6,3,2] # result should be 6 test_2 = [1,2,3,4,5,9,8,7,6,4,535,367,2,57,2] #result should be 535 def max_among(list_of_int): pass print(max_among(test_1)) print(max_among(test_2))
  • The question is related with the Artificial Neural Network Course. Subject is (Perceptron Learning Rule Classification). Could you obtain code on PHYTON or MATLAB? My handwrite solution is below the p…
  • Part 1 The National Weather Service provides XML feeds of current weather conditions. This page allows users to access data from about 1,800 locations across the United States and US Territories. For …
  • Given Code: ¬† #Write a function called average_evens_and_odds. The function #should take as input one parameter, a list of integers. The #function should return a 2-tuple. The first item in the #2-tu…
  • Write a Python function that takes a list and returns a new list with unique elements of the first list.
  • please help start by def print_graph(country, population):
  • R solution #DIRECTIONS #After each numbered item, Copy the comment and then your solution onto THIS Project Specification Sheet.¬†#See Item A-4 as an example. ¬† #A-1 LOAD DATA SET: ¬†¬†&lt;. Album Sa…
  • Use only phyton and has to work on coderunner. Time left 2:03:26 3 5 6 Question 11 Define a function named guess_character () which prompts the user to enter a word. The function should then do the fo…
  • Input The first line of input consists of an integer – numDimensions representing the total number of dimensions selected by the designers (N). The second line of input consist of N space separated in…
  • In this task, we will develop a program to detect whether a target number is the sum of k elements in the given list numbers (note that the elements in numbers are positive integers and we input the i…
  • This question is Python Based. Instructions You are going to be given three string variables:¬† item1 ,¬† item2 ¬†and¬† item3 . These will be initialized with items on your “To Do List”. You will outp…
  • Write a function cos_x_crossings(begin, end, skip)¬†that uses cos math function which takes begin, end and skips as input parameters, and returns the x-points as a Python list that crosses the x-axis …
  • Please include descriptive comments in the code :). Design, implement and test a Python class, called SphereAlly, to be used by a galactic non-profit coalition, known as the Sphere Alliance, whose mis…
  • 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 some function called¬†hypoten…
  • Develop a Python program to implement the Standard Chartered (SCB) Bank BonusSaver interest rate calculator for calculating total interest earned per month. You are to research and extract more inform…
  • Write a function¬† del_digits(str1).¬† ¬†When called, passing a string as argument¬† str1 , your function should return a new string that’s¬† str1 with all digits¬† 0 ,¬† 1, …,¬† 9 removed.¬† Fina…
  • could somebody please help me to answer this question, I do not know how. Thanks in advanced guys I would really appreciate any help at all, its only short. An answer is then to be written below the l…
  • How do I check if all elements in a list is &gt; 50 and if it is I return -1?
  • Implement the following sorting algorithms and compare them.¬†Use Python programming language.¬† Insertion sort Merge sort Heapsort [vector based, and insert one item at a time] In-place quicksort (an…
  • write function¬†can_construct_pal(lst)¬†that accepts as input a list of characters¬†lst¬†of even length and that returns¬†True¬†if and only if the elements of¬†lst¬†can be rearranged to form a palindr…
  • Decsision structures are control structures that allow a program to execute different sequences of instructions for different cases .
  • In a couple of pages summarize the basics of various activation functions of neural networks and where and how they are applied
  • As shown from the example run above, I need to find a function solve_puzzle(str1,¬†str2,¬†res) . The function will produce a dictionary with letters as keys, and values as numbers. All values in the d…
  • Please help me with building a binary tree. I really need help. All instruction are in photos ¬† Test case: maze.txt: Input: maze.txt dumpCells Output: ¬†. 4.4 Command: dumpSize The last little step, …
  • writing a Python program to compute the cost of carpeting a room. Your program should prompt the user for the width and height in feet of the room and the quality of carpet to be used. A choice betwee…
  • Find all 3-letter words in this file, capitalize them, and print them on separate lines separated by an extra blank line. For example, the first two should be TWO AND ¬† Two roads diverged in a yellow…
  • Can someone please help me with this assignment I have no Idea how to do it. I need help with the this one I already finish the Stack.py that I need to import . this is the instruction that are given …
  • Speech to use: https://www.npr.org/2010/01/18/122701268/i-have-a-dream-speech-in-its-entirety ¬† retrieve and display text of a web-page (speech, article, book, etc.) Remove the introductory paragraph…
  • if rentalCode == “B” or rentalCode == “D”: ¬†¬†rentalPeriod = int(input(“Number of Days Rented:\n”)) elif rentalCode == “W”: ¬†¬†rentalPeriod = int(input(“Number of Weeks Rented:\n”)) ¬†¬†¬† print(ren…
  • A python program to print the prime numbers existing in an array. For instance, if A = [4, 7, 12, 3, 9], the output should be 7, 3.
  • … Design a simple program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters “Quit”, “quit”, or “q” for the line…
  • how to write a program that reads in the name and salary of an employee. Here the salary will denote an hourly wage, such as $9.25. Then ask how many hours the employee worked in the past week. Be sur…
  • i need python code and result screenshot 18. Chess Square Color abcde f 9 h N a b c d ergh Each square on a chess board in identified by a letter (a-h) and an integer (1-8). They are typically refered…
  • File Operations¬† Read the students_database.csv file and develop the necessary functions to find an answer to¬† the following questions. Your functions must work on all files that have the same featu…
  • Python Basics 3 – [If statement] Objectives 1. Write and read Python programming language codes for textual and sentiment analysis.¬† 2. Identify contemporary issues in financial reporting and data an…
  • How do I add a try block and except block to my number game? I would like to be able to enter a number over 99 and it prompt the user to enter a number between 1-99. Is this possible? import random n …
  • new_set ={ 1 , 2 , 3 , 4 , 5 } int_list=[] def set_to_list (new_set) : for i in range(len(new_set)): int_list.append(new_set[i]) set_to_list(new_set) print(int_list) help me to print, an error is occu…
  • I have a two txt file first one is lessons second one is student name and grade for example lesson.txt Math Geo Physic Art History and more lesson. grade.txt john 80 70 0 50 70 0 10 elton 80 10 0 0 39…
  • Need solution for the following Questions: ¬† Q3- Design the learning curve and talk about what you see. ¬† Q4- Explain these graphs. If you see any issue, suggest a solution to resolve it. Make the m…
  • I am confused on how to use the def function here Requirements Your program must perform the following: You will write a program that will run an experiment with tossing a coin. Write the three functi…
  • In python I want to code a sorted linked list from user inputs. All inputs should be integers and each input can be any amount of integers separated by a whitespace. I want to prompt the user for an i…
  • please help this according the instructions that’s all I have to for doing this
  • I need some help with writing a function called¬† savePage ¬†that takes a string representing a URL, and a file name as a parameter and then saves the contents of the web page to the file. python
  • Please don’t copy from chegg and course hero ¬† Using Flask for python html/css. Assume there is a website thats created with with a login system for an admin and a user. I want the python code for th…
  • I need help with this Python code please!! Needs to be in Python !! Here’s the direction. ¬† Many financial experts advise that property owners should insure their homes or buildings for at least 80 p…
  • M√≥dulo de Ingreso A ustedes se les ha pedido desarrollar un sistema con diversos m√≥dulos, existen dos tipos de usuarios que pueden conectarse a su sistema empresas y personas, utilicen la herenci…
  • A User Defined Function that removes all other columns from the data set in the nested structure EXCEPT the following columns. The following 29 columns MUST remain in the dataset, and no others: Id2 N…
  • Write a code that creates a set of passwords, based on a list of enetered country names. Each password should be a combination of: The first three letters of the country name The country capital with …
  • The following code produces a microscopic image of a bacteria that are overlapping shown below after the code &gt;&gt;&gt;import numpy as np &gt;&gt;&gt;import scipy as sp &gt;&gt;&gt;from scipy.ndima…
  • write a python ¬† csv_top_three Given the handles of an input csv file, print the winners of gold, silver, and bronze to the text files, based on the data from the input csv. The input csv file will b…
  • topic: python, data structures, programming Stuck on this last exercise. I got 80 percent of the requirements done. Read description of exercise, find my personal notes just below it. Python’s for loo…
  • Using concepts of Encapsulation in OOP, Python program for a car rental system that performs the following tasks:¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†[10] i.¬†¬†¬†¬†¬†¬†…
  • 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 make function called¬†hypotenuse¬†t…
  • Hello , I have question about program design &amp; development Python 3.8.1, please see the attachment. thanks in advance Exercise 3 Shipping Charge Calculator You’ve probably seen these in online sho…
  • Please Finish This as soon as possible today, I need this sent in mircosoft Word with answer and results. Directions are in the Document attached. HW-partB Download a few sample files under HW5-PartB….
  • Write a function to ¬† calculate the Gaussian ¬† f(x)=(1/(sqrt(2*ŌÄ))*exp[-1/2*((x-m)/8)^2] for arbitrary mean value m and standard deviation s as parameters. ¬† ¬† Name it as you like such that you c…
  • Can i get desperate help with these questions please i need to hand in the assignment by tuesday and i am really struggling dont know what the answers are.. 3. Consider a function: (2/(- 1)+ Life &gt;…
  • hey i am working on code in python using jupyter notebook i have created dictionaries for large countries and and have to use it for making graphs using the csv file for which i have given th elink be…
  • I dont know what to do CHALLENGE ACTIVITY 2.4.1: Gallons of paint needed to paint walls. Finish the program to compute how many gallons of paint are needed to cover the given square feet of walls. Ass…
  • on our transformed data with new observations. Exercise 6: (3 points) – Complete the function prin_comps to meet the following requirements. . Use the formulas above to standardize the columns of X an…
  • Write a Python function and tests that creates a dictionary containing the Canadian provinces and territories as keys and their capitals as values. (Use the Internet to get a list of the provinces and…
  • Suppose you are given a list of N values, each of which is either a 0 or a 1, initially arranged in random value. You need to¬†modify the values in the list in situ(don’t use another list)¬†so that it…
  • ANSWER THE QUESTION IN PYTHON¬† ¬† q29_2 ¬† ¬† #!/usr/bin/python3 import unittest # ————————————————————– class TrafficJam: ¬† ¬† ”’ ¬† ¬† A TrafficJam is a l…
  • # -*- coding: UTF-8 -*- “””Employee Email Script. This module allows us to create an email address using employee data from a csv file. Example: ¬†¬†$ python employee_email.py “”” import os import csv…
  • Problem 4: Write code that iterates over umich_buildings and outputs a .cav file called north_quad_distance.csv. The csv file has two columns: The first column is the building name and the second col…
  • &gt;&gt;&gt;Can someone help me fix my code please? &gt;&gt;&gt;Why my output not look the same with sample output? &gt;&gt;&gt;Something wrong with my code. EX: when I choose to “EXIT COLUMN” option …
  • Given the following code, which methods can use the variable name ? def main(): X =3 y =2 z = calcData(x, y) w = doStuff(x, y) print(z, &quot; &quot;, w) def calcData(a, b): c= a * * b W return c def …
  • creates a complete working program to accurately and efficiently compute and display a 15% tip when the price of a meal is input by the user. Student uses the variables MealPrice (a Float) and Tip (a …
  • Eratosthenes of Cyrene¬†lived approximately 275-195 BC. He was the first to accurately estimate the diameter of the earth. For several decades he served as the director and chief librarian of the famo…
  • Assign avg_owls with the average owls per zoo. Print avg_owls as an integer. Sample output for inputs: 1 2 4 Average owls per zoo: 2 avg_owls = 0.0 num_owls_zooA = int(input()) num_owls_zooB = int(inp…
  • Write a program that calculates the amount of money a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day, and continues to double each …
  • can i get help with these two questions please i slightly understand it but im not to sure thank you.. 4. An n by n matrix defines a linear transformation (function) on n-dimensional vectors. Q1 012 0…
  • Could you help with this. Use only 1 return statement (at the end of the function). 4. Write and test a recursive function that calculates a base value to a power. Example: 2^3 is 8. (2 is the base, 3…
  • Using python Write a program that will calculate a XXX% tip and a 6% tax on a meal price. The user will enter the meal price and the program will calculate tip, tax, and the total. The total is the me…
  • Start your Jupyter Notebooks server Open Jupyter Notebooks in a browser Download information about data positions and associated salaries for several countries positions and upload the data to your VM…
  • . Calculation Details To write your calculator, you will need to understand the formula and data used by the EPA to calculate AQI. You will need to refer to the below ADI Equation and ROI Breakpoint…
  • using python 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 : ha…
  • Hello please see below are homework questions I am working on for this week. This is my first time working with Python. The first 2 questions I have supplied my code which just needs to be fixed. The …
  • A shipping company allows customers to choose between standard or express delivery.¬†Standard deliveries are charged the following rates: Weight Rate per pound 4 pounds or less $1.05 Over 4 pounds but…
  • 1 Task Goal The goal of this assignment is to practice writing regular expressions (regexes). In order to complete this task, students will need to have an understanding of how to write regular expres…
  • In the previous Python assignment, you wrote a script for the Guess a Number game, perhaps with a function that compared each guess to the randomly generated target number.(The previous python assignm…
  • Week 2 Deliverables Overview: This week, you have studied additional Python language syntax including functions The Lab for this week demonstrates your knowledge of this additional Python functionalit…
  • Help please indow Help z_start_frame_auto.d2/?ou=544888&amp;isprv=&amp;drc=1&amp;qi=285537&amp;cfql=0&amp;dnb=0 Time Left:0:23:33 Sahir Esho: Attempt 1 The result of &quot;print( str(6.28318530717958)…
  • Create dice roller program that will allow a user to roll a 6 sided die, a die with a user-defined amount of sides (ex: a 10-sided die), and a user-defined amount of dice each of a user-defined amount…
  • Determine the last element in alphabetical order: Complete the last_alphabetical function to return the last element (alphabetical order) in the list arr. Test case input: arr = [‘Hailey’, ‘Sarah’…
  • On the left you have the complete flow diagram, on the right you have a partial Python solution. Complete the right-hand side so it becomes a full Python translation of the flow diagram on the left…
  • This program, mlfq.py, allows you to see how the MLFQ scheduler presented in this chapter behaves. See the README for details
    • Student registration: Students must enter their information including name, last name, phone number, email address and make a password. By default, the program must assign a unique student ID betwe…
  • how non local variables are useful then global variables? explain which features non local variables are more efficient than global variables?
  • Class is Data 8 Language is Python I am stuck creating a line graph (see screenshot )
  • Question I have to solve on phython. Please help. Q6. Find the roots of 2(x + 3 3 = exp(‚ÄĒO. 5x) using the Bisection method. Use x range of ‚ÄĒ 10 to 10. Plot the graph f(x)=0 Identify the number of …
  • &lt; &gt; readme (new).md E0 1+ readme (new).md &gt; Problem Specification 37 ## class MazeSolver (in MazeSolver . py ): 38 39 1. draw_maze (self ) : Randomly generate maze. See above for more details…
  • We have provided two problems for you to work with. For each problem, you are asked to carry out the six steps listed below. Provide a high-level decomposition. This should do no more than break the p…
  • My code isn’t working¬† ¬†. A9 ~/PycharmProjects/A9 19 A 35 X 13 ~ V venv 20 main.py def make word total value dict from lines (Lowercase) : IIlli External Libraries 21 Scratches and Consoles 22 Given…
  • Hello, I need help solving this Lab simulation, It uses 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 since the ther…
  • 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! ¬† ¬† AND FOR CO DE EXPLA NATION PLE ASE U SE…
  • from bokeh.io import output_notebook, show from bokeh.plotting import figure output_notebook() ¬† import pandas as pd import numpy as np import matplotlib.pyplot as plt %matplotlib inline datasource =…
  • 2 pts You are working on an application that will calculate the total sales. You have a variable called total_sales, that is passed from module to module and needs to be updated in each module. These …
  • a function that prints key-value pairs of a dictionary.
  • Instruction for the codes: No need for comments, just need the codes asap to save time¬† Program should start with ¬†&gt;&gt;&gt;¬†def emailingYourProfessor(): ¬†CANNOT add anything inside the functio…
  • Consider the partially defined Person class below, complete the implementation of the three methods:__init__(), get_age(), __str__(). class Person: def __init__(self, name, birthyear, email): def get_…
  • encounter_id diag_1 diag_2 diag_3 182795622 428 410 491 185569164 428 403 682 68184246 428 401 413 217930950 415 401 272 94628052 648 659 250 116653320 414 411 493 75331956 730 707 731 100954620 428 4…
  • Implement the design of the Student and Lawyer class derived from Person¬† class so that the following code generates the output below: class Person: ¬† ¬†def __init__(self, name, contact): ¬† ¬† ¬†se…
  • During this weeks lecture we ¬†haved discussed importing modules. 1 ¬†Can a third party (like you!) other than python.org write and publish a python module? 2 ¬†If so, is there some form of approval o…
  • Scenario You work for a small company that creates text-based games. You recently pitched your design ideas for a text-based adventure game to your team. Your team was impressed by all of your designs…
  • (60 points) Machine learning has now permeated multiple disciplines, even politics. The current landscape in the US is rife with data scientists and other quantitative experts making predictions ab…
  • Please solve by using def mymanhattan, without using any python modules. For the two coordinates implemented, using the for loop is required. Question 2 (mymanhattan; 20 points) In this problem you wi…
  • TASK:Write python scrippt using Numpy and store a data sequence¬†in a numpy array shape of¬†(8, 9) Each element will be derive from¬†(n^3¬†+ n^2 +1 ) and n = 1, 2, 3…..100 Reshape the array in (9,8)…
  • . You will use an already written program to model a Springcmass system. The interaction that you are modeling includes a small correction to the usual spring force. This type of springcmass system …
  • Task: 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 an…
  • Given the text “SECURITY IS IMPORTANT” and the encrypted message FRPHEVGL VF VZCBEGNAG Can you write a brute force function that returns the key?
  • Advanced Python Exercise:¬† The goal is to:¬† Link is given below for better explanation, please help please help¬† 1) Encrypt the Message using a Given Key 2) Translate Key and Message from String to…
  • python program that reads a string from the user containing a date in the form mm/dd/yy. It should print the date in the form March 12, 2014. If the ‘yy’ part of the year is more than 30, then use 19 …
  • I would like to make a web-server for an ML inference. How should I can I make a web server which starts with ./server.sh command? It respond to get.sh and post.sh client commands. please help me how …
  • Design a python program for customers of a store to build accounts.¬†Each customer needs to provide first name , last name , age , email address , desired password , credit card number and three-digit…
  • Week 8 – Exercises ¬† Instructions: Do your homework in RStudio. Start with a new notebook file in the source window. Create only one notebook file. Compile the results into an HTML file. Upload only …
  • BCCI has hired an external analytics consulting firm for data analytics. The major objective of this tie up is to extract actionable insights from the historical match data and make strategic changes …
  • What function could you use to create complete copy of a nested dictionary (a dictionary that has dictionaries as values)?
  • b) [6] round_hist (rolls_array) : Given a 2-dimensional Numpy array rolls_array, write a function round_hist() that display a histogram for the sum by columns of the given rolls_array with the followi…
  • column index , is a value from [0, 15] and the row index z E [0, 5] is obtained from a die roll. Problem 2. (Playing the Waltz) Write a program called playwaltz.py that accepts from standard input, a …
  • Instructions Objective You own a diamond business and you have to replenish your inventory. You have $5,000,000 budgeted towards the purchase of new diamonds. You have a historical list of diamonds th…
  • Hello, please i need this help for my proyect: How do I create an average raster from 2 individual .nc files using Python donwloaded from this link ? I want the code ftp://ftp.nodc.noaa.gov/pub/data.n…
  • to produce a simple graphical representation of a set of triangles, as shown in Figure 1. The output should consist of 4 triangles with sides of length 20, 40, 60 and 80 respectively, placed diagonall…
  • FBTO015 EXTENDED ASSIGNMENT [100 MARKS] Answer ALL questions. Save all solutions (including the Python codes and screenshot of system interface) in a PDF file. A compiler can be used to compile the co…
  • Need to use Python Language. Material covered: functions, 1 D numpy arrays, random library. please don’t use any other material.. Question 1: Noughts and Crosses Game According to Wikipedia, Noughts a…
  • Fill in the boxes to show how the value 4.75 can be represented in binary scientific notation: Note: you should enter a ¬†single digit in each box.
  • Write a Python program to compute a worker’s pay, based on a rate per hour and number of hours worked¬†.¬†¬† ¬† The program must include a single function named calculatePay, which does the computatio…
  • n PYTHON 3- Implement a subclass (described below) of “Word Guess”, a variant of the game Hangman. In this game, a word is first randomly chosen. Initially, the letters in the word are displayed repre…
  • Give me python sol as fast as you can i will directly accept ur quesn Documents The United Nations Organization released an official document regarding the most important events from the beginning of …
  • 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…
  • Activity: Look at the following code segment. We have hardcoded some values for you in the list &quot;values’ and created a loop through the values in the list. If the value is a string raise a ValueE…
  • SQL SOLUTIONS USE spark.sql() ¬†. In [ ]: from pyspark import SparkContext from pyspark. sql import SparkSession from pyspark. sql . window import Window from pyspark . sql . functions import col, exp…
  • in python please, A pedometer treats walking 2,000 steps as walking 1 mile. Write program whose input is the number of steps, and whose output is the miles walked.¬† Output each floating-point value w…
  • Round-Robin CPU scheduling is described. ((Write_) a function¬†round_robin to simulate this job scheduling model. This function receives a job queue, which is a¬†ListQueue object, as an argument. E…
  • . # This is a GUI for the Regenerator 05 A6 A 72 X 13 import 11 12 13 #Code for RC5 operation below 14 15 i2c = busio . I2C(board . SCL, board . SDA) 16 17 adc = ADS . ADS1115 (i2c) 18 19 chano = ad…
  • Solution to this error.. LI InaccessibleTensorError Traceback (most recent cally last) &lt;ipython-input-47-ac73f447dia2&gt; in &lt;module&gt; () 14 batch_size=BATCH_SIZE, 15 epochs=1, —&gt;16 valid…
  • Program about objects and inheritance. Written in Python Topic: objects, inheritance This assignment will give you practice on writing classes and understanding inheritance.¬†You will define several t…
  • Consider the following Python code. State the value and data type held by variables a, b, c and d after execution. a = 3**2 b = a/3 c = a&lt;3 d = a&gt;&lt;3 d = a&gt;b and not (a != 0)
  • Use Python to write a method digit_sum() that will add the digits of a given input and if the sum is a single digit, it will return that output and if not, it will add the digits of the following sum …
  • 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…
  • In this exercise, we will build a logistic regression classifier to classify whether a specific wine is a white (class label 0) or red (class label 1) wine, based on its features.¬† Use of automatic l…
  • 1)Please put it into a function as shown below. 2)Please check your code and follow the instructions as shown in the image. 3)All the codes must go inside the function A3_MatricNumber (as seen in t…
  • In R, the sapply() function is fast &amp; efficient. However, I need to do this in Python. ¬† classify=sapply(Trainfile[,2:785], function(i) ifelse(i&lt;255/2, 0, 1))#mapping the whole dataset to 0 or…
  • If Declare SIZE = 15 and Declare x[SIZE], what would be the range of subscript¬†values that could be used with¬†x[SIZE]?¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†…
  • Do not use global variables in this program, all the information needed is in the pictures, also the program is in python. The sequence file is created with the first function of the code given in the…
  • Write a program that computes the fuel efficiency of a multi-leg journey. (Refer to exercise 9 of Chapter 8.) ¬† Prompt for the starting odometer reading. ¬† Get information about a series of legs. Fo…
  • Write two statements to read in values for my_city followed by my_state. Do not provide a prompt. Assign log_entry with current_time, my_city, and my_state. Values should be separated by a space. Samp…
  • . In this exercise, we will build a logistic regression classifier to classify whether a specific wine is a white (class label 0) or red (class label 1) wine, based on its features Use of automatic …
  • Modify the Payroll and/or the MPG program from week5/6 to store the results in a list/dictionary. Print the list/dictionary when no more calculation is selected. The output will be something like thi…
  • Page 10 of 21 Page 1 Previous Page Next Page Question 10 (1 point) In python, what symbol do we use to assign a value to a variable or constant? Page 2 12 Page 3: Page 4: O: Previous Page Next Page Pa…
  • Write a program that first sets “UTA Rocks!” as its password and then if the user gives the correct password would tell the user that “Access granted!” and let the user to give two strings to the prog…
  • In Python Having trouble Write a program whose input is two integers. Output the first integer and subsequent increments of 10 as long as the value is less than or equal to the second integer. Ex: If …
  • 17 LAB: Shipping Cost ¬† Learning Objectives: Nested if conditions Background: For online shopping, the shipping cost depends on the total cost of your purchase and on the delivery location. As an e…
  • utilizing the Python 3rd Party Natural Language Tookit to analyze and extract information from the O.J. Simpson Trial Transcripts. Develop a script that will: 1) import the proper nltk libraries 2) In…
  • Download any housing Dataset Build a Transaction Type predictive model using 3 different learning algorithms (e.g. KNN, MLP, SVM) ¬† Complete the table below. ¬† Accuracy Precision¬† Recall Logistic R…
  • make an ARRAYS in python ¬†. 1.Scenario I want to create an INDEXCEPTION value of the unique vowels and unique consonants that the name that was given to you can create. Input A string of the name tha…
  • Your former colleague ran a series of experiments that saved data to .csv files, but you have discovered that there was a calibration error in the temperature sensor and you need to correct the data. …
  • I am trying to write a script Publish Data from Project One Once you have installed and verified Mosquitto and the Paho MQTT Python client you are ready to integrate the python client code into your a…
  • This is a Web scraping assignment. I would prefer CoachEagleMaster212 to help if possible. ¬† Scraping data taken from Goodreads.com, cleaning it, and extracting information from it. Use the Beautiful…
  • A gamer’s tag is a distinct username you use to identify yourself in an online gaming community. With the size of such communities growing, it is highly likely that a simple tag such as your name migh…
  • A = {1, 2, 3} B = {1, 2, 3, 4, 5} C = {1, 2, 4, 5} print(B.issubset(A)) This returns false O True O False
  • You should get the output: median (v) = 12.0 modes (v) [5, 13, 17] mean (v) = 11 . 25 mean (v, 0) = 11 .25 mean (vm) = 8. 0 mean (vm, 0 ) = [6.0, 7.0, 8.0, 9.0, 10.0] mean (vm, 1) = [3.0, 8.0, 13.0]
  • Hint:¬† Work on the methods in the order they are found in the documentation below.¬† def read_last_line(file_path: str)-&gt;str: ¬† ¬†“”” ¬† ¬†Reads the last line of the file at the specified file pa…
  • Define the following fundamental concepts ¬∑¬†¬†¬†¬†¬†¬†¬†¬†Interpreted vs. Compiled Languages ¬∑¬†¬†¬†¬†¬†¬†¬†¬†Interpretive Overhead ¬∑¬†¬†¬†¬†¬†¬†¬†¬†Scripting (Procedural) vs. Object Orien…
  • Lab # 7BONUS: Chessboard moves (BONUS PROBLEM) [100 points]¬† The purpose of this activity is to get you used to using lists of lists, in a 2-D matrix-like format. Write a program that sets up a chess…
  • Description: ¬† The class Queue defined in the file Queue.pyc, defines queue objects having the following public methods: ¬† *Queue() A parameterless ctor that produces an empty Queue *error() Retu…
  • Grep command Test your¬†grep¬†command skills by completing the following tasks: Create¬† a ¬†file named¬†diff.txt¬†inside your¬†~/workspace/project-log/¬†directory with the following format: Version :…
  • Topic -&gt; Machine learning with physics and astronomy (using python/google colab) I was given with this lab¬† Please provide correct solution for the following ¬† -Here is the lab¬† https://colab.re…
  • a simple Python script in which you do the following: a list of integers a list comprehension that performs some operation on the integers (for example, you might multiply all the numbers by five, or …
  • We’ll attempt to predict the type of physical activity (e.g., walking, climbing stairs) from tri-axial smartphone accelerometer data. Smartphone accelerometers are very precise, and different physical…
  • The following function asks the user’s age to calculate, print and return the birth year. Appropriately choose the correct keyword or function ¬†call. Answer ¬†calculate_birth_year (): ¬† ¬† ¬† ¬†x = …
  • Hello, I am creating a game with Pygame and having a troubling issue with part of the system. Essentially, the game is to admit patients to a hospital, giving them a diagnosis out of two options once …
  • All functions require the following:¬† () parameters arguments a name at least on line of code def 2. In the following code the variable radians is referred to as what?¬† x = math.cos(radians) a. p…
  • Need help with code on the following assignment. Part III: Do the Faro Shuffle (4 points) A Faro shuffle is often used by stage magicians to rearrange the cards in a deck. The deck is split in half, a…
  • Project Three:¬† Event Scoring You are working for a company that is responsible for determining the winner of a prestigious international event, Men’s Synchronized Swimming. Scoring is done by seven …
  • What dictionary value would we use to perform a grid search to determine if normalization should be used and for testing the following values of alpha? 1,10, 100
  • Open Wing IDE and create 2 files, 1.1.¬†¬†Name them Echo_client.py and Echo_Server.py. 1.2.¬†¬†Save them in a location you will know where it is #create Echo_Server.py 2.¬†¬†¬†¬†¬†¬†Star…
  • Build a graphical user interface for calculating the properties of steam by specifying any two properties.¬† A .ui file has already been converted to a .py file for you and the only code you need to f…
  • Text Classification Questions¬† ¬† ¬† We have a dataset including three categories of articles: A: 20 articles B: 20 articles C: 60 articles Answer the following questions regarding this dataset. ¬† ?…
  • Assignment 5 (50 points) Name the three types of loop structures, and explain each of them, stating the differences between them. ¬†(6 points) Write a equation that increments a variable named x by 1….
  • Hello, I am entering the following below based on the question I have. Although I am getting an error, Please let me know what I could be doing wrong and provide any educational alternative please. em…
  • CSC 535/635 – HW 1 Instructions This homework assignments consists of three parts. In part one, you will perform data analysis tasks on a provided dataset. In part 2, you will use a dataset of your ch…
  • Q4 – Clean Prices ================= Summary ——- Write a function that takes an iterator of “dirty” price data and yields an iterator of “clean” price data (via yield). ¬†The input iterator provide…
  • Records in a file may be ___________ Group of answer choices added ¬† deleted ¬† updated ¬† All of the above are correct
  • When inputed into python idle it says there’s an error on line 4 why would this be?
  • please help me. 3) Write a Python script which includes a function that calculates the volume (V) of a horizontal cylindrical segment. The formula to calculate V is given below. The cylinder has a rad…
  • Write a Python Program¬† ¬† Write a class named Employee that holds the following data about an employee in attributes: Name, Date of birth, Gender, ID number, Department. Write a program that creates…
  • Soundex System‚ÄÉSoundex is a system that encodes a word into a letter followed by three numbers that roughly describe how the word sounds. Similar sounding words have the same four-character codes. F…
  • In the following data frame: columns=[‘year’,¬†‘month’,¬†‘dayOfWeek’,¬†‘date’,¬†‘carrier’,¬†‘tailNum’,¬†‘flNum’,¬†‘origin’,¬†‘dest’,¬†‘crsDepTime’,¬†‘actDepTime’,¬†‘crsArrTime’,¬†‘actArrTime’,¬†‘can…
  • need help in writing method named move that moves a point relative to its current location (follow the pattern of the move_to method)
  • Solve p,r,c,d #python programming 0 n= &quot;stevens is awesome !! $ # split variable n on a delimited space into a list of substrings . P = ? # Get all the itemus except the first of the third substr…
  • I HAVE TO PROVIDE YOU A CSV FILE BUT I WAS UNABLE TO UPLOAD IT HERE. PLEASE PROVIDE ME YOUR EMAIL OR SOMETHING SO THAT I CAN SEND YOU THE CSV FILE . INST 126 – Introduction to Programming for Informat…
  • Below is the problem and output.¬† What I have thus far is below that.¬† Please take a look and let me know where I am going wrong on this homework assignment.¬† Thank you! Three gymnasts, Amy, Beth a…
  • Need help with question 2 &amp; 3. 2. Below, are two matrixes that each have 11 columns and 12 rows. These will be the dictionary of templates for your Template Matching program. Write a script that w…
  • I have trouble creating return statements in python. This is my one of weakest areas for p coding. Please provide me the answer for this. Would you also provide me a good advice on how to think when y…
  • 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 ¬† ¬† ¬† ¬† …
  • QUESTION 1 ¬† For a given set s , which method returns True if item is in s , or False otherwise. ¬† ¬† a. S1.__sub__(s2) ¬† ¬† b. s = set() ¬† ¬† c. s.__contains__(item) ¬† ¬† d. s.__iter__(item) ¬† …
  • Python – Write a script that computes the value of pi from the following infinite series. Print a table that shows the value of pi approximated by one term of this series, by two terms, by three terms…
  • NSW GOVERNMENT are correct 1. Conduct a test using this data. 2. Use debugging and problem-solving techniques, including tracing the code execution and examining the variables, to detect errors. 3. Co…
  • The focal point of this venture is on the utilization of navigational components to permit simple change between the different pages in a site, but other primary components will likewise be required. …
  • 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. …
  • Create a dataframe &quot;non_alcoholic&quot; for all male employees who do not consume alcohol 10. Create a dataframe called &quot;non_smoking_alcoholic&quot; with the men employees who do not smok…
  • Can you please help me write the program for this question? Does it require a while loop? I am confused as to how to start working through it. 3.2 Problem 1 (1 mark) This problem is due by the end of …
  • Exercise 5. The list [100, 200, 400, 800] gives the size of a population of bacteria at one-hour intervals. Since one hour is 1/24 of a day, how would you make a list of time points for these observat…
  • Create a list-based implementation of stacks. In this implementation, a Python list is directly used to store the items in the stack. The class¬†ListStack must have the following methods:¬†__init__,¬†…
  • Consider the following UML diagram for an Employee class:¬† a)¬†Define a Faculty class that inherits from Employee, adding an instance variable phD. You¬† must ¬†include: a constructor for Faculty¬†th…
  • I have done few problems but this one is not working out for me. would like to get some help. write a program that asks the user if they want to play a game, and at the end of the loop asks the user i…
  • please help. i need the answer not the programming. thank you Q2. Use the following distance matrix to perform hierarchical clustering using single and complete linkage method. Visually represent the …
  • Hey can I have some help with Exercise 9.4. CHAOS 9.3 . LYAPUNOV EXPONENT easily computable form: 159 F(0 + E) – F(xo)| E log F(xo + 8) – F(xo) (9.3) A = lim 1-+ 00 , 6 -0 t E IdFt (9.4) = lim – log 1…
  • I need a flowchart based on these instructions. I DO NOT need to write the program. I ONLY NEED A FLOWCHART. Thank you Class Project For your class project we will be creating an application to intera…
  • What are possible errors and exceptions that might arise in any Python program? Why would it be desirable to use prewritten code whenever possible? Why is it important that the code be well commented …
  • . Part B: Part B is about SOIVng a quadratic equation. What is the quadratic formula? The quadratic formula says that _ ‚ÄĒbi s/b2 ‚ÄĒ 4ac 2a CC for any quadratic equation like: ax2+bm+c:0. He…
  • test: IS_IN = \ ¬†[(‘is_in’, (‘a’, ”), False), ¬†¬†(‘is_in’, (‘a’, ‘abc’), True), ¬†¬†(‘is_in’, (‘a’, ‘cba’), True), ¬†¬†(‘is_in’, (‘a’, ‘ABC’), False)] IS_SORTED = \ ¬†[(‘is_sorted’, ([]), True), #l…
  • This must be written in Coral. Write a program that takes in a positive integer as input, and outputs a string of 1’s and 0’s representing the integer in binary. For an integer x, the algorithm is: As…
  • How can you transform the following code into a function? (answer directly here) import turtle alex = turtle.Turtle() for i in range(4): ¬†¬†¬†¬†alex.forward(50) ¬†¬†¬†¬†alex.left(90)
  • 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/network-scripts directory. The name of th…
  • A local biologist needs a program to predict population growth. The inputs would be the initial number of organisms, the rate of growth (a real number greater than 0), the number of hours it takes to …
  • The volume of a sphere is 4/3ŌÄr3, where ŌÄ has the value of 3.1415926535897932 Write a function called print_volume (r) that takes an argument for the radius of the sphere, and prints the volume of t…
  • In the class Worker , implement the instance attributes as f_name, l_name and salary . Create the method from_sentence() which parses a string containing these attributes and assigns them to the corre…
  • INSTRUCTIONS: Enter the correct codes for Net Present Value and the Internal Rate of Return in between ###. Answer is already given to you, Codes must be ran to match answers Question 2 — Multiple IR…
  • How would you write this program in PyCharm? Discuss any difficulties faced while writing this program.¬† ¬† Below is the content shown in the scores.txt file ¬† Name ID Score Mary 12387 95 Robert 123…
  • Develop a class BankAccount that supports these methods No missing information¬†. Develop a class BankAccount that supports these methods: .__init__:Initializes the bank account balance to the value o…
  • Task B: Product recommendation (inferred conditions) We will implement a basic machine learning functionality: based on simple binary user feedback on individual products (“like”/”dislike”), our searc…
  • Programming tasks with your group members 1) Let us continue our password problem from last group assignment. For security issue, most websites will ask the user to create a password with multiple …
  • Hello tutors, how can I code for the function PDMap(h, w, PizzaLoc) for this assignment question below(in python)? Currently my code is as follows. How can i modify the code to satisfy the question re…
  • Hello please see below are homework questions I am working on for this week. Please show me how I would do these? The first one I wrote code for and it just needs to be fixed. Thank you for all your h…
  • The sum of the elements in a tuple can be recusively calculated as follows: The sum of the elements in a tuple of size 0 is 0 Otherwise, the sum is the value of the first element added to the sum of t…
  • Q8: Find the probabilities&lt;/h3&gt; You will be given a list of lists, each sublist will be of length 2 i.e. [[x,y],[p,q],[l,m]..[r,s]] consider its like a martrix of n rows and two columns 1. The f…
  • Given‚Äč ‚Äčtwo‚Äč ‚Äčsorted‚Äč ‚Äčlists with only one ‚Äčdifference‚Äč ‚Äčbetween‚Äč ‚Äčthe‚Äč lis‚Äčts, which is an extra element, ‚Äčhow do you go about finding the index of the ‚Äčextra‚Äč ‚Äčelem…
  • Somewhere in Halifax please. Thank you.. Using google map, or a similar tool select an area around your current residential address including at least 30 intersections (include a screenshot of the sel…
  • 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…
  • —–Python Programming—– A set of numbers satisfies Bernford’s law if the leading digit d occurs with probability ŌÄd = log10(d + 1) ‚ąí log10(d) ŰŹįÄd+1ŰŹįĀ = log10 d ŰŹįÄ 1ŰŹįĀ =log10 1+d Theref…
  • If statement: Given an integer n, perform the following conditional actions: If n is odd, set output to “Hello World” If n is even and in the inclusive range of 2 to 5 , set output to “Goodbye World” …
  • Restrictions Ôā∑ You are not allowed to import anything. Ôā∑ You are not allowed to use recursion, classes, exceptions, and list comprehensions Ôā∑ From the built-in functions, you are allowed to use:…
  • Write the pseudo code or python code for applying a Machine learning Na√Įve Bayes Classification on multiclassification twitter comments using 5 different labels such very positive, positive, neutral,…
  • The code must be written in JES. The exercise is asking how to make an animation of an image slowly replacing an original image from the top left to the bottom right diagonally.. Exercise #2 0 Write a…
  • py provided below test_bulls_n_cows.py from bulls_n_cows import * TEST_GUESSES = [[ 1 , 2 , 3 , 4 ], [ 5 , 2 , 3 , 4 ], [ 7 , 6 , 5 , 4 ], [ 0 , 9 , 8 , 5 ], ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† …
  • (5 pts) Design an OOP System for an Elevator. Your design that you submit should at least 3 classes / entities that you would define.
  • How do you multiply and divide a variable in Python in Trinket? I am creating a personal monthly budget with tithing in Trinket. I want to divide and/or multiply the variable money_Earned by 10% to ge…
  • Note : Assertions are¬† not needed for this question ¬† JJonak is an Overwatch player that loves to summarize his team’s game stats with ASCII characters in Notepad. One day, he noticed that the team’…
  • hello everyone! somone is here to help me with these questions? i am stuck on it. No data is missing all in the link. if you familiar with jupyter notebook , then you can help me. I have all the data …
  • Predict the output of the following program segment. for i in range (1, 37, 9) :¬† ¬†¬† ¬†print (i, “\t”, end = ” “)
  • Can you provide an example in which the “in” keyword is used to assign a table to generate a histogram? The table would be assigned by defining first.
  • . Question 1 A. Explain what the code block in each curly brace (labelled I, II, III, IV) below is doing. START DECLARE balance, deposit, withdraw AS REAL I: DEC…
  • Indicate the limitations of sentiment analysis using standard classifier.
  • Setting up matches for a single elimination tournament is fairly straightforward. All you need to do is randomly assign the first round of games. Create a program that allows the user to enter as m…
  • Write program that reads the file line by line and extracts the first string on the line. If this is the number ‘1’ or ‘2’ ignore that line, otherwise add the string to a frequency count dictionary. T…
  • def invert_dict(d): ¬†¬†¬†inverse = dict() ¬†¬†¬†for key in d: ¬†¬†¬†¬†¬†¬†val = d[key] ¬†¬†¬†¬†¬†if val not in inverse: ¬†¬†¬†¬†¬†¬†¬†¬†inverse[val] = [key] ¬†¬†¬†¬†¬†else: ¬†¬†¬†¬†¬†¬†¬†¬†inverse[va…
  • Lab 8 – Data Generator Most application depends on data. In IoT data is collected/generate by sensors. Since, we do not have access to sensors, we will have to generate data via code. The plotting a s…
  • https://drive.google.com/file/d/1ICEfwzlDRmb9LGPBTJbWtRjQ65YLSDsa/view?usp=sharing. Background Object oriented programming languages are otten used when designing and developing complex systems such a…
  • Need Python code with output screenshots. 0.1 Part 1 Job Class (15 Marks): The job class is the base class of all the jobs. It has the following requirements: . The following attributes that are initi…
  • City xml file: bonus question: open https://opencagedata.com/api. Part (B) [2 points] For this question, you are given a xml_file path and a filters dictionary as arguments of a function filter_cities…
  • As an exercise, use incremental development to write a function called¬†hypotenuse¬†that returns the length of the hypotenuse of a right triangle given the lengths of the other two legs as arguments. …
  • By Using the pypcapfile library, make a script that will extract features of each packet. Then for each processed PCAP file, the output should have the following information for each unique connection…
  • Why is there a syntax error? ¬† #use conditionals to print depending on validity of phone number ¬† if (isValid(phoneNumber)) is True : ¬† ¬† print(getCode(cc),formatCode) ¬† else : ¬† print(“Failed t…
  • This must be written in Coral and able to run on the Coral simulator: https://corallanguage.org/simulator/ A program that takes in an integer in the range 20-98 as input. The output is a countdown sta…
  • Use python version 3. Deeply nested conditionals can become difficult to read. Describe a strategy for avoiding nested conditionals. Give your own example of a nested conditional that can be modified …
  • 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…
  • Can someone help me with this thank youu ¬† ¬†. Write a Python program to input a character and check whether the character is alphabet, numeric or special character. How to check alphabets using cond…
  • 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…
  • Write Python code to class called Dog which represents a dog. The Dog class should have properties of breed(i.e. what type of dog it is), nameand weight. The class should also have a constructor that …
  • Hello, I have some problem with a python programming. I wanted to make a model for predicting the heart disease and predict disease for the following two persons. age sex cp trestbps chol fbs restecg …
  • 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…
  • # Coding Challenge 1 # Name: # Student No: # A Simple and Compound Interest Calulator def print_intro(): ¬† ¬†print(“Welcome to the Wolving compound interest calculator”) ¬† ¬†print(“This program calc…
  • A sports event is organized by a university. One person can participate in more than one sport. The User gives the name of the players and the names of the sports they can participate in. Write A pyth…
  • Here is a sample keep this as nice and short as this¬† MAGIC FORTUNE TELLER … ASK ME A YES/NO QUESTION [Q TO QUIT]: Will the Canadiens win the Stanley Cup this year? LET ME THINK ON THIS… … … …
  • Hello, I need help solving this Lab simulation, It uses Print multiplication table for Lists and Dictionary statements and I am very new at python on so I need help solving it. It is very difficult. I…
  • I have done most of it but where it says high values should be white and low values should be dark in that retrospective colour, I am not sure how to do it.¬† Also 4. and 5. I am unable to work out.. …
  • Can u please help me with this. I have both “izzle(word)” and “pig_latin(word)” function. In “language_game” we are supposed to use either izzle or pig function. With this knowledge write the followin…
  • x = 5 if x &gt; 5: ¬†¬†¬†¬†print(“first”) else: ¬†¬†¬†¬†print(“second”)
  • Exercises 1 and 2 are complete. I need help with exercises 3, 4, and 5, please. ¬† Context: Exercise 3 is a bubble sort, so the worst case is the square of n.¬† ¬† Can you please help solve these prob…
  • Solve this problem using python. The experiment consists of two independent tosses of a fair coin, let X be the number of heads obtained. ¬† Define the random variable, define its PMF and plot it. ¬† …
  • 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, …
  • Can you help me for this question in python by using google colapse thank you. 1. Area of a Circular Sector: Write a d r area of circular sector() which . takes 2 numbers as parameters . r – radius of…
  • def addListElements (aList) : ”’ -write a funciton that takes in a list (aList) of items and returns a tuple of length 2. -The 0th element of this tuple should be a sum of all the ints and floats in …
  • About the Data sets required for solving the question: You are provided with data from two separate sources: BANA-680 ¬†OL AuditFees201019¬†contains audit fee information from the Audit Analytics data…
  • https://colab.research.google.com/drive/1o93HdykeFxotTZ4QdoJ89ot3jdnKXMhz?usp=sharing ¬† I want to request information for different countries such as United states, France, Brazil, Canada, Argentina,…
  • Please type or write everything out neatly! Thanks 1. Open the terminal and using vi/vim create a new script and name it lab4 2. Insert at the top of your file a comment with your name, class and sect…
  • You are provided a text file ( temps.txt ), which has the average temperature of each month in Fahrenheit . Here is a program called readtemp.py which takes a text file name as command-line argument, …
  • I would like to ask How to choose a random question in a file phyton For example I have assigned to create 6 questions from 5 topics The system must print out 2 questions out of 6 question ran…
  • Q#3 Write a program that reads the contents of file Cities.txt into a list.The program should ask the user to enter the name of a city, then displays the number of times that the city has been repeate…
  • Create/Write a Python dictionary that returns a¬† list of¬†values ¬†for each¬† key . The¬† key ¬†can be whatever type you want.¬† Design the dictionary so that it could be useful for something meaning…
  • Requirements : 1. Upload the wine dataset from the link in the comment below and perform all the steps given below. 2. Take a screenshot of the results, it has to be a full screen shot showing the …
  • What is an array? Is there a difference between a variable vs array? What is an off by one error? 2. Look at the following pseudocode: ¬† constant integer SIZE = 3 ¬† Declare integer numbers[SIZE] …
  • Please implement the following calling accelerate () function flowchart in Python. calling accelerate () function calling brake () function with calling atop () function: 0 xit code 0 e.0 Start wel ca…
  • Encode following knowledge in Prolog and also write Prolog version of the given queries; ¬† “Asif to play tennis, while Umer and Fahad play football. Kashif regularly plays hockey. Tariq, who is frien…
  • Take user input and give corresponding output. A user is considering different options of cooking chicken nugget. Depending on user input, this program should give different cooking instructions. Ther…
  • Problem description If two people have to decide who gets the last piece of a birthday cake, they could play Rock, Paper, Scissors. But what if there are more than two people? The group could play a p…
  • Hello, I am working on a python programming assignment and I am having some trouble. I cant seem to figure out how to decrypt a plain text Caesar cipher. Here are the instruction and below that is my …
  • Part 1 How can I define a class named¬†Book. Each instance of Book should have three instance variables: title author checked_out. The Book constructor should take two arguments,¬†title¬†and¬†author. …
  • . Question 11 (4 points) Rewrite the commented out code using list comprehension: scList = [80, 85, 70] newScList = for pos in range(len(scList)): newSc = scList[pos] + 10 newScList.append(newSc) pr…
  • . 6. For the two matrices below, please write a Python program using numpy arrays that calculates their sum and dot product (3 points) A=[[1@@] B=[[111] [020] [111] [003]] [111]] Generate another ra…
  • Hello, This is a question related to big data, the MapReduce program. ¬† I want to work with key-value pairs about the visitor numbers of a movie for several weeks. The key denotes the name of the mov…
  • Write a Python function that will accept as input three string values from a user. The method will return to the user a concatenation of the first two strings and will print the third string in rever…
  • I’ve put all the information here, so don’t leave any comment such as missing information , unless you can solve it. thanks! ¬† Essay Analyzer Many websites out there allow you to upload your essay an…
  • Programming #1 Solution: ”’ CODE_LIST = [[‘ ‘, ‘/’], [‘A’, ‘.-‘], [‘B’, ‘-…’], [‘C’, ‘-.-.’], [‘D’, ‘-..’], [‘E’, ‘.’], ¬†¬†¬†¬†¬†¬†¬†[‘F’, ‘..-.’], [‘G’, ‘–.’], [‘H’, ‘….’], [‘I’, ‘..’], [‘J’, …
  • I have trouble creating the Choropleth Map using Python. All of the information related are listed below: ¬† Here is the ipynb file of this question: https://drive.google.com/file/d/11DvTm_uEGLgEm-ory…
  • Just make me an Abstract and Introduction and Conclusion of this.. 1. Assessment classifications First Class (&gt;= 70%) The coursework demonstrates: Sound knowledge of the principles of object recogn…
  • Hello I need help with this exercise problem, this exercise was done in excel, but need to be converted in phyton, which I cant seem to figured it out. The problem consist with a small business that r…
  • Given breadth first search function as below. Write bfs_new(a_tree, start, goal), which does the following. We store one additional dictionary variable, called parent, to store the parent of each node…
  • The Itertools.permutation() function from itertools module falls under the combinatorial Generators. itertool.permutations() method provides us with all the possible arrangements that can be there for…
  • A sequence of numbers begins with P(0)=1, P(1)=1, and P(2)=1 as the first three values. After that, each number in the sequence is found as P(n) = P(n-2) + P(n-3). (a) Write a function that is given a…
  • The main part of the program will do two things.¬† a. First, it will obtain the values of the four required inputs. It will do this by calling a function named getInput(). The function will be passed …
  • is there a way to solve this with above helper function and limits nested blocks to 3? Thank you!
  • design a ¬†Fuzzy Logic¬†Control Synthesis for An Airplane Antilock-braking System in python?
  • What is the best program? Please help For Loop Instructions In this assignment, we will do something a little different. You will create a program that outputs a table from 1 to 5 using what you’ve le…
  • What was the main reason we chose to go with a linked implementation for the binary search tree instead of an array-backed implementation (similar to what we used for the heap]? it would be more diffi…
  • How do I code a function that takes a list of symbols and two integers as parameters and¬†prints¬†a specific inverted mirrored right angle triangle using a character in the list specified by the integ…
  • . import warnings warnings . filterwarnings(&quot;ignore&quot;) import pandas as pd import numpy as np from sklearn import decomposition from sklearn. model_selection import cross_validate from skle…
  • Describe the difference between data flows, data stores, and processes.
  • 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…
  • The following table shows a subset of observations made on a set of binary variables. According to the Jaquard coefficient, which pair of observations would be most similar? ¬† Observation X1 X2 X3 X4…
  • Study the syntaxes in this image file: sample.PNG ¬† ¬† ¬† 2. Go to this Online IDE .¬† 3. Create a Python script that will compare two (2) numbers entered by the user. Refer to the attached image …
  • . 1.7 Exercise 6 (1 Points): Now that we have our dictionary which maps actor names to a set of that actor’s costars, we are going to use the networkx package to perform some analysis. The networkx …
  • Do the task in google docs. https://docs.google.com/document/d/1FZFBrhWaus50LQw3DQKttu3jNiWC3RC9E-DFO2vgun8/edit?fbclid=IwAR1hxaUVNgmj7X1kMIRQdjSoOPjhIT2j_3pjMNTMRuKqiyqC0JZThC8Q7z8 ¬† ¬†Here is the g…
  • program and solve using jupyter notebook/ python. provide codes and graph answering the required tasks. please do not copy someone else’s answer, give detailed solution with explaination. this is the …
  • An anagram of word A is word B that can be formed by re-arranging the letters of A. For example, the word pot is the anagram of the word top. Your function will take as an input the name of a file of …
  • Make a program that generates 100 random integers that are either 0 or 1. Then find the longest run of zeros, the largest number of zeros in a row. For instance, the longest run of zeros in [1,0,1,1,0…
  • 20 pts Instructions Read the problem description below. Create a decomposition and a list of inputs and outputs. Make sure these are clearly marked at the beginning of your program and commented out s…
  • plz help. List puzzles The first half of the problem focuses on lists. In particular, you will be constructing new lists from the following: pi = [3, 1, 4, 1, 5, 9] e = [2, 7, 1] We’ve given you these…
  • . Hand trace the following program if the input is [ ommchw&gt; 1 okay – &quot;true&quot; 2 while okay ‚ÄĒ “true&quot;: 3 grade ‘ input(&quot;What letter grade did you receive (A, B, C, D, F) ‘2 &…
  • I’m trying to make a program called “re_sort.py” that when run on the command line, takes a filename of a CSV file (with header) as input, then reads the CSV file, sorts the file by the values of the …
  • Given Code: ¬† #Write a function called average_rainfall. average_rainfall #should have one parameter, a list of integers. The list #represents daily rainfall measurements for a certain area. # #Howev…
  • I need help with this python program. The question: In your program, friends.py, we will practice working with sets. Download the file, people.txt, from Canvas. Read in the file and create a dictionar…
  • wirte a function named text_count that takes in a directory and a filename. It should then read this file from the directory and return the number of words which are in this file. Modify the functio…
  • A palindrome is a sequence of characters that reads the same as the sequence in reverse. For example, ‘noon’ and ‘level’ are palindromes, while ‘moon’ and ‘lever’ are not. The function¬†isPalindrome f…
  • The picture below shows an assignment that I’ve been trying to do for a couple days so far. I just have no idea on how to separate the bad IPs from the bad IP list and the server log lists. …
  • code in python programming that does these functions You’ll need at least 1 rule within each bubble category (bigger, small, same size). ii) Some of your rules must concern the bubble size alone. ¬†ii…
  • I failed to solve the Python code for the attached assignment. Please give me the correct code. The following is the code I came up with: import urllib import xml.etree.ElementTree as ET url = ‘http:/…
  • hi, I have this problem in python using sqlite query i need to get the result of SUM() in int type, but the type is NoneType. how can I handle this? ¬†rows=db.execute(“SELECT SUM(shares) FROM buy WHER…
  • . Python Write a function solution that, given a string S of length N, replaces all occurrences of &quot;plus&quot; with &quot;+&quot; and all occurrences of &quot;minus&quot; with &quot;..&quot;. E…
  • Brilliant_player_csv: We should have an input CSV file and output text file, print that highest rate fruit should have the name “king”, second highest should have “Prince”, and third highest “princess…
  • I need help with this assignment, as I am not suppose to import the csv Assignment 9 – Language Translator . Your program must complete the following tasks: o Read in a CSV file with words in 15 langu…
  • describe or interpret the role of the gini score criterion in the decision tree algorithm. How does this compare to the entropy impurity measure? Finally, sklearn uses the CART (Classification and Reg…
  • http://prntscr.com/l958dc Hello, I’m struggling with this question, I’d appreciate any help.
  • Question Screenshot Question 5: Write a function that will read in a text file and return a dictionary of disemvoweled words. Dis- emvowled words are words in which the vowels have been removed. These…
  • Programming Principles Assignment: Individual Programming assignment (“Dice Game”) Assignment Marks: Marked out of 20, (15% of unit result) Due Date: TBA (see moodle) Background Information This assig…
  • Python: draw a bar chart ¬† Here is the full code: ¬† from bokeh.io import output_notebook, show from bokeh.plotting import figure output_notebook() ¬† import pandas as pd import numpy as np import ma…
  • Python Language &lt; &gt; learn.zybooks.com C Facebook ecampus: Home Content 3.27. LAB: Exact change zyBooks My library &gt; CYB 130: Object-Oriented Scripting Language home &gt; 3.27: LAB: Exact chan…
  • Please what’s wrong with my code? Help me fix it. #ask user to enter temperature in Fahrenheit¬† tempF = float(input(“Please enter temperature in Fahrenheit : “))¬† #formula to convert Fahrenheit to C…
  • Python Basic Question I have days = [“Mon”, “Tue”, “Wed”, “Thu”, “Fri”, “Sat”, “Sun”] How to get the result below: ¬† (Pick the first three values in three rows) ¬† Mon Tue Wed
  • In this problem we will draw from your probability plot understanding to create a function that for any dataset reports what is the closest distribution fit between: Gaussian (norm) Exponential (expon…
  • [1 pts] Part A. Write a program for the GW Admissions Office. a) Request the staff to enter a string, to indicate someone’s NetID. b) Generates an email address, by appending &quot;@gwmail.gwu.edu&…
  • And, you may run the following HDFS commands to test if hdfs works well at your ORACLE CLOUD Lab: HVAC Sensor Data Analysis in Hive using ORACLE CLOUD account: Objective -bash-4.1$ hdfs dfs -1s introd…
  • Write a program that uses modules and the implementation of different searching and sorting algorithm. Create different module for searching algorithms (Linear and Binary) and sorting algorithms (Inse…
  • Please use Python There is no preference needed, just basic python ¬† Analyze how to use a loop control variable, create¬†nested¬†loops,¬†avoid¬†common¬†loop¬†mistakes,¬†use¬†constants¬†witharrays,¬†s…
  • Question#1 Consider a bird classification task. Suppose your chosen algorithm performs as follows: ‚óŹ Training error = 2% ‚óŹ Validation error = 12% 1.1 Identify whether your algorithm suffers from a…
  • )¬†sing the Vole Architecture instructions, how can I make program that will sum the three values A0 55 and BB and store the sum in memory cell CC Suggested algorithm a.¬†¬†¬†¬†¬†¬†Load…
  • Don’t copy paste from internet. 2. Consider the graphic matroid Gr(G) for the (undirected) graph G = (V. E) given on the following figure: (i) Let A = E\{ab), where E is the set of all arcs of G. Find…
  • Using Python, make a user to display, sort and update as needed a List of U.S States containing the State Capital and State Bird. You will need to embed the State data into your Python code. The user …
  • use python programming language Language Python 2 Left 2. Log Analysis 1 &gt; #! /bin/python ALL 10 # 11 # Complete th Write a program to analyze a log file to get the 50 12 # percentile of the &quot;…
  • Not sure how to code the S_eff equation in python/anaconda/jupyter notebook, so my attempted code is below, let me know if you need anymore information and here is the file I’m using, this file has mu…
  • # Question 3: The following information is used in all parts of this question. Axel’s daughter has 19 children’s books in her collection. They all have short titles: ‘A’, ‘B’, ‘C’, …, ‘S’ (there is …
  • Which of the following HMM problems uses the Viterbi Algorithm to estimate the solution? a) State Estimation b) State Sequence c) Learn HMM d) None of the above e) All of the above List all the answer…
  • I am trying to run the these two models, but not sure what could be the issue with it, the dataset can be found on this website https://archive.ics.uci.edu/ml/datasets/Heart+failure+clinical+records.?…
  • Write a Python program that takes input P and S as in Question 1, generates the truth table for S, and outputs Tautology, Contingency, or Contradiction, depending on which category S falls into. To sh…
  • How do you compute the following on Python ? Steps or codes will do. Thank you 1.¬†¬†¬†¬†¬†Working out FICO &amp; LTV (Provide your code, output for the model and interpret the output) ¬† ¬∑¬†¬†¬†¬†¬†…
  • 8 LAB: Using the DecisionTreeClassifier() on the NBA data Construct a decision tree to classify whether an NBA team won or lost a game based on the team’s points in the game, elo score entering the…
  • hi, I need help coding the following 2 functions, am having much trouble going so. please teach me what I should do ¬† createEssay(dictionaryOfWords) — in this function you will ask the user how many…
  • In python! Relate the fft package to A k ‚Äč = ‚ąĎ j = 0 N ‚ąí 1 ‚Äč a j ‚Äč e ( N ‚ąí i 2 ŌÄ j k ‚Äč ) and then relate is to the Fourier coefficients produced by function values f 0 ‚Äč ,…
  • Write a complete Python program which reads an int number of days, then prints out the number of int years, int months, and int days that are equivalent. To simplify your calculations, assume each yea…
  • question 2 2. Create program that replaces holidays with dates A. Version 1 1. Create a dictionary of 8 or more holidays for 2020 listing dates as strings of the form ’12/31/2020′. If a holiday cons…
  • Create program named function_can_change_list_parameter.¬†This program should demonstrate that a mutable value object passed to a called function as a parameter CAN be changed within the context of th…
  • no importing anything¬† Doctests and method headers below ¬† Question 4: ¬† In this question, we will be implementing classes that abstract different weapon types in the game VALORANT.¬†Doctests for…
  • Make five dictionaries, where the name of each dictionary is the name of a pet. In each dictionary include the breed of the animal and the owner’s name. Create a list that has these five dictionaries …
  • A bank has three types of accounts: checking, savings, and loan.¬† Following are the attributes for each type of account:¬† CHECKING: Acct No, Date Opened, Balance, Service Charge¬† SAVINGS: Acct No, …
  • Need help with this code. Has to be the exact output the problem wants. Thanks. Shur Prof. 2 X X 3 Co C Get Varia Prof. Prof. W Pyth W Pyth W Pyth contests/1500s22/challenges/2-python-crazy-sentence-p…
  • This assignment will give you practice with interactive programs, if/else statements, collections, loops and functions. Problem Description A small car yard dealing in second hand cars needs an applic…
  • python import os ¬† ¬† os.environ[‘MPLCONFIGDIR’] = “matplot-temp” import numpy as np import matplotlib.pyplot as plt from sklearn.preprocessing import MinMaxScaler from sklearn.svm import SVC from sk…
  • 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…
  • txt Joe,84.67,21.53,66.96 Mick,13.79,51.42,79.52 Sarah,4.37,0.92,95.68 Jack,22.45,86.06,79.73 John,39.56,85.0,99.58 Nancy,18.92,71.38,13.15 Tara,92.79,45.8,90.07 Robert,74.88,59.91,4…
  • You are working at a company with many Centos servers running. The senior system administrator has asked you to automate a task: each virtual machine needs to have a backup script called backup.py ins…
  • . CHALLENGE ACTIVITY 11.4.3: Function with loop: Shampoo. Write a function print_shampoo_instructions() with parameter num_cycles. If num_cycles is less than 1, print &quot;Too few.&quot;. If more t…
  • URGENT PLEASE HELP AND EXPLAIN THE CODE. PLEASE USE BASIC PYTHON LANGUAGE AS THE CLASS IS AN INTRO TO PYTHON CS-1113. ¬†. 9 weight = float(input (&quot;Please enter your weight in pounds: &quot;) ) 10…
  • I am unsure how to code this practice problem: Statistics are often calculated with varying amounts of input data. Write a program that takes any number of integers as input, and outputs the average a…
  • . Chapter5: Problem 2 Previous Problem Problem List Next Problem (1 point) This question concerns block cipher modes. We will use a simple affine cipher, which can be expressed in C as follows. char…
  • def exists(aList, element): ¬† ¬†¬† “”” ¬† ¬† Return True if element is found anywhere in aList ¬† ¬† or False if element is not found in aList. ¬† ¬† “”” ¬† ¬†¬† return not True assert (exists([1, 2,…
    • Describe the basic algorithm for performing local search. Give an example of a search problem for which it is an appropriate solution, and an example of a search problem for which it is not. When …
  • How would I try a python program that calculates a car’s gas mileage. The program should ask the user to enter the number of gallons of gas the car can hold and the number of miles it can be driven on…
  • AbacoStack is a game invented for this course so don’t bother looking for it online. ¬† You have a structure formed by three side by side stacks that are limited in size. For this game we will limi…
  • Problem 2: The dataset¬†Education – Post 12th Standard.csv¬†is a dataset that contains the names of various colleges. This particular case study is based on various parameters of various institutions….
  • python pls help A group of BIOTECH students completed an experiment three times and recorded their IDs, and the concentration of a solution in a file named data.txt. A sample file is shown below, IDO0…
  • Your pat must include an algorithm and instructions for running your program. Now that your team has planned everything, write a program named Lab7a_Act1.py that sets up a checkers board and lets user…
  • Recursion to find largest item in unsorted list:. Ques 2. [15 Marks] Write a function that will accepts a list as an argument and return the largest value in the list. The function should use recursio…
  • What are the values of a ¬†and¬† b after the loop ends? ¬† x¬†=¬†3 ¬† y¬†=¬†5 z¬†=¬†True while¬†z¬†and¬†x¬†!=¬†y: ¬† ¬† z¬†=¬†not¬†z ¬† ¬† x¬†=¬†x¬†–¬†2 ¬† ¬† Select one: x=3, y=5, z=True ¬† ¬† x=3, y…
  • Python and missingness Given the following dataset survey , impute the missingness in column age using probabilistic imputation from the observed data. I.e., your &quot;empirical distribution&quot; fr…
  • I couldn’t crop the last portion from this part. After the Path: /index.html port: 2016 For this part turn in the url.parse.py Thank you!. Lab 2: Get Started with Python In this assignment, you will l…
  • modify the program that you wrote for exercise 6 so it handles the following exceptions:
  • Here is my homework with my source code, so I would like to have tutor to give me some comment based on my source code work to the exercise’s situation. Please note that you just need to leave a comme…
  • Problem: Given an amount of money (in cents), calculate how to equal that amount using as FEW coins (quarters/dimes/nickels/pennies) as possible ¬† Constraints on input: We assume a nonnegative intege…
  • 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…
  • make a simple python code using the TextBlob package using the IF statement.¬† https://textblob.readthedocs.io/en/dev/quickstart.html#quickstart
  • How i¬†can show positive sound sample value and set all negative sample values to zero like this image below?. No File Name X Play Entire Sound Play Before Play After Stop Play Selection Clear Selecti…
  • What is the dimension of the ndarray¬† np.array([[[1, 2], [3, 4]], [[5,6], [7,8]]]) ? ¬† ¬† 2. What value does consec.size return, given¬† consec = np.array([[[1, 2], [3, 4]], [[5,6], [7,8]]]) ? ¬†…
  • Complete the Python function getData to collect data and combine the data forming a Dataframe, weather as illustrated below. Design your unit test cases and display the result. In [74]: weather Out…
  • this is actually one question relating to python. All above are explanations. Please help me with the whole problem 1 at the bottom. Please explain.. PART 1 In this problem, you’ll build components an…
  • 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 …
  • Need a python Program with a abstract parent class shape, which is inherited by three child classes square, circle and rectangle , which helps in calculating the perimeter of the shape selected. The p…
  • If your python script contains two or more functionalities, how can one run the script continuously to allow the user to select any one of these functionalities without restarting the program in a new…
  • Please create a bucket list generator and selector by following these requirements: ‚ÄĘThere should be a minimum of 10 different classes and methods used to include built-in and user-defined. ‚ÄĘThis …
  • Feedback? CHALLENGE ACTIVITY 3.1.1: Reading multiple data types. Type two statements. The first reads user input into person_name. The second reads user input into person_age. Use the int( function to…
  • Optimal Least Squares Regression question: The relevant link: https://drive.google.com/file/d/1Mvt3EDArVGdIEiN9h-OmvhB6yfApIGt0/view?usp=sharing Recall that the central idea for finding the slope of…
  • Can someone please help? It doesn’t matter if the code isn’t perfect and assume data if you cant find it in the doc or let me know what exactly you need in the comments. Do not use numpy/pandas Write …
  • Need some help. QUESTION 7 Write a Python function called calc_discount that takes no parameters and returns nothing. Save your file as &quot;MT107Ainitials.py&quot;. This function asks the user for: …
  • Section 6.5 – C… Sept 26-Oct 2… https://learn-u… Log In | Course… My Drive CS160 Computer Science I Lab 5: Objective Practice if statements Practice with loops Practice with formatted output A…
  • 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 …
  • Hi, I am looking for some help with Python Spark.¬† I am trying to make an RDD which takes another RDD and¬† adds it’s partition number to it.¬† I started with… A = sc.parallelize(range(100),4) I am…
  • I have an answer about how to build function that is dependent on the last number on a list. This is what I am trying to recreate in MindTap: Here is an example: Enter the starting salary: $30000 Ente…
  • The file can be found here: https://drive.google.com/drive/folders/1kP_NpQZpUmQhhrOaAFgHS9uMdtSCFNzq?usp=sharing In this HW, we will study the pay gap between men and women who have jobs in San Franci…
  • ## ## File: assignment10.py (STAT 3250) ## Topic: Assignment 10 ## ## ¬†You will be working with Twitter data related ## ¬†to the season opening of Game of Thrones on April 14, 2019. ¬†You will use ##…
  • Write a Python program which prints the integers from 1 to 50. However, Numbers between 1 and 50 that will be divisible by 3 will print “bang” in those places and which divisible by 5 will print “YooH…
  • Please define this function in python Restrictions: You must use recursion to solve the problem. Remember, this means that as your code progresses through the problem the same function keeps calling i…
  • I need the code please2 rary &gt; CYB 130: Object-Oriented Scripting Language home &gt; LAB: Output range with increment of 10 zyBooks catalog ? Help/FA 4.16 LAB: Output range with increment of 10 Wri…
  • Q2: ¬†D efine a function percent_to_numeric that takes in two parameters df (the DataFrame it will operate on) and col_name (the column name of the column that we want to calculate information about) …
  • 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/…
  • I have to define the function without using loops. I have to use recursion. How would I go about the code while keeping the restrictions in mind? Global variables are also not allowed.
  • The dataset belongs to a leading life insurance company. The company wants to predict the bonus for its agents so that it may design appropriate engagement activity for their high performing agents an…
  • I need help on those questions related to python language aka Jupyter notrbook! Create a function f that takes as input two dimensions in and n of a matrix of m rows and 11 columns and return a matrix…
  • # 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 …
  • 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…
  • Hi, I need some help revising the following code below: ¬† ### Implementation of LibraryItem Class class LibraryItem(): id_code=” title = ” location = ” checked_out_by = ” requested_by = ” date_c…
  • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
  • I can’t figure out the correct code for this question. Does including the handicap mean a reference to it in the function body? 25 Precondition: last is an integer, last &gt;= first Collapse E4: Break…
  • Before exiting, ask the user for the name of an output file.¬†Open the file and write the stored grocery items to the file, one item per line.¬†Be sure and close the file once you are done writing to …
  • Help with function creation:¬† ¬† ¬† This question asks you to create a tool to estimate the average time customers need to wait outside a store before being allowed to enter. The store has set a limi…
  • In cryptography, a Caesar cipher is a very simple encryption and decryption technique in which each letter in the plain text is replaced by a letter some fixed number of positions down the alphabet. F…
  • . Submit a single Python (.py) script that contains your function to complete the lab. Your file should be named lab07_rsa_utorid. py (in lowercase only). Your file should contain a function named l…
  • Task E: Cousins (4 marks) Implement a function cousins (person, family) with the following specification. Input: A string containing a person’s name, person, and a family tree database family as speci…
  • Computer Science using puthon 3+ amd based excel.csv file above write-a program that will print out the following 1)read the data and give output 2) normalized the data and calculate 3) create hierarc…
  • def change_time(time, seconds): ¬† ¬†time.second += seconds ¬† ¬†if valid_time(time) != True: ¬† ¬† ¬† ¬†while time.second &gt;= 60: ¬† ¬† ¬† ¬† ¬† ¬† time.second -= 60 ¬† ¬† ¬† ¬† ¬† ¬† time.minute +…
  • Given Scenario: ¬† There are 6 dice for a new game that Ben looked up online. Ben has planned to bring his game to GMU for a competition. He and Izzy were collecting the dice, three per person. They w…
  • how do i get examples, questions and answers exercises on IPO chart programming
  • Course Registration application ( CRA ) (35%) ¬† In this programming assignment, you need use OOP to develop a Course Registration application (CRA) to allow students register courses.¬† ¬† In CRA, ea…
  • This assignment is ungraded. The problem and my code response are included in the following problem. Please give me the correct Python 3 code that solves this problem: #Write a function called get_int…
  • Require a class definition as defined below: Require a class definition for the Circle class. The class has two instance variables, center and radius. Note that the center is a tuple and contains t…
  • P1 Task 3: Reading the data set In this task, your team will use the function design recipe to develop functions to read the data set and store it in different formats using combinations of lists, set…
  • To start this part, you are going to create a new file called check2_helper.py and create a function in it called make_square. Your function takes as an argument an image object, crops it to make it s…
  • . Requirements The marker will simply run your script, but you do need to organize things reasonably into functions! e.g. One for retrieving the price of gold One for retrieving the price of bitcoin…
  • Program that prompts the user to enter three numbers and invokes the function to display them in increasing order. (Sort three numbers) use the following function to display three numbers in increasin…
  • This is the question below, the document is also below the question. create_network(file_name) (35 points) This is the most important (and possibly the most dicult) function to solve. The function nee…
  • Given 3 floating-point numbers. Use a string formatting expression with conversion specifiers to output their average and their product as integers, then as floating-point numbers. Output each floatin…
  • import random for i in range( 5 ): num = random.randint( 1 , 10 ) if num &lt;= 2 : continue print (num) Which statements about the program above is true? A. The program always generates 5¬†random inte…
  • The data set is the following : International football results from 1872 to 2020 An up-to-date dataset of over 40,000 international football results. I have attached the data as a csv file. Q- What is…
  • Define a python function name remain to take two integer parameters and return the remainder when the first integer is divided by the second. Multiple lines of code are required. Indicate indentati…
  • Considering how objects list in their own memory space and can behave almost like independent entities, what specific programs could you create with OOP concepts?
  • Array Implementation of Linked List A linked list is a sequence of data elements, which are connected together via links. Each data element contains a connection to another data element in form of a p…
  • 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 +…
  • Which of the following is wrong about clouds? a) One of the Cloud disadvantages is Internet reliability¬†which must be considered as risk b) Most¬†expensive cloud is the private because the full servi…
  • DESCRIPTION: Implement classes Address, Customer, Account, CheckingAccount, and SavingsAccount. Your program must be properly formatted (use pylint) and pass all the tests provided (use pytest). Bank …
  • Please, help me with the code for step 4. My team is ‘Hawks’. Thank you. ¬† ¬†. Step 4: Hypothesis Test for the Population Mean (II) A team averaging 110 points is likely to do very well during the re…
  • Week 4 Discussion Post a Python program that accepts at least two values as input, performs some computation and displays at least one value as the result. The computation must involve calling one of …
  • Python Programming Assignment 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 each thief indepe…
  • Prerequisites: Collect the daily stocks prices of: JPM (JP Morgan), DIS (Disney) and WMT (Walmart) from last year (2021). Then create the daily returns (simple returns) of the 3 companies. The study f…
    • In the cell below, create three variables:¬†var_int,¬†var_float, and¬†var_combined.¬† var_int¬†should store an integer var_float¬†should store a float var_combined¬†should use a math operator to ad…
  • Group of answer choices average distance between the records distance between the furthest pair of records distance between two centroids distance between the closest pair of records
    • Input: Ilovecollege# ii. Expected Output: Your password cannot end with a #. ii. Actual Output Please enter a password. Ilovecollege# Your password cannot end with a #. Please run program again. &g…
  • Write an Animal class (this is based on the example from Chapter 8, and you are welcome to start with what is included there, you will need to make modifications).¬† Your object is to make this client…
  • In this hands on we are using boston housing price dataset. The data importing part has been done for you. Run the below cell to import the data and view first five rows of dataset In¬†[1]: from sklea…
  • Why is my output for new salary not matching with the figure, based on my code? PYTHON: Write a pay-raise program that requests a person’s first name, last name, and current annual salary, and then di…
  • yabe online auctions requires its sellers to post items for sale for a six-week period during which the price of any unsold item drops 12 percent each week. for example, an item that costs $10.00 duri…
  • http://prntscr.com/l5zdm6 Python homework, need help, thanks.
  • I need help with editting my code. I included the link to the starter code and csv file in the description.
  • A certain image contains a number Q of differently coloured pixels. There are not enough different pixel values available to represent these and so a method of approximation is needed. Describe an app…
  • Hi, good day. I’m trying to write a new row to old csv files in python, and it will be updated every time when I run the program. I were tried to append the new row,but it was deleted my old data… A…
  • Which of the following is not true about a CSV file? a. Each row or record in the file usually ends with a new line character. b. The csv module is a standard module so you don’t need to import it c. …
  • Write down Object oriented code in Python for a Digital Alarm Clock, that represents Time in both 24 hrs. and AM/PM format, that we can set in settings of clock. Full Time is shown i.e. in HH:MM:SS. A…
    • For the following problem, submit a flowchart and screenshots of your program code and the output of the program. Set the first score to zero. Ask the teacher if she wants to enter a score. If the …
  • program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singu…
  • Use the stocks Spark data frame¬† Use Sparks ML algorithms for the following. ¬† For each of the following, do one set of predictions using the entire dataset, and another set of predictions using 7…
  • Find a dataset that can be used for clustering. Explain the dataset (such as what the variables are, what is used for, etc.).
  • how to push desktop notification when use clicks the submit button in the html form, using plyer module in python django?
  • Could you help me with the python coding? I have given txt file, and two .py file. (This is the .txt file content below) gmason|George|Mason|123456|BB12|1000 gwash|George|Washington|45678910|AB45|900
  • What is printed by the Python code?¬† for¬†i¬†in¬†range(1,7):¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†print(i,¬†end=”¬†“)¬† I keep getting invalid syntax. Anyone know how to get the output?
  • Part 1 I need to encapsulate the following Python code in a function named¬†my_sqrt¬†that takes a as a parameter, chooses a starting value for¬†x, and returns an estimate of the square root of¬†a.¬† w…
  • CREATE a PYTHON PROGRAM OF THIS AND SEND THE PICTURE OF OUTPUT OF CODE Program D: Ackermann’s Function 1. Ackermann’s Function is a recursive mathematical algorithm that can be used to test how well a…
  • Hi there, I have a question for one of my homework questions. So basically I am operating a robot with python. The robot has six potential pathways to go to and pickup a container since there are six …
  • calculator program in Python with the following characteristics: It must be at least 50 lines of code excluding comments It must have the following functions:+,-,*,/, SQRT, and work with decimal numbe…
  • Hello, I was trying this with using def, list, and string and now I’m stuck. Would you please help me with this? You will be given a list of numbers. Each number is assigned a score. Its score is dete…
  • USB memory stick is an example of which of the following components of computer architecture?
  • Question 1 Create a function named¬† feet_to_inches(ft) 1.1 Add assert to check ‘ft’ is an¬† int ¬†with error message = ‘feet is not an integer’ 1.2 Convert ‘ft’ to ‘inches’ 1.3 Return the value of ‘i…
  • Auto-graded programming assignments may use a Unit test to test small parts of a program. Unlike a Compare output test , which evaluates your program’s output for specific input values, a Unit test ev…
  • I am using a Jupyter notebook and I am trying to provide the HTML code for the “Current Estimates” web page scrapped at the time when the scraper was run and the csv file was generated. Do I use a Pyt…
  • my professor keeps saying this is wrong because it doesn’t work for the last test where he imports a random large list ¬† I have asked for help on this problem multiple times can someone help again¬† …
  • Sales Bar Graph a program that reads in the sales for five stores from a data file. Here is the data to create a bar graph as follows:¬†SALES BAR GRAPH:¬†(Each * = $100) ¬†Store 1: *******¬† Store 2: …
  • Good luck on your CSC108 Final Exam! — The CSC108 Team Question 11 Estimated Completion Time: 2-3 minutes Which of the following are possible lists after 3 passes of a sorting function based on inser…
  • I am able to run this Java program but I am not able to get the expected output from corresponding test input we were 6 files of output and input , I have attached one as sample ? Can someone write th…
  • it keeps telling me that there shouldn’t be spaces after each row but I can’t seem to get them to now have spaces. Any ideas on what I am doing wrong? &lt; &gt; learn.zybooks.com C + B Grades – IT-140…
  • I’m trying to make a program called “re_order.py” that when run on the command line, takes 2 file names; an input csv file and output file name. It opens the input CSV file, reads it and writes out th…
  • Understanding Dataset: CSE-CIC-IDS2018 (Q2). Design and Build a Machine Learning (ML) technique (15 marks). Every member of a group should go over https://spark.apache.org/docs/3.2.0/ml-guide.html and…
  • Use Any Dataset from Below Link https://catalog.data.gov/dataset?res_format=CSV From Above link download any data in CSV format then read that data in python, afterwards build a code where python code…
  • data = list(map(lambda x:list(map(lambda y:toFloat(y),x.replace(“\n”,””).split(“,”))),starFile.readlines())) ¬† 2. star_dict = dict(map(lambda x:(x[3],tuple(x[:3]+x[4:])) ,data)) ¬† This is a reall…
  • Problem: Analyze the data in price.x|sx. Use Seaborn library wherever it makes sense. address: address of the house price: market price of the house (in thousands of dollars) acres: property size in …
  • Python program such that when someone pings your RPI3 ,an LED on the Pi is turned on. Linux commands can be used within the code. I’m having the most trouble with trying to figure out how to detect wh…
  • Write the function “radToDegree” that takes a radian value and converts it to degree. You can check this link to learn about the radian/degree conversion.. Write the function &quot;radToDegree&quot; t…
  • In python, what is the difference between a dictionary and a list? Please provide an example to demonstrate the difference
  • Assignment 4: Recursion and Complexity Instructions Please You should have no loops in your main recursive function. Please note that there are¬† two parts ¬†to this assignment¬†– recursion and comput…
  • Introduction This lab will make use of the same files users1. cav and users2. cav from Part 1 of this lab. Recall, for example, that the first few rows of users1. cav look like: Username Password Last…
  • hi, I need python code for the below Year = [1990,1991,1992,1993,1994,1995] ¬†¬†price = [4.3,4,8,5.1,5.5,5.8,6.0 ] how to calculate Rate of change and instantaneous rate of change using python
  • I have developed an alien invasion game i need two more features that should be integrated in the game. 1: There must be a feature of boost. Which will drop from the upside when a ship catches it the …
  • Simple geometry can compute the height of an object from the object’s shadow length and shadow angle using the formula: tan(angleElevation) = treeHeight / shadowLength. Given the shadow length and ang…
  • I need help writing a Python script that looks at existing text files and converts the data to a useable format to that can create polyline shapefile feature class in ArcGIS. Each row should contain t…
  • 50 Need answers quicker. uestion 16 (3 points) A function f(x) contains the following points: (2.00, 0.90), (4.00, 3.00), (6.00, -4.5 (8.00, -3.00), (10.00, 4.00), (12.00, 2.20). Using the least-squ…
  • Plot the functions (G(a) and Y(a)) in diagram using Python without using ‘contour’ function, just use ‘plot’ function or others instead. You could plot points and connect the point to make the contour…
  • I am unsure why my code is unable to answer the following question: ——- Question: ————— The test samples are as follows: My code are as follows : from¬†random¬†import¬†uniform def¬†how_p…
  • Help with function:¬† ¬† ¬†Write a function called analyzeForecast with one input argument: forecast: a list of 1’s and 0’s indicating whether it will rain on a given day. Each 1 indicates that it wil…
  • there is a list and its element are tuples .how to multiply the element of each tuples
  • The Oil Blending Problem: An oil company produces three brands of oils: Regular, Multigrade, and Supreme. Each brand of oil is composed of one or more of four crude stocks (the same as “raw petroleum”…
  • In an effort to connect all airports with minimal costs, an airport authority needs to identify the minimum number of new flight connections so that it is possible to reach all airports from every oth…
  • class State: ¬† ¬†def __init__(self, moves): ¬† ¬† ¬† ¬†self.to_move = ‘X’ ¬† ¬† ¬† ¬†self.utility = 0 ¬† ¬† ¬† ¬†self.board = {} ¬† ¬† ¬† ¬†self.moves = cp.copy(moves) ¬† ¬† ¬† ¬† class TicTacToe: ¬†…
  • import random from itertools import chain import math import numpy as np import colorama from colorama import init, Fore init() ¬†# colorama needs to be initialized in order to be used # this function…
  • Graph should look like thee figure above (note the title, legend, and x- and y-axis labels), but it should have 5 plots, for 10, 50, 100, 1000, and 10000 random numbers. Plots should be different in c…
  • Here is my homework with my source code, so I would like to have tutor to give me some comment based on my source code work to the exercise’s situation. Please note that you just need to leave a comme…
  • Hi, I need help on the problem 5.7 above. I have worked out the solution on the probability, under “soln problem 5.7”. But I’m not sure how to plot it in Python .
  • Please convert the following matlab code to python code. ¬† clearvars; close all; clc; load(‘irf’) irf = IRF; % get block Toeplitz matrix h = IRF; N1 = round(size(h,3)/2)-1; M1 = size(h,2); for oo=1:N…
  • An intense 5 over (30 balls) cricket match is going on between Sandpaper XI and Chokers XI near the iconic Mighty Black Stump, in Adelaide Oval. A very enthusiastic kid called Brady Haran is writing d…
  • A class in Python can be defined using the class keyword . As per the syntax above, a class is defined using the class keyword followed by the class name and : operator after the class name, which all…
  • Please assist me. Question 2 1 pts What does the Python code below output to the Python console? import pandas as pd df = pd. DataFrame ( [ [4, 1], [7, 3], [1, 1], [7, 2]], index=[‘a’ , ‘b’ , ‘c’, ‘d’…
  • Hello, I need help with my python programming assingment. Note that I completed the first part (lab 3), you may need to refer to it. Do not use any lists, dictionaries, or imports (except doctests) in…
  • DOMAIN: Automobile ‚ÄĘ CONTEXT: The data concerns city-cycle fuel consumption in miles per gallon to be predicted in terms of 3 multivalued discrete and 5 continuous attributes. ‚ÄĘ DATA DESCRIPTION: …
  • Need help with the following: Drag the appropriate code blocks into the box below. Your program should check to see if a number is even and print &quot;Even&quot;. If the number is odd, then print &qu…
  • Using Pandas to solve the problem. ¬† Can you explain how to do this? Thank you.. Create a new column such that, each row contains the row number of the farthest row- record by Euclidean distance. …
  • As an avid data scientist and¬†“Among us” Player, you are interested in exploring commonly used words in the chat! You decide to first start this endeavour by splitting up the words in a message based…
  • INSTRUCTIONS : 1) Python Programming¬† 2) No use use of built in libraries and built in functions 3) Use Functions name and parameter name is same as given in question.
  • Getting the data ¬† Data sources ¬† List of New York counties ( https://www.newyork-demographics.com/counties_by_population ) Population of counties – 2020 census (same source as above) GeoJson file w…
  • Write a program that requests a sentence as input and then displays the letters in the sentence along with their frequencies. The letters should appear ordered by their frequencies. Possible outcome i…
  • Task 3: Insertion Sort First create file and save it as Week5_Task3. Write a function insertionSort(table, column) that accepts a list of lists and a column as input and sorts the list according to th…
  • Data Wrangling Project Your second project will be to write a python script *from scratch*. You will develop a script in a file named process_grades.py that will read in some grade data, process it, a…
  • Partial Question 8 0.33 / 1 pts Write a function number_of_ones that produces an array with 10 elements, chosen from the set (0, 1), and returns the number of 1’s in this array. booleans= make_array(0…
  • The grid of the game is represented as a two-dimensional list (matrix). Each spot in the grid will be a list. If there is nothing in the square, the list will be empty. If there is one or more bots in…
  • . Question 3 [30 pts]: Write a program that accepts the lengths of three sides of a triangle as inputs then prints the type and compute the properties of the triangle according to the listed conditi…
  • Write a function range that accepts a list of lists as a parameter and that returns the range of values contained in the list of lists, which is defined as 1 more than the difference between the large…
  • stenography that allows a message to be encoded and a message to be decoded in an image. Possible modifications if not already in the project example you chose: allow user to pick the image, allow the…
  • 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…
  • Please only answer #16. Thanks!. In Exercises 15 through 18, identify the errors, state the type of each error (syntax, runtime, or logic), and correct the block of code. 15.n = eva1(input(“Enter…
  • Write a function that meets the following specification Function name x100 Parameters A float Return value A float Detailed description Multiply the argument by 100 and return the product Evample code…
  • homework help: type out a program that: Asks the user to enter a favourite team choice between ‘Crows’ or ‘Port’ (as a string). Continues to prompt for and read (‘Crows’/’Port’) team choices until the…
  • Make a program to take input from the user in which “If”, “else” statements and “while” loop are used. Explain step by step in details.
  • Based on the CPTAC csv file, I tried to generate a dictionary of dictionaries for some protein data, with the primary key as the “AML Sample” (first column), the secondary key as “Gene” (Second column…
  • Please provide for your answer Question 15 5 pts How many times is the line marked below reached while executing the code? = ‘civil’ matches – 0 for i in range (len(s) // 2): if s[1] — s[len(s) – 1 -…
  • choose a relationship from Association, Aggregation, or Composition. You should also explain why you choose that specific relationship. ¬† House and Sofa House and Bedroom Student and Computer Compute…
  • Please watch the following videos and answer the questions below. Agile Programming – For Your Family Describe the cutting-edge program that is referred to as Agile Development. How does it work and w…
  • How would I use the data below to accomplish: ‚ÄĘ Total population for the region (sum of the column value) ‚ÄĘ Total GDP for the region (sum of the fourth column) ‚ÄĘ Average population in the region…
  • Write a program whose input is two integers. Output the first integer and subsequent increments of 10 as long as the value is less than or equal to the second integer. Ex: If the input is: -15 30 the …
  • Understanding Sequential Statements Summary In this lab, you complete the Python program that calculates the amount of tax withheld from an employee’s weekly salary, the tax deduction to which the emp…
  • please help me find how to do this Python program prompts the user to input the elapsed time for an event in seconds. The program then outputs the elapsed time in hours, minutes, and seconds.¬†¬†H…
  • A translation look-aside buffer (TLB) is sometimes used to optimise paging systems. Explain carefully how a TLB can be used in this way, and how it can optimise a paging system. (d) The fictional Letn…
  • How do we create this program were we make a game blackjack with mad lib generator? Using PYTHON to make this game. At least 2 PYTHON codes you can deliver along with an output. Also if you give me 2 …
  • . “_I’ ‘v IIIuI no]. Let’s combine what we’ve learnt about Object-Oriented Programming and Regular Expressions and create a movie ticket booking system with exclusive discounts for USC students!…
  • Create a sub class MultiChoiceQuestion to the question hierarchy of Section 10.1 that allows multiple correct choices.¬†The respondent should provide all correct choices, separated by spac…
  • I need help creating a program that allows a real estate agent to enter the cost of homes in a given area into a list. The program should display the average cost of a home, the median cost, the lowes…
  • 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…
  • Python program that asks the user to enter an integer (X), then: Determines if X is odd or even, Computes and prints the factors of that integer X¬† Evaluate and print the equation Y=3X+7, for X value…
  • 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. Example Tes…
  • “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 250 250 Note: In python 3, integers divisio…
  • What is 4.4.4 for code hs admin, teachers, students?
  • write a We’re using python lists to record students who attended our class and what order they arrived in. For example, the following list represents a class with 8 students, in which Jahurul showed u…
  • . Problem 4 Write a function called find_in_file that takes a string representing a path to a text file and a search 2 string. Your function should return the list of line numbers (in order) on whic…
  • Predict the output of the following program segment. i = 20; m = 10; n = 15; p = 30 print(“i = “, end = ” “) for i in range(m, n, p) : ¬†¬†m = i; ¬†¬†n = m + p; ¬†¬†m = n + 3 * p; ¬†¬†print(“\t”, m, “…
  • Write a Boolean function that accepts a single string parameter and returns True if the parameter starts or ends with the lowercase letter ‘b’, and returns False otherwise.
  • Write a while loop that prints user_num divided by 2 until user_num is less than 1. The value of user_num changes inside of the loop. Sample output for the given program: 10.0 5.0 2.5 1.25 0.625 Note:…
  • name=input(‘enter your name’) print(‘hello’) out put= Hello Sarah
  • . Practice 1. Write a program that asks the user for the radius of a circle (whole numbers only) and outputs the area, rounded to three decimal places . Hint: in Python IT is represented by math.pi …
  • I am just wondering how this code produces the output. I need an explanation because I am confused with this problem and how to read it. Thank you. ¬†. a) What output does the following code produce? …
  • Hi! I want to know if anyone suddenly knows how I can start to solve this problem of numerical methods; They give me the mesh of the geometry, and they ask me to find the total volume of the piece. Wh…
  • from math import sqrt def is_square (n) : return float(sqrt(n)) == int(sqrt(n)) def squares (seq) : “””Returns a new list containing elements of the original list that are perfect squares. &gt;&gt;&gt…
  • Please read all the do the coding. Farkle game in python PLAYERS –¬†¬†¬†¬†¬†¬†¬†¬†you should enter the number of players as a parameter (2 to 6 players). –¬†¬†¬†¬†¬†¬†¬†¬†So, there user has …
  • Given a non-empty list of int numbers, and a target number, return a list of the original numbers, sorted in increasing order by absolute difference from the target. So with the list [6, 3, 1] and tar…
  • Please fix my python code. Trying to plot the Black-Scholes method for a put and call for my parameters. I need help implementing my parameters. Parameters: Stock price at time t=0 is S = 8.5; strike …
  • Question #6: A bar chart or (bar graph) presents grouped data with rectangular bars with lengths proportional to the values that they represent. The bars are plotted horizontally and shows comparison…
  • Analysis of Sorting Algorithms Make sure your Merge Sort, Insertion Sort and Selection Sort functions from this week and last week are all fully functional before commencing this task. Inside the code…
  • Need to a function subnumbers_whose_digits_add_up_to(number, sum_of_digits) that accepts two integers number and sum_of_digits as arguments and generates a list of sub-numbers of number whose digits a…
  • Parsing the email address from the first page of the url. import requests url = ‘http://www. stern. nyu. edu/faculty/search_name_form’ html = requests. get(url) . text emails .= set( ) # set doesn’t a…
  • i need to use recursion to write the code for selectR. Please help with both functions def selectSort (x, k) : &quot;Returns: The kth smallest value in x selected using a sort-first approach; in parti…
  • These are practice programs for my finals but my professor did not give us the answer key.¬† I was hoping to get help or find out the answers for each question. Thank You¬† Python Programming Practice…
  • Hi there! can you suggest the solution for this without using def function? https://www.coursehero.com/tutors-problems/Computer-Science/39701584-Get-more-ideas-to-finish-task1-Task-1-Determine-Interim…
  • I need help writing this python program. Write a program that creates three classes – Circle, Square, and Cube. For each class, provide methods accessor and mutator, method findArea() that will calcul…
  • Urgent!! Easy question please help!. der get_evens(ist: ListLint] ) -&gt; ListLintj : &quot;&quot;&quot;Return a new list containing only elements of ist that are even Precondition: len(Ist) != 0 even…
  • Suppose words = [‘bat’, ‘ball’, ‘barn’, ‘basket’, ‘badminton’] Write two Python expressions that evaluate to the first and last, respectively, word in words, in dictionary order.
  • Write a PYTHON program to ask the user their name. Present the user with a menu with five choices. ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† 1 – Addition ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • There is a correct solution at geeksforgeeks.org/box-stacking-problem-dp-22 for stacking problem but there is an important difference I want each Box once, no need multiple instances of box example In…
  • 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 =…
  • please write python program to converting from binary to hexadecimal NOTE: For full points, you must provide a solution, not merely an answer. Use each question’s message box to explain how you arrive…
  • Social Psychology Report Step 4: Social Psychology Report In Step 3, you explored the basics of access control and common models of implementing it. Your next task in preparing for your discussion wit…
  • If your python script contains two or more functionalities, how can you run the script continuously to allow the user to select any one of these functionalities without restarting your program in a ne…
  • in PYTHON Write class called FiveBoard that represents the board for a two-player game that is like tic-tac-toe, it is played on a 15×15 board, each player is trying to get 5 of their pieces in a row….
  • Develop two algorithms using Python language, first method to remove the second element in the queue without removing the first one, and the second method to insert it before last element in the queue…
  • help debug python code for hypothesis testing The following is the code written by someone to Ô¨Ānd the p-value. Please help him debug it (there may be multiple bugs). In this hypothesis test, the tes…
  • Convert all of these values from pounds to kg. [23, 3, 78, 23, 34, 6, 3, 8, 5, 3, 1, 8, 6, 7, 3, 2, 15, 18]¬† show your script and the output. Hint: you will need to a main() function to loop through …
  • Python Program write code for simple number Guessing game. First you have to generate a number between 1 – 100 and then ask user to guess that number. Give him a chance until he finds it. If he founds…
  • Write function¬†find_programming_engineers(ensc2003_students, cits2401_students)¬†that finds the names of students that are engineers and do programming – i.e. the Engineering students. The function i…
  • TRANSPORTATION 521 6953 646 5998 679 955 494 Part 2 (6 pts): Calculate wage statistics In separate cells below, calculate and print the indicated values (1 point each) a. Using the industries datafra…
  • Define the function_cycler function, which takes one or more arguments: each argument is a function with one parameter; if called with no arguments, function_cycler should raise the TypeError exceptio…
  • trying to input two exceptions in my program. I cant figure out what i am doing wrong or the correct way to input them. the first one is for when the user inputs 0 for division. the second restarts th…
  • . 1. Define a super class named Product. Product has two data fields, name and description. Both name and description are string type. Create constructor to assign value to each data field, getter/s…
  • How do I use masked array concept (on an imported CSV file) to mask the array value where value=NA. And then calculate average using masked.Mean function.
  • DO function to determine if the given year is a leap year. A leap year occurs every four years unless the year is divisible by 100 and not 400. So¬†1900¬†is not a leap year but both¬†1904¬†and¬†2000¬†…
  • Applied Statistics ‚ÄĘ DOMAIN : Banking, Marketing ‚ÄĘ CONTEXT : A bank X is on a massive digital transformation for all its departments. Bank has a growing customer base whee majority of them are lia…
  • . Fly-Happy Airline operate a frequent flyer program with multiple status levels. All members start with a bronze status. They get upgraded to a higher status once they earn the required number of p…
  • Task 2: Leap Years &lt;¬ß2.1Conditionals; ¬ß3.1 Strings&gt; Part A – Is this a leap year? Develop a function is leap year(year) that calculates whether a given (CE) year is a leap year. The function m…
  • Hello, please help with a MATLAB code for the following problem: ¬† Low Pass Filter Frequency Response: The transfer function T of a simple RC filter is shown below in real domain. T=1/(RCw+1) Plot th…
  • Hi, I have the following coding problem that needs solving is Python.¬† ¬† another example: stdin = [1200, 5, 1500, 500, 1000, 2000, 2500, 5, 30000, 10000, 20000, 40000, 50000] where reqArea = 1200 n …
  • I need to create a bash script named bash-caesar.sh that will be called from the command line using the following command: ¬† timeout 20 bash bash-caesar.sh &lt;sample_cipher_text.txt &gt;sample_decry…
  • create python script timing gaussian elimination. . Program Gaussian elimination without pivoting – Forward elimination – Backward substitution – If done early, add pivoting. . Time how long it takes …
  • help me solve this program ) program a¬†Date class. The class¬†should have 3 properties (instance¬†variables): month day year The class¬†should have 2¬†actions (functions) : setDate()¬†¬†– allows the …
  • nPrint a c hevron using two (2) fixed loops. The center() function will align the string, using a specified character as the fill character.¬†which one to use for or while
  • ZipFile Content: From childhood’s hour I have not been As others were — I have not seen As others saw — I could not bring My passions from a common spring — From the same source I have not taken My…
  • Data: ¬†¬†all_movies.csv¬†¬†https://drive.google.com/file/d/1cg_oWxjLvHEerU5Tyf6xWvfzIdsmngDB/view?usp=sharing from the http://www.omdbapi.com/ Use Dash and other packages in Python, Make a dashboard …
  • Not sure how to start my lab https://github.com/CPE202-PAR/lab-2-Luke7787
  • A folder named ‘Project’ having two subfolders ‘proj’ and ‘test’ inside it. The ‘proj’ folder contains an empty ‘ init .py’ file and also an empty ‘ init .py’ inside the ‘test’ folder.In inventory.py’…
  • Sir i am stuck for this question ‚ÄĘ UAE Open Data Project: https://bayanat.ae ‚ÄĘ USA Open Data Project: https://www.data.gov ‚ÄĘ European Open Data Project: http://data.europa.eu/euodp/en/home ‚ÄĘ K…
  • In PYTHON 3- Implement a subclass (described below) of “Word Guess”, a variant of the game Hangman. In this game, a word is first randomly chosen. Initially, the letters in the word are displayed repr…
  • du¬†is a tool for inspecting directories. It will return the contents of a directory along with how much drive space they are using. However, it can be parse its output quickly, as it usually returns …
  • Consider this code: if temp &gt; 28: ¬† ¬† ¬†if money &gt; 0.99: ¬† ¬† ¬† ¬† ¬† ¬†print (“I’m buying a lemonade.”) #How do I combine the two ” if s” into one. I need to write a python boolean expressi…
  • Given the following block of code ,which line contains an error. 1.int yy=5 2.int bc12=55 3.int c1=32 4.int d=6
  • Write the¬† main¬† function that first asks the user which conversion they would like to do: The user should enter 1) for Celsius to Fahrenheit conversion or 2) for Fahrenheit to Celsius conversion. T…
  • Question: I use python to write the code to define is_prime() like this: def is_prime (num) : if num== 1 : return False elif num== 2 : return True for x in range( 2 ,num): if num % x== 0 : return Fals…
  • please can you help a. Below are some lines from a Python program. Explain what each of these lines does. E ? &lt; &gt; main.py + t WNA #! /bin/python3 count = 0 4 while count &lt; 100: 6 print( count…
  • The exercise is to implement a Z3-based solver for exam timetabling.¬† Knowing which exams each student has to take, the problem is to decide when and where each exam should take place. More formally,…
  • Create one Python module: arithmetic which has two functions: add(x, y) and get_length(x). The description of two functions are below: def add(x, y): # add two numbers def get_length(x): # return the …
  • Introduction Gauchospace does not display grades and total percentages in an intuitive way, so you decide to put your CS skills to good use and write your own grade management / computation program. I…
  • Display a Dynamic Line Chart. Write the code in Python You will display a line chart of a dynamic dataset. It is advised that you start with assignment 3 and add the capability to update the display y…
  • Hello There, Could you please help me the Python Script for below assignment? 2.) Predict the burned area of forest fires with Neural Networks You can get the dataset on the link https://archive.ics.u…
  • please provide separate codes for four of them. Assignment 3 Please use AAPL.csv and TSLA.csv that are provided in this learning module for this assignm By working on this assignment, you will practic…
  • Hello how could make a function that solves for X as shown in the image below? (that rounds up) What do you want to calculate? 100000 = 768- ( So’ve Solve v Let’s solve your equation step‚ÄĒby‚ÄĒste…
  • For this assignment, you will write a program that reads sales data from a text file, and then allows the user to enter coupon amounts and calculate a final sales total. The program will then print a …
  • Hello teacher, I have completed this task, written in python. I hope you can teach me how to design a flow chart about this program import random t = 0 #(Number of correct questions) m = 0 #(Total num…
  • Please convert the following matlab code to python code. (The important point here is that wn2 values are the same in python code, please pay attention to this issue.) ¬† data = [-0.00758953886630890;…
  • Need solution for the following Questions: ¬† Q3- Design the learning curve and talk about what you see. ¬† Q4- Explain these graphs. If you see any issue, suggest a solution to resolve it. Make the m…
  • How would I go about creating a python chatbot with 3 functions?
  • For the ‘GDP’ yearly Time Series, what is the significant lag after which the ACF cuts-off at alpha=0.05?
  • Write a Python program to solve the following linear algebra problem: Bob invested $10,000 on two mutual funds one year ago. After one year, the overall yield rates for these two mutual funds are +2% …
  • Graphics in Python using the JES environment Please help, you can attach the link..thanks Long sets of instructions… Example: requestIntegerInRange(“Please enter one of the following … requestInte…
  • Try applying Greedy Search to the same file. You may find that it takes Greedy a very long time to solve some of the puzzles, at least when using the num-misplaced-tiles heuristic. If this happens, us…
  • Construct a truth table for the following Boolean expression:¬† not A and not (A or B)
  • when you have completed exercise #23 on page 284,modify the program as per the instructions below:‚Ė™Ôłéadd a fill color to the bottom and midsection of the snowman ‚Ė™Ôłéadd a sun ‚Ė™Ôłéadd a snow ch…
  • 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? ¬†. In [3]: def simulate_round(): round=1 winnings=0 winnings_log=(np.ones(1001)*…
  • 4 Write the title of your favorite book to a file called “favoriteBook.txt”. Then, read the title from the file and print it to output.
  • code an function¬†colex_bitlists(n)¬†that accepts as input a non-negative integer¬†n¬†and that returns as output a list of all bitlists of¬†n¬†elements in co-lexicographic order. For example: &gt;&gt;…
  • Does anyone know how to do this in PYTHON PYTHON USING FOR LOOPS AND TUPLES Write a function Star of David(n) to print a &quot;hollow&quot; Star of David, i.e. two intersecting triangles . . The displ…
  • this code is incomplete. what is the complete code?. INTICTO
  • Explain the three properties of a data structure by comparing a Python List and Set as an illustrative example. 2. What is a dictionary in Python? 3. With an example explain how a dictionary is upd…
  • answer the python question. Question 2. Note : This question will be marked as a bonus. You can also get partial bonus marks! For this question. we are going to create a dictionary on data that we hav…
  • Explain Why you will first identify the use cases for a program in¬†building a Python application for storing the names, birthdates, and addresses of members of an extended family.
  • Define a function called printMenu that prints the following choices¬†: o¬†¬†List all (L) o¬†¬†Add (A) o¬†¬†Number of books (N) o¬†¬†Remove (R) o¬†¬†Insert¬†(I) o¬†¬†Quit (Q) ¬† ¬∑¬†…
  • Answer both below coding question and MCQs below it There are a total of A courses you have to take, labeled from 1 to A. Some courses may have prerequisites, for example to take course 2 you have to …
  • pLEASE FILL IN THE BLANKS. Write a generator merge which takes in a list of sorted lists that each contain integers. It yields the integers in each of the lists in sorted order. def merge (Ist) : &gt;…
  • psudocode this for me please. ¬† ¬† #function check whether the given character is vowel or not def isVowel(ch): #condition for vowel if(ch.lower() == ‘a’ or ch.lower() == ‘e’ or ch.lower() == ‘i’ or …
  • please help ASAP!!:) 1. [Weight = 3] Assume that there is a certain probability of failing a subject, say, f and that this event is independent and identically distributed. It would be useful to find …
  • Here is the passwd.py ¬†. arthur:x:1001:1001:Arthur Smith:/home/arthur:/bin/bash where: arthur – username x – indicates encrypted password 1001 – UID 1001 – GID Arthur Smith – Comment home/ar…
  • In this assignment, I want you to: Import this dataset to Python. Provide your answers to the following questions: Did the total number of service requests after the hurricane increase significantly, …
  • Include the following day_names in your code. day_names = [‘Monday’,’Tuesday’,’Wednesday’,’Thursday’,’Friday’,’Saturday’,’Sunday’] Zeller’s Congruence is an algorithm for finding the day of the week f…
  • Given a line of text as input, output the number of characters excluding spaces, periods, or commas. Ex: If the input is: Listen , Mr. Jones, calm down. the output is: 21 Note: Account for all charact…
  • PLEASE USE SIMPLE CODE NO STRING, DICTIONARIES, ENUMERATE, AND NEXT. 2. countPeaks(L) [10 pts] A peak element is an element that is strictly greater than its left and right neighbors, i.e., the elemen…
  • Function Task 3: Get Average Define a function called get_average(num1, num2), which takes two numbers as input arguments, and returns the average of the two numbers. Example Function Call: get_averag…
  • Can you please right me down the steps to follow to get this code working? Step by step please. Question: Need a final program that meets the requirements outlined below. Create an automobile class th…
  • √Čcrivez une fonction Python r√©cursive appel√©e sommeListePos_rec qui prendra comme param√®tre une liste et comme deuxi√®me param√®tre le nombre des √©l√©ments de la liste, et qui retournera la somme…
  • The term “expert system” can refer to a computer program that is capable of decision making and can be used for diagnostics and classification. Furthermore, since the underlying knowledge used by the …
  • inventory and rooms is indented and will not make it a list. def main( ) : inventory = rooms = { ‘IceHall’ : {‘South’ : ‘TrophyRoom’, ‘North’: ‘IcicleRoom’, ‘East’: ‘SittingRoom’, ‘West’: ‘SnowRoom’ }…
  • Add an application of threads to your restaurant project. Include a¬†class that inherits threading and then allows the program to move on to other operations.¬† Create threads for a log file. For exam…
  • How can I make the output as ‘None’ instead of ‘0’? # ECS 32A # Assignment 8 # # Writing a word counting class and making a wordle # # import wordle import string # # The Count class # # The class key…
  • Can someone explain this code please? Maybe add comments for explanation on the lines of code def read_tsv_file (tsv_file) : ¬† import os ¬† output = [] ¬† with open(tsv_file) as instream: ¬† ¬† for l…
  • How do you obtain a list of key-value pairs in a dictionary named dict?
  • How can i calculate size of ordinary files for a current directory not including files in subdirectories or symbolic links? I did this: def get_size(start_path = ‘.’): ¬†¬†total_size = 0 ¬†¬†for dirpa…
  • Given a binary file gpa.dat containing records of the struct StudentRecord, show a code snippet for reading the third record in the file to a variable called student1. Do not read through unnecessary …
  • I am trying to collect 50-100 user reviews for the top and bottom 25 movies on IMDB. I have this code for one movie. Is there a way to web crawl more than one move at a time? If so can you direct me t…
  • I understand that y is the row I want to input the list (lst) so another row would be added thus I did the following. def insert_row_at(self, y, lst): ¬† ¬† ¬† ¬† z = self.get_num_rows+ y ¬† ¬† ¬† ¬† …
  • I am trying out this code but I keep running into a problem. I keep getting the message “invalid syntax” and it highlights “a” as the syntax error (in the 5th line). I’ve substituted it with several n…
    • Exercise 7 (2 points) The last task we have is to compute the change in rating. This isn’t just an intermediate step in Exercise 6, because we have to handle some special cases as well. Fill in t…
  • I’m not in the actual class… i’m not even in college. However, I am trying to teach myself how to use python so I looked up some projects to do on my own and I cannot figure it out. I do not intend …
  • I am working on 3-a and created function but it seems that I made it wrong, would you point out how I can fix mine?. 3. (10 pts) Create a coupon collecting simulation. Suppose that in boxes of cereal …
  • where did i go wrong? ¬†. Home x Discussion X zy Section 3.14 – CYB 130T: Object-( x zy Section 3.10 – CYB 130T: Object-( X + V X &gt; C a learn.zybooks.com/zybook/CYB_130T_55317551/chapter/3/section/…
  • Please help with this python pandas question, any help is greatly appreciated! ¬†. 1.3.5 Question 1c: Transform Data We want to check whether events predicted by 538 to occur with probability close to…
  • This project will make use of COVID-19 data from Johns Hopkins University. The goal is to reproduce the structure and display relatively similar output as shown in the next section and examples that f…
  • Please provide #comments for what the code is doing. ¬† def read_file(file): ¬†dict1 = {} ¬†with open(file, ‘r’) as nfile: ¬† ¬† ¬†lines = nfile.readlines() ¬† ¬† ¬†for dex in range(0, len(lines) – 1,…
  • We need to copy, paste, and save the file below as Conversion.txt Unit Conversion¬† We need to build a python program that performs unit conversions.¬† First, we need to prompt for a floating point nu…
  • Problem: Making a function that given two lists, returns the list of all the elements in the first list that do not occur in the second list. Program needs to allow the enter two lists of numbers and …
  • PYTHON PROGRAMMING Given the provided file, “original.txt”, write code in musicians.py to produce a new file, “musicians.txt” that looks like “sample_musicians.txt”. Notice: – The header line is the s…
  • Python: I’m working on a very basic python program that reads five numbers from input prompts, adds them to get their total, and calculates their average by dividing their total by 5. The output of th…
  • Hello I have ¬†a final output here in my zip file. I just needed some changes from what my professor said. Zip file:¬† https://drive.google.com/file/d/16E-ePWZCm4hV9SGAUmonK6qSw0_yeUlD/view?usp=sharin…
  • MAKE a program that prints this pattern with n rows, where n is input by the user. In this example output, n = 6. 1 2 3 4 5 6 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1
  • Task 01 In this task, we’re going to build a Fibonacci sequence generator function with our while loop. Specifications Begin by considering the following statement: lastnum, curnum = curnum, lastnum +…
  • What is the infix arithmetic expression for the following arithmetic tree: (Include brackets in your solution, do not leave spaces between operators or operands) ¬† ¬† answer:¬†. + 3 46 12 3 2
  • develop a function problem1(A,b) that returns True if the linear equation system ūĚźÄūĚźĪ=ūĚźõAx=b has a unique solution and False otherwise. ¬† ¬† python programming
  • Write a program¬†which¬†prints IIT ROPAR. (Please note that you have to print in ALL CAPS as given)
  • Please help can’t figure out will rate! 1.21 Exercise: Given a list like A = [-5, 2, 4, -9, 12, 13, -30, -21, -20] should be: we see that 12,13 and -21,-20 are pairs of consecutive numbers. Write a pr…
  • Added all the Questions for reference. Added necessary files. Please find attached Problem Statement and the Question.
  • Write a program that contains¬†a 2-D array containing two arrays with the values 1,2,3 and 4,5,6.¬†¬†Check¬† and report on the array’s dimensions. please post comments.
  • This question is to get hands-on experience in finding association rules from a real data set by using an association rule mining library for Python. If you do not have Python installed, you can downl…
  • Hi can you help me with this question. I have posted a screenshot of the problem and the screenshot of the file needed.
  • c) Netflix has a big dataset which contains users’ video watching information. Assuming you are given this dataset, please help Netflix to decide which videos shall be recommended to each user dependi…
  • I need to make¬†a basic program that performs simple file and mathematical operations. 1. program that reads dates from input, one date per line. Each date’s format must be as follows: March 1, 1990. …
  • I hate ZY books. It says my lab is wrong and I don’t know why. What is wrong with this? 5.17¬†LAB: Countdown until matching digits Write a program that takes in an integer in the range 20-98 as input….
  • 3 Traversal with a for loop A lot of computations involve processing a string one character at a time. Often they start at the beginning, select each character in turn, do something to it, and conti…
  • Write a program that provides a¬† menu of options ¬†to the user.¬†Use page 267 in the textbook and use the display_menu function starting at line 50 of Program 5-28¬†as a reference. The program must i…
  • Write program to prompt the user for hours and rate per hour to compute gross pay. Enter Hours: 35 Enter Rate: 2.75 Lab Exercise 1 Revise a previous program as follows: Read and parse the “From” lines…
  • Dynamic programming (code in python) design a dynamic programming algorithm for the problem. 0 Identify what are the subproblems 0 Identify the relationships between solutions to Smaller subproblems a…
  • programming assignment 5. (Group Assignment) Write a game that simulates the ‘wheel of fortune’ word game. To help you to create this program, you may use the following code snippets to start off with…
  • Explain the relative performance results of searching using linear search, binary search, a ListDict, and ChainingDict ? Please consider their big-oh complexity and their constants of proportionalitie…
  • I need t make this project using functions and loops The goal is to allow the user to enter a value (you may assume they enter an integer – but you may NOT assume they enter a positive integer) and th…
  • . DailyPriceList Class DailyPriceList +prices: Dictionary init_(self, prices) +getPrices(self): dictionary +getPrice (self, T): float +getOpeningPrice (self): float +getClosingPrice (self): float +g…
  • ‚Äč‚Äčhttps://docs.google.com/spreadsheets/d/1Lf-fbhi1gSTLld9KuGbeuCnoUcItiUxfCZS3wIi-JLc/edit?usp=sharing Hi can you create a code that prompts the user to find the lowest and highest income for the …
  • We will provide 2 strings to your program. Your job is to join the strings together so you get a single string with a space between the 2 original strings. This is a common case is coding and you will…
  • Simple geometry can compute the height of an object from the object’s shadow length and shadow angle using the formula: tan(angleElevation) = treeHeight / shadowLength. Given the shadow length and ang…
  • Hi everyone, I need a quick help. please I am struggling on this project. I am missing ML method, linear model and input variables. I am going to share my project with you, you can run it with google …
  • INSTRUCTIONS: SOLVE THE GIVEN PROBLEM SHOWS THE FORM OF CONTROL STRUCTURES USING THE METHOD OF FLOWCHART¬†. Problem Definition: . Apply and demonstrate the concept of the String &amp; Array structure….
  • Task You are to implement a number guessing game program as outlined in the following description. Use what you have learned during the entire semester.¬† Please keep in mind that you will require to …
  • What does this code output: def f(x,l=[]): for i in range(x): l.append(i*i) print(l) f(2) f(3,[3,2,1]) f(3)
  • I don’t understand the question or how to get started: A¬†variable like user_num can store a value like an integer. Extend the given program as indicated. Output the user’s input. (2 pts) Output the i…
  • The following program is meant to be a simple coin toss guessing game. The player gets two guesses (it’s an easy game). However, the program has several bugs in it. Run through the program a few times…
  • Construct a function named intersperse that will prompt the user to enter two sentences. Then it will print a combined sentence, consisting of alternating words from each sentence: first from the firs…
  • Complete the Team class implementation. For the instance method get_win_percentage(), the formula is: team_wins / (team_wins + team_losses) Note: Use floating-point division. Ex: If the input is: Rave…
  • Question 9 5 pts A Boolean expression using the and operator returns True when: O neither operand is true both operands are true O one operand is true
  • I have created the tables “zoo” and “logs” within mySQL workbench already. I need help with the API development using PYTHON coding with flask/jsonify, and the required functionality listed in the ins…
  • Task 6 We have the following key value pairs stored in two lists regarding our products Keys=[‘length’,’width’,’depth’,’weight’,’reliability’] Values=[6,7,8,9,’good’] Please generate a dictionary from…
  • # v1.4 # December 1 # Changelog # 1.0: initial release # 1.1: fix for windows # 1.2: fix GUI showing transposed grid; fix for two bots in same location (now each position is a list); add pretty_print …
  • 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…
  • How would you judge the behaviour of a manager of an AI company who improves the fairness of their algorithms in order to increase the profit of their company? Discuss both from a deontological and…
  • Please find the answer Assessments – MET CS 782 02 IT Strategy and Management (- Review Test Sub Question 1 According to the lecture, an IT Duopoly governance style is one where IT decisions are made …
  • input file1: input file 2: Expected input and output: – The info above is 100% complete, please read carefully – use python, thank you. Overview In this assignment, you are going to build …
  • # 1. asks the user to input a year (type: int) # 2. prints the message “Leap year” or “Not leap year” on a first line # 3. then, only if applicable, prints the message “World Cup year” or “Euro Cup ye…
  • You have been employed by Cambridge to analyse friendship groups on campus. Individuals have been allocated a number between 0 and the number of people on campus (n) (minus one), and their friendships…
  • python please help asap!!! this github link has everything needed: the full spec, hw1.py that has the Distribution class, hw3.py, test_hw3.py, tank_data.txt: https://github.com/nedski19/share.git plea…
  • Using the code from the csv section above as a guide, you are to write a program that reads in the crime.csv file and creates a pie chart of the crimes.¬† The data for the slices of the pie will be a …
  • The sum of all pollution levels is: 31 O There is an infinite loop. The sum of all pollution levels is: 36 6 p D Question 13 Analyze the problem presented below and compose the Decomposition. Addition…
  • Do you know why I only have one score came up instead I should print [100, 90, 80] and so on? Thanks,
  • I was wondering whether you could translate the project I have attached (written in Java) to Python 3. As you will see, the project contains 9 files (it is a simulation – you can see the details of it…
  • Python Def Numeric Type (): Get 2 to the 8 th power by using left shift operation on integer 1.¬† F =¬† ¬† Get 1024 over 8 by using right shift operation on integer 1024. A= ¬† Find number of bits nee…
  • would you please tell me how to do there questions ¬†4 questions and codes ? The file ¬†will sent you below link ,when you done please sent me a screen short and cods. Thank you¬† ¬† https://1drv.ms/x…
  • Create an automobile class that will be used by a dealership as a vehicle inventory program.¬† The following attributes should be present in your automobile class: private string make private string m…
  • Using the dataset provided, develop the following visualizations using the right set of variables . (20 each) a. Histogram b. Bar chart c. Line chart d. Area chart e. Scatter plot ¬† ¬† https://us.doc…
  • Python 3 I’m trying to figure out how I can make a Clustered Heatmap diagram to visually show the mean values for each letter using pandas and matplotlib using the data in the table below. ¬† Can anyo…
  • Create class named Student that contains information on student as: 1 . Name 2 . Student ID number 3 . GPA 4 . Expected grade in this course 5 . Full time or part time Create five student objects from…
  • In the current program, the code shows a two-player game of tic-tac-toe in LISP programming.¬† Modifying the code with the game is single-player, human vs computer AI.¬† However, after compiling and l…
  • Write a single command that will display the name of every file in the /delete directory that is less than 5 hours old.
  • This is the working code of Tkinter GUI application code below. But I want to add one more functionality : Resizing Position and size must adjust as the app window size changes. Can You help me? Code …
  • This is the link to the find_txt csv it has been made public for view.¬† https://docs.google.com/spreadsheets/d/1pR1J3Gpmg8GRSTYYc-TPmB62gB68rZxRsLJwaxtTwyE/edit#gid=1622656094 ¬† This is the…
  • The¬† math ¬†module includes a¬† pow ¬†function that raises a number to a given power. The first argument is the number, and the second argument is the exponent. Give an example of a code segment that…
  • Hello, I need help solving this Lab simulation, It uses Conditional expression: Conditional assignment for if-else statements and I am very new at python on so I need help solving it. It is very diffi…
  • The data structure we have built for you to use To begin withI we need to consider the issue of being able to organize the data by the numerical rating associated with the review, since we want to be …
  • Define a function called get_key_values that takes two arguments: (1) a list of dictionaries and (2) a key that will be present in some (not necessarily all) of the dictionaries. Your function sho…
  • Python program that defines a Person class with the following methods.: Ôā∑ __init__(first_name, last_name) # Constructor method to create new Person object. # where first_name and last_name are strin…
  • 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…
  • Below is the lab6_adt.py information: Below is the lab6_code.py information A student record contains a tuple of a tag ‘student’ and the student data as a list. The student data contains the id number…
  • # creating index of the words in one list english = [‘chicken’ , ‘salt’ , ‘apple’ , ‘earth’ , ‘bean’ , ‘water’ , ‘milk’] hindi = [‘murga’ , ‘namak’ , ‘seb’ , ‘darthi’ , ‘sem’ , ‘paani’ , ‘doodh’] whil…
  • Python Coding Assignment It is my last day to submit please help ….. Python coding. – A Stock Portfolio contains any numoero s ares o specr ic stoc s . – Stocks are of two types: – Dividend Stocks h…
  • py &lt;— this has been fully provided and does not need editing ¬† # integration of the equations of motion of the non-linear pendulum with the Euler integrator import numpy as np # para…
  • Now that we have our own implementation of a stack, we should put it to good use. A stack can be used to calculate the result of mathematical expressions. In conventional mathematics, we often use¬† i…
  • I wrote the following code: def main(): ¬†¬†¬†outfile = open(“books.txt”,’w’) ¬†¬†¬†outfile.write(“Fiction;Abraham Lincoln Vampire Hunter;Grahame-Smith;Wiley;13.99\n”) ¬†¬†¬†outfile.write(“Fiction;Fra…
  • Given a value of x entered from keyboard, if x is even, print &quot;x (the value of x) is even&quot;, or print &quot;x (the value of x) is odd&quot;
  • 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 …
  • Load File¬† 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: [ …
  • In this assignment you will create a dice-rolling board game using Python turtle graphics. Game rules The game is very simple in concept. Players take turns to roll a dice. On each roll, players would…
  • Develop an algorithm that implements one of Python’s list operations or dict operations. See https://docs.python.org/3/tutorial/datastructures.html and https://www.w3schools.com/python/python_ref_dict…
  • Section 2: Visualizing Product Sales data Visualize the dataset in the form of a data cube where the year is on the x-axis, product category on the y-axis and sales information on the z-axis. Plot a d…
  • Load the data set hmeq_small.csv (Nicapotato. “Vallala, Ajay. “HMEQ_Data.” Kaggle, 25 Mar. 2018, www.kaggle.com/ajay1735/hmeq-data.) as a data frame. Create a new data frame with all the rows with mis…
  • The Problem: Mr. Smith needs your help to solve a problem regarding the humidity levels of his home. After contacting an AC company, Dr. Rincon was told that he needs to run the AC on cool to reduce t…
  • Question in image attached. fmi_api.py: https://drive.google.com/file/d/1ju3MSRT-yw2Lzrmd9IDef2FV9dm90QD0/view?usp=sharing Please help look at my work file test.py, it does not run properly. test.py: …
  • Write function called pay that takes as input an hourly wage and the number of hours an employee worked in the last week. The function should compute and return the employee’s pay. Overtime work sh…
  • Exercise 6-3 ¬†run a program that runs ¬†a Magic 8 Ball game that prompts for a question and then displays either “Yes,” “No,” “Maybe,” or “Ask again later.” ¬†Example Output What’s your question? Wil…
  • Previous question and answer: Q1 : Try to write class definition for the Circle class. The class has two instance variables, center and radius. Note that the center is a tuple and contains two values …
  • I’m trying to make a function called continuous1234 so that it returns an inexhaustible (never-ending) generator that yields the numbers 1, 2, 3, 4 forever. I need to use something from itertools. &gt…
  • int Feedback? CHALLENGE ACTIVITY 2.4.1: Gallons of paint needed to paint walls. Finish the program to compute how many gallons of paint are needed to cover the given square feet of walls. Assume 1 gal…
  • py: ¬†. Checkpoint 1: Representing and Building the Board We will represent the Sudoku board as a list of lists of single character strings. Start by looking at the code in checklrpyr It has an…
  • Can you screen shot and answer these highlighted questions in python, Info needed: Your loop should have a range from 1 to (t_intervals + 1) AND When you plot the time intervals set figsize=(10,6) The…
  • Exercise 9.2. Compile a program function called has_no_e that returns True if the given word doesn’t have the letter “e” in it. Compile a program program that reads words.txt and prints only the words…
  • When the Hero wins, the game:¬† Also write to the file save.txt the following words “Hero has killed a monster”. This should be a new line in the file.¬† 2. When loading from a saved game, read fro…
  • Acquire power data from¬†this source(https://www.bmreports.com/bmrs/?q=demand/rollingsystemdemand)¬†for at least 10 days and not more than 40 days. The website limits the window size, so you will need…
  • 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 &amp; tim…
  • . Create a function &quot;chess&quot; which takes in no parameters and creates the starting state of a game of chess. In a game of chess, the board is 8×8 squares in size, with each square either oc…
  • I need assistance with answering the question below. Thanks ¬† Describe modules and cursors in Python. How are they related to MySQL?
  • I am having issues figuring out a code for this Part of my assignment… This is the Rubric for this section:. Part 2 (2.4 points) A set (s1) is a subset (C) of another set (s2) if all elements that a…
  • Need help on how to do some parts of this assignment. I might give $30-40 tip if someone actually does the assignment or helps me a lot throughout. Assignment link:¬†http://pages.cpsc.ucalgary.ca/~ayc…
  • What type of error is raised when the Python virtual machine runs out of memory resources to manage a process? ¬† a. stack overflow error ¬† ¬† b. runaway process error ¬† ¬† c. out of memory error ¬†…
  • Write a program using loops to print the following shape * * * * * * * * * * * * * * * * * * * * * * * * *
  • Please answer Consider the minimum heap represented by the following list representation: Value 0 3 7 9 11 18 12 14 16 19 20 23 31 Index 0 1 2 3 4 5 6 7 8 9 10 11 12 a. Draw the heap. What’s its heigh…
  • ( i am stuck in it , Kindly do it on ” Python ” ) (Create) a list of first six digits to roll a dice. (Write ) a function called roll_dice()to Roll a Dice using inbuilt methods of random module. Funct…
  • Write a Python ¬†program, implementing encryption/decryption without using any special security packages(means do not import dictionary like from cryptography.fernet import Fernet) . The program shoul…
  • dict_crops = {} planted = [] harvested = [] def menu(): print(“Welcome to Lasso Farm! “) while True: print(” menu”) print(” [A/a] Add crop”) print(” [P/p] Plant crop”) print(” [H/h] Harvest crop”) pri…
  • 5.1: Write a python program that does the following: . takes as input from the user an English sentence . calls the function vc_counter() that: O takes a string argument 0 counts the number of vowe…
  • A Python program: A class named BlackBoxGame for playing an abstract board game called Black Box. It takes place on a 10×10 grid. Rows 0 and 9, and columns 0 and 9 (border squares), are used by the gu…
  • Purpose:¬† Student will demonstrate they can write a simple output program using Python. ¬† ¬† Write a program that displays your initials in the form of a 7 by 7 matrix (7 lines, 7 characters or spac…
  • Give the tightest simple polylogarithmic bound in big-oh notation for the computational complexity function below.
  • In Python: (1) Prompt the user to enter four numbers, each corresponding to a person’s weight in pounds. Store all weights in a list. Output the list. (2 pts) Ex: Enter weight 1: 236.0 Enter weight 2:…
  • 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,…
  • this program does everything that I need it to do except that when I enter an even number I do not get to the command line: # start over ¬†¬†redo = input(“Try Again (y/n)? “) print(“Bye”) It seems to …
  • Use python programming Tiktokok live stream: Tiktok conducted a live stream, with some creators. Creators submitted their starting time and duration times as corresponding lists. Only one creator can …
  • . # Do NOT delete/modify the line above and below this comment. return np . sum (self . reward_history) if _name_ __main_ _’ : Creates an instance of the Bernoulli MAB problem with the true rewar…
  • #main.py # implement binary search tree insertion and traversals (inorder, preorder, postorder) with the starter code. import tree class Main(): def __init__(self): binTree = tree.binaryTree() binTree…
  • Programming (python). Help find the solution. A projectile is an object moving only under the force of gravity. In modeling the motion of a projectile we assume no air resistance. In this case, the pr…
  • python introduction.. continue +10 XP You are making a ticketing system. The price of a single ticket is $100. For children under 3 years of age, the ticket is free. Your program needs to take the age…
  • 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…
  • Write a program that asks the user to input two real numbers, n1 and n2 . Compute the sum n1 + n2 , the difference n1 –¬†n2 . the product n1 ¬∑¬†n2 , and the quotient n1 /¬†n2 (assume n2 ‚Ȇ 0 ), and …
  • Assume a file containing a series of integers is named numbers.txt and exists on the computer’s disk. Make a program named q1.py that gets the file name and calculates the average of all the numbers s…
  • . CIS14007VCM01 Programming Assignment #1 Below are programs that will control an ATM machine. Each project leads to the next, so do project 1 before doing project 2, etc. Program 1: {The fotlowirig…
  • I need to make a Python dictionary where the¬†value¬†is a¬†list. The¬†key¬†can be whatever type I want.¬† Then I need to design the dictionary so that it could be useful for something meaningful to yo…
  • we have to Modify binary_search function that can be performed descending order search¬† Input: 99, 87, 73, 62, 55, 34, 21, 12, 7¬†¬†Key value = 12¬† Output: The key value 12 is found at the lis…
  • Sales prediction question Can you help with my code please? It should do the following: Provide a prediction of demand using relevant historical sales data, Provide a prediction of demand for each bee…
  • Use the iris data set, to plot a joint plot of sepal length against sepal width.
  • 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…
  • Case Stu dy Domain – Banking/Loan focus – Lower NPA (Non Performing Asset) Business challenge/requirement PeerLoanKart is a n NBFC ( Non – Banking Financial Company) which facilitates peer to peer loa…
  • In your own words, write 4 requirements that are absolutely necessary for a Python CGI server script to run properly on the Rapsberry Pi (using the Apache 2.x web server) when invoked from a browser (…
  • Write a program that asks the user to enter a number. The program should: 1- Catch a python exception if the value entered is not numerical. In this case, the user is prompted to re-enter a valid numb…
  • I’m having too much trouble with this computing assignment. The assignment is to write Python program, called NatureArt.py, which is to create drawing representing of an outside nature scene using the…
  • in python, the program takes as input a list of integers, and outputs the sum of every 3rd integer on the list. ¬†if there are less than three on the list the sum is zero.
  • Q9: Run a regression as in Q7, but add total fruits consumed per day. Based on the R-squared and AIC, what is the better model? Assign the better AIC value to Q9.. . You may use the tidyverse and any …
    • Write a program without thread in Python that print number of Pi from one decimal place to ten thousand decimal places. Please take note that making Pi rounded to three decimal places is 3.142 (10 …
  • Age prediction from facial images we are going to develop a program (in python) that would be able to guess age of a person given his/her photo. It is expected that you will first do the principal com…
  • Data Source: https://www.kaggle.com/uciml/restaurant-data-with-consumer-ratings. Restaurant #135076, budget # Build and show a table comprising observations for restaurant #135076 # Calculate # Cal…
  • This document doesnot solve the error and is also incomplete. is there a completed version of the code file
  • Hello! I need help with creating an algorithm using pseudocode for determining the maximum area of a field you could create with a collection of 15 fence sections, each eight feet in length.
  • 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…
  • Here is the instruction for my assignment. Here is the link for data “game_test”, “game_test”, “game”, and “example_submission”. https://docs.google.com/spreadsheets/d/1pQspMaZQajdQGDG6l4qd48Fv55YJyYb…
  • make a program for calculating the grades of a student in a class. Download the Quiz5Answer3.py file and write in the code below to solve this problem. In the file, there are dictionaries of two stude…
  • think of a more ambitious improvement . question 16.9 or 16.10.
  • I need help with continue writing codes for this problem. Can you provide me with the codes for this problem? Thank you so much.. COSC 1336 ‚ÄĒ Programming Fundamentals I Program 9 ‚ÄĒ Functions, List…
  • Suppose you are working in a well-known IT company as a software developer. Since educational institutions are opening and students are coming back to their hall after a long vacation. Your company go…
  • Description This program combines many topics we covered this semester as you make a store finder app for Starbucks locations. The program will implement a menu of options: 1 – Find Stores by City and…
  • Analyze the air pollution using Apache Spark ( in data bricks ) with US pollution data Data Source: https://www.kaggle.com/sogun3/uspollution
  • Complete add_in_range, which returns the sum of all integers between start and stop (inclusive). ¬† def add_in_range (start, stop):¬† “””¬† &gt;&gt;&gt; add_in_range(3, 5) # .Case 1¬† 12¬† &gt;&gt;&gt…
  • You are going to be writing a program that will create a guessing game that is to be played with the computer. In this version of the guessing game the user will be choosing a random number in his or…
  • 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…
  • University: Represent the university which has students and courses. All properties are read only. Student and course lists cannot be retrieved by the clients. The university is responsible of creatin…
  • A sequence of numbers begins with P(0)=1, P(1)=1, and P(2)=1 as the first three values. After that, each number in the sequence is found as P(n) = P(n-2) + P(n-3). (a) Write a function that is given a…
  • Create a new instance of the OfficeHours class for each of the office hours listed above. Then store each of these instances together in a list called all_office_hours. In¬†[220]: ¬† ¬† ¬† Dillan = Of…
  • In the function¬† def moveHero(spaces = 1): ¬†explain what happens with the following calls to the value of¬† spaces¬† within the function. moveHero() moveHero(5)
  • These are 2 python functions crop(image, origin, height, width): Description: It returns a cropped tile out of a color image without altering the input in any way. Parameters: image (a 3D list of int)…
  • Write a python program that does the following: Prompts the user for three numbers in one request. Be sure to specify the &quot;delimiter&quot; by which a user enters those three numbers. Divides the…
  • How can I write a python code to open a csv file in python first and then get the three columns “name” and “code” and “date” in that csv file. In “code” column get those data that start with “ast”, “m…
  • fp = open(“names.txt”, “r”) # Store age from first line as minimum age minAge = int(fp.readline().split(“\t”)[1]) # Move cursor to beginning of file fp.seek(0) maxAge = 0 oldAge = ” youngAge = ” tot…
  • Draw the binary search tree that results from inserting the following values (in the following order) into an empty binary search tree: 13, 10, 6, 5, 8, 3, 4, 16, 11, 17, 1, 2, 15, 19, 18, 14, 9, 20, …
  • Can someone point me in the right direction on my 5-2 Assignment: Client-Side Authentication ??? Prompt You will be given starter code that implements a preliminary dashboard and prompts the user for …
  • all the code needs to be written in Python using dynamic-programming!! please see the image for the problem. DYNAMIC PROGRAMMING IS IMPORTANT! Additionally, 1) The code needs to use recursion 2) I nee…
  • In¬†the¬†given¬†data¬†set,¬†standardize¬†the¬†numeric¬†variables,¬†and¬†generate¬†the¬†dummy¬†variables¬†for¬†the¬†categorical¬†variables¬†using¬†one-hot¬†encoding.¬† 2.¬†Assume¬†col3¬†is¬†the¬†ta…
  • Variables represent: POEM_LINE str POEM List[POEM_LINE] PRONUNCIATION_DICT Dict[str, PHONEMES] POETRY_FORM_DESCRIPTION Tuple[Tuple[int], Tuple[str]]. def check_rhyme_scheme (poem_lines : POEM, descrip…
  • &gt;&gt;&gt; outer_vals([1, 2, 3, 4, 5, 6, 7]) [1, 7] How to show a function by using the template : def outer_vals (values): ¬†¬†¬† “”” put your docstring here “”” ¬†¬†¬† first = ________ ¬†¬†¬† last…
  • Also, pval is the probability that we observe a correlation between had_chickenpox_column and num_chickenpox_vaccine_column which is greater than or equal to a particular value oc- curred by chance. …
  • defining a decorator for iterables named take_starting using at generator; : takes an iterable and predicate as arguments, and returns all values in the iterator starting with the first one for which …
  • Five Star Retro Video rents VHS tapes and DVDs to the same connoisseurs who like to buy LP record albums. The store rents new videos for¬† $3.00 ¬†a night, and oldies for¬† $2.00 ¬†a night. The clerks…
  • Please include all imports used. mean 16 – — 2012 2020 14 +2 std devs 12 10 NH Sea Ice Extent (106 km 8 0101 0220 0411 0531 0720 0908 1028 1217 X= y=8.07121 make_fig_2: This function takes a figure 2…
  • Problem 1 – Word Scores The first step is to implement some code that allows us to calculate the score for a single word. The function¬†getWordScore¬†should accept as input a string of lowercase lette…
  • The policy for speeding ticket fines in Toronto is $50 plus $5 for each mile per hour (mph) over the limit, plus a penalty of $200 for any speed over 90 mph. Write a program that accepts a speed limit…
  • Consider the following python code that will sort the list of numbers using the Bubble Sort algorithm:¬† Sort the following series of values into ascending order using the Bubble Sort algorithm. Write…
  • Download CSV File from below link https://healthdata.gov/dataset/washington-health-workforce-survey-data Use any graphic library to display your results. ¬† Create Following Graphs Note: the values no…
  • For this assignment you are to create three graphs using Python and the Matplotlib library.The first graph should be a line graph of average High temperatures for each month in a given city (not Pitts…
  • TO BE DONE IN PYTHON ¬† The read_ solution function needs to be completed. Here is the class used: The requirements for the function and some test codes and required outputs, as well as the starting t…
  • Develop a LinkedHeap data structure in a file named LinkedHeap with the extension appropriate to your chosen langauge using a linked structure (Nodes and Pointers). If using Python, you MUST use and n…
  • what type/class of object results from evaluating the following expression? &gt;&gt;&gt; 2**0.5 ¬† a. bool b. int c. float d. str. e. list
  • Customer Entry (30 pts) Your business needs a program to enter basic information about your customers. 1. PSEUDOCODE: Write the pseudocode that: ¬†a. Prompts you to enter the customer’s name. ¬†b. Pro…
  • 174315 Since we wa dening with person, we round up the value to 4 Thus, hall of the number of alleviones is consider as d If the list is to be added with one more ID. 1888, the students who are late w…
  • thank you Use pytest-bdd to write pytests that are associated with the Gherkin Scenario¬†below. ¬† Scenario Outline: Valid user input for retirement date Given The program full_retirement_age.py is …
  • i would like to know what experience do you have in python?
  • Question 1 (60 pts)¬† Sentiment Analysis helps data scientists to analyze any kind of data i.e., Business,¬† Politics, Social Media, etc., For example, the IMDb dataset “movie_data.csv” file¬† contain…
  • 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…
  • Text¬†cell¬†&lt;N6s1-PgRXrbq&gt; #%%¬†[markdown] **Execute¬†this¬†code¬†first** ¬† Code¬†cell¬†&lt;1e0crBsKVSMt&gt; #%%¬†[code] import¬†pandas¬†as¬†pd import¬†numpy¬†as¬†np ¬† pd.set_option(‘display.m…
  • Why backup files in centos gets lost automatically?
  • Help with this. 1. Discuss what it means to be Pythonic with regard to Python and other languages. 2. Specify the difference between Mutable and immutable types and compare it with other languages.
  • My csv file is not writing correctly. It is putting each url into row 1. Please help. I don’t know if I’ve created my set incorrectly or if I’m writing to the csv incorrectly.
  • Give two differences between a tuple and a list 2.¬†Give an important difference¬†between an array in an older language, such as C, and a list in Python. 3.¬†Give two differences between a set and…
  • use python 2.7 to solve these 5 short programs. comments and instructions included
  • Program used: Anaconda / Jupyter ¬† Input: def lemmatize(tokens): ¬† ¬†text_lemmatized = [wn.lemmatize(word) for word in tokens] ¬† ¬†return text_lemmatized ¬† #create a new column to store the tokeni…
  • i need help in coding this function please. I attached the google drive links of the csv files: https://drive.google.com/file/d/1R3aSj66gl4ZEfqC1youT4-SlEuzs1EoS/view?usp=sharing https://drive.google….
  • “”” Q4: Who is the director with the most movies? First get the number of movies per “director_name”, then save the director’s name and count as a series of length 1 called “director_with_most” “””
  • https://colab.research.google.com/drive/1ajnjGQUGJZhqrA_x0sVSE7EJlLMEMZOb?usp=sharing Here is my decision tree model, but my f-1 score is too low. ¬† The link for data is here https://docs.google.com/…
  • Need Help with Codio Homework. The error message I keep getting: transaction. If you are asked to subtract an amount that would put the account below zero or if the pin code you are provided does not …
  • 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()…
  • What does this function do? What does it return if x = 5? def Func(x): total = 0 for i in range(x): total += i * (i-1) return total
  • D For the operation below, provide the worst case running time in terms of n (Big O notation). Briefly justify your answer. &gt;&gt; &gt; Given a binary search tree, find which value is the minimum va…
  • Develop a python code snippet using pandas and numpy to for the following: ¬†Sort DataFrame¬†frame¬†by the 2018 population in descending order. Compute the total tax revenue across the three states in…
  • Question: Use the dataset SeaPlaneTravel.csv in this assignment to build a model to forecast the demand (passenger traffic) of traffic using time series algorithms. Case Study Domain – SEA Transportat…
  • I need help with a homework assignment ¬†. Project 11-2: Arrival Time Estimator Create a program that calculates the estimated duration of a trip in hours and minutes. This should include an estimated…
  • Google Books 5-gram¬∂ http://storage.googleapis.com/books/ngrams/books/datasetsv2.html https://aws.amazon.com/datasets/google-books-ngrams/ The google Books n-gram corpora can be found on aws and amaz…
  • SPLITTING THIS QUESTION so its easier to solve, there is another of the same question A Python program: A class named BlackBoxGame for playing an abstract board game called Black Box. It takes place o…
  • Write a function “summarize_letters” that receives a string and returns a list of tuples containing the unique letters and their frequencies in the string. Test your function and display each lette…
  • 9.6: Create a program that: – prompts a user for a number validates the number re-prompts on error converts the number to words using a dictionary prints out the converted numbers as words The prog…
  • Hello, Can you help me with how to modify my program? I’m having issues on getting the program started. Modify the program to read dictionary items from a file and write the inverted dictionary to a f…
  • Draft a script that reads in a text file containing dna seqeuence and a value of k and calculates the number of times each k-mer is observed within the genome. A k-mer is a sequence of length k; for e…
  • . Let’s try to make a basic model. Let’s say we want a model that approximates the relationship of the following multivariate function: f : R2 ‚ÄĒ¬Ľ R such that f(x) = 0.83:0 + 0.2×1 + 20 On one han…
  • Create 1 AbstractCSVReader class a.¬†¬†¬†¬†The class should have an initializer method taking the path to the file to be read b.¬†¬†¬†¬†The class should have the method: row_to_record(row) ?…
  • how can I only print the oldest company?. In [99]: #Which company is the oldest? s = Search (using=client2, index=&quot;companies&quot; ) \ . sort ( {‘ founded’ : {‘order’: ‘asc’ }}) response = s . ex…
  • Design a python dictionary that translate numbers from 1 to 10 from English to Spanish. For exampleÔɆ one:uno, two:dos, …etc. Also, it translates numbers from 1 to 10 from Spanish to English. For e…
  • In Python: A program to prompt the user to enter a some text. Keep prompting the user until the user sees the word “quit” (the case doesn’t matter). Once the text is entered by the user, display the f…
  • A company wants to see a printout of the gross payroll for each of its 7 departments. The output should be a list of the seven departments and the total gross payroll (rate times hours) for each depar…
    • Write the pseudocode to explain all the steps of the conversion processes. Binary to decimal and decimal to binary. B- Draw flowcharts to show all the steps for the two conversion processes. Part (…
  • I have created a .ipynb file to scrap the data from the imdb website.¬† currently it will take all the data expect review from the imdb and save it in csv file. I need some help in only getting review…
  • In this assignment we will examine the ‘tips’ dataset recording the tips given to servers. The dataset can be loaded from internal datasets provided by the seaborn library tips = sns.load_dataset( ‘ti…
  • Im having a hard time with this assignment or where to even begin. Week 4 Problem 1: ¬†Create Python program to solve a simple payroll calculation. Calculate¬†the amount of pay,¬†given¬†hours worked, …
  • Using this Hypergraph package, I have built a display for these “s-components”. But I’d like to build a heatmap instead, so how would I generate a heatmap (labeled) that would give the same graphic re…
  • 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
  • import tkinter import tkinter.messagebox import sqlite3 from tkinter import ttk class BaseballDB: ¬† # ******************************************************************** ¬† # Designing Baseball D…
  • python 3, Write Python program that connects to a sqlite database. Create table called Horses with the following fields:¬† id (integer): a primary key and not null name (text) breed (text) height (rea…
  • Q7 Sorting 3 Points You are given Ist, a list of strings, where each string represents an integer. For example, the contents might be: Ist = [‘123’, ‘8’, ‘567’, ‘4’, ’90’] Write code that would sort I…
  • I have a csv file with information about job postings. I can’t figure out how to find the company that posted the job with the highest salary (among all job postings in that state alone), for each sta…
  • Problem 1 Define a function getOMDBData that accepts a title and calls the OMDB API (described here: http://www.omdbapi.com ) to get the data about that movie. Note: You should use the “By ID or…
  • hi can somone help me with these question? i want to check my answer with you, so I would be confirmed. if you familiar with jupyter notebook , then you can help me. you have to use jupyter notebook. …
  • Code has to be in Python 3 Exercises For the function provided in the Ô¨Ārst cell of each numbered exercise below, you will (1] state your hypothesized worstcase BigJO nintime complexity, (2) write co…
  • Please answer this question Among the items in the following list, write the ones that are required to build the requested feature in your GUI application. Here, The list of tkinter objects is the fol…
  • 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…
  • I need the code please3 s.com/zybook/CYB_130_53744141/chapter/4/section/17 CYB 130: Object-Oriented Scripting Language home &gt; 4.17: LAB: Print string in reverse zyBooks catalog ? 4.17 LAB: Print st…
  • Has to be done in Python Write a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the output is: 3
  • need help with these questions please. My code done so far is above. And I have to do these questions: Question 1 Find the best-fit distribution using Maximum Likelihood Estimation (MLE). Import the d…
  • Every year Northwest gathers data on the number of freshman enrolled at the University. In this project, you will need to program that will generate random enrollment numbers for the freshman classes …
  • What is the output of print(tuple[-3:]) if tuple = ( ‘abcd’, 786 , 2.23, ‘john’, 70.2 )?
  • Hello, I need help with the python program that’s required
  • Below is the DotTurtle-Assignment.py.¬† ¬† # Draws several lines radiating out from the origin. import turtle import random class DotTurtle(turtle.Turtle): # Constructor – just copy and use for now de…
  • Write the simplest statement that prints the following:3 2 1 Go!
    • Write definitions of functions for: toNumbers(strList) str is a list of strings, each which represents a number. Modify each entry in the list by converting it into a number. hint use :int() ¬†2- A…
  • Task 2: Leap Years &lt;¬ß2.1Conditionals; ¬ß3.1 Strings&gt; Part A – Is this a leap year? Display a function is leap year(year) that calculates whether a given (CE) year is a leap year. The function m…
  • In problems 1-4, follow the instructions depending on your view on the italicized statement given. Assume the discussion is restricted to simple graphs. Hint: It is possible to answer each of problems…
  • Create a function in Python that takes 2 parameters or arguments, the first being ‘ounces’ and the second being 1, 2 or 3 where 1 – pounds; 2 – liters and 3 – gallons. Based on the values 1, 2 or 3 pa…
  • get_distance This method should have three parameters, two matrices (let us call them other_matrix and weights) and a number (let us call it beta). If the matrix calling this method and the matrix wei…
  • a¬† comment block ¬†(starts at line 1 in the code) with the following information: ¬†¬†¬†¬†¬†¬†¬†“”” ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Your Name ¬†¬†Course Name, Section (example: ENTD200 B002 Spr15) ¬†¬†Instructor…
  • It is telling me on line 5 name ‘n’ is not defined. My input is Pat Silly Doe with output results Doe, P. S. and input Julia Clark with output results Clark, J. It will give me a highlighted yellow ar…
  • The question is¬† 1.Prompt the user for the number of cups of lemon juice, water, and sugar needed to make lemonade. Prompt the user to specify the number of servings the recipe yields. Output the ing…
  • ( Selections ) Write Python code that works as below. The prompts and displays by the program are shown in red. Input values are shown in blue. The program must work exactly as specified, with no chan…
  • . Problem Longest Word Given a text as input, Ô¨Ānd and output the longest word. Sample Input this is an awesome text Sample Output awesome Recall the split(‘ ‘) method, which returns a list of word…
  • what is the answer What would be the output of the following program? def fox (kk) : if (kk &lt; 1) : return 2 elif (kk &lt; 2): return 8 elif (kk &lt; 3): return 3 elif (kk &lt; 4): return 7 elif (kk…
  • First convert poem to lower case using the appropriate string method . Then replace unwanted punctuation (commas, periods)…however, keep the spaces between words – Use the split( ) method to break t…
  • Question 4 coding in python please. 1. Setup Run the two cells below to load the packages and data necessary for this exam. The dataset CPS85 contains data on 534 individuals surveyed in the year 1985…
  • HI I need some help am strucked with this error am sharing the screenshots as well In forms file i had created a class MessageBoxModelForm kindly assist me in this My machine is Windows
  • please can you help me? I would greatly appreciate it ¬†. Instructions: 1. Use the print() function as many times as necessary to produce the following text: Sales This Month Admin Fee Commission Rate…
  • Develop a function in Python to generate and sum the following series X + X*Y + (X*Y)2 + (X*Y)3¬† +……… + (X*Y)N Supply X, Y, N as inputs to the function. Do not use any library functions, use lo…
  • The ________ creates an object in the memory. Select one: a.¬†the __str__ method b.¬†the str method c.¬†the init method d.¬†the __init__ method 2.The first line of a function definition is known as …
  • We pass in three inputs,A A ,¬†B B ¬†and¬†C C .You should output¬†A‚ąó(B+C 3 ) A ‚ąó ( B + C 3 ) . # Inputs import sys A = float(sys.argv[A]) B = float(sys.argv[B]) C = float(sys.argv[c/3]) print(“inp…
  • Please help me implementing Complete binary tree. In complete binary tree, node is inserted level wise i.e 2^l , where l is level. If level is zero so only one node is inserted at this level. Once lev…
  • Start your program (after the comment header) with this predefined list: ¬† list1 = [2, 3, 5, 8] list2 = [4, 7] ¬† Write a one-line list comprehension that is equivalent to the following code and prin…
  • movies = {‘ET’: [5,5,5,2], ‘The Room’:[1,1,1], ‘Forrest Gump’:[5,4,3]} Each key is the name of a movie, and each value is a list of ratings. Write code which prints out every key whose value has a fre…
  • Please help to provide solution for python problem . Thanks in advance. ¬†. 2nd Question (Python Coding Test) Scenario: HR department wants to automate the sending of bonus letters. Requirement: 1….
  • Expected {(3, 2): [(1, 2)]}, but returned {3: [(1, 2)], 2: [(1, 2)]} Expected {‘bc’: [‘ab’]}, but returned {‘b’: [‘ab’], ‘c’: [‘ab’]} help pls club_functions.py (/Users/jialongyuan/Desktop/a3): Wing E…
  • Write an address book program that stores your contacts’ names and their email addresses. The names and email addresses are originally stored in a file called phonebook.in, in the format: Harry Potter…
  • debug # This program converts Terabytes to Megabytes # You must use the read_me() function¬† # and terabtyes_to_megabytes() function in the solution # and the formulas referenced within for exponentat…
  • Chapter 12 test problems 1. Write SQL queries on the below database table that return: a) All the temperature data. b) All the cities, but without repetition. c) All the records for India. d) All the…
  • Please solve the error below in my code: FileNotFoundError: [Errno 2] No such file or directory: ‘excel_file_01.xls’ ¬† Here is my code: def fine_per_plates(): ¬† ¬†import xlrd ¬† ¬†import pandas as p…
  • In this assignment, you are given a function, pallindrome(), maybe written by one of your friends, who tells you that it will determine if a word is a pallindrome, a word that reads the same forwards …
  • For this interactive assignment, you will design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in a list and then display the following data: The l…
  • 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, …
  • http://prntscr.com/l535df Python homework, thanks for the help!
  • Task 1 Complete the function that takes an integer as input and returns the factorial of that integer from math import factorial def calculate(x): # Student code goes here print(calculate(3)) #expecte…
  • How would you solve this in the easiest way possible? ¬†¬†In the same module/file, implement a class TempConverter that that provides a GUI for converting temperatures. TempConverter should be a usabl…
  • Function fileLength(), given to you, takes the name of a file as input and returns ¬†the length of the file:¬† &gt;&gt;&gt; fileLength(‘midterm.py’)¬† 284¬† &gt;&gt;&gt; fileLength(‘idterm.py’)¬† Trac…
  • Create the logic that contains a main method that continuously prompts the user for a number of dollars until the user enters 0. Then pass the amount through a conversion method that displays the brea…
  • question Will save ulis Tes porise. Question 2 write a python script (locateme.py) that will display the following information for anyone who runs it: The account they are currently logged in as. . Th…
  • Python¬† assignment¬† This Assignment is designed to take you through creating classes, aggregation, and manipulating arrays of objects.¬† Scenario:¬† A University likes to have a simple system to kee…
  • Write a method that receives the lengths of the sides of a rectangle and returns its area. (Area = l * w) Show one test and output. Please include comments.
  • A contest is going to take place between ‘n’ contestants. There are 3 criteria to compare the players which are A, B, C values. For each ‘n’ players you are given 3 values, their corresponding A, B, C…
  • Convolutional neural networks In this question you will construct a convolutional neural network to classify a large set of low resolution images. Similarly to what you have done with A2, we would lik…
  • I don’t understand 21. What does the command len do to the following inputs? Try counting it by hand, and then input it into your Python shell. It is important to understand how the len function deals…
  • “””Q6: How long did the movie Gladiator aim to keep your attention? Save the series with this information in a variable called ‘gladiator_duration’, then print it. “”” # your code here # finding the m…
  • This program is to be made in python 3.7, using PIL to modify and import the image. The goat is the image to be used in the collage. I apologize for the amount of reading needed but the pictures take …
  • Read the provided Ledger.txt file and print out the file content.¬† The Ledger.txt file shows the income and expense of the twelve months January-December.¬† Based on the provided information calculat…
  • what are the FOUR errors in this program: 1 %%sim_magic -b Coloured_bands 2 # Drive Forward and Stop at Pure Green Line 3 4 # 5 from ev3dev2.motor import MoveSteering, OUTPUT_B, MOTOR_C 6 from ev3dev2…
  • How to write this Python program?. Exercise 6.3 Implement a recursive function multiply(a, b) to calculate the value of a*b without using the * operator. Must use recursive function to solve this prob…
  • I am unsure how to properly indent code in python, I need assistance in a python script: desired_first_name = input ( “Please enter first name to search:” ) desired_last_name = input ( “Please enter l…
  • Implement a class Address .¬†¬†An address has a house number, a street, a city, a state, and a postal code.¬†Define the constructor such that an object can be created in one of two ways: w…
  • DO NOT USE SOLUTION ON CHEGG. PLEASE USE ORGINAL SOLUTION. CHEGGG ANSWER WILL NOT BE ACCEPTED.. A Big-Data Processing Task: We need to find out 15 most frequently used words on a set of Wikipedia page…
  • this is problem_2_ambiguous.csv link: https://drive.google.com/file/d/1qkNBBNvPhj6SZmXHiNK7d1tKgSIFjOkL/view?usp=sharing. X y 20 10 – 10 – 0 0 -10 – -10 -20 -30 – -20 0 2000 4000 6000 8000 10000 0 200…
  • Overall Problem You are playing the game of Monopoly and you decide you wish to construct houses on one of your property groups.¬†The rules of the game require that the number of houses on the propert…
  • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
  • We are going to experiment with the absolute function abs() that converts a number to its Caught a user-defined &lt;Type 1&gt; exception. Please re-enter a valid number: -2.0 absolute value. The absol…
  • How do I code this in python? ¬†. Palindromes Palindromes are words, phase or sequence that read the same backward as forward Example: madam, kayak, 156434651 Write a program that determine whether th…
  • “”” PROGRAMMING ASSIGNMENT 06 Filename: ‘exercise2.py’ Write a program (in the main() in exercise2.py) which: ¬† ¬†1. asks the user to input a filename (supposedly in the same folder as your program) …
  • Could someone help me with my code? I’m trying to make it so that the program counts how many people are registered in the program. https://paste.ofcode.org/mqbZ3PRGzPhA5qBnKJEA7v
  • Please help solve this problem. Thank you… Aim Using a for loop and a range function, you have been asked to find the even numbers between 5 and 55 and then find their sum. Steps for Completion Defi…
  • I need help writing a for loop that loops across the sports dictionary and collects all subject numbers (ex. ‘a’) where the dictionary value is True. Imagine the dictionary indicates whether processin…
  • 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 …
  • . 20 – Python Activity 10 def get hash (data=&quot;python&quot; ) : Returns the SHA3 256-bit hash of the data provided. You will need to use the hashlib python library to complete this challenge. NO…
  • show me how to make program that –¬†¬†¬†Askes users’ birthdate in MM/DD/YYYY format and return the month of the users’ birthdate. python/gearny
  • https://colab.research.google.com/drive/1xEK6UGhMbL71kd0KUoMA9tka_LXxLh_E?usp=sharing ¬† Please help me with Task 1-6. EVERYTHING is in the link that will take you to a Google Collab page.
  • . 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….
  • Linux OS I keep receiving this error [Error ] Task 1. Expected: Create a file named diff.txt inside your ~/workspace/ project – log / directory with the requested format. Try again. Codio – Linux Sear…
  • i need help bringing together the user input function, calculation function, and print function, within the main function. I also have to use a for loop when asking the user for input so it will reite…
  • application should be able to accept Student data from the user and add the information in a file type of your choice. 2. Student Data should include the following StudentID FirstName LastName Major P…
  • We will use the NB model implemented in sklearn:¬† https://scikit-learn.org/stable/modules/naive_bayes.html ¬† Below are the data links: (I have shared a google drive link, please save it with the txt…
  • . Q#1 Write a program that contains following functions: 1. Define function rand_generator( ) that generates a random integer number between 100-2000 and return it. 2. Define function check_odd( ) t…
  • Show all column names. Then, if there is/are whitespace(s) in the column namesrename, use “_” to replace the whitespace(s) Q10. List the unique reservoirs in the column “Reservoir”. Q11. Replace t…
  • I have two txt file, ‘sample1’ and ‘sample2’ attached. I am wondering how to combined into a single file, with one unique student per row.¬†The unique identifier is a nine-character alphanumeric strin…
  • Create a python script file named (random_numbers.py) note — do not name your file random.py — that demonstrates the basic elements of generating random numbers. Rubric 1 point: Create a properly na…
    • Describe in details how you implemented the following modules in the report: environment simulation, -greedy, and Q-learning update. (b) Comment your code in details (c) Include the screenshots of …
  • please help me to submit assignment in next week ef create_randam_IP(): ¬†¬†¬† ¬†¬†”’ fuction that creates an IP address with random numbers in each Octet and return the created IP address ”’¬† ¬†¬†…
  • How to mock test this endpoint. How do I unittest using Mocks to test this endpoint and return a hard coded value? For example how do I hard code the value of the returned time for this mock? I would …
  • Requirements The program must demonstrate ALL of the following… ¬† Requirements The program must demonstrate¬† ALL ¬†of the following skills/concepts: The program should consist of a single Python p…
  • In the List class, complete the _linear_search method. (Note that this is a private helper method for the List class. Do not test it directly – it can be used in some of the methods that follow.)
  • Part 1.¬†Find primes ¬† Come up with few lines of code to test whether the positive, greater than 1, int variable x is a prime number.¬†¬† You may take the test numbers from this list of candidate pri…
  • Exercise 13 13. PowerBall Lottery To play the PowerBall lottery, you buy a ticket that has five numbers in the r and a &quot;PowerBall&quot; number in the range of 1-26. (You can pick the numbers your…
  • 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 …
  • Hi, I am having trouble and wondered if you can help. I am trying to do Defining__str__ Sample input: 2009 ‘ABC321’ sample output: Year: 2009, VIN: ABC321 Here is what I have already: The bold highlig…
  • Write a program that accepts a comma separated sequence of words as input and prints the words in a comma-separated sequence after sorting them alphabetically. Suppose the following input is supplied …
  • python question: define a function¬†min_depth_leaf, which takes a¬†Tree¬†instance and returns the minimum depth of a leaf in the tree. In other words, it returns the minimum length of a path from the …
  • Can you give PHYTON or MATLAB code for the question ?
  • Python Please Any help is appreciated! def change_notes(filename, changes, shift)
  • Please answer all Write a program which accomplishes the following tasks: 0 set a variable to the result of mathematical expression including +, -, * and / and of both Integer and Float values (or var…
  • I need some assistance with a homework assignment
  • Rewrite this following “for” loop as a “while” loop: ¬† ¬† for i in range(0, 17): ¬† ¬† ¬† if i % 2 == 0: print(i)
  • How Do you connect a server to a client in oop Python
  • The file will be creates Question 53 (Mandatory) (10 points) Write code that does the following: opens an output file with the filename 11 12 number list.txt, and uses a loop to write the numbers 1 th…
  • WebForms&amp;UI.py I am working on this assignment ¬†CST 111 ¬†Topic 4 WebForms&amp;UI.py. ¬†using JES Python Here is my program:¬† def addPost(): ¬†file=open file=open (“c:/inetpub/wwwroot/iisstart.h…
  • Overview This assignment will be a standard Python script. You’ll find ten different formats for validating strings, such as those that we covered in the book or in the Notebook demos: social security…
  • The questions are from the same document and some of the questions span across two photos B E F Y Z E2 2 A 25 Y25 26 The grid lines are 0.5 km apart. Write a program that allows the user to enter a tr…
  • Is there another way to do count_sort?. I UNLOCKED THE Count- SORT FUNCTION I’m HAVING A DIFFICULT TIME UNDERstanding why the cumulative Sum WORKS In GETTING THE output Array. Also,what does each part…
  • I would like to understand how a Python program computes the cost of a long-distance call as follows: ¬† The cost ¬†of¬†the call shall be determined according to the following rate schedule: ¬† ¬† ¬†1…
  • The aim of this tutorial is to learn to process natural languages using dictionaries. Make a Python program that performs the followings: 1 . Make a text file that has around (word anything inside the…
  • Update Entries in a Dictionary Dictionary entries can be modified or updated. If our person Lisa has a birthday, then her age needs to be updated. To update her age simply use the ‘age’ key and ass…
  • Analyse various school outcomes in Tennessee using pandas. Suppose you are a public school administrator. Some schools in your state of Tennessee are performing below average academically. Your su…
  • Download the “world-x database” from the following MySQL website:¬†http://dev.mysql.com/doc/index-other.html Write a Python script to increase the population of each city in the¬† world_x¬† database b…
  • Consider the importance of program design in developing a program that interacts with the user. What considerations must you take into account regarding language, user instructions, visual cues and in…
  • csv Startup Product Funding Event Result OperatingState 2600Hz 2600hz.com ¬† Disrupt SF 2013 Contestant Operating 3DLT 3dlt.com $630K Disrupt NYC 2013 Contestant Closed 3DPrinterOS 3dprint…
  • Display “Welcome to my Guess the number program!” while true ¬†¬†Display “1. You guess the number” ¬†¬†Display “2. You typea number and see if the computer can guess it” ¬†¬†Display “3. Exit” ¬†¬†Get …
  • only need ONE LINE OF CODE: what should i return after self.name = name class Person(object): ¬† “”” &gt;&gt;&gt; steven = Person(“Steven”) &gt;&gt;&gt; barb = Person(“Barb”) &gt;&gt;&gt; steven.say(“…
  • What is sentiment analysis? Explain and describe the process in detail.
  • Python help: classes and overwrites¬† ¬† Design an Employee class to store the first and last name of an employee. Add operators or functions to the Employee class to support standard operations like …
  • Can you please help with the code in Python 3.7? I have been trying but unable to get so. 1- Develop an algorithm which locates/finds the second-to-last node in a singly linked list, the last node has…
  • Develop a GUI program that calculates an employee’s pay. The program’s window should have Entry widgets that let the user enter the number of weekly hours worked (float data type), and the hourly pay …
  • Assume that the variable data refers to the string “myprogram.exe” . Write the expressions that perform the following tasks: a. Extract the substring “gram” from data . b. Truncate the extension “.exe…
  • please help meee 3) Write a Python script which includes a function that calculates the volume (V) of a horizontal cylindrical segment. The formula to calculate V is given below. The cylinder has a ra…
  • Write the regular expression that will match test_string13 with an empty string (eg. test_string13 = ” “)¬† 2. Write the regular expression that will match test_string14 with a non-decimal digit. (…
  • Project Description gather the data from the provided Ô¨Āle ‘bod’gdata’. The Ô¨Āle ‘bodyixt’ describes the data. For the EM] calculation, Age will he the X values, EMI the ‘3; values. The BMI c…
  • The files The files you will require are: ¬† Class Stock¬† [saved in¬† stockApp .py ] Each stock purchased will have 4 instance variables: ¬∑¬†¬†¬†¬†¬†stock name (a string) ¬∑¬†¬†¬†¬†¬†amount purchase…
  • Suppose that a cashier has to give change to a customer and that he only has small change : 25 cents, 10 cents, 5 cents, and 1 cent coins ( in English: quarters, dimes, nickels, pennies). find a Pytho…
  • Make a quiz game similar to “Who Wants to be a Millionaire?” Requirements: Your game will include 5 questions. You will ask the user multiple choice questions (in increasing difficulty if possible). E…
  • Write a Python function called nyasa as described down below. The function takes as parameter a list of different words (L does not contain identical words). The function returns the number of pairs o…
  • A condition to a test tht value of count to be equal to the value 5 is a. (count=5) b. (count==5) c. (count is =5) d. (count.equal(10))
  • 9.1: Function errors: Copying one function to create another. ¬† Using the celsius_to_kelvin function as a guide, create a new function, changing the name to kelvin_to_celsius, and modifying the fun…
  • Need someone to check my Python code and revised it,¬† ¬† There is only one issue on the Compare output 8, you need to make the output the same as the Expected output. ¬† Question ¬† My code below …
  • Please provide the answers to the below using PANDAS in python. Problem 5 (20 points). Consider the following dataset that has some information about 10 people. ID job marital education default housin…
  • Directions are in attachment provided. Code is provided below that needs to be edited.¬† ¬† ¬† print(‘\nStart of Test Script **************’) print(‘\n1. Create 14 student objects for use in the demo …
  • Country Z is arranged on a strange landmass in the far east. Streets were the essential method of transportation all through the standard of Little Z’s realm. In country Z, there are n all out urban c…
  • Type two statements. The first reads user input into person_name. The second reads user input into person_age. Use the int() function to convert person_age into an integer. Below is a sample output fo…
  • Creating Django Import Data import json 1. Read file classic_books.json 2. Use the json.load() function to parse the JSON into a variable named classics_data . # Read JSON file ‘classic_books.json’ us…
  • How do I add two dictionaries that show the key “answer in the beginning? For eg: {‘answer’: {‘hello’, {‘a’, ‘1’}}, {‘how’, {‘b’, ‘2’ }, {‘are’, {‘c’, ‘3’}}}
  • CST 386/486 Information Retrieval Fall 2021 W, 2:00pm-4:30pm, Zoom HW 1 Programming [10pts] Do the following as in examples posted in software session 1. Start on the page https://www.biographyonline….
  • A Python Assignment ¬† The time series of seismic data( seismic.mat attached) that contains a small “event” (i.e., a local earthquake). It is a seismogram with an earthquake signal that generate a lot…
  • . InfoFrame Class 2 . An InfoFrame contains values assigned to ‘cells’ which have an alphanumeric index. AO BO CO DO EO FO GO HO 10 JO 1 2 2 4 5 6 7 9 1 0 A1 B1 C1 D1 E1 F1 G1 H1 11 J1 Our InfoFrame…
  • 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…
  • Solve the following by creating a programs in PYTHON ¬† Question #1:¬† #!/usr/bin/python3 import unittest # ————————————————————–e128 # Review:CONDITION, loop,…
  • Please convert the below code to python. Below Source code is in Matlab ¬† ¬†. images = loadMNISTImages (‘train-images-idx3-ubyte’ ) ; labels = loadMNISTLabels (‘train-labels-idx1-ubyte’ ) ; imagesR =…
  • Most important basic elements for programming languages are: Programming Environment Data Types Variables Keywords Logical and Arithmetical Operators If else conditions Loops Numbers, Characters and A…
  • Looking for some examples of the code that would be needed to accomplish this. The code will have to take info from two different files. The below is an example of what the code needs to look like. Th…
  • Question is in the picture: Create a graphical program that will accept a name that will be HW-Database O X added to a database. All of the names within the database are to Name: Submit be displayed i…
  • I am working on a project for programming but the program but it is coming up with a stop iteration error that i don’t understand. The actual question and additional information is located in the comm…
  • – Olympic Rings using Loops¬† ¬† Redo the Olympic Ring Assignment using For Loops. Use the code to below as guide. For i in range represents 5 rings and the conditionals can used in relation to i to d…
  • A triangle function that displays an isocele triangle formed of the ”’ character (and spaces to align them well) of a certain height. This function enters the triangle height. P.S: You must use for o…
  • Yabe Online Auctions requires its sellers to post items for sale for a six-week period during which the price of any unsold item drops 12 percent each week. For example, an item that costs $10.00 duri…
  • Hello, I am working on an assignment regarding graphs in python that checks for connections regarding various routers in a dataset. In the project, I am building a graph that represents the network to…
  • Euclid was a Greek mathematician who lived approximately 2,300 years ago. Various version of Euclid’s¬†algorithm for computing the greatest common divisor (GCD)¬†of two positive integers, m and n, was…
  • Hi there, I am unsure how to code for these steps, could you please help? Here are the steps: Read file data with the pandas read_csv function Check rows and columns count. The total should be 17379 r…
  • Your program will read from a file called `grades.txt` located in the folder in which the program will be run. The input will contain any number of course “records”. Each record has the following form…
  • Please convert Matlab code into Python: %defining nums from 0 to 9 nums=0:9; %generating perms for nums P=perms(nums); k=0; %iterating to get the possible answers for i=1:size(P,1) %defining v with th…
  • The link for module11activity.txt = https://drive.google.com/file/d/1tGs-kv3Fc0LnNAIhuV7CzrtqktaM5wQx/view?usp=sharing. A Caesar cipher is a type of substitution cipher in which each letter of the mes…
  • 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…
  • The 10000 integers between 1 and 26, one per line ¬†( module11activity.txt) ¬† ¬† Hello, Please help me with this python code ¬†. A Caesar cipher is a type of substitution cipher in which each letter …
  • Please find the code that will match the sample output following these instructions.¬† *Sample Output* length = 1 width = 2 Initial area of r1 is 2 length = 2 width = 3 New area of r1 is 6 length = 1 …
  • Action: Using the values method, iterate over the bluePaladinData dictionary’s values to print each value on a separate line. In [48]: # Your implementation:for value in bluePaladinData: ¬† ¬†print(va…
  • Can you look at my flowchart pages and give any feedback where changes may be needed? Does the flow make sense and is there anything missing that may need to be added? Thanks Sean Permann ENTD200 D001…
  • 13 – Say b’hello’ to my Little Friend 10 coding python . Connect to the server located by the given arguments using IPv4 and TCP. . Send the bytes object b’ hello’. . Receive and return the entire res…
  • The attached data file has 100 pieces of news. Please¬†run a sentiment analysis and a topic analysis on the news.¬†You can use Python, R, or any other software.¬† You can program with any programming …
  • . Stock Class Method Input Processing getName Returns the value of the name attribute getAsset Returns the value of the asset attribute getPriceList Returns the DailyPriceList object of the priceLis…
  • python function Question 1. For the sake of this question, we will need to define a new type. Let us define nested lists of arbitrary depths (nests for short) as follow:¬†(nestof X) = (listof (anyof X…
  • 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 …
  • Questions on python for time based on monitor/performance as a decorator: ¬† I understand about importing time and can use start and end time. And I have it on the outside function for total execution…
  • create a glossary (dictionary) of technical terms and definitions. It will be set up as a Python dictionary structure. The file glossary_starter.py is a complete starter framework for the assignment. …
  • Write a program that prompts¬†the user for the numerator and denominator of an¬† improper fraction , then displays the equivalent as a mixed number¬† with no space on either side of the /.¬† The mixed…
  • Prepare one python notebook (recommended- use Google Colab) to build, train and evaluate model (TensorFlow or TensorFlow.Keras library recommended) on the two datasets given below. Read the instructio…
  • IT’S ONE QUESTION WITH A PRETTY LONG DESCRIPTION¬† ¬† Can someone help me to correct my error, where I am making the mistake, I am posting the entire requirements of my assignment what needs to be don…
  • 13: Exact Change 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, Nickel…
  • Which of the following parameter is used to draw shadow behind the pie plot
  • What is Python’s standard library? Explain any 2 modules from 2 different Python standard libraries. Provide an example program of each module/library used.
  • Write a function¬† takePoll ()¬†that takes a list of strings as a parameter and polls the user to build a dictionary out of the options in the list. The function builds the dictionary by repeatedly as…
  • Python Programming. Prompt is in first image. In the image below, I found a solution to this in python: It doesnt work for all test cases. So I’d like a few things: – Could you please explain above wh…
  • ALPHABET = “abcdefghijklmnopqrstuvwxyz” def function(char, n): ¬†¬†“”” ¬†¬†(str, int) -&gt; str ¬†¬†¬† ¬†¬†This function returns lower case letter which appears n position later than the input charach…
  • Use the following data table to create 4 lists – put stock symbols in one list, number of shares in a second list, share purchase price in the third and current share price for the fourth.¬†Make sure …
  • You should save the solution to this problem in a file called binarysearch.py ¬†if you wish to use the tester program (note: the test program tests both iterative and recursive functions, in that orde…
  • Develop a Python program for face recognition algorithm. The program should have the functionality to trigger training of your linear regression model and load a test image one by one, predict the cla…
    • Next it should prompt the user and ask for the language to which the text is to be translated. You can provide option for any five languages of your interest. These do not have to be necessarily as…
  • Lab 2A – Dictionaries 50 pts Directions: You will be given a file called FruitDat.txt. The format of the file will be as follows
  • *****Please! first, upload 423_HW11_Numpy.ipynb on jupyter notebook then solve the problem by using the given .ipynb file. **** ¬† ****Given File*********************423_HW11_Numpy.ipynb***** ¬† { “ce…
  • Some topics this question might cover include: if statements While loops with no if statements While loops with if statements ¬† There is no for loop. Simple with not too many lines of code is always …
  • please write python program to converting from decimal to hexadecimal NOTE: For full points, you must provide a solution, not merely an answer. Use each question’s message box to explain how you arriv…
  • Write a program for swapping of two numbers and adding of two numbers using function and module.
  • What would the Python code for this question be? Sorry for the messy formatting. Data: all_patients_symptoms = {56374: ({“headache”,”fever”}, {“coughing”, “runny_nose”,”sneezing”}), 45437: ({“coughing…
  • C was taught first because it is considered a “mother” language. What is the C programming language used in everyday life? Will python ever replace C? Please explain
  • Modify this Tic Tac Toe game and add the following: ÔÉľ try blocks¬† ÔÉľ user-defined class. The class must be imported by your main program and have the following required structures. ‚ąí at least 1 …
  • Data Set: https://raw.githubusercontent.com/cmparlettpelleriti/CPSC392ParlettPelleriti/master/Data/HW2.csv ¬† ¬† Variable Descriptions: age: age in years of person. had_cancer: 0 if the person has NOT…
  • pls answer ¬†. Question 15 (3 points) Suppose the .lower() function is not available. What is another way I could convert a single, capital letter to a lower case letter (ie. convert &quot;D&quot; to …
  • plz help. 1. Write afunction cube(x) that takes a number x as its input and returns the cube of its input (Le, x raised to the power of 3}. For example: &gt;&gt;&gt; cubeCZ) result: 3 &gt;&gt;&gt; cub…
  • a function coinstar(q, d, n) where q, d, n are numbers of quarters, dimes and nickels, respectively.¬†The function should calculate the total dollar value, and round the result to whole dollars.¬†Retu…
  • Hi, I am writing a program to bring the sport team with highest count to the top of the list. I created a class to return a string with the sport team’s information and then stored it in a list. In my…
  • solve change ¬†the code for exercise 2-5 exercise 1 code is¬† import numpy as np import neurolab as nl input = np.random.uniform(-0.6, 0.6, (10, 2)) ¬†# 2) random data target = input.sum(axis=-1).resh…
  • A nested decision structure can achieve the same logic as a case structure
  • def init_(self, host, port): # Add code to initialize this class. def ProcessMsgs (self) : II II IT Main event processing method pass
  • CMPS 150 Fall 2021 Programming Assignment #3 Date Assigned: Tuesday, September 28, 2021 Due Date: 11:55 PM, Sunday, October 3, 2021 Objectives: . using Python IDLE environment, input/processing/output…
  • To answer the question, please follow the instructions given below: Use the given¬†dataset¬† Drop the “Prisoner Ids” Variable Do not scale the data Do not split the data into training and test. Build …
  • Hello, I am not sure how to put this code into Python Programming. Any suggestions? I am not sure what missing information is needed. Everything that is needed shows. It is for Python Programming. 17….
  • Exam Efficiency 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 wrong X2 number…
  • Bookshelf Manager ¬† Instructions It will read in multiple works of literature to create an index of the words used in each work (in the form of a dictionary) and a popularity index. We will assume th…
  • Add five users (user1, user2, user3, user4 and user5), four directories (dir1, dir2, dir3, dir4). Add two files in each of the directories. The files should be named as file1, file 2 etc. Create the f…
  • Can I have some insight on how to work with queues here with this problem? Create a list-based implementation of queues. In this implementation, a Python list is directly used to store the items in th…
  • I need help solving these few questions about python Question-g i Considering a singly linked list of integers implementation, assuming that elements of the list are always in ascending order, write a…
  • Write program named¬† program71.py ¬†as follows. Follow instructions carefully to avoid point deductions. In the main function: create list¬†named¬† states1 ¬†that holds the two-letter abbreviations o…
  • How would you compare each of the values for a given key in these 2 dictionaries in python? ¬† dict1 ={‘A’: ‘0’, ‘C’: ‘+’, ‘B’: ‘+’, ‘E’: ‘+’, ‘D’: ‘+’, ‘G’: ‘0’, ‘F’: ‘+’, ‘I’: ‘0’, ‘H’: ‘0’, ‘K’: ‘0…
  • Pymongo update document using insert api call instead of update_one. Is this possible? Instructor insists that it is possible, but I can’t see how it would be since insert adds a new document with a n…
  • Please assist with writing this in python 2 programming. This is for a beginner class in programming so it should be a simple program, the book is Fundamentals of Python: From First Programs Through D…
  • python code where patient get ticket from front desk receptionist . ¬† and¬† ¬† python code where patient enters his name and shows the pending payment to pay and exists system afterwards .
  • Hi I have the following question We have implemented¬† selection sort ¬†in the code file. It is possible to adapt this algorithm, and in particular the number of iterations of the outer loop, so that …
  • Simplify the following code so that it does not use any breaks or continue statements, yet the logic is equivalent. ¬† ¬† counter = 0 ¬† ¬†while True: ¬† ¬† ¬† if counter &gt;= 100: ¬† ¬† ¬† ¬† ¬†brea…
  • complete Programming Exercises #15¬†from chapter 5.¬† ¬†It mentions that your program should work by using those two¬†value returning functions.¬†There are multiple ways to solve this one,¬†but the on…
  • “A grasshopper is trying to reach a flower that’s N feet away by hopping to it. However, there are some restrictions on how it can hop. It can only hop forward, not backward. If it passes the flower, …
  • Which of the following is usually true? a.recursive functions require more computer resources and more execution time, whereas non-recursive require more lines of code b.recursive functions require fe…
  • Exercise 8 (3 points). As a first step, start with who_raw and create a new data frame, who2, with the following properties: All the ‘new…’ columns of who_raw become values of a single variable, cas…
  • Question: we need to provide a new source code which include Flower, that has three instance variables of valuables that represents name of flower, its number of petals, and its price. and the class m…
  • finish program that categorizes each mail message by which day of the week the commit was done. To finish this look for lines that start with “From”, then look for the third word and keep a running …
  • The data and the hw5_util and hw5_grid.txt are in this link: https://files.fm/u/54jgrpcn2. after all paths have been generated and added to the counts, output the grid. In this output, rather than pri…
  • could you give the full explanation of the question? 1. [Weight = 6] (Frequency analysis on ciphertext ) There are different mechanisms for encrypting a plaintext. We attempted to reorder the letters …
  • Question 1 ¬† complete the following script student.py ¬† # Name: [your name] # email: [your Seneca Email address] class Student: ¬† ¬† def _init_(self, name, number, program): ¬† ¬† ¬† ¬† programs = …
  • Write the function power_set_check that returns True if the list is a power set. For simplicity, you may assume there will be no duplicate sub-sets or nested null sets. Example: &gt;&gt;&gt; power_set…
  • How¬† tuples ¬†can be useful with loops over¬† lists ¬†and¬† dictionaries , and give Python code examples. Your descriptions and examples should include the following: the¬†zip¬†function, the¬†enumera…
  • INTRODUCTION¬† Especially because there is often so much data, being able to display security data visually can help the security or network admins, managers, and users see important patterns or make …
  • where does an inheritance search look for an attribute? ¬† 2. when must you use import instead of from with packages?
  • Python Code: Design a quiz that will be administered for five students. Next it will upload all the data from the quiz to a .txt file and display the score for the five students. The details are given…
  • Write a program that prompts the user to enter an integer value between 0 and 99. The program will output the coin value of the amount given.
  • Learning Journal Unit 2 Part 1 The volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. Writea function called¬†print_volume (r)¬†that takes an argume…
  • 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…
  • 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 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.
  • Write a program to prompt the user to enter a fist name, last name, student ID and GPA.¬† Create a dictionary with the data. Print out the data.¬† Then remove the GPA and print again.
  • I am new to python and have difficulty to find a item in the list. How do i check if an input is on the list or not? #progarm print(‘This program displays the state capital and state bird of 50 states…
  • can I see a copy n paste of the code? no need to comment or format, I’ll do it myself, I j need a time saver to catch up
  • So I have this assignment this week: ¬† I have the following code written: import numpy as np import pandas as pd import matplotlib.pyplot as plt # Read data from housing.csv and Popchange.csv #and st…
  • Write Python code (Please also use Comments #)¬† ¬†. Given a list of ‘n’ distinct elements, the task is to Ô¨Ānd all elements in the list which have at‚ÄĒleast two greater elements than themselves…
  • 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. …
  • . I. This project requires you to use: it Input from the player Print results at least one branching mechanism {if statement} at least one loop {while loo p } Boolean logic II. Decompose the specifi…
  • How can using python help further business career? What are some advanced topics in programming ?
  • Help Twitter Combat Hate Speech Using NLP and Machine Learning. DESCRIPTION Using NLP and ML, make a model to identify hate speech (racist or sexist tweets) in Twitter. Problem Statement :¬†¬† Twitter…
  • Given the following statement: “%4d” % var1, which of the following is accurate? Group of answer choices The variable var1 must be an integer value. The variable var1 must be a string value. The varia…
  • Create the program hello.py as described on pages 11 – 13. Ensure to include the comment line. 2. Test your program and ensure that it works properly.¬† 3. At the end of the code, using comment lin…
  • Using the text below, make a python dictionary and: released = { ‘iphone’ : 2007, ‘iphone 3G’ : 2008, ‘iphone 3GS’ : 2009, ‘iphone 4’ : 2010, ‘iphone 4S’ : 2011, ‘iphone 5’ : 2012, ‘iphone 5s’ : 2013,…
  • I need the words: Orange Red Cyan Blue Magenta Green Yellow written to a file named “colors.txt”
  • What is the average cpi. 6. The below table shows the instruction count (IC) for programs running on three processors P1, P2, and P3 with the clock rates 3.0 GHz, 2.5 GHZ, and 1.0 GHz respectively. Ea…
  • Directions Using the following guidelines and python program. 1. Make a program 2. Add three comment lines at the top of the program that contain: a. Program Name b. Program Description c. Programmer’…
  • Create a Python function named number_divisible that takes a list of integers and an integer n as input parameters and returns the number of elements in the list that are divisible by n. Implement a P…
  • Using a Python program that accepts a comma separated sequence of words as input and prints the unique words in sorted form (alphanumerically) Please enter a sequence of words seperated by commas : go…
  • reate a FLOWCHART and a PSEUDOCODE for each problem. Use the information below to create a pseudocode (which can be a text-based description for solving the problems) and a flowchart (using flowchart …
  • Now compute the 5-nearest neighbors classification of the first movie in the test set. That is, decide on its genre by finding the most common genre among its 5 nearest neighbors in the training set, …
  • I have developed a program and it runs however, when I run it I get this error when I try and print the dictionary. Please let me know how to print the dict successfully! Traceback (most recent call l…
  • Please use the following codes as a reference: from ArrayList import ArrayList class ArrayStack : def __init__ ( self ) : self .data = ArrayList() def __len__ ( self ) : return len( self .data) def is…
  • how to Get the value from ¬†“student_id” ¬†column that are in specific ¬†‘grade’ at specific “school_name”
  • How do I go about doing this code? I believe I need to use turtle graphics, but I am not sure and don’t know how to. Thank you for the help. ¬† ¬† ¬† ¬† ¬†. Introduction. This project involves the dev…
  • z t w p R H J 16. (+5) Problem # 35 (Chapter 08 Review problems ) Which of the following diagrams answers the question NOTE fig 8.17 and 8.18 a. Z T W P R H L b. Z T W P R H C. Z T W P R H d. Z T W P …
  • For part c, i would like to use either python or rstudio for the computing part. Let Ô¨Ābe the real-valued multivariate function x E R2 H 27:: + 451′? + all! + 4×135 + 3.81. a. [10 points] Show that i…
  • Data mining is the process of sorting through large amounts of data and picking out relevant information. It is used by business/government intelligence organizations, and financial analysts, and is i…
  • This is the updated missing information, here is the link the project intro is talking about http://flavorsofcacao.com/chocolate_database.html ¬†. Q5: test function: test_calculate_stats (1.5 pts) …
  • Need python help. Chapter 8 Filling the blank statement of following BankAccount class that support these methods: _init_(): Initializes the bank account balance to the value of the input argument, or…
  • How do I get the screenshots required if the os is not identified? I am not seeing any information in order to take the screenshots. #Import the sys, os, and the subprocess modules import sys, os, sub…
  • 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.¬†¬† De…
  • Please assist with execution of these problems: Program 3-1 Execute a simple program to compute the tax on an order amount. The program should prompt for the order amount and the state. If the state i…
  • Hello I am stuck in this assignment. I have the code, but it shows it is still incomplete. I don’t know if there is another file I need to create. When I check it shows 3 out of 5. Can I please get he…
  • Question 9: 10 points In this question, we will create a prediction from boosted trees using: ¬† ūĚĎďūĚĎŹūĚĎúūĚĎúūĚφūĚĎ°(ūĚĎ•0)=ūĚφūĚĎĖūĚĎĒūĚĎõ(‚ąĎūĚĎ°=1ūĚĎáūĚõľūĚĎ°ūĚĎďūĚĎ°(ūĚĎč0)).fboost(x0)=sign(…
  • Use only phyton and has to work on coderunner. Time left 1:53:19 Complete the upper_vowel ( sentence) function that takes a string parameter, sentence, and returns a new string. The new string contain…
  • This code is completely done except for calling print_summary variables. I need to call them as global to print summary numbers. These numbers are inside pcap file i will list them under the code for …
  • Use Python, the dataset, and the ‘datatime’ module/functions within python.
  • Python Hi, the script of the program is already written, I included it here, I just need steps 1 to 15 added to the script: Do not modify my program including main () function. Include your relevant i…
  • How do I fix this Body of the Program? if input is 10 5 3 21 2 -6 NumList = [] Number = int(input()) for i in range(1, Number + 1): ¬†¬†value = int(input()) ¬†¬†NumList.append(value) print(min(NumList…
  • Please answer in python and it should work as the screenshot shows. Thanks! Write an HTML parser ImageLinks that prints out all the hyperlinks of the images on an HTML web page. You should implement a…
  • Writea python recursive function that will return a term in the geometric sequence whose definition is a= 3 and r =4. Write code that includes a for loop which will invoke the function and then print …
  • I hope you are doing GREAT’, The assignment has two parts’ The coding part has 5?. value, and the YouTube presentation worthes 57:. The assignment is easy to Follow yet needs the patience to solve…
  • Define a function in Python called print_max(num_list) that prints the largest number in a list passed in as a parameter. The length of the list can be arbitrarily long, and the list can contain float…
  • 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…
  • # 15 points def exercise92(neu_observations): Data set: Iris Fit the Iris dataset into a Run model with neighbors=5 and predict the category of observations passed in argument neu_observations. Retur…
  • you will study the electricity demand from clients in Portugal, during 2013 and 2014. You have been provided with the data file, which you should download when you download this assignment file. The d…
  • 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¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • Please explain the solution for IT 140 : Introduction to Scripting : Chapter 4.8.2 Nested Loops : Print seats
  • Need help with python ¬† Five number summary ¬† Write a program that will do the following tasks: Load the file internetusage.csv into a data frame called df. Create a new data frame, internet, by sub…
  • Q1 Regular Expressions 34 Points For each of these regular expression questions, write exactly to the specification. If it’s a constraint, it has been specified. If something is not specifically state…
  • You are given two complex numbers. You will print the result of their addition, subtraction, multiplication, division, and modulus operations. The real and imaginary precision part should be correct u…
  • Consider the dataframe df; convert the column df[“city-mpg”] to df[“city-L/100km’] by dividing 235 by each element in the column ‘city-mpg’.
  • This is the project- home inventory class that will be used by a National Builder to maintain inventory of available houses in the country.¬†The following attributes should be present in your home cla…
  • For the second exercise (40 points) determine the union, intersection and difference of the square and cube of integers ranging from 1 to 100. Sets are clearly the way to go here. You can use Math fun…
  • Calories from Fat and Carbohydrates 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 car…
  • A components manufacturer delivers a batch of 125 microchips to a parts distributor.¬†¬†The distributor checks for lot conformance by counting the number of defective chips in a random sampling (witho…
  • How I define a function called¬† myMap ¬†that accepts two arguments: a function¬† fn ¬†and a list¬† L . The function should “map”¬† fn ¬†onto¬† L , meaning that it should call¬† fn ¬†on each individua…
  • Can I have your help building a graph: BUILDING¬†YOUR¬†GRAPH # #¬†Working¬†with¬†the¬†API:¬†¬†See¬†use¬†of¬†http.request:¬†https://docs.python.org/3/library/http.client.html#examples # #¬†Using¬†TMDb’…
  • Write a regular expression which matches the substring “cat” anywhere within a string. Your pattern should also successfully match the word “caterpillar” as well as “scathing”. ¬† 2. Write a regula…
  • Function Name: select_states Parameter:¬† cases – A dictionary with state names as keys and the number of COVID cases per 100,000 residents as values threshold – An integer that represents the upper t…
  • Hi, can anyone explain the following Anagram code? def f(s1, s2): s1 = s1.lower() s2 = s2.lower() l1 = list(s1) l2 = list(s2) for i in l1: try: l2.remove(i) except: return False return 12 == []
  • I’m not understanding how to define this function. How would I go about this?
  • How many three-digit numbers are divisible by 17? Write a program to print them.
  • Given two variables iVal and fVal, containing respectively an integer and a float value, write a statement that writes both of their values to standard output in the following format: i=iVal f=fVal. T…
  • Create function called¬† pigLatin ¬†that accepts a string of English words in the parameter¬† sentence ¬†and returns a string of those words translated into Pig Latin. English is translated to Pig Lat…
    • Assignment: Create a python script to convert an IP address from a string to an integer For now, use a hardcoded IP address of “192.168.30.125”¬† Display the integer version of the IP address Your …
  • Can you please help guide me through how to type the python code for them?¬† Using the following .csv sheet in Jupyter notebook: https://covid.ourworldindata.org/data/owid-covid-data.csv ¬† WIKIPEDIA …
  • def exercise @ 8 ( ) :` 1 1 1) Load the CSV data From http: / / samplecsus . s3 . amazonaws . com / Sacramentorealestatetransactions . cav into a DataFrame # Return the following items :&quot; – row_…
  • Ed Butler is the production manager for the Bilco Corporation, which produces three types of spare parts for automobiles. The manufacture of each part requires processing on each of two machines, with…
  • 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…
  • Please write a program using generator to print the even numbers between 0 and n in comma separated form while n is input by console. Example: If the following n is given as input to the program: 10 T…
  • I never really understand these examples until I can load them into my debugger and trace how they work. ¬†Here’s the question: in many card games, cards are either face up or face down. Add a new ins…
    • python3 script which takes a single sentence from stdin and prints the words, in sorted alphabetical order, on a single line.
  • Find the output generated by the following code and explain the results: x=”one” y=”two” c=0 while c&lt;len(x): print(x[c],y[c]) c=c+1
  • A sudoku is a popular puzzle that involves using the digits from 1 to 9 in various ways. For this assignment, we will consider only what we call a simplied sudoku. A simplied sudoku consists of an N ?…
  • Working on this function but it is not handling exceptions. Function should handle pi/4 (returns float error shown below) 2pi/3 (returns float error shown below) 2pi (returns float error shown below) …
  • 3 . ( dictionary , 15 points ) Implement a function STUDENT ( ) which allows the user to enter the 7 – digit student ID . The program will keep prompting the user for a last name and first name . If …
  • In python, I am trying to write a game where “Players take turns to roll a dice (1-6). On each roll, players would place as many tokens (checkers) on the board as the dice face value. The player who g…
  • I have an upcoming project due and I just need to know the basics on how to do it. Any help would be appreciated. CS 115 – INTRODUCTION TO COMPUTER PROGRAMMING (PYTHON) PROGRAMMING PROJECT 4 INTRODUCT…
  • Use Python 3 Write a recursive function¬†iPattern¬†that accepts two integer arguments and generates the patterns indicated below. The first argument is a positive integer that is a power of 3 that rep…
  • PYTHON 3 Coding and a little Discrete Math. I already solved part A. Please help solve part B and part C def ¬† format_prop (prop) : ¬†¬†¬†¬†result¬†=¬† “” ¬†¬†¬†¬† if (prop[ 0 ]¬† in ¬†[ ‘or’ ,¬† ‘an…
  • q6 – create function createWord() to meet the conditions below # ¬† ¬†– accept a list of string as parameter # ¬† ¬†– add a meaningful docstring¬† # ¬† ¬†– extract the first charcter of the first it…
  • focus -optimize selection process Business challenge/requirement Motion Studios is the largest Radio production house in Europe. Their total revenue $ 1B+. Company has launched a new reality show -“Th…
  • doc test: def make_derivative (f): “””Returns a function that approximates the derivative of f. Recall that f'(a) = (f(a + h) – f(a)) / h as h approaches 0. We will approximate the derivative by choos…
  • . Graphs with Matplotlib Using the library Matplotlib and the provided data files create the following graphs: I) Pie chart Create a pie chart that shows the percentage of employees in each departme…
  • ABC Consulting, Inc. needs some support for its analysis of annual employee performance bonuses for its professional staff. Professional staff are one of two types: Consultants or Directors. All profe…
  • Description: Python program (script) named Picture.py which draws a picture in a Graphic Window. Chapter 4 introduces the topic of Graphic Windows and the objects you can place in them. The purpose of…
  • Which of the following best describe the Relational database model? a.¬†¬†¬†¬†¬†¬†It is a model in which files are connected to each other. b.¬†¬†¬†¬†¬†It is a model that has three types…
  • A statement that creates a new variable and gives it a value.
  • will give high rating if correct PYTHON Activity:¬† Given (see pic)¬† Code for copy (see below pic the template of code)¬† ¬† class FileNode: def __init__(self, filename, depth=0): “””This function in…
  • Please help me solve this computer science problem. Please help me thanks. Modify the decimal addition algorithm of Figure 1.2 so that the two numbers being added do not have to have the same number o…
  • Which of the functions sum1, sum2, and sum3 produce a side effect? What is the side effect?
  • Write a program that passes a variable to a function. Explain the benefits of incorporating a modular design into a computer program. Would it be more efficient to write one large program? Why or why …
  • . Let’s play around with the first paragraph of Moby Dick: Call me Ishmael. Some years ago – never mind how long precisely – having little or no money in my purse, and nothing particular to interest…
  • Please help. indices start from 0 sinc Question 4 (1 point) What is the output if the user input was 2.5 &lt;enter&gt; followed by 3 &lt;enter&gt; ? &lt;enter&gt; is not part of the typed input, it is…
  • Write implementations of the __repr__ special method which for a Contact shows the name of the contact. For a contact named “Sara Loggins”, we want to see “Contact(name=”‘Sara Loggins’)”. You should n…
  • Develop a bash or python script to encrypt all xyz files in a directory with the AES¬† algorithm (in CBC mode).¬† Your script should take two parameters: a directory path and a file extension. For exa…
  • A square can be defined by 3 ints: x, the horizontal position of the lower left corner; y, the vertical position of the lower left corner; and s, the height and width of the square. These three ints c…
  • I’m trying to properly run a program that asks the user to enter five test scores and i’m having trouble doing so. The program should display a letter grade for each score and the average test score. …
  • program in python (opencv). Make a program that can recognize photos of domino pieces. To work, the attached images must be used as an example. The program must be able to: -count the number of pieces…
  • Modify Class Example: 12 to find the minimum value in the range x=[0,45], rather than the maximum value. New min: -0.0414942916985869 at x: 10 or rad: 3.183098861837907 New min: -0.352102110681843…
  • 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, …
  • Write a Boolean expression that is¬†True¬†if the value of¬†x¬†is equal to zero.
  • Below is my code for this. I need the answer for the first to be true and the second one to be false. when I run the code I get the output:¬† False False def occurs_n_times(L,n): ¬† ¬†L=[] ¬† ¬†L.s…
  • An educational game company has hired you to work on a game about words. You will implement an interactive game where the players enter three words, one at a time, and your program prints phrases that…
  • ” Exercise 8 (3 points). Complete the function, coo2csr(coo_rows, coo_cols, coo_vals), below. The inputs are three Python lists corresponding to a sparse matrix in COO format, like the example illustr…
  • I need help writing the pseudocode for this problem. Create a FLOWCHART and a PSEUDOCODE for each problem. Use the information below to create a pseudocode (which can be a text-based description for s…
    • Create a home inventory class that will be used by a National Builder to maintain inventory of available houses in the country.¬†The following attributes should be present in your home…
  • For this question we are not allowed to use the range function python already has. Here is the question: Define and test a function¬†myRange. This function should behave like Python’s standard¬†range?…
  • Download functional_art.py and run to see. In my_functional_art.py improve on the above by including additional functions and additional decorations by drawing from drawtool import DrawTool import mat…
  • Before doing this question: After doing the question, it showed me the problems and I could not get the grade:. RestaurantRating Imagine you are trying to choose what restaurant to visit. You have a l…
  • Can someone correct me where I went wrong please? This is my task: ¬† 1. Design an interface of Rock Paper Scissors Game as this:¬† 2. Click on Start Game to start the game (5 points)¬† 3. Click on Qu…
  • Based on this pseudo code: Function Real getScore(String student, String names[], Real scores[], Integer size) Declare Integer counter = 0 While counter &lt; size If student == names[counter] Then Ret…
  • +639983273121 (https://gohub.io/go/aHR0cHM6Ly9zbXMyNC5tZS9udW1iZXItNjM5OTgzMjczMTIx)
  • What are the best and worst-case Big-O complexities of¬† merge ,¬† short bubble and¬† insertion ¬†sort? Use comparisons as the basic unit of computation. (3 marks) ii.The box below will allow you to…
  • You will use the LopesCloud server¬†that was created in Topic 2 to create a homepage for your blog. You will then set the homepage of the webserver to display your results. Using the webserver¬†from T…
  • 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…
  • . A11turtle Functions This file, when run, draws a spiral and a collection of circles. Your job is to 1. Write draw_spiral_recursive based on the while loop version in draw_spiral. In that code, …
  • has to be done in python¬†. Implement the function invert_and_merge, which takes any number of input dictionaries via a star parameter, and inverts and merges them into a single result dictionary. Whe…
  • State the difference between learning and predictive phase in predictive modeling.
  • having no idea how to deal with this question by using python please help! Question 4 – Where to build my house? Bob wants to build a house along a river. Unfortunately some parts of the river are occ…
  • I need help debugging this code. def get_most_common_element(lst): ¬†¬†return max(set(lst), key=lst.count) class Pl88yer: ¬†¬†def __init__(self, name): ¬†¬†¬†¬†self.name = name ¬†¬†¬†¬†self.active = T…
  • Hello, having a bit of an issue with this. For a few hours. Please assist! 7.8 LAB: Word frequencies lists ¬† program that first reads in the name of an input file and then reads the file using the cs…
  • Locate or write two Python scripts that support security automation. Discuss their use in cybersecurity.¬†Explain why you selected these two and specifically how they are useful.
  • These are supposed to be done in python. I can’t understand. Please help asap 1. Generate random real numbers that is uniformly distributed between 0 and 20. Generate 1000 numbers and plot the histogr…
  • Answer these three questions: 1. 2. 3. ¬†. Given the following declaration, which of the following statements is NOT true. distance = 18 + 29 * 18 0 ‘distance’ is the name of a variable that will …
  • Here is dataframe function: def get_dataframe(d): ¬†¬†return pd.DataFrame.from_dict(d) get_dataframe({‘Names’:[‘abc’, ‘bcd’, ‘cde’], ‘age’:[12, 23, 34]}) Assume same structure as above. Increase the a…
  • writing the program to the user to enter n number of integers and store them in a list called nlist. Assume that the user provides the value for n (the number of elements in the list).
  • Write a scrap object on the following code.¬† import urllib import urllib.request from bs4 import BeautifulSoup theurl = ‘https://twitter.com/BarackObama’ thepage = urllib.request.urlopen(theurl) soup…
  • can someone provide me with the code for this sample output? thank you Sample Output Welcome to Your Music Library Options : 1) Display library 2) Display all artists 3) Add an album 4) Delete an albu…
  • INTRODUCTION The goal of this programming assignment is to enable you to practice programming using lists. PROBLEM DEFINITION: Write a program that has three functions that do the following (identify …
  • Implement a function named “inputs” that takes a parameter containing a list of strings (e.g, [“2 ft”, “5 ft”, “8.3 meters”] representing measurements and passes each string to another function. That …
  • Case Stu dy Objective: 1. Make the learner load the data using pandas. 2. Create new columns in dataset from existing columns. 3. Use pandas to answer questions of interest. 4. Plot variables of inter…
  • 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…
  • In this assignment, you will analyze the RMS Titanic dataset. https://en.wikipedia.org/wiki/RMS_Titanic . Your goal is to classify survivability based on the various factors of the passengers. Visuali…
  • Pls help solve question 4 and 5.. Trees Question 4: Search Write a function search that returns the Tree , whose value is the given value if it exists and None if it does not. You can assume all entri…
  • Each student in a course needs to submit 3 lab assignments and take 2 tests.¬†Design a program to do the following.¬†Ask the user to enter 3 lab scores and 2 test scores.¬†Calculate and display the la…
  • . -‘[:Itography: Forging Digital Signatures IIZScc E 4 Hr 15 Min Remaining Instructions Resources Help Q . 100% Execute the Attack 1. Log Into the Cryptic Machine Log into the crypto machine using t…
  • Question 6. Which is the sixth worst month for the market portfolio in the dataset? Write the code to select the relevant row of ff . : sixth_worst = sixth_worst Question 7. Compute the array mkt_cent…
  • Modify the attack code so that, a separate file readme.txt is generated to include the ransom request along with your original test.txt.file still including encrypted data. In other words, revise the …
  • 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 the…
  • The in operator returns True if the object is not present in a given sequence. Otherwise, it returns False. Select one: O True O False
  • Take any one of the three BSTs generated for Question 1, and after processing the file with it, display a table of the Letter counts (not comparisons!) and their relative percentages. Your table shoul…
  • An example of a function called¬†has_duplicates¬†that takes a string parameter and returns¬†True¬†if the string has any repeated characters. Otherwise, it should return¬†False.¬†¬† Implement¬†has_dupl…
  • Write¬†a¬†while¬†loop¬†that¬†counts¬†down¬†by¬†2¬†to¬†0¬†from¬†20. 1)¬†Create¬†a¬†looping¬†variable¬†‘i’.¬†Set¬†it¬†to¬†the¬†starting¬†value¬†of¬†your¬†countdown. 2)¬†Create¬†a¬†while¬†loop¬†with¬†a¬†…
  • I need help with a python code for this problem that has a function for input, function for calculations, function for printing results, and a main function to tie it altogether. I have it all written…
  • print( “Question 1” ) positiveinput= int (input( “Please enter a positive number: ” )) while positiveinput&lt; 0 : positiveinput = int (input( “Please enter a positive number: ” )) number=positiveinpu…
  • commun Professor Commun Commur DL Tracy Mc| Pearson P Pearson P Pearson P Pears com/courses/61ef00cbaeb4c86d87e1f070/assessments/5dbc94bf-2487-4cac-9bf9-d5e40974513d/activities/93a541fc-fb4a-… Quest…
  • Make a simple Vehicle class as shown below. The inputs are make , model , year , price , and color , in that order. The values should be saved in the instance under those names. No defaults should exi…
  • Calculate data statistics. Write a program to calculate the sum, maximum and minimum values of a list. You need to define your own functions for calculating the above values instead of calling sys…
  • Problem 8) What will this piece of code do from scipy import linalg import numpy as np a = np.array([[3, 5, 0], [1, -1, 0], [0, 5, 1]]) b = np.array([2, 14, -1]) x = linalg.solve(a, b) print(x) a) [ 9…
  • 3 . Write a function called start codon which accepts a DNA sequence as its argument and returns the first codon as a string . Assume the sequence is in frame
  • From the random module import randint to roll each die randomly 1. # in pseudocode, import a random function 2. # the name is helpful for the next M5-2 assignment
  • “”” File: useArraysAndLinkedNodes.py Author: Derrf Seitz This program exercises arrays and linked nodes. The following files must be in the same folder: ¬†arrays.py ¬†node.py “”” # &lt;your name&gt; #…
  • Week 4/5 Assignment Week 4/5 Assignment 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 fro…
  • The goal of this homework is to create a¬† well-designed¬† game similar to¬† Wheel of Fortune , where the computer picks a secret word from a list, and the user is tasked with guessing what the word i…
  • Need help with parts “Your Code Here” class Mint :` &quot; &quot; &quot; A mint creates coins by stamping on years . The update method sets the mint’s stamp to Mint . current _ year . &gt; &gt; &gt; m…
    • A 4-bit shift register constructed from edge-triggered D-type flip flops is shown below. If, on successive rising edges of the clock signal CLK, the input takes on the values 1, 0, 1, 0, 1, 1, 1, …
  • https://www4.stat.ncsu.edu/~boos/var.select/diabetes.html The dataset contains 10 features (that have already been mean centered and scaled) and a target value: a measure of disease progression one ye…
  • [20 marks] In mathematics an integer that is divisible by the sum of its digit is called harshad number. For example, 54 is a harshad number since 5 + 4 = 9 and 54 is divisible by 9. Write a Python pr…
  • Question: How many African countries appear in the zoomed-in graph? (Fill in the blank with numerical value) ### 2c. Use `dplyr` to compute the mean life expectancy and mean GDP per capita of each con…
  • In this problem, we’ll analyze some fictional tweets and find out whether the overall sentiment of Twitter users is happy or sad. This is a simplified version of an important real world problem called…
  • I am looking for help with exercise 0 the rest is lead up information that you should read in order from bottom to top. (Page numbers are above the page) page 6 page 5 page 4 page 3 page 2 page 1
  • Let’s go back for one more condition controlled loop. Notice the input for this assignment: Customer Last Name,¬†First Initial, Type of Car (this will be either a 1, 2, or 3) Miles Driven, and Number …
  • You are walking through a dark forest and find two items: a MATCH and a FLASHLIGHT. Which one do you want to pick up?
  • csv: https://docs.google.com/spreadsheets/d/1Dpq6kBzFGv3DuDZ0it-j-Rx9asPBDuqRE1VjgycgFvs/edit?usp=sharing Please use Python Use the Bank.csv linked above. Select at least three of the following e…
  • Question 5. Write if-statement to create function to calculate numeric Final Grade and Assign a letter grade based on the final grade: (10 points) Final Grade = 80 % Assignments + 10 % Quizzes + 10 % …
  • Problem 1. Load MNIST data and scale it (code provided). Estimate a neural network with: epochs =20, batch_size = 100, and one hidden layer with 400 neurons. Measure and report validation accuracy and…
  • Pet Class Design a class named Pet, which should have the following fields: name: The name field holds the name of a pet. type: The type field holds the type of animal that a pet is. Example values ar…
  • PassengerId,Survived,Pclass,Name,Sex,Age,SibSp,Parch,Ticket,Fare,Cabin,Embarked 1,0,3,”Braund, Mr. Owen Harris”,male,22,1,0,A/5 21171,7.25,,S 2,1,1,”Cumings, Mrs. John Bradley (Florence Briggs Thayer)…
  • explain for loops in python. how do they work step by step. how to use them.
  • When I put in the code it expects a different output. ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†. Content X zy Section 10.16 – CTI 110: Web, Pro X * Course Hero X A learn.zybooks.com/zybook/FAYTECHCCCTI1 10Fall2021/chap…
  • Using Python looking for this sample Q to be answered and explained. ¬† 1 Make a Dict called car with keys model, year, Make a list cars and add 5 entries to it Print out the model and year of each ca…
  • The following functions are all intended to check whether a string contains any uppercase letters, but at least some of them are wrong. For each function, describe what the function actually does, ass…
  • . This lab requires you to write a computer code to perform a Monte Carlo simulation. Please upload your FMhon script. An electromagnetic field in thermal equilibrium can be described as photon gas….
  • please help me 2) Write a script or function which opens a Ô¨Āle named as “Nu1n_List.txt&quot;, then writes the line number at the beginning of each line and the numbers from D to 103 with a step si…
  • Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– E…
  • 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…
  • Part 1 ——– 1) Copy and paste the text values for each array into your editor as a multiline string and assign them to variables¬† string_A and¬† string_B . 2) Process each multiline string into a…
  • I am trying to read the CS210_Project_Three_Input_File.txt file which is a bunch of different grocery items, and create a new file called frequency.dat that contains the amount of times each item was …
  • how to do thisÔľĆwe cannot use for module Implement the function create_minesweeper_grid(width, height, mine_coordinates) that consumes width and height , two positive integers, and mine_coordinates ,…
  • General Description: writing a python program that can be used to edit, as well as to access the information contained in a database file called students.dat. This database contains information about …
  • What would python code look like for running k-means for the data below. ( I am just looking for the python code)
  • For this program, you will use the CSV library. Build upon your previous assignments (Performance Assessment: Iteration and Creating Functions) to save the record of games permanently, so that when th…
  • Trying to work out these questions. Can you please help guide me through how to type the python code for them? Using the following .csv sheet in Jupyter notebook: https://covid.ourworldindata.org/data…
  • python This project is based on the topic of classes and objects we covered in class this week. I have attached the scratch file we used in class. This week project is to extend the Employee class and…
  • Program about objects and inheritance. Written in Python Topic: objects, inheritance This assignment will give you practice on writing classes and understanding inheritance.¬†You will define several t…
  • Need help, got no idea how to do this¬† 1. The World Health Organization (WHO) compiles data about immunization levels around theworld. The file named “polio.txt” contains data about the level of …
  • I dont know what to do 2.15 LAB: Expression for calories burned during workout The following equations estimate the calories burned when exercising (source): Women: Calories = ( (Age x 0.074) ‚ÄĒ (Wei…
  • Write a method named distance_to that calculates the distance between the current point and some other point.
  • (inplace.py) Write a program which reads in a list of integers as numbers, then doubles each of the elements of¬† numbers in place. Then print out the doubled list elements, as follows. If numbers is …
  • I have a python systems automation class which I need help on in the subject Ansible. ¬† Using Playbook to configure an Linux VM machine Instructions: ¬† Assume you have just installed the latest vers…
  • Do the game. This program starts with a welcome and $1000, then a main menu with the following options: *You should read the output sample carefully and try to meet it. *Use main() function and other …
  • how to create a Python 3 function IsinRange() to test a value¬†between two ranges like th
  • python 3. Classes and Overloaded Operators Define a class named Poly (for polynomial) whose constructor takes an argument that is a terms: 2-tuples whose first index specifies a float coefficient and …
  • Write a Python program does all the following steps: a. Create a docstring constant with 3 sentence strings (this is really important how can you make 3) b. Convert the docstring to a LIST with one el…
  • . 3 Matrix Multiplication Let A, B, C, and a: be four distinct and random matrices. The matrices A, B and C are of size n x to, while 1: is n x 1 (a column vector). Using Python, perform the followi…
  • 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…
  • correct thr errors in the code : ¬† commonHelpers.h file: ¬† ¬† ¬† int currentYear(void); void clearStandardInputBuffer(void); ¬† commonHelpers.c file: ¬† #define _CRT_SECURE_NO_WARNINGS // SYSTEM …
  • PLEASE INCLUDE COMMENTS TO THE SOLUTION, THANK YOU.. _ zyBooks My library &gt;1Ti40: Introduction to Scripting v3 home &gt; 4.17: LAB: Mad Lib – loops |¬ß zyBooks catalog 0 Help/FA( $4.16 LAB: Warm up…
  • . Question 1 (10 points) Let’s assume you typed the following in your Python interpreter: three = 4 four = 3 one = ‘0’ zero = 1 thraeplusfour = &quot;zero&quot; + &quot;four&quot; + &quot;three?…
  • Give examples codes of sentence comparison Function name: sent_compare Parameters: sentence 1, sentence 2 Return: An integer: the number of common unique characters in two sentences Description: You r…
  • why wouldn’t this code produce an output? ¬† ¬†n = int(input()) my_list = [ ] for i in range(n): my_list.append(int(input()))¬† threshold = int(input()) for i in my_list: if i&lt;threshold: ¬†print(i)…
  • I learned sorting in data structures and algorithms. However, I do not know how to solve.¬† Let S be a sequence of n integers.¬† A transposition in S is a pair of elements x and y such that x appears …
  • Instructions ¬† ¬† The tax calculator program of the case study outputs a floating-point number that might show more than two digits of precision. Use the round function to modify the program to displ…
  • There are six basic 6 Basic SDLC Methodologies. Give a good understanding of each and explain which one you think is best.
  • I am trying to add password complexity to my Python password authentication using flask. . can someone help me with this? auth.py &gt; @signup_post from flask import Blueprint, render_template, redire…
  • I still don’t get where my professor got n – i – 1 for RTmin_index Can someone explain to me? ¬†. def _min_index(Ist: list, i: int) -&gt; int: &quot;&quot;&quot;Return the index of the smallest item i…
  • Data: video_reviews¬†=¬†[ ¬†¬†¬†¬†{ ¬†¬†¬†¬†¬†¬†¬†¬†“name”:¬†“Cats¬†doing¬†nothing”, ¬†¬†¬†¬†¬†¬†¬†¬†“number_of_views”:¬†450743, ¬†¬†¬†¬†¬†¬†¬†¬†“reviews”:¬†[ ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†{“name”:¬†“Jeb”,?…
  • Using the¬†data provided in the file¬†breweries_us.txt,¬†what would be a proper Python program that locates and counts all the breweries residing in New York state? Print this count. Each line (record…
  • B &amp; N Booksellers has a book club awards points to its customers based on the number of books purchased each month. The points are awarded as follows: *If a customer purchases 1-3 book, the custom…
  • files can be found here: https://drive.google.com/file/d/17lYpW6Ymc_7_PfHYUq0tqo-nzBI58Jbu/view?usp=sharing import pandas as pd import numpy as np import datetime import pandas as pd In this final, yo…
  • Hello! Could someone help me figure out this coding problem? I have some of the code already done but I am just stuck on a certain part. Any help is appreciated, please try to keep relatively simpl…
  • Design a program that displays the following menu: Select a Language and I will say Good Morning English Italian Spanish German End the Program ¬†¬†¬†¬†¬†¬† Enter your selection. If the user selects i…
  • Turtle Lab #5 Group Project Guidesheet General Instructions In this assignment you will work with a group of 3 other students to produce a program utilizing the turtle library in Python. It is up to t…
  • Can we apply connected component analysis on any image without doing any preprocessing? 2. How can we optimize this process? 3. Is it possible to count objects which are inside an object using conn…
  • Human resources analysis dataset : https://www.kaggle.com/pavansubhasht/ibm-hr-analytics-attrition-dataset Business problem for above dataset: Why are your best and most experienced employees leav…
  • How to scrape reviews from multiple pages on https://www.sitejabber.com/reviews/thredup.com using beautiful? ¬†The page number doesn’t change when I click on the next page, so I can not use for loop t…
  • use C or Python to programming plz.. Mullers Method (like the secant method, but approximates the function by a quadratic polynomial that interpolates at three points, instead of a line polynomial). S…
  • ouput sample is attached text file link :- http://www.mediafire.com/file/8qvsqlxv60zi7fp/questions.txt/file Requirements – the following must be coded in your program: 1) Design a decorator that will …
  • Lab4a ¬† ¬† isValid = False for chance in range(3): ¬† ¬†userInput = int(input(“\nEnter a value in range [0 – 10]: “)) ¬† ¬†if userInput &gt;= 0 and userInput &lt;= 10: ¬† ¬† ¬† ¬†print(“\nYou have Su…
  • Working in Python to scrape all unique web links that point to other web pages from the HTML code, from the website link in the code and outside the domain. I also want to populate them into a CSV fil…
  • Lab (1 point)Part 1: Insert Songs into the Database def addSong(request, database): Complete the addSong function to add a song into the songs table of the database. Code is provided to prepare the re…
  • a program that has a for loop with a range() function to display all multiples of 3 starting from 36 going down to 12 (both limits included). Example: 36, 33,30 …. 12.
  • Please only answer the first 7 parts of this question.¬† ¬† You can provide your answer for parts 8-14 in this question: https://www.coursehero.com/qa/wait/35147521/ ¬† You should read the data from “…
  • python code ¬†. Python code: 1. Display first 3 characters of your first name by using the character *. Save your code as PE2_1.py. Hint: use print() Example Output # # H H
  • Complete the function prin_comps tomeet the following requirements 1)use the formula to standardize the columns of of X and compute its SVD 2)prin_comps should return the column mean vector(Numpy Arra…
  • my program for keeping track of team members is coming along, but now i want to be able to include phone numbers and jersey numbers along with my team member’s name. Modify your program from week 4 so…
  • I am having issue with the output, I think all of my indentions are wrong. Can someone help me in running this code? #python code import numpy as np print( “*******************************Welcome to t…
  • Aim Write a function that receives a number of arguments; using a continue statement, skip integers and print out all other values. Steps for Completion Define a function named skip_integers, with a v…
  • pseudo code that will allow a grocery store to keep track of the total number of bottles collected for seven days.¬†The program should allow the user to enter the total number of bottles returned for …
  • ant to see the solution Task – 6 Write the Mango and the Jackfruit classes so that the following code generates the output below: class Fruit: – —Printing Detail- – — – def _init_(self, formalin=Fa…
  • Problem 1 Create Python project fly_drone.¬†Add a Python file drone.py to this project.¬†Define a class Drone in this file.¬†This class has the following five methods: (a) __init__ : Create two instan…
  • I have to make program that will ask the user to guess a number between 1 and 10. Pseudocode is listed below. #Guess the number week 4 #Name:¬† #Date:¬† #Random number, loop while true #ask user for n…
  • . Question 1 10 p15 Which command grant us access a Ô¨Āle? i. open II. tend iii. write 0 Only command i m Only command ii 0 Only command iii 0 All 3 commands i. II and lil. Questio…
  • I am new to coding and have been doing some online questions to improve but am stuck on this question if anybody could help. A program that generates a text-based histogram for a list of labels/values…
  • Draw a flowchart for a program that will sum all the positive values entered by the user. The program will prompt for a value and accumulate a total of all values entered until a negative value is ent…
  • py source code: connect_n_graphics.py source code ¬†. REMEMBER: The itertools and copy libraries in Python are banned. 1 Overview Classes are a great way to organize your code inside…
  • can someone help me with the coding? def build_dict_by_id(items): ¬†¬†#your code here ¬†¬†#iterate over items ¬†¬†#split information according to spec ¬†¬†#create the dictionary and return ¬†¬†#key = …
  • The Dictionary is a very powerful data structure. The objective of this programming assignment is to demonstrate proficiency with dictionaries. You are to write a program that manages a dictionary of …
  • Using Python Use the information below to create a pseudocode (which can be a text-based description for solving the problems) to solve each problem. 1.¬†¬† Problem 1: Write a program that will calcul…
  • One way of calculating the vaccine efficiency, it to calculate the drop in the risk of getting COVID-19 in the vaccine group, compared to the control. As you will see from the paper, we first calculat…
  • Implement a Python program that takes in two submissions (strings) and output the similarity between them with two decimal points.¬†All implementations must be in Python 3. &gt;&gt;&gt; Enter the firs…
  • NO COPYING PLS Problem – Apriori Implementation¬† A sample dataset has been provided to you in the ‘./data/dataset.pickle’ path. Here are the attributes for the dataset. Use this dataset to test your …
  • PYTHON PROGRAMMING! Question 1 Listed below are number in the table. If the user want to search for 65, what will be the display of th program? Create a program using 5.3. Binary Search 17 20 65 31 44…
  • How can i set up this program with correct indentation? thx! Assignment Specification and Requirement Please write a program that uses recursion to generate and return all the binary strings of N bits…
  • (IN PYTHON PLEASE). 1 Problem statement Imagine a binary rooted tree with a positive weight on each node. We want to choose a subset of the nodes so that the total sum of the weights is maximized with…
  • You are asked to develop a Python program to process “new_purchases.txt” data . ¬†Your boss wants to compare the average transaction amount between New York and San Francisco. Output your result to a …
  • How to start creating a Search engine for a small organization such as library or anywhere . I know idea but dont know where to start? I know we cant make search engine from scratch. I tried to use SE…
  • Python Programming Construct a regex expression which works for this challenge? do regex pattern which matches the first two strings but not the last string.? Match buzzzzadoo ? Match fuzzzadoo ? Skip…
  • what am I doing wrong? it work well #! /usr/bin/python3 # functions dealing with lists # adds each element in two lists and returns the total def lists_add(l1, l2): total = 0 for i in range(len(l1)): …
  • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
  • What is the purpose of the following if statement. if number in range(1,99,2):
  • NEED A FRENCH TUTOR TO SOLVE THIS :. def fonctionRecursive (Ll , L2 , n) : &quot; (list, list , n) -&gt;bool il faut retourner le resultat booleen prend deux listes de meme longueur et la longueur des…
  • I have given txt file and coding for my Python Lab def summation(sequence): ¬†¬†¬†¬†“”” ¬†¬†¬†¬†Input: sequence: python list¬† ¬†¬†¬†¬†Return: summation of the numeric elements: int or float ¬†¬†¬†¬†“…
  • All the instructions and tasks are on the picture, please reference it. def P3 (x) : return 3*x*x*x + 13. 6*x*x + 13.2*x + 47.8 Roots of polynomials can be found using function goalSeek if you supply …
  • Use the provided Jupyter notebook and add the python code and output cells for the following. All the solutions for the questions below should only user basic Python constructs. Any image library fun…
  • Answer the Python programming question. There are two code files vec3part3.py, and vec3.py . Add four more methods to the file vec3: negation, subtraction, dot product and cross product. UseVec3part3….
  • Write a python script that will check if a string starts and ends with vowel. You need to create regular expressions for the checking purpose. Sample input and output are given below: Sample Input¬† S…
  • 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 what type o…
  • Python — Look at screenshot(s) — Must have correct answer from (*** https://www.prairielearn.org/pl/course_instance/128819/instance_question/163662273/ ***) — ¬† ¬† ¬† BEFORE YOU START: ¬†You wi…
  • How are your feeling tomorrow when do you want me to bring the check
  • print_pattern() prints 5 characters. Call print_pattern() twice to print 10 characters. Example output: ***** *****
  • Assign point_dist with the distance between point (x1, y1) and point (x2, y2). The calculation is: Distance = SquareRootOf( (x2 – x1)2¬†+ (y2 – y1)2¬†). Sample output with inputs: 1.0 2.0 1.0 5.0 Poin…
  • ”’ ¬†¬†Assume that matrix is a two-dimensional rectangular matrix of integers. ¬†¬†Return the index of the column which has the largest average. ¬†¬†Recall that the average of n numbers is their sum …
  • translate this equation and data in python programing and draw the data between 1/d^2 in axis x and N in axis y by python I mean by drawing like this and Tell me what you don’t understand. Fantastic P…
  • Write program ¬†that contains¬†a 2-D array containing two arrays with the values 1,2,3 and 4,5,6.¬†¬†Check¬† and report on the array’s dimensions.
  • Conversation with an Education Chat Bot Use this starting file¬†(Links to an external site.) to begin your Project 1 assignment.¬† Learning Outcomes: Use the print() function to output a variety of da…
  • PART 1 ¬† import csv with open (“(no commas) fiscal position.csv”,newline=”) as fileR: ¬† ¬†csvreader = csv.reader(fileR)¬† ¬† ¬†for row in csvreader:¬† ¬† ¬† ¬† ¬†i = int(row[1:]) #first column of t…
  • The goal of this assignment is to convert the blood drive program from a previous Lab into Python code.¬† Step 1:¬† Start the IDLE Environment for Python.¬†Prior to entering code, save your file by cl…
  • A radioactive sample contains 106 unstable nuclei which have a half-life of 4.7 days. Give a python programme in a which uses an array operation to calculate the number of nuclei in the sample each da…
  • . Instruction 4 Let’s now look at the other end of the COVID spread – at the countries with large populations (more than 1 million) and with the minimal number of cases and deaths. We can use the sa…
  • pyplot. Lab 6A Task #1 Using the given values for a and b create a plot of the overall graph from 0-10 for the x values. Next create a zoomed in version of the graph around the maximum of t…
  • . Stress Concentrations and Kelvin’s Fluid Flow Analogy. A bar of circular cross section with radius R = 2.1 cm has an elliptical defect with a. = 10 um and b = 100 um located a radial distance r0…
  • In python, need help with the has_cycle( self) -&gt; bool: method: has_cycle( self) -&gt; bool: This method returns True if there is at l east one cycle in the graph. If the graph is acyclic, the meth…
  • Q1 Part 1:¬† ¬† Make sure that you completed part 0. Your assignment will not be graded without it.¬† ¬† We will be implementing various functions related to the battle royale game ‘Apex Legends’. In …
  • You are given the following incomplete function. The goal is to complete it, so that the class probability P(y) in naivebayesPY is estimated. This estimate is the probability that a sample in the trai…
  • Here is the instruction for my assignment. Here is the link for data “game_test”, “game_train”, “games”, and “example_submission”. ¬† https://docs.google.com/spreadsheets/d/1pQspMaZQajdQGDG6l4qd48Fv55…
  • Read the data as an appropriate Time Series data and plot the data.
  • I am struggling to make the code below works, on my remaining code. All I am trying to do is call a function to open a new window on tkinter and activate my back end feature to my GUI. Any advice or h…
  • 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 + ” …
  • Enter the value of n to create a n x n maze: Please enter another value that is greater than 2: -3 Please enter another value that is greater than 2: Please enter another value that is greater than 2:…
  • Analyse the Big-O complexity of your algorithm by measuring the complexity step-bystep in your program code. def two_lowest_budget(profiles): ¬†¬†new_lst=[] ¬†¬†final_lst=[] ¬†¬†total=0 ¬†¬†for x in r…
  • Python program that helps its user explore a polygon shapefile. The program should first ask the user to provide the path to a polygon shapefile. If the shapefile does not contain polygons or multipol…
  • Form a class¬† Item ¬†which has – instance variables:¬† itemName ,¬† itemCost – class variable:¬† numberItems ¬†(gets increased every time a new Item is created) – a default constructor that allows th…
  • Using the celsius_to_kelvin function as a guide, create a new function, changing the name to kelvin_to_celsius, and modifying the function accordingly. Sample output with input: 283.1510.0 C is 283.15…
  • I am getting the right out put but I’m wondering about the ‘and’ before the last word that needs to be added in the return. Is this appropriate? This is where I’m at with my code –&gt; wordlist = [[‘…
  • √ā¬∑¬†¬†¬†¬†¬†¬†¬†¬†Define a function called printMenu that prints the following choices¬†: o¬†¬†List all (L) o¬†¬†Add (A) o¬†¬†Number of books (N) o¬†¬†Remove (R) o¬†¬†Insert¬†(I) o¬†¬†Quit (Q) ¬† √ā…
  • Two words are a ” reverse pair*” if one is the *reverse of the other. Write a function called reverse_pair that takes two words as the two arguments and finds if the two words are a reverse pair (retu…
  • Define a pytest test class¬† ‘TestingInventoryCreation’ ¬†which tests the behavior of the¬† ‘__init__’ ¬†method with the following tests: Define a pytest test method¬† ‘test_creating_empty_inventory’ …
  • The sequence of assessments will test your knowledge and skills in writing an application software for¬† a task, understanding the business rules of a particular problem, coding these in a computer pr…
  • def exists_triangle def is_triangle_string def is_palindrome def is_triple_string
    • Match these regular expressions to what print(rstr) would print, you can reuse any answer. Fill in the blank with the letter indicating the correct result, if you don’t fill in a letter in the blan…
  • Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– L…
  • Make a Person class containing first_name and last_name attributes that are passed into the __init__ method as shown. Add a property called full_name that returns the first and last names together wit…
  • Use this link please: https://drive.google.com/file/d/1a711R3kuNRRQMbph495g6wOUPrHCTlz0/view?usp=sharing
  • HELLO i have this script in Python which give me a tif file which is the temperature of the sea in one region , because the tiff file have a 6 bands and every band is on year , i want to add a code wh…
  • please do not copy from chegg and course hero Critically assess, select and apply data science tools (ILO3) This task involves creating interesting exploratory graphical plots of a dataset using appro…
  • What are the value and data type (float, int, bool, or str)¬†of this expression: ¬† ¬† ¬†¬†5 % 2
  • 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 awa…
  • As a developer, it is important that you find the right language to master. Python is still one of the most used languages, but you want to make sure that you are current with others as well. It is im…
  • —CODE— class Election: ¬† ¬†“””Data for a single election in a parliamentary democracy. ¬† ¬†=== Private Attributes === ¬† ¬†_d: the date of this election. ¬† ¬†_ridings: all ridings for which any…
  • Python variables do not need explicit declaration to reserve memory space. Based on this statement, address the following in your initial post: Describe the difference between explicit typed variables…
  • The data set has some missing values, columns which are the wrong type, and columns which we are not interested in. Complete the function signature for clean to return a new DataFrame that is a copy o…
  • How to draw a hexagon on python. with color being purple and size 100
  • The file (below) contains all of the polypeptide sequences in the E. coli K12 genome in FASTA format. The task for this exercise is to generate an amino acid usage report with counts only, and in no p…
  • 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…
  • Jump to level 1 Type the program’s output try: user age = int (input () ) Input if user age &lt; 0: raise ValueError ( ‘ Invalid age’ ) 30 # Source: https : / /www . heart . org/en/healthy-liv…
  • I can figure out what is wrong with this program. #Josh Jones #11/26/21 #COP1000 # Create main program function def mainProgram ( ) : Declare Variables Initialize processed variable feet = 0.0 inches …
  • A sample dataset has been provided to you in the ‘./data/dataset.csv’ path. Here are the attributes for the dataset. Use this dataset to test your functions. Age – [“&lt;=30”, “31-40”, “&gt;40”] Incom…
  • this photo should be recreated into pixels (either rectangles or squares or circles): referring to this coding: ¬† import pygame import sys import random pygame.init() #Import Image image_name = sys.a…
  • Hi I keep getting this error, can anyone help ¬†ave = {“San Francisco”: sum[“San Francisco”]/count[“San Francisco”], “New York”: sum[“New York”]/count[“New York”]} ZeroDivisionError: division by zero
  • write new project in pycharm. File link:https://drive.google.com/file/d/1lZyUic1CkM-xPOZxhnBcAs6-JTG4g6Dc/view?usp=sharing Add wordhistogram.py (available on the Week 10 course content page) into the …
  • Please help!. Question 4: Performing Multicollinearity Analysis This question will guide you through performing an analysis that can reveal potential multicollinearity in our features, which is unidea…
  • 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…
  • 6¬†Warm up: Parsing strings (Python 3) (1) Prompt the user for a string that contains two strings separated by a comma. (1 pt) Examples of strings that can be accepted: Jill, Allen Jill , Allen Jill…
  • Select one of the project ideas below and develop a Python application that meets the requirements described below: Project ideas : ¬† ¬† Library: users should be able to search for books by title or …
  • Create a Python function to calculate the Body Mass Index (BMI) (or Body Mass Index (BMI) in English). BMI is the ratio of an adult’s weight to height in meters, squared. So the function takes two par…
  • What is causing this error and I already downloaded the module dotenv?. config.py 1, M X &lt;&gt; base.html &lt;&gt; header.html &lt;&gt; home.html init_.py sk_starter &gt; a impor Import &quot;dotenv…
  • Previous Page Next Page Question 8 (1 point) What will be the output of this statement? &lt; = xyz while j in 2: print(i) XXX No output Oxyz OYYY
  • Analyze the given UML diagrams. Identify classes and relations. Convert each of the UML to python code by creating required classes and representing appropriate relations. Test each of the created cla…
  • def grade_Calculator(score): ¬† ¬† if score &lt;= 95 : ¬† ¬† ¬† ¬† return “A+” ¬† ¬† elif score &lt; 95 and 90 &gt;= score: ¬† ¬† ¬† ¬† return “A” ¬† ¬† elif score &lt; 90 and 85 &gt;= score: ¬† ¬† ¬†…
  • The Date class (10.5 points) We are going to write a class Date for reasoning about dates. Dates and times are extremely challenging concepts in computing, and in general it’s a bad idea to try to wri…
  • Please write the simple creditCounter data class that passes the following assertions(and general cases too) urgent! Thanks! sb1= creditCounter({‘Alice’:80, ‘Bob’:42, ‘Tom’: 80 }) assert(sb1.getScore(…
  • Consider the following multidimensional arrays: A = [[3,2,1], [4,5,6], [8,9,10] B = [[3,2,4,5],[6,5,4,3]] C = [[3,2,1,4],[6,5,3,4],[8,7,8,9],[7,6,5,4]] Make an RECURSIVE python algorithm to find the m…
  • Problem 6: (7 points) In Module 2 you learned about mathematical operators and in Modules 2 and 3 you learned about conditional statements, loops and user defined functions. ¬† Write a function called…
  • Proiect 2: Q_1 Implement a superclass Appointment and subclasses/types Onetime, Daily, and Monthly. An appointment has a description {use from the following: general, chiropractic, pediatric, heart, …
  • Do Exercise 6.4 from your textbook¬† using recursion ¬†and the¬†is_divisible¬†function from Section 6.4.¬†Your program may assume that both arguments to¬†is_power¬†are positive integers. Note that the…
  • What would one have to put in the main block section at the end to complete this script?¬† ¬† ————————————- ¬† import subprocess import sys import os import argparse ¬† def par…
  • Hello, Im not sure what im doing wrong here. Here is the instructions, Heres what i have and Heres the issue it says I’m having. Thanks! ¬† You want to write a Python script that takes a string and co…
  • please help me with these questions (2 questions) This program starts by inputting the names of text files until the user enters &quot;q’. Each text file contains multiple words (one word per li…
  • I have read a csv file into Python as df and saved it as a new data frame called Master_Clean. The csv file contains information about job listings. I’ve attached a screenshot of part of the csv file …
  • Python Program: Please include comments so I will be able to understand it. ¬†. 1. Reverse the following tuple: aTuple = (10, 20, 30, 40, 50) 2. Access value ’20’ from the following tuple. aTuple = (&…
  • python code, thanks in advance¬† csv:https://drive.google.com/file/d/1EuVYpYk6fvKhZ1knVZal86oMFu5d3Kht/view?usp=sharing. Problem1: The Estimated Value for Each Warehouse Note that you are not allowed …
  • Devise a algorithm….. 3. [10pts] Let S = (a102, … an) be a sequence of integers. Design an algorithm to find the subsequence SM = (di, di+1, …, a;) of S, with consecutive elements, such that the…
  • Read in the file nbaallelo_log.csv as df. Create a data frame, x, by subsetting the pts and elo_i. Use the KMeans function to construct a clustering model with k = 2, and pts and elo_i as the features…
  • You are in charge of managing a local softball team, one in which there is a lot of turnover. While you have a couple of regulars, much of the team members come and go frequently. When it comes to org…
  • Develop python code snippet using pandas and numpy to for the following: Show the row labels of the second row and the third row. Select just columns¬†state,¬†rev2010¬†and¬†rev2018¬†of the second row …
  • How do I use the pop() and insert() method to swap values in a list.
  • Python Programming: Assume there are five sections of Computer Science 101, each with 20 spots for students. The computer application that assigns students to course sections includes requests from mu…
  • 18 LAB: Swapping variables ¬† Write a program whose input is two integers and whose output is the two integers swapped. Ex: If the input is: 3 8 the output is: 8 3 Your program must define and call …
  • Please help with this question. The part I need help with is the ###cursorbasedaccess### in bold and the functions below it. Please follow the prompts to code for the functions. It is all python 3 cod…
  • Can you rearrange this question file_to_read¬†=¬†open(filename,¬†“r”) row¬†=¬†file_to_read.readline() try: except¬†OSError: file_to_read.close() row¬†=¬†file_to_read.readline() print(row) while¬†row¬†…
    • 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, Alle…
  • compute distance 2.3 Distance matrix Let’s compute a pairwise Euclidean distance matrix for feature vectors X E Rxd: We want to have a distance matrix D(i, j) E Rx such that D(i, j) = E (X[i, k] – X[j…
  • A program that accepts the lengths of three sides of a triangle as inputs. The program output should indicate whether the triangle is a right triangle. Recall from Pythagorean Theorem that in a right …
  • Q7: Filling the missing values in the specified formate You will be given a string with digits and ‘_'(missing value) symbols you have to replace the ‘_’ symbols as explained Ex 1: _, _, _, 24 ==&gt; …
  • Make Python class (Queue) that implements the queue data structure, described in the lectures. Instructions Your job is to implement the Queue class. Your class must support the following operations: …
  • Need help understanding why the answer to this is the loop will never stop – not seeing HOW it wont stop. Can someone explain this answer to me? Please see below: Question 16 1 pts Examine the followi…
  • 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…
    • Apply the Insertion sort provided in the file &quot;L8sorts.py&quot; to the list below. Record the data after EACH pass (each time the algorithm completes the FOR loop). (6 marks) 74 12 26 67 85 49…
  • . 900 answers aquiz areas a 0W3: ‘|.A 2.8 3.0 4.8 M m 35:22, 10:93 PM #- 5D 6.A TA 8.0 9.8 ‘IO.B 11.0 12D Your program should store all these correct answers in a list. The program asks the user…
  • need help on how to go about this question, thanks.. This program records the domain name (instead of the address) where the message was sent from instead of who the mail came from (ie. the whole e- m…
  • The¬†Room¬†class: Your first task will be to create a Python¬†class¬†called¬†Room. This class must contain at least the two following methods: __init__().¬†In addition to¬†self, it takes seven argumen…
  • Question 1: ¬†A permutation p of n symbols is an ordered list of n symbols (no repetitions). Tell us a Python program that takes a list representing a permutation on a given set of characters (for ins…
  • Note: NEED IN CORAL LANGUAGE!! CORAL LANGUAGE a program that reads a list of 10 integers, and outputs those integers in reverse. For coding simplicity, follow each output integer by a space, including…
  • def invert_dict(d): ¬†¬†¬†inverse = dict() ¬†¬†¬†for key in d: ¬†¬†¬†¬†¬†¬†¬†val = d[key] ¬†¬†¬†¬†¬†¬†¬†for item in val: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†inverse[item]=key ¬†¬†¬†return inverse second = dict( ¬†?…
  • Hi Python Experts¬† This request is extension to previous posted question¬† https://www.coursehero.com/qa/wait/34206191/?question_id=34206191 ¬† Challenge : It uses prettytable and passing tabular dat…
  • last line is not visible. # Tuning &quot;max_features&quot; parameter by using above tuned &quot;tfidf_max_depth&quot;. &quot;tfidf_n_estimator&quot;. &quot;tfidf_min_samples_split_1&quot;, &quot;tfid…
  • Initiate a python program that read a txt file with words. Convert all the text to lower case and find the frequencies of each word appeared in the fil. Sort them in descending order based on the word…
  • Suppose we have numbers between 1 and 1000 in a BST and we search for the number 363. Which (at least one) of the following sequences could not be the sequence of nodes examined? Explain. a) 2, 399, 3…
  • use relative path to open file,infile=open(“../data/file.csv”,”r”) consider below is .csv file longitude latitude housing_median_age total_rooms total_bedrooms population household median_income media…
  • (Palindromes) A palindrome is a string that’s spelled the same way forward and backward. Some examples of palindromes are: “radar,” “able was i ere i saw elba”. Write a function testPalindrome that re…
  • I keep getting the below error when executing my Python code. Can you please assist in correcting the code so it can run properly? Error: Traceback (most recent call last): ¬†¬†File “a.py’, line 83 in…
  • Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. Describe each possibility in your words¬† Define “precondition” and “postcondition” as pa…
  • All instructions are in photos. I am struggling with the class ¬† ¬† Those are supported codes : graphics.py: import tkinter import time import sys ¬† class graphics: ¬† ¬†def __init__(self, w, h, tit…
  • Using Python solve these two problems and explain your code in brief. Use Jupyter notebook. Explanation is necessary. Code must be run in jupyter nortebook.¬†. 4.2 The Maclaurin series expansion fo…
  • 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….
  • How can I use str.replace for a Python program that prompts for user input (integer) and computes the equation: w + w * w + w * w * w + w * w * w * w = x Program should print the above formula but rep…
  • could you answer the questions and there is a part one as well.
  • Need help writing a function in python batch_translate(emoji_file_name: str, directives_file_name: str) This function takes two strings: (1) the name of the emoji mapping file (we’ve given you one wit…
  • the documents on coursehero for this problem dont run correctly¬†. The Problem Your program should Ô¨Ārst ask for Mo nonnegative numbers from the user. Then, the program should compute the result obta…
  • https://www.nature.com/articles/s41746-018-0029-1 What is unique about the article?
  • I need help solving task 5, using task 4 which is the second picture please! All the information needed are in the tasks 4 and 5.. Code Python 3 (ipykernel) O # O lask 5 In this task, we are calculati…
  • 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).
  • Make your own baseball team of 10 players and include your own batting averages (ex. John, .287). Make a program that calculates the entire team’s batting average using if-statements, lists, loops and…
  • . Program: Data visualization Full Points: 20 (1) Prompt the user for a title for data. Output the title. (3 pt) Ex: Enter a title for the data: Number of Novels Authored You entered: Number of Nove…
    • 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 Input:…
  • On a single page, type out an algorithm/pseudo-code that converts a decimal number to a binary (integer) number. The algorithm/pseudo-code should have 15-20 lines of text and no more than half of the …
  • I’m trying to get the same output with the decimal after. ¬†. 7 *MillatangarFulgenceAssignment4.py – C:/Users/new/Downloads/CMSC-135 Fall 2021/Millat.. – 0 X File Edit Format Run Options Window Help d…
  • from typing import Counter count = 0 I am stuck on revising my code from last week’s assignment for option 3 and 4 to work. ¬†Can anyone help me out last day to turn in my assignment is tomorrow and I…
  • Big data continues to present significant challenges when training supervised learning models. Ex/plain How stochastic gradient descent can mitigate the problems created by big data How this technique…
  • improve the student’s skills in defining classes; using existing classes to create new classes equipped with new functionalities. Scenario We’ve showed you recently how to extend Stack possibilities b…
  • Python code has the error to run on Python. Run code on Python after revising it
    • Next it should prompt the user and ask for the language to which the text is to be translated. You can provide option for any five languages of your interest. These do not have to be necessarily as…
  • A bit shift is a procedure whereby the bits in a bit string are moved to the left or to the right. For example, we can shift the bits in the string 1011 two places to the left to produce the string 11…
  • We just learned about creating instance variables and writing classes with attributes and methods. Requirements are below and sample output. Preferably in python 3.0. Comments would be helpful Require…
  • waasjakjfhakjdhaskajdasddsdakjhdsjkhcjkhksdhjfsdufihsdfsuhdfk
  • You can here download two large files containing English text: ¬† copy this link and paste in google the files will download automaticaly. ¬† https://homepage.lnu.se//staff/jlnmsi/python/2…
  • 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¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
  • do the test case all the information is given below
  • PLEASE DO THESE ACTIVITIES USING PYTHON DICTIONARY AND STRING OPERATIONS Activity 1: Reverse the string Given a few motivational quotes in reverse format, stored in my_quote dictionary, write a progra…
  • 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’m making a data collector with the OPC protocol. I want to have all the tags in the json file read according to the time interval of each one and that it did not depend on the end of the reading of …
  • Data from file: What is the name for the Jewish New Year?,Hanukkah,Yom Kippur,Kwanza,Rosh Hashanah,D How many blue stripes are there on the U.S. flag?,6,7,13,0,D Which one of these characters is not f…
  • After having successfully completed the AI course, you get a job in another town (as an AI expert of course), and you have to move out of your apartment. You have already packed all your belongings in…
  • . 1. what is the average daily proÔ¨Āt for your stock and ” spy” ? Since you always start with $100, this number will coincide with percentage proÔ¨Āt.
  • Was wondering if I could get help writing this code because the online guidance was hard to follow, thanks.. ITP-150 – Assignment ‚ÄĒ Recursion – Instructions Requirements: Write a Python program that…
  • Copy the¬†countdown¬†function from Section 5.8 of your textbook. def countdown(n): ¬†¬†¬†if n &lt;= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) Write new re…
  • 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…
  • from stack import * from typing import List, Dict, Any def tokenize(line: str, specials: str, whitespace: str) -&gt; List[str]: ¬†¬†”’ ¬†¬†Given an expression, breaks it up into tokens ¬†¬†Parameters…
  • please helpp 2) Write a script or function which opens a file named as &quot;Num_List.txt&quot;, then writes the line number at the beginning of each line and the numbers from 0 to 100 with a step siz…
  • Domain – E – Commerce focus – Optimization Business challenge/requirement GoodsKart ‚ÄĒ largest ecommerce company of Indonesia with revenue of $2B+ acquired another ecommerce company FairDeal . FairDe…
  • we have to make a string of your choice and apply a minimum of 8 of following methods to it and print the result. ¬†https://docs.python.org/3.8/library/string.html
  • Woman 5 The jackpot of a lottery is paid in 20 annual installments. There is also a cash option. which pays the winner 65% of the jackpot instantly. In either case 30% of the winnings will be withhel…
    • LAB: Exact change There is 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, Dime…
  • Write a function that reads from a file named “points.txt” a list of point coordinates in two dimensions. For example, the contents of an example points.txt can be as follows: 1 2 2 5 3 2 So, in this …
  • The Cars dataset has three columns giving the quality, machining angle, and machining speed of 18 cars. Write a program that performs the following tasks: . Load the data Cars.csv into a data frame ca…
  • compute the fourier series of f(x) = x 2i in python programming language.
  • . Question 2 (3 pts) We are going to implement the casting function Ô¨āoatO that converts a Ô¨āoat string to a Ô¨āoat value. Write a program that asks the user to enter a number. The program should:…
  • Please convert my code into psuedocode. Task 2: Decision Statements ¬† Get the name, license number, number of days hired as a user input Convert days hired as an integer The daily rate is $34.5 for t…
  • When it comes to programming in Python, does a functiononly have one pre condition or can it have multiple? What about post-conditons?
  • this is reference if you need it ¬† ¬† Question 4 : The following question can be answered either by adapting the one-dimensional random walk program discussed in class, or by using basic probability …
  • ANSWER THE FOLLOWING IN PYTHON AND PLEASE PUT THE ANSWER IN THE QUESTION WHERE IT SAYS TO: ¬† #!/usr/bin/python3 import unittest # ————————————————————– # Gene…
  • Kindly answer the conclusion that indicates in the link below. I badly need it. Thank you! ¬† Link:¬† https://docs.google.com/document/d/1rNLwy8R-aqK-f0iWqNEh2Ev0mhyVLAJoaV4K1lCSiAg/edit?usp=sharing ?…
  • solve this asap Question 2: (5) Write a function that generates 10 4-digit random numbers to a list that represents the age in days for 10 people. Now write a function that will convert the given numb…
  • Hello, I’m a beginner computer science student struggling with a few questions on my homework. I’m usually alright with general logic of questions, but I’m still learning how to translate it into synt…
  • Function 1,3 please or atleast one of them The dictionary is in here https://drive.google.com/file/d/1WfipW3gtr4OBCmWkD7Ocvp2uzcioKxSU/view?usp=sharing. Normal No Spac.. Heading 1 Head Paragraph Sty P…
  • To write your solutions, do not use the Tab key for indentation, instead use spaces, indentation does not have to be perfect, but be consistent¬†. Assume that a SQL database has a table called Reviews…
  • Start your Jupyter Notebooks server Open Jupyter Notebooks in a browser Upload¬†( https://drive.google.com/drive/folders/1avtXtgycaUqmFZ7cxaHIsfeuQeXysMNQ?usp=sharing ) Download required files into th…
  • Question:¬† This is Source Code of KNN Algorithm. But I wanna show the output as Graph. For Example: ¬† PLEASE Modify this Code as The Above Picture.¬† ¬† import math n = int(input(“Number of points i…
  • Chapter 8, End of Chapter, Programming Exercises, Exercise 14 How can this be done without a dictionary? ¬†We have not learned that yet. ¬†Can you perform math on a text file or on a .csv if you creat…
  • Checkpoint 0: Double loops Before you start this lab, we will do a small exercise that will allow you to complete the rest of the lab much faster. This checkpoint is meant for an exercise and it will …
  • Arithmetic in Function Rewrite the source of Exercise 1-Activity 5 by creating individual function for every operation. 2. Is a Number Prime? (Solved-28 Lines) A prime number is an integer greater …
  • Input of the system: Allow the user to keep inputting product names. Track the product names and amounts (i.e., how many times a product is entered) using a Python dictionary. You should test your …
  • For this question, you are given a xml_file path and a filters dictionary as arguments of a function filter_cities. The key of the filters dictionary represents the attribute name of the city tag or t…
  • Code the function def inferred_conditions(pos_examples, neg_examples) and include the overall approach to the question, programming techniques and Python language elements used and explain the computa…
  • All instructions are in photos. I am struggling with the class. ¬† Those are supported codes in python: graphics.py: import tkinter import time import sys ¬† class graphics: ¬† ¬†def __init__(self, w,…
  • 3.1:¬†Output simple text. Write the simplest statement that prints the following: 3 2 1 Go! Note: Whitespace (blank spaces / blank lines) matters; make sure your whitespace¬† exactly ¬†matches the e…
  • Hello, I need help with this problem Write a program in Python, that records the data (Name, Surname, Age, ID, Telephone, Day, month and year of birth) of a person who is going to enroll in an educati…
  • Task the user to enter a number over 100 and then enter a number under 10 and tell them how many times the smaller number goes into the larger number in a user-friendly format.
  • Chapter 6 complete the following Programming Exercises.¬†¬† #3 Line Numbers #6 Average of Numbers #7 Random Number File Writer #9 Exception Handling (this one is just a revised version of #6 above) No…
  • How can i get python coding for the entire problem.
  • Define a function sortedMoviesData that: accepts a list of movie titles builds the list of dictionaries returned by getValidMoviesData returns the list of dictionaries sorted high to low on the IMDB r…
  • Which of the following lines of code returns the value of a variable called my_variable from a function back to the code that called the function? return my_variable print(my_variable) def my_variable…
  • Proiect 2: Q_1 Implement a superclass Appointment and subclasses/types Onetime, Daily, and Monthly. An appointment has a description {use from the following: general, chiropractic, pediatric, heart, …
  • please solve this urgent cellation of two consecutive assignments. Core Responsibility of Lexical Analyzer is to read input program and identify Tokens. Lexernes are matched on patterns and identified…
  • def sort_pixels (img: Image) -&gt; Image: “”” Given an Image, img, sort (in non-descending order) each row of pixels by the average of their RGB values. Return the updated img. Tip: When testing this …
  • Question 2 (23 marks) ¬† You must give a word count for any question with a maximum word limit. This question tests your understanding of Block¬†3 Part¬†2¬† and, more generally, the problem-solving an…
  • txt ¬†. Topics: methods, inheritance, extending built-ins, exception Problem Statement: Small Book Repository Design and implement a simple interactive Book database for library users. I…
  • Which programming building block would you use to handle someone trying to convert the string “asdf” from inches to centimetres? Explain.
  • This is an open-ended lab. Using Python, run a linear regression analysis on data you have collected from public domain.¬† ¬† Recommended packages: scikit-learn numpy matplotlib pandas ¬† ¬† Deliverab…
  • 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 Could you show me the code please Many Thanks Design and imple…
  • Please write this question in Python.. In games with two dice (such as Monopoly). rolling two 6-sided dice and getting the same side or number on both dice is called &quot;doubles&quot; (i.e. the firs…
  • it gives error invalid syntax .. from scipy . sparse import hstack # merging all the verctorized with CountVectorizer x train bow = hstack ((X train essay bow, X train state, X train teacher, X train …
  • Python programming question. Starting code on top. Question screenshot on bottom. import random import string from a1_include import * def count_sort (arr: StaticArray) -&gt; StaticArray: “”” TODO: Wr…
  • You need a program that calculates and prints the number of minutes in a year. Assume the following: 1 year = 365 days (Ignore leap years) 1 day = 24 hours 1 hour = 60 minutes Below is an example of t…
  • One initial challenge you have is to make sure people playing your game would enter valid English words but you certainly do not know all the words in the English dictionary. So, to be able to verify …
  • In the assignment, you will learn about how to retrieve or query the information from csv file. You need to use the csv file (employee.csv) that is provided in this assignment. You will create program…
  • Using class Employee from previous class: ¬† ¬∑¬†¬†¬†¬†¬†¬†¬†¬†Add method calcPay() in Employee class return 0 ¬∑¬†¬†¬†¬†¬†¬†¬†¬†Remove salary/getSalary/setSalary from Employee and modif…
  • Write a program detailing the number of passengers per vehicle. The program includes three classes: Vehicle, Car, Bus where Vehicle is the parent class of Car and Bus. a) [10 pts] Each of the Car and …
  • The scenario: information of the project below: ¬†. – ZOOM + COMS-170: INTRODUCTION TO PROGRAMMING FINAL PROJECT (TRUCK RENTAL) OVERVIEW Compute and display information relating to moving truck rental…
  • Can you code this but not include the histogram part just up to where you can enter y and a to quit. can you simple python code to code this and explain each line in simple in english as well as reaso…
  • Define a function¬†print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. Note: There are 12 inches in a foot. Sample output with inputs: 5 8 Total inches…
  • . CHALLENGE ACTIVITY 5.11.1: Loop else. 375510.2350218.qx3zqy7 Jump to level 1 1 Type the program’s output 2 result = 0 for n in range (5) : print (n, end=’ ‘) result -= 2 else : print (f’/ {resu…
  • You should create a function called checkerboard which takes two positive integers with width and height and returns a checkerboard pattern as a string. Please use only conditionals, loops in python. …
  • A python code that pass the following the t..h@example.org”) observed¬†=¬†user.email expected¬†=¬†“jsmith@e..h@example.org&gt;” assert¬†observed¬†==¬†expected,¬†f”{observed!r}¬†!=¬†{expected!r}”
  • Hint:¬† Work on the methods in the order they are found in the documentation below,¬†implement the¬†getter and setter methods before the more complicated methods. Work on the Assignment class, Assi…
  • I need help with question 6 through 10. Using the list names defined as follows: names = [“Euclid”, “Archimedes”, “Newton”, “Descartes”, “Fermat”, “Turing”, “Euler”, “Einstein”, “Boole”, “Fibonacci”, …
  • please help me find the output of the following code: quiz = 9 for nothing in range (1, 14, 3) : print (nothing)
  • Detailed requirements: 1. Prompt the user to enter the diameter of a pizza in inches. Pizza diameters can be entered as real numbers. Ensure that the user input is numeric using “try … except” or ot…
  • A)Write the function echelon(a, b) which performs a modified form of forward elimination that transforms general input systems (including singular systems) into row echelon form. For example: &gt;&gt;…
  • Harry&gt; &gt;&gt;Enter employee salary: &lt;user types: 500 .01&gt; &gt; &gt;&gt;Enter employee #: &lt;user types: 1&gt; &gt; &gt;&gt;Enter employee name (last, first) : &lt;user types: Dumbledore, A…
  • TABLE minn_pop¬† ¬† ¬† Name Pop2010 Births Deaths Pop2014 Aitkin County 16219 395 662 15771 Anoka County 331438 13260 5746 341864 Becker County 32534 1386 1106 33259 Beltrami County 44585 2357 1…
  • Using Python 3 Write and submit a simple ATM program that does the following: Asks the user to enter their account number, and then print their beginning balance. (Just make one up). Asks them if they…
  • I need help creating a Python program that takes a list of numbers as the command arguments. For each number, your program should calculate the log, square, sine and cosine functions in a CSV file res…
  • . Required Functions In the starter code file (poetry_functions.py), complete the following function definitions. In addition, you may add some helper functions to aid with the implementation of the…
  • In each of the following write a loop(s) that are equivalent to expression. Note that &quot;x&quot;and &quot;y&quot; are vectors with at least 200 elements. (d) x.’+ 4xy; + 2 i=100,98,96… 50 80 (e) …
  • Write a python script to do the following tasks. Attach BOTH the python script and the screen shot of your execution. ¬† Q.¬† ¬†Ask the user to enter his/her first name¬† and student number. Using the…
  • Let A = [7 3 2 3 5 1 2 1 9 1 1 3] and b = [5 1 2 4] Using Python find the LDL T factorization of A t A and use it to solve A T Ax = A T b for x. Please provide the code.
  • Function in Python to compute the sample standard deviation of a list of numbers. The return value should be the sample standard deviation and the input value should be the list of numbers. Do not use…
  • PLEASE HELP ME AAPPP TODAY IS MY DEADLINE Task 1. Draw the flowchart that calculates two totals: the number of left-handed people and the Task 2. Create the pseudocode for a guessing game. A random nu…
  • Python Programming Requirements Create a program that allows the user to do some basic functions. First, ask the user if they would like to find out sqrt, log or factorial of a number, then retur…
  • can you help me with this question and give me detail solutions? do not use set modules .. . &lt; &gt; G online.cs.uwaterloo.ca C A Course is a Course, of Course of Course | Assignment 9 | CS 116 Cour…
  • use basic operation 1. Increasing Numbers in List Write a function numIncreasing that takes as input a tuple of numbers and returns the first sequence within the tuple that is increasing order and has…
  • suppose you are given the following dataframe containing food, weight and calories. you should notice the foods have verifying weights associated with them
  • Diabetes is diagnosed by measuring patient’s fasting plasma glucose level (FPG).¬†If FPG is higher than 125, the patient has diabetes.¬†If FPG is higher than 100 but not higher than 125, the patient h…
  • i need python code for this question¬† i need code which i can copy paste in my IDE ¬† this is question below is the answer of above question …. ………… …… …… ………… …………….
  • Write a function locate_list(L, rows, cols) that takes a 2D list L ; a non-empty string rows ; a non-empty string cols as input and return a 2D list of the selected rows and columns. Here, rows and co…
  • I need some help with this question. Which of the following function convert a string to a float in python? int(x [,base]) long(x [,base] ) float(x) str(x)
  • Dataset link: https://drive.google.com/file/d/1LOI_tqTMBNs9clhIDLM_FM9ePLPjrRQn/view?usp=sharing ¬†. Write a script using any scripting language of your choice to do the following: 1- T…
  • You are given some Python code below. You should¬† FIX ¬†this code so that the code stores all integers that are¬† divisible by 13 ¬†between¬†5000¬†and¬†135¬†in a variable called¬†lst. Your¬†lst¬†vari…
  • Develop a program that receives a series of numbers from the user and allows the user to press the enter key to indicate that he or she is finished providing inputs. After the user presses the enter k…
  • Can someone help me figure out what is wrong with my ATM Script python code? ### import sys #Sets the account balance¬† account_balance = float(500.25) #&lt;—————functions——————-…
  • Create a Python program two-functions . py containing two functions: . A function positive_int (float_Ist ) that returns a new list with all the positive numbers in the float list float_Ist correctly …
  • how do you create a new column in the data frame called exp_wt which is the negative exponentiation of the column wt?
  • Functions are called by writing the name of the function followed by zero or more ____ enclosed in parentheses. conditions arguments counters none of these
  • I need help building the following functions. There is no scikit-learn’s sklearn.cluster package. The clustering procedure needs to be implemented from scratch. ‚ÄĘ Assume that your input is a data se…
  • How to use turtle graphics to create an interactive forest drawing application. At the program start, you should disable all turtle animations and change the turtle’s icon to a bird shape (see sample …
  • hello I have to write a simple program for the HR team of a company to help them track how much time employees are spending working on different projects here is the code ¬†. Your program should be ca…
  • Implement 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, ret…
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!